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

#ifndef components_2fsync_2fprotocol_2fshared_5fcomment_5fspecifics_2eproto_2epb_2eh
#define components_2fsync_2fprotocol_2fshared_5fcomment_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"
// @@protoc_insertion_point(includes)

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

#define PROTOBUF_INTERNAL_EXPORT_components_2fsync_2fprotocol_2fshared_5fcomment_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_2fshared_5fcomment_5fspecifics_2eproto {
  static const ::uint32_t offsets[];
};
namespace sync_pb {
enum SharedUrlContext_Source : int;
extern const uint32_t SharedUrlContext_Source_internal_data_[];
class CommentData;
struct CommentDataGlobalsTypeInternal;
#ifndef PROTOBUF_MESSAGE_GLOBALS
extern CommentDataGlobalsTypeInternal CommentData_globals_;
extern const ::google::protobuf::internal::ClassDataLite CommentData_class_data_;
#else
extern const CommentDataGlobalsTypeInternal CommentData_globals_;
#endif  // PROTOBUF_MESSAGE_GLOBALS
class CommentData_Attribution;
struct CommentData_AttributionGlobalsTypeInternal;
#ifndef PROTOBUF_MESSAGE_GLOBALS
extern CommentData_AttributionGlobalsTypeInternal CommentData_Attribution_globals_;
extern const ::google::protobuf::internal::ClassDataLite CommentData_Attribution_class_data_;
#else
extern const CommentData_AttributionGlobalsTypeInternal CommentData_Attribution_globals_;
#endif  // PROTOBUF_MESSAGE_GLOBALS
class CommentData_Attribution_CommentTarget;
struct CommentData_Attribution_CommentTargetGlobalsTypeInternal;
#ifndef PROTOBUF_MESSAGE_GLOBALS
extern CommentData_Attribution_CommentTargetGlobalsTypeInternal CommentData_Attribution_CommentTarget_globals_;
extern const ::google::protobuf::internal::ClassDataLite CommentData_Attribution_CommentTarget_class_data_;
#else
extern const CommentData_Attribution_CommentTargetGlobalsTypeInternal CommentData_Attribution_CommentTarget_globals_;
#endif  // PROTOBUF_MESSAGE_GLOBALS
class CommentData_Attribution_CommentTarget_FragmentLink;
struct CommentData_Attribution_CommentTarget_FragmentLinkGlobalsTypeInternal;
#ifndef PROTOBUF_MESSAGE_GLOBALS
extern CommentData_Attribution_CommentTarget_FragmentLinkGlobalsTypeInternal CommentData_Attribution_CommentTarget_FragmentLink_globals_;
extern const ::google::protobuf::internal::ClassDataLite CommentData_Attribution_CommentTarget_FragmentLink_class_data_;
#else
extern const CommentData_Attribution_CommentTarget_FragmentLinkGlobalsTypeInternal CommentData_Attribution_CommentTarget_FragmentLink_globals_;
#endif  // PROTOBUF_MESSAGE_GLOBALS
class CommentData_Attribution_InReplyTo;
struct CommentData_Attribution_InReplyToGlobalsTypeInternal;
#ifndef PROTOBUF_MESSAGE_GLOBALS
extern CommentData_Attribution_InReplyToGlobalsTypeInternal CommentData_Attribution_InReplyTo_globals_;
extern const ::google::protobuf::internal::ClassDataLite CommentData_Attribution_InReplyTo_class_data_;
#else
extern const CommentData_Attribution_InReplyToGlobalsTypeInternal CommentData_Attribution_InReplyTo_globals_;
#endif  // PROTOBUF_MESSAGE_GLOBALS
class CommentData_OrderKey;
struct CommentData_OrderKeyGlobalsTypeInternal;
#ifndef PROTOBUF_MESSAGE_GLOBALS
extern CommentData_OrderKeyGlobalsTypeInternal CommentData_OrderKey_globals_;
extern const ::google::protobuf::internal::ClassDataLite CommentData_OrderKey_class_data_;
#else
extern const CommentData_OrderKeyGlobalsTypeInternal CommentData_OrderKey_globals_;
#endif  // PROTOBUF_MESSAGE_GLOBALS
class SharedCommentSpecifics;
struct SharedCommentSpecificsGlobalsTypeInternal;
#ifndef PROTOBUF_MESSAGE_GLOBALS
extern SharedCommentSpecificsGlobalsTypeInternal SharedCommentSpecifics_globals_;
extern const ::google::protobuf::internal::ClassDataLite SharedCommentSpecifics_class_data_;
#else
extern const SharedCommentSpecificsGlobalsTypeInternal SharedCommentSpecifics_globals_;
#endif  // PROTOBUF_MESSAGE_GLOBALS
class SharedUrlContext;
struct SharedUrlContextGlobalsTypeInternal;
#ifndef PROTOBUF_MESSAGE_GLOBALS
extern SharedUrlContextGlobalsTypeInternal SharedUrlContext_globals_;
extern const ::google::protobuf::internal::ClassDataLite SharedUrlContext_class_data_;
#else
extern const SharedUrlContextGlobalsTypeInternal SharedUrlContext_globals_;
#endif  // PROTOBUF_MESSAGE_GLOBALS
class SharedUrlContext_UrlRepresentation;
struct SharedUrlContext_UrlRepresentationGlobalsTypeInternal;
#ifndef PROTOBUF_MESSAGE_GLOBALS
extern SharedUrlContext_UrlRepresentationGlobalsTypeInternal SharedUrlContext_UrlRepresentation_globals_;
extern const ::google::protobuf::internal::ClassDataLite SharedUrlContext_UrlRepresentation_class_data_;
#else
extern const SharedUrlContext_UrlRepresentationGlobalsTypeInternal SharedUrlContext_UrlRepresentation_globals_;
#endif  // PROTOBUF_MESSAGE_GLOBALS
}  // namespace sync_pb
namespace google {
namespace protobuf {
template <>
internal::EnumTraitsT<::sync_pb::SharedUrlContext_Source_internal_data_>
    internal::EnumTraitsImpl::value<::sync_pb::SharedUrlContext_Source>;
}  // namespace protobuf
}  // namespace google

namespace sync_pb {
enum SharedUrlContext_Source : int {
  SharedUrlContext_Source_SOURCE_UNSPECIFIED = 0,
  SharedUrlContext_Source_OMNIBOX = 1,
  SharedUrlContext_Source_FROM_SYNC = 2,
  SharedUrlContext_Source_CANONICAL_URL = 3,
};

extern const uint32_t SharedUrlContext_Source_internal_data_[];
inline constexpr SharedUrlContext_Source SharedUrlContext_Source_Source_MIN =
    static_cast<SharedUrlContext_Source>(0);
inline constexpr SharedUrlContext_Source SharedUrlContext_Source_Source_MAX =
    static_cast<SharedUrlContext_Source>(3);
inline bool SharedUrlContext_Source_IsValid(int value) {
  return 0 <= value && value <= 3;
}
inline constexpr int SharedUrlContext_Source_Source_ARRAYSIZE = 3 + 1;
const ::std::string& SharedUrlContext_Source_Name(SharedUrlContext_Source value);
template <typename T>
const ::std::string& SharedUrlContext_Source_Name(T value) {
  static_assert(::std::is_same<T, SharedUrlContext_Source>::value ||
                    ::std::is_integral<T>::value,
                "Incorrect type passed to Source_Name().");
  return SharedUrlContext_Source_Name(static_cast<SharedUrlContext_Source>(value));
}
bool SharedUrlContext_Source_Parse(
    ::absl::string_view name, SharedUrlContext_Source* PROTOBUF_NONNULL value);
using ::google::protobuf::internal::generated_enum::AbslParseFlag;
using ::google::protobuf::internal::generated_enum::AbslUnparseFlag;

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


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

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

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

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

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

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

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

