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

#ifndef components_2fsync_2fprotocol_2fpower_5fbookmark_5fspecifics_2eproto_2epb_2eh
#define components_2fsync_2fprotocol_2fpower_5fbookmark_5fspecifics_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"
#include "components/sync/protocol/note_entity.pb.h"
// @@protoc_insertion_point(includes)

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

#define PROTOBUF_INTERNAL_EXPORT_components_2fsync_2fprotocol_2fpower_5fbookmark_5fspecifics_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_components_2fsync_2fprotocol_2fpower_5fbookmark_5fspecifics_2eproto {
  static const ::uint32_t offsets[];
};
namespace sync_pb {
enum PowerBookmarkSpecifics_PowerType : int;
extern const uint32_t PowerBookmarkSpecifics_PowerType_internal_data_[];
class PowerBookmarkSpecifics;
struct PowerBookmarkSpecificsGlobalsTypeInternal;
#ifndef PROTOBUF_MESSAGE_GLOBALS
extern PowerBookmarkSpecificsGlobalsTypeInternal PowerBookmarkSpecifics_globals_;
extern const ::google::protobuf::internal::ClassDataLite PowerBookmarkSpecifics_class_data_;
#else
extern const PowerBookmarkSpecificsGlobalsTypeInternal PowerBookmarkSpecifics_globals_;
#endif  // PROTOBUF_MESSAGE_GLOBALS
class PowerEntity;
struct PowerEntityGlobalsTypeInternal;
#ifndef PROTOBUF_MESSAGE_GLOBALS
extern PowerEntityGlobalsTypeInternal PowerEntity_globals_;
extern const ::google::protobuf::internal::ClassDataLite PowerEntity_class_data_;
#else
extern const PowerEntityGlobalsTypeInternal PowerEntity_globals_;
#endif  // PROTOBUF_MESSAGE_GLOBALS
}  // namespace sync_pb
namespace google {
namespace protobuf {
template <>
internal::EnumTraitsT<::sync_pb::PowerBookmarkSpecifics_PowerType_internal_data_>
    internal::EnumTraitsImpl::value<::sync_pb::PowerBookmarkSpecifics_PowerType>;
}  // namespace protobuf
}  // namespace google

namespace sync_pb {
enum PowerBookmarkSpecifics_PowerType : int {
  PowerBookmarkSpecifics_PowerType_POWER_TYPE_UNSPECIFIED = 0,
  PowerBookmarkSpecifics_PowerType_POWER_TYPE_MOCK = 1,
  PowerBookmarkSpecifics_PowerType_POWER_TYPE_NOTE = 2,
};

extern const uint32_t PowerBookmarkSpecifics_PowerType_internal_data_[];
inline constexpr PowerBookmarkSpecifics_PowerType PowerBookmarkSpecifics_PowerType_PowerType_MIN =
    static_cast<PowerBookmarkSpecifics_PowerType>(0);
inline constexpr PowerBookmarkSpecifics_PowerType PowerBookmarkSpecifics_PowerType_PowerType_MAX =
    static_cast<PowerBookmarkSpecifics_PowerType>(2);
inline bool PowerBookmarkSpecifics_PowerType_IsValid(int value) {
  return 0 <= value && value <= 2;
}
inline constexpr int PowerBookmarkSpecifics_PowerType_PowerType_ARRAYSIZE = 2 + 1;
const ::std::string& PowerBookmarkSpecifics_PowerType_Name(PowerBookmarkSpecifics_PowerType value);
template <typename T>
const ::std::string& PowerBookmarkSpecifics_PowerType_Name(T value) {
  static_assert(::std::is_same<T, PowerBookmarkSpecifics_PowerType>::value ||
                    ::std::is_integral<T>::value,
                "Incorrect type passed to PowerType_Name().");
  return PowerBookmarkSpecifics_PowerType_Name(static_cast<PowerBookmarkSpecifics_PowerType>(value));
}
bool PowerBookmarkSpecifics_PowerType_Parse(
    ::absl::string_view name, PowerBookmarkSpecifics_PowerType* PROTOBUF_NONNULL value);
using ::google::protobuf::internal::generated_enum::AbslParseFlag;
using ::google::protobuf::internal::generated_enum::AbslUnparseFlag;

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


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

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

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

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

