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

#ifndef components_2fsync_2fprotocol_2fbookmark_5fspecifics_2eproto_2epb_2eh
#define components_2fsync_2fprotocol_2fbookmark_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/unique_position.pb.h"
// @@protoc_insertion_point(includes)

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

#define PROTOBUF_INTERNAL_EXPORT_components_2fsync_2fprotocol_2fbookmark_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_2fbookmark_5fspecifics_2eproto {
  static const ::uint32_t offsets[];
};
namespace sync_pb {
enum BookmarkSpecifics_Type : int;
extern const uint32_t BookmarkSpecifics_Type_internal_data_[];
class BookmarkSpecifics;
struct BookmarkSpecificsGlobalsTypeInternal;
#ifndef PROTOBUF_MESSAGE_GLOBALS
extern BookmarkSpecificsGlobalsTypeInternal BookmarkSpecifics_globals_;
extern const ::google::protobuf::internal::ClassDataLite BookmarkSpecifics_class_data_;
#else
extern const BookmarkSpecificsGlobalsTypeInternal BookmarkSpecifics_globals_;
#endif  // PROTOBUF_MESSAGE_GLOBALS
class MetaInfo;
struct MetaInfoGlobalsTypeInternal;
#ifndef PROTOBUF_MESSAGE_GLOBALS
extern MetaInfoGlobalsTypeInternal MetaInfo_globals_;
extern const ::google::protobuf::internal::ClassDataLite MetaInfo_class_data_;
#else
extern const MetaInfoGlobalsTypeInternal MetaInfo_globals_;
#endif  // PROTOBUF_MESSAGE_GLOBALS
}  // namespace sync_pb
namespace google {
namespace protobuf {
template <>
internal::EnumTraitsT<::sync_pb::BookmarkSpecifics_Type_internal_data_>
    internal::EnumTraitsImpl::value<::sync_pb::BookmarkSpecifics_Type>;
}  // namespace protobuf
}  // namespace google

namespace sync_pb {
enum BookmarkSpecifics_Type : int {
  BookmarkSpecifics_Type_UNSPECIFIED = 0,
  BookmarkSpecifics_Type_URL = 1,
  BookmarkSpecifics_Type_FOLDER = 2,
};

extern const uint32_t BookmarkSpecifics_Type_internal_data_[];
inline constexpr BookmarkSpecifics_Type BookmarkSpecifics_Type_Type_MIN =
    static_cast<BookmarkSpecifics_Type>(0);
inline constexpr BookmarkSpecifics_Type BookmarkSpecifics_Type_Type_MAX =
    static_cast<BookmarkSpecifics_Type>(2);
inline bool BookmarkSpecifics_Type_IsValid(int value) {
  return 0 <= value && value <= 2;
}
inline constexpr int BookmarkSpecifics_Type_Type_ARRAYSIZE = 2 + 1;
const ::std::string& BookmarkSpecifics_Type_Name(BookmarkSpecifics_Type value);
template <typename T>
const ::std::string& BookmarkSpecifics_Type_Name(T value) {
  static_assert(::std::is_same<T, BookmarkSpecifics_Type>::value ||
                    ::std::is_integral<T>::value,
                "Incorrect type passed to Type_Name().");
  return BookmarkSpecifics_Type_Name(static_cast<BookmarkSpecifics_Type>(value));
}
bool BookmarkSpecifics_Type_Parse(
    ::absl::string_view name, BookmarkSpecifics_Type* PROTOBUF_NONNULL value);
using ::google::protobuf::internal::generated_enum::AbslParseFlag;
using ::google::protobuf::internal::generated_enum::AbslUnparseFlag;

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


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

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

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

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

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

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

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

  explicit MetaInfo(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  MetaInfo(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const MetaInfo& from);
  MetaInfo(
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, MetaInfo&& from) noexcept
      : MetaInfo(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 {
    kKeyFieldNumber = 1,
    kValueFieldNumber = 2,
  };
  // optional string key = 1;
  bool has_key()
      const;
  void clear_key() ;
  const ::std::string& key() const;
  template <typename Arg_ = const ::std::string&, typename... Args_>
  void set_key(Arg_&& arg, Args_... args);
  ::std::string* PROTOBUF_NONNULL mutable_key();
  ::std::string* PROTOBUF_NULLABLE release_key();
  void set_allocated_key(::std::string* PROTOBUF_NULLABLE value);

  private:
  const ::std::string& _internal_key() const;
  PROTOBUF_ALWAYS_INLINE void _internal_set_key(const ::std::string& value);
  ::std::string* PROTOBUF_NONNULL _internal_mutable_key();

  public:
  // optional string value = 2;
  bool has_value()
      const;
  void clear_value() ;
  const ::std::string& value() const;
  template <typename Arg_ = const ::std::string&, typename... Args_>
  void set_value(Arg_&& arg, Args_... args);
  ::std::string* PROTOBUF_NONNULL mutable_value();
  ::std::string* PROTOBUF_NULLABLE release_value();
  void set_allocated_value(::std::string* PROTOBUF_NULLABLE value);

  private:
  const ::std::string& _internal_value() const;
  PROTOBUF_ALWAYS_INLINE void _internal_set_value(const ::std::string& value);
  ::std::string* PROTOBUF_NONNULL _internal_mutable_value();

  public:
  // @@protoc_insertion_point(class_scope:sync_pb.MetaInfo)
 private:
  class _Internal;
  using ParseTableT_ =
      ::google::protobuf::internal::TcParseTable<1, 2,
                          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 MetaInfo& from_msg);
    ::google::protobuf::internal::HasBits<1> _has_bits_;
    ::google::protobuf::internal::CachedSize _cached_size_;
    ::google::protobuf::internal::ArenaStringPtr key_;
    ::google::protobuf::internal::ArenaStringPtr value_;
    PROTOBUF_TSAN_DECLARE_MEMBER
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_components_2fsync_2fprotocol_2fbookmark_5fspecifics_2eproto;
};
// -------------------------------------------------------------------

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

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

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

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

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

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