  explicit SharedUrlContext_UrlRepresentation(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  SharedUrlContext_UrlRepresentation(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SharedUrlContext_UrlRepresentation& from);
  SharedUrlContext_UrlRepresentation(
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SharedUrlContext_UrlRepresentation&& from) noexcept
      : SharedUrlContext_UrlRepresentation(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 {
    kValueFieldNumber = 2,
    kVersionFieldNumber = 3,
    kSourceFieldNumber = 1,
  };
  // 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:
  // optional string version = 3;
  bool has_version()
      const;
  void clear_version() ;
  const ::std::string& version() const;
  template <typename Arg_ = const ::std::string&, typename... Args_>
  void set_version(Arg_&& arg, Args_... args);
  ::std::string* PROTOBUF_NONNULL mutable_version();
  ::std::string* PROTOBUF_NULLABLE release_version();
  void set_allocated_version(::std::string* PROTOBUF_NULLABLE value);

  private:
  const ::std::string& _internal_version() const;
  PROTOBUF_ALWAYS_INLINE void _internal_set_version(const ::std::string& value);
  ::std::string* PROTOBUF_NONNULL _internal_mutable_version();

  public:
  // optional .sync_pb.SharedUrlContext.Source source = 1;
  bool has_source()
      const;
  void clear_source() ;
  ::sync_pb::SharedUrlContext_Source source() const;
  void set_source(::sync_pb::SharedUrlContext_Source value);

  private:
  ::sync_pb::SharedUrlContext_Source _internal_source() const;
  void _internal_set_source(::sync_pb::SharedUrlContext_Source value);

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

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

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

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

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

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

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

  explicit CommentData_OrderKey(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  CommentData_OrderKey(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const CommentData_OrderKey& from);
  CommentData_OrderKey(
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, CommentData_OrderKey&& from) noexcept
      : CommentData_OrderKey(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 {
    kDeviceGuidFieldNumber = 1,
    kLocalSequenceFieldNumber = 2,
  };
  // optional string device_guid = 1;
  bool has_device_guid()
      const;
  void clear_device_guid() ;
  const ::std::string& device_guid() const;
  template <typename Arg_ = const ::std::string&, typename... Args_>
  void set_device_guid(Arg_&& arg, Args_... args);
  ::std::string* PROTOBUF_NONNULL mutable_device_guid();
  ::std::string* PROTOBUF_NULLABLE release_device_guid();
  void set_allocated_device_guid(::std::string* PROTOBUF_NULLABLE value);

  private:
  const ::std::string& _internal_device_guid() const;
  PROTOBUF_ALWAYS_INLINE void _internal_set_device_guid(const ::std::string& value);
  ::std::string* PROTOBUF_NONNULL _internal_mutable_device_guid();

  public:
  // optional int64 local_sequence = 2;
  bool has_local_sequence()
      const;
  void clear_local_sequence() ;
  ::int64_t local_sequence() const;
  void set_local_sequence(::int64_t value);

  private:
  ::int64_t _internal_local_sequence() const;
  void _internal_set_local_sequence(::int64_t value);

  public:
  // @@protoc_insertion_point(class_scope:sync_pb.CommentData.OrderKey)
 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 CommentData_OrderKey& from_msg);
    ::google::protobuf::internal::HasBits<1> _has_bits_;
    ::google::protobuf::internal::CachedSize _cached_size_;
    ::google::protobuf::internal::ArenaStringPtr device_guid_;
    ::int64_t local_sequence_;
    PROTOBUF_TSAN_DECLARE_MEMBER
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_components_2fsync_2fprotocol_2fshared_5fcomment_5fspecifics_2eproto;
};
// -------------------------------------------------------------------

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

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

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

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

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

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

  explicit CommentData_Attribution_InReplyTo(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  CommentData_Attribution_InReplyTo(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const CommentData_Attribution_InReplyTo& from);
  CommentData_Attribution_InReplyTo(
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, CommentData_Attribution_InReplyTo&& from) noexcept
      : CommentData_Attribution_InReplyTo(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 {
    kParentIdFieldNumber = 1,
  };
  // optional string parent_id = 1;
  bool has_parent_id()
      const;
  void clear_parent_id() ;
  const ::std::string& parent_id() const;
  template <typename Arg_ = const ::std::string&, typename... Args_>
  void set_parent_id(Arg_&& arg, Args_... args);
  ::std::string* PROTOBUF_NONNULL mutable_parent_id();
  ::std::string* PROTOBUF_NULLABLE release_parent_id();
  void set_allocated_parent_id(::std::string* PROTOBUF_NULLABLE value);

  private:
  const ::std::string& _internal_parent_id() const;
  PROTOBUF_ALWAYS_INLINE void _internal_set_parent_id(const ::std::string& value);
  ::std::string* PROTOBUF_NONNULL _internal_mutable_parent_id();

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

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

class  CommentData_Attribution_CommentTarget_FragmentLink final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:sync_pb.CommentData.Attribution.CommentTarget.FragmentLink) */ {
 public:
  inline CommentData_Attribution_CommentTarget_FragmentLink() : CommentData_Attribution_CommentTarget_FragmentLink(nullptr) {}
  ~CommentData_Attribution_CommentTarget_FragmentLink() PROTOBUF_FINAL;

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

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

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

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

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

  explicit CommentData_Attribution_CommentTarget_FragmentLink(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  CommentData_Attribution_CommentTarget_FragmentLink(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const CommentData_Attribution_CommentTarget_FragmentLink& from);
  CommentData_Attribution_CommentTarget_FragmentLink(
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, CommentData_Attribution_CommentTarget_FragmentLink&& from) noexcept
      : CommentData_Attribution_CommentTarget_FragmentLink(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 {
    kFragmentFieldNumber = 1,
    kTextPreviewFieldNumber = 2,
  };
  // optional string fragment = 1;
  bool has_fragment()
      const;
  void clear_fragment() ;
  const ::std::string& fragment() const;
  template <typename Arg_ = const ::std::string&, typename... Args_>
  void set_fragment(Arg_&& arg, Args_... args);
  ::std::string* PROTOBUF_NONNULL mutable_fragment();
  ::std::string* PROTOBUF_NULLABLE release_fragment();
  void set_allocated_fragment(::std::string* PROTOBUF_NULLABLE value);

  private:
  const ::std::string& _internal_fragment() const;
  PROTOBUF_ALWAYS_INLINE void _internal_set_fragment(const ::std::string& value);
  ::std::string* PROTOBUF_NONNULL _internal_mutable_fragment();

  public:
  // optional string text_preview = 2;
  bool has_text_preview()
      const;
  void clear_text_preview() ;
  const ::std::string& text_preview() const;
  template <typename Arg_ = const ::std::string&, typename... Args_>
  void set_text_preview(Arg_&& arg, Args_... args);
  ::std::string* PROTOBUF_NONNULL mutable_text_preview();
  ::std::string* PROTOBUF_NULLABLE release_text_preview();
  void set_allocated_text_preview(::std::string* PROTOBUF_NULLABLE value);

  private:
  const ::std::string& _internal_text_preview() const;
  PROTOBUF_ALWAYS_INLINE void _internal_set_text_preview(const ::std::string& value);
  ::std::string* PROTOBUF_NONNULL _internal_mutable_text_preview();

  public:
  // @@protoc_insertion_point(class_scope:sync_pb.CommentData.Attribution.CommentTarget.FragmentLink)
 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 CommentData_Attribution_CommentTarget_FragmentLink& from_msg);
    ::google::protobuf::internal::HasBits<1> _has_bits_;
    ::google::protobuf::internal::CachedSize _cached_size_;
    ::google::protobuf::internal::ArenaStringPtr fragment_;
    ::google::protobuf::internal::ArenaStringPtr text_preview_;
    PROTOBUF_TSAN_DECLARE_MEMBER
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_components_2fsync_2fprotocol_2fshared_5fcomment_5fspecifics_2eproto;
};
// -------------------------------------------------------------------

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

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

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

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

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

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

  explicit SharedUrlContext(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  SharedUrlContext(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SharedUrlContext& from);
  SharedUrlContext(
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SharedUrlContext&& from) noexcept
      : SharedUrlContext(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 UrlRepresentation = SharedUrlContext_UrlRepresentation;
  using Source = SharedUrlContext_Source;
  static constexpr Source SOURCE_UNSPECIFIED = SharedUrlContext_Source_SOURCE_UNSPECIFIED;
  static constexpr Source OMNIBOX = SharedUrlContext_Source_OMNIBOX;
  static constexpr Source FROM_SYNC = SharedUrlContext_Source_FROM_SYNC;
  static constexpr Source CANONICAL_URL = SharedUrlContext_Source_CANONICAL_URL;
  static inline bool Source_IsValid(int value) {
    return SharedUrlContext_Source_IsValid(value);
  }
  static constexpr Source Source_MIN = SharedUrlContext_Source_Source_MIN;
  static constexpr Source Source_MAX = SharedUrlContext_Source_Source_MAX;
  static constexpr int Source_ARRAYSIZE = SharedUrlContext_Source_Source_ARRAYSIZE;
  template <typename T>
  static inline const ::std::string& Source_Name(T value) {
    return SharedUrlContext_Source_Name(value);
  }
  static inline bool Source_Parse(
      ::absl::string_view name, Source* PROTOBUF_NONNULL value) {
    return SharedUrlContext_Source_Parse(name, value);
  }

  // accessors -------------------------------------------------------
  enum : int {
    kRepresentationsFieldNumber = 1,
    kTitleFieldNumber = 2,
  };
  // repeated .sync_pb.SharedUrlContext.UrlRepresentation representations = 1;
  int representations_size()
      const;
  private:
  int _internal_representations_size() const;

  public:
  void clear_representations() ;
  const ::sync_pb::SharedUrlContext_UrlRepresentation& representations(int index) const;
  ::sync_pb::SharedUrlContext_UrlRepresentation* PROTOBUF_NONNULL mutable_representations(int index);
  ::sync_pb::SharedUrlContext_UrlRepresentation* PROTOBUF_NONNULL add_representations();
  const ::google::protobuf::RepeatedPtrField<::sync_pb::SharedUrlContext_UrlRepresentation>&
  representations() const;
  ::google::protobuf::RepeatedPtrField<::sync_pb::SharedUrlContext_UrlRepresentation>* PROTOBUF_NONNULL
  mutable_representations();

  private:
  const ::google::protobuf::RepeatedPtrField<::sync_pb::SharedUrlContext_UrlRepresentation>& _internal_representations() const;
  ::google::protobuf::RepeatedPtrField<::sync_pb::SharedUrlContext_UrlRepresentation>* PROTOBUF_NONNULL _internal_mutable_representations();

  public:
  // optional string title = 2;
  bool has_title()
      const;
  void clear_title() ;
  const ::std::string& title() const;
  template <typename Arg_ = const ::std::string&, typename... Args_>
  void set_title(Arg_&& arg, Args_... args);
  ::std::string* PROTOBUF_NONNULL mutable_title();
  ::std::string* PROTOBUF_NULLABLE release_title();
  void set_allocated_title(::std::string* PROTOBUF_NULLABLE value);

  private:
  const ::std::string& _internal_title() const;
  PROTOBUF_ALWAYS_INLINE void _internal_set_title(const ::std::string& value);
  ::std::string* PROTOBUF_NONNULL _internal_mutable_title();

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

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

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

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

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

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

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

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

  explicit CommentData_Attribution_CommentTarget(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  CommentData_Attribution_CommentTarget(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const CommentData_Attribution_CommentTarget& from);
  CommentData_Attribution_CommentTarget(
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, CommentData_Attribution_CommentTarget&& from) noexcept
      : CommentData_Attribution_CommentTarget(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 FragmentLink = CommentData_Attribution_CommentTarget_FragmentLink;

  // accessors -------------------------------------------------------
  enum : int {
    kSharedUrlContextUuidFieldNumber = 1,
    kLinkFragmentFieldNumber = 2,
  };
  // optional string shared_url_context_uuid = 1;
  bool has_shared_url_context_uuid()
      const;
  void clear_shared_url_context_uuid() ;
  const ::std::string& shared_url_context_uuid() const;
  template <typename Arg_ = const ::std::string&, typename... Args_>
  void set_shared_url_context_uuid(Arg_&& arg, Args_... args);
  ::std::string* PROTOBUF_NONNULL mutable_shared_url_context_uuid();
  ::std::string* PROTOBUF_NULLABLE release_shared_url_context_uuid();
  void set_allocated_shared_url_context_uuid(::std::string* PROTOBUF_NULLABLE value);

  private:
  const ::std::string& _internal_shared_url_context_uuid() const;
  PROTOBUF_ALWAYS_INLINE void _internal_set_shared_url_context_uuid(const ::std::string& value);
  ::std::string* PROTOBUF_NONNULL _internal_mutable_shared_url_context_uuid();

  public:
  // optional .sync_pb.CommentData.Attribution.CommentTarget.FragmentLink link_fragment = 2;
  bool has_link_fragment()
      const;
  void clear_link_fragment() ;
  const ::sync_pb::CommentData_Attribution_CommentTarget_FragmentLink& link_fragment() const;
  ::sync_pb::CommentData_Attribution_CommentTarget_FragmentLink* PROTOBUF_NULLABLE release_link_fragment();
  ::sync_pb::CommentData_Attribution_CommentTarget_FragmentLink* PROTOBUF_NONNULL mutable_link_fragment();
  void set_allocated_link_fragment(::sync_pb::CommentData_Attribution_CommentTarget_FragmentLink* PROTOBUF_NULLABLE value);
  void unsafe_arena_set_allocated_link_fragment(::sync_pb::CommentData_Attribution_CommentTarget_FragmentLink* PROTOBUF_NULLABLE value);
  ::sync_pb::CommentData_Attribution_CommentTarget_FragmentLink* PROTOBUF_NULLABLE unsafe_arena_release_link_fragment();

  private:
  const ::sync_pb::CommentData_Attribution_CommentTarget_FragmentLink& _internal_link_fragment() const;
  ::sync_pb::CommentData_Attribution_CommentTarget_FragmentLink* PROTOBUF_NONNULL _internal_mutable_link_fragment();

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

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

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

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

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

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

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

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

  explicit CommentData_Attribution(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  CommentData_Attribution(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const CommentData_Attribution& from);
  CommentData_Attribution(
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, CommentData_Attribution&& from) noexcept
      : CommentData_Attribution(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 CommentTarget = CommentData_Attribution_CommentTarget;
  using InReplyTo = CommentData_Attribution_InReplyTo;

  // accessors -------------------------------------------------------
  enum : int {
    kTopLevelFieldNumber = 1,
    kParentFieldNumber = 2,
  };
  // .sync_pb.CommentData.Attribution.CommentTarget top_level = 1;
  bool has_top_level()
      const;
  private:
  bool _internal_has_top_level() const;

  public:
  void clear_top_level() ;
  const ::sync_pb::CommentData_Attribution_CommentTarget& top_level() const;
  ::sync_pb::CommentData_Attribution_CommentTarget* PROTOBUF_NULLABLE release_top_level();
  ::sync_pb::CommentData_Attribution_CommentTarget* PROTOBUF_NONNULL mutable_top_level();
  void set_allocated_top_level(::sync_pb::CommentData_Attribution_CommentTarget* PROTOBUF_NULLABLE value);
  void unsafe_arena_set_allocated_top_level(::sync_pb::CommentData_Attribution_CommentTarget* PROTOBUF_NULLABLE value);
  ::sync_pb::CommentData_Attribution_CommentTarget* PROTOBUF_NULLABLE unsafe_arena_release_top_level();

  private:
  const ::sync_pb::CommentData_Attribution_CommentTarget& _internal_top_level() const;
  ::sync_pb::CommentData_Attribution_CommentTarget* PROTOBUF_NONNULL _internal_mutable_top_level();

  public:
  // .sync_pb.CommentData.Attribution.InReplyTo parent = 2;
  bool has_parent()
      const;
  private:
  bool _internal_has_parent() const;

  public:
  void clear_parent() ;
  const ::sync_pb::CommentData_Attribution_InReplyTo& parent() const;
  ::sync_pb::CommentData_Attribution_InReplyTo* PROTOBUF_NULLABLE release_parent();
  ::sync_pb::CommentData_Attribution_InReplyTo* PROTOBUF_NONNULL mutable_parent();
  void set_allocated_parent(::sync_pb::CommentData_Attribution_InReplyTo* PROTOBUF_NULLABLE value);
  void unsafe_arena_set_allocated_parent(::sync_pb::CommentData_Attribution_InReplyTo* PROTOBUF_NULLABLE value);
  ::sync_pb::CommentData_Attribution_InReplyTo* PROTOBUF_NULLABLE unsafe_arena_release_parent();

  private:
  const ::sync_pb::CommentData_Attribution_InReplyTo& _internal_parent() const;
  ::sync_pb::CommentData_Attribution_InReplyTo* PROTOBUF_NONNULL _internal_mutable_parent();

  public:
  void clear_kind();
  KindCase kind_case() const;
  // @@protoc_insertion_point(class_scope:sync_pb.CommentData.Attribution)
 private:
  class _Internal;
  void set_has_top_level();
  void set_has_parent();
  inline bool has_kind() const;
  inline void clear_has_kind();
  using ParseTableT_ =
      ::google::protobuf::internal::TcParseTable<0, 2,
                          2, 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 CommentData_Attribution& from_msg);
    union KindUnion {
      constexpr KindUnion() : _constinit_{} {}
      ::google::protobuf::internal::ConstantInitialized _constinit_;
      ::sync_pb::CommentData_Attribution_CommentTarget* PROTOBUF_NULLABLE top_level_;
      ::sync_pb::CommentData_Attribution_InReplyTo* PROTOBUF_NULLABLE parent_;
    } kind_;
    ::google::protobuf::internal::CachedSize _cached_size_;
    ::uint32_t _oneof_case_[1];
    PROTOBUF_TSAN_DECLARE_MEMBER
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_components_2fsync_2fprotocol_2fshared_5fcomment_5fspecifics_2eproto;
};
// -------------------------------------------------------------------

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

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

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

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

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

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

  explicit CommentData(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  CommentData(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const CommentData& from);
  CommentData(
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, CommentData&& from) noexcept
      : CommentData(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 Attribution = CommentData_Attribution;
  using OrderKey = CommentData_OrderKey;

  // accessors -------------------------------------------------------
  enum : int {
    kTextFieldNumber = 1,
    kAttributionFieldNumber = 2,
    kOrderKeyFieldNumber = 3,
  };
  // optional string text = 1;
  bool has_text()
      const;
  void clear_text() ;
  const ::std::string& text() const;
  template <typename Arg_ = const ::std::string&, typename... Args_>
  void set_text(Arg_&& arg, Args_... args);
  ::std::string* PROTOBUF_NONNULL mutable_text();
  ::std::string* PROTOBUF_NULLABLE release_text();
  void set_allocated_text(::std::string* PROTOBUF_NULLABLE value);

  private:
  const ::std::string& _internal_text() const;
  PROTOBUF_ALWAYS_INLINE void _internal_set_text(const ::std::string& value);
  ::std::string* PROTOBUF_NONNULL _internal_mutable_text();

  public:
  // optional .sync_pb.CommentData.Attribution attribution = 2;
  bool has_attribution()
      const;
  void clear_attribution() ;
  const ::sync_pb::CommentData_Attribution& attribution() const;
  ::sync_pb::CommentData_Attribution* PROTOBUF_NULLABLE release_attribution();
  ::sync_pb::CommentData_Attribution* PROTOBUF_NONNULL mutable_attribution();
  void set_allocated_attribution(::sync_pb::CommentData_Attribution* PROTOBUF_NULLABLE value);
  void unsafe_arena_set_allocated_attribution(::sync_pb::CommentData_Attribution* PROTOBUF_NULLABLE value);
  ::sync_pb::CommentData_Attribution* PROTOBUF_NULLABLE unsafe_arena_release_attribution();

  private:
  const ::sync_pb::CommentData_Attribution& _internal_attribution() const;
  ::sync_pb::CommentData_Attribution* PROTOBUF_NONNULL _internal_mutable_attribution();

  public:
  // optional .sync_pb.CommentData.OrderKey order_key = 3;
  bool has_order_key()
      const;
  void clear_order_key() ;
  const ::sync_pb::CommentData_OrderKey& order_key() const;
  ::sync_pb::CommentData_OrderKey* PROTOBUF_NULLABLE release_order_key();
  ::sync_pb::CommentData_OrderKey* PROTOBUF_NONNULL mutable_order_key();
  void set_allocated_order_key(::sync_pb::CommentData_OrderKey* PROTOBUF_NULLABLE value);
  void unsafe_arena_set_allocated_order_key(::sync_pb::CommentData_OrderKey* PROTOBUF_NULLABLE value);
  ::sync_pb::CommentData_OrderKey* PROTOBUF_NULLABLE unsafe_arena_release_order_key();

  private:
  const ::sync_pb::CommentData_OrderKey& _internal_order_key() const;
  ::sync_pb::CommentData_OrderKey* PROTOBUF_NONNULL _internal_mutable_order_key();

  public:
  // @@protoc_insertion_point(class_scope:sync_pb.CommentData)
 private:
  class _Internal;
  using ParseTableT_ =
      ::google::protobuf::internal::TcParseTable<2, 3,
                          2, 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 CommentData& from_msg);
    ::google::protobuf::internal::HasBits<1> _has_bits_;
    ::google::protobuf::internal::CachedSize _cached_size_;
    ::google::protobuf::internal::ArenaStringPtr text_;
    ::sync_pb::CommentData_Attribution* PROTOBUF_NULLABLE attribution_;
    ::sync_pb::CommentData_OrderKey* PROTOBUF_NULLABLE order_key_;
    PROTOBUF_TSAN_DECLARE_MEMBER
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_components_2fsync_2fprotocol_2fshared_5fcomment_5fspecifics_2eproto;
};
// -------------------------------------------------------------------

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

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

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

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

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

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

  explicit SharedCommentSpecifics(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  SharedCommentSpecifics(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SharedCommentSpecifics& from);
  SharedCommentSpecifics(
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SharedCommentSpecifics&& from) noexcept
      : SharedCommentSpecifics(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 {
    kUuidFieldNumber = 1,
    kContextIdFieldNumber = 2,
    kProtoVersionFieldNumber = 3,
    kCommentFieldNumber = 4,
    kSharedUrlContextFieldNumber = 5,
  };
  // optional string uuid = 1;
  bool has_uuid()
      const;
  void clear_uuid() ;
  const ::std::string& uuid() const;
  template <typename Arg_ = const ::std::string&, typename... Args_>
  void set_uuid(Arg_&& arg, Args_... args);
  ::std::string* PROTOBUF_NONNULL mutable_uuid();
  ::std::string* PROTOBUF_NULLABLE release_uuid();
  void set_allocated_uuid(::std::string* PROTOBUF_NULLABLE value);

  private:
  const ::std::string& _internal_uuid() const;
  PROTOBUF_ALWAYS_INLINE void _internal_set_uuid(const ::std::string& value);
  ::std::string* PROTOBUF_NONNULL _internal_mutable_uuid();

  public:
  // optional string context_id = 2;
  bool has_context_id()
      const;
  void clear_context_id() ;
  const ::std::string& context_id() const;
  template <typename Arg_ = const ::std::string&, typename... Args_>
  void set_context_id(Arg_&& arg, Args_... args);
  ::std::string* PROTOBUF_NONNULL mutable_context_id();
  ::std::string* PROTOBUF_NULLABLE release_context_id();
  void set_allocated_context_id(::std::string* PROTOBUF_NULLABLE value);

  private:
  const ::std::string& _internal_context_id() const;
  PROTOBUF_ALWAYS_INLINE void _internal_set_context_id(const ::std::string& value);
  ::std::string* PROTOBUF_NONNULL _internal_mutable_context_id();

  public:
  // optional int64 proto_version = 3;
  bool has_proto_version()
      const;
  void clear_proto_version() ;
  ::int64_t proto_version() const;
  void set_proto_version(::int64_t value);

  private:
  ::int64_t _internal_proto_version() const;
  void _internal_set_proto_version(::int64_t value);

  public:
  // .sync_pb.CommentData comment = 4;
  bool has_comment()
      const;
  private:
  bool _internal_has_comment() const;

  public:
  void clear_comment() ;
  const ::sync_pb::CommentData& comment() const;
  ::sync_pb::CommentData* PROTOBUF_NULLABLE release_comment();
  ::sync_pb::CommentData* PROTOBUF_NONNULL mutable_comment();
  void set_allocated_comment(::sync_pb::CommentData* PROTOBUF_NULLABLE value);
  void unsafe_arena_set_allocated_comment(::sync_pb::CommentData* PROTOBUF_NULLABLE value);
  ::sync_pb::CommentData* PROTOBUF_NULLABLE unsafe_arena_release_comment();

  private:
  const ::sync_pb::CommentData& _internal_comment() const;
  ::sync_pb::CommentData* PROTOBUF_NONNULL _internal_mutable_comment();

  public:
  // .sync_pb.SharedUrlContext shared_url_context = 5;
  bool has_shared_url_context()
      const;
  private:
  bool _internal_has_shared_url_context() const;

  public:
  void clear_shared_url_context() ;
  const ::sync_pb::SharedUrlContext& shared_url_context() const;
  ::sync_pb::SharedUrlContext* PROTOBUF_NULLABLE release_shared_url_context();
  ::sync_pb::SharedUrlContext* PROTOBUF_NONNULL mutable_shared_url_context();
  void set_allocated_shared_url_context(::sync_pb::SharedUrlContext* PROTOBUF_NULLABLE value);
  void unsafe_arena_set_allocated_shared_url_context(::sync_pb::SharedUrlContext* PROTOBUF_NULLABLE value);
  ::sync_pb::SharedUrlContext* PROTOBUF_NULLABLE unsafe_arena_release_shared_url_context();

  private:
  const ::sync_pb::SharedUrlContext& _internal_shared_url_context() const;
  ::sync_pb::SharedUrlContext* PROTOBUF_NONNULL _internal_mutable_shared_url_context();

  public:
  void clear_entity();
  EntityCase entity_case() const;
  // @@protoc_insertion_point(class_scope:sync_pb.SharedCommentSpecifics)
 private:
  class _Internal;
  void set_has_comment();
  void set_has_shared_url_context();
  inline bool has_entity() const;
  inline void clear_has_entity();
  using ParseTableT_ =
      ::google::protobuf::internal::TcParseTable<2, 5,
                          2, 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 SharedCommentSpecifics& from_msg);
    ::google::protobuf::internal::HasBits<1> _has_bits_;
    ::google::protobuf::internal::CachedSize _cached_size_;
    ::google::protobuf::internal::ArenaStringPtr uuid_;
    ::google::protobuf::internal::ArenaStringPtr context_id_;
    ::int64_t proto_version_;
    union EntityUnion {
      constexpr EntityUnion() : _constinit_{} {}
      ::google::protobuf::internal::ConstantInitialized _constinit_;
      ::sync_pb::CommentData* PROTOBUF_NULLABLE comment_;
      ::sync_pb::SharedUrlContext* PROTOBUF_NULLABLE shared_url_context_;
    } entity_;
    ::uint32_t _oneof_case_[1];
    PROTOBUF_TSAN_DECLARE_MEMBER
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_components_2fsync_2fprotocol_2fshared_5fcomment_5fspecifics_2eproto;
};

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




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


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

// SharedUrlContext_UrlRepresentation

// optional .sync_pb.SharedUrlContext.Source source = 1;
inline bool SharedUrlContext_UrlRepresentation::has_source() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
  return value;
}
inline void SharedUrlContext_UrlRepresentation::clear_source() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.source_ = 0;
  ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
}
inline ::sync_pb::SharedUrlContext_Source SharedUrlContext_UrlRepresentation::source() const {
  // @@protoc_insertion_point(field_get:sync_pb.SharedUrlContext.UrlRepresentation.source)
  return _internal_source();
}
inline void SharedUrlContext_UrlRepresentation::set_source(::sync_pb::SharedUrlContext_Source value) {
  _internal_set_source(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000004U);
  // @@protoc_insertion_point(field_set:sync_pb.SharedUrlContext.UrlRepresentation.source)
}
inline ::sync_pb::SharedUrlContext_Source SharedUrlContext_UrlRepresentation::_internal_source() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return static_cast<::sync_pb::SharedUrlContext_Source>(_impl_.source_);
}
inline void SharedUrlContext_UrlRepresentation::_internal_set_source(::sync_pb::SharedUrlContext_Source value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);

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

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

// optional string version = 3;
inline bool SharedUrlContext_UrlRepresentation::has_version() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
  return value;
}
inline void SharedUrlContext_UrlRepresentation::clear_version() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.version_.ClearToEmpty();
  ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
}
inline const ::std::string& SharedUrlContext_UrlRepresentation::version() const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:sync_pb.SharedUrlContext.UrlRepresentation.version)
  return _internal_version();
}
template <typename Arg_, typename... Args_>
PROTOBUF_ALWAYS_INLINE void SharedUrlContext_UrlRepresentation::set_version(Arg_&& arg, Args_... args) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  SetHasBit(_impl_._has_bits_[0], 0x00000002U);
  _impl_.version_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
  // @@protoc_insertion_point(field_set:sync_pb.SharedUrlContext.UrlRepresentation.version)
}
inline ::std::string* PROTOBUF_NONNULL SharedUrlContext_UrlRepresentation::mutable_version()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000002U);
  ::std::string* _s = _internal_mutable_version();
  // @@protoc_insertion_point(field_mutable:sync_pb.SharedUrlContext.UrlRepresentation.version)
  return _s;
}
inline const ::std::string& SharedUrlContext_UrlRepresentation::_internal_version() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.version_.Get();
}
inline void SharedUrlContext_UrlRepresentation::_internal_set_version(const ::std::string& value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.version_.Set(value, GetArena());
}
inline ::std::string* PROTOBUF_NONNULL SharedUrlContext_UrlRepresentation::_internal_mutable_version() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  return _impl_.version_.Mutable( GetArena());
}
inline ::std::string* PROTOBUF_NULLABLE SharedUrlContext_UrlRepresentation::release_version() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  // @@protoc_insertion_point(field_release:sync_pb.SharedUrlContext.UrlRepresentation.version)
  if (!CheckHasBit(_impl_._has_bits_[0], 0x00000002U)) {
    return nullptr;
  }
  ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
  auto* released = _impl_.version_.Release();
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
    _impl_.version_.Set("", GetArena());
  }
  return released;
}
inline void SharedUrlContext_UrlRepresentation::set_allocated_version(::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_.version_.SetAllocated(value, GetArena());
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.version_.IsDefault()) {
    _impl_.version_.Set("", GetArena());
  }
  // @@protoc_insertion_point(field_set_allocated:sync_pb.SharedUrlContext.UrlRepresentation.version)
}

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