  inline PowerEntity(const PowerEntity& from) : PowerEntity(nullptr, from) {}
  inline PowerEntity(PowerEntity&& from) noexcept : PowerEntity(nullptr, ::std::move(from)) {}
  inline PowerEntity& operator=(const PowerEntity& from) {
    CopyFrom(from);
    return *this;
  }
  inline PowerEntity& operator=(PowerEntity&& 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 PowerEntity& default_instance() {
    return *::google::protobuf::internal::MessageGlobalsBase::ToDefaultInstance<PowerEntity>(&PowerEntity_globals_);
  }
  enum EntityCase {
    kNoteEntity = 2,
    ENTITY_NOT_SET = 0,
  };
  static constexpr int kIndexInFileMessages = 0;
  friend void swap(PowerEntity& a, PowerEntity& b) { a.Swap(&b); }
  PROTOBUF_NOINLINE void Swap(PowerEntity* 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(PowerEntity* PROTOBUF_NONNULL other) {
    if (other == this) return;
    ABSL_DCHECK(GetArena() == other->GetArena());
    InternalSwap(other);
  }

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

  PowerEntity* PROTOBUF_NONNULL
  New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
    return ::google::protobuf::MessageLite::DefaultConstruct<PowerEntity>(arena);
  }
  void CopyFrom(const PowerEntity& from);
  void MergeFrom(const PowerEntity& from) { PowerEntity::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(PowerEntity* PROTOBUF_NONNULL other);
 private:
  template <typename T>
  friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
  static ::absl::string_view FullMessageName() { return "sync_pb.PowerEntity"; }

  explicit PowerEntity(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  PowerEntity(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const PowerEntity& from);
  PowerEntity(
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, PowerEntity&& from) noexcept
      : PowerEntity(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 {
    kNoteEntityFieldNumber = 2,
  };
  // .sync_pb.NoteEntity note_entity = 2;
  bool has_note_entity()
      const;
  private:
  bool _internal_has_note_entity() const;

  public:
  void clear_note_entity() ;
  const ::sync_pb::NoteEntity& note_entity() const;
  ::sync_pb::NoteEntity* PROTOBUF_NULLABLE release_note_entity();
  ::sync_pb::NoteEntity* PROTOBUF_NONNULL mutable_note_entity();
  void set_allocated_note_entity(::sync_pb::NoteEntity* PROTOBUF_NULLABLE value);
  void unsafe_arena_set_allocated_note_entity(::sync_pb::NoteEntity* PROTOBUF_NULLABLE value);
  ::sync_pb::NoteEntity* PROTOBUF_NULLABLE unsafe_arena_release_note_entity();

  private:
  const ::sync_pb::NoteEntity& _internal_note_entity() const;
  ::sync_pb::NoteEntity* PROTOBUF_NONNULL _internal_mutable_note_entity();

  public:
  void clear_entity();
  EntityCase entity_case() const;
  // @@protoc_insertion_point(class_scope:sync_pb.PowerEntity)
 private:
  class _Internal;
  void set_has_note_entity();
  inline bool has_entity() const;
  inline void clear_has_entity();
  using ParseTableT_ =
      ::google::protobuf::internal::TcParseTable<0, 1,
                          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 PowerEntity& from_msg);
    union EntityUnion {
      constexpr EntityUnion() : _constinit_{} {}
      ::google::protobuf::internal::ConstantInitialized _constinit_;
      ::sync_pb::NoteEntity* PROTOBUF_NULLABLE note_entity_;
    } entity_;
    ::google::protobuf::internal::CachedSize _cached_size_;
    ::uint32_t _oneof_case_[1];
    PROTOBUF_TSAN_DECLARE_MEMBER
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_components_2fsync_2fprotocol_2fpower_5fbookmark_5fspecifics_2eproto;
};
// -------------------------------------------------------------------

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

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

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

  inline PowerBookmarkSpecifics(const PowerBookmarkSpecifics& from) : PowerBookmarkSpecifics(nullptr, from) {}
  inline PowerBookmarkSpecifics(PowerBookmarkSpecifics&& from) noexcept : PowerBookmarkSpecifics(nullptr, ::std::move(from)) {}
  inline PowerBookmarkSpecifics& operator=(const PowerBookmarkSpecifics& from) {
    CopyFrom(from);
    return *this;
  }
  inline PowerBookmarkSpecifics& operator=(PowerBookmarkSpecifics&& 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 PowerBookmarkSpecifics& default_instance() {
    return *::google::protobuf::internal::MessageGlobalsBase::ToDefaultInstance<PowerBookmarkSpecifics>(&PowerBookmarkSpecifics_globals_);
  }
  static constexpr int kIndexInFileMessages = 1;
  friend void swap(PowerBookmarkSpecifics& a, PowerBookmarkSpecifics& b) { a.Swap(&b); }
  PROTOBUF_NOINLINE void Swap(PowerBookmarkSpecifics* 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(PowerBookmarkSpecifics* PROTOBUF_NONNULL other) {
    if (other == this) return;
    ABSL_DCHECK(GetArena() == other->GetArena());
    InternalSwap(other);
  }

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

  PowerBookmarkSpecifics* PROTOBUF_NONNULL
  New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
    return ::google::protobuf::MessageLite::DefaultConstruct<PowerBookmarkSpecifics>(arena);
  }
  void CopyFrom(const PowerBookmarkSpecifics& from);
  void MergeFrom(const PowerBookmarkSpecifics& from) { PowerBookmarkSpecifics::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(PowerBookmarkSpecifics* PROTOBUF_NONNULL other);
 private:
  template <typename T>
  friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
  static ::absl::string_view FullMessageName() { return "sync_pb.PowerBookmarkSpecifics"; }

  explicit PowerBookmarkSpecifics(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  PowerBookmarkSpecifics(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const PowerBookmarkSpecifics& from);
  PowerBookmarkSpecifics(
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, PowerBookmarkSpecifics&& from) noexcept
      : PowerBookmarkSpecifics(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 ----------------------------------------------------
  using PowerType = PowerBookmarkSpecifics_PowerType;
  static constexpr PowerType POWER_TYPE_UNSPECIFIED = PowerBookmarkSpecifics_PowerType_POWER_TYPE_UNSPECIFIED;
  static constexpr PowerType POWER_TYPE_MOCK = PowerBookmarkSpecifics_PowerType_POWER_TYPE_MOCK;
  static constexpr PowerType POWER_TYPE_NOTE = PowerBookmarkSpecifics_PowerType_POWER_TYPE_NOTE;
  static inline bool PowerType_IsValid(int value) {
    return PowerBookmarkSpecifics_PowerType_IsValid(value);
  }
  static constexpr PowerType PowerType_MIN = PowerBookmarkSpecifics_PowerType_PowerType_MIN;
  static constexpr PowerType PowerType_MAX = PowerBookmarkSpecifics_PowerType_PowerType_MAX;
  static constexpr int PowerType_ARRAYSIZE = PowerBookmarkSpecifics_PowerType_PowerType_ARRAYSIZE;
  template <typename T>
  static inline const ::std::string& PowerType_Name(T value) {
    return PowerBookmarkSpecifics_PowerType_Name(value);
  }
  static inline bool PowerType_Parse(
      ::absl::string_view name, PowerType* PROTOBUF_NONNULL value) {
    return PowerBookmarkSpecifics_PowerType_Parse(name, value);
  }

  // accessors -------------------------------------------------------
  enum : int {
    kGuidFieldNumber = 1,
    kUrlFieldNumber = 2,
    kPowerEntityFieldNumber = 100,
    kCreationTimeUsecFieldNumber = 4,
    kUpdateTimeUsecFieldNumber = 5,
    kPowerTypeFieldNumber = 3,
  };
  // optional string guid = 1;
  bool has_guid()
      const;
  void clear_guid() ;
  const ::std::string& guid() const;
  template <typename Arg_ = const ::std::string&, typename... Args_>
  void set_guid(Arg_&& arg, Args_... args);
  ::std::string* PROTOBUF_NONNULL mutable_guid();
  ::std::string* PROTOBUF_NULLABLE release_guid();
  void set_allocated_guid(::std::string* PROTOBUF_NULLABLE value);

  private:
  const ::std::string& _internal_guid() const;
  PROTOBUF_ALWAYS_INLINE void _internal_set_guid(const ::std::string& value);
  ::std::string* PROTOBUF_NONNULL _internal_mutable_guid();

  public:
  // optional string url = 2;
  bool has_url()
      const;
  void clear_url() ;
  const ::std::string& url() const;
  template <typename Arg_ = const ::std::string&, typename... Args_>
  void set_url(Arg_&& arg, Args_... args);
  ::std::string* PROTOBUF_NONNULL mutable_url();
  ::std::string* PROTOBUF_NULLABLE release_url();
  void set_allocated_url(::std::string* PROTOBUF_NULLABLE value);

  private:
  const ::std::string& _internal_url() const;
  PROTOBUF_ALWAYS_INLINE void _internal_set_url(const ::std::string& value);
  ::std::string* PROTOBUF_NONNULL _internal_mutable_url();

  public:
  // optional .sync_pb.PowerEntity power_entity = 100;
  bool has_power_entity()
      const;
  void clear_power_entity() ;
  const ::sync_pb::PowerEntity& power_entity() const;
  ::sync_pb::PowerEntity* PROTOBUF_NULLABLE release_power_entity();
  ::sync_pb::PowerEntity* PROTOBUF_NONNULL mutable_power_entity();
  void set_allocated_power_entity(::sync_pb::PowerEntity* PROTOBUF_NULLABLE value);
  void unsafe_arena_set_allocated_power_entity(::sync_pb::PowerEntity* PROTOBUF_NULLABLE value);
  ::sync_pb::PowerEntity* PROTOBUF_NULLABLE unsafe_arena_release_power_entity();

  private:
  const ::sync_pb::PowerEntity& _internal_power_entity() const;
  ::sync_pb::PowerEntity* PROTOBUF_NONNULL _internal_mutable_power_entity();

  public:
  // optional int64 creation_time_usec = 4;
  bool has_creation_time_usec()
      const;
  void clear_creation_time_usec() ;
  ::int64_t creation_time_usec() const;
  void set_creation_time_usec(::int64_t value);

  private:
  ::int64_t _internal_creation_time_usec() const;
  void _internal_set_creation_time_usec(::int64_t value);

  public:
  // optional int64 update_time_usec = 5;
  bool has_update_time_usec()
      const;
  void clear_update_time_usec() ;
  ::int64_t update_time_usec() const;
  void set_update_time_usec(::int64_t value);

  private:
  ::int64_t _internal_update_time_usec() const;
  void _internal_set_update_time_usec(::int64_t value);

  public:
  // optional .sync_pb.PowerBookmarkSpecifics.PowerType power_type = 3;
  bool has_power_type()
      const;
  void clear_power_type() ;
  ::sync_pb::PowerBookmarkSpecifics_PowerType power_type() const;
  void set_power_type(::sync_pb::PowerBookmarkSpecifics_PowerType value);

  private:
  ::sync_pb::PowerBookmarkSpecifics_PowerType _internal_power_type() const;
  void _internal_set_power_type(::sync_pb::PowerBookmarkSpecifics_PowerType value);

  public:
  // @@protoc_insertion_point(class_scope:sync_pb.PowerBookmarkSpecifics)
 private:
  class _Internal;
  using ParseTableT_ =
      ::google::protobuf::internal::TcParseTable<3, 6,
                          2, 0,
                          7>;
  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 PowerBookmarkSpecifics& from_msg);
    ::google::protobuf::internal::HasBits<1> _has_bits_;
    ::google::protobuf::internal::CachedSize _cached_size_;
    ::google::protobuf::internal::ArenaStringPtr guid_;
    ::google::protobuf::internal::ArenaStringPtr url_;
    ::sync_pb::PowerEntity* PROTOBUF_NULLABLE power_entity_;
    ::int64_t creation_time_usec_;
    ::int64_t update_time_usec_;
    int power_type_;
    PROTOBUF_TSAN_DECLARE_MEMBER
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_components_2fsync_2fprotocol_2fpower_5fbookmark_5fspecifics_2eproto;
};

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




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


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

// PowerEntity

// .sync_pb.NoteEntity note_entity = 2;
inline bool PowerEntity::has_note_entity() const {
  return entity_case() == kNoteEntity;
}
inline bool PowerEntity::_internal_has_note_entity() const {
  return entity_case() == kNoteEntity;
}
inline void PowerEntity::set_has_note_entity() {
  _impl_._oneof_case_[0] = kNoteEntity;
}
inline ::sync_pb::NoteEntity* PROTOBUF_NULLABLE PowerEntity::release_note_entity() {
  // @@protoc_insertion_point(field_release:sync_pb.PowerEntity.note_entity)
  if (entity_case() == kNoteEntity) {
    clear_has_entity();
    auto* temp = _impl_.entity_.note_entity_;
    if (GetArena() != nullptr) {
      temp = ::google::protobuf::internal::DuplicateIfNonNull(temp);
    }
    _impl_.entity_.note_entity_ = nullptr;
    return temp;
  } else {
    return nullptr;
  }
}
inline const ::sync_pb::NoteEntity& PowerEntity::_internal_note_entity() const {
  return entity_case() == kNoteEntity ? static_cast<const ::sync_pb::NoteEntity&>(*_impl_.entity_.note_entity_)
                     : *::google::protobuf::internal::MessageGlobalsBase::ToDefaultInstance<::sync_pb::NoteEntity>(&::sync_pb::NoteEntity_globals_);
}
inline const ::sync_pb::NoteEntity& PowerEntity::note_entity() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:sync_pb.PowerEntity.note_entity)
  return _internal_note_entity();
}
inline ::sync_pb::NoteEntity* PROTOBUF_NULLABLE PowerEntity::unsafe_arena_release_note_entity() {
  // @@protoc_insertion_point(field_unsafe_arena_release:sync_pb.PowerEntity.note_entity)
  if (entity_case() == kNoteEntity) {
    clear_has_entity();
    auto* temp = _impl_.entity_.note_entity_;
    _impl_.entity_.note_entity_ = nullptr;
    return temp;
  } else {
    return nullptr;
  }
}
inline void PowerEntity::unsafe_arena_set_allocated_note_entity(
    ::sync_pb::NoteEntity* PROTOBUF_NULLABLE value) {
  // We rely on the oneof clear method to free the earlier contents
  // of this oneof. We can directly use the pointer we're given to
  // set the new value.
  clear_entity();
  if (value) {
    set_has_note_entity();
    _impl_.entity_.note_entity_ = value;
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:sync_pb.PowerEntity.note_entity)
}
inline ::sync_pb::NoteEntity* PROTOBUF_NONNULL PowerEntity::_internal_mutable_note_entity() {
  if (entity_case() != kNoteEntity) {
    clear_entity();
    set_has_note_entity();
    _impl_.entity_.note_entity_ = 
        ::google::protobuf::MessageLite::DefaultConstruct<::sync_pb::NoteEntity>(GetArena());
  }
  return _impl_.entity_.note_entity_;
}
inline ::sync_pb::NoteEntity* PROTOBUF_NONNULL PowerEntity::mutable_note_entity()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  ::sync_pb::NoteEntity* _msg = _internal_mutable_note_entity();
  // @@protoc_insertion_point(field_mutable:sync_pb.PowerEntity.note_entity)
  return _msg;
}

inline bool PowerEntity::has_entity() const {
  return entity_case() != ENTITY_NOT_SET;
}
inline void PowerEntity::clear_has_entity() {
  _impl_._oneof_case_[0] = ENTITY_NOT_SET;
}
inline PowerEntity::EntityCase PowerEntity::entity_case() const {
  return PowerEntity::EntityCase(_impl_._oneof_case_[0]);
}
// -------------------------------------------------------------------

// PowerBookmarkSpecifics

// optional string guid = 1;
inline bool PowerBookmarkSpecifics::has_guid() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
  return value;
}
inline void PowerBookmarkSpecifics::clear_guid() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.guid_.ClearToEmpty();
  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
}
inline const ::std::string& PowerBookmarkSpecifics::guid() const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:sync_pb.PowerBookmarkSpecifics.guid)
  return _internal_guid();
}
template <typename Arg_, typename... Args_>
PROTOBUF_ALWAYS_INLINE void PowerBookmarkSpecifics::set_guid(Arg_&& arg, Args_... args) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  _impl_.guid_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
  // @@protoc_insertion_point(field_set:sync_pb.PowerBookmarkSpecifics.guid)
}
inline ::std::string* PROTOBUF_NONNULL PowerBookmarkSpecifics::mutable_guid()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  ::std::string* _s = _internal_mutable_guid();
  // @@protoc_insertion_point(field_mutable:sync_pb.PowerBookmarkSpecifics.guid)
  return _s;
}
inline const ::std::string& PowerBookmarkSpecifics::_internal_guid() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.guid_.Get();
}
inline void PowerBookmarkSpecifics::_internal_set_guid(const ::std::string& value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.guid_.Set(value, GetArena());
}
inline ::std::string* PROTOBUF_NONNULL PowerBookmarkSpecifics::_internal_mutable_guid() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  return _impl_.guid_.Mutable( GetArena());
}
inline ::std::string* PROTOBUF_NULLABLE PowerBookmarkSpecifics::release_guid() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  // @@protoc_insertion_point(field_release:sync_pb.PowerBookmarkSpecifics.guid)
  if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) {
    return nullptr;
  }
  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
  auto* released = _impl_.guid_.Release();
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
    _impl_.guid_.Set("", GetArena());
  }
  return released;
}
inline void PowerBookmarkSpecifics::set_allocated_guid(::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_.guid_.SetAllocated(value, GetArena());
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.guid_.IsDefault()) {
    _impl_.guid_.Set("", GetArena());
  }
  // @@protoc_insertion_point(field_set_allocated:sync_pb.PowerBookmarkSpecifics.guid)
}

