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

#ifndef background_5fsync_2eproto_2epb_2eh
#define background_5fsync_2eproto_2epb_2eh

#include <limits>
#include <string>
#include <type_traits>
#include <utility>

// clang-format off
#include "google/protobuf/runtime_version.h"
#if PROTOBUF_VERSION != 7035001
#error "Protobuf C++ gencode is built with an incompatible version of"
#error "Protobuf C++ headers/runtime. See"
#error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp"
#endif
#include "google/protobuf/io/coded_stream.h"
#include "google/protobuf/arena.h"
#include "google/protobuf/arenastring.h"
#include "google/protobuf/generated_message_tctable_decl.h"
#include "google/protobuf/generated_message_util.h"
#include "google/protobuf/metadata_lite.h"
#include "google/protobuf/message_lite.h"
#include "google/protobuf/repeated_field.h"  // IWYU pragma: export
#include "google/protobuf/extension_set.h"  // IWYU pragma: export
#include "google/protobuf/generated_enum_util.h"
// @@protoc_insertion_point(includes)

// Must be included last.
#include "google/protobuf/port_def.inc"

#define PROTOBUF_INTERNAL_EXPORT_background_5fsync_2eproto

namespace google {
namespace protobuf {
namespace internal {
template <typename T>
::absl::string_view GetAnyMessageName();
}  // namespace internal
}  // namespace protobuf
}  // namespace google

// Internal implementation detail -- do not use these members.
struct TableStruct_background_5fsync_2eproto {
  static const ::uint32_t offsets[];
};
namespace content {
enum SyncNetworkState : int;
extern const uint32_t SyncNetworkState_internal_data_[];
class BackgroundSyncRegistrationProto;
struct BackgroundSyncRegistrationProtoGlobalsTypeInternal;
#ifndef PROTOBUF_MESSAGE_GLOBALS
extern BackgroundSyncRegistrationProtoGlobalsTypeInternal BackgroundSyncRegistrationProto_globals_;
extern const ::google::protobuf::internal::ClassDataLite BackgroundSyncRegistrationProto_class_data_;
#else
extern const BackgroundSyncRegistrationProtoGlobalsTypeInternal BackgroundSyncRegistrationProto_globals_;
#endif  // PROTOBUF_MESSAGE_GLOBALS
class BackgroundSyncRegistrationsProto;
struct BackgroundSyncRegistrationsProtoGlobalsTypeInternal;
#ifndef PROTOBUF_MESSAGE_GLOBALS
extern BackgroundSyncRegistrationsProtoGlobalsTypeInternal BackgroundSyncRegistrationsProto_globals_;
extern const ::google::protobuf::internal::ClassDataLite BackgroundSyncRegistrationsProto_class_data_;
#else
extern const BackgroundSyncRegistrationsProtoGlobalsTypeInternal BackgroundSyncRegistrationsProto_globals_;
#endif  // PROTOBUF_MESSAGE_GLOBALS
class PeriodicSyncOptions;
struct PeriodicSyncOptionsGlobalsTypeInternal;
#ifndef PROTOBUF_MESSAGE_GLOBALS
extern PeriodicSyncOptionsGlobalsTypeInternal PeriodicSyncOptions_globals_;
extern const ::google::protobuf::internal::ClassDataLite PeriodicSyncOptions_class_data_;
#else
extern const PeriodicSyncOptionsGlobalsTypeInternal PeriodicSyncOptions_globals_;
#endif  // PROTOBUF_MESSAGE_GLOBALS
}  // namespace content
namespace google {
namespace protobuf {
template <>
internal::EnumTraitsT<::content::SyncNetworkState_internal_data_>
    internal::EnumTraitsImpl::value<::content::SyncNetworkState>;
}  // namespace protobuf
}  // namespace google

namespace content {
enum SyncNetworkState : int {
  NETWORK_STATE_ANY = 0,
  NETWORK_STATE_AVOID_CELLULAR = 1,
  NETWORK_STATE_ONLINE = 2,
};

extern const uint32_t SyncNetworkState_internal_data_[];
inline constexpr SyncNetworkState SyncNetworkState_MIN =
    static_cast<SyncNetworkState>(0);
inline constexpr SyncNetworkState SyncNetworkState_MAX =
    static_cast<SyncNetworkState>(2);
inline bool SyncNetworkState_IsValid(int value) {
  return 0 <= value && value <= 2;
}
inline constexpr int SyncNetworkState_ARRAYSIZE = 2 + 1;
const ::std::string& SyncNetworkState_Name(SyncNetworkState value);
template <typename T>
const ::std::string& SyncNetworkState_Name(T value) {
  static_assert(::std::is_same<T, SyncNetworkState>::value ||
                    ::std::is_integral<T>::value,
                "Incorrect type passed to SyncNetworkState_Name().");
  return SyncNetworkState_Name(static_cast<SyncNetworkState>(value));
}
bool SyncNetworkState_Parse(
    ::absl::string_view name, SyncNetworkState* PROTOBUF_NONNULL value);
using ::google::protobuf::internal::generated_enum::AbslParseFlag;
using ::google::protobuf::internal::generated_enum::AbslUnparseFlag;

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


// -------------------------------------------------------------------

class  PeriodicSyncOptions final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:content.PeriodicSyncOptions) */ {
 public:
  inline PeriodicSyncOptions() : PeriodicSyncOptions(nullptr) {}
  ~PeriodicSyncOptions() PROTOBUF_FINAL;

#if defined(PROTOBUF_CUSTOM_VTABLE)
  void operator delete(PeriodicSyncOptions* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
    SharedDtor(*msg);
    ::google::protobuf::internal::SizedDelete(msg, sizeof(PeriodicSyncOptions));
  }
#endif

  template <typename = void>
  explicit constexpr PeriodicSyncOptions(::google::protobuf::internal::ConstantInitialized,
                           const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
                               class_data);

