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

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

constexpr ImageResource_Size::ParseTableT_ ImageResource_Size::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(ImageResource_Size, _impl_._has_bits_),
      0, // no _extensions_
      2, 8,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967292,  // skipmap
      offsetof(ParseTableT_, field_entries),
      2,  // num_field_entries
      0,  // num_aux_entries
      offsetof(ParseTableT_, field_names),  // no aux_entries
      class_data,
      nullptr,  // post_loop_handler
      ::_pbi::TcParser::GenericFallbackLite,  // fallback
      #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
      ::_pbi::TcParser::GetTable<::content::proto::ImageResource_Size>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      // optional int32 height = 2;
      {::_pbi::TcParser::FastV32S1,
       {16, 1, 0,
        PROTOBUF_FIELD_OFFSET(ImageResource_Size, _impl_.height_)}},
      // optional int32 width = 1;
      {::_pbi::TcParser::FastV32S1,
       {8, 0, 0,
        PROTOBUF_FIELD_OFFSET(ImageResource_Size, _impl_.width_)}},
    }}, {{
      65535, 65535
    }}, {{
      // optional int32 width = 1;
      {PROTOBUF_FIELD_OFFSET(ImageResource_Size, _impl_.width_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
      // optional int32 height = 2;
      {PROTOBUF_FIELD_OFFSET(ImageResource_Size, _impl_.height_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
    }},
    // no aux_entries
    {{
    }},
  };
}


inline constexpr ImageResource_Size::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        width_{0},
        height_{0} {}

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

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

constexpr BackgroundFetchUIOptions::ParseTableT_ BackgroundFetchUIOptions::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(BackgroundFetchUIOptions, _impl_._has_bits_),
      0, // no _extensions_
      2, 8,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967292,  // skipmap
      offsetof(ParseTableT_, field_entries),
      2,  // num_field_entries
      0,  // num_aux_entries
      offsetof(ParseTableT_, field_names),  // no aux_entries
      class_data,
      nullptr,  // post_loop_handler
      ::_pbi::TcParser::GenericFallbackLite,  // fallback
      #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
      ::_pbi::TcParser::GetTable<::content::proto::BackgroundFetchUIOptions>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      // optional bytes icon = 2;
      {::_pbi::TcParser::FastBS1,
       {18, 1, 0,
        PROTOBUF_FIELD_OFFSET(BackgroundFetchUIOptions, _impl_.icon_)}},
      // optional string title = 1;
      {::_pbi::TcParser::FastBS1,
       {10, 0, 0,
        PROTOBUF_FIELD_OFFSET(BackgroundFetchUIOptions, _impl_.title_)}},
    }}, {{
      65535, 65535
    }}, {{
      // optional string title = 1;
      {PROTOBUF_FIELD_OFFSET(BackgroundFetchUIOptions, _impl_.title_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional bytes icon = 2;
      {PROTOBUF_FIELD_OFFSET(BackgroundFetchUIOptions, _impl_.icon_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
    }},
    // no aux_entries
    {{
    }},
  };
}


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

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

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

constexpr BackgroundFetchRegistration::ParseTableT_ BackgroundFetchRegistration::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(BackgroundFetchRegistration, _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<::content::proto::BackgroundFetchRegistration>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      // optional .content.proto.BackgroundFetchRegistration.BackgroundFetchFailureReason failure_reason = 8;
      {::_pbi::TcParser::FastEr0S1,
       {64, 7, 7,
        PROTOBUF_FIELD_OFFSET(BackgroundFetchRegistration, _impl_.failure_reason_)}},
      // optional string unique_id = 1;
      {::_pbi::TcParser::FastBS1,
       {10, 0, 0,
        PROTOBUF_FIELD_OFFSET(BackgroundFetchRegistration, _impl_.unique_id_)}},
      // optional bytes developer_id = 2;
      {::_pbi::TcParser::FastBS1,
       {18, 1, 0,
        PROTOBUF_FIELD_OFFSET(BackgroundFetchRegistration, _impl_.developer_id_)}},
      // optional uint64 upload_total = 3;
      {::_pbi::TcParser::FastV64S1,
       {24, 2, 0,
        PROTOBUF_FIELD_OFFSET(BackgroundFetchRegistration, _impl_.upload_total_)}},
      // optional uint64 uploaded = 4;
      {::_pbi::TcParser::FastV64S1,
       {32, 3, 0,
        PROTOBUF_FIELD_OFFSET(BackgroundFetchRegistration, _impl_.uploaded_)}},
      // optional uint64 download_total = 5;
      {::_pbi::TcParser::FastV64S1,
       {40, 4, 0,
        PROTOBUF_FIELD_OFFSET(BackgroundFetchRegistration, _impl_.download_total_)}},
      // optional uint64 downloaded = 6;
      {::_pbi::TcParser::FastV64S1,
       {48, 5, 0,
        PROTOBUF_FIELD_OFFSET(BackgroundFetchRegistration, _impl_.downloaded_)}},
      // optional .content.proto.BackgroundFetchRegistration.BackgroundFetchResult result = 7;
      {::_pbi::TcParser::FastEr0S1,
       {56, 6, 2,
        PROTOBUF_FIELD_OFFSET(BackgroundFetchRegistration, _impl_.result_)}},
    }}, {{
      65535, 65535
    }}, {{
      // optional string unique_id = 1;
      {PROTOBUF_FIELD_OFFSET(BackgroundFetchRegistration, _impl_.unique_id_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional bytes developer_id = 2;
      {PROTOBUF_FIELD_OFFSET(BackgroundFetchRegistration, _impl_.developer_id_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional uint64 upload_total = 3;
      {PROTOBUF_FIELD_OFFSET(BackgroundFetchRegistration, _impl_.upload_total_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt64)},
      // optional uint64 uploaded = 4;
      {PROTOBUF_FIELD_OFFSET(BackgroundFetchRegistration, _impl_.uploaded_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt64)},
      // optional uint64 download_total = 5;
      {PROTOBUF_FIELD_OFFSET(BackgroundFetchRegistration, _impl_.download_total_), _Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt64)},
      // optional uint64 downloaded = 6;
      {PROTOBUF_FIELD_OFFSET(BackgroundFetchRegistration, _impl_.downloaded_), _Internal::kHasBitsOffset + 5, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt64)},
      // optional .content.proto.BackgroundFetchRegistration.BackgroundFetchResult result = 7;
      {PROTOBUF_FIELD_OFFSET(BackgroundFetchRegistration, _impl_.result_), _Internal::kHasBitsOffset + 6, 0, (0 | ::_fl::kFcOptional | ::_fl::kEnumRange)},
      // optional .content.proto.BackgroundFetchRegistration.BackgroundFetchFailureReason failure_reason = 8;
      {PROTOBUF_FIELD_OFFSET(BackgroundFetchRegistration, _impl_.failure_reason_), _Internal::kHasBitsOffset + 7, 1, (0 | ::_fl::kFcOptional | ::_fl::kEnumRange)},
    }},
    {{
        {0, 2},
        {0, 7},
    }},
    {{
    }},
  };
}


inline constexpr BackgroundFetchRegistration::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        unique_id_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        developer_id_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        upload_total_{::uint64_t{0u}},
        uploaded_{::uint64_t{0u}},
        download_total_{::uint64_t{0u}},
        downloaded_{::uint64_t{0u}},
        result_{static_cast< ::content::proto::BackgroundFetchRegistration_BackgroundFetchResult >(0)},
        failure_reason_{static_cast< ::content::proto::BackgroundFetchRegistration_BackgroundFetchFailureReason >(0)} {}

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

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

constexpr BackgroundFetchPendingRequest::ParseTableT_ BackgroundFetchPendingRequest::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(BackgroundFetchPendingRequest, _impl_._has_bits_),
      0, // no _extensions_
      5, 56,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967272,  // skipmap
      offsetof(ParseTableT_, field_entries),
      4,  // 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::BackgroundFetchPendingRequest>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      {::_pbi::TcParser::MiniParse, {}},
      // optional string unique_id = 1;
      {::_pbi::TcParser::FastBS1,
       {10, 0, 0,
        PROTOBUF_FIELD_OFFSET(BackgroundFetchPendingRequest, _impl_.unique_id_)}},
      // optional int32 request_index = 2;
      {::_pbi::TcParser::FastV32S1,
       {16, 3, 0,
        PROTOBUF_FIELD_OFFSET(BackgroundFetchPendingRequest, _impl_.request_index_)}},
      // optional string serialized_request = 3;
      {::_pbi::TcParser::FastBS1,
       {26, 1, 0,
        PROTOBUF_FIELD_OFFSET(BackgroundFetchPendingRequest, _impl_.serialized_request_)}},
      {::_pbi::TcParser::MiniParse, {}},
      // optional uint64 request_body_size = 5;
      {::_pbi::TcParser::FastV64S1,
       {40, 2, 0,
        PROTOBUF_FIELD_OFFSET(BackgroundFetchPendingRequest, _impl_.request_body_size_)}},
      {::_pbi::TcParser::MiniParse, {}},
      {::_pbi::TcParser::MiniParse, {}},
    }}, {{
      65535, 65535
    }}, {{
      // optional string unique_id = 1;
      {PROTOBUF_FIELD_OFFSET(BackgroundFetchPendingRequest, _impl_.unique_id_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional int32 request_index = 2;
      {PROTOBUF_FIELD_OFFSET(BackgroundFetchPendingRequest, _impl_.request_index_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
      // optional string serialized_request = 3;
      {PROTOBUF_FIELD_OFFSET(BackgroundFetchPendingRequest, _impl_.serialized_request_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional uint64 request_body_size = 5;
      {PROTOBUF_FIELD_OFFSET(BackgroundFetchPendingRequest, _impl_.request_body_size_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt64)},
    }},
    // no aux_entries
    {{
    }},
  };
}


inline constexpr BackgroundFetchPendingRequest::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        unique_id_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        serialized_request_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        request_body_size_{::uint64_t{0u}},
        request_index_{0} {}

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

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

constexpr BackgroundFetchCompletedRequest::ParseTableT_ BackgroundFetchCompletedRequest::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(BackgroundFetchCompletedRequest, _impl_._has_bits_),
      0, // no _extensions_
      6, 56,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967248,  // skipmap
      offsetof(ParseTableT_, field_entries),
      5,  // 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::BackgroundFetchCompletedRequest>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      {::_pbi::TcParser::MiniParse, {}},
      // optional string unique_id = 1;
      {::_pbi::TcParser::FastBS1,
       {10, 0, 0,
        PROTOBUF_FIELD_OFFSET(BackgroundFetchCompletedRequest, _impl_.unique_id_)}},
      // optional int32 request_index = 2;
      {::_pbi::TcParser::FastV32S1,
       {16, 3, 0,
        PROTOBUF_FIELD_OFFSET(BackgroundFetchCompletedRequest, _impl_.request_index_)}},
      // optional string serialized_request = 3;
      {::_pbi::TcParser::FastBS1,
       {26, 1, 0,
        PROTOBUF_FIELD_OFFSET(BackgroundFetchCompletedRequest, _impl_.serialized_request_)}},
      // optional string download_guid = 4;
      {::_pbi::TcParser::FastBS1,
       {34, 2, 0,
        PROTOBUF_FIELD_OFFSET(BackgroundFetchCompletedRequest, _impl_.download_guid_)}},
      {::_pbi::TcParser::MiniParse, {}},
      // optional .content.proto.BackgroundFetchRegistration.BackgroundFetchFailureReason failure_reason = 6;
      {::_pbi::TcParser::FastEr0S1,
       {48, 4, 7,
        PROTOBUF_FIELD_OFFSET(BackgroundFetchCompletedRequest, _impl_.failure_reason_)}},
      {::_pbi::TcParser::MiniParse, {}},
    }}, {{
      65535, 65535
    }}, {{
      // optional string unique_id = 1;
      {PROTOBUF_FIELD_OFFSET(BackgroundFetchCompletedRequest, _impl_.unique_id_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional int32 request_index = 2;
      {PROTOBUF_FIELD_OFFSET(BackgroundFetchCompletedRequest, _impl_.request_index_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
      // optional string serialized_request = 3;
      {PROTOBUF_FIELD_OFFSET(BackgroundFetchCompletedRequest, _impl_.serialized_request_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional string download_guid = 4;
      {PROTOBUF_FIELD_OFFSET(BackgroundFetchCompletedRequest, _impl_.download_guid_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional .content.proto.BackgroundFetchRegistration.BackgroundFetchFailureReason failure_reason = 6;
      {PROTOBUF_FIELD_OFFSET(BackgroundFetchCompletedRequest, _impl_.failure_reason_), _Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kEnumRange)},
    }},
    {{
        {0, 7},
    }},
    {{
    }},
  };
}


inline constexpr BackgroundFetchCompletedRequest::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        unique_id_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        serialized_request_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        download_guid_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        request_index_{0},
        failure_reason_{static_cast< ::content::proto::BackgroundFetchRegistration_BackgroundFetchFailureReason >(0)} {}

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

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

constexpr BackgroundFetchActiveRequest::ParseTableT_ BackgroundFetchActiveRequest::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(BackgroundFetchActiveRequest, _impl_._has_bits_),
      0, // no _extensions_
      6, 56,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967248,  // skipmap
      offsetof(ParseTableT_, field_entries),
      5,  // 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::BackgroundFetchActiveRequest>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      {::_pbi::TcParser::MiniParse, {}},
      // optional string unique_id = 1;
      {::_pbi::TcParser::FastBS1,
       {10, 0, 0,
        PROTOBUF_FIELD_OFFSET(BackgroundFetchActiveRequest, _impl_.unique_id_)}},
      // optional int32 request_index = 2;
      {::_pbi::TcParser::FastV32S1,
       {16, 4, 0,
        PROTOBUF_FIELD_OFFSET(BackgroundFetchActiveRequest, _impl_.request_index_)}},
      // optional string serialized_request = 3;
      {::_pbi::TcParser::FastBS1,
       {26, 1, 0,
        PROTOBUF_FIELD_OFFSET(BackgroundFetchActiveRequest, _impl_.serialized_request_)}},
      // optional string download_guid = 4;
      {::_pbi::TcParser::FastBS1,
       {34, 2, 0,
        PROTOBUF_FIELD_OFFSET(BackgroundFetchActiveRequest, _impl_.download_guid_)}},
      {::_pbi::TcParser::MiniParse, {}},
      // optional uint64 request_body_size = 6;
      {::_pbi::TcParser::FastV64S1,
       {48, 3, 0,
        PROTOBUF_FIELD_OFFSET(BackgroundFetchActiveRequest, _impl_.request_body_size_)}},
      {::_pbi::TcParser::MiniParse, {}},
    }}, {{
      65535, 65535
    }}, {{
      // optional string unique_id = 1;
      {PROTOBUF_FIELD_OFFSET(BackgroundFetchActiveRequest, _impl_.unique_id_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional int32 request_index = 2;
      {PROTOBUF_FIELD_OFFSET(BackgroundFetchActiveRequest, _impl_.request_index_), _Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
      // optional string serialized_request = 3;
      {PROTOBUF_FIELD_OFFSET(BackgroundFetchActiveRequest, _impl_.serialized_request_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional string download_guid = 4;
      {PROTOBUF_FIELD_OFFSET(BackgroundFetchActiveRequest, _impl_.download_guid_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional uint64 request_body_size = 6;
      {PROTOBUF_FIELD_OFFSET(BackgroundFetchActiveRequest, _impl_.request_body_size_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt64)},
    }},
    // no aux_entries
    {{
    }},
  };
}


inline constexpr BackgroundFetchActiveRequest::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        unique_id_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        serialized_request_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        download_guid_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        request_body_size_{::uint64_t{0u}},
        request_index_{0} {}

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

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

constexpr ImageResource::ParseTableT_ ImageResource::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(ImageResource, _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
      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<::content::proto::ImageResource>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      // repeated .content.proto.ImageResource.Purpose purpose = 4;
      {::_pbi::TcParser::FastEr1R1,
       {32, 1, 3,
        PROTOBUF_FIELD_OFFSET(ImageResource, _impl_.purpose_)}},
      // optional string src = 1;
      {::_pbi::TcParser::FastBS1,
       {10, 2, 0,
        PROTOBUF_FIELD_OFFSET(ImageResource, _impl_.src_)}},
      // repeated .content.proto.ImageResource.Size sizes = 2;
      {::_pbi::TcParser::FastMtR1,
       {18, 0, 0,
        PROTOBUF_FIELD_OFFSET(ImageResource, _impl_.sizes_)}},
      // optional bytes type = 3;
      {::_pbi::TcParser::FastBS1,
       {26, 3, 0,
        PROTOBUF_FIELD_OFFSET(ImageResource, _impl_.type_)}},
    }}, {{
      65535, 65535
    }}, {{
      // optional string src = 1;
      {PROTOBUF_FIELD_OFFSET(ImageResource, _impl_.src_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // repeated .content.proto.ImageResource.Size sizes = 2;
      {PROTOBUF_FIELD_OFFSET(ImageResource, _impl_.sizes_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
      // optional bytes type = 3;
      {PROTOBUF_FIELD_OFFSET(ImageResource, _impl_.type_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // repeated .content.proto.ImageResource.Purpose purpose = 4;
      {PROTOBUF_FIELD_OFFSET(ImageResource, _impl_.purpose_), _Internal::kHasBitsOffset + 1, 1, (0 | ::_fl::kFcRepeated | ::_fl::kEnumRange)},
    }},
    {{
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::content::proto::ImageResource_Size>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::content::proto::ImageResource_Size_globals_},
        #endif
        {1, 3},
    }},
    {{
    }},
  };
}


inline constexpr ImageResource::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        sizes_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::content::proto::ImageResource,
            PROTOBUF_FIELD_OFFSET(::content::proto::ImageResource, _impl_.sizes_)>()
         }
        ,
        purpose_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::content::proto::ImageResource,
            PROTOBUF_FIELD_OFFSET(::content::proto::ImageResource, _impl_.purpose_)>()
         }
        ,
        src_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        type_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()) {}

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

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

constexpr BackgroundFetchOptions::ParseTableT_ BackgroundFetchOptions::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(BackgroundFetchOptions, _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
      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::BackgroundFetchOptions>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      {::_pbi::TcParser::MiniParse, {}},
      // optional string title = 1;
      {::_pbi::TcParser::FastBS1,
       {10, 1, 0,
        PROTOBUF_FIELD_OFFSET(BackgroundFetchOptions, _impl_.title_)}},
      // repeated .content.proto.ImageResource icons = 2;
      {::_pbi::TcParser::FastMtR1,
       {18, 0, 0,
        PROTOBUF_FIELD_OFFSET(BackgroundFetchOptions, _impl_.icons_)}},
      // optional uint64 download_total = 3;
      {::_pbi::TcParser::FastV64S1,
       {24, 2, 0,
        PROTOBUF_FIELD_OFFSET(BackgroundFetchOptions, _impl_.download_total_)}},
    }}, {{
      65535, 65535
    }}, {{
      // optional string title = 1;
      {PROTOBUF_FIELD_OFFSET(BackgroundFetchOptions, _impl_.title_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // repeated .content.proto.ImageResource icons = 2;
      {PROTOBUF_FIELD_OFFSET(BackgroundFetchOptions, _impl_.icons_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
      // optional uint64 download_total = 3;
      {PROTOBUF_FIELD_OFFSET(BackgroundFetchOptions, _impl_.download_total_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt64)},
    }},
    {{
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::content::proto::ImageResource>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::content::proto::ImageResource_globals_},
        #endif
    }},
    {{
    }},
  };
}


inline constexpr BackgroundFetchOptions::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        icons_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::content::proto::BackgroundFetchOptions,
            PROTOBUF_FIELD_OFFSET(::content::proto::BackgroundFetchOptions, _impl_.icons_)>()
         }
        ,
        title_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        download_total_{::uint64_t{0u}} {}

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

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

constexpr BackgroundFetchMetadata::ParseTableT_ BackgroundFetchMetadata::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(BackgroundFetchMetadata, _impl_._has_bits_),
      0, // no _extensions_
      7, 56,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967168,  // skipmap
      offsetof(ParseTableT_, field_entries),
      7,  // 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<::content::proto::BackgroundFetchMetadata>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      {::_pbi::TcParser::MiniParse, {}},
      // optional int64 creation_microseconds_since_unix_epoch = 1;
      {::_pbi::TcParser::FastV64S1,
       {8, 5, 0,
        PROTOBUF_FIELD_OFFSET(BackgroundFetchMetadata, _impl_.creation_microseconds_since_unix_epoch_)}},
      // optional string origin = 2 [deprecated = true];
      {::_pbi::TcParser::FastBS1,
       {18, 0, 0,
        PROTOBUF_FIELD_OFFSET(BackgroundFetchMetadata, _impl_.origin_)}},
      // optional .content.proto.BackgroundFetchRegistration registration = 3;
      {::_pbi::TcParser::FastMtS1,
       {26, 3, 0,
        PROTOBUF_FIELD_OFFSET(BackgroundFetchMetadata, _impl_.registration_)}},
      // optional .content.proto.BackgroundFetchOptions options = 4;
      {::_pbi::TcParser::FastMtS1,
       {34, 4, 1,
        PROTOBUF_FIELD_OFFSET(BackgroundFetchMetadata, _impl_.options_)}},
      // optional int32 num_fetches = 5;
      {::_pbi::TcParser::FastV32S1,
       {40, 6, 0,
        PROTOBUF_FIELD_OFFSET(BackgroundFetchMetadata, _impl_.num_fetches_)}},
      // optional string isolation_info = 6;
      {::_pbi::TcParser::FastBS1,
       {50, 1, 0,
        PROTOBUF_FIELD_OFFSET(BackgroundFetchMetadata, _impl_.isolation_info_)}},
      // optional string storage_key = 7;
      {::_pbi::TcParser::FastBS1,
       {58, 2, 0,
        PROTOBUF_FIELD_OFFSET(BackgroundFetchMetadata, _impl_.storage_key_)}},
    }}, {{
      65535, 65535
    }}, {{
      // optional int64 creation_microseconds_since_unix_epoch = 1;
      {PROTOBUF_FIELD_OFFSET(BackgroundFetchMetadata, _impl_.creation_microseconds_since_unix_epoch_), _Internal::kHasBitsOffset + 5, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
      // optional string origin = 2 [deprecated = true];
      {PROTOBUF_FIELD_OFFSET(BackgroundFetchMetadata, _impl_.origin_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional .content.proto.BackgroundFetchRegistration registration = 3;
      {PROTOBUF_FIELD_OFFSET(BackgroundFetchMetadata, _impl_.registration_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
      // optional .content.proto.BackgroundFetchOptions options = 4;
      {PROTOBUF_FIELD_OFFSET(BackgroundFetchMetadata, _impl_.options_), _Internal::kHasBitsOffset + 4, 1, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
      // optional int32 num_fetches = 5;
      {PROTOBUF_FIELD_OFFSET(BackgroundFetchMetadata, _impl_.num_fetches_), _Internal::kHasBitsOffset + 6, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
      // optional string isolation_info = 6;
      {PROTOBUF_FIELD_OFFSET(BackgroundFetchMetadata, _impl_.isolation_info_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional string storage_key = 7;
      {PROTOBUF_FIELD_OFFSET(BackgroundFetchMetadata, _impl_.storage_key_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
    }},
    {{
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::content::proto::BackgroundFetchRegistration>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::content::proto::BackgroundFetchRegistration_globals_},
        #endif
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::content::proto::BackgroundFetchOptions>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::content::proto::BackgroundFetchOptions_globals_},
        #endif
    }},
    {{
    }},
  };
}


inline constexpr BackgroundFetchMetadata::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        origin_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        isolation_info_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        storage_key_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        registration_{nullptr},
        options_{nullptr},
        creation_microseconds_since_unix_epoch_{::int64_t{0}},
        num_fetches_{0} {}

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

PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PROTOBUF_MESSAGE_GLOBALS_CONST BackgroundFetchMetadataGlobalsTypeInternal BackgroundFetchMetadata_globals_
        PROTOBUF_MESSAGE_GLOBALS_SECTION(.data.rel.ro);
#if defined(PROTOBUF_CUSTOM_VTABLE)
namespace {
const ::_pbi::ClassData* BackgroundFetchMetadata_get_class_data() {
#ifdef PROTOBUF_MESSAGE_GLOBALS
  return BackgroundFetchMetadata_globals_.GetClassData();
#else
  return BackgroundFetchMetadata_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 BackgroundFetchRegistration_BackgroundFetchResult_internal_data_[] = {
    196608u, 0u, };
static const char BackgroundFetchRegistration_BackgroundFetchResult_names[] = {
    "FAILURE"
    "SUCCESS"
    "UNSET"
};

static const ::google::protobuf::internal::EnumEntry BackgroundFetchRegistration_BackgroundFetchResult_entries[] = {
    {{&BackgroundFetchRegistration_BackgroundFetchResult_names[0], 7}, 1},
    {{&BackgroundFetchRegistration_BackgroundFetchResult_names[7], 7}, 2},
    {{&BackgroundFetchRegistration_BackgroundFetchResult_names[14], 5}, 0},
};

static const int BackgroundFetchRegistration_BackgroundFetchResult_entries_by_number[] = {
    2,  // 0 -> UNSET
    0,  // 1 -> FAILURE
    1,  // 2 -> SUCCESS
};

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

const ::std::string& BackgroundFetchRegistration_BackgroundFetchResult_Name(BackgroundFetchRegistration_BackgroundFetchResult value) {
  static const bool kDummy = ::google::protobuf::internal::InitializeEnumStrings(
      BackgroundFetchRegistration_BackgroundFetchResult_entries, BackgroundFetchRegistration_BackgroundFetchResult_entries_by_number, 3,
      BackgroundFetchRegistration_BackgroundFetchResult_strings);
  (void)kDummy;

  int idx = ::google::protobuf::internal::LookUpEnumName(BackgroundFetchRegistration_BackgroundFetchResult_entries,
                                  BackgroundFetchRegistration_BackgroundFetchResult_entries_by_number,
                                  3, value);
  return idx == -1 ? ::google::protobuf::internal::GetEmptyString() : BackgroundFetchRegistration_BackgroundFetchResult_strings[idx].get();
}
PROTOBUF_CONSTINIT const uint32_t BackgroundFetchRegistration_BackgroundFetchFailureReason_internal_data_[] = {
    524288u, 0u, };
static const char BackgroundFetchRegistration_BackgroundFetchFailureReason_names[] = {
    "BAD_STATUS"
    "CANCELLED_BY_DEVELOPER"
    "CANCELLED_FROM_UI"
    "DOWNLOAD_TOTAL_EXCEEDED"
    "FETCH_ERROR"
    "NONE"
    "QUOTA_EXCEEDED"
    "SERVICE_WORKER_UNAVAILABLE"
};

static const ::google::protobuf::internal::EnumEntry BackgroundFetchRegistration_BackgroundFetchFailureReason_entries[] = {
    {{&BackgroundFetchRegistration_BackgroundFetchFailureReason_names[0], 10}, 3},
    {{&BackgroundFetchRegistration_BackgroundFetchFailureReason_names[10], 22}, 2},
    {{&BackgroundFetchRegistration_BackgroundFetchFailureReason_names[32], 17}, 1},
    {{&BackgroundFetchRegistration_BackgroundFetchFailureReason_names[49], 23}, 7},
    {{&BackgroundFetchRegistration_BackgroundFetchFailureReason_names[72], 11}, 4},
    {{&BackgroundFetchRegistration_BackgroundFetchFailureReason_names[83], 4}, 0},
    {{&BackgroundFetchRegistration_BackgroundFetchFailureReason_names[87], 14}, 6},
    {{&BackgroundFetchRegistration_BackgroundFetchFailureReason_names[101], 26}, 5},
};

static const int BackgroundFetchRegistration_BackgroundFetchFailureReason_entries_by_number[] = {
    5,  // 0 -> NONE
    2,  // 1 -> CANCELLED_FROM_UI
    1,  // 2 -> CANCELLED_BY_DEVELOPER
    0,  // 3 -> BAD_STATUS
    4,  // 4 -> FETCH_ERROR
    7,  // 5 -> SERVICE_WORKER_UNAVAILABLE
    6,  // 6 -> QUOTA_EXCEEDED
    3,  // 7 -> DOWNLOAD_TOTAL_EXCEEDED
};

bool BackgroundFetchRegistration_BackgroundFetchFailureReason_Parse(::absl::string_view name,
                                  BackgroundFetchRegistration_BackgroundFetchFailureReason* PROTOBUF_NONNULL value) {
  int int_value;
  bool success = ::google::protobuf::internal::LookUpEnumValue(
      BackgroundFetchRegistration_BackgroundFetchFailureReason_entries, 8, name, &int_value);
  if (success) {
    *value = static_cast<BackgroundFetchRegistration_BackgroundFetchFailureReason>(int_value);
  }
  return success;
}
static ::google::protobuf::internal::ExplicitlyConstructed<::std::string>
    BackgroundFetchRegistration_BackgroundFetchFailureReason_strings[8] = {};

const ::std::string& BackgroundFetchRegistration_BackgroundFetchFailureReason_Name(BackgroundFetchRegistration_BackgroundFetchFailureReason value) {
  static const bool kDummy = ::google::protobuf::internal::InitializeEnumStrings(
      BackgroundFetchRegistration_BackgroundFetchFailureReason_entries, BackgroundFetchRegistration_BackgroundFetchFailureReason_entries_by_number, 8,
      BackgroundFetchRegistration_BackgroundFetchFailureReason_strings);
  (void)kDummy;

  int idx = ::google::protobuf::internal::LookUpEnumName(BackgroundFetchRegistration_BackgroundFetchFailureReason_entries,
                                  BackgroundFetchRegistration_BackgroundFetchFailureReason_entries_by_number,
                                  8, value);
  return idx == -1 ? ::google::protobuf::internal::GetEmptyString() : BackgroundFetchRegistration_BackgroundFetchFailureReason_strings[idx].get();
}
PROTOBUF_CONSTINIT const uint32_t ImageResource_Purpose_internal_data_[] = {
    196609u, 0u, };
static const char ImageResource_Purpose_names[] = {
    "ANY"
    "MASKABLE"
    "MONOCHROME"
};

static const ::google::protobuf::internal::EnumEntry ImageResource_Purpose_entries[] = {
    {{&ImageResource_Purpose_names[0], 3}, 1},
    {{&ImageResource_Purpose_names[3], 8}, 3},
    {{&ImageResource_Purpose_names[11], 10}, 2},
};

static const int ImageResource_Purpose_entries_by_number[] = {
    0,  // 1 -> ANY
    2,  // 2 -> MONOCHROME
    1,  // 3 -> MASKABLE
};

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

const ::std::string& ImageResource_Purpose_Name(ImageResource_Purpose value) {
  static const bool kDummy = ::google::protobuf::internal::InitializeEnumStrings(
      ImageResource_Purpose_entries, ImageResource_Purpose_entries_by_number, 3,
      ImageResource_Purpose_strings);
  (void)kDummy;

  int idx = ::google::protobuf::internal::LookUpEnumName(ImageResource_Purpose_entries,
                                  ImageResource_Purpose_entries_by_number,
                                  3, value);
  return idx == -1 ? ::google::protobuf::internal::GetEmptyString() : ImageResource_Purpose_strings[idx].get();
}
PROTOBUF_CONSTINIT const uint32_t BackgroundFetchStorageVersion_internal_data_[] = {
    327679u, 0u, };
static const char BackgroundFetchStorageVersion_names[] = {
    "SV_CURRENT"
    "SV_ERROR"
    "SV_UNINITIALIZED"
    "SV_UNIQUE_CACHE_KEYS"
};

static const ::google::protobuf::internal::EnumEntry BackgroundFetchStorageVersion_entries[] = {
    {{&BackgroundFetchStorageVersion_names[0], 10}, 2},
    {{&BackgroundFetchStorageVersion_names[10], 8}, -1},
    {{&BackgroundFetchStorageVersion_names[18], 16}, 0},
    {{&BackgroundFetchStorageVersion_names[34], 20}, 1},
};

static const int BackgroundFetchStorageVersion_entries_by_number[] = {
    1,  // -1 -> SV_ERROR
    2,  // 0 -> SV_UNINITIALIZED
    3,  // 1 -> SV_UNIQUE_CACHE_KEYS
    0,  // 2 -> SV_CURRENT
};

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

const ::std::string& BackgroundFetchStorageVersion_Name(BackgroundFetchStorageVersion value) {
  static const bool kDummy = ::google::protobuf::internal::InitializeEnumStrings(
      BackgroundFetchStorageVersion_entries, BackgroundFetchStorageVersion_entries_by_number, 4,
      BackgroundFetchStorageVersion_strings);
  (void)kDummy;

  int idx = ::google::protobuf::internal::LookUpEnumName(BackgroundFetchStorageVersion_entries,
                                  BackgroundFetchStorageVersion_entries_by_number,
                                  4, value);
  return idx == -1 ? ::google::protobuf::internal::GetEmptyString() : BackgroundFetchStorageVersion_strings[idx].get();
}
// ===================================================================

BackgroundFetchRegistration::BackgroundFetchRegistration(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, BackgroundFetchRegistration_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:content.proto.BackgroundFetchRegistration)
}
PROTOBUF_NDEBUG_INLINE BackgroundFetchRegistration::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::BackgroundFetchRegistration& from_msg)
      : _has_bits_{from._has_bits_},
        _cached_size_{0},
        unique_id_(arena, from.unique_id_),
        developer_id_(arena, from.developer_id_) {}

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

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

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

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

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite BackgroundFetchRegistration_class_data_ =
    BackgroundFetchRegistration::InternalGenerateClassData_(BackgroundFetchRegistration_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
BackgroundFetchRegistration::GetClassData() const {
  return BackgroundFetchRegistration_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
BackgroundFetchRegistration::GetClassData() const {
  return BackgroundFetchRegistration_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const BackgroundFetchRegistration::ParseTableT_
    BackgroundFetchRegistration::_table_ =
        BackgroundFetchRegistration::InternalGenerateParseTable_(BackgroundFetchRegistration_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void BackgroundFetchRegistration::Clear() {
// @@protoc_insertion_point(message_clear_start:content.proto.BackgroundFetchRegistration)
  ::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_.unique_id_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _impl_.developer_id_.ClearNonDefaultToEmpty();
    }
  }
  if (BatchCheckHasBit(cached_has_bits, 0x000000fcU)) {
    ::memset(&_impl_.upload_total_, 0, static_cast<::size_t>(
        reinterpret_cast<char*>(&_impl_.failure_reason_) -
        reinterpret_cast<char*>(&_impl_.upload_total_)) + sizeof(_impl_.failure_reason_));
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

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

  // optional bytes developer_id = 2;
  if (CheckHasBit(cached_has_bits, 0x00000002U)) {
    const ::std::string& _s = this_._internal_developer_id();
    target = stream->WriteBytesMaybeAliased(2, _s, target);
  }

  // optional uint64 upload_total = 3;
  if (CheckHasBit(cached_has_bits, 0x00000004U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
        3, this_._internal_upload_total(), target);
  }

  // optional uint64 uploaded = 4;
  if (CheckHasBit(cached_has_bits, 0x00000008U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
        4, this_._internal_uploaded(), target);
  }

  // optional uint64 download_total = 5;
  if (CheckHasBit(cached_has_bits, 0x00000010U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
        5, this_._internal_download_total(), target);
  }

  // optional uint64 downloaded = 6;
  if (CheckHasBit(cached_has_bits, 0x00000020U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
        6, this_._internal_downloaded(), target);
  }

  // optional .content.proto.BackgroundFetchRegistration.BackgroundFetchResult result = 7;
  if (CheckHasBit(cached_has_bits, 0x00000040U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteEnumToArray(
        7, this_._internal_result(), target);
  }

  // optional .content.proto.BackgroundFetchRegistration.BackgroundFetchFailureReason failure_reason = 8;
  if (CheckHasBit(cached_has_bits, 0x00000080U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteEnumToArray(
        8, this_._internal_failure_reason(), 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.BackgroundFetchRegistration)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t BackgroundFetchRegistration::ByteSizeLong(const MessageLite& base) {
  const BackgroundFetchRegistration& this_ = static_cast<const BackgroundFetchRegistration&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t BackgroundFetchRegistration::ByteSizeLong() const {
  const BackgroundFetchRegistration& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:content.proto.BackgroundFetchRegistration)
  ::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, 0x000000ffU)) {
    // optional string unique_id = 1;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_unique_id());
    }
    // optional bytes developer_id = 2;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize(
                                      this_._internal_developer_id());
    }
    // optional uint64 upload_total = 3;
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
          this_._internal_upload_total());
    }
    // optional uint64 uploaded = 4;
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
          this_._internal_uploaded());
    }
    // optional uint64 download_total = 5;
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
          this_._internal_download_total());
    }
    // optional uint64 downloaded = 6;
    if (CheckHasBit(cached_has_bits, 0x00000020U)) {
      total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
          this_._internal_downloaded());
    }
    // optional .content.proto.BackgroundFetchRegistration.BackgroundFetchResult result = 7;
    if (CheckHasBit(cached_has_bits, 0x00000040U)) {
      total_size += 1 +
                    ::_pbi::WireFormatLite::EnumSize(this_._internal_result());
    }
    // optional .content.proto.BackgroundFetchRegistration.BackgroundFetchFailureReason failure_reason = 8;
    if (CheckHasBit(cached_has_bits, 0x00000080U)) {
      total_size += 1 +
                    ::_pbi::WireFormatLite::EnumSize(this_._internal_failure_reason());
    }
  }
  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 BackgroundFetchRegistration::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<BackgroundFetchRegistration*>(&to_msg);
  auto& from = static_cast<const BackgroundFetchRegistration&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  // @@protoc_insertion_point(class_specific_merge_from_start:content.proto.BackgroundFetchRegistration)
  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_set_unique_id(from._internal_unique_id());
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _this->_internal_set_developer_id(from._internal_developer_id());
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _this->_impl_.upload_total_ = from._impl_.upload_total_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      _this->_impl_.uploaded_ = from._impl_.uploaded_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      _this->_impl_.download_total_ = from._impl_.download_total_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000020U)) {
      _this->_impl_.downloaded_ = from._impl_.downloaded_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000040U)) {
      _this->_impl_.result_ = from._impl_.result_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000080U)) {
      _this->_impl_.failure_reason_ = from._impl_.failure_reason_;
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


void BackgroundFetchRegistration::InternalSwap(BackgroundFetchRegistration* 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_.unique_id_, &other->_impl_.unique_id_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.developer_id_, &other->_impl_.developer_id_, arena);
  ::google::protobuf::internal::memswap<
      PROTOBUF_FIELD_OFFSET(BackgroundFetchRegistration, _impl_.failure_reason_)
      + sizeof(BackgroundFetchRegistration::_impl_.failure_reason_)
      - PROTOBUF_FIELD_OFFSET(BackgroundFetchRegistration, _impl_.upload_total_)>(
          reinterpret_cast<char*>(&_impl_.upload_total_),
          reinterpret_cast<char*>(&other->_impl_.upload_total_));
}

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

ImageResource_Size::ImageResource_Size(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, ImageResource_Size_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:content.proto.ImageResource.Size)
}
ImageResource_Size::ImageResource_Size(
    ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const ImageResource_Size& from)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, ImageResource_Size_get_class_data()),
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena),
#endif  // PROTOBUF_CUSTOM_VTABLE
      _impl_(from._impl_) {
  _internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}
PROTOBUF_NDEBUG_INLINE ImageResource_Size::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0} {}

inline void ImageResource_Size::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
  new (&_impl_) Impl_(internal_visibility(), arena);
  ::memset(reinterpret_cast<char*>(&_impl_) +
               offsetof(Impl_, width_),
           0,
           offsetof(Impl_, height_) -
               offsetof(Impl_, width_) +
               sizeof(Impl_::height_));
}
ImageResource_Size::~ImageResource_Size() {
  // @@protoc_insertion_point(destructor:content.proto.ImageResource.Size)
  SharedDtor(*this);
}
inline void ImageResource_Size::SharedDtor(MessageLite& self) {
  ImageResource_Size& this_ = static_cast<ImageResource_Size&>(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 ImageResource_Size_class_data_ =
    ImageResource_Size::InternalGenerateClassData_(ImageResource_Size_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
ImageResource_Size::GetClassData() const {
  return ImageResource_Size_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
ImageResource_Size::GetClassData() const {
  return ImageResource_Size_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ImageResource_Size::ParseTableT_
    ImageResource_Size::_table_ =
        ImageResource_Size::InternalGenerateParseTable_(ImageResource_Size_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void ImageResource_Size::Clear() {
// @@protoc_insertion_point(message_clear_start:content.proto.ImageResource.Size)
  ::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)) {
    ::memset(&_impl_.width_, 0, static_cast<::size_t>(
        reinterpret_cast<char*>(&_impl_.height_) -
        reinterpret_cast<char*>(&_impl_.width_)) + sizeof(_impl_.height_));
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

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

  // optional int32 height = 2;
  if (CheckHasBit(cached_has_bits, 0x00000002U)) {
    target =
        ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<2>(
            stream, this_._internal_height(), 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.ImageResource.Size)
  return target;
}

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

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

  ::_pbi::Prefetch5LinesFrom7Lines(&this_);
  cached_has_bits = this_._impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
    // optional int32 width = 1;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
          this_._internal_width());
    }
    // optional int32 height = 2;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
          this_._internal_height());
    }
  }
  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 ImageResource_Size::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<ImageResource_Size*>(&to_msg);
  auto& from = static_cast<const ImageResource_Size&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  // @@protoc_insertion_point(class_specific_merge_from_start:content.proto.ImageResource.Size)
  ABSL_DCHECK_NE(&from, _this);
  ::uint32_t cached_has_bits = 0;
  (void)cached_has_bits;

  cached_has_bits = from._impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _this->_impl_.width_ = from._impl_.width_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _this->_impl_.height_ = from._impl_.height_;
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


void ImageResource_Size::InternalSwap(ImageResource_Size* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
  using ::std::swap;
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  ::google::protobuf::internal::memswap<
      PROTOBUF_FIELD_OFFSET(ImageResource_Size, _impl_.height_)
      + sizeof(ImageResource_Size::_impl_.height_)
      - PROTOBUF_FIELD_OFFSET(ImageResource_Size, _impl_.width_)>(
          reinterpret_cast<char*>(&_impl_.width_),
          reinterpret_cast<char*>(&other->_impl_.width_));
}

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

ImageResource::ImageResource(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, ImageResource_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:content.proto.ImageResource)
}
PROTOBUF_NDEBUG_INLINE ImageResource::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::ImageResource& from_msg)
      : _has_bits_{from._has_bits_},
        _cached_size_{0},
        sizes_ {
          visibility, ::_pbi::InternalMetadataOffset::Build<
              ::content::proto::ImageResource,
              PROTOBUF_FIELD_OFFSET(::content::proto::ImageResource, _impl_.sizes_)>()
          , from.sizes_
        }
        ,
        purpose_ {
          visibility, ::_pbi::InternalMetadataOffset::Build<
              ::content::proto::ImageResource,
              PROTOBUF_FIELD_OFFSET(::content::proto::ImageResource, _impl_.purpose_)>()
          , from.purpose_
        }
        ,
        src_(arena, from.src_),
        type_(arena, from.type_) {}

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

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

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

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite ImageResource_class_data_ =
    ImageResource::InternalGenerateClassData_(ImageResource_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
ImageResource::GetClassData() const {
  return ImageResource_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
ImageResource::GetClassData() const {
  return ImageResource_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ImageResource::ParseTableT_
    ImageResource::_table_ =
        ImageResource::InternalGenerateParseTable_(ImageResource_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void ImageResource::Clear() {
// @@protoc_insertion_point(message_clear_start:content.proto.ImageResource)
  ::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, 0x0000000fU)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _impl_.sizes_.Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _impl_.purpose_.Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _impl_.src_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      _impl_.type_.ClearNonDefaultToEmpty();
    }
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

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

  // repeated .content.proto.ImageResource.Size sizes = 2;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    for (unsigned i = 0, n = static_cast<unsigned>(
                             this_._internal_sizes_size());
         i < n; i++) {
      const auto& repfield = this_._internal_sizes().Get(i);
      target =
          ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
              2, repfield, repfield.GetCachedSize(),
              target, stream);
    }
  }

  // optional bytes type = 3;
  if (CheckHasBit(cached_has_bits, 0x00000008U)) {
    const ::std::string& _s = this_._internal_type();
    target = stream->WriteBytesMaybeAliased(3, _s, target);
  }

  // repeated .content.proto.ImageResource.Purpose purpose = 4;
  if (CheckHasBit(cached_has_bits, 0x00000002U)) {
    for (int i = 0, n = this_._internal_purpose_size(); i < n; ++i) {
      target = stream->EnsureSpace(target);
      target = ::_pbi::WireFormatLite::WriteEnumToArray(
          4, static_cast<::content::proto::ImageResource_Purpose>(this_._internal_purpose().Get(i)),
          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.ImageResource)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t ImageResource::ByteSizeLong(const MessageLite& base) {
  const ImageResource& this_ = static_cast<const ImageResource&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t ImageResource::ByteSizeLong() const {
  const ImageResource& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:content.proto.ImageResource)
  ::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 .content.proto.ImageResource.Size sizes = 2;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1UL * this_._internal_sizes_size();
      for (const auto& msg : this_._internal_sizes()) {
        total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
      }
    }
    // repeated .content.proto.ImageResource.Purpose purpose = 4;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      ::size_t data_size =
          ::_pbi::WireFormatLite::EnumSize(this_._internal_purpose());
      ::size_t tag_size = ::size_t{1} *
          ::_pbi::FromIntSize(this_._internal_purpose_size());
      total_size += data_size + tag_size;
    }
    // optional string src = 1;
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_src());
    }
    // optional bytes type = 3;
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize(
                                      this_._internal_type());
    }
  }
  if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
    total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
  }
  this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
  return total_size;
}