// optional string url = 2;
inline bool PowerBookmarkSpecifics::has_url() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
  return value;
}
inline void PowerBookmarkSpecifics::clear_url() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.url_.ClearToEmpty();
  ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
}
inline const ::std::string& PowerBookmarkSpecifics::url() const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:sync_pb.PowerBookmarkSpecifics.url)
  return _internal_url();
}
template <typename Arg_, typename... Args_>
PROTOBUF_ALWAYS_INLINE void PowerBookmarkSpecifics::set_url(Arg_&& arg, Args_... args) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  SetHasBit(_impl_._has_bits_[0], 0x00000002U);
  _impl_.url_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
  // @@protoc_insertion_point(field_set:sync_pb.PowerBookmarkSpecifics.url)
}
inline ::std::string* PROTOBUF_NONNULL PowerBookmarkSpecifics::mutable_url()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000002U);
  ::std::string* _s = _internal_mutable_url();
  // @@protoc_insertion_point(field_mutable:sync_pb.PowerBookmarkSpecifics.url)
  return _s;
}
inline const ::std::string& PowerBookmarkSpecifics::_internal_url() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.url_.Get();
}
inline void PowerBookmarkSpecifics::_internal_set_url(const ::std::string& value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.url_.Set(value, GetArena());
}
inline ::std::string* PROTOBUF_NONNULL PowerBookmarkSpecifics::_internal_mutable_url() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  return _impl_.url_.Mutable( GetArena());
}
inline ::std::string* PROTOBUF_NULLABLE PowerBookmarkSpecifics::release_url() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  // @@protoc_insertion_point(field_release:sync_pb.PowerBookmarkSpecifics.url)
  if (!CheckHasBit(_impl_._has_bits_[0], 0x00000002U)) {
    return nullptr;
  }
  ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
  auto* released = _impl_.url_.Release();
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
    _impl_.url_.Set("", GetArena());
  }
  return released;
}
inline void PowerBookmarkSpecifics::set_allocated_url(::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_.url_.SetAllocated(value, GetArena());
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.url_.IsDefault()) {
    _impl_.url_.Set("", GetArena());
  }
  // @@protoc_insertion_point(field_set_allocated:sync_pb.PowerBookmarkSpecifics.url)
}