  explicit BookmarkSpecifics(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  BookmarkSpecifics(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const BookmarkSpecifics& from);
  BookmarkSpecifics(
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, BookmarkSpecifics&& from) noexcept
      : BookmarkSpecifics(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 Type = BookmarkSpecifics_Type;
  static constexpr Type UNSPECIFIED = BookmarkSpecifics_Type_UNSPECIFIED;
  static constexpr Type URL = BookmarkSpecifics_Type_URL;
  static constexpr Type FOLDER = BookmarkSpecifics_Type_FOLDER;
  static inline bool Type_IsValid(int value) {
    return BookmarkSpecifics_Type_IsValid(value);
  }
  static constexpr Type Type_MIN = BookmarkSpecifics_Type_Type_MIN;
  static constexpr Type Type_MAX = BookmarkSpecifics_Type_Type_MAX;
  static constexpr int Type_ARRAYSIZE = BookmarkSpecifics_Type_Type_ARRAYSIZE;
  template <typename T>
  static inline const ::std::string& Type_Name(T value) {
    return BookmarkSpecifics_Type_Name(value);
  }
  static inline bool Type_Parse(
      ::absl::string_view name, Type* PROTOBUF_NONNULL value) {
    return BookmarkSpecifics_Type_Parse(name, value);
  }

  // accessors -------------------------------------------------------
  enum : int {
    kMetaInfoFieldNumber = 6,
    kUrlFieldNumber = 1,
    kFaviconFieldNumber = 2,
    kLegacyCanonicalizedTitleFieldNumber = 3,
    kIconUrlFieldNumber = 5,
    kGuidFieldNumber = 10,
    kFullTitleFieldNumber = 11,
    kParentGuidFieldNumber = 14,
    kUniquePositionFieldNumber = 16,
    kCreationTimeUsFieldNumber = 4,
    kLastUsedTimeUsFieldNumber = 17,
    kTypeFieldNumber = 15,
  };
  // repeated .sync_pb.MetaInfo meta_info = 6;
  int meta_info_size()
      const;
  private:
  int _internal_meta_info_size() const;

  public:
  void clear_meta_info() ;
  const ::sync_pb::MetaInfo& meta_info(int index) const;
  ::sync_pb::MetaInfo* PROTOBUF_NONNULL mutable_meta_info(int index);
  ::sync_pb::MetaInfo* PROTOBUF_NONNULL add_meta_info();
  const ::google::protobuf::RepeatedPtrField<::sync_pb::MetaInfo>&
  meta_info() const;
  ::google::protobuf::RepeatedPtrField<::sync_pb::MetaInfo>* PROTOBUF_NONNULL
  mutable_meta_info();

  private:
  const ::google::protobuf::RepeatedPtrField<::sync_pb::MetaInfo>& _internal_meta_info() const;
  ::google::protobuf::RepeatedPtrField<::sync_pb::MetaInfo>* PROTOBUF_NONNULL _internal_mutable_meta_info();

  public:
  // optional string url = 1;
  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 bytes favicon = 2;
  bool has_favicon()
      const;
  void clear_favicon() ;
  const ::std::string& favicon() const;
  template <typename Arg_ = const ::std::string&, typename... Args_>
  void set_favicon(Arg_&& arg, Args_... args);
  ::std::string* PROTOBUF_NONNULL mutable_favicon();
  ::std::string* PROTOBUF_NULLABLE release_favicon();
  void set_allocated_favicon(::std::string* PROTOBUF_NULLABLE value);

  private:
  const ::std::string& _internal_favicon() const;
  PROTOBUF_ALWAYS_INLINE void _internal_set_favicon(const ::std::string& value);
  ::std::string* PROTOBUF_NONNULL _internal_mutable_favicon();

  public:
  // optional string legacy_canonicalized_title = 3;
  bool has_legacy_canonicalized_title()
      const;
  void clear_legacy_canonicalized_title() ;
  const ::std::string& legacy_canonicalized_title() const;
  template <typename Arg_ = const ::std::string&, typename... Args_>
  void set_legacy_canonicalized_title(Arg_&& arg, Args_... args);
  ::std::string* PROTOBUF_NONNULL mutable_legacy_canonicalized_title();
  ::std::string* PROTOBUF_NULLABLE release_legacy_canonicalized_title();
  void set_allocated_legacy_canonicalized_title(::std::string* PROTOBUF_NULLABLE value);

  private:
  const ::std::string& _internal_legacy_canonicalized_title() const;
  PROTOBUF_ALWAYS_INLINE void _internal_set_legacy_canonicalized_title(const ::std::string& value);
  ::std::string* PROTOBUF_NONNULL _internal_mutable_legacy_canonicalized_title();

  public:
  // optional string icon_url = 5;
  bool has_icon_url()
      const;
  void clear_icon_url() ;
  const ::std::string& icon_url() const;
  template <typename Arg_ = const ::std::string&, typename... Args_>
  void set_icon_url(Arg_&& arg, Args_... args);
  ::std::string* PROTOBUF_NONNULL mutable_icon_url();
  ::std::string* PROTOBUF_NULLABLE release_icon_url();
  void set_allocated_icon_url(::std::string* PROTOBUF_NULLABLE value);

  private:
  const ::std::string& _internal_icon_url() const;
  PROTOBUF_ALWAYS_INLINE void _internal_set_icon_url(const ::std::string& value);
  ::std::string* PROTOBUF_NONNULL _internal_mutable_icon_url();

  public:
  // optional string guid = 10;
  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 full_title = 11;
  bool has_full_title()
      const;
  void clear_full_title() ;
  const ::std::string& full_title() const;
  template <typename Arg_ = const ::std::string&, typename... Args_>
  void set_full_title(Arg_&& arg, Args_... args);
  ::std::string* PROTOBUF_NONNULL mutable_full_title();
  ::std::string* PROTOBUF_NULLABLE release_full_title();
  void set_allocated_full_title(::std::string* PROTOBUF_NULLABLE value);

  private:
  const ::std::string& _internal_full_title() const;
  PROTOBUF_ALWAYS_INLINE void _internal_set_full_title(const ::std::string& value);
  ::std::string* PROTOBUF_NONNULL _internal_mutable_full_title();

  public:
  // optional string parent_guid = 14;
  bool has_parent_guid()
      const;
  void clear_parent_guid() ;
  const ::std::string& parent_guid() const;
  template <typename Arg_ = const ::std::string&, typename... Args_>
  void set_parent_guid(Arg_&& arg, Args_... args);
  ::std::string* PROTOBUF_NONNULL mutable_parent_guid();
  ::std::string* PROTOBUF_NULLABLE release_parent_guid();
  void set_allocated_parent_guid(::std::string* PROTOBUF_NULLABLE value);

  private:
  const ::std::string& _internal_parent_guid() const;
  PROTOBUF_ALWAYS_INLINE void _internal_set_parent_guid(const ::std::string& value);
  ::std::string* PROTOBUF_NONNULL _internal_mutable_parent_guid();

  public:
  // optional .sync_pb.UniquePosition unique_position = 16;
  bool has_unique_position()
      const;
  void clear_unique_position() ;
  const ::sync_pb::UniquePosition& unique_position() const;
  ::sync_pb::UniquePosition* PROTOBUF_NULLABLE release_unique_position();
  ::sync_pb::UniquePosition* PROTOBUF_NONNULL mutable_unique_position();
  void set_allocated_unique_position(::sync_pb::UniquePosition* PROTOBUF_NULLABLE value);
  void unsafe_arena_set_allocated_unique_position(::sync_pb::UniquePosition* PROTOBUF_NULLABLE value);
  ::sync_pb::UniquePosition* PROTOBUF_NULLABLE unsafe_arena_release_unique_position();

  private:
  const ::sync_pb::UniquePosition& _internal_unique_position() const;
  ::sync_pb::UniquePosition* PROTOBUF_NONNULL _internal_mutable_unique_position();

  public:
  // optional int64 creation_time_us = 4;
  bool has_creation_time_us()
      const;
  void clear_creation_time_us() ;
  ::int64_t creation_time_us() const;
  void set_creation_time_us(::int64_t value);

  private:
  ::int64_t _internal_creation_time_us() const;
  void _internal_set_creation_time_us(::int64_t value);

  public:
  // optional int64 last_used_time_us = 17;
  bool has_last_used_time_us()
      const;
  void clear_last_used_time_us() ;
  ::int64_t last_used_time_us() const;
  void set_last_used_time_us(::int64_t value);

  private:
  ::int64_t _internal_last_used_time_us() const;
  void _internal_set_last_used_time_us(::int64_t value);

  public:
  // optional .sync_pb.BookmarkSpecifics.Type type = 15;
  bool has_type()
      const;
  void clear_type() ;
  ::sync_pb::BookmarkSpecifics_Type type() const;
  void set_type(::sync_pb::BookmarkSpecifics_Type value);

  private:
  ::sync_pb::BookmarkSpecifics_Type _internal_type() const;
  void _internal_set_type(::sync_pb::BookmarkSpecifics_Type value);

  public:
  // @@protoc_insertion_point(class_scope:sync_pb.BookmarkSpecifics)
 private:
  class _Internal;
  using ParseTableT_ =
      ::google::protobuf::internal::TcParseTable<4, 12,
                          3, 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 BookmarkSpecifics& from_msg);
    ::google::protobuf::internal::HasBits<1> _has_bits_;
    ::google::protobuf::internal::CachedSize _cached_size_;
    ::google::protobuf::RepeatedPtrField< ::sync_pb::MetaInfo > meta_info_;
    ::google::protobuf::internal::ArenaStringPtr url_;
    ::google::protobuf::internal::ArenaStringPtr favicon_;
    ::google::protobuf::internal::ArenaStringPtr legacy_canonicalized_title_;
    ::google::protobuf::internal::ArenaStringPtr icon_url_;
    ::google::protobuf::internal::ArenaStringPtr guid_;
    ::google::protobuf::internal::ArenaStringPtr full_title_;
    ::google::protobuf::internal::ArenaStringPtr parent_guid_;
    ::sync_pb::UniquePosition* PROTOBUF_NULLABLE unique_position_;
    ::int64_t creation_time_us_;
    ::int64_t last_used_time_us_;
    int type_;
    PROTOBUF_TSAN_DECLARE_MEMBER
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_components_2fsync_2fprotocol_2fbookmark_5fspecifics_2eproto;
};

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




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


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

// MetaInfo

// optional string key = 1;
inline bool MetaInfo::has_key() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
  return value;
}
inline void MetaInfo::clear_key() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.key_.ClearToEmpty();
  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
}
inline const ::std::string& MetaInfo::key() const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:sync_pb.MetaInfo.key)
  return _internal_key();
}
template <typename Arg_, typename... Args_>
PROTOBUF_ALWAYS_INLINE void MetaInfo::set_key(Arg_&& arg, Args_... args) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  _impl_.key_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
  // @@protoc_insertion_point(field_set:sync_pb.MetaInfo.key)
}
inline ::std::string* PROTOBUF_NONNULL MetaInfo::mutable_key()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  ::std::string* _s = _internal_mutable_key();
  // @@protoc_insertion_point(field_mutable:sync_pb.MetaInfo.key)
  return _s;
}
inline const ::std::string& MetaInfo::_internal_key() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.key_.Get();
}
inline void MetaInfo::_internal_set_key(const ::std::string& value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.key_.Set(value, GetArena());
}
inline ::std::string* PROTOBUF_NONNULL MetaInfo::_internal_mutable_key() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  return _impl_.key_.Mutable( GetArena());
}
inline ::std::string* PROTOBUF_NULLABLE MetaInfo::release_key() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  // @@protoc_insertion_point(field_release:sync_pb.MetaInfo.key)
  if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) {
    return nullptr;
  }
  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
  auto* released = _impl_.key_.Release();
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
    _impl_.key_.Set("", GetArena());
  }
  return released;
}
inline void MetaInfo::set_allocated_key(::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_.key_.SetAllocated(value, GetArena());
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.key_.IsDefault()) {
    _impl_.key_.Set("", GetArena());
  }
  // @@protoc_insertion_point(field_set_allocated:sync_pb.MetaInfo.key)
}