void ImageResource::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<ImageResource*>(&to_msg);
  auto& from = static_cast<const ImageResource&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  ::google::protobuf::Arena* arena = _this->GetArena();
  // @@protoc_insertion_point(class_specific_merge_from_start:content.proto.ImageResource)
  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_sizes()->InternalMergeFromWithArena(
          ::google::protobuf::MessageLite::internal_visibility(), arena,
          from._internal_sizes());
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _this->_internal_mutable_purpose()->MergeFrom(from._internal_purpose());
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _this->_internal_set_src(from._internal_src());
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      _this->_internal_set_type(from._internal_type());
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


void ImageResource::InternalSwap(ImageResource* 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_.sizes_.InternalSwap(&other->_impl_.sizes_);
  _impl_.purpose_.InternalSwap(&other->_impl_.purpose_);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.src_, &other->_impl_.src_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.type_, &other->_impl_.type_, arena);
}

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

BackgroundFetchOptions::BackgroundFetchOptions(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, BackgroundFetchOptions_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:content.proto.BackgroundFetchOptions)
}
PROTOBUF_NDEBUG_INLINE BackgroundFetchOptions::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::BackgroundFetchOptions& from_msg)
      : _has_bits_{from._has_bits_},
        _cached_size_{0},
        icons_ {
          visibility, ::_pbi::InternalMetadataOffset::Build<
              ::content::proto::BackgroundFetchOptions,
              PROTOBUF_FIELD_OFFSET(::content::proto::BackgroundFetchOptions, _impl_.icons_)>()
          , from.icons_
        }
        ,
        title_(arena, from.title_) {}

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

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

  // @@protoc_insertion_point(copy_constructor:content.proto.BackgroundFetchOptions)
}
PROTOBUF_NDEBUG_INLINE BackgroundFetchOptions::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0},
        icons_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::content::proto::BackgroundFetchOptions,
            PROTOBUF_FIELD_OFFSET(::content::proto::BackgroundFetchOptions, _impl_.icons_)>()
         }
        ,
        title_(arena) {}

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

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite BackgroundFetchOptions_class_data_ =
    BackgroundFetchOptions::InternalGenerateClassData_(BackgroundFetchOptions_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
BackgroundFetchOptions::GetClassData() const {
  return BackgroundFetchOptions_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
BackgroundFetchOptions::GetClassData() const {
  return BackgroundFetchOptions_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const BackgroundFetchOptions::ParseTableT_
    BackgroundFetchOptions::_table_ =
        BackgroundFetchOptions::InternalGenerateParseTable_(BackgroundFetchOptions_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void BackgroundFetchOptions::Clear() {
// @@protoc_insertion_point(message_clear_start:content.proto.BackgroundFetchOptions)
  ::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_.icons_.Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _impl_.title_.ClearNonDefaultToEmpty();
    }
  }
  _impl_.download_total_ = ::uint64_t{0u};
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

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

  // repeated .content.proto.ImageResource icons = 2;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    for (unsigned i = 0, n = static_cast<unsigned>(
                             this_._internal_icons_size());
         i < n; i++) {
      const auto& repfield = this_._internal_icons().Get(i);
      target =
          ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
              2, repfield, repfield.GetCachedSize(),
              target, stream);
    }
  }

  // optional uint64 download_total = 3;
  if (CheckHasBit(cached_has_bits, 0x00000004U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
        3, this_._internal_download_total(), 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.BackgroundFetchOptions)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t BackgroundFetchOptions::ByteSizeLong(const MessageLite& base) {
  const BackgroundFetchOptions& this_ = static_cast<const BackgroundFetchOptions&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t BackgroundFetchOptions::ByteSizeLong() const {
  const BackgroundFetchOptions& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:content.proto.BackgroundFetchOptions)
  ::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)) {
    // repeated .content.proto.ImageResource icons = 2;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1UL * this_._internal_icons_size();
      for (const auto& msg : this_._internal_icons()) {
        total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
      }
    }
    // optional string title = 1;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_title());
    }
    // optional uint64 download_total = 3;
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
          this_._internal_download_total());
    }
  }
  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 BackgroundFetchOptions::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<BackgroundFetchOptions*>(&to_msg);
  auto& from = static_cast<const BackgroundFetchOptions&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  ::google::protobuf::Arena* arena = _this->GetArena();
  // @@protoc_insertion_point(class_specific_merge_from_start:content.proto.BackgroundFetchOptions)
  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_mutable_icons()->InternalMergeFromWithArena(
          ::google::protobuf::MessageLite::internal_visibility(), arena,
          from._internal_icons());
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _this->_internal_set_title(from._internal_title());
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _this->_impl_.download_total_ = from._impl_.download_total_;
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