// SharedUrlContext

// repeated .sync_pb.SharedUrlContext.UrlRepresentation representations = 1;
inline int SharedUrlContext::_internal_representations_size() const {
  return _internal_representations().size();
}
inline int SharedUrlContext::representations_size() const {
  return _internal_representations_size();
}
inline void SharedUrlContext::clear_representations() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.representations_.Clear();
  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
}
inline const ::sync_pb::SharedUrlContext_UrlRepresentation& SharedUrlContext::representations(int index) const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:sync_pb.SharedUrlContext.representations)
  return _internal_representations().Get(index);
}
inline ::sync_pb::SharedUrlContext_UrlRepresentation* PROTOBUF_NONNULL SharedUrlContext::mutable_representations(int index)
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_mutable:sync_pb.SharedUrlContext.representations)
  return _internal_mutable_representations()->Mutable(index);
}
inline ::sync_pb::SharedUrlContext_UrlRepresentation* PROTOBUF_NONNULL SharedUrlContext::add_representations()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  ::sync_pb::SharedUrlContext_UrlRepresentation* _add =
      _internal_mutable_representations()->InternalAddWithArena(
          ::google::protobuf::MessageLite::internal_visibility(), GetArena());
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  // @@protoc_insertion_point(field_add:sync_pb.SharedUrlContext.representations)
  return _add;
}
inline const ::google::protobuf::RepeatedPtrField<::sync_pb::SharedUrlContext_UrlRepresentation>& SharedUrlContext::representations() const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_list:sync_pb.SharedUrlContext.representations)
  return _internal_representations();
}
inline ::google::protobuf::RepeatedPtrField<::sync_pb::SharedUrlContext_UrlRepresentation>* PROTOBUF_NONNULL
SharedUrlContext::mutable_representations() ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  // @@protoc_insertion_point(field_mutable_list:sync_pb.SharedUrlContext.representations)
  ::google::protobuf::internal::TSanWrite(&_impl_);
  return _internal_mutable_representations();
}
inline const ::google::protobuf::RepeatedPtrField<::sync_pb::SharedUrlContext_UrlRepresentation>&
SharedUrlContext::_internal_representations() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.representations_;
}
inline ::google::protobuf::RepeatedPtrField<::sync_pb::SharedUrlContext_UrlRepresentation>* PROTOBUF_NONNULL
SharedUrlContext::_internal_mutable_representations() {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return &_impl_.representations_;
}