// optional string value = 2;
inline bool MetaInfo::has_value() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
  return value;
}
inline void MetaInfo::clear_value() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.value_.ClearToEmpty();
  ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
}
inline const ::std::string& MetaInfo::value() const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:sync_pb.MetaInfo.value)
  return _internal_value();
}
template <typename Arg_, typename... Args_>
PROTOBUF_ALWAYS_INLINE void MetaInfo::set_value(Arg_&& arg, Args_... args) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  SetHasBit(_impl_._has_bits_[0], 0x00000002U);
  _impl_.value_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
  // @@protoc_insertion_point(field_set:sync_pb.MetaInfo.value)
}
inline ::std::string* PROTOBUF_NONNULL MetaInfo::mutable_value()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000002U);
  ::std::string* _s = _internal_mutable_value();
  // @@protoc_insertion_point(field_mutable:sync_pb.MetaInfo.value)
  return _s;
}
inline const ::std::string& MetaInfo::_internal_value() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.value_.Get();
}
inline void MetaInfo::_internal_set_value(const ::std::string& value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.value_.Set(value, GetArena());
}
inline ::std::string* PROTOBUF_NONNULL MetaInfo::_internal_mutable_value() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  return _impl_.value_.Mutable( GetArena());
}
inline ::std::string* PROTOBUF_NULLABLE MetaInfo::release_value() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  // @@protoc_insertion_point(field_release:sync_pb.MetaInfo.value)
  if (!CheckHasBit(_impl_._has_bits_[0], 0x00000002U)) {
    return nullptr;
  }
  ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
  auto* released = _impl_.value_.Release();
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
    _impl_.value_.Set("", GetArena());
  }
  return released;
}
inline void MetaInfo::set_allocated_value(::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_.value_.SetAllocated(value, GetArena());
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.value_.IsDefault()) {
    _impl_.value_.Set("", GetArena());
  }
  // @@protoc_insertion_point(field_set_allocated:sync_pb.MetaInfo.value)
}

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