void BackgroundFetchOptions::InternalSwap(BackgroundFetchOptions* 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_.icons_.InternalSwap(&other->_impl_.icons_);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.title_, &other->_impl_.title_, arena);
  swap(_impl_.download_total_, other->_impl_.download_total_);
}

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

BackgroundFetchMetadata::BackgroundFetchMetadata(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, BackgroundFetchMetadata_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:content.proto.BackgroundFetchMetadata)
}
PROTOBUF_NDEBUG_INLINE BackgroundFetchMetadata::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::BackgroundFetchMetadata& from_msg)
      : _has_bits_{from._has_bits_},
        _cached_size_{0},
        origin_(arena, from.origin_),
        isolation_info_(arena, from.isolation_info_),
        storage_key_(arena, from.storage_key_) {}

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

#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  BackgroundFetchMetadata* const _this = this;
  (void)_this;
  _internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
  new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
  ::uint32_t cached_has_bits = _impl_._has_bits_[0];
  _impl_.registration_ = (CheckHasBit(cached_has_bits, 0x00000008U))
                ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.registration_)
                : nullptr;
  _impl_.options_ = (CheckHasBit(cached_has_bits, 0x00000010U))
                ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.options_)
                : nullptr;
  ::memcpy(reinterpret_cast<char*>(&_impl_) +
               offsetof(Impl_, creation_microseconds_since_unix_epoch_),
           reinterpret_cast<const char*>(&from._impl_) +
               offsetof(Impl_, creation_microseconds_since_unix_epoch_),
           offsetof(Impl_, num_fetches_) -
               offsetof(Impl_, creation_microseconds_since_unix_epoch_) +
               sizeof(Impl_::num_fetches_));

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

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

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite BackgroundFetchMetadata_class_data_ =
    BackgroundFetchMetadata::InternalGenerateClassData_(BackgroundFetchMetadata_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
BackgroundFetchMetadata::GetClassData() const {
  return BackgroundFetchMetadata_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
BackgroundFetchMetadata::GetClassData() const {
  return BackgroundFetchMetadata_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const BackgroundFetchMetadata::ParseTableT_
    BackgroundFetchMetadata::_table_ =
        BackgroundFetchMetadata::InternalGenerateParseTable_(BackgroundFetchMetadata_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void BackgroundFetchMetadata::Clear() {
// @@protoc_insertion_point(message_clear_start:content.proto.BackgroundFetchMetadata)
  ::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_.origin_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _impl_.isolation_info_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _impl_.storage_key_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      ABSL_DCHECK(_impl_.registration_ != nullptr);
      _impl_.registration_->Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      ABSL_DCHECK(_impl_.options_ != nullptr);
      _impl_.options_->Clear();
    }
  }
  if (BatchCheckHasBit(cached_has_bits, 0x00000060U)) {
    ::memset(&_impl_.creation_microseconds_since_unix_epoch_, 0, static_cast<::size_t>(
        reinterpret_cast<char*>(&_impl_.num_fetches_) -
        reinterpret_cast<char*>(&_impl_.creation_microseconds_since_unix_epoch_)) + sizeof(_impl_.num_fetches_));
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

  cached_has_bits = this_._impl_._has_bits_[0];
  // optional int64 creation_microseconds_since_unix_epoch = 1;
  if (CheckHasBit(cached_has_bits, 0x00000020U)) {
    target =
        ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<1>(
            stream, this_._internal_creation_microseconds_since_unix_epoch(), target);
  }

  // optional string origin = 2 [deprecated = true];
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    const ::std::string& _s = this_._internal_origin();
    target = stream->WriteStringMaybeAliased(2, _s, target);
  }

  // optional .content.proto.BackgroundFetchRegistration registration = 3;
  if (CheckHasBit(cached_has_bits, 0x00000008U)) {
    target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
        3, *this_._impl_.registration_, this_._impl_.registration_->GetCachedSize(), target,
        stream);
  }

  // optional .content.proto.BackgroundFetchOptions options = 4;
  if (CheckHasBit(cached_has_bits, 0x00000010U)) {
    target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
        4, *this_._impl_.options_, this_._impl_.options_->GetCachedSize(), target,
        stream);
  }

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

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

  // optional string storage_key = 7;
  if (CheckHasBit(cached_has_bits, 0x00000004U)) {
    const ::std::string& _s = this_._internal_storage_key();
    target = stream->WriteStringMaybeAliased(7, _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:content.proto.BackgroundFetchMetadata)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t BackgroundFetchMetadata::ByteSizeLong(const MessageLite& base) {
  const BackgroundFetchMetadata& this_ = static_cast<const BackgroundFetchMetadata&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t BackgroundFetchMetadata::ByteSizeLong() const {
  const BackgroundFetchMetadata& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:content.proto.BackgroundFetchMetadata)
  ::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, 0x0000007fU)) {
    // optional string origin = 2 [deprecated = true];
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_origin());
    }
    // optional string isolation_info = 6;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_isolation_info());
    }
    // optional string storage_key = 7;
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_storage_key());
    }
    // optional .content.proto.BackgroundFetchRegistration registration = 3;
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.registration_);
    }
    // optional .content.proto.BackgroundFetchOptions options = 4;
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.options_);
    }
    // optional int64 creation_microseconds_since_unix_epoch = 1;
    if (CheckHasBit(cached_has_bits, 0x00000020U)) {
      total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
          this_._internal_creation_microseconds_since_unix_epoch());
    }
    // optional int32 num_fetches = 5;
    if (CheckHasBit(cached_has_bits, 0x00000040U)) {
      total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
          this_._internal_num_fetches());
    }
  }
  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 BackgroundFetchMetadata::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<BackgroundFetchMetadata*>(&to_msg);
  auto& from = static_cast<const BackgroundFetchMetadata&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  ::google::protobuf::Arena* arena = _this->GetArena();
  // @@protoc_insertion_point(class_specific_merge_from_start:content.proto.BackgroundFetchMetadata)
  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, 0x0000007fU)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _this->_internal_set_origin(from._internal_origin());
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _this->_internal_set_isolation_info(from._internal_isolation_info());
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _this->_internal_set_storage_key(from._internal_storage_key());
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      ABSL_DCHECK(from._impl_.registration_ != nullptr);
      if (_this->_impl_.registration_ == nullptr) {
        _this->_impl_.registration_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.registration_);
      } else {
        _this->_impl_.registration_->MergeFrom(*from._impl_.registration_);
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      ABSL_DCHECK(from._impl_.options_ != nullptr);
      if (_this->_impl_.options_ == nullptr) {
        _this->_impl_.options_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.options_);
      } else {
        _this->_impl_.options_->MergeFrom(*from._impl_.options_);
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000020U)) {
      _this->_impl_.creation_microseconds_since_unix_epoch_ = from._impl_.creation_microseconds_since_unix_epoch_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000040U)) {
      _this->_impl_.num_fetches_ = from._impl_.num_fetches_;
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


void BackgroundFetchMetadata::InternalSwap(BackgroundFetchMetadata* 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_.origin_, &other->_impl_.origin_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.isolation_info_, &other->_impl_.isolation_info_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.storage_key_, &other->_impl_.storage_key_, arena);
  ::google::protobuf::internal::memswap<
      PROTOBUF_FIELD_OFFSET(BackgroundFetchMetadata, _impl_.num_fetches_)
      + sizeof(BackgroundFetchMetadata::_impl_.num_fetches_)
      - PROTOBUF_FIELD_OFFSET(BackgroundFetchMetadata, _impl_.registration_)>(
          reinterpret_cast<char*>(&_impl_.registration_),
          reinterpret_cast<char*>(&other->_impl_.registration_));
}

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