  inline PeriodicSyncOptions(const PeriodicSyncOptions& from) : PeriodicSyncOptions(nullptr, from) {}
  inline PeriodicSyncOptions(PeriodicSyncOptions&& from) noexcept : PeriodicSyncOptions(nullptr, ::std::move(from)) {}
  inline PeriodicSyncOptions& operator=(const PeriodicSyncOptions& from) {
    CopyFrom(from);
    return *this;
  }
  inline PeriodicSyncOptions& operator=(PeriodicSyncOptions&& from) noexcept {
    if (this == &from) return *this;
    if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
      InternalSwap(&from);
    } else {
      CopyFrom(from);
    }
    return *this;
  }

  inline const ::std::string& unknown_fields() const
      ABSL_ATTRIBUTE_LIFETIME_BOUND {
    return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
  }
  inline ::std::string* PROTOBUF_NONNULL
  mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND {
    return _internal_metadata_.mutable_unknown_fields<::std::string>();
  }

  static const PeriodicSyncOptions& default_instance() {
    return *::google::protobuf::internal::MessageGlobalsBase::ToDefaultInstance<PeriodicSyncOptions>(&PeriodicSyncOptions_globals_);
  }
  static constexpr int kIndexInFileMessages = 0;
  friend void swap(PeriodicSyncOptions& a, PeriodicSyncOptions& b) { a.Swap(&b); }
  PROTOBUF_NOINLINE void Swap(PeriodicSyncOptions* PROTOBUF_NONNULL other) {
    if (other == this) return;
    if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
      InternalSwap(other);
    } else {
      ::google::protobuf::internal::GenericSwap(this, other);
    }
  }
  void UnsafeArenaSwap(PeriodicSyncOptions* PROTOBUF_NONNULL other) {
    if (other == this) return;
    ABSL_DCHECK(GetArena() == other->GetArena());
    InternalSwap(other);
  }

  // implements Message ----------------------------------------------

  PeriodicSyncOptions* PROTOBUF_NONNULL
  New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
    return ::google::protobuf::MessageLite::DefaultConstruct<PeriodicSyncOptions>(arena);
  }
  void CopyFrom(const PeriodicSyncOptions& from);
  void MergeFrom(const PeriodicSyncOptions& from) { PeriodicSyncOptions::MergeImpl(*this, from); }

  private:
  static void MergeImpl(::google::protobuf::MessageLite& to_msg,
                        const ::google::protobuf::MessageLite& from_msg);

  public:
  bool IsInitialized() const {
    return true;
  }
  ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
  #if defined(PROTOBUF_CUSTOM_VTABLE)
  private:
  static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
  static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
      const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
      ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);

  public:
  ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
  ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
      ::uint8_t* PROTOBUF_NONNULL target,
      ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
    return _InternalSerialize(*this, target, stream);
  }
  #else   // PROTOBUF_CUSTOM_VTABLE
  ::size_t ByteSizeLong() const final;
  ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
      ::uint8_t* PROTOBUF_NONNULL target,
      ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
  #endif  // PROTOBUF_CUSTOM_VTABLE
  int GetCachedSize() const {
    return _impl_._cached_size_.Get();
  }

  private:
  void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  static void SharedDtor(MessageLite& self);
  void InternalSwap(PeriodicSyncOptions* PROTOBUF_NONNULL other);
 private:
  template <typename T>
  friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
  static ::absl::string_view FullMessageName() { return "content.PeriodicSyncOptions"; }

  explicit PeriodicSyncOptions(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  PeriodicSyncOptions(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const PeriodicSyncOptions& from);
  PeriodicSyncOptions(
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, PeriodicSyncOptions&& from) noexcept
      : PeriodicSyncOptions(arena) {
    *this = ::std::move(from);
  }
  const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
  static void* PROTOBUF_NONNULL PlacementNew_(
      const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  static constexpr auto InternalNewImpl_();

 public:
  static constexpr auto InternalGenerateClassData_(
      const MessageLite& prototype,
      const ::google::protobuf::internal::TcParseTableBase* PROTOBUF_NULLABLE tc_table = nullptr);

  // nested types ----------------------------------------------------

  // accessors -------------------------------------------------------
  enum : int {
    kMinIntervalFieldNumber = 1,
  };
  // optional int64 min_interval = 1;
  bool has_min_interval()
      const;
  void clear_min_interval() ;
  ::int64_t min_interval() const;
  void set_min_interval(::int64_t value);

  private:
  ::int64_t _internal_min_interval() const;
  void _internal_set_min_interval(::int64_t value);

  public:
  // @@protoc_insertion_point(class_scope:content.PeriodicSyncOptions)
 private:
  class _Internal;
  using ParseTableT_ =
      ::google::protobuf::internal::TcParseTable<0, 1,
                          0, 0,
                          2>;
  static constexpr ParseTableT_ InternalGenerateParseTable_(
      const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL class_data);
  friend class ::google::protobuf::internal::TcParser;
  #ifndef PROTOBUF_MESSAGE_GLOBALS
  static const ParseTableT_ _table_;
  #endif

  friend class ::google::protobuf::MessageLite;
  friend class ::google::protobuf::Arena;
  friend ::google::protobuf::internal::PrivateAccess;
  template <typename T>
  friend class ::google::protobuf::Arena::InternalHelper;
  using InternalArenaConstructable_ = void;
  using DestructorSkippable_ = void;
  struct Impl_ {
    inline explicit constexpr Impl_(::google::protobuf::internal::InternalVisibility visibility,
                                    ::google::protobuf::internal::ConstantInitialized) noexcept;
    inline explicit Impl_(
        ::google::protobuf::internal::InternalVisibility visibility,
        ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
    inline explicit Impl_(
        ::google::protobuf::internal::InternalVisibility visibility,
        ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
        const PeriodicSyncOptions& from_msg);
    ::google::protobuf::internal::HasBits<1> _has_bits_;
    ::google::protobuf::internal::CachedSize _cached_size_;
    ::int64_t min_interval_;
    PROTOBUF_TSAN_DECLARE_MEMBER
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_background_5fsync_2eproto;
};
// -------------------------------------------------------------------

class  BackgroundSyncRegistrationProto final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:content.BackgroundSyncRegistrationProto) */ {
 public:
  inline BackgroundSyncRegistrationProto() : BackgroundSyncRegistrationProto(nullptr) {}
  ~BackgroundSyncRegistrationProto() PROTOBUF_FINAL;

#if defined(PROTOBUF_CUSTOM_VTABLE)
  void operator delete(BackgroundSyncRegistrationProto* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
    SharedDtor(*msg);
    ::google::protobuf::internal::SizedDelete(msg, sizeof(BackgroundSyncRegistrationProto));
  }
#endif

  template <typename = void>
  explicit constexpr BackgroundSyncRegistrationProto(::google::protobuf::internal::ConstantInitialized,
                           const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
                               class_data);

  inline BackgroundSyncRegistrationProto(const BackgroundSyncRegistrationProto& from) : BackgroundSyncRegistrationProto(nullptr, from) {}
  inline BackgroundSyncRegistrationProto(BackgroundSyncRegistrationProto&& from) noexcept : BackgroundSyncRegistrationProto(nullptr, ::std::move(from)) {}
  inline BackgroundSyncRegistrationProto& operator=(const BackgroundSyncRegistrationProto& from) {
    CopyFrom(from);
    return *this;
  }
  inline BackgroundSyncRegistrationProto& operator=(BackgroundSyncRegistrationProto&& from) noexcept {
    if (this == &from) return *this;
    if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
      InternalSwap(&from);
    } else {
      CopyFrom(from);
    }
    return *this;
  }

  inline const ::std::string& unknown_fields() const
      ABSL_ATTRIBUTE_LIFETIME_BOUND {
    return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
  }
  inline ::std::string* PROTOBUF_NONNULL
  mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND {
    return _internal_metadata_.mutable_unknown_fields<::std::string>();
  }

  static const BackgroundSyncRegistrationProto& default_instance() {
    return *::google::protobuf::internal::MessageGlobalsBase::ToDefaultInstance<BackgroundSyncRegistrationProto>(&BackgroundSyncRegistrationProto_globals_);
  }
  static constexpr int kIndexInFileMessages = 1;
  friend void swap(BackgroundSyncRegistrationProto& a, BackgroundSyncRegistrationProto& b) { a.Swap(&b); }
  PROTOBUF_NOINLINE void Swap(BackgroundSyncRegistrationProto* PROTOBUF_NONNULL other) {
    if (other == this) return;
    if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
      InternalSwap(other);
    } else {
      ::google::protobuf::internal::GenericSwap(this, other);
    }
  }
  void UnsafeArenaSwap(BackgroundSyncRegistrationProto* PROTOBUF_NONNULL other) {
    if (other == this) return;
    ABSL_DCHECK(GetArena() == other->GetArena());
    InternalSwap(other);
  }

  // implements Message ----------------------------------------------

  BackgroundSyncRegistrationProto* PROTOBUF_NONNULL
  New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
    return ::google::protobuf::MessageLite::DefaultConstruct<BackgroundSyncRegistrationProto>(arena);
  }
  void CopyFrom(const BackgroundSyncRegistrationProto& from);
  void MergeFrom(const BackgroundSyncRegistrationProto& from) { BackgroundSyncRegistrationProto::MergeImpl(*this, from); }

  private:
  static void MergeImpl(::google::protobuf::MessageLite& to_msg,
                        const ::google::protobuf::MessageLite& from_msg);

  public:
  bool IsInitialized() const {
    return IsInitializedImpl(*this);
  }

  private:
  static bool IsInitializedImpl(const MessageLite& msg);

  public:
  ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
  #if defined(PROTOBUF_CUSTOM_VTABLE)
  private:
  static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
  static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
      const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
      ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);

  public:
  ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
  ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
      ::uint8_t* PROTOBUF_NONNULL target,
      ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
    return _InternalSerialize(*this, target, stream);
  }
  #else   // PROTOBUF_CUSTOM_VTABLE
  ::size_t ByteSizeLong() const final;
  ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
      ::uint8_t* PROTOBUF_NONNULL target,
      ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
  #endif  // PROTOBUF_CUSTOM_VTABLE
  int GetCachedSize() const {
    return _impl_._cached_size_.Get();
  }

  private:
  void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  static void SharedDtor(MessageLite& self);
  void InternalSwap(BackgroundSyncRegistrationProto* PROTOBUF_NONNULL other);
 private:
  template <typename T>
  friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
  static ::absl::string_view FullMessageName() { return "content.BackgroundSyncRegistrationProto"; }

  explicit BackgroundSyncRegistrationProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  BackgroundSyncRegistrationProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const BackgroundSyncRegistrationProto& from);
  BackgroundSyncRegistrationProto(
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, BackgroundSyncRegistrationProto&& from) noexcept
      : BackgroundSyncRegistrationProto(arena) {
    *this = ::std::move(from);
  }
  const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
  static void* PROTOBUF_NONNULL PlacementNew_(
      const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  static constexpr auto InternalNewImpl_();

 public:
  static constexpr auto InternalGenerateClassData_(
      const MessageLite& prototype,
      const ::google::protobuf::internal::TcParseTableBase* PROTOBUF_NULLABLE tc_table = nullptr);

  // nested types ----------------------------------------------------

  // accessors -------------------------------------------------------
  enum : int {
    kTagFieldNumber = 2,
    kPeriodicSyncOptionsFieldNumber = 9,
    kDelayUntilFieldNumber = 8,
    kNumAttemptsFieldNumber = 7,
    kMaxAttemptsFieldNumber = 10,
  };
  // required string tag = 2;
  bool has_tag()
      const;
  void clear_tag() ;
  const ::std::string& tag() const;
  template <typename Arg_ = const ::std::string&, typename... Args_>
  void set_tag(Arg_&& arg, Args_... args);
  ::std::string* PROTOBUF_NONNULL mutable_tag();
  ::std::string* PROTOBUF_NULLABLE release_tag();
  void set_allocated_tag(::std::string* PROTOBUF_NULLABLE value);

  private:
  const ::std::string& _internal_tag() const;
  PROTOBUF_ALWAYS_INLINE void _internal_set_tag(const ::std::string& value);
  ::std::string* PROTOBUF_NONNULL _internal_mutable_tag();

  public:
  // optional .content.PeriodicSyncOptions periodic_sync_options = 9;
  bool has_periodic_sync_options()
      const;
  void clear_periodic_sync_options() ;
  const ::content::PeriodicSyncOptions& periodic_sync_options() const;
  ::content::PeriodicSyncOptions* PROTOBUF_NULLABLE release_periodic_sync_options();
  ::content::PeriodicSyncOptions* PROTOBUF_NONNULL mutable_periodic_sync_options();
  void set_allocated_periodic_sync_options(::content::PeriodicSyncOptions* PROTOBUF_NULLABLE value);
  void unsafe_arena_set_allocated_periodic_sync_options(::content::PeriodicSyncOptions* PROTOBUF_NULLABLE value);
  ::content::PeriodicSyncOptions* PROTOBUF_NULLABLE unsafe_arena_release_periodic_sync_options();

  private:
  const ::content::PeriodicSyncOptions& _internal_periodic_sync_options() const;
  ::content::PeriodicSyncOptions* PROTOBUF_NONNULL _internal_mutable_periodic_sync_options();

  public:
  // required int64 delay_until = 8;
  bool has_delay_until()
      const;
  void clear_delay_until() ;
  ::int64_t delay_until() const;
  void set_delay_until(::int64_t value);

  private:
  ::int64_t _internal_delay_until() const;
  void _internal_set_delay_until(::int64_t value);

  public:
  // required int32 num_attempts = 7;
  bool has_num_attempts()
      const;
  void clear_num_attempts() ;
  ::int32_t num_attempts() const;
  void set_num_attempts(::int32_t value);

  private:
  ::int32_t _internal_num_attempts() const;
  void _internal_set_num_attempts(::int32_t value);

  public:
  // optional int32 max_attempts = 10;
  bool has_max_attempts()
      const;
  void clear_max_attempts() ;
  ::int32_t max_attempts() const;
  void set_max_attempts(::int32_t value);

  private:
  ::int32_t _internal_max_attempts() const;
  void _internal_set_max_attempts(::int32_t value);

  public:
  // @@protoc_insertion_point(class_scope:content.BackgroundSyncRegistrationProto)
 private:
  class _Internal;
  using ParseTableT_ =
      ::google::protobuf::internal::TcParseTable<2, 5,
                          1, 0,
                          2>;
  static constexpr ParseTableT_ InternalGenerateParseTable_(
      const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL class_data);
  friend class ::google::protobuf::internal::TcParser;
  #ifndef PROTOBUF_MESSAGE_GLOBALS
  static const ParseTableT_ _table_;
  #endif

  friend class ::google::protobuf::MessageLite;
  friend class ::google::protobuf::Arena;
  friend ::google::protobuf::internal::PrivateAccess;
  template <typename T>
  friend class ::google::protobuf::Arena::InternalHelper;
  using InternalArenaConstructable_ = void;
  using DestructorSkippable_ = void;
  struct Impl_ {
    inline explicit constexpr Impl_(::google::protobuf::internal::InternalVisibility visibility,
                                    ::google::protobuf::internal::ConstantInitialized) noexcept;
    inline explicit Impl_(
        ::google::protobuf::internal::InternalVisibility visibility,
        ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
    inline explicit Impl_(
        ::google::protobuf::internal::InternalVisibility visibility,
        ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
        const BackgroundSyncRegistrationProto& from_msg);
    ::google::protobuf::internal::HasBits<1> _has_bits_;
    ::google::protobuf::internal::CachedSize _cached_size_;
    ::google::protobuf::internal::ArenaStringPtr tag_;
    ::content::PeriodicSyncOptions* PROTOBUF_NULLABLE periodic_sync_options_;
    ::int64_t delay_until_;
    ::int32_t num_attempts_;
    ::int32_t max_attempts_;
    PROTOBUF_TSAN_DECLARE_MEMBER
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_background_5fsync_2eproto;
};
// -------------------------------------------------------------------

class  BackgroundSyncRegistrationsProto final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:content.BackgroundSyncRegistrationsProto) */ {
 public:
  inline BackgroundSyncRegistrationsProto() : BackgroundSyncRegistrationsProto(nullptr) {}
  ~BackgroundSyncRegistrationsProto() PROTOBUF_FINAL;

#if defined(PROTOBUF_CUSTOM_VTABLE)
  void operator delete(BackgroundSyncRegistrationsProto* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
    SharedDtor(*msg);
    ::google::protobuf::internal::SizedDelete(msg, sizeof(BackgroundSyncRegistrationsProto));
  }
#endif

  template <typename = void>
  explicit constexpr BackgroundSyncRegistrationsProto(::google::protobuf::internal::ConstantInitialized,
                           const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
                               class_data);

  inline BackgroundSyncRegistrationsProto(const BackgroundSyncRegistrationsProto& from) : BackgroundSyncRegistrationsProto(nullptr, from) {}
  inline BackgroundSyncRegistrationsProto(BackgroundSyncRegistrationsProto&& from) noexcept : BackgroundSyncRegistrationsProto(nullptr, ::std::move(from)) {}
  inline BackgroundSyncRegistrationsProto& operator=(const BackgroundSyncRegistrationsProto& from) {
    CopyFrom(from);
    return *this;
  }
  inline BackgroundSyncRegistrationsProto& operator=(BackgroundSyncRegistrationsProto&& from) noexcept {
    if (this == &from) return *this;
    if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
      InternalSwap(&from);
    } else {
      CopyFrom(from);
    }
    return *this;
  }

  inline const ::std::string& unknown_fields() const
      ABSL_ATTRIBUTE_LIFETIME_BOUND {
    return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
  }
  inline ::std::string* PROTOBUF_NONNULL
  mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND {
    return _internal_metadata_.mutable_unknown_fields<::std::string>();
  }

  static const BackgroundSyncRegistrationsProto& default_instance() {
    return *::google::protobuf::internal::MessageGlobalsBase::ToDefaultInstance<BackgroundSyncRegistrationsProto>(&BackgroundSyncRegistrationsProto_globals_);
  }
  static constexpr int kIndexInFileMessages = 2;
  friend void swap(BackgroundSyncRegistrationsProto& a, BackgroundSyncRegistrationsProto& b) { a.Swap(&b); }
  PROTOBUF_NOINLINE void Swap(BackgroundSyncRegistrationsProto* PROTOBUF_NONNULL other) {
    if (other == this) return;
    if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
      InternalSwap(other);
    } else {
      ::google::protobuf::internal::GenericSwap(this, other);
    }
  }
  void UnsafeArenaSwap(BackgroundSyncRegistrationsProto* PROTOBUF_NONNULL other) {
    if (other == this) return;
    ABSL_DCHECK(GetArena() == other->GetArena());
    InternalSwap(other);
  }

  // implements Message ----------------------------------------------

  BackgroundSyncRegistrationsProto* PROTOBUF_NONNULL
  New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
    return ::google::protobuf::MessageLite::DefaultConstruct<BackgroundSyncRegistrationsProto>(arena);
  }
  void CopyFrom(const BackgroundSyncRegistrationsProto& from);
  void MergeFrom(const BackgroundSyncRegistrationsProto& from) { BackgroundSyncRegistrationsProto::MergeImpl(*this, from); }

  private:
  static void MergeImpl(::google::protobuf::MessageLite& to_msg,
                        const ::google::protobuf::MessageLite& from_msg);

  public:
  bool IsInitialized() const {
    return IsInitializedImpl(*this);
  }

  private:
  static bool IsInitializedImpl(const MessageLite& msg);

  public:
  ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
  #if defined(PROTOBUF_CUSTOM_VTABLE)
  private:
  static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
  static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
      const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
      ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);

  public:
  ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
  ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
      ::uint8_t* PROTOBUF_NONNULL target,
      ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
    return _InternalSerialize(*this, target, stream);
  }
  #else   // PROTOBUF_CUSTOM_VTABLE
  ::size_t ByteSizeLong() const final;
  ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
      ::uint8_t* PROTOBUF_NONNULL target,
      ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
  #endif  // PROTOBUF_CUSTOM_VTABLE
  int GetCachedSize() const {
    return _impl_._cached_size_.Get();
  }

  private:
  void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  static void SharedDtor(MessageLite& self);
  void InternalSwap(BackgroundSyncRegistrationsProto* PROTOBUF_NONNULL other);
 private:
  template <typename T>
  friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
  static ::absl::string_view FullMessageName() { return "content.BackgroundSyncRegistrationsProto"; }

  explicit BackgroundSyncRegistrationsProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  BackgroundSyncRegistrationsProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const BackgroundSyncRegistrationsProto& from);
  BackgroundSyncRegistrationsProto(
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, BackgroundSyncRegistrationsProto&& from) noexcept
      : BackgroundSyncRegistrationsProto(arena) {
    *this = ::std::move(from);
  }
  const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
  static void* PROTOBUF_NONNULL PlacementNew_(
      const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  static constexpr auto InternalNewImpl_();

 public:
  static constexpr auto InternalGenerateClassData_(
      const MessageLite& prototype,
      const ::google::protobuf::internal::TcParseTableBase* PROTOBUF_NULLABLE tc_table = nullptr);

  // nested types ----------------------------------------------------

  // accessors -------------------------------------------------------
  enum : int {
    kRegistrationFieldNumber = 1,
    kOriginFieldNumber = 3,
  };
  // repeated .content.BackgroundSyncRegistrationProto registration = 1;
  int registration_size()
      const;
  private:
  int _internal_registration_size() const;

  public:
  void clear_registration() ;
  const ::content::BackgroundSyncRegistrationProto& registration(int index) const;
  ::content::BackgroundSyncRegistrationProto* PROTOBUF_NONNULL mutable_registration(int index);
  ::content::BackgroundSyncRegistrationProto* PROTOBUF_NONNULL add_registration();
  const ::google::protobuf::RepeatedPtrField<::content::BackgroundSyncRegistrationProto>&
  registration() const;
  ::google::protobuf::RepeatedPtrField<::content::BackgroundSyncRegistrationProto>* PROTOBUF_NONNULL
  mutable_registration();

  private:
  const ::google::protobuf::RepeatedPtrField<::content::BackgroundSyncRegistrationProto>& _internal_registration() const;
  ::google::protobuf::RepeatedPtrField<::content::BackgroundSyncRegistrationProto>* PROTOBUF_NONNULL _internal_mutable_registration();

  public:
  // required string origin = 3;
  bool has_origin()
      const;
  void clear_origin() ;
  const ::std::string& origin() const;
  template <typename Arg_ = const ::std::string&, typename... Args_>
  void set_origin(Arg_&& arg, Args_... args);
  ::std::string* PROTOBUF_NONNULL mutable_origin();
  ::std::string* PROTOBUF_NULLABLE release_origin();
  void set_allocated_origin(::std::string* PROTOBUF_NULLABLE value);

  private:
  const ::std::string& _internal_origin() const;
  PROTOBUF_ALWAYS_INLINE void _internal_set_origin(const ::std::string& value);
  ::std::string* PROTOBUF_NONNULL _internal_mutable_origin();

  public:
  // @@protoc_insertion_point(class_scope:content.BackgroundSyncRegistrationsProto)
 private:
  class _Internal;
  using ParseTableT_ =
      ::google::protobuf::internal::TcParseTable<2, 2,
                          1, 0,
                          2>;
  static constexpr ParseTableT_ InternalGenerateParseTable_(
      const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL class_data);
  friend class ::google::protobuf::internal::TcParser;
  #ifndef PROTOBUF_MESSAGE_GLOBALS
  static const ParseTableT_ _table_;
  #endif

  friend class ::google::protobuf::MessageLite;
  friend class ::google::protobuf::Arena;
  friend ::google::protobuf::internal::PrivateAccess;
  template <typename T>
  friend class ::google::protobuf::Arena::InternalHelper;
  using InternalArenaConstructable_ = void;
  using DestructorSkippable_ = void;
  struct Impl_ {
    inline explicit constexpr Impl_(::google::protobuf::internal::InternalVisibility visibility,
                                    ::google::protobuf::internal::ConstantInitialized) noexcept;
    inline explicit Impl_(
        ::google::protobuf::internal::InternalVisibility visibility,
        ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
    inline explicit Impl_(
        ::google::protobuf::internal::InternalVisibility visibility,
        ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
        const BackgroundSyncRegistrationsProto& from_msg);
    ::google::protobuf::internal::HasBits<1> _has_bits_;
    ::google::protobuf::internal::CachedSize _cached_size_;
    ::google::protobuf::RepeatedPtrField< ::content::BackgroundSyncRegistrationProto > registration_;
    ::google::protobuf::internal::ArenaStringPtr origin_;
    PROTOBUF_TSAN_DECLARE_MEMBER
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_background_5fsync_2eproto;
};

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




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


#ifdef __GNUC__
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
#endif  // __GNUC__
// -------------------------------------------------------------------

// PeriodicSyncOptions

// optional int64 min_interval = 1;
inline bool PeriodicSyncOptions::has_min_interval() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
  return value;
}
inline void PeriodicSyncOptions::clear_min_interval() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.min_interval_ = ::int64_t{0};
  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
}
inline ::int64_t PeriodicSyncOptions::min_interval() const {
  // @@protoc_insertion_point(field_get:content.PeriodicSyncOptions.min_interval)
  return _internal_min_interval();
}
inline void PeriodicSyncOptions::set_min_interval(::int64_t value) {
  _internal_set_min_interval(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  // @@protoc_insertion_point(field_set:content.PeriodicSyncOptions.min_interval)
}
inline ::int64_t PeriodicSyncOptions::_internal_min_interval() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.min_interval_;
}
inline void PeriodicSyncOptions::_internal_set_min_interval(::int64_t value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.min_interval_ = value;
}