// BookmarkSpecifics

// optional string url = 1;
inline bool BookmarkSpecifics::has_url() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
  return value;
}
inline void BookmarkSpecifics::clear_url() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.url_.ClearToEmpty();
  ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
}
inline const ::std::string& BookmarkSpecifics::url() const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:sync_pb.BookmarkSpecifics.url)
  return _internal_url();
}
template <typename Arg_, typename... Args_>
PROTOBUF_ALWAYS_INLINE void BookmarkSpecifics::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.BookmarkSpecifics.url)
}
inline ::std::string* PROTOBUF_NONNULL BookmarkSpecifics::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.BookmarkSpecifics.url)
  return _s;
}
inline const ::std::string& BookmarkSpecifics::_internal_url() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.url_.Get();
}
inline void BookmarkSpecifics::_internal_set_url(const ::std::string& value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.url_.Set(value, GetArena());
}
inline ::std::string* PROTOBUF_NONNULL BookmarkSpecifics::_internal_mutable_url() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  return _impl_.url_.Mutable( GetArena());
}
inline ::std::string* PROTOBUF_NULLABLE BookmarkSpecifics::release_url() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  // @@protoc_insertion_point(field_release:sync_pb.BookmarkSpecifics.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 BookmarkSpecifics::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.BookmarkSpecifics.url)
}