BackgroundFetchUIOptions::BackgroundFetchUIOptions(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, BackgroundFetchUIOptions_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:content.proto.BackgroundFetchUIOptions)
}
PROTOBUF_NDEBUG_INLINE BackgroundFetchUIOptions::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::BackgroundFetchUIOptions& from_msg)
      : _has_bits_{from._has_bits_},
        _cached_size_{0},
        title_(arena, from.title_),
        icon_(arena, from.icon_) {}

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

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

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

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite BackgroundFetchUIOptions_class_data_ =
    BackgroundFetchUIOptions::InternalGenerateClassData_(BackgroundFetchUIOptions_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
BackgroundFetchUIOptions::GetClassData() const {
  return BackgroundFetchUIOptions_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
BackgroundFetchUIOptions::GetClassData() const {
  return BackgroundFetchUIOptions_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const BackgroundFetchUIOptions::ParseTableT_
    BackgroundFetchUIOptions::_table_ =
        BackgroundFetchUIOptions::InternalGenerateParseTable_(BackgroundFetchUIOptions_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void BackgroundFetchUIOptions::Clear() {
// @@protoc_insertion_point(message_clear_start:content.proto.BackgroundFetchUIOptions)
  ::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_.title_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _impl_.icon_.ClearNonDefaultToEmpty();
    }
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

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

  // optional bytes icon = 2;
  if (CheckHasBit(cached_has_bits, 0x00000002U)) {
    const ::std::string& _s = this_._internal_icon();
    target = stream->WriteBytesMaybeAliased(2, _s, target);
  }

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

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

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

  ::_pbi::Prefetch5LinesFrom7Lines(&this_);
  cached_has_bits = this_._impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
    // optional string title = 1;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_title());
    }
    // optional bytes icon = 2;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize(
                                      this_._internal_icon());
    }
  }
  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 BackgroundFetchUIOptions::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<BackgroundFetchUIOptions*>(&to_msg);
  auto& from = static_cast<const BackgroundFetchUIOptions&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  // @@protoc_insertion_point(class_specific_merge_from_start:content.proto.BackgroundFetchUIOptions)
  ABSL_DCHECK_NE(&from, _this);
  ::uint32_t cached_has_bits = 0;
  (void)cached_has_bits;

  cached_has_bits = from._impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _this->_internal_set_title(from._internal_title());
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _this->_internal_set_icon(from._internal_icon());
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


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

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