// optional string title = 2;
inline bool SharedUrlContext::has_title() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
  return value;
}
inline void SharedUrlContext::clear_title() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.title_.ClearToEmpty();
  ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
}
inline const ::std::string& SharedUrlContext::title() const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:sync_pb.SharedUrlContext.title)
  return _internal_title();
}
template <typename Arg_, typename... Args_>
PROTOBUF_ALWAYS_INLINE void SharedUrlContext::set_title(Arg_&& arg, Args_... args) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  SetHasBit(_impl_._has_bits_[0], 0x00000002U);
  _impl_.title_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
  // @@protoc_insertion_point(field_set:sync_pb.SharedUrlContext.title)
}
inline ::std::string* PROTOBUF_NONNULL SharedUrlContext::mutable_title()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000002U);
  ::std::string* _s = _internal_mutable_title();
  // @@protoc_insertion_point(field_mutable:sync_pb.SharedUrlContext.title)
  return _s;
}
inline const ::std::string& SharedUrlContext::_internal_title() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.title_.Get();
}
inline void SharedUrlContext::_internal_set_title(const ::std::string& value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.title_.Set(value, GetArena());
}
inline ::std::string* PROTOBUF_NONNULL SharedUrlContext::_internal_mutable_title() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  return _impl_.title_.Mutable( GetArena());
}
inline ::std::string* PROTOBUF_NULLABLE SharedUrlContext::release_title() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  // @@protoc_insertion_point(field_release:sync_pb.SharedUrlContext.title)
  if (!CheckHasBit(_impl_._has_bits_[0], 0x00000002U)) {
    return nullptr;
  }
  ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
  auto* released = _impl_.title_.Release();
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
    _impl_.title_.Set("", GetArena());
  }
  return released;
}
inline void SharedUrlContext::set_allocated_title(::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_.title_.SetAllocated(value, GetArena());
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.title_.IsDefault()) {
    _impl_.title_.Set("", GetArena());
  }
  // @@protoc_insertion_point(field_set_allocated:sync_pb.SharedUrlContext.title)
}

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

// CommentData_Attribution_CommentTarget_FragmentLink

// optional string fragment = 1;
inline bool CommentData_Attribution_CommentTarget_FragmentLink::has_fragment() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
  return value;
}
inline void CommentData_Attribution_CommentTarget_FragmentLink::clear_fragment() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.fragment_.ClearToEmpty();
  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
}
inline const ::std::string& CommentData_Attribution_CommentTarget_FragmentLink::fragment() const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:sync_pb.CommentData.Attribution.CommentTarget.FragmentLink.fragment)
  return _internal_fragment();
}
template <typename Arg_, typename... Args_>
PROTOBUF_ALWAYS_INLINE void CommentData_Attribution_CommentTarget_FragmentLink::set_fragment(Arg_&& arg, Args_... args) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  _impl_.fragment_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
  // @@protoc_insertion_point(field_set:sync_pb.CommentData.Attribution.CommentTarget.FragmentLink.fragment)
}
inline ::std::string* PROTOBUF_NONNULL CommentData_Attribution_CommentTarget_FragmentLink::mutable_fragment()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  ::std::string* _s = _internal_mutable_fragment();
  // @@protoc_insertion_point(field_mutable:sync_pb.CommentData.Attribution.CommentTarget.FragmentLink.fragment)
  return _s;
}
inline const ::std::string& CommentData_Attribution_CommentTarget_FragmentLink::_internal_fragment() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.fragment_.Get();
}
inline void CommentData_Attribution_CommentTarget_FragmentLink::_internal_set_fragment(const ::std::string& value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.fragment_.Set(value, GetArena());
}
inline ::std::string* PROTOBUF_NONNULL CommentData_Attribution_CommentTarget_FragmentLink::_internal_mutable_fragment() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  return _impl_.fragment_.Mutable( GetArena());
}
inline ::std::string* PROTOBUF_NULLABLE CommentData_Attribution_CommentTarget_FragmentLink::release_fragment() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  // @@protoc_insertion_point(field_release:sync_pb.CommentData.Attribution.CommentTarget.FragmentLink.fragment)
  if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) {
    return nullptr;
  }
  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
  auto* released = _impl_.fragment_.Release();
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
    _impl_.fragment_.Set("", GetArena());
  }
  return released;
}
inline void CommentData_Attribution_CommentTarget_FragmentLink::set_allocated_fragment(::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_.fragment_.SetAllocated(value, GetArena());
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.fragment_.IsDefault()) {
    _impl_.fragment_.Set("", GetArena());
  }
  // @@protoc_insertion_point(field_set_allocated:sync_pb.CommentData.Attribution.CommentTarget.FragmentLink.fragment)
}