// -------------------------------------------------------------------

// BackgroundSyncRegistrationProto

// required string tag = 2;
inline bool BackgroundSyncRegistrationProto::has_tag() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
  return value;
}
inline void BackgroundSyncRegistrationProto::clear_tag() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.tag_.ClearToEmpty();
  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
}
inline const ::std::string& BackgroundSyncRegistrationProto::tag() const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:content.BackgroundSyncRegistrationProto.tag)
  return _internal_tag();
}
template <typename Arg_, typename... Args_>
PROTOBUF_ALWAYS_INLINE void BackgroundSyncRegistrationProto::set_tag(Arg_&& arg, Args_... args) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  _impl_.tag_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
  // @@protoc_insertion_point(field_set:content.BackgroundSyncRegistrationProto.tag)
}
inline ::std::string* PROTOBUF_NONNULL BackgroundSyncRegistrationProto::mutable_tag()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  ::std::string* _s = _internal_mutable_tag();
  // @@protoc_insertion_point(field_mutable:content.BackgroundSyncRegistrationProto.tag)
  return _s;
}
inline const ::std::string& BackgroundSyncRegistrationProto::_internal_tag() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.tag_.Get();
}
inline void BackgroundSyncRegistrationProto::_internal_set_tag(const ::std::string& value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.tag_.Set(value, GetArena());
}
inline ::std::string* PROTOBUF_NONNULL BackgroundSyncRegistrationProto::_internal_mutable_tag() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  return _impl_.tag_.Mutable( GetArena());
}
inline ::std::string* PROTOBUF_NULLABLE BackgroundSyncRegistrationProto::release_tag() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  // @@protoc_insertion_point(field_release:content.BackgroundSyncRegistrationProto.tag)
  if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) {
    return nullptr;
  }
  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
  auto* released = _impl_.tag_.Release();
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
    _impl_.tag_.Set("", GetArena());
  }
  return released;
}
inline void BackgroundSyncRegistrationProto::set_allocated_tag(::std::string* PROTOBUF_NULLABLE value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (value != nullptr) {
    SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  } else {
    ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
  }
  _impl_.tag_.SetAllocated(value, GetArena());
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.tag_.IsDefault()) {
    _impl_.tag_.Set("", GetArena());
  }
  // @@protoc_insertion_point(field_set_allocated:content.BackgroundSyncRegistrationProto.tag)
}