BackgroundFetchPendingRequest::BackgroundFetchPendingRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, BackgroundFetchPendingRequest_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:content.proto.BackgroundFetchPendingRequest)
}
PROTOBUF_NDEBUG_INLINE BackgroundFetchPendingRequest::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::BackgroundFetchPendingRequest& from_msg)
      : _has_bits_{from._has_bits_},
        _cached_size_{0},
        unique_id_(arena, from.unique_id_),
        serialized_request_(arena, from.serialized_request_) {}

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

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

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

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

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite BackgroundFetchPendingRequest_class_data_ =
    BackgroundFetchPendingRequest::InternalGenerateClassData_(BackgroundFetchPendingRequest_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
BackgroundFetchPendingRequest::GetClassData() const {
  return BackgroundFetchPendingRequest_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
BackgroundFetchPendingRequest::GetClassData() const {
  return BackgroundFetchPendingRequest_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const BackgroundFetchPendingRequest::ParseTableT_
    BackgroundFetchPendingRequest::_table_ =
        BackgroundFetchPendingRequest::InternalGenerateParseTable_(BackgroundFetchPendingRequest_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void BackgroundFetchPendingRequest::Clear() {
// @@protoc_insertion_point(message_clear_start:content.proto.BackgroundFetchPendingRequest)
  ::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_.unique_id_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _impl_.serialized_request_.ClearNonDefaultToEmpty();
    }
  }
  if (BatchCheckHasBit(cached_has_bits, 0x0000000cU)) {
    ::memset(&_impl_.request_body_size_, 0, static_cast<::size_t>(
        reinterpret_cast<char*>(&_impl_.request_index_) -
        reinterpret_cast<char*>(&_impl_.request_body_size_)) + sizeof(_impl_.request_index_));
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

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

  // optional int32 request_index = 2;
  if (CheckHasBit(cached_has_bits, 0x00000008U)) {
    target =
        ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<2>(
            stream, this_._internal_request_index(), target);
  }

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

  // optional uint64 request_body_size = 5;
  if (CheckHasBit(cached_has_bits, 0x00000004U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
        5, this_._internal_request_body_size(), 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.BackgroundFetchPendingRequest)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t BackgroundFetchPendingRequest::ByteSizeLong(const MessageLite& base) {
  const BackgroundFetchPendingRequest& this_ = static_cast<const BackgroundFetchPendingRequest&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t BackgroundFetchPendingRequest::ByteSizeLong() const {
  const BackgroundFetchPendingRequest& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:content.proto.BackgroundFetchPendingRequest)
  ::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)) {
    // optional string unique_id = 1;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_unique_id());
    }
    // optional string serialized_request = 3;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_serialized_request());
    }
    // optional uint64 request_body_size = 5;
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
          this_._internal_request_body_size());
    }
    // optional int32 request_index = 2;
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
          this_._internal_request_index());
    }
  }
  if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
    total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
  }
  this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
  return total_size;
}

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

  cached_has_bits = from._impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _this->_internal_set_unique_id(from._internal_unique_id());
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _this->_internal_set_serialized_request(from._internal_serialized_request());
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _this->_impl_.request_body_size_ = from._impl_.request_body_size_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      _this->_impl_.request_index_ = from._impl_.request_index_;
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