// optional string text_preview = 2;
inline bool CommentData_Attribution_CommentTarget_FragmentLink::has_text_preview() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
  return value;
}
inline void CommentData_Attribution_CommentTarget_FragmentLink::clear_text_preview() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.text_preview_.ClearToEmpty();
  ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
}
inline const ::std::string& CommentData_Attribution_CommentTarget_FragmentLink::text_preview() const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:sync_pb.CommentData.Attribution.CommentTarget.FragmentLink.text_preview)
  return _internal_text_preview();
}
template <typename Arg_, typename... Args_>
PROTOBUF_ALWAYS_INLINE void CommentData_Attribution_CommentTarget_FragmentLink::set_text_preview(Arg_&& arg, Args_... args) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  SetHasBit(_impl_._has_bits_[0], 0x00000002U);
  _impl_.text_preview_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
  // @@protoc_insertion_point(field_set:sync_pb.CommentData.Attribution.CommentTarget.FragmentLink.text_preview)
}
inline ::std::string* PROTOBUF_NONNULL CommentData_Attribution_CommentTarget_FragmentLink::mutable_text_preview()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000002U);
  ::std::string* _s = _internal_mutable_text_preview();
  // @@protoc_insertion_point(field_mutable:sync_pb.CommentData.Attribution.CommentTarget.FragmentLink.text_preview)
  return _s;
}
inline const ::std::string& CommentData_Attribution_CommentTarget_FragmentLink::_internal_text_preview() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.text_preview_.Get();
}
inline void CommentData_Attribution_CommentTarget_FragmentLink::_internal_set_text_preview(const ::std::string& value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.text_preview_.Set(value, GetArena());
}
inline ::std::string* PROTOBUF_NONNULL CommentData_Attribution_CommentTarget_FragmentLink::_internal_mutable_text_preview() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  return _impl_.text_preview_.Mutable( GetArena());
}
inline ::std::string* PROTOBUF_NULLABLE CommentData_Attribution_CommentTarget_FragmentLink::release_text_preview() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  // @@protoc_insertion_point(field_release:sync_pb.CommentData.Attribution.CommentTarget.FragmentLink.text_preview)
  if (!CheckHasBit(_impl_._has_bits_[0], 0x00000002U)) {
    return nullptr;
  }
  ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
  auto* released = _impl_.text_preview_.Release();
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
    _impl_.text_preview_.Set("", GetArena());
  }
  return released;
}
inline void CommentData_Attribution_CommentTarget_FragmentLink::set_allocated_text_preview(::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_.text_preview_.SetAllocated(value, GetArena());
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.text_preview_.IsDefault()) {
    _impl_.text_preview_.Set("", GetArena());
  }
  // @@protoc_insertion_point(field_set_allocated:sync_pb.CommentData.Attribution.CommentTarget.FragmentLink.text_preview)
}

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

// CommentData_Attribution_CommentTarget

// optional string shared_url_context_uuid = 1;
inline bool CommentData_Attribution_CommentTarget::has_shared_url_context_uuid() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
  return value;
}
inline void CommentData_Attribution_CommentTarget::clear_shared_url_context_uuid() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.shared_url_context_uuid_.ClearToEmpty();
  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
}
inline const ::std::string& CommentData_Attribution_CommentTarget::shared_url_context_uuid() const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:sync_pb.CommentData.Attribution.CommentTarget.shared_url_context_uuid)
  return _internal_shared_url_context_uuid();
}
template <typename Arg_, typename... Args_>
PROTOBUF_ALWAYS_INLINE void CommentData_Attribution_CommentTarget::set_shared_url_context_uuid(Arg_&& arg, Args_... args) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  _impl_.shared_url_context_uuid_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
  // @@protoc_insertion_point(field_set:sync_pb.CommentData.Attribution.CommentTarget.shared_url_context_uuid)
}
inline ::std::string* PROTOBUF_NONNULL CommentData_Attribution_CommentTarget::mutable_shared_url_context_uuid()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  ::std::string* _s = _internal_mutable_shared_url_context_uuid();
  // @@protoc_insertion_point(field_mutable:sync_pb.CommentData.Attribution.CommentTarget.shared_url_context_uuid)
  return _s;
}
inline const ::std::string& CommentData_Attribution_CommentTarget::_internal_shared_url_context_uuid() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.shared_url_context_uuid_.Get();
}
inline void CommentData_Attribution_CommentTarget::_internal_set_shared_url_context_uuid(const ::std::string& value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.shared_url_context_uuid_.Set(value, GetArena());
}
inline ::std::string* PROTOBUF_NONNULL CommentData_Attribution_CommentTarget::_internal_mutable_shared_url_context_uuid() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  return _impl_.shared_url_context_uuid_.Mutable( GetArena());
}
inline ::std::string* PROTOBUF_NULLABLE CommentData_Attribution_CommentTarget::release_shared_url_context_uuid() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  // @@protoc_insertion_point(field_release:sync_pb.CommentData.Attribution.CommentTarget.shared_url_context_uuid)
  if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) {
    return nullptr;
  }
  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
  auto* released = _impl_.shared_url_context_uuid_.Release();
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
    _impl_.shared_url_context_uuid_.Set("", GetArena());
  }
  return released;
}
inline void CommentData_Attribution_CommentTarget::set_allocated_shared_url_context_uuid(::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_.shared_url_context_uuid_.SetAllocated(value, GetArena());
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.shared_url_context_uuid_.IsDefault()) {
    _impl_.shared_url_context_uuid_.Set("", GetArena());
  }
  // @@protoc_insertion_point(field_set_allocated:sync_pb.CommentData.Attribution.CommentTarget.shared_url_context_uuid)
}

// optional .sync_pb.CommentData.Attribution.CommentTarget.FragmentLink link_fragment = 2;
inline bool CommentData_Attribution_CommentTarget::has_link_fragment() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
  PROTOBUF_ASSUME(!value || _impl_.link_fragment_ != nullptr);
  return value;
}
inline void CommentData_Attribution_CommentTarget::clear_link_fragment() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (_impl_.link_fragment_ != nullptr) _impl_.link_fragment_->Clear();
  ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
}
inline const ::sync_pb::CommentData_Attribution_CommentTarget_FragmentLink& CommentData_Attribution_CommentTarget::_internal_link_fragment() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  const ::sync_pb::CommentData_Attribution_CommentTarget_FragmentLink* p = _impl_.link_fragment_;
  return p != nullptr ? *p : *::google::protobuf::internal::MessageGlobalsBase::ToDefaultInstance<::sync_pb::CommentData_Attribution_CommentTarget_FragmentLink>(&::sync_pb::CommentData_Attribution_CommentTarget_FragmentLink_globals_);
}
inline const ::sync_pb::CommentData_Attribution_CommentTarget_FragmentLink& CommentData_Attribution_CommentTarget::link_fragment() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:sync_pb.CommentData.Attribution.CommentTarget.link_fragment)
  return _internal_link_fragment();
}
inline void CommentData_Attribution_CommentTarget::unsafe_arena_set_allocated_link_fragment(
    ::sync_pb::CommentData_Attribution_CommentTarget_FragmentLink* PROTOBUF_NULLABLE value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (GetArena() == nullptr) {
    delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.link_fragment_);
  }
  _impl_.link_fragment_ = reinterpret_cast<::sync_pb::CommentData_Attribution_CommentTarget_FragmentLink*>(value);
  if (value != nullptr) {
    SetHasBit(_impl_._has_bits_[0], 0x00000002U);
  } else {
    ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:sync_pb.CommentData.Attribution.CommentTarget.link_fragment)
}
inline ::sync_pb::CommentData_Attribution_CommentTarget_FragmentLink* PROTOBUF_NULLABLE CommentData_Attribution_CommentTarget::release_link_fragment() {
  ::google::protobuf::internal::TSanWrite(&_impl_);

  ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
  ::sync_pb::CommentData_Attribution_CommentTarget_FragmentLink* released = _impl_.link_fragment_;
  _impl_.link_fragment_ = 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::CommentData_Attribution_CommentTarget_FragmentLink* PROTOBUF_NULLABLE CommentData_Attribution_CommentTarget::unsafe_arena_release_link_fragment() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  // @@protoc_insertion_point(field_release:sync_pb.CommentData.Attribution.CommentTarget.link_fragment)

  ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
  ::sync_pb::CommentData_Attribution_CommentTarget_FragmentLink* temp = _impl_.link_fragment_;
  _impl_.link_fragment_ = nullptr;
  return temp;
}
inline ::sync_pb::CommentData_Attribution_CommentTarget_FragmentLink* PROTOBUF_NONNULL CommentData_Attribution_CommentTarget::_internal_mutable_link_fragment() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (_impl_.link_fragment_ == nullptr) {
    auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::sync_pb::CommentData_Attribution_CommentTarget_FragmentLink>(GetArena());
    _impl_.link_fragment_ = reinterpret_cast<::sync_pb::CommentData_Attribution_CommentTarget_FragmentLink*>(p);
  }
  return _impl_.link_fragment_;
}
inline ::sync_pb::CommentData_Attribution_CommentTarget_FragmentLink* PROTOBUF_NONNULL CommentData_Attribution_CommentTarget::mutable_link_fragment()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000002U);
  ::sync_pb::CommentData_Attribution_CommentTarget_FragmentLink* _msg = _internal_mutable_link_fragment();
  // @@protoc_insertion_point(field_mutable:sync_pb.CommentData.Attribution.CommentTarget.link_fragment)
  return _msg;
}
inline void CommentData_Attribution_CommentTarget::set_allocated_link_fragment(::sync_pb::CommentData_Attribution_CommentTarget_FragmentLink* 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_.link_fragment_);
  }

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

  _impl_.link_fragment_ = reinterpret_cast<::sync_pb::CommentData_Attribution_CommentTarget_FragmentLink*>(value);
  // @@protoc_insertion_point(field_set_allocated:sync_pb.CommentData.Attribution.CommentTarget.link_fragment)
}

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

// CommentData_Attribution_InReplyTo