// required int32 num_attempts = 7;
inline bool BackgroundSyncRegistrationProto::has_num_attempts() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000008U);
  return value;
}
inline void BackgroundSyncRegistrationProto::clear_num_attempts() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.num_attempts_ = 0;
  ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
}
inline ::int32_t BackgroundSyncRegistrationProto::num_attempts() const {
  // @@protoc_insertion_point(field_get:content.BackgroundSyncRegistrationProto.num_attempts)
  return _internal_num_attempts();
}
inline void BackgroundSyncRegistrationProto::set_num_attempts(::int32_t value) {
  _internal_set_num_attempts(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000008U);
  // @@protoc_insertion_point(field_set:content.BackgroundSyncRegistrationProto.num_attempts)
}
inline ::int32_t BackgroundSyncRegistrationProto::_internal_num_attempts() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.num_attempts_;
}
inline void BackgroundSyncRegistrationProto::_internal_set_num_attempts(::int32_t value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.num_attempts_ = value;
}

// required int64 delay_until = 8;
inline bool BackgroundSyncRegistrationProto::has_delay_until() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
  return value;
}
inline void BackgroundSyncRegistrationProto::clear_delay_until() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.delay_until_ = ::int64_t{0};
  ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
}
inline ::int64_t BackgroundSyncRegistrationProto::delay_until() const {
  // @@protoc_insertion_point(field_get:content.BackgroundSyncRegistrationProto.delay_until)
  return _internal_delay_until();
}
inline void BackgroundSyncRegistrationProto::set_delay_until(::int64_t value) {
  _internal_set_delay_until(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000004U);
  // @@protoc_insertion_point(field_set:content.BackgroundSyncRegistrationProto.delay_until)
}
inline ::int64_t BackgroundSyncRegistrationProto::_internal_delay_until() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.delay_until_;
}
inline void BackgroundSyncRegistrationProto::_internal_set_delay_until(::int64_t value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.delay_until_ = value;
}