// optional bytes favicon = 2;
inline bool BookmarkSpecifics::has_favicon() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
  return value;
}
inline void BookmarkSpecifics::clear_favicon() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.favicon_.ClearToEmpty();
  ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
}
inline const ::std::string& BookmarkSpecifics::favicon() const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:sync_pb.BookmarkSpecifics.favicon)
  return _internal_favicon();
}
template <typename Arg_, typename... Args_>
PROTOBUF_ALWAYS_INLINE void BookmarkSpecifics::set_favicon(Arg_&& arg, Args_... args) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  SetHasBit(_impl_._has_bits_[0], 0x00000004U);
  _impl_.favicon_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArena());
  // @@protoc_insertion_point(field_set:sync_pb.BookmarkSpecifics.favicon)
}
inline ::std::string* PROTOBUF_NONNULL BookmarkSpecifics::mutable_favicon()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000004U);
  ::std::string* _s = _internal_mutable_favicon();
  // @@protoc_insertion_point(field_mutable:sync_pb.BookmarkSpecifics.favicon)
  return _s;
}
inline const ::std::string& BookmarkSpecifics::_internal_favicon() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.favicon_.Get();
}
inline void BookmarkSpecifics::_internal_set_favicon(const ::std::string& value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.favicon_.Set(value, GetArena());
}
inline ::std::string* PROTOBUF_NONNULL BookmarkSpecifics::_internal_mutable_favicon() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  return _impl_.favicon_.Mutable( GetArena());
}
inline ::std::string* PROTOBUF_NULLABLE BookmarkSpecifics::release_favicon() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  // @@protoc_insertion_point(field_release:sync_pb.BookmarkSpecifics.favicon)
  if (!CheckHasBit(_impl_._has_bits_[0], 0x00000004U)) {
    return nullptr;
  }
  ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
  auto* released = _impl_.favicon_.Release();
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
    _impl_.favicon_.Set("", GetArena());
  }
  return released;
}
inline void BookmarkSpecifics::set_allocated_favicon(::std::string* PROTOBUF_NULLABLE value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (value != nullptr) {
    SetHasBit(_impl_._has_bits_[0], 0x00000004U);
  } else {
    ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
  }
  _impl_.favicon_.SetAllocated(value, GetArena());
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.favicon_.IsDefault()) {
    _impl_.favicon_.Set("", GetArena());
  }
  // @@protoc_insertion_point(field_set_allocated:sync_pb.BookmarkSpecifics.favicon)
}

// optional string legacy_canonicalized_title = 3;
inline bool BookmarkSpecifics::has_legacy_canonicalized_title() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000008U);
  return value;
}
inline void BookmarkSpecifics::clear_legacy_canonicalized_title() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.legacy_canonicalized_title_.ClearToEmpty();
  ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
}
inline const ::std::string& BookmarkSpecifics::legacy_canonicalized_title() const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:sync_pb.BookmarkSpecifics.legacy_canonicalized_title)
  return _internal_legacy_canonicalized_title();
}
template <typename Arg_, typename... Args_>
PROTOBUF_ALWAYS_INLINE void BookmarkSpecifics::set_legacy_canonicalized_title(Arg_&& arg, Args_... args) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  SetHasBit(_impl_._has_bits_[0], 0x00000008U);
  _impl_.legacy_canonicalized_title_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
  // @@protoc_insertion_point(field_set:sync_pb.BookmarkSpecifics.legacy_canonicalized_title)
}
inline ::std::string* PROTOBUF_NONNULL BookmarkSpecifics::mutable_legacy_canonicalized_title()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000008U);
  ::std::string* _s = _internal_mutable_legacy_canonicalized_title();
  // @@protoc_insertion_point(field_mutable:sync_pb.BookmarkSpecifics.legacy_canonicalized_title)
  return _s;
}
inline const ::std::string& BookmarkSpecifics::_internal_legacy_canonicalized_title() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.legacy_canonicalized_title_.Get();
}
inline void BookmarkSpecifics::_internal_set_legacy_canonicalized_title(const ::std::string& value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.legacy_canonicalized_title_.Set(value, GetArena());
}
inline ::std::string* PROTOBUF_NONNULL BookmarkSpecifics::_internal_mutable_legacy_canonicalized_title() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  return _impl_.legacy_canonicalized_title_.Mutable( GetArena());
}
inline ::std::string* PROTOBUF_NULLABLE BookmarkSpecifics::release_legacy_canonicalized_title() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  // @@protoc_insertion_point(field_release:sync_pb.BookmarkSpecifics.legacy_canonicalized_title)
  if (!CheckHasBit(_impl_._has_bits_[0], 0x00000008U)) {
    return nullptr;
  }
  ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
  auto* released = _impl_.legacy_canonicalized_title_.Release();
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
    _impl_.legacy_canonicalized_title_.Set("", GetArena());
  }
  return released;
}
inline void BookmarkSpecifics::set_allocated_legacy_canonicalized_title(::std::string* PROTOBUF_NULLABLE value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (value != nullptr) {
    SetHasBit(_impl_._has_bits_[0], 0x00000008U);
  } else {
    ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
  }
  _impl_.legacy_canonicalized_title_.SetAllocated(value, GetArena());
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.legacy_canonicalized_title_.IsDefault()) {
    _impl_.legacy_canonicalized_title_.Set("", GetArena());
  }
  // @@protoc_insertion_point(field_set_allocated:sync_pb.BookmarkSpecifics.legacy_canonicalized_title)
}

// optional int64 creation_time_us = 4;
inline bool BookmarkSpecifics::has_creation_time_us() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000200U);
  return value;
}
inline void BookmarkSpecifics::clear_creation_time_us() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.creation_time_us_ = ::int64_t{0};
  ClearHasBit(_impl_._has_bits_[0], 0x00000200U);
}
inline ::int64_t BookmarkSpecifics::creation_time_us() const {
  // @@protoc_insertion_point(field_get:sync_pb.BookmarkSpecifics.creation_time_us)
  return _internal_creation_time_us();
}
inline void BookmarkSpecifics::set_creation_time_us(::int64_t value) {
  _internal_set_creation_time_us(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000200U);
  // @@protoc_insertion_point(field_set:sync_pb.BookmarkSpecifics.creation_time_us)
}
inline ::int64_t BookmarkSpecifics::_internal_creation_time_us() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.creation_time_us_;
}
inline void BookmarkSpecifics::_internal_set_creation_time_us(::int64_t value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.creation_time_us_ = value;
}