// optional string parent_id = 1;
inline bool CommentData_Attribution_InReplyTo::has_parent_id() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
  return value;
}
inline void CommentData_Attribution_InReplyTo::clear_parent_id() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.parent_id_.ClearToEmpty();
  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
}
inline const ::std::string& CommentData_Attribution_InReplyTo::parent_id() const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:sync_pb.CommentData.Attribution.InReplyTo.parent_id)
  return _internal_parent_id();
}
template <typename Arg_, typename... Args_>
PROTOBUF_ALWAYS_INLINE void CommentData_Attribution_InReplyTo::set_parent_id(Arg_&& arg, Args_... args) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  _impl_.parent_id_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
  // @@protoc_insertion_point(field_set:sync_pb.CommentData.Attribution.InReplyTo.parent_id)
}
inline ::std::string* PROTOBUF_NONNULL CommentData_Attribution_InReplyTo::mutable_parent_id()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  ::std::string* _s = _internal_mutable_parent_id();
  // @@protoc_insertion_point(field_mutable:sync_pb.CommentData.Attribution.InReplyTo.parent_id)
  return _s;
}
inline const ::std::string& CommentData_Attribution_InReplyTo::_internal_parent_id() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.parent_id_.Get();
}
inline void CommentData_Attribution_InReplyTo::_internal_set_parent_id(const ::std::string& value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.parent_id_.Set(value, GetArena());
}
inline ::std::string* PROTOBUF_NONNULL CommentData_Attribution_InReplyTo::_internal_mutable_parent_id() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  return _impl_.parent_id_.Mutable( GetArena());
}
inline ::std::string* PROTOBUF_NULLABLE CommentData_Attribution_InReplyTo::release_parent_id() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  // @@protoc_insertion_point(field_release:sync_pb.CommentData.Attribution.InReplyTo.parent_id)
  if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) {
    return nullptr;
  }
  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
  auto* released = _impl_.parent_id_.Release();
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
    _impl_.parent_id_.Set("", GetArena());
  }
  return released;
}
inline void CommentData_Attribution_InReplyTo::set_allocated_parent_id(::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_.parent_id_.SetAllocated(value, GetArena());
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.parent_id_.IsDefault()) {
    _impl_.parent_id_.Set("", GetArena());
  }
  // @@protoc_insertion_point(field_set_allocated:sync_pb.CommentData.Attribution.InReplyTo.parent_id)
}

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

// CommentData_Attribution

// .sync_pb.CommentData.Attribution.CommentTarget top_level = 1;
inline bool CommentData_Attribution::has_top_level() const {
  return kind_case() == kTopLevel;
}
inline bool CommentData_Attribution::_internal_has_top_level() const {
  return kind_case() == kTopLevel;
}
inline void CommentData_Attribution::set_has_top_level() {
  _impl_._oneof_case_[0] = kTopLevel;
}
inline void CommentData_Attribution::clear_top_level() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (kind_case() == kTopLevel) {
    if (GetArena() == nullptr) {
      delete _impl_.kind_.top_level_;
    } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
      if (_impl_.kind_.top_level_ != nullptr) {
        _impl_.kind_.top_level_->Clear();
      }
    }
    clear_has_kind();
  }
}
inline ::sync_pb::CommentData_Attribution_CommentTarget* PROTOBUF_NULLABLE CommentData_Attribution::release_top_level() {
  // @@protoc_insertion_point(field_release:sync_pb.CommentData.Attribution.top_level)
  if (kind_case() == kTopLevel) {
    clear_has_kind();
    auto* temp = _impl_.kind_.top_level_;
    if (GetArena() != nullptr) {
      temp = ::google::protobuf::internal::DuplicateIfNonNull(temp);
    }
    _impl_.kind_.top_level_ = nullptr;
    return temp;
  } else {
    return nullptr;
  }
}
inline const ::sync_pb::CommentData_Attribution_CommentTarget& CommentData_Attribution::_internal_top_level() const {
  return kind_case() == kTopLevel ? static_cast<const ::sync_pb::CommentData_Attribution_CommentTarget&>(*_impl_.kind_.top_level_)
                     : *::google::protobuf::internal::MessageGlobalsBase::ToDefaultInstance<::sync_pb::CommentData_Attribution_CommentTarget>(&::sync_pb::CommentData_Attribution_CommentTarget_globals_);
}
inline const ::sync_pb::CommentData_Attribution_CommentTarget& CommentData_Attribution::top_level() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:sync_pb.CommentData.Attribution.top_level)
  return _internal_top_level();
}
inline ::sync_pb::CommentData_Attribution_CommentTarget* PROTOBUF_NULLABLE CommentData_Attribution::unsafe_arena_release_top_level() {
  // @@protoc_insertion_point(field_unsafe_arena_release:sync_pb.CommentData.Attribution.top_level)
  if (kind_case() == kTopLevel) {
    clear_has_kind();
    auto* temp = _impl_.kind_.top_level_;
    _impl_.kind_.top_level_ = nullptr;
    return temp;
  } else {
    return nullptr;
  }
}
inline void CommentData_Attribution::unsafe_arena_set_allocated_top_level(
    ::sync_pb::CommentData_Attribution_CommentTarget* 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_kind();
  if (value) {
    set_has_top_level();
    _impl_.kind_.top_level_ = value;
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:sync_pb.CommentData.Attribution.top_level)
}
inline ::sync_pb::CommentData_Attribution_CommentTarget* PROTOBUF_NONNULL CommentData_Attribution::_internal_mutable_top_level() {
  if (kind_case() != kTopLevel) {
    clear_kind();
    set_has_top_level();
    _impl_.kind_.top_level_ = 
        ::google::protobuf::MessageLite::DefaultConstruct<::sync_pb::CommentData_Attribution_CommentTarget>(GetArena());
  }
  return _impl_.kind_.top_level_;
}
inline ::sync_pb::CommentData_Attribution_CommentTarget* PROTOBUF_NONNULL CommentData_Attribution::mutable_top_level()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  ::sync_pb::CommentData_Attribution_CommentTarget* _msg = _internal_mutable_top_level();
  // @@protoc_insertion_point(field_mutable:sync_pb.CommentData.Attribution.top_level)
  return _msg;
}

// .sync_pb.CommentData.Attribution.InReplyTo parent = 2;
inline bool CommentData_Attribution::has_parent() const {
  return kind_case() == kParent;
}
inline bool CommentData_Attribution::_internal_has_parent() const {
  return kind_case() == kParent;
}
inline void CommentData_Attribution::set_has_parent() {
  _impl_._oneof_case_[0] = kParent;
}
inline void CommentData_Attribution::clear_parent() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (kind_case() == kParent) {
    if (GetArena() == nullptr) {
      delete _impl_.kind_.parent_;
    } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
      if (_impl_.kind_.parent_ != nullptr) {
        _impl_.kind_.parent_->Clear();
      }
    }
    clear_has_kind();
  }
}
inline ::sync_pb::CommentData_Attribution_InReplyTo* PROTOBUF_NULLABLE CommentData_Attribution::release_parent() {
  // @@protoc_insertion_point(field_release:sync_pb.CommentData.Attribution.parent)
  if (kind_case() == kParent) {
    clear_has_kind();
    auto* temp = _impl_.kind_.parent_;
    if (GetArena() != nullptr) {
      temp = ::google::protobuf::internal::DuplicateIfNonNull(temp);
    }
    _impl_.kind_.parent_ = nullptr;
    return temp;
  } else {
    return nullptr;
  }
}
inline const ::sync_pb::CommentData_Attribution_InReplyTo& CommentData_Attribution::_internal_parent() const {
  return kind_case() == kParent ? static_cast<const ::sync_pb::CommentData_Attribution_InReplyTo&>(*_impl_.kind_.parent_)
                     : *::google::protobuf::internal::MessageGlobalsBase::ToDefaultInstance<::sync_pb::CommentData_Attribution_InReplyTo>(&::sync_pb::CommentData_Attribution_InReplyTo_globals_);
}
inline const ::sync_pb::CommentData_Attribution_InReplyTo& CommentData_Attribution::parent() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:sync_pb.CommentData.Attribution.parent)
  return _internal_parent();
}
inline ::sync_pb::CommentData_Attribution_InReplyTo* PROTOBUF_NULLABLE CommentData_Attribution::unsafe_arena_release_parent() {
  // @@protoc_insertion_point(field_unsafe_arena_release:sync_pb.CommentData.Attribution.parent)
  if (kind_case() == kParent) {
    clear_has_kind();
    auto* temp = _impl_.kind_.parent_;
    _impl_.kind_.parent_ = nullptr;
    return temp;
  } else {
    return nullptr;
  }
}
inline void CommentData_Attribution::unsafe_arena_set_allocated_parent(
    ::sync_pb::CommentData_Attribution_InReplyTo* 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_kind();
  if (value) {
    set_has_parent();
    _impl_.kind_.parent_ = value;
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:sync_pb.CommentData.Attribution.parent)
}
inline ::sync_pb::CommentData_Attribution_InReplyTo* PROTOBUF_NONNULL CommentData_Attribution::_internal_mutable_parent() {
  if (kind_case() != kParent) {
    clear_kind();
    set_has_parent();
    _impl_.kind_.parent_ = 
        ::google::protobuf::MessageLite::DefaultConstruct<::sync_pb::CommentData_Attribution_InReplyTo>(GetArena());
  }
  return _impl_.kind_.parent_;
}
inline ::sync_pb::CommentData_Attribution_InReplyTo* PROTOBUF_NONNULL CommentData_Attribution::mutable_parent()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  ::sync_pb::CommentData_Attribution_InReplyTo* _msg = _internal_mutable_parent();
  // @@protoc_insertion_point(field_mutable:sync_pb.CommentData.Attribution.parent)
  return _msg;
}

inline bool CommentData_Attribution::has_kind() const {
  return kind_case() != KIND_NOT_SET;
}
inline void CommentData_Attribution::clear_has_kind() {
  _impl_._oneof_case_[0] = KIND_NOT_SET;
}
inline CommentData_Attribution::KindCase CommentData_Attribution::kind_case() const {
  return CommentData_Attribution::KindCase(_impl_._oneof_case_[0]);
}
// -------------------------------------------------------------------

// CommentData_OrderKey

// optional string device_guid = 1;
inline bool CommentData_OrderKey::has_device_guid() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
  return value;
}
inline void CommentData_OrderKey::clear_device_guid() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.device_guid_.ClearToEmpty();
  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
}
inline const ::std::string& CommentData_OrderKey::device_guid() const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:sync_pb.CommentData.OrderKey.device_guid)
  return _internal_device_guid();
}
template <typename Arg_, typename... Args_>
PROTOBUF_ALWAYS_INLINE void CommentData_OrderKey::set_device_guid(Arg_&& arg, Args_... args) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  _impl_.device_guid_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
  // @@protoc_insertion_point(field_set:sync_pb.CommentData.OrderKey.device_guid)
}
inline ::std::string* PROTOBUF_NONNULL CommentData_OrderKey::mutable_device_guid()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  ::std::string* _s = _internal_mutable_device_guid();
  // @@protoc_insertion_point(field_mutable:sync_pb.CommentData.OrderKey.device_guid)
  return _s;
}
inline const ::std::string& CommentData_OrderKey::_internal_device_guid() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.device_guid_.Get();
}
inline void CommentData_OrderKey::_internal_set_device_guid(const ::std::string& value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.device_guid_.Set(value, GetArena());
}
inline ::std::string* PROTOBUF_NONNULL CommentData_OrderKey::_internal_mutable_device_guid() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  return _impl_.device_guid_.Mutable( GetArena());
}
inline ::std::string* PROTOBUF_NULLABLE CommentData_OrderKey::release_device_guid() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  // @@protoc_insertion_point(field_release:sync_pb.CommentData.OrderKey.device_guid)
  if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) {
    return nullptr;
  }
  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
  auto* released = _impl_.device_guid_.Release();
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
    _impl_.device_guid_.Set("", GetArena());
  }
  return released;
}
inline void CommentData_OrderKey::set_allocated_device_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_.device_guid_.SetAllocated(value, GetArena());
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.device_guid_.IsDefault()) {
    _impl_.device_guid_.Set("", GetArena());
  }
  // @@protoc_insertion_point(field_set_allocated:sync_pb.CommentData.OrderKey.device_guid)
}