// optional .content.PeriodicSyncOptions periodic_sync_options = 9;
inline bool BackgroundSyncRegistrationProto::has_periodic_sync_options() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
  PROTOBUF_ASSUME(!value || _impl_.periodic_sync_options_ != nullptr);
  return value;
}
inline void BackgroundSyncRegistrationProto::clear_periodic_sync_options() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (_impl_.periodic_sync_options_ != nullptr) _impl_.periodic_sync_options_->Clear();
  ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
}
inline const ::content::PeriodicSyncOptions& BackgroundSyncRegistrationProto::_internal_periodic_sync_options() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  const ::content::PeriodicSyncOptions* p = _impl_.periodic_sync_options_;
  return p != nullptr ? *p : *::google::protobuf::internal::MessageGlobalsBase::ToDefaultInstance<::content::PeriodicSyncOptions>(&::content::PeriodicSyncOptions_globals_);
}
inline const ::content::PeriodicSyncOptions& BackgroundSyncRegistrationProto::periodic_sync_options() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:content.BackgroundSyncRegistrationProto.periodic_sync_options)
  return _internal_periodic_sync_options();
}
inline void BackgroundSyncRegistrationProto::unsafe_arena_set_allocated_periodic_sync_options(
    ::content::PeriodicSyncOptions* PROTOBUF_NULLABLE value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (GetArena() == nullptr) {
    delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.periodic_sync_options_);
  }
  _impl_.periodic_sync_options_ = reinterpret_cast<::content::PeriodicSyncOptions*>(value);
  if (value != nullptr) {
    SetHasBit(_impl_._has_bits_[0], 0x00000002U);
  } else {
    ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:content.BackgroundSyncRegistrationProto.periodic_sync_options)
}
inline ::content::PeriodicSyncOptions* PROTOBUF_NULLABLE BackgroundSyncRegistrationProto::release_periodic_sync_options() {
  ::google::protobuf::internal::TSanWrite(&_impl_);

  ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
  ::content::PeriodicSyncOptions* released = _impl_.periodic_sync_options_;
  _impl_.periodic_sync_options_ = nullptr;
  if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
    auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
    released = ::google::protobuf::internal::DuplicateIfNonNull(released);
    if (GetArena() == nullptr) {
      delete old;
    }
  } else {
    if (GetArena() != nullptr) {
      released = ::google::protobuf::internal::DuplicateIfNonNull(released);
    }
  }
  return released;
}
inline ::content::PeriodicSyncOptions* PROTOBUF_NULLABLE BackgroundSyncRegistrationProto::unsafe_arena_release_periodic_sync_options() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  // @@protoc_insertion_point(field_release:content.BackgroundSyncRegistrationProto.periodic_sync_options)

  ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
  ::content::PeriodicSyncOptions* temp = _impl_.periodic_sync_options_;
  _impl_.periodic_sync_options_ = nullptr;
  return temp;
}
inline ::content::PeriodicSyncOptions* PROTOBUF_NONNULL BackgroundSyncRegistrationProto::_internal_mutable_periodic_sync_options() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (_impl_.periodic_sync_options_ == nullptr) {
    auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::content::PeriodicSyncOptions>(GetArena());
    _impl_.periodic_sync_options_ = reinterpret_cast<::content::PeriodicSyncOptions*>(p);
  }
  return _impl_.periodic_sync_options_;
}
inline ::content::PeriodicSyncOptions* PROTOBUF_NONNULL BackgroundSyncRegistrationProto::mutable_periodic_sync_options()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000002U);
  ::content::PeriodicSyncOptions* _msg = _internal_mutable_periodic_sync_options();
  // @@protoc_insertion_point(field_mutable:content.BackgroundSyncRegistrationProto.periodic_sync_options)
  return _msg;
}
inline void BackgroundSyncRegistrationProto::set_allocated_periodic_sync_options(::content::PeriodicSyncOptions* PROTOBUF_NULLABLE value) {
  ::google::protobuf::Arena* message_arena = GetArena();
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (message_arena == nullptr) {
    delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.periodic_sync_options_);
  }

  if (value != nullptr) {
    ::google::protobuf::Arena* submessage_arena = value->GetArena();
    if (message_arena != submessage_arena) {
      value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
    }
    SetHasBit(_impl_._has_bits_[0], 0x00000002U);
  } else {
    ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
  }

  _impl_.periodic_sync_options_ = reinterpret_cast<::content::PeriodicSyncOptions*>(value);
  // @@protoc_insertion_point(field_set_allocated:content.BackgroundSyncRegistrationProto.periodic_sync_options)
}