// optional string icon_url = 5;
inline bool BookmarkSpecifics::has_icon_url() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000010U);
  return value;
}
inline void BookmarkSpecifics::clear_icon_url() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.icon_url_.ClearToEmpty();
  ClearHasBit(_impl_._has_bits_[0], 0x00000010U);
}
inline const ::std::string& BookmarkSpecifics::icon_url() const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:sync_pb.BookmarkSpecifics.icon_url)
  return _internal_icon_url();
}
template <typename Arg_, typename... Args_>
PROTOBUF_ALWAYS_INLINE void BookmarkSpecifics::set_icon_url(Arg_&& arg, Args_... args) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  SetHasBit(_impl_._has_bits_[0], 0x00000010U);
  _impl_.icon_url_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
  // @@protoc_insertion_point(field_set:sync_pb.BookmarkSpecifics.icon_url)
}
inline ::std::string* PROTOBUF_NONNULL BookmarkSpecifics::mutable_icon_url()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000010U);
  ::std::string* _s = _internal_mutable_icon_url();
  // @@protoc_insertion_point(field_mutable:sync_pb.BookmarkSpecifics.icon_url)
  return _s;
}
inline const ::std::string& BookmarkSpecifics::_internal_icon_url() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.icon_url_.Get();
}
inline void BookmarkSpecifics::_internal_set_icon_url(const ::std::string& value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.icon_url_.Set(value, GetArena());
}
inline ::std::string* PROTOBUF_NONNULL BookmarkSpecifics::_internal_mutable_icon_url() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  return _impl_.icon_url_.Mutable( GetArena());
}
inline ::std::string* PROTOBUF_NULLABLE BookmarkSpecifics::release_icon_url() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  // @@protoc_insertion_point(field_release:sync_pb.BookmarkSpecifics.icon_url)
  if (!CheckHasBit(_impl_._has_bits_[0], 0x00000010U)) {
    return nullptr;
  }
  ClearHasBit(_impl_._has_bits_[0], 0x00000010U);
  auto* released = _impl_.icon_url_.Release();
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
    _impl_.icon_url_.Set("", GetArena());
  }
  return released;
}
inline void BookmarkSpecifics::set_allocated_icon_url(::std::string* PROTOBUF_NULLABLE value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (value != nullptr) {
    SetHasBit(_impl_._has_bits_[0], 0x00000010U);
  } else {
    ClearHasBit(_impl_._has_bits_[0], 0x00000010U);
  }
  _impl_.icon_url_.SetAllocated(value, GetArena());
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.icon_url_.IsDefault()) {
    _impl_.icon_url_.Set("", GetArena());
  }
  // @@protoc_insertion_point(field_set_allocated:sync_pb.BookmarkSpecifics.icon_url)
}

// repeated .sync_pb.MetaInfo meta_info = 6;
inline int BookmarkSpecifics::_internal_meta_info_size() const {
  return _internal_meta_info().size();
}
inline int BookmarkSpecifics::meta_info_size() const {
  return _internal_meta_info_size();
}
inline void BookmarkSpecifics::clear_meta_info() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.meta_info_.Clear();
  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
}
inline const ::sync_pb::MetaInfo& BookmarkSpecifics::meta_info(int index) const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:sync_pb.BookmarkSpecifics.meta_info)
  return _internal_meta_info().Get(index);
}
inline ::sync_pb::MetaInfo* PROTOBUF_NONNULL BookmarkSpecifics::mutable_meta_info(int index)
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_mutable:sync_pb.BookmarkSpecifics.meta_info)
  return _internal_mutable_meta_info()->Mutable(index);
}
inline ::sync_pb::MetaInfo* PROTOBUF_NONNULL BookmarkSpecifics::add_meta_info()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  ::sync_pb::MetaInfo* _add =
      _internal_mutable_meta_info()->InternalAddWithArena(
          ::google::protobuf::MessageLite::internal_visibility(), GetArena());
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  // @@protoc_insertion_point(field_add:sync_pb.BookmarkSpecifics.meta_info)
  return _add;
}
inline const ::google::protobuf::RepeatedPtrField<::sync_pb::MetaInfo>& BookmarkSpecifics::meta_info() const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_list:sync_pb.BookmarkSpecifics.meta_info)
  return _internal_meta_info();
}
inline ::google::protobuf::RepeatedPtrField<::sync_pb::MetaInfo>* PROTOBUF_NONNULL
BookmarkSpecifics::mutable_meta_info() ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  // @@protoc_insertion_point(field_mutable_list:sync_pb.BookmarkSpecifics.meta_info)
  ::google::protobuf::internal::TSanWrite(&_impl_);
  return _internal_mutable_meta_info();
}
inline const ::google::protobuf::RepeatedPtrField<::sync_pb::MetaInfo>&
BookmarkSpecifics::_internal_meta_info() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.meta_info_;
}
inline ::google::protobuf::RepeatedPtrField<::sync_pb::MetaInfo>* PROTOBUF_NONNULL
BookmarkSpecifics::_internal_mutable_meta_info() {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return &_impl_.meta_info_;
}

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