// optional .sync_pb.PowerBookmarkSpecifics.PowerType power_type = 3;
inline bool PowerBookmarkSpecifics::has_power_type() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000020U);
  return value;
}
inline void PowerBookmarkSpecifics::clear_power_type() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.power_type_ = 0;
  ClearHasBit(_impl_._has_bits_[0], 0x00000020U);
}
inline ::sync_pb::PowerBookmarkSpecifics_PowerType PowerBookmarkSpecifics::power_type() const {
  // @@protoc_insertion_point(field_get:sync_pb.PowerBookmarkSpecifics.power_type)
  return _internal_power_type();
}
inline void PowerBookmarkSpecifics::set_power_type(::sync_pb::PowerBookmarkSpecifics_PowerType value) {
  _internal_set_power_type(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000020U);
  // @@protoc_insertion_point(field_set:sync_pb.PowerBookmarkSpecifics.power_type)
}
inline ::sync_pb::PowerBookmarkSpecifics_PowerType PowerBookmarkSpecifics::_internal_power_type() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return static_cast<::sync_pb::PowerBookmarkSpecifics_PowerType>(_impl_.power_type_);
}
inline void PowerBookmarkSpecifics::_internal_set_power_type(::sync_pb::PowerBookmarkSpecifics_PowerType value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);

                                          assert(::google::protobuf::internal::ValidateEnum(
                                              value, ::sync_pb::PowerBookmarkSpecifics_PowerType_internal_data_));
                                          _impl_.power_type_ = value;
}