void BackgroundFetchPendingRequest::InternalSwap(BackgroundFetchPendingRequest* 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_.unique_id_, &other->_impl_.unique_id_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.serialized_request_, &other->_impl_.serialized_request_, arena);
  ::google::protobuf::internal::memswap<
      PROTOBUF_FIELD_OFFSET(BackgroundFetchPendingRequest, _impl_.request_index_)
      + sizeof(BackgroundFetchPendingRequest::_impl_.request_index_)
      - PROTOBUF_FIELD_OFFSET(BackgroundFetchPendingRequest, _impl_.request_body_size_)>(
          reinterpret_cast<char*>(&_impl_.request_body_size_),
          reinterpret_cast<char*>(&other->_impl_.request_body_size_));
}

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

BackgroundFetchActiveRequest::BackgroundFetchActiveRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, BackgroundFetchActiveRequest_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:content.proto.BackgroundFetchActiveRequest)
}
PROTOBUF_NDEBUG_INLINE BackgroundFetchActiveRequest::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::BackgroundFetchActiveRequest& from_msg)
      : _has_bits_{from._has_bits_},
        _cached_size_{0},
        unique_id_(arena, from.unique_id_),
        serialized_request_(arena, from.serialized_request_),
        download_guid_(arena, from.download_guid_) {}

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

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

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

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

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite BackgroundFetchActiveRequest_class_data_ =
    BackgroundFetchActiveRequest::InternalGenerateClassData_(BackgroundFetchActiveRequest_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
BackgroundFetchActiveRequest::GetClassData() const {
  return BackgroundFetchActiveRequest_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
BackgroundFetchActiveRequest::GetClassData() const {
  return BackgroundFetchActiveRequest_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const BackgroundFetchActiveRequest::ParseTableT_
    BackgroundFetchActiveRequest::_table_ =
        BackgroundFetchActiveRequest::InternalGenerateParseTable_(BackgroundFetchActiveRequest_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void BackgroundFetchActiveRequest::Clear() {
// @@protoc_insertion_point(message_clear_start:content.proto.BackgroundFetchActiveRequest)
  ::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_.unique_id_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _impl_.serialized_request_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _impl_.download_guid_.ClearNonDefaultToEmpty();
    }
  }
  if (BatchCheckHasBit(cached_has_bits, 0x00000018U)) {
    ::memset(&_impl_.request_body_size_, 0, static_cast<::size_t>(
        reinterpret_cast<char*>(&_impl_.request_index_) -
        reinterpret_cast<char*>(&_impl_.request_body_size_)) + sizeof(_impl_.request_index_));
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

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

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

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

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

  // optional uint64 request_body_size = 6;
  if (CheckHasBit(cached_has_bits, 0x00000008U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
        6, this_._internal_request_body_size(), 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.BackgroundFetchActiveRequest)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t BackgroundFetchActiveRequest::ByteSizeLong(const MessageLite& base) {
  const BackgroundFetchActiveRequest& this_ = static_cast<const BackgroundFetchActiveRequest&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t BackgroundFetchActiveRequest::ByteSizeLong() const {
  const BackgroundFetchActiveRequest& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:content.proto.BackgroundFetchActiveRequest)
  ::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, 0x0000001fU)) {
    // optional string unique_id = 1;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_unique_id());
    }
    // optional string serialized_request = 3;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_serialized_request());
    }
    // optional string download_guid = 4;
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_download_guid());
    }
    // optional uint64 request_body_size = 6;
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
          this_._internal_request_body_size());
    }
    // optional int32 request_index = 2;
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
          this_._internal_request_index());
    }
  }
  if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
    total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
  }
  this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
  return total_size;
}