// optional int64 local_sequence = 2;
inline bool CommentData_OrderKey::has_local_sequence() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
  return value;
}
inline void CommentData_OrderKey::clear_local_sequence() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.local_sequence_ = ::int64_t{0};
  ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
}
inline ::int64_t CommentData_OrderKey::local_sequence() const {
  // @@protoc_insertion_point(field_get:sync_pb.CommentData.OrderKey.local_sequence)
  return _internal_local_sequence();
}
inline void CommentData_OrderKey::set_local_sequence(::int64_t value) {
  _internal_set_local_sequence(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000002U);
  // @@protoc_insertion_point(field_set:sync_pb.CommentData.OrderKey.local_sequence)
}
inline ::int64_t CommentData_OrderKey::_internal_local_sequence() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.local_sequence_;
}
inline void CommentData_OrderKey::_internal_set_local_sequence(::int64_t value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.local_sequence_ = value;
}

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

// CommentData

// optional string text = 1;
inline bool CommentData::has_text() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
  return value;
}
inline void CommentData::clear_text() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.text_.ClearToEmpty();
  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
}
inline const ::std::string& CommentData::text() const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:sync_pb.CommentData.text)
  return _internal_text();
}
template <typename Arg_, typename... Args_>
PROTOBUF_ALWAYS_INLINE void CommentData::set_text(Arg_&& arg, Args_... args) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  _impl_.text_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
  // @@protoc_insertion_point(field_set:sync_pb.CommentData.text)
}
inline ::std::string* PROTOBUF_NONNULL CommentData::mutable_text()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  ::std::string* _s = _internal_mutable_text();
  // @@protoc_insertion_point(field_mutable:sync_pb.CommentData.text)
  return _s;
}
inline const ::std::string& CommentData::_internal_text() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.text_.Get();
}
inline void CommentData::_internal_set_text(const ::std::string& value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.text_.Set(value, GetArena());
}
inline ::std::string* PROTOBUF_NONNULL CommentData::_internal_mutable_text() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  return _impl_.text_.Mutable( GetArena());
}
inline ::std::string* PROTOBUF_NULLABLE CommentData::release_text() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  // @@protoc_insertion_point(field_release:sync_pb.CommentData.text)
  if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) {
    return nullptr;
  }
  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
  auto* released = _impl_.text_.Release();
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
    _impl_.text_.Set("", GetArena());
  }
  return released;
}
inline void CommentData::set_allocated_text(::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_.text_.SetAllocated(value, GetArena());
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.text_.IsDefault()) {
    _impl_.text_.Set("", GetArena());
  }
  // @@protoc_insertion_point(field_set_allocated:sync_pb.CommentData.text)
}

// optional .sync_pb.CommentData.Attribution attribution = 2;
inline bool CommentData::has_attribution() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
  PROTOBUF_ASSUME(!value || _impl_.attribution_ != nullptr);
  return value;
}
inline void CommentData::clear_attribution() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (_impl_.attribution_ != nullptr) _impl_.attribution_->Clear();
  ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
}
inline const ::sync_pb::CommentData_Attribution& CommentData::_internal_attribution() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  const ::sync_pb::CommentData_Attribution* p = _impl_.attribution_;
  return p != nullptr ? *p : *::google::protobuf::internal::MessageGlobalsBase::ToDefaultInstance<::sync_pb::CommentData_Attribution>(&::sync_pb::CommentData_Attribution_globals_);
}
inline const ::sync_pb::CommentData_Attribution& CommentData::attribution() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:sync_pb.CommentData.attribution)
  return _internal_attribution();
}
inline void CommentData::unsafe_arena_set_allocated_attribution(
    ::sync_pb::CommentData_Attribution* PROTOBUF_NULLABLE value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (GetArena() == nullptr) {
    delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.attribution_);
  }
  _impl_.attribution_ = reinterpret_cast<::sync_pb::CommentData_Attribution*>(value);
  if (value != nullptr) {
    SetHasBit(_impl_._has_bits_[0], 0x00000002U);
  } else {
    ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:sync_pb.CommentData.attribution)
}
inline ::sync_pb::CommentData_Attribution* PROTOBUF_NULLABLE CommentData::release_attribution() {
  ::google::protobuf::internal::TSanWrite(&_impl_);

  ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
  ::sync_pb::CommentData_Attribution* released = _impl_.attribution_;
  _impl_.attribution_ = 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::CommentData_Attribution* PROTOBUF_NULLABLE CommentData::unsafe_arena_release_attribution() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  // @@protoc_insertion_point(field_release:sync_pb.CommentData.attribution)

  ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
  ::sync_pb::CommentData_Attribution* temp = _impl_.attribution_;
  _impl_.attribution_ = nullptr;
  return temp;
}
inline ::sync_pb::CommentData_Attribution* PROTOBUF_NONNULL CommentData::_internal_mutable_attribution() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (_impl_.attribution_ == nullptr) {
    auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::sync_pb::CommentData_Attribution>(GetArena());
    _impl_.attribution_ = reinterpret_cast<::sync_pb::CommentData_Attribution*>(p);
  }
  return _impl_.attribution_;
}
inline ::sync_pb::CommentData_Attribution* PROTOBUF_NONNULL CommentData::mutable_attribution()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000002U);
  ::sync_pb::CommentData_Attribution* _msg = _internal_mutable_attribution();
  // @@protoc_insertion_point(field_mutable:sync_pb.CommentData.attribution)
  return _msg;
}
inline void CommentData::set_allocated_attribution(::sync_pb::CommentData_Attribution* 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_.attribution_);
  }

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

  _impl_.attribution_ = reinterpret_cast<::sync_pb::CommentData_Attribution*>(value);
  // @@protoc_insertion_point(field_set_allocated:sync_pb.CommentData.attribution)
}

// optional .sync_pb.CommentData.OrderKey order_key = 3;
inline bool CommentData::has_order_key() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
  PROTOBUF_ASSUME(!value || _impl_.order_key_ != nullptr);
  return value;
}
inline void CommentData::clear_order_key() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (_impl_.order_key_ != nullptr) _impl_.order_key_->Clear();
  ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
}
inline const ::sync_pb::CommentData_OrderKey& CommentData::_internal_order_key() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  const ::sync_pb::CommentData_OrderKey* p = _impl_.order_key_;
  return p != nullptr ? *p : *::google::protobuf::internal::MessageGlobalsBase::ToDefaultInstance<::sync_pb::CommentData_OrderKey>(&::sync_pb::CommentData_OrderKey_globals_);
}
inline const ::sync_pb::CommentData_OrderKey& CommentData::order_key() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:sync_pb.CommentData.order_key)
  return _internal_order_key();
}
inline void CommentData::unsafe_arena_set_allocated_order_key(
    ::sync_pb::CommentData_OrderKey* PROTOBUF_NULLABLE value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (GetArena() == nullptr) {
    delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.order_key_);
  }
  _impl_.order_key_ = reinterpret_cast<::sync_pb::CommentData_OrderKey*>(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.CommentData.order_key)
}
inline ::sync_pb::CommentData_OrderKey* PROTOBUF_NULLABLE CommentData::release_order_key() {
  ::google::protobuf::internal::TSanWrite(&_impl_);

  ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
  ::sync_pb::CommentData_OrderKey* released = _impl_.order_key_;
  _impl_.order_key_ = 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::CommentData_OrderKey* PROTOBUF_NULLABLE CommentData::unsafe_arena_release_order_key() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  // @@protoc_insertion_point(field_release:sync_pb.CommentData.order_key)

  ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
  ::sync_pb::CommentData_OrderKey* temp = _impl_.order_key_;
  _impl_.order_key_ = nullptr;
  return temp;
}
inline ::sync_pb::CommentData_OrderKey* PROTOBUF_NONNULL CommentData::_internal_mutable_order_key() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (_impl_.order_key_ == nullptr) {
    auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::sync_pb::CommentData_OrderKey>(GetArena());
    _impl_.order_key_ = reinterpret_cast<::sync_pb::CommentData_OrderKey*>(p);
  }
  return _impl_.order_key_;
}
inline ::sync_pb::CommentData_OrderKey* PROTOBUF_NONNULL CommentData::mutable_order_key()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000004U);
  ::sync_pb::CommentData_OrderKey* _msg = _internal_mutable_order_key();
  // @@protoc_insertion_point(field_mutable:sync_pb.CommentData.order_key)
  return _msg;
}
inline void CommentData::set_allocated_order_key(::sync_pb::CommentData_OrderKey* 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_.order_key_);
  }

  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_.order_key_ = reinterpret_cast<::sync_pb::CommentData_OrderKey*>(value);
  // @@protoc_insertion_point(field_set_allocated:sync_pb.CommentData.order_key)
}

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

// SharedCommentSpecifics

// optional string uuid = 1;
inline bool SharedCommentSpecifics::has_uuid() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
  return value;
}
inline void SharedCommentSpecifics::clear_uuid() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.uuid_.ClearToEmpty();
  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
}
inline const ::std::string& SharedCommentSpecifics::uuid() const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:sync_pb.SharedCommentSpecifics.uuid)
  return _internal_uuid();
}
template <typename Arg_, typename... Args_>
PROTOBUF_ALWAYS_INLINE void SharedCommentSpecifics::set_uuid(Arg_&& arg, Args_... args) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  _impl_.uuid_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
  // @@protoc_insertion_point(field_set:sync_pb.SharedCommentSpecifics.uuid)
}
inline ::std::string* PROTOBUF_NONNULL SharedCommentSpecifics::mutable_uuid()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  ::std::string* _s = _internal_mutable_uuid();
  // @@protoc_insertion_point(field_mutable:sync_pb.SharedCommentSpecifics.uuid)
  return _s;
}
inline const ::std::string& SharedCommentSpecifics::_internal_uuid() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.uuid_.Get();
}
inline void SharedCommentSpecifics::_internal_set_uuid(const ::std::string& value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.uuid_.Set(value, GetArena());
}
inline ::std::string* PROTOBUF_NONNULL SharedCommentSpecifics::_internal_mutable_uuid() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  return _impl_.uuid_.Mutable( GetArena());
}
inline ::std::string* PROTOBUF_NULLABLE SharedCommentSpecifics::release_uuid() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  // @@protoc_insertion_point(field_release:sync_pb.SharedCommentSpecifics.uuid)
  if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) {
    return nullptr;
  }
  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
  auto* released = _impl_.uuid_.Release();
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
    _impl_.uuid_.Set("", GetArena());
  }
  return released;
}
inline void SharedCommentSpecifics::set_allocated_uuid(::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_.uuid_.SetAllocated(value, GetArena());
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.uuid_.IsDefault()) {
    _impl_.uuid_.Set("", GetArena());
  }
  // @@protoc_insertion_point(field_set_allocated:sync_pb.SharedCommentSpecifics.uuid)
}