// optional int64 creation_time_usec = 4;
inline bool PowerBookmarkSpecifics::has_creation_time_usec() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000008U);
  return value;
}
inline void PowerBookmarkSpecifics::clear_creation_time_usec() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.creation_time_usec_ = ::int64_t{0};
  ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
}
inline ::int64_t PowerBookmarkSpecifics::creation_time_usec() const {
  // @@protoc_insertion_point(field_get:sync_pb.PowerBookmarkSpecifics.creation_time_usec)
  return _internal_creation_time_usec();
}
inline void PowerBookmarkSpecifics::set_creation_time_usec(::int64_t value) {
  _internal_set_creation_time_usec(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000008U);
  // @@protoc_insertion_point(field_set:sync_pb.PowerBookmarkSpecifics.creation_time_usec)
}
inline ::int64_t PowerBookmarkSpecifics::_internal_creation_time_usec() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.creation_time_usec_;
}
inline void PowerBookmarkSpecifics::_internal_set_creation_time_usec(::int64_t value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.creation_time_usec_ = value;
}

// optional int64 update_time_usec = 5;
inline bool PowerBookmarkSpecifics::has_update_time_usec() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000010U);
  return value;
}
inline void PowerBookmarkSpecifics::clear_update_time_usec() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.update_time_usec_ = ::int64_t{0};
  ClearHasBit(_impl_._has_bits_[0], 0x00000010U);
}
inline ::int64_t PowerBookmarkSpecifics::update_time_usec() const {
  // @@protoc_insertion_point(field_get:sync_pb.PowerBookmarkSpecifics.update_time_usec)
  return _internal_update_time_usec();
}
inline void PowerBookmarkSpecifics::set_update_time_usec(::int64_t value) {
  _internal_set_update_time_usec(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000010U);
  // @@protoc_insertion_point(field_set:sync_pb.PowerBookmarkSpecifics.update_time_usec)
}
inline ::int64_t PowerBookmarkSpecifics::_internal_update_time_usec() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.update_time_usec_;
}
inline void PowerBookmarkSpecifics::_internal_set_update_time_usec(::int64_t value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.update_time_usec_ = value;
}