void BackgroundFetchActiveRequest::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<BackgroundFetchActiveRequest*>(&to_msg);
  auto& from = static_cast<const BackgroundFetchActiveRequest&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  // @@protoc_insertion_point(class_specific_merge_from_start:content.proto.BackgroundFetchActiveRequest)
  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, 0x0000001fU)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _this->_internal_set_unique_id(from._internal_unique_id());
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _this->_internal_set_serialized_request(from._internal_serialized_request());
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _this->_internal_set_download_guid(from._internal_download_guid());
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      _this->_impl_.request_body_size_ = from._impl_.request_body_size_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      _this->_impl_.request_index_ = from._impl_.request_index_;
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


void BackgroundFetchActiveRequest::InternalSwap(BackgroundFetchActiveRequest* 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_.unique_id_, &other->_impl_.unique_id_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.serialized_request_, &other->_impl_.serialized_request_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.download_guid_, &other->_impl_.download_guid_, arena);
  ::google::protobuf::internal::memswap<
      PROTOBUF_FIELD_OFFSET(BackgroundFetchActiveRequest, _impl_.request_index_)
      + sizeof(BackgroundFetchActiveRequest::_impl_.request_index_)
      - PROTOBUF_FIELD_OFFSET(BackgroundFetchActiveRequest, _impl_.request_body_size_)>(
          reinterpret_cast<char*>(&_impl_.request_body_size_),
          reinterpret_cast<char*>(&other->_impl_.request_body_size_));
}

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