// optional string context_id = 2;
inline bool SharedCommentSpecifics::has_context_id() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
  return value;
}
inline void SharedCommentSpecifics::clear_context_id() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.context_id_.ClearToEmpty();
  ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
}
inline const ::std::string& SharedCommentSpecifics::context_id() const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:sync_pb.SharedCommentSpecifics.context_id)
  return _internal_context_id();
}
template <typename Arg_, typename... Args_>
PROTOBUF_ALWAYS_INLINE void SharedCommentSpecifics::set_context_id(Arg_&& arg, Args_... args) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  SetHasBit(_impl_._has_bits_[0], 0x00000002U);
  _impl_.context_id_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
  // @@protoc_insertion_point(field_set:sync_pb.SharedCommentSpecifics.context_id)
}
inline ::std::string* PROTOBUF_NONNULL SharedCommentSpecifics::mutable_context_id()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000002U);
  ::std::string* _s = _internal_mutable_context_id();
  // @@protoc_insertion_point(field_mutable:sync_pb.SharedCommentSpecifics.context_id)
  return _s;
}
inline const ::std::string& SharedCommentSpecifics::_internal_context_id() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.context_id_.Get();
}
inline void SharedCommentSpecifics::_internal_set_context_id(const ::std::string& value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.context_id_.Set(value, GetArena());
}
inline ::std::string* PROTOBUF_NONNULL SharedCommentSpecifics::_internal_mutable_context_id() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  return _impl_.context_id_.Mutable( GetArena());
}
inline ::std::string* PROTOBUF_NULLABLE SharedCommentSpecifics::release_context_id() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  // @@protoc_insertion_point(field_release:sync_pb.SharedCommentSpecifics.context_id)
  if (!CheckHasBit(_impl_._has_bits_[0], 0x00000002U)) {
    return nullptr;
  }
  ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
  auto* released = _impl_.context_id_.Release();
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
    _impl_.context_id_.Set("", GetArena());
  }
  return released;
}
inline void SharedCommentSpecifics::set_allocated_context_id(::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_.context_id_.SetAllocated(value, GetArena());
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.context_id_.IsDefault()) {
    _impl_.context_id_.Set("", GetArena());
  }
  // @@protoc_insertion_point(field_set_allocated:sync_pb.SharedCommentSpecifics.context_id)
}

// optional int64 proto_version = 3;
inline bool SharedCommentSpecifics::has_proto_version() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
  return value;
}
inline void SharedCommentSpecifics::clear_proto_version() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.proto_version_ = ::int64_t{0};
  ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
}
inline ::int64_t SharedCommentSpecifics::proto_version() const {
  // @@protoc_insertion_point(field_get:sync_pb.SharedCommentSpecifics.proto_version)
  return _internal_proto_version();
}
inline void SharedCommentSpecifics::set_proto_version(::int64_t value) {
  _internal_set_proto_version(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000004U);
  // @@protoc_insertion_point(field_set:sync_pb.SharedCommentSpecifics.proto_version)
}
inline ::int64_t SharedCommentSpecifics::_internal_proto_version() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.proto_version_;
}
inline void SharedCommentSpecifics::_internal_set_proto_version(::int64_t value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.proto_version_ = value;
}

// .sync_pb.CommentData comment = 4;
inline bool SharedCommentSpecifics::has_comment() const {
  return entity_case() == kComment;
}
inline bool SharedCommentSpecifics::_internal_has_comment() const {
  return entity_case() == kComment;
}
inline void SharedCommentSpecifics::set_has_comment() {
  _impl_._oneof_case_[0] = kComment;
}
inline void SharedCommentSpecifics::clear_comment() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (entity_case() == kComment) {
    if (GetArena() == nullptr) {
      delete _impl_.entity_.comment_;
    } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
      if (_impl_.entity_.comment_ != nullptr) {
        _impl_.entity_.comment_->Clear();
      }
    }
    clear_has_entity();
  }
}
inline ::sync_pb::CommentData* PROTOBUF_NULLABLE SharedCommentSpecifics::release_comment() {
  // @@protoc_insertion_point(field_release:sync_pb.SharedCommentSpecifics.comment)
  if (entity_case() == kComment) {
    clear_has_entity();
    auto* temp = _impl_.entity_.comment_;
    if (GetArena() != nullptr) {
      temp = ::google::protobuf::internal::DuplicateIfNonNull(temp);
    }
    _impl_.entity_.comment_ = nullptr;
    return temp;
  } else {
    return nullptr;
  }
}
inline const ::sync_pb::CommentData& SharedCommentSpecifics::_internal_comment() const {
  return entity_case() == kComment ? static_cast<const ::sync_pb::CommentData&>(*_impl_.entity_.comment_)
                     : *::google::protobuf::internal::MessageGlobalsBase::ToDefaultInstance<::sync_pb::CommentData>(&::sync_pb::CommentData_globals_);
}
inline const ::sync_pb::CommentData& SharedCommentSpecifics::comment() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:sync_pb.SharedCommentSpecifics.comment)
  return _internal_comment();
}
inline ::sync_pb::CommentData* PROTOBUF_NULLABLE SharedCommentSpecifics::unsafe_arena_release_comment() {
  // @@protoc_insertion_point(field_unsafe_arena_release:sync_pb.SharedCommentSpecifics.comment)
  if (entity_case() == kComment) {
    clear_has_entity();
    auto* temp = _impl_.entity_.comment_;
    _impl_.entity_.comment_ = nullptr;
    return temp;
  } else {
    return nullptr;
  }
}
inline void SharedCommentSpecifics::unsafe_arena_set_allocated_comment(
    ::sync_pb::CommentData* 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_comment();
    _impl_.entity_.comment_ = value;
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:sync_pb.SharedCommentSpecifics.comment)
}
inline ::sync_pb::CommentData* PROTOBUF_NONNULL SharedCommentSpecifics::_internal_mutable_comment() {
  if (entity_case() != kComment) {
    clear_entity();
    set_has_comment();
    _impl_.entity_.comment_ = 
        ::google::protobuf::MessageLite::DefaultConstruct<::sync_pb::CommentData>(GetArena());
  }
  return _impl_.entity_.comment_;
}
inline ::sync_pb::CommentData* PROTOBUF_NONNULL SharedCommentSpecifics::mutable_comment()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  ::sync_pb::CommentData* _msg = _internal_mutable_comment();
  // @@protoc_insertion_point(field_mutable:sync_pb.SharedCommentSpecifics.comment)
  return _msg;
}

// .sync_pb.SharedUrlContext shared_url_context = 5;
inline bool SharedCommentSpecifics::has_shared_url_context() const {
  return entity_case() == kSharedUrlContext;
}
inline bool SharedCommentSpecifics::_internal_has_shared_url_context() const {
  return entity_case() == kSharedUrlContext;
}
inline void SharedCommentSpecifics::set_has_shared_url_context() {
  _impl_._oneof_case_[0] = kSharedUrlContext;
}
inline void SharedCommentSpecifics::clear_shared_url_context() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (entity_case() == kSharedUrlContext) {
    if (GetArena() == nullptr) {
      delete _impl_.entity_.shared_url_context_;
    } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
      if (_impl_.entity_.shared_url_context_ != nullptr) {
        _impl_.entity_.shared_url_context_->Clear();
      }
    }
    clear_has_entity();
  }
}
inline ::sync_pb::SharedUrlContext* PROTOBUF_NULLABLE SharedCommentSpecifics::release_shared_url_context() {
  // @@protoc_insertion_point(field_release:sync_pb.SharedCommentSpecifics.shared_url_context)
  if (entity_case() == kSharedUrlContext) {
    clear_has_entity();
    auto* temp = _impl_.entity_.shared_url_context_;
    if (GetArena() != nullptr) {
      temp = ::google::protobuf::internal::DuplicateIfNonNull(temp);
    }
    _impl_.entity_.shared_url_context_ = nullptr;
    return temp;
  } else {
    return nullptr;
  }
}
inline const ::sync_pb::SharedUrlContext& SharedCommentSpecifics::_internal_shared_url_context() const {
  return entity_case() == kSharedUrlContext ? static_cast<const ::sync_pb::SharedUrlContext&>(*_impl_.entity_.shared_url_context_)
                     : *::google::protobuf::internal::MessageGlobalsBase::ToDefaultInstance<::sync_pb::SharedUrlContext>(&::sync_pb::SharedUrlContext_globals_);
}
inline const ::sync_pb::SharedUrlContext& SharedCommentSpecifics::shared_url_context() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:sync_pb.SharedCommentSpecifics.shared_url_context)
  return _internal_shared_url_context();
}
inline ::sync_pb::SharedUrlContext* PROTOBUF_NULLABLE SharedCommentSpecifics::unsafe_arena_release_shared_url_context() {
  // @@protoc_insertion_point(field_unsafe_arena_release:sync_pb.SharedCommentSpecifics.shared_url_context)
  if (entity_case() == kSharedUrlContext) {
    clear_has_entity();
    auto* temp = _impl_.entity_.shared_url_context_;
    _impl_.entity_.shared_url_context_ = nullptr;
    return temp;
  } else {
    return nullptr;
  }
}
inline void SharedCommentSpecifics::unsafe_arena_set_allocated_shared_url_context(
    ::sync_pb::SharedUrlContext* 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_shared_url_context();
    _impl_.entity_.shared_url_context_ = value;
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:sync_pb.SharedCommentSpecifics.shared_url_context)
}
inline ::sync_pb::SharedUrlContext* PROTOBUF_NONNULL SharedCommentSpecifics::_internal_mutable_shared_url_context() {
  if (entity_case() != kSharedUrlContext) {
    clear_entity();
    set_has_shared_url_context();
    _impl_.entity_.shared_url_context_ = 
        ::google::protobuf::MessageLite::DefaultConstruct<::sync_pb::SharedUrlContext>(GetArena());
  }
  return _impl_.entity_.shared_url_context_;
}
inline ::sync_pb::SharedUrlContext* PROTOBUF_NONNULL SharedCommentSpecifics::mutable_shared_url_context()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  ::sync_pb::SharedUrlContext* _msg = _internal_mutable_shared_url_context();
  // @@protoc_insertion_point(field_mutable:sync_pb.SharedCommentSpecifics.shared_url_context)
  return _msg;
}

inline bool SharedCommentSpecifics::has_entity() const {
  return entity_case() != ENTITY_NOT_SET;
}
inline void SharedCommentSpecifics::clear_has_entity() {
  _impl_._oneof_case_[0] = ENTITY_NOT_SET;
}
inline SharedCommentSpecifics::EntityCase SharedCommentSpecifics::entity_case() const {
  return SharedCommentSpecifics::EntityCase(_impl_._oneof_case_[0]);
}
#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::SharedUrlContext_Source> : std::true_type {};
template <>
struct internal::LiteEnumFuncs<::sync_pb::SharedUrlContext_Source> {
  static constexpr bool kIsDefined = true;
  static constexpr auto kParseFunc = ::sync_pb::SharedUrlContext_Source_Parse;
  static constexpr auto kNameFunc = ::sync_pb::SharedUrlContext_Source_Name<int>;
};

}  // namespace protobuf
}  // namespace google

// @@protoc_insertion_point(global_scope)

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

#endif  // components_2fsync_2fprotocol_2fshared_5fcomment_5fspecifics_2eproto_2epb_2eh