// optional int32 max_attempts = 10;
inline bool BackgroundSyncRegistrationProto::has_max_attempts() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000010U);
  return value;
}
inline void BackgroundSyncRegistrationProto::clear_max_attempts() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.max_attempts_ = 0;
  ClearHasBit(_impl_._has_bits_[0], 0x00000010U);
}
inline ::int32_t BackgroundSyncRegistrationProto::max_attempts() const {
  // @@protoc_insertion_point(field_get:content.BackgroundSyncRegistrationProto.max_attempts)
  return _internal_max_attempts();
}
inline void BackgroundSyncRegistrationProto::set_max_attempts(::int32_t value) {
  _internal_set_max_attempts(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000010U);
  // @@protoc_insertion_point(field_set:content.BackgroundSyncRegistrationProto.max_attempts)
}
inline ::int32_t BackgroundSyncRegistrationProto::_internal_max_attempts() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.max_attempts_;
}
inline void BackgroundSyncRegistrationProto::_internal_set_max_attempts(::int32_t value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.max_attempts_ = value;
}

// -------------------------------------------------------------------

// BackgroundSyncRegistrationsProto

// repeated .content.BackgroundSyncRegistrationProto registration = 1;
inline int BackgroundSyncRegistrationsProto::_internal_registration_size() const {
  return _internal_registration().size();
}
inline int BackgroundSyncRegistrationsProto::registration_size() const {
  return _internal_registration_size();
}
inline void BackgroundSyncRegistrationsProto::clear_registration() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.registration_.Clear();
  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
}
inline const ::content::BackgroundSyncRegistrationProto& BackgroundSyncRegistrationsProto::registration(int index) const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:content.BackgroundSyncRegistrationsProto.registration)
  return _internal_registration().Get(index);
}
inline ::content::BackgroundSyncRegistrationProto* PROTOBUF_NONNULL BackgroundSyncRegistrationsProto::mutable_registration(int index)
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_mutable:content.BackgroundSyncRegistrationsProto.registration)
  return _internal_mutable_registration()->Mutable(index);
}
inline ::content::BackgroundSyncRegistrationProto* PROTOBUF_NONNULL BackgroundSyncRegistrationsProto::add_registration()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  ::content::BackgroundSyncRegistrationProto* _add =
      _internal_mutable_registration()->InternalAddWithArena(
          ::google::protobuf::MessageLite::internal_visibility(), GetArena());
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  // @@protoc_insertion_point(field_add:content.BackgroundSyncRegistrationsProto.registration)
  return _add;
}
inline const ::google::protobuf::RepeatedPtrField<::content::BackgroundSyncRegistrationProto>& BackgroundSyncRegistrationsProto::registration() const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_list:content.BackgroundSyncRegistrationsProto.registration)
  return _internal_registration();
}
inline ::google::protobuf::RepeatedPtrField<::content::BackgroundSyncRegistrationProto>* PROTOBUF_NONNULL
BackgroundSyncRegistrationsProto::mutable_registration() ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  // @@protoc_insertion_point(field_mutable_list:content.BackgroundSyncRegistrationsProto.registration)
  ::google::protobuf::internal::TSanWrite(&_impl_);
  return _internal_mutable_registration();
}
inline const ::google::protobuf::RepeatedPtrField<::content::BackgroundSyncRegistrationProto>&
BackgroundSyncRegistrationsProto::_internal_registration() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.registration_;
}
inline ::google::protobuf::RepeatedPtrField<::content::BackgroundSyncRegistrationProto>* PROTOBUF_NONNULL
BackgroundSyncRegistrationsProto::_internal_mutable_registration() {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return &_impl_.registration_;
}