// optional string full_title = 11;
inline bool BookmarkSpecifics::has_full_title() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000040U);
  return value;
}
inline void BookmarkSpecifics::clear_full_title() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.full_title_.ClearToEmpty();
  ClearHasBit(_impl_._has_bits_[0], 0x00000040U);
}
inline const ::std::string& BookmarkSpecifics::full_title() const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:sync_pb.BookmarkSpecifics.full_title)
  return _internal_full_title();
}
template <typename Arg_, typename... Args_>
PROTOBUF_ALWAYS_INLINE void BookmarkSpecifics::set_full_title(Arg_&& arg, Args_... args) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  SetHasBit(_impl_._has_bits_[0], 0x00000040U);
  _impl_.full_title_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
  // @@protoc_insertion_point(field_set:sync_pb.BookmarkSpecifics.full_title)
}
inline ::std::string* PROTOBUF_NONNULL BookmarkSpecifics::mutable_full_title()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000040U);
  ::std::string* _s = _internal_mutable_full_title();
  // @@protoc_insertion_point(field_mutable:sync_pb.BookmarkSpecifics.full_title)
  return _s;
}
inline const ::std::string& BookmarkSpecifics::_internal_full_title() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.full_title_.Get();
}
inline void BookmarkSpecifics::_internal_set_full_title(const ::std::string& value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.full_title_.Set(value, GetArena());
}
inline ::std::string* PROTOBUF_NONNULL BookmarkSpecifics::_internal_mutable_full_title() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  return _impl_.full_title_.Mutable( GetArena());
}
inline ::std::string* PROTOBUF_NULLABLE BookmarkSpecifics::release_full_title() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  // @@protoc_insertion_point(field_release:sync_pb.BookmarkSpecifics.full_title)
  if (!CheckHasBit(_impl_._has_bits_[0], 0x00000040U)) {
    return nullptr;
  }
  ClearHasBit(_impl_._has_bits_[0], 0x00000040U);
  auto* released = _impl_.full_title_.Release();
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
    _impl_.full_title_.Set("", GetArena());
  }
  return released;
}
inline void BookmarkSpecifics::set_allocated_full_title(::std::string* PROTOBUF_NULLABLE value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (value != nullptr) {
    SetHasBit(_impl_._has_bits_[0], 0x00000040U);
  } else {
    ClearHasBit(_impl_._has_bits_[0], 0x00000040U);
  }
  _impl_.full_title_.SetAllocated(value, GetArena());
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.full_title_.IsDefault()) {
    _impl_.full_title_.Set("", GetArena());
  }
  // @@protoc_insertion_point(field_set_allocated:sync_pb.BookmarkSpecifics.full_title)
}

// optional string parent_guid = 14;
inline bool BookmarkSpecifics::has_parent_guid() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000080U);
  return value;
}
inline void BookmarkSpecifics::clear_parent_guid() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.parent_guid_.ClearToEmpty();
  ClearHasBit(_impl_._has_bits_[0], 0x00000080U);
}
inline const ::std::string& BookmarkSpecifics::parent_guid() const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:sync_pb.BookmarkSpecifics.parent_guid)
  return _internal_parent_guid();
}
template <typename Arg_, typename... Args_>
PROTOBUF_ALWAYS_INLINE void BookmarkSpecifics::set_parent_guid(Arg_&& arg, Args_... args) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  SetHasBit(_impl_._has_bits_[0], 0x00000080U);
  _impl_.parent_guid_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
  // @@protoc_insertion_point(field_set:sync_pb.BookmarkSpecifics.parent_guid)
}
inline ::std::string* PROTOBUF_NONNULL BookmarkSpecifics::mutable_parent_guid()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000080U);
  ::std::string* _s = _internal_mutable_parent_guid();
  // @@protoc_insertion_point(field_mutable:sync_pb.BookmarkSpecifics.parent_guid)
  return _s;
}
inline const ::std::string& BookmarkSpecifics::_internal_parent_guid() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.parent_guid_.Get();
}
inline void BookmarkSpecifics::_internal_set_parent_guid(const ::std::string& value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.parent_guid_.Set(value, GetArena());
}
inline ::std::string* PROTOBUF_NONNULL BookmarkSpecifics::_internal_mutable_parent_guid() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  return _impl_.parent_guid_.Mutable( GetArena());
}
inline ::std::string* PROTOBUF_NULLABLE BookmarkSpecifics::release_parent_guid() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  // @@protoc_insertion_point(field_release:sync_pb.BookmarkSpecifics.parent_guid)
  if (!CheckHasBit(_impl_._has_bits_[0], 0x00000080U)) {
    return nullptr;
  }
  ClearHasBit(_impl_._has_bits_[0], 0x00000080U);
  auto* released = _impl_.parent_guid_.Release();
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
    _impl_.parent_guid_.Set("", GetArena());
  }
  return released;
}
inline void BookmarkSpecifics::set_allocated_parent_guid(::std::string* PROTOBUF_NULLABLE value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (value != nullptr) {
    SetHasBit(_impl_._has_bits_[0], 0x00000080U);
  } else {
    ClearHasBit(_impl_._has_bits_[0], 0x00000080U);
  }
  _impl_.parent_guid_.SetAllocated(value, GetArena());
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.parent_guid_.IsDefault()) {
    _impl_.parent_guid_.Set("", GetArena());
  }
  // @@protoc_insertion_point(field_set_allocated:sync_pb.BookmarkSpecifics.parent_guid)
}

// optional .sync_pb.BookmarkSpecifics.Type type = 15;
inline bool BookmarkSpecifics::has_type() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000800U);
  return value;
}
inline void BookmarkSpecifics::clear_type() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.type_ = 0;
  ClearHasBit(_impl_._has_bits_[0], 0x00000800U);
}
inline ::sync_pb::BookmarkSpecifics_Type BookmarkSpecifics::type() const {
  // @@protoc_insertion_point(field_get:sync_pb.BookmarkSpecifics.type)
  return _internal_type();
}
inline void BookmarkSpecifics::set_type(::sync_pb::BookmarkSpecifics_Type value) {
  _internal_set_type(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000800U);
  // @@protoc_insertion_point(field_set:sync_pb.BookmarkSpecifics.type)
}
inline ::sync_pb::BookmarkSpecifics_Type BookmarkSpecifics::_internal_type() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return static_cast<::sync_pb::BookmarkSpecifics_Type>(_impl_.type_);
}
inline void BookmarkSpecifics::_internal_set_type(::sync_pb::BookmarkSpecifics_Type value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);

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