BackgroundFetchCompletedRequest::BackgroundFetchCompletedRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, BackgroundFetchCompletedRequest_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:content.proto.BackgroundFetchCompletedRequest)
}
PROTOBUF_NDEBUG_INLINE BackgroundFetchCompletedRequest::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::BackgroundFetchCompletedRequest& from_msg)
      : _has_bits_{from._has_bits_},
        _cached_size_{0},
        unique_id_(arena, from.unique_id_),
        serialized_request_(arena, from.serialized_request_),
        download_guid_(arena, from.download_guid_) {}

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

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

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

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

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite BackgroundFetchCompletedRequest_class_data_ =
    BackgroundFetchCompletedRequest::InternalGenerateClassData_(BackgroundFetchCompletedRequest_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
BackgroundFetchCompletedRequest::GetClassData() const {
  return BackgroundFetchCompletedRequest_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
BackgroundFetchCompletedRequest::GetClassData() const {
  return BackgroundFetchCompletedRequest_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const BackgroundFetchCompletedRequest::ParseTableT_
    BackgroundFetchCompletedRequest::_table_ =
        BackgroundFetchCompletedRequest::InternalGenerateParseTable_(BackgroundFetchCompletedRequest_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void BackgroundFetchCompletedRequest::Clear() {
// @@protoc_insertion_point(message_clear_start:content.proto.BackgroundFetchCompletedRequest)
  ::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_.unique_id_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _impl_.serialized_request_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _impl_.download_guid_.ClearNonDefaultToEmpty();
    }
  }
  if (BatchCheckHasBit(cached_has_bits, 0x00000018U)) {
    ::memset(&_impl_.request_index_, 0, static_cast<::size_t>(
        reinterpret_cast<char*>(&_impl_.failure_reason_) -
        reinterpret_cast<char*>(&_impl_.request_index_)) + sizeof(_impl_.failure_reason_));
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

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

  // optional int32 request_index = 2;
  if (CheckHasBit(cached_has_bits, 0x00000008U)) {
    target =
        ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<2>(
            stream, this_._internal_request_index(), target);
  }

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

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

  // optional .content.proto.BackgroundFetchRegistration.BackgroundFetchFailureReason failure_reason = 6;
  if (CheckHasBit(cached_has_bits, 0x00000010U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteEnumToArray(
        6, this_._internal_failure_reason(), 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.BackgroundFetchCompletedRequest)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t BackgroundFetchCompletedRequest::ByteSizeLong(const MessageLite& base) {
  const BackgroundFetchCompletedRequest& this_ = static_cast<const BackgroundFetchCompletedRequest&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t BackgroundFetchCompletedRequest::ByteSizeLong() const {
  const BackgroundFetchCompletedRequest& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:content.proto.BackgroundFetchCompletedRequest)
  ::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, 0x0000001fU)) {
    // optional string unique_id = 1;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_unique_id());
    }
    // optional string serialized_request = 3;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_serialized_request());
    }
    // optional string download_guid = 4;
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_download_guid());
    }
    // optional int32 request_index = 2;
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
          this_._internal_request_index());
    }
    // optional .content.proto.BackgroundFetchRegistration.BackgroundFetchFailureReason failure_reason = 6;
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      total_size += 1 +
                    ::_pbi::WireFormatLite::EnumSize(this_._internal_failure_reason());
    }
  }
  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 BackgroundFetchCompletedRequest::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<BackgroundFetchCompletedRequest*>(&to_msg);
  auto& from = static_cast<const BackgroundFetchCompletedRequest&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  // @@protoc_insertion_point(class_specific_merge_from_start:content.proto.BackgroundFetchCompletedRequest)
  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, 0x0000001fU)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _this->_internal_set_unique_id(from._internal_unique_id());
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _this->_internal_set_serialized_request(from._internal_serialized_request());
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _this->_internal_set_download_guid(from._internal_download_guid());
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      _this->_impl_.request_index_ = from._impl_.request_index_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      _this->_impl_.failure_reason_ = from._impl_.failure_reason_;
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


void BackgroundFetchCompletedRequest::InternalSwap(BackgroundFetchCompletedRequest* 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_.unique_id_, &other->_impl_.unique_id_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.serialized_request_, &other->_impl_.serialized_request_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.download_guid_, &other->_impl_.download_guid_, arena);
  ::google::protobuf::internal::memswap<
      PROTOBUF_FIELD_OFFSET(BackgroundFetchCompletedRequest, _impl_.failure_reason_)
      + sizeof(BackgroundFetchCompletedRequest::_impl_.failure_reason_)
      - PROTOBUF_FIELD_OFFSET(BackgroundFetchCompletedRequest, _impl_.request_index_)>(
          reinterpret_cast<char*>(&_impl_.request_index_),
          reinterpret_cast<char*>(&other->_impl_.request_index_));
}

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