// required string origin = 3;
inline bool BackgroundSyncRegistrationsProto::has_origin() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
  return value;
}
inline void BackgroundSyncRegistrationsProto::clear_origin() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.origin_.ClearToEmpty();
  ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
}
inline const ::std::string& BackgroundSyncRegistrationsProto::origin() const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:content.BackgroundSyncRegistrationsProto.origin)
  return _internal_origin();
}
template <typename Arg_, typename... Args_>
PROTOBUF_ALWAYS_INLINE void BackgroundSyncRegistrationsProto::set_origin(Arg_&& arg, Args_... args) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  SetHasBit(_impl_._has_bits_[0], 0x00000002U);
  _impl_.origin_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
  // @@protoc_insertion_point(field_set:content.BackgroundSyncRegistrationsProto.origin)
}
inline ::std::string* PROTOBUF_NONNULL BackgroundSyncRegistrationsProto::mutable_origin()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000002U);
  ::std::string* _s = _internal_mutable_origin();
  // @@protoc_insertion_point(field_mutable:content.BackgroundSyncRegistrationsProto.origin)
  return _s;
}
inline const ::std::string& BackgroundSyncRegistrationsProto::_internal_origin() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.origin_.Get();
}
inline void BackgroundSyncRegistrationsProto::_internal_set_origin(const ::std::string& value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.origin_.Set(value, GetArena());
}
inline ::std::string* PROTOBUF_NONNULL BackgroundSyncRegistrationsProto::_internal_mutable_origin() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  return _impl_.origin_.Mutable( GetArena());
}
inline ::std::string* PROTOBUF_NULLABLE BackgroundSyncRegistrationsProto::release_origin() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  // @@protoc_insertion_point(field_release:content.BackgroundSyncRegistrationsProto.origin)
  if (!CheckHasBit(_impl_._has_bits_[0], 0x00000002U)) {
    return nullptr;
  }
  ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
  auto* released = _impl_.origin_.Release();
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
    _impl_.origin_.Set("", GetArena());
  }
  return released;
}
inline void BackgroundSyncRegistrationsProto::set_allocated_origin(::std::string* PROTOBUF_NULLABLE value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (value != nullptr) {
    SetHasBit(_impl_._has_bits_[0], 0x00000002U);
  } else {
    ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
  }
  _impl_.origin_.SetAllocated(value, GetArena());
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.origin_.IsDefault()) {
    _impl_.origin_.Set("", GetArena());
  }
  // @@protoc_insertion_point(field_set_allocated:content.BackgroundSyncRegistrationsProto.origin)
}

#ifdef __GNUC__
#pragma GCC diagnostic pop
#endif  // __GNUC__

// @@protoc_insertion_point(namespace_scope)
}  // namespace content


namespace google {
namespace protobuf {

template <>
struct is_proto_enum<::content::SyncNetworkState> : std::true_type {};
template <>
struct internal::LiteEnumFuncs<::content::SyncNetworkState> {
  static constexpr bool kIsDefined = true;
  static constexpr auto kParseFunc = ::content::SyncNetworkState_Parse;
  static constexpr auto kNameFunc = ::content::SyncNetworkState_Name<int>;
};

}  // namespace protobuf
}  // namespace google

// @@protoc_insertion_point(global_scope)

#include "google/protobuf/port_undef.inc"
// clang-format on

#endif  // background_5fsync_2eproto_2epb_2eh