// optional .sync_pb.UniquePosition unique_position = 16;
inline bool BookmarkSpecifics::has_unique_position() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000100U);
  PROTOBUF_ASSUME(!value || _impl_.unique_position_ != nullptr);
  return value;
}
inline const ::sync_pb::UniquePosition& BookmarkSpecifics::_internal_unique_position() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  const ::sync_pb::UniquePosition* p = _impl_.unique_position_;
  return p != nullptr ? *p : *::google::protobuf::internal::MessageGlobalsBase::ToDefaultInstance<::sync_pb::UniquePosition>(&::sync_pb::UniquePosition_globals_);
}
inline const ::sync_pb::UniquePosition& BookmarkSpecifics::unique_position() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:sync_pb.BookmarkSpecifics.unique_position)
  return _internal_unique_position();
}
inline void BookmarkSpecifics::unsafe_arena_set_allocated_unique_position(
    ::sync_pb::UniquePosition* PROTOBUF_NULLABLE value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (GetArena() == nullptr) {
    delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.unique_position_);
  }
  _impl_.unique_position_ = reinterpret_cast<::sync_pb::UniquePosition*>(value);
  if (value != nullptr) {
    SetHasBit(_impl_._has_bits_[0], 0x00000100U);
  } else {
    ClearHasBit(_impl_._has_bits_[0], 0x00000100U);
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:sync_pb.BookmarkSpecifics.unique_position)
}
inline ::sync_pb::UniquePosition* PROTOBUF_NULLABLE BookmarkSpecifics::release_unique_position() {
  ::google::protobuf::internal::TSanWrite(&_impl_);

  ClearHasBit(_impl_._has_bits_[0], 0x00000100U);
  ::sync_pb::UniquePosition* released = _impl_.unique_position_;
  _impl_.unique_position_ = 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::UniquePosition* PROTOBUF_NULLABLE BookmarkSpecifics::unsafe_arena_release_unique_position() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  // @@protoc_insertion_point(field_release:sync_pb.BookmarkSpecifics.unique_position)

  ClearHasBit(_impl_._has_bits_[0], 0x00000100U);
  ::sync_pb::UniquePosition* temp = _impl_.unique_position_;
  _impl_.unique_position_ = nullptr;
  return temp;
}
inline ::sync_pb::UniquePosition* PROTOBUF_NONNULL BookmarkSpecifics::_internal_mutable_unique_position() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (_impl_.unique_position_ == nullptr) {
    auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::sync_pb::UniquePosition>(GetArena());
    _impl_.unique_position_ = reinterpret_cast<::sync_pb::UniquePosition*>(p);
  }
  return _impl_.unique_position_;
}
inline ::sync_pb::UniquePosition* PROTOBUF_NONNULL BookmarkSpecifics::mutable_unique_position()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000100U);
  ::sync_pb::UniquePosition* _msg = _internal_mutable_unique_position();
  // @@protoc_insertion_point(field_mutable:sync_pb.BookmarkSpecifics.unique_position)
  return _msg;
}
inline void BookmarkSpecifics::set_allocated_unique_position(::sync_pb::UniquePosition* 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_.unique_position_);
  }

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

  _impl_.unique_position_ = reinterpret_cast<::sync_pb::UniquePosition*>(value);
  // @@protoc_insertion_point(field_set_allocated:sync_pb.BookmarkSpecifics.unique_position)
}

// optional int64 last_used_time_us = 17;
inline bool BookmarkSpecifics::has_last_used_time_us() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000400U);
  return value;
}
inline void BookmarkSpecifics::clear_last_used_time_us() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.last_used_time_us_ = ::int64_t{0};
  ClearHasBit(_impl_._has_bits_[0], 0x00000400U);
}
inline ::int64_t BookmarkSpecifics::last_used_time_us() const {
  // @@protoc_insertion_point(field_get:sync_pb.BookmarkSpecifics.last_used_time_us)
  return _internal_last_used_time_us();
}
inline void BookmarkSpecifics::set_last_used_time_us(::int64_t value) {
  _internal_set_last_used_time_us(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000400U);
  // @@protoc_insertion_point(field_set:sync_pb.BookmarkSpecifics.last_used_time_us)
}
inline ::int64_t BookmarkSpecifics::_internal_last_used_time_us() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.last_used_time_us_;
}
inline void BookmarkSpecifics::_internal_set_last_used_time_us(::int64_t value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.last_used_time_us_ = value;
}

#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::BookmarkSpecifics_Type> : std::true_type {};
template <>
struct internal::LiteEnumFuncs<::sync_pb::BookmarkSpecifics_Type> {
  static constexpr bool kIsDefined = true;
  static constexpr auto kParseFunc = ::sync_pb::BookmarkSpecifics_Type_Parse;
  static constexpr auto kNameFunc = ::sync_pb::BookmarkSpecifics_Type_Name<int>;
};

}  // namespace protobuf
}  // namespace google

// @@protoc_insertion_point(global_scope)

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

#endif  // components_2fsync_2fprotocol_2fbookmark_5fspecifics_2eproto_2epb_2eh