// optional .sync_pb.PowerEntity power_entity = 100;
inline bool PowerBookmarkSpecifics::has_power_entity() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
  PROTOBUF_ASSUME(!value || _impl_.power_entity_ != nullptr);
  return value;
}
inline void PowerBookmarkSpecifics::clear_power_entity() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (_impl_.power_entity_ != nullptr) _impl_.power_entity_->Clear();
  ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
}
inline const ::sync_pb::PowerEntity& PowerBookmarkSpecifics::_internal_power_entity() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  const ::sync_pb::PowerEntity* p = _impl_.power_entity_;
  return p != nullptr ? *p : *::google::protobuf::internal::MessageGlobalsBase::ToDefaultInstance<::sync_pb::PowerEntity>(&::sync_pb::PowerEntity_globals_);
}
inline const ::sync_pb::PowerEntity& PowerBookmarkSpecifics::power_entity() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:sync_pb.PowerBookmarkSpecifics.power_entity)
  return _internal_power_entity();
}
inline void PowerBookmarkSpecifics::unsafe_arena_set_allocated_power_entity(
    ::sync_pb::PowerEntity* PROTOBUF_NULLABLE value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (GetArena() == nullptr) {
    delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.power_entity_);
  }
  _impl_.power_entity_ = reinterpret_cast<::sync_pb::PowerEntity*>(value);
  if (value != nullptr) {
    SetHasBit(_impl_._has_bits_[0], 0x00000004U);
  } else {
    ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:sync_pb.PowerBookmarkSpecifics.power_entity)
}
inline ::sync_pb::PowerEntity* PROTOBUF_NULLABLE PowerBookmarkSpecifics::release_power_entity() {
  ::google::protobuf::internal::TSanWrite(&_impl_);

  ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
  ::sync_pb::PowerEntity* released = _impl_.power_entity_;
  _impl_.power_entity_ = 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 ::sync_pb::PowerEntity* PROTOBUF_NULLABLE PowerBookmarkSpecifics::unsafe_arena_release_power_entity() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  // @@protoc_insertion_point(field_release:sync_pb.PowerBookmarkSpecifics.power_entity)

  ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
  ::sync_pb::PowerEntity* temp = _impl_.power_entity_;
  _impl_.power_entity_ = nullptr;
  return temp;
}
inline ::sync_pb::PowerEntity* PROTOBUF_NONNULL PowerBookmarkSpecifics::_internal_mutable_power_entity() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (_impl_.power_entity_ == nullptr) {
    auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::sync_pb::PowerEntity>(GetArena());
    _impl_.power_entity_ = reinterpret_cast<::sync_pb::PowerEntity*>(p);
  }
  return _impl_.power_entity_;
}
inline ::sync_pb::PowerEntity* PROTOBUF_NONNULL PowerBookmarkSpecifics::mutable_power_entity()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000004U);
  ::sync_pb::PowerEntity* _msg = _internal_mutable_power_entity();
  // @@protoc_insertion_point(field_mutable:sync_pb.PowerBookmarkSpecifics.power_entity)
  return _msg;
}
inline void PowerBookmarkSpecifics::set_allocated_power_entity(::sync_pb::PowerEntity* 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_.power_entity_);
  }

  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], 0x00000004U);
  } else {
    ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
  }

  _impl_.power_entity_ = reinterpret_cast<::sync_pb::PowerEntity*>(value);
  // @@protoc_insertion_point(field_set_allocated:sync_pb.PowerBookmarkSpecifics.power_entity)
}

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

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


namespace google {
namespace protobuf {

template <>
struct is_proto_enum<::sync_pb::PowerBookmarkSpecifics_PowerType> : std::true_type {};
template <>
struct internal::LiteEnumFuncs<::sync_pb::PowerBookmarkSpecifics_PowerType> {
  static constexpr bool kIsDefined = true;
  static constexpr auto kParseFunc = ::sync_pb::PowerBookmarkSpecifics_PowerType_Parse;
  static constexpr auto kNameFunc = ::sync_pb::PowerBookmarkSpecifics_PowerType_Name<int>;
};

}  // namespace protobuf
}  // namespace google

// @@protoc_insertion_point(global_scope)

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

#endif  // components_2fsync_2fprotocol_2fpower_5fbookmark_5fspecifics_2eproto_2epb_2eh
