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

#include "components/sync/protocol/shared_comment_specifics.pb.h"

#include <algorithm>
#include <type_traits>
#include "google/protobuf/io/coded_stream.h"
#include "google/protobuf/generated_message_tctable_impl.h"
#include "google/protobuf/internal_visibility.h"
#include "google/protobuf/extension_set.h"
#include "google/protobuf/generated_message_util.h"
#include "google/protobuf/wire_format_lite.h"
#include "google/protobuf/io/zero_copy_stream_impl_lite.h"
// @@protoc_insertion_point(includes)

// Must be included last.
#include "google/protobuf/port_def.inc"
PROTOBUF_PRAGMA_INIT_SEG
namespace _pb = ::google::protobuf;
namespace _pbi = ::google::protobuf::internal;
namespace _fl = ::google::protobuf::internal::field_layout;
namespace sync_pb {
class SharedUrlContext_UrlRepresentation::_Internal {
 public:
  using HasBits = decltype(::std::declval<SharedUrlContext_UrlRepresentation>()._impl_._has_bits_);
  static constexpr ::int32_t kHasBitsOffset =
      8 * PROTOBUF_FIELD_OFFSET(SharedUrlContext_UrlRepresentation, _impl_._has_bits_);
};

constexpr SharedUrlContext_UrlRepresentation::ParseTableT_ SharedUrlContext_UrlRepresentation::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(SharedUrlContext_UrlRepresentation, _impl_._has_bits_),
      0, // no _extensions_
      3, 24,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967288,  // skipmap
      offsetof(ParseTableT_, field_entries),
      3,  // num_field_entries
      1,  // num_aux_entries
      offsetof(ParseTableT_, aux_entries),
      class_data,
      nullptr,  // post_loop_handler
      ::_pbi::TcParser::GenericFallbackLite,  // fallback
      #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
      ::_pbi::TcParser::GetTable<::sync_pb::SharedUrlContext_UrlRepresentation>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      {::_pbi::TcParser::MiniParse, {}},
      // optional .sync_pb.SharedUrlContext.Source source = 1;
      {::_pbi::TcParser::FastEr0S1,
       {8, 2, 3,
        PROTOBUF_FIELD_OFFSET(SharedUrlContext_UrlRepresentation, _impl_.source_)}},
      // optional string value = 2;
      {::_pbi::TcParser::FastBS1,
       {18, 0, 0,
        PROTOBUF_FIELD_OFFSET(SharedUrlContext_UrlRepresentation, _impl_.value_)}},
      // optional string version = 3;
      {::_pbi::TcParser::FastBS1,
       {26, 1, 0,
        PROTOBUF_FIELD_OFFSET(SharedUrlContext_UrlRepresentation, _impl_.version_)}},
    }}, {{
      65535, 65535
    }}, {{
      // optional .sync_pb.SharedUrlContext.Source source = 1;
      {PROTOBUF_FIELD_OFFSET(SharedUrlContext_UrlRepresentation, _impl_.source_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kEnumRange)},
      // optional string value = 2;
      {PROTOBUF_FIELD_OFFSET(SharedUrlContext_UrlRepresentation, _impl_.value_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional string version = 3;
      {PROTOBUF_FIELD_OFFSET(SharedUrlContext_UrlRepresentation, _impl_.version_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
    }},
    {{
        {0, 3},
    }},
    {{
    }},
  };
}


inline constexpr SharedUrlContext_UrlRepresentation::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        value_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        version_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        source_{static_cast< ::sync_pb::SharedUrlContext_Source >(0)} {}

template <typename>
constexpr SharedUrlContext_UrlRepresentation::SharedUrlContext_UrlRepresentation(::_pbi::ConstantInitialized,
                       const ::_pbi::ClassData* PROTOBUF_NONNULL class_data)
    : ::google::protobuf::MessageLite(
#if defined(PROTOBUF_CUSTOM_VTABLE)
          class_data
#endif  // PROTOBUF_CUSTOM_VTABLE
          ),
      _impl_(internal_visibility(), ::_pbi::ConstantInitialized()) {
}
inline void* PROTOBUF_NONNULL SharedUrlContext_UrlRepresentation::PlacementNew_(
    const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
    ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
  return ::new (mem) SharedUrlContext_UrlRepresentation(arena);
}
constexpr auto SharedUrlContext_UrlRepresentation::InternalNewImpl_() {
  return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(SharedUrlContext_UrlRepresentation), alignof(SharedUrlContext_UrlRepresentation));
}
constexpr auto SharedUrlContext_UrlRepresentation::InternalGenerateClassData_(
    const MessageLite& prototype,
    const ::google::protobuf::internal::TcParseTableBase* tc_table) {
  return ::google::protobuf::internal::ClassDataLite{
      {
          &prototype,
#ifndef PROTOBUF_MESSAGE_GLOBALS
          &_table_.header,
#else
          tc_table,
#endif
          nullptr,  // IsInitialized
          &SharedUrlContext_UrlRepresentation::MergeImpl,
          ::google::protobuf::MessageLite::GetNewImpl<SharedUrlContext_UrlRepresentation>(),
#if defined(PROTOBUF_CUSTOM_VTABLE)
          &SharedUrlContext_UrlRepresentation::SharedDtor,
          ::google::protobuf::MessageLite::GetClearImpl<SharedUrlContext_UrlRepresentation>(), &SharedUrlContext_UrlRepresentation::ByteSizeLong,
              &SharedUrlContext_UrlRepresentation::_InternalSerialize,
#endif  // PROTOBUF_CUSTOM_VTABLE
          PROTOBUF_FIELD_OFFSET(SharedUrlContext_UrlRepresentation, _impl_._cached_size_),
          true,
      },
      "sync_pb.SharedUrlContext.UrlRepresentation",
  };
}
struct SharedUrlContext_UrlRepresentationGlobalsTypeInternal : ::_pbi::MessageGlobalsBase {
  constexpr SharedUrlContext_UrlRepresentationGlobalsTypeInternal()
      :
#ifndef PROTOBUF_MESSAGE_GLOBALS
        _default(::_pbi::ConstantInitialized{},
                 SharedUrlContext_UrlRepresentation_class_data_.base())
#else   // !PROTOBUF_MESSAGE_GLOBALS
        MessageGlobalsBase(SharedUrlContext_UrlRepresentation::InternalGenerateClassData_(
            _default, &SharedUrlContext_UrlRepresentation_globals_._table.header)),
        _default(::_pbi::ConstantInitialized{}, GetClassData()),
        _table(::_pbi::PrivateAccess::GenerateParseTable<SharedUrlContext_UrlRepresentation>(
            GetClassData()))
#endif  // PROTOBUF_MESSAGE_GLOBALS
  {
  }
  ~SharedUrlContext_UrlRepresentationGlobalsTypeInternal() {}
  union {
    alignas(::_pbi::kMaxMessageAlignment) SharedUrlContext_UrlRepresentation _default;
  };
#ifdef PROTOBUF_MESSAGE_GLOBALS
  decltype(::_pbi::PrivateAccess::GenerateParseTable<SharedUrlContext_UrlRepresentation>(
      ::std::declval<const ::_pbi::ClassData*>())) _table;
#endif
};
#ifdef PROTOBUF_MESSAGE_GLOBALS
static_assert(PROTOBUF_FIELD_OFFSET(SharedUrlContext_UrlRepresentationGlobalsTypeInternal, _default) ==
              ::_pbi::MessageGlobalsBase::OffsetToDefault());
#endif  // PROTOBUF_MESSAGE_GLOBALS

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

constexpr CommentData_OrderKey::ParseTableT_ CommentData_OrderKey::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(CommentData_OrderKey, _impl_._has_bits_),
      0, // no _extensions_
      2, 8,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967292,  // skipmap
      offsetof(ParseTableT_, field_entries),
      2,  // num_field_entries
      0,  // num_aux_entries
      offsetof(ParseTableT_, field_names),  // no aux_entries
      class_data,
      nullptr,  // post_loop_handler
      ::_pbi::TcParser::GenericFallbackLite,  // fallback
      #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
      ::_pbi::TcParser::GetTable<::sync_pb::CommentData_OrderKey>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      // optional int64 local_sequence = 2;
      {::_pbi::TcParser::FastV64S1,
       {16, 1, 0,
        PROTOBUF_FIELD_OFFSET(CommentData_OrderKey, _impl_.local_sequence_)}},
      // optional string device_guid = 1;
      {::_pbi::TcParser::FastBS1,
       {10, 0, 0,
        PROTOBUF_FIELD_OFFSET(CommentData_OrderKey, _impl_.device_guid_)}},
    }}, {{
      65535, 65535
    }}, {{
      // optional string device_guid = 1;
      {PROTOBUF_FIELD_OFFSET(CommentData_OrderKey, _impl_.device_guid_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional int64 local_sequence = 2;
      {PROTOBUF_FIELD_OFFSET(CommentData_OrderKey, _impl_.local_sequence_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
    }},
    // no aux_entries
    {{
    }},
  };
}


inline constexpr CommentData_OrderKey::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        device_guid_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        local_sequence_{::int64_t{0}} {}

template <typename>
constexpr CommentData_OrderKey::CommentData_OrderKey(::_pbi::ConstantInitialized,
                       const ::_pbi::ClassData* PROTOBUF_NONNULL class_data)
    : ::google::protobuf::MessageLite(
#if defined(PROTOBUF_CUSTOM_VTABLE)
          class_data
#endif  // PROTOBUF_CUSTOM_VTABLE
          ),
      _impl_(internal_visibility(), ::_pbi::ConstantInitialized()) {
}
inline void* PROTOBUF_NONNULL CommentData_OrderKey::PlacementNew_(
    const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
    ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
  return ::new (mem) CommentData_OrderKey(arena);
}
constexpr auto CommentData_OrderKey::InternalNewImpl_() {
  return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(CommentData_OrderKey), alignof(CommentData_OrderKey));
}
constexpr auto CommentData_OrderKey::InternalGenerateClassData_(
    const MessageLite& prototype,
    const ::google::protobuf::internal::TcParseTableBase* tc_table) {
  return ::google::protobuf::internal::ClassDataLite{
      {
          &prototype,
#ifndef PROTOBUF_MESSAGE_GLOBALS
          &_table_.header,
#else
          tc_table,
#endif
          nullptr,  // IsInitialized
          &CommentData_OrderKey::MergeImpl,
          ::google::protobuf::MessageLite::GetNewImpl<CommentData_OrderKey>(),
#if defined(PROTOBUF_CUSTOM_VTABLE)
          &CommentData_OrderKey::SharedDtor,
          ::google::protobuf::MessageLite::GetClearImpl<CommentData_OrderKey>(), &CommentData_OrderKey::ByteSizeLong,
              &CommentData_OrderKey::_InternalSerialize,
#endif  // PROTOBUF_CUSTOM_VTABLE
          PROTOBUF_FIELD_OFFSET(CommentData_OrderKey, _impl_._cached_size_),
          true,
      },
      "sync_pb.CommentData.OrderKey",
  };
}
struct CommentData_OrderKeyGlobalsTypeInternal : ::_pbi::MessageGlobalsBase {
  constexpr CommentData_OrderKeyGlobalsTypeInternal()
      :
#ifndef PROTOBUF_MESSAGE_GLOBALS
        _default(::_pbi::ConstantInitialized{},
                 CommentData_OrderKey_class_data_.base())
#else   // !PROTOBUF_MESSAGE_GLOBALS
        MessageGlobalsBase(CommentData_OrderKey::InternalGenerateClassData_(
            _default, &CommentData_OrderKey_globals_._table.header)),
        _default(::_pbi::ConstantInitialized{}, GetClassData()),
        _table(::_pbi::PrivateAccess::GenerateParseTable<CommentData_OrderKey>(
            GetClassData()))
#endif  // PROTOBUF_MESSAGE_GLOBALS
  {
  }
  ~CommentData_OrderKeyGlobalsTypeInternal() {}
  union {
    alignas(::_pbi::kMaxMessageAlignment) CommentData_OrderKey _default;
  };
#ifdef PROTOBUF_MESSAGE_GLOBALS
  decltype(::_pbi::PrivateAccess::GenerateParseTable<CommentData_OrderKey>(
      ::std::declval<const ::_pbi::ClassData*>())) _table;
#endif
};
#ifdef PROTOBUF_MESSAGE_GLOBALS
static_assert(PROTOBUF_FIELD_OFFSET(CommentData_OrderKeyGlobalsTypeInternal, _default) ==
              ::_pbi::MessageGlobalsBase::OffsetToDefault());
#endif  // PROTOBUF_MESSAGE_GLOBALS

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

constexpr CommentData_Attribution_InReplyTo::ParseTableT_ CommentData_Attribution_InReplyTo::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(CommentData_Attribution_InReplyTo, _impl_._has_bits_),
      0, // no _extensions_
      1, 0,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967294,  // skipmap
      offsetof(ParseTableT_, field_entries),
      1,  // num_field_entries
      0,  // num_aux_entries
      offsetof(ParseTableT_, field_names),  // no aux_entries
      class_data,
      nullptr,  // post_loop_handler
      ::_pbi::TcParser::GenericFallbackLite,  // fallback
      #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
      ::_pbi::TcParser::GetTable<::sync_pb::CommentData_Attribution_InReplyTo>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      // optional string parent_id = 1;
      {::_pbi::TcParser::FastBS1,
       {10, 0, 0,
        PROTOBUF_FIELD_OFFSET(CommentData_Attribution_InReplyTo, _impl_.parent_id_)}},
    }}, {{
      65535, 65535
    }}, {{
      // optional string parent_id = 1;
      {PROTOBUF_FIELD_OFFSET(CommentData_Attribution_InReplyTo, _impl_.parent_id_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
    }},
    // no aux_entries
    {{
    }},
  };
}


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

template <typename>
constexpr CommentData_Attribution_InReplyTo::CommentData_Attribution_InReplyTo(::_pbi::ConstantInitialized,
                       const ::_pbi::ClassData* PROTOBUF_NONNULL class_data)
    : ::google::protobuf::MessageLite(
#if defined(PROTOBUF_CUSTOM_VTABLE)
          class_data
#endif  // PROTOBUF_CUSTOM_VTABLE
          ),
      _impl_(internal_visibility(), ::_pbi::ConstantInitialized()) {
}
inline void* PROTOBUF_NONNULL CommentData_Attribution_InReplyTo::PlacementNew_(
    const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
    ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
  return ::new (mem) CommentData_Attribution_InReplyTo(arena);
}
constexpr auto CommentData_Attribution_InReplyTo::InternalNewImpl_() {
  return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(CommentData_Attribution_InReplyTo), alignof(CommentData_Attribution_InReplyTo));
}
constexpr auto CommentData_Attribution_InReplyTo::InternalGenerateClassData_(
    const MessageLite& prototype,
    const ::google::protobuf::internal::TcParseTableBase* tc_table) {
  return ::google::protobuf::internal::ClassDataLite{
      {
          &prototype,
#ifndef PROTOBUF_MESSAGE_GLOBALS
          &_table_.header,
#else
          tc_table,
#endif
          nullptr,  // IsInitialized
          &CommentData_Attribution_InReplyTo::MergeImpl,
          ::google::protobuf::MessageLite::GetNewImpl<CommentData_Attribution_InReplyTo>(),
#if defined(PROTOBUF_CUSTOM_VTABLE)
          &CommentData_Attribution_InReplyTo::SharedDtor,
          ::google::protobuf::MessageLite::GetClearImpl<CommentData_Attribution_InReplyTo>(), &CommentData_Attribution_InReplyTo::ByteSizeLong,
              &CommentData_Attribution_InReplyTo::_InternalSerialize,
#endif  // PROTOBUF_CUSTOM_VTABLE
          PROTOBUF_FIELD_OFFSET(CommentData_Attribution_InReplyTo, _impl_._cached_size_),
          true,
      },
      "sync_pb.CommentData.Attribution.InReplyTo",
  };
}
struct CommentData_Attribution_InReplyToGlobalsTypeInternal : ::_pbi::MessageGlobalsBase {
  constexpr CommentData_Attribution_InReplyToGlobalsTypeInternal()
      :
#ifndef PROTOBUF_MESSAGE_GLOBALS
        _default(::_pbi::ConstantInitialized{},
                 CommentData_Attribution_InReplyTo_class_data_.base())
#else   // !PROTOBUF_MESSAGE_GLOBALS
        MessageGlobalsBase(CommentData_Attribution_InReplyTo::InternalGenerateClassData_(
            _default, &CommentData_Attribution_InReplyTo_globals_._table.header)),
        _default(::_pbi::ConstantInitialized{}, GetClassData()),
        _table(::_pbi::PrivateAccess::GenerateParseTable<CommentData_Attribution_InReplyTo>(
            GetClassData()))
#endif  // PROTOBUF_MESSAGE_GLOBALS
  {
  }
  ~CommentData_Attribution_InReplyToGlobalsTypeInternal() {}
  union {
    alignas(::_pbi::kMaxMessageAlignment) CommentData_Attribution_InReplyTo _default;
  };
#ifdef PROTOBUF_MESSAGE_GLOBALS
  decltype(::_pbi::PrivateAccess::GenerateParseTable<CommentData_Attribution_InReplyTo>(
      ::std::declval<const ::_pbi::ClassData*>())) _table;
#endif
};
#ifdef PROTOBUF_MESSAGE_GLOBALS
static_assert(PROTOBUF_FIELD_OFFSET(CommentData_Attribution_InReplyToGlobalsTypeInternal, _default) ==
              ::_pbi::MessageGlobalsBase::OffsetToDefault());
#endif  // PROTOBUF_MESSAGE_GLOBALS

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

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


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

template <typename>
constexpr CommentData_Attribution_CommentTarget_FragmentLink::CommentData_Attribution_CommentTarget_FragmentLink(::_pbi::ConstantInitialized,
                       const ::_pbi::ClassData* PROTOBUF_NONNULL class_data)
    : ::google::protobuf::MessageLite(
#if defined(PROTOBUF_CUSTOM_VTABLE)
          class_data
#endif  // PROTOBUF_CUSTOM_VTABLE
          ),
      _impl_(internal_visibility(), ::_pbi::ConstantInitialized()) {
}
inline void* PROTOBUF_NONNULL CommentData_Attribution_CommentTarget_FragmentLink::PlacementNew_(
    const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
    ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
  return ::new (mem) CommentData_Attribution_CommentTarget_FragmentLink(arena);
}
constexpr auto CommentData_Attribution_CommentTarget_FragmentLink::InternalNewImpl_() {
  return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(CommentData_Attribution_CommentTarget_FragmentLink), alignof(CommentData_Attribution_CommentTarget_FragmentLink));
}
constexpr auto CommentData_Attribution_CommentTarget_FragmentLink::InternalGenerateClassData_(
    const MessageLite& prototype,
    const ::google::protobuf::internal::TcParseTableBase* tc_table) {
  return ::google::protobuf::internal::ClassDataLite{
      {
          &prototype,
#ifndef PROTOBUF_MESSAGE_GLOBALS
          &_table_.header,
#else
          tc_table,
#endif
          nullptr,  // IsInitialized
          &CommentData_Attribution_CommentTarget_FragmentLink::MergeImpl,
          ::google::protobuf::MessageLite::GetNewImpl<CommentData_Attribution_CommentTarget_FragmentLink>(),
#if defined(PROTOBUF_CUSTOM_VTABLE)
          &CommentData_Attribution_CommentTarget_FragmentLink::SharedDtor,
          ::google::protobuf::MessageLite::GetClearImpl<CommentData_Attribution_CommentTarget_FragmentLink>(), &CommentData_Attribution_CommentTarget_FragmentLink::ByteSizeLong,
              &CommentData_Attribution_CommentTarget_FragmentLink::_InternalSerialize,
#endif  // PROTOBUF_CUSTOM_VTABLE
          PROTOBUF_FIELD_OFFSET(CommentData_Attribution_CommentTarget_FragmentLink, _impl_._cached_size_),
          true,
      },
      "sync_pb.CommentData.Attribution.CommentTarget.FragmentLink",
  };
}
struct CommentData_Attribution_CommentTarget_FragmentLinkGlobalsTypeInternal : ::_pbi::MessageGlobalsBase {
  constexpr CommentData_Attribution_CommentTarget_FragmentLinkGlobalsTypeInternal()
      :
#ifndef PROTOBUF_MESSAGE_GLOBALS
        _default(::_pbi::ConstantInitialized{},
                 CommentData_Attribution_CommentTarget_FragmentLink_class_data_.base())
#else   // !PROTOBUF_MESSAGE_GLOBALS
        MessageGlobalsBase(CommentData_Attribution_CommentTarget_FragmentLink::InternalGenerateClassData_(
            _default, &CommentData_Attribution_CommentTarget_FragmentLink_globals_._table.header)),
        _default(::_pbi::ConstantInitialized{}, GetClassData()),
        _table(::_pbi::PrivateAccess::GenerateParseTable<CommentData_Attribution_CommentTarget_FragmentLink>(
            GetClassData()))
#endif  // PROTOBUF_MESSAGE_GLOBALS
  {
  }
  ~CommentData_Attribution_CommentTarget_FragmentLinkGlobalsTypeInternal() {}
  union {
    alignas(::_pbi::kMaxMessageAlignment) CommentData_Attribution_CommentTarget_FragmentLink _default;
  };
#ifdef PROTOBUF_MESSAGE_GLOBALS
  decltype(::_pbi::PrivateAccess::GenerateParseTable<CommentData_Attribution_CommentTarget_FragmentLink>(
      ::std::declval<const ::_pbi::ClassData*>())) _table;
#endif
};
#ifdef PROTOBUF_MESSAGE_GLOBALS
static_assert(PROTOBUF_FIELD_OFFSET(CommentData_Attribution_CommentTarget_FragmentLinkGlobalsTypeInternal, _default) ==
              ::_pbi::MessageGlobalsBase::OffsetToDefault());
#endif  // PROTOBUF_MESSAGE_GLOBALS

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

constexpr SharedUrlContext::ParseTableT_ SharedUrlContext::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(SharedUrlContext, _impl_._has_bits_),
      0, // no _extensions_
      2, 8,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967292,  // skipmap
      offsetof(ParseTableT_, field_entries),
      2,  // num_field_entries
      1,  // num_aux_entries
      offsetof(ParseTableT_, aux_entries),
      class_data,
      nullptr,  // post_loop_handler
      ::_pbi::TcParser::GenericFallbackLite,  // fallback
      #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
      ::_pbi::TcParser::GetTable<::sync_pb::SharedUrlContext>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      // optional string title = 2;
      {::_pbi::TcParser::FastBS1,
       {18, 1, 0,
        PROTOBUF_FIELD_OFFSET(SharedUrlContext, _impl_.title_)}},
      // repeated .sync_pb.SharedUrlContext.UrlRepresentation representations = 1;
      {::_pbi::TcParser::FastMtR1,
       {10, 0, 0,
        PROTOBUF_FIELD_OFFSET(SharedUrlContext, _impl_.representations_)}},
    }}, {{
      65535, 65535
    }}, {{
      // repeated .sync_pb.SharedUrlContext.UrlRepresentation representations = 1;
      {PROTOBUF_FIELD_OFFSET(SharedUrlContext, _impl_.representations_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
      // optional string title = 2;
      {PROTOBUF_FIELD_OFFSET(SharedUrlContext, _impl_.title_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
    }},
    {{
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::sync_pb::SharedUrlContext_UrlRepresentation>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::sync_pb::SharedUrlContext_UrlRepresentation_globals_},
        #endif
    }},
    {{
    }},
  };
}


inline constexpr SharedUrlContext::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        representations_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::sync_pb::SharedUrlContext,
            PROTOBUF_FIELD_OFFSET(::sync_pb::SharedUrlContext, _impl_.representations_)>()
         }
        ,
        title_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()) {}

template <typename>
constexpr SharedUrlContext::SharedUrlContext(::_pbi::ConstantInitialized,
                       const ::_pbi::ClassData* PROTOBUF_NONNULL class_data)
    : ::google::protobuf::MessageLite(
#if defined(PROTOBUF_CUSTOM_VTABLE)
          class_data
#endif  // PROTOBUF_CUSTOM_VTABLE
          ),
      _impl_(internal_visibility(), ::_pbi::ConstantInitialized()) {
}
inline void* PROTOBUF_NONNULL SharedUrlContext::PlacementNew_(
    const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
    ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
  return ::new (mem) SharedUrlContext(arena);
}
constexpr auto SharedUrlContext::InternalNewImpl_() {
  return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(SharedUrlContext), alignof(SharedUrlContext));
}
constexpr auto SharedUrlContext::InternalGenerateClassData_(
    const MessageLite& prototype,
    const ::google::protobuf::internal::TcParseTableBase* tc_table) {
  return ::google::protobuf::internal::ClassDataLite{
      {
          &prototype,
#ifndef PROTOBUF_MESSAGE_GLOBALS
          &_table_.header,
#else
          tc_table,
#endif
          nullptr,  // IsInitialized
          &SharedUrlContext::MergeImpl,
          ::google::protobuf::MessageLite::GetNewImpl<SharedUrlContext>(),
#if defined(PROTOBUF_CUSTOM_VTABLE)
          &SharedUrlContext::SharedDtor,
          ::google::protobuf::MessageLite::GetClearImpl<SharedUrlContext>(), &SharedUrlContext::ByteSizeLong,
              &SharedUrlContext::_InternalSerialize,
#endif  // PROTOBUF_CUSTOM_VTABLE
          PROTOBUF_FIELD_OFFSET(SharedUrlContext, _impl_._cached_size_),
          true,
      },
      "sync_pb.SharedUrlContext",
  };
}
struct SharedUrlContextGlobalsTypeInternal : ::_pbi::MessageGlobalsBase {
  constexpr SharedUrlContextGlobalsTypeInternal()
      :
#ifndef PROTOBUF_MESSAGE_GLOBALS
        _default(::_pbi::ConstantInitialized{},
                 SharedUrlContext_class_data_.base())
#else   // !PROTOBUF_MESSAGE_GLOBALS
        MessageGlobalsBase(SharedUrlContext::InternalGenerateClassData_(
            _default, &SharedUrlContext_globals_._table.header)),
        _default(::_pbi::ConstantInitialized{}, GetClassData()),
        _table(::_pbi::PrivateAccess::GenerateParseTable<SharedUrlContext>(
            GetClassData()))
#endif  // PROTOBUF_MESSAGE_GLOBALS
  {
  }
  ~SharedUrlContextGlobalsTypeInternal() {}
  union {
    alignas(::_pbi::kMaxMessageAlignment) SharedUrlContext _default;
  };
#ifdef PROTOBUF_MESSAGE_GLOBALS
  decltype(::_pbi::PrivateAccess::GenerateParseTable<SharedUrlContext>(
      ::std::declval<const ::_pbi::ClassData*>())) _table;
#endif
};
#ifdef PROTOBUF_MESSAGE_GLOBALS
static_assert(PROTOBUF_FIELD_OFFSET(SharedUrlContextGlobalsTypeInternal, _default) ==
              ::_pbi::MessageGlobalsBase::OffsetToDefault());
#endif  // PROTOBUF_MESSAGE_GLOBALS

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

constexpr CommentData_Attribution_CommentTarget::ParseTableT_ CommentData_Attribution_CommentTarget::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(CommentData_Attribution_CommentTarget, _impl_._has_bits_),
      0, // no _extensions_
      2, 8,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967292,  // skipmap
      offsetof(ParseTableT_, field_entries),
      2,  // num_field_entries
      1,  // num_aux_entries
      offsetof(ParseTableT_, aux_entries),
      class_data,
      nullptr,  // post_loop_handler
      ::_pbi::TcParser::GenericFallbackLite,  // fallback
      #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
      ::_pbi::TcParser::GetTable<::sync_pb::CommentData_Attribution_CommentTarget>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      // optional .sync_pb.CommentData.Attribution.CommentTarget.FragmentLink link_fragment = 2;
      {::_pbi::TcParser::FastMtS1,
       {18, 1, 0,
        PROTOBUF_FIELD_OFFSET(CommentData_Attribution_CommentTarget, _impl_.link_fragment_)}},
      // optional string shared_url_context_uuid = 1;
      {::_pbi::TcParser::FastBS1,
       {10, 0, 0,
        PROTOBUF_FIELD_OFFSET(CommentData_Attribution_CommentTarget, _impl_.shared_url_context_uuid_)}},
    }}, {{
      65535, 65535
    }}, {{
      // optional string shared_url_context_uuid = 1;
      {PROTOBUF_FIELD_OFFSET(CommentData_Attribution_CommentTarget, _impl_.shared_url_context_uuid_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional .sync_pb.CommentData.Attribution.CommentTarget.FragmentLink link_fragment = 2;
      {PROTOBUF_FIELD_OFFSET(CommentData_Attribution_CommentTarget, _impl_.link_fragment_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
    }},
    {{
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::sync_pb::CommentData_Attribution_CommentTarget_FragmentLink>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::sync_pb::CommentData_Attribution_CommentTarget_FragmentLink_globals_},
        #endif
    }},
    {{
    }},
  };
}


inline constexpr CommentData_Attribution_CommentTarget::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        shared_url_context_uuid_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        link_fragment_{nullptr} {}

template <typename>
constexpr CommentData_Attribution_CommentTarget::CommentData_Attribution_CommentTarget(::_pbi::ConstantInitialized,
                       const ::_pbi::ClassData* PROTOBUF_NONNULL class_data)
    : ::google::protobuf::MessageLite(
#if defined(PROTOBUF_CUSTOM_VTABLE)
          class_data
#endif  // PROTOBUF_CUSTOM_VTABLE
          ),
      _impl_(internal_visibility(), ::_pbi::ConstantInitialized()) {
}
inline void* PROTOBUF_NONNULL CommentData_Attribution_CommentTarget::PlacementNew_(
    const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
    ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
  return ::new (mem) CommentData_Attribution_CommentTarget(arena);
}
constexpr auto CommentData_Attribution_CommentTarget::InternalNewImpl_() {
  return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(CommentData_Attribution_CommentTarget), alignof(CommentData_Attribution_CommentTarget));
}
constexpr auto CommentData_Attribution_CommentTarget::InternalGenerateClassData_(
    const MessageLite& prototype,
    const ::google::protobuf::internal::TcParseTableBase* tc_table) {
  return ::google::protobuf::internal::ClassDataLite{
      {
          &prototype,
#ifndef PROTOBUF_MESSAGE_GLOBALS
          &_table_.header,
#else
          tc_table,
#endif
          nullptr,  // IsInitialized
          &CommentData_Attribution_CommentTarget::MergeImpl,
          ::google::protobuf::MessageLite::GetNewImpl<CommentData_Attribution_CommentTarget>(),
#if defined(PROTOBUF_CUSTOM_VTABLE)
          &CommentData_Attribution_CommentTarget::SharedDtor,
          ::google::protobuf::MessageLite::GetClearImpl<CommentData_Attribution_CommentTarget>(), &CommentData_Attribution_CommentTarget::ByteSizeLong,
              &CommentData_Attribution_CommentTarget::_InternalSerialize,
#endif  // PROTOBUF_CUSTOM_VTABLE
          PROTOBUF_FIELD_OFFSET(CommentData_Attribution_CommentTarget, _impl_._cached_size_),
          true,
      },
      "sync_pb.CommentData.Attribution.CommentTarget",
  };
}
struct CommentData_Attribution_CommentTargetGlobalsTypeInternal : ::_pbi::MessageGlobalsBase {
  constexpr CommentData_Attribution_CommentTargetGlobalsTypeInternal()
      :
#ifndef PROTOBUF_MESSAGE_GLOBALS
        _default(::_pbi::ConstantInitialized{},
                 CommentData_Attribution_CommentTarget_class_data_.base())
#else   // !PROTOBUF_MESSAGE_GLOBALS
        MessageGlobalsBase(CommentData_Attribution_CommentTarget::InternalGenerateClassData_(
            _default, &CommentData_Attribution_CommentTarget_globals_._table.header)),
        _default(::_pbi::ConstantInitialized{}, GetClassData()),
        _table(::_pbi::PrivateAccess::GenerateParseTable<CommentData_Attribution_CommentTarget>(
            GetClassData()))
#endif  // PROTOBUF_MESSAGE_GLOBALS
  {
  }
  ~CommentData_Attribution_CommentTargetGlobalsTypeInternal() {}
  union {
    alignas(::_pbi::kMaxMessageAlignment) CommentData_Attribution_CommentTarget _default;
  };
#ifdef PROTOBUF_MESSAGE_GLOBALS
  decltype(::_pbi::PrivateAccess::GenerateParseTable<CommentData_Attribution_CommentTarget>(
      ::std::declval<const ::_pbi::ClassData*>())) _table;
#endif
};
#ifdef PROTOBUF_MESSAGE_GLOBALS
static_assert(PROTOBUF_FIELD_OFFSET(CommentData_Attribution_CommentTargetGlobalsTypeInternal, _default) ==
              ::_pbi::MessageGlobalsBase::OffsetToDefault());
#endif  // PROTOBUF_MESSAGE_GLOBALS

PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PROTOBUF_MESSAGE_GLOBALS_CONST CommentData_Attribution_CommentTargetGlobalsTypeInternal CommentData_Attribution_CommentTarget_globals_
        PROTOBUF_MESSAGE_GLOBALS_SECTION(.data.rel.ro);
#if defined(PROTOBUF_CUSTOM_VTABLE)
namespace {
const ::_pbi::ClassData* CommentData_Attribution_CommentTarget_get_class_data() {
#ifdef PROTOBUF_MESSAGE_GLOBALS
  return CommentData_Attribution_CommentTarget_globals_.GetClassData();
#else
  return CommentData_Attribution_CommentTarget_class_data_.base();
#endif  // PROTOBUF_MESSAGE_GLOBALS
}
}  // namespace
#endif  // PROTOBUF_CUSTOM_VTABLE
class CommentData_Attribution::_Internal {
 public:
  static constexpr ::int32_t kOneofCaseOffset =
      PROTOBUF_FIELD_OFFSET(::sync_pb::CommentData_Attribution, _impl_._oneof_case_);
};

constexpr CommentData_Attribution::ParseTableT_ CommentData_Attribution::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(CommentData_Attribution,
                            _impl_._cached_size_),  // no hasbits
      0, // no _extensions_
      2, 0,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967292,  // skipmap
      offsetof(ParseTableT_, field_entries),
      2,  // num_field_entries
      2,  // num_aux_entries
      offsetof(ParseTableT_, aux_entries),
      class_data,
      nullptr,  // post_loop_handler
      ::_pbi::TcParser::GenericFallbackLite,  // fallback
      #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
      ::_pbi::TcParser::GetTable<::sync_pb::CommentData_Attribution>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      {::_pbi::TcParser::MiniParse, {}},
    }}, {{
      65535, 65535
    }}, {{
      // .sync_pb.CommentData.Attribution.CommentTarget top_level = 1;
      {PROTOBUF_FIELD_OFFSET(CommentData_Attribution, _impl_.kind_.top_level_), _Internal::kOneofCaseOffset + 0, 0, (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
      // .sync_pb.CommentData.Attribution.InReplyTo parent = 2;
      {PROTOBUF_FIELD_OFFSET(CommentData_Attribution, _impl_.kind_.parent_), _Internal::kOneofCaseOffset + 0, 1, (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
    }},
    {{
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::sync_pb::CommentData_Attribution_CommentTarget>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::sync_pb::CommentData_Attribution_CommentTarget_globals_},
        #endif
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::sync_pb::CommentData_Attribution_InReplyTo>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::sync_pb::CommentData_Attribution_InReplyTo_globals_},
        #endif
    }},
    {{
    }},
  };
}


inline constexpr CommentData_Attribution::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : kind_{},
        _cached_size_{0},
        _oneof_case_{} {}

template <typename>
constexpr CommentData_Attribution::CommentData_Attribution(::_pbi::ConstantInitialized,
                       const ::_pbi::ClassData* PROTOBUF_NONNULL class_data)
    : ::google::protobuf::MessageLite(
#if defined(PROTOBUF_CUSTOM_VTABLE)
          class_data
#endif  // PROTOBUF_CUSTOM_VTABLE
          ),
      _impl_(internal_visibility(), ::_pbi::ConstantInitialized()) {
}
inline void* PROTOBUF_NONNULL CommentData_Attribution::PlacementNew_(
    const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
    ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
  return ::new (mem) CommentData_Attribution(arena);
}
constexpr auto CommentData_Attribution::InternalNewImpl_() {
  return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(CommentData_Attribution), alignof(CommentData_Attribution));
}
constexpr auto CommentData_Attribution::InternalGenerateClassData_(
    const MessageLite& prototype,
    const ::google::protobuf::internal::TcParseTableBase* tc_table) {
  return ::google::protobuf::internal::ClassDataLite{
      {
          &prototype,
#ifndef PROTOBUF_MESSAGE_GLOBALS
          &_table_.header,
#else
          tc_table,
#endif
          nullptr,  // IsInitialized
          &CommentData_Attribution::MergeImpl,
          ::google::protobuf::MessageLite::GetNewImpl<CommentData_Attribution>(),
#if defined(PROTOBUF_CUSTOM_VTABLE)
          &CommentData_Attribution::SharedDtor,
          ::google::protobuf::MessageLite::GetClearImpl<CommentData_Attribution>(), &CommentData_Attribution::ByteSizeLong,
              &CommentData_Attribution::_InternalSerialize,
#endif  // PROTOBUF_CUSTOM_VTABLE
          PROTOBUF_FIELD_OFFSET(CommentData_Attribution, _impl_._cached_size_),
          true,
      },
      "sync_pb.CommentData.Attribution",
  };
}
struct CommentData_AttributionGlobalsTypeInternal : ::_pbi::MessageGlobalsBase {
  constexpr CommentData_AttributionGlobalsTypeInternal()
      :
#ifndef PROTOBUF_MESSAGE_GLOBALS
        _default(::_pbi::ConstantInitialized{},
                 CommentData_Attribution_class_data_.base())
#else   // !PROTOBUF_MESSAGE_GLOBALS
        MessageGlobalsBase(CommentData_Attribution::InternalGenerateClassData_(
            _default, &CommentData_Attribution_globals_._table.header)),
        _default(::_pbi::ConstantInitialized{}, GetClassData()),
        _table(::_pbi::PrivateAccess::GenerateParseTable<CommentData_Attribution>(
            GetClassData()))
#endif  // PROTOBUF_MESSAGE_GLOBALS
  {
  }
  ~CommentData_AttributionGlobalsTypeInternal() {}
  union {
    alignas(::_pbi::kMaxMessageAlignment) CommentData_Attribution _default;
  };
#ifdef PROTOBUF_MESSAGE_GLOBALS
  decltype(::_pbi::PrivateAccess::GenerateParseTable<CommentData_Attribution>(
      ::std::declval<const ::_pbi::ClassData*>())) _table;
#endif
};
#ifdef PROTOBUF_MESSAGE_GLOBALS
static_assert(PROTOBUF_FIELD_OFFSET(CommentData_AttributionGlobalsTypeInternal, _default) ==
              ::_pbi::MessageGlobalsBase::OffsetToDefault());
#endif  // PROTOBUF_MESSAGE_GLOBALS

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

constexpr CommentData::ParseTableT_ CommentData::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(CommentData, _impl_._has_bits_),
      0, // no _extensions_
      3, 24,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967288,  // skipmap
      offsetof(ParseTableT_, field_entries),
      3,  // num_field_entries
      2,  // num_aux_entries
      offsetof(ParseTableT_, aux_entries),
      class_data,
      nullptr,  // post_loop_handler
      ::_pbi::TcParser::GenericFallbackLite,  // fallback
      #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
      ::_pbi::TcParser::GetTable<::sync_pb::CommentData>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      {::_pbi::TcParser::MiniParse, {}},
      // optional string text = 1;
      {::_pbi::TcParser::FastBS1,
       {10, 0, 0,
        PROTOBUF_FIELD_OFFSET(CommentData, _impl_.text_)}},
      // optional .sync_pb.CommentData.Attribution attribution = 2;
      {::_pbi::TcParser::FastMtS1,
       {18, 1, 0,
        PROTOBUF_FIELD_OFFSET(CommentData, _impl_.attribution_)}},
      // optional .sync_pb.CommentData.OrderKey order_key = 3;
      {::_pbi::TcParser::FastMtS1,
       {26, 2, 1,
        PROTOBUF_FIELD_OFFSET(CommentData, _impl_.order_key_)}},
    }}, {{
      65535, 65535
    }}, {{
      // optional string text = 1;
      {PROTOBUF_FIELD_OFFSET(CommentData, _impl_.text_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional .sync_pb.CommentData.Attribution attribution = 2;
      {PROTOBUF_FIELD_OFFSET(CommentData, _impl_.attribution_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
      // optional .sync_pb.CommentData.OrderKey order_key = 3;
      {PROTOBUF_FIELD_OFFSET(CommentData, _impl_.order_key_), _Internal::kHasBitsOffset + 2, 1, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
    }},
    {{
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::sync_pb::CommentData_Attribution>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::sync_pb::CommentData_Attribution_globals_},
        #endif
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::sync_pb::CommentData_OrderKey>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::sync_pb::CommentData_OrderKey_globals_},
        #endif
    }},
    {{
    }},
  };
}


inline constexpr CommentData::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        text_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        attribution_{nullptr},
        order_key_{nullptr} {}

template <typename>
constexpr CommentData::CommentData(::_pbi::ConstantInitialized,
                       const ::_pbi::ClassData* PROTOBUF_NONNULL class_data)
    : ::google::protobuf::MessageLite(
#if defined(PROTOBUF_CUSTOM_VTABLE)
          class_data
#endif  // PROTOBUF_CUSTOM_VTABLE
          ),
      _impl_(internal_visibility(), ::_pbi::ConstantInitialized()) {
}
inline void* PROTOBUF_NONNULL CommentData::PlacementNew_(
    const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
    ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
  return ::new (mem) CommentData(arena);
}
constexpr auto CommentData::InternalNewImpl_() {
  return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(CommentData), alignof(CommentData));
}
constexpr auto CommentData::InternalGenerateClassData_(
    const MessageLite& prototype,
    const ::google::protobuf::internal::TcParseTableBase* tc_table) {
  return ::google::protobuf::internal::ClassDataLite{
      {
          &prototype,
#ifndef PROTOBUF_MESSAGE_GLOBALS
          &_table_.header,
#else
          tc_table,
#endif
          nullptr,  // IsInitialized
          &CommentData::MergeImpl,
          ::google::protobuf::MessageLite::GetNewImpl<CommentData>(),
#if defined(PROTOBUF_CUSTOM_VTABLE)
          &CommentData::SharedDtor,
          ::google::protobuf::MessageLite::GetClearImpl<CommentData>(), &CommentData::ByteSizeLong,
              &CommentData::_InternalSerialize,
#endif  // PROTOBUF_CUSTOM_VTABLE
          PROTOBUF_FIELD_OFFSET(CommentData, _impl_._cached_size_),
          true,
      },
      "sync_pb.CommentData",
  };
}
struct CommentDataGlobalsTypeInternal : ::_pbi::MessageGlobalsBase {
  constexpr CommentDataGlobalsTypeInternal()
      :
#ifndef PROTOBUF_MESSAGE_GLOBALS
        _default(::_pbi::ConstantInitialized{},
                 CommentData_class_data_.base())
#else   // !PROTOBUF_MESSAGE_GLOBALS
        MessageGlobalsBase(CommentData::InternalGenerateClassData_(
            _default, &CommentData_globals_._table.header)),
        _default(::_pbi::ConstantInitialized{}, GetClassData()),
        _table(::_pbi::PrivateAccess::GenerateParseTable<CommentData>(
            GetClassData()))
#endif  // PROTOBUF_MESSAGE_GLOBALS
  {
  }
  ~CommentDataGlobalsTypeInternal() {}
  union {
    alignas(::_pbi::kMaxMessageAlignment) CommentData _default;
  };
#ifdef PROTOBUF_MESSAGE_GLOBALS
  decltype(::_pbi::PrivateAccess::GenerateParseTable<CommentData>(
      ::std::declval<const ::_pbi::ClassData*>())) _table;
#endif
};
#ifdef PROTOBUF_MESSAGE_GLOBALS
static_assert(PROTOBUF_FIELD_OFFSET(CommentDataGlobalsTypeInternal, _default) ==
              ::_pbi::MessageGlobalsBase::OffsetToDefault());
#endif  // PROTOBUF_MESSAGE_GLOBALS

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

constexpr SharedCommentSpecifics::ParseTableT_ SharedCommentSpecifics::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(SharedCommentSpecifics, _impl_._has_bits_),
      0, // no _extensions_
      5, 24,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967264,  // skipmap
      offsetof(ParseTableT_, field_entries),
      5,  // num_field_entries
      2,  // num_aux_entries
      offsetof(ParseTableT_, aux_entries),
      class_data,
      nullptr,  // post_loop_handler
      ::_pbi::TcParser::GenericFallbackLite,  // fallback
      #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
      ::_pbi::TcParser::GetTable<::sync_pb::SharedCommentSpecifics>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      {::_pbi::TcParser::MiniParse, {}},
      // optional string uuid = 1;
      {::_pbi::TcParser::FastBS1,
       {10, 0, 0,
        PROTOBUF_FIELD_OFFSET(SharedCommentSpecifics, _impl_.uuid_)}},
      // optional string context_id = 2;
      {::_pbi::TcParser::FastBS1,
       {18, 1, 0,
        PROTOBUF_FIELD_OFFSET(SharedCommentSpecifics, _impl_.context_id_)}},
      // optional int64 proto_version = 3;
      {::_pbi::TcParser::FastV64S1,
       {24, 2, 0,
        PROTOBUF_FIELD_OFFSET(SharedCommentSpecifics, _impl_.proto_version_)}},
    }}, {{
      65535, 65535
    }}, {{
      // optional string uuid = 1;
      {PROTOBUF_FIELD_OFFSET(SharedCommentSpecifics, _impl_.uuid_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional string context_id = 2;
      {PROTOBUF_FIELD_OFFSET(SharedCommentSpecifics, _impl_.context_id_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional int64 proto_version = 3;
      {PROTOBUF_FIELD_OFFSET(SharedCommentSpecifics, _impl_.proto_version_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
      // .sync_pb.CommentData comment = 4;
      {PROTOBUF_FIELD_OFFSET(SharedCommentSpecifics, _impl_.entity_.comment_), _Internal::kOneofCaseOffset + 0, 0, (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
      // .sync_pb.SharedUrlContext shared_url_context = 5;
      {PROTOBUF_FIELD_OFFSET(SharedCommentSpecifics, _impl_.entity_.shared_url_context_), _Internal::kOneofCaseOffset + 0, 1, (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
    }},
    {{
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::sync_pb::CommentData>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::sync_pb::CommentData_globals_},
        #endif
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::sync_pb::SharedUrlContext>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::sync_pb::SharedUrlContext_globals_},
        #endif
    }},
    {{
    }},
  };
}


inline constexpr SharedCommentSpecifics::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        uuid_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        context_id_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        proto_version_{::int64_t{0}},
        entity_{},
        _oneof_case_{} {}

template <typename>
constexpr SharedCommentSpecifics::SharedCommentSpecifics(::_pbi::ConstantInitialized,
                       const ::_pbi::ClassData* PROTOBUF_NONNULL class_data)
    : ::google::protobuf::MessageLite(
#if defined(PROTOBUF_CUSTOM_VTABLE)
          class_data
#endif  // PROTOBUF_CUSTOM_VTABLE
          ),
      _impl_(internal_visibility(), ::_pbi::ConstantInitialized()) {
}
inline void* PROTOBUF_NONNULL SharedCommentSpecifics::PlacementNew_(
    const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
    ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
  return ::new (mem) SharedCommentSpecifics(arena);
}
constexpr auto SharedCommentSpecifics::InternalNewImpl_() {
  return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(SharedCommentSpecifics), alignof(SharedCommentSpecifics));
}
constexpr auto SharedCommentSpecifics::InternalGenerateClassData_(
    const MessageLite& prototype,
    const ::google::protobuf::internal::TcParseTableBase* tc_table) {
  return ::google::protobuf::internal::ClassDataLite{
      {
          &prototype,
#ifndef PROTOBUF_MESSAGE_GLOBALS
          &_table_.header,
#else
          tc_table,
#endif
          nullptr,  // IsInitialized
          &SharedCommentSpecifics::MergeImpl,
          ::google::protobuf::MessageLite::GetNewImpl<SharedCommentSpecifics>(),
#if defined(PROTOBUF_CUSTOM_VTABLE)
          &SharedCommentSpecifics::SharedDtor,
          ::google::protobuf::MessageLite::GetClearImpl<SharedCommentSpecifics>(), &SharedCommentSpecifics::ByteSizeLong,
              &SharedCommentSpecifics::_InternalSerialize,
#endif  // PROTOBUF_CUSTOM_VTABLE
          PROTOBUF_FIELD_OFFSET(SharedCommentSpecifics, _impl_._cached_size_),
          true,
      },
      "sync_pb.SharedCommentSpecifics",
  };
}
struct SharedCommentSpecificsGlobalsTypeInternal : ::_pbi::MessageGlobalsBase {
  constexpr SharedCommentSpecificsGlobalsTypeInternal()
      :
#ifndef PROTOBUF_MESSAGE_GLOBALS
        _default(::_pbi::ConstantInitialized{},
                 SharedCommentSpecifics_class_data_.base())
#else   // !PROTOBUF_MESSAGE_GLOBALS
        MessageGlobalsBase(SharedCommentSpecifics::InternalGenerateClassData_(
            _default, &SharedCommentSpecifics_globals_._table.header)),
        _default(::_pbi::ConstantInitialized{}, GetClassData()),
        _table(::_pbi::PrivateAccess::GenerateParseTable<SharedCommentSpecifics>(
            GetClassData()))
#endif  // PROTOBUF_MESSAGE_GLOBALS
  {
  }
  ~SharedCommentSpecificsGlobalsTypeInternal() {}
  union {
    alignas(::_pbi::kMaxMessageAlignment) SharedCommentSpecifics _default;
  };
#ifdef PROTOBUF_MESSAGE_GLOBALS
  decltype(::_pbi::PrivateAccess::GenerateParseTable<SharedCommentSpecifics>(
      ::std::declval<const ::_pbi::ClassData*>())) _table;
#endif
};
#ifdef PROTOBUF_MESSAGE_GLOBALS
static_assert(PROTOBUF_FIELD_OFFSET(SharedCommentSpecificsGlobalsTypeInternal, _default) ==
              ::_pbi::MessageGlobalsBase::OffsetToDefault());
#endif  // PROTOBUF_MESSAGE_GLOBALS

PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PROTOBUF_MESSAGE_GLOBALS_CONST SharedCommentSpecificsGlobalsTypeInternal SharedCommentSpecifics_globals_
        PROTOBUF_MESSAGE_GLOBALS_SECTION(.data.rel.ro);
#if defined(PROTOBUF_CUSTOM_VTABLE)
namespace {
const ::_pbi::ClassData* SharedCommentSpecifics_get_class_data() {
#ifdef PROTOBUF_MESSAGE_GLOBALS
  return SharedCommentSpecifics_globals_.GetClassData();
#else
  return SharedCommentSpecifics_class_data_.base();
#endif  // PROTOBUF_MESSAGE_GLOBALS
}
}  // namespace
#endif  // PROTOBUF_CUSTOM_VTABLE
}  // namespace sync_pb
namespace sync_pb {
PROTOBUF_CONSTINIT const uint32_t SharedUrlContext_Source_internal_data_[] = {
    262144u, 0u, };
static const char SharedUrlContext_Source_names[] = {
    "CANONICAL_URL"
    "FROM_SYNC"
    "OMNIBOX"
    "SOURCE_UNSPECIFIED"
};

static const ::google::protobuf::internal::EnumEntry SharedUrlContext_Source_entries[] = {
    {{&SharedUrlContext_Source_names[0], 13}, 3},
    {{&SharedUrlContext_Source_names[13], 9}, 2},
    {{&SharedUrlContext_Source_names[22], 7}, 1},
    {{&SharedUrlContext_Source_names[29], 18}, 0},
};

static const int SharedUrlContext_Source_entries_by_number[] = {
    3,  // 0 -> SOURCE_UNSPECIFIED
    2,  // 1 -> OMNIBOX
    1,  // 2 -> FROM_SYNC
    0,  // 3 -> CANONICAL_URL
};

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

const ::std::string& SharedUrlContext_Source_Name(SharedUrlContext_Source value) {
  static const bool kDummy = ::google::protobuf::internal::InitializeEnumStrings(
      SharedUrlContext_Source_entries, SharedUrlContext_Source_entries_by_number, 4,
      SharedUrlContext_Source_strings);
  (void)kDummy;

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

SharedUrlContext_UrlRepresentation::SharedUrlContext_UrlRepresentation(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, SharedUrlContext_UrlRepresentation_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:sync_pb.SharedUrlContext.UrlRepresentation)
}
PROTOBUF_NDEBUG_INLINE SharedUrlContext_UrlRepresentation::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
    [[maybe_unused]] const ::sync_pb::SharedUrlContext_UrlRepresentation& from_msg)
      : _has_bits_{from._has_bits_},
        _cached_size_{0},
        value_(arena, from.value_),
        version_(arena, from.version_) {}

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

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

  // @@protoc_insertion_point(copy_constructor:sync_pb.SharedUrlContext.UrlRepresentation)
}
PROTOBUF_NDEBUG_INLINE SharedUrlContext_UrlRepresentation::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0},
        value_(arena),
        version_(arena) {}

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

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite SharedUrlContext_UrlRepresentation_class_data_ =
    SharedUrlContext_UrlRepresentation::InternalGenerateClassData_(SharedUrlContext_UrlRepresentation_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
SharedUrlContext_UrlRepresentation::GetClassData() const {
  return SharedUrlContext_UrlRepresentation_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
SharedUrlContext_UrlRepresentation::GetClassData() const {
  return SharedUrlContext_UrlRepresentation_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const SharedUrlContext_UrlRepresentation::ParseTableT_
    SharedUrlContext_UrlRepresentation::_table_ =
        SharedUrlContext_UrlRepresentation::InternalGenerateParseTable_(SharedUrlContext_UrlRepresentation_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void SharedUrlContext_UrlRepresentation::Clear() {
// @@protoc_insertion_point(message_clear_start:sync_pb.SharedUrlContext.UrlRepresentation)
  ::google::protobuf::internal::TSanWrite(&_impl_);
  ::uint32_t cached_has_bits = 0;
  // Prevent compiler warnings about cached_has_bits being unused
  (void) cached_has_bits;

  cached_has_bits = _impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _impl_.value_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _impl_.version_.ClearNonDefaultToEmpty();
    }
  }
  _impl_.source_ = 0;
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

  cached_has_bits = this_._impl_._has_bits_[0];
  // optional .sync_pb.SharedUrlContext.Source source = 1;
  if (CheckHasBit(cached_has_bits, 0x00000004U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteEnumToArray(
        1, this_._internal_source(), target);
  }

  // optional string value = 2;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    const ::std::string& _s = this_._internal_value();
    target = stream->WriteStringMaybeAliased(2, _s, target);
  }

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

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

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

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

  ::_pbi::Prefetch5LinesFrom7Lines(&this_);
  cached_has_bits = this_._impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
    // optional string value = 2;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_value());
    }
    // optional string version = 3;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_version());
    }
    // optional .sync_pb.SharedUrlContext.Source source = 1;
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      total_size += 1 +
                    ::_pbi::WireFormatLite::EnumSize(this_._internal_source());
    }
  }
  if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
    total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
  }
  this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
  return total_size;
}

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

  cached_has_bits = from._impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _this->_internal_set_value(from._internal_value());
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _this->_internal_set_version(from._internal_version());
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _this->_impl_.source_ = from._impl_.source_;
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

void SharedUrlContext_UrlRepresentation::CopyFrom(const SharedUrlContext_UrlRepresentation& from) {
  // @@protoc_insertion_point(class_specific_copy_from_start:sync_pb.SharedUrlContext.UrlRepresentation)
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}


void SharedUrlContext_UrlRepresentation::InternalSwap(SharedUrlContext_UrlRepresentation* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
  using ::std::swap;
  auto* arena = GetArena();
  ABSL_DCHECK_EQ(arena, other->GetArena());
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.value_, &other->_impl_.value_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.version_, &other->_impl_.version_, arena);
  swap(_impl_.source_, other->_impl_.source_);
}

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

SharedUrlContext::SharedUrlContext(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, SharedUrlContext_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:sync_pb.SharedUrlContext)
}
PROTOBUF_NDEBUG_INLINE SharedUrlContext::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
    [[maybe_unused]] const ::sync_pb::SharedUrlContext& from_msg)
      : _has_bits_{from._has_bits_},
        _cached_size_{0},
        representations_ {
          visibility, ::_pbi::InternalMetadataOffset::Build<
              ::sync_pb::SharedUrlContext,
              PROTOBUF_FIELD_OFFSET(::sync_pb::SharedUrlContext, _impl_.representations_)>()
          , from.representations_
        }
        ,
        title_(arena, from.title_) {}

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

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

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

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

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite SharedUrlContext_class_data_ =
    SharedUrlContext::InternalGenerateClassData_(SharedUrlContext_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
SharedUrlContext::GetClassData() const {
  return SharedUrlContext_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
SharedUrlContext::GetClassData() const {
  return SharedUrlContext_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const SharedUrlContext::ParseTableT_
    SharedUrlContext::_table_ =
        SharedUrlContext::InternalGenerateParseTable_(SharedUrlContext_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void SharedUrlContext::Clear() {
// @@protoc_insertion_point(message_clear_start:sync_pb.SharedUrlContext)
  ::google::protobuf::internal::TSanWrite(&_impl_);
  ::uint32_t cached_has_bits = 0;
  // Prevent compiler warnings about cached_has_bits being unused
  (void) cached_has_bits;

  cached_has_bits = _impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _impl_.representations_.Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _impl_.title_.ClearNonDefaultToEmpty();
    }
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

  cached_has_bits = this_._impl_._has_bits_[0];
  // repeated .sync_pb.SharedUrlContext.UrlRepresentation representations = 1;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    for (unsigned i = 0, n = static_cast<unsigned>(
                             this_._internal_representations_size());
         i < n; i++) {
      const auto& repfield = this_._internal_representations().Get(i);
      target =
          ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
              1, repfield, repfield.GetCachedSize(),
              target, stream);
    }
  }

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

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

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

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

  ::_pbi::Prefetch5LinesFrom7Lines(&this_);
  cached_has_bits = this_._impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
    // repeated .sync_pb.SharedUrlContext.UrlRepresentation representations = 1;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1UL * this_._internal_representations_size();
      for (const auto& msg : this_._internal_representations()) {
        total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
      }
    }
    // optional string title = 2;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_title());
    }
  }
  if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
    total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
  }
  this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
  return total_size;
}

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

  cached_has_bits = from._impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _this->_internal_mutable_representations()->InternalMergeFromWithArena(
          ::google::protobuf::MessageLite::internal_visibility(), arena,
          from._internal_representations());
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _this->_internal_set_title(from._internal_title());
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


void SharedUrlContext::InternalSwap(SharedUrlContext* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
  using ::std::swap;
  auto* arena = GetArena();
  ABSL_DCHECK_EQ(arena, other->GetArena());
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  _impl_.representations_.InternalSwap(&other->_impl_.representations_);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.title_, &other->_impl_.title_, arena);
}

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

CommentData_Attribution_CommentTarget_FragmentLink::CommentData_Attribution_CommentTarget_FragmentLink(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, CommentData_Attribution_CommentTarget_FragmentLink_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:sync_pb.CommentData.Attribution.CommentTarget.FragmentLink)
}
PROTOBUF_NDEBUG_INLINE CommentData_Attribution_CommentTarget_FragmentLink::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
    [[maybe_unused]] const ::sync_pb::CommentData_Attribution_CommentTarget_FragmentLink& from_msg)
      : _has_bits_{from._has_bits_},
        _cached_size_{0},
        fragment_(arena, from.fragment_),
        text_preview_(arena, from.text_preview_) {}

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

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

  // @@protoc_insertion_point(copy_constructor:sync_pb.CommentData.Attribution.CommentTarget.FragmentLink)
}
PROTOBUF_NDEBUG_INLINE CommentData_Attribution_CommentTarget_FragmentLink::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0},
        fragment_(arena),
        text_preview_(arena) {}

inline void CommentData_Attribution_CommentTarget_FragmentLink::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
  new (&_impl_) Impl_(internal_visibility(), arena);
}
CommentData_Attribution_CommentTarget_FragmentLink::~CommentData_Attribution_CommentTarget_FragmentLink() {
  // @@protoc_insertion_point(destructor:sync_pb.CommentData.Attribution.CommentTarget.FragmentLink)
  SharedDtor(*this);
}
inline void CommentData_Attribution_CommentTarget_FragmentLink::SharedDtor(MessageLite& self) {
  CommentData_Attribution_CommentTarget_FragmentLink& this_ = static_cast<CommentData_Attribution_CommentTarget_FragmentLink&>(self);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    this_.CheckHasBitConsistency();
  }
  this_._internal_metadata_.Delete<::std::string>();
  ABSL_DCHECK(this_.GetArena() == nullptr);
  this_._impl_.fragment_.Destroy();
  this_._impl_.text_preview_.Destroy();
  this_._impl_.~Impl_();
}

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite CommentData_Attribution_CommentTarget_FragmentLink_class_data_ =
    CommentData_Attribution_CommentTarget_FragmentLink::InternalGenerateClassData_(CommentData_Attribution_CommentTarget_FragmentLink_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
CommentData_Attribution_CommentTarget_FragmentLink::GetClassData() const {
  return CommentData_Attribution_CommentTarget_FragmentLink_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
CommentData_Attribution_CommentTarget_FragmentLink::GetClassData() const {
  return CommentData_Attribution_CommentTarget_FragmentLink_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const CommentData_Attribution_CommentTarget_FragmentLink::ParseTableT_
    CommentData_Attribution_CommentTarget_FragmentLink::_table_ =
        CommentData_Attribution_CommentTarget_FragmentLink::InternalGenerateParseTable_(CommentData_Attribution_CommentTarget_FragmentLink_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void CommentData_Attribution_CommentTarget_FragmentLink::Clear() {
// @@protoc_insertion_point(message_clear_start:sync_pb.CommentData.Attribution.CommentTarget.FragmentLink)
  ::google::protobuf::internal::TSanWrite(&_impl_);
  ::uint32_t cached_has_bits = 0;
  // Prevent compiler warnings about cached_has_bits being unused
  (void) cached_has_bits;

  cached_has_bits = _impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _impl_.fragment_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _impl_.text_preview_.ClearNonDefaultToEmpty();
    }
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

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

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

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

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t CommentData_Attribution_CommentTarget_FragmentLink::ByteSizeLong(const MessageLite& base) {
  const CommentData_Attribution_CommentTarget_FragmentLink& this_ = static_cast<const CommentData_Attribution_CommentTarget_FragmentLink&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t CommentData_Attribution_CommentTarget_FragmentLink::ByteSizeLong() const {
  const CommentData_Attribution_CommentTarget_FragmentLink& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:sync_pb.CommentData.Attribution.CommentTarget.FragmentLink)
  ::size_t total_size = 0;

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

  ::_pbi::Prefetch5LinesFrom7Lines(&this_);
  cached_has_bits = this_._impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
    // optional string fragment = 1;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_fragment());
    }
    // optional string text_preview = 2;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_text_preview());
    }
  }
  if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
    total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
  }
  this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
  return total_size;
}

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

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

void CommentData_Attribution_CommentTarget_FragmentLink::CopyFrom(const CommentData_Attribution_CommentTarget_FragmentLink& from) {
  // @@protoc_insertion_point(class_specific_copy_from_start:sync_pb.CommentData.Attribution.CommentTarget.FragmentLink)
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}


void CommentData_Attribution_CommentTarget_FragmentLink::InternalSwap(CommentData_Attribution_CommentTarget_FragmentLink* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
  using ::std::swap;
  auto* arena = GetArena();
  ABSL_DCHECK_EQ(arena, other->GetArena());
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.fragment_, &other->_impl_.fragment_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.text_preview_, &other->_impl_.text_preview_, arena);
}

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

CommentData_Attribution_CommentTarget::CommentData_Attribution_CommentTarget(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, CommentData_Attribution_CommentTarget_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:sync_pb.CommentData.Attribution.CommentTarget)
}
PROTOBUF_NDEBUG_INLINE CommentData_Attribution_CommentTarget::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
    [[maybe_unused]] const ::sync_pb::CommentData_Attribution_CommentTarget& from_msg)
      : _has_bits_{from._has_bits_},
        _cached_size_{0},
        shared_url_context_uuid_(arena, from.shared_url_context_uuid_) {}

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

#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  CommentData_Attribution_CommentTarget* const _this = this;
  (void)_this;
  _internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
  new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
  ::uint32_t cached_has_bits = _impl_._has_bits_[0];
  _impl_.link_fragment_ = (CheckHasBit(cached_has_bits, 0x00000002U))
                ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.link_fragment_)
                : nullptr;

  // @@protoc_insertion_point(copy_constructor:sync_pb.CommentData.Attribution.CommentTarget)
}
PROTOBUF_NDEBUG_INLINE CommentData_Attribution_CommentTarget::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0},
        shared_url_context_uuid_(arena) {}

inline void CommentData_Attribution_CommentTarget::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
  new (&_impl_) Impl_(internal_visibility(), arena);
  _impl_.link_fragment_ = {};
}
CommentData_Attribution_CommentTarget::~CommentData_Attribution_CommentTarget() {
  // @@protoc_insertion_point(destructor:sync_pb.CommentData.Attribution.CommentTarget)
  SharedDtor(*this);
}
inline void CommentData_Attribution_CommentTarget::SharedDtor(MessageLite& self) {
  CommentData_Attribution_CommentTarget& this_ = static_cast<CommentData_Attribution_CommentTarget&>(self);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    this_.CheckHasBitConsistency();
  }
  this_._internal_metadata_.Delete<::std::string>();
  ABSL_DCHECK(this_.GetArena() == nullptr);
  this_._impl_.shared_url_context_uuid_.Destroy();
  delete this_._impl_.link_fragment_;
  this_._impl_.~Impl_();
}

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite CommentData_Attribution_CommentTarget_class_data_ =
    CommentData_Attribution_CommentTarget::InternalGenerateClassData_(CommentData_Attribution_CommentTarget_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
CommentData_Attribution_CommentTarget::GetClassData() const {
  return CommentData_Attribution_CommentTarget_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
CommentData_Attribution_CommentTarget::GetClassData() const {
  return CommentData_Attribution_CommentTarget_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const CommentData_Attribution_CommentTarget::ParseTableT_
    CommentData_Attribution_CommentTarget::_table_ =
        CommentData_Attribution_CommentTarget::InternalGenerateParseTable_(CommentData_Attribution_CommentTarget_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void CommentData_Attribution_CommentTarget::Clear() {
// @@protoc_insertion_point(message_clear_start:sync_pb.CommentData.Attribution.CommentTarget)
  ::google::protobuf::internal::TSanWrite(&_impl_);
  ::uint32_t cached_has_bits = 0;
  // Prevent compiler warnings about cached_has_bits being unused
  (void) cached_has_bits;

  cached_has_bits = _impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _impl_.shared_url_context_uuid_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      ABSL_DCHECK(_impl_.link_fragment_ != nullptr);
      _impl_.link_fragment_->Clear();
    }
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

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

  // optional .sync_pb.CommentData.Attribution.CommentTarget.FragmentLink link_fragment = 2;
  if (CheckHasBit(cached_has_bits, 0x00000002U)) {
    target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
        2, *this_._impl_.link_fragment_, this_._impl_.link_fragment_->GetCachedSize(), target,
        stream);
  }

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

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t CommentData_Attribution_CommentTarget::ByteSizeLong(const MessageLite& base) {
  const CommentData_Attribution_CommentTarget& this_ = static_cast<const CommentData_Attribution_CommentTarget&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t CommentData_Attribution_CommentTarget::ByteSizeLong() const {
  const CommentData_Attribution_CommentTarget& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:sync_pb.CommentData.Attribution.CommentTarget)
  ::size_t total_size = 0;

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

  ::_pbi::Prefetch5LinesFrom7Lines(&this_);
  cached_has_bits = this_._impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
    // optional string shared_url_context_uuid = 1;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_shared_url_context_uuid());
    }
    // optional .sync_pb.CommentData.Attribution.CommentTarget.FragmentLink link_fragment = 2;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.link_fragment_);
    }
  }
  if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
    total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
  }
  this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
  return total_size;
}

void CommentData_Attribution_CommentTarget::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<CommentData_Attribution_CommentTarget*>(&to_msg);
  auto& from = static_cast<const CommentData_Attribution_CommentTarget&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  ::google::protobuf::Arena* arena = _this->GetArena();
  // @@protoc_insertion_point(class_specific_merge_from_start:sync_pb.CommentData.Attribution.CommentTarget)
  ABSL_DCHECK_NE(&from, _this);
  ::uint32_t cached_has_bits = 0;
  (void)cached_has_bits;

  cached_has_bits = from._impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _this->_internal_set_shared_url_context_uuid(from._internal_shared_url_context_uuid());
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      ABSL_DCHECK(from._impl_.link_fragment_ != nullptr);
      if (_this->_impl_.link_fragment_ == nullptr) {
        _this->_impl_.link_fragment_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.link_fragment_);
      } else {
        _this->_impl_.link_fragment_->MergeFrom(*from._impl_.link_fragment_);
      }
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

void CommentData_Attribution_CommentTarget::CopyFrom(const CommentData_Attribution_CommentTarget& from) {
  // @@protoc_insertion_point(class_specific_copy_from_start:sync_pb.CommentData.Attribution.CommentTarget)
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}


void CommentData_Attribution_CommentTarget::InternalSwap(CommentData_Attribution_CommentTarget* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
  using ::std::swap;
  auto* arena = GetArena();
  ABSL_DCHECK_EQ(arena, other->GetArena());
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.shared_url_context_uuid_, &other->_impl_.shared_url_context_uuid_, arena);
  swap(_impl_.link_fragment_, other->_impl_.link_fragment_);
}

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

CommentData_Attribution_InReplyTo::CommentData_Attribution_InReplyTo(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, CommentData_Attribution_InReplyTo_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:sync_pb.CommentData.Attribution.InReplyTo)
}
PROTOBUF_NDEBUG_INLINE CommentData_Attribution_InReplyTo::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
    [[maybe_unused]] const ::sync_pb::CommentData_Attribution_InReplyTo& from_msg)
      : _has_bits_{from._has_bits_},
        _cached_size_{0},
        parent_id_(arena, from.parent_id_) {}

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

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

  // @@protoc_insertion_point(copy_constructor:sync_pb.CommentData.Attribution.InReplyTo)
}
PROTOBUF_NDEBUG_INLINE CommentData_Attribution_InReplyTo::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0},
        parent_id_(arena) {}

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

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite CommentData_Attribution_InReplyTo_class_data_ =
    CommentData_Attribution_InReplyTo::InternalGenerateClassData_(CommentData_Attribution_InReplyTo_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
CommentData_Attribution_InReplyTo::GetClassData() const {
  return CommentData_Attribution_InReplyTo_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
CommentData_Attribution_InReplyTo::GetClassData() const {
  return CommentData_Attribution_InReplyTo_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const CommentData_Attribution_InReplyTo::ParseTableT_
    CommentData_Attribution_InReplyTo::_table_ =
        CommentData_Attribution_InReplyTo::InternalGenerateParseTable_(CommentData_Attribution_InReplyTo_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void CommentData_Attribution_InReplyTo::Clear() {
// @@protoc_insertion_point(message_clear_start:sync_pb.CommentData.Attribution.InReplyTo)
  ::google::protobuf::internal::TSanWrite(&_impl_);
  ::uint32_t cached_has_bits = 0;
  // Prevent compiler warnings about cached_has_bits being unused
  (void) cached_has_bits;

  cached_has_bits = _impl_._has_bits_[0];
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    _impl_.parent_id_.ClearNonDefaultToEmpty();
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

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

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

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t CommentData_Attribution_InReplyTo::ByteSizeLong(const MessageLite& base) {
  const CommentData_Attribution_InReplyTo& this_ = static_cast<const CommentData_Attribution_InReplyTo&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t CommentData_Attribution_InReplyTo::ByteSizeLong() const {
  const CommentData_Attribution_InReplyTo& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:sync_pb.CommentData.Attribution.InReplyTo)
  ::size_t total_size = 0;

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

   {
    // optional string parent_id = 1;
    cached_has_bits = this_._impl_._has_bits_[0];
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_parent_id());
    }
  }
  if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
    total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
  }
  this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
  return total_size;
}

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

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

void CommentData_Attribution_InReplyTo::CopyFrom(const CommentData_Attribution_InReplyTo& from) {
  // @@protoc_insertion_point(class_specific_copy_from_start:sync_pb.CommentData.Attribution.InReplyTo)
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}


void CommentData_Attribution_InReplyTo::InternalSwap(CommentData_Attribution_InReplyTo* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
  using ::std::swap;
  auto* arena = GetArena();
  ABSL_DCHECK_EQ(arena, other->GetArena());
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.parent_id_, &other->_impl_.parent_id_, arena);
}

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

void CommentData_Attribution::set_allocated_top_level(::sync_pb::CommentData_Attribution_CommentTarget* PROTOBUF_NULLABLE top_level) {
  ::google::protobuf::Arena* message_arena = GetArena();
  clear_kind();
  if (top_level) {
    ::google::protobuf::Arena* submessage_arena = top_level->GetArena();
    if (message_arena != submessage_arena) {
      top_level = ::google::protobuf::internal::GetOwnedMessage(message_arena, top_level, submessage_arena);
    }
    set_has_top_level();
    _impl_.kind_.top_level_ = top_level;
  }
  // @@protoc_insertion_point(field_set_allocated:sync_pb.CommentData.Attribution.top_level)
}
void CommentData_Attribution::set_allocated_parent(::sync_pb::CommentData_Attribution_InReplyTo* PROTOBUF_NULLABLE parent) {
  ::google::protobuf::Arena* message_arena = GetArena();
  clear_kind();
  if (parent) {
    ::google::protobuf::Arena* submessage_arena = parent->GetArena();
    if (message_arena != submessage_arena) {
      parent = ::google::protobuf::internal::GetOwnedMessage(message_arena, parent, submessage_arena);
    }
    set_has_parent();
    _impl_.kind_.parent_ = parent;
  }
  // @@protoc_insertion_point(field_set_allocated:sync_pb.CommentData.Attribution.parent)
}
CommentData_Attribution::CommentData_Attribution(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, CommentData_Attribution_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:sync_pb.CommentData.Attribution)
}
PROTOBUF_NDEBUG_INLINE CommentData_Attribution::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
    [[maybe_unused]] const ::sync_pb::CommentData_Attribution& from_msg)
      : kind_{},
        _cached_size_{0},
        _oneof_case_{from._oneof_case_[0]} {}

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

#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  CommentData_Attribution* const _this = this;
  (void)_this;
  _internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
  new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
  switch (kind_case()) {
    case KIND_NOT_SET:
      break;
      case kTopLevel:
        _impl_.kind_.top_level_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.kind_.top_level_);
        break;
      case kParent:
        _impl_.kind_.parent_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.kind_.parent_);
        break;
  }

  // @@protoc_insertion_point(copy_constructor:sync_pb.CommentData.Attribution)
}
PROTOBUF_NDEBUG_INLINE CommentData_Attribution::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : kind_{},
        _cached_size_{0},
        _oneof_case_{} {}

inline void CommentData_Attribution::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
  new (&_impl_) Impl_(internal_visibility(), arena);
}
CommentData_Attribution::~CommentData_Attribution() {
  // @@protoc_insertion_point(destructor:sync_pb.CommentData.Attribution)
  SharedDtor(*this);
}
inline void CommentData_Attribution::SharedDtor(MessageLite& self) {
  CommentData_Attribution& this_ = static_cast<CommentData_Attribution&>(self);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    this_.CheckHasBitConsistency();
  }
  this_._internal_metadata_.Delete<::std::string>();
  ABSL_DCHECK(this_.GetArena() == nullptr);
  if (this_.has_kind()) {
    this_.clear_kind();
  }
  this_._impl_.~Impl_();
}

void CommentData_Attribution::clear_kind() {
// @@protoc_insertion_point(one_of_clear_start:sync_pb.CommentData.Attribution)
  ::google::protobuf::internal::TSanWrite(&_impl_);
  switch (kind_case()) {
    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();
        }
      }
      break;
    }
    case kParent: {
      if (GetArena() == nullptr) {
        delete _impl_.kind_.parent_;
      } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
        if (_impl_.kind_.parent_ != nullptr) {
          _impl_.kind_.parent_->Clear();
        }
      }
      break;
    }
    case KIND_NOT_SET: {
      break;
    }
  }
  _impl_._oneof_case_[0] = KIND_NOT_SET;
}


#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite CommentData_Attribution_class_data_ =
    CommentData_Attribution::InternalGenerateClassData_(CommentData_Attribution_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
CommentData_Attribution::GetClassData() const {
  return CommentData_Attribution_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
CommentData_Attribution::GetClassData() const {
  return CommentData_Attribution_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const CommentData_Attribution::ParseTableT_
    CommentData_Attribution::_table_ =
        CommentData_Attribution::InternalGenerateParseTable_(CommentData_Attribution_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void CommentData_Attribution::Clear() {
// @@protoc_insertion_point(message_clear_start:sync_pb.CommentData.Attribution)
  ::google::protobuf::internal::TSanWrite(&_impl_);
  ::uint32_t cached_has_bits = 0;
  // Prevent compiler warnings about cached_has_bits being unused
  (void) cached_has_bits;

  clear_kind();
  _internal_metadata_.Clear<::std::string>();
}

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

  switch (this_.kind_case()) {
    case kTopLevel: {
      target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
          1, *this_._impl_.kind_.top_level_, this_._impl_.kind_.top_level_->GetCachedSize(), target,
          stream);
      break;
    }
    case kParent: {
      target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
          2, *this_._impl_.kind_.parent_, this_._impl_.kind_.parent_->GetCachedSize(), target,
          stream);
      break;
    }
    default:
      break;
  }
  if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
    target = stream->WriteRaw(
        this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
        static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
  }
  // @@protoc_insertion_point(serialize_to_array_end:sync_pb.CommentData.Attribution)
  return target;
}

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

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

  switch (this_.kind_case()) {
    // .sync_pb.CommentData.Attribution.CommentTarget top_level = 1;
    case kTopLevel: {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.kind_.top_level_);
      break;
    }
    // .sync_pb.CommentData.Attribution.InReplyTo parent = 2;
    case kParent: {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.kind_.parent_);
      break;
    }
    case KIND_NOT_SET: {
      break;
    }
  }
  if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
    total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
  }
  this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
  return total_size;
}

void CommentData_Attribution::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<CommentData_Attribution*>(&to_msg);
  auto& from = static_cast<const CommentData_Attribution&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  ::google::protobuf::Arena* arena = _this->GetArena();
  // @@protoc_insertion_point(class_specific_merge_from_start:sync_pb.CommentData.Attribution)
  ABSL_DCHECK_NE(&from, _this);
  ::uint32_t cached_has_bits = 0;
  (void)cached_has_bits;

  if (const uint32_t oneof_from_case =
          from._impl_._oneof_case_[0]) {
    const uint32_t oneof_to_case = _this->_impl_._oneof_case_[0];
    const bool oneof_needs_init = oneof_to_case != oneof_from_case;
    if (oneof_needs_init) {
      if (oneof_to_case != 0) {
        _this->clear_kind();
      }
      _this->_impl_._oneof_case_[0] = oneof_from_case;
    }

    switch (oneof_from_case) {
      case kTopLevel: {
        if (oneof_needs_init) {
          _this->_impl_.kind_.top_level_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.kind_.top_level_);
        } else {
          _this->_impl_.kind_.top_level_->MergeFrom(*from._impl_.kind_.top_level_);
        }
        break;
      }
      case kParent: {
        if (oneof_needs_init) {
          _this->_impl_.kind_.parent_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.kind_.parent_);
        } else {
          _this->_impl_.kind_.parent_->MergeFrom(*from._impl_.kind_.parent_);
        }
        break;
      }
      case KIND_NOT_SET:
        break;
    }
  }
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

void CommentData_Attribution::CopyFrom(const CommentData_Attribution& from) {
  // @@protoc_insertion_point(class_specific_copy_from_start:sync_pb.CommentData.Attribution)
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}


void CommentData_Attribution::InternalSwap(CommentData_Attribution* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
  using ::std::swap;
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  swap(_impl_.kind_, other->_impl_.kind_);
  swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]);
}

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

CommentData_OrderKey::CommentData_OrderKey(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, CommentData_OrderKey_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:sync_pb.CommentData.OrderKey)
}
PROTOBUF_NDEBUG_INLINE CommentData_OrderKey::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
    [[maybe_unused]] const ::sync_pb::CommentData_OrderKey& from_msg)
      : _has_bits_{from._has_bits_},
        _cached_size_{0},
        device_guid_(arena, from.device_guid_) {}

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

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

  // @@protoc_insertion_point(copy_constructor:sync_pb.CommentData.OrderKey)
}
PROTOBUF_NDEBUG_INLINE CommentData_OrderKey::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0},
        device_guid_(arena) {}

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

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite CommentData_OrderKey_class_data_ =
    CommentData_OrderKey::InternalGenerateClassData_(CommentData_OrderKey_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
CommentData_OrderKey::GetClassData() const {
  return CommentData_OrderKey_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
CommentData_OrderKey::GetClassData() const {
  return CommentData_OrderKey_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const CommentData_OrderKey::ParseTableT_
    CommentData_OrderKey::_table_ =
        CommentData_OrderKey::InternalGenerateParseTable_(CommentData_OrderKey_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void CommentData_OrderKey::Clear() {
// @@protoc_insertion_point(message_clear_start:sync_pb.CommentData.OrderKey)
  ::google::protobuf::internal::TSanWrite(&_impl_);
  ::uint32_t cached_has_bits = 0;
  // Prevent compiler warnings about cached_has_bits being unused
  (void) cached_has_bits;

  cached_has_bits = _impl_._has_bits_[0];
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    _impl_.device_guid_.ClearNonDefaultToEmpty();
  }
  _impl_.local_sequence_ = ::int64_t{0};
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

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

  // optional int64 local_sequence = 2;
  if (CheckHasBit(cached_has_bits, 0x00000002U)) {
    target =
        ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<2>(
            stream, this_._internal_local_sequence(), target);
  }

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

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

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

  ::_pbi::Prefetch5LinesFrom7Lines(&this_);
  cached_has_bits = this_._impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
    // optional string device_guid = 1;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_device_guid());
    }
    // optional int64 local_sequence = 2;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
          this_._internal_local_sequence());
    }
  }
  if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
    total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
  }
  this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
  return total_size;
}

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

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

void CommentData_OrderKey::CopyFrom(const CommentData_OrderKey& from) {
  // @@protoc_insertion_point(class_specific_copy_from_start:sync_pb.CommentData.OrderKey)
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}


void CommentData_OrderKey::InternalSwap(CommentData_OrderKey* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
  using ::std::swap;
  auto* arena = GetArena();
  ABSL_DCHECK_EQ(arena, other->GetArena());
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.device_guid_, &other->_impl_.device_guid_, arena);
  swap(_impl_.local_sequence_, other->_impl_.local_sequence_);
}

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

CommentData::CommentData(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, CommentData_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:sync_pb.CommentData)
}
PROTOBUF_NDEBUG_INLINE CommentData::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
    [[maybe_unused]] const ::sync_pb::CommentData& from_msg)
      : _has_bits_{from._has_bits_},
        _cached_size_{0},
        text_(arena, from.text_) {}

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

#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  CommentData* const _this = this;
  (void)_this;
  _internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
  new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
  ::uint32_t cached_has_bits = _impl_._has_bits_[0];
  _impl_.attribution_ = (CheckHasBit(cached_has_bits, 0x00000002U))
                ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.attribution_)
                : nullptr;
  _impl_.order_key_ = (CheckHasBit(cached_has_bits, 0x00000004U))
                ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.order_key_)
                : nullptr;

  // @@protoc_insertion_point(copy_constructor:sync_pb.CommentData)
}
PROTOBUF_NDEBUG_INLINE CommentData::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0},
        text_(arena) {}

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

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite CommentData_class_data_ =
    CommentData::InternalGenerateClassData_(CommentData_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
CommentData::GetClassData() const {
  return CommentData_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
CommentData::GetClassData() const {
  return CommentData_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const CommentData::ParseTableT_
    CommentData::_table_ =
        CommentData::InternalGenerateParseTable_(CommentData_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void CommentData::Clear() {
// @@protoc_insertion_point(message_clear_start:sync_pb.CommentData)
  ::google::protobuf::internal::TSanWrite(&_impl_);
  ::uint32_t cached_has_bits = 0;
  // Prevent compiler warnings about cached_has_bits being unused
  (void) cached_has_bits;

  cached_has_bits = _impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _impl_.text_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      ABSL_DCHECK(_impl_.attribution_ != nullptr);
      _impl_.attribution_->Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      ABSL_DCHECK(_impl_.order_key_ != nullptr);
      _impl_.order_key_->Clear();
    }
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

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

  // optional .sync_pb.CommentData.Attribution attribution = 2;
  if (CheckHasBit(cached_has_bits, 0x00000002U)) {
    target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
        2, *this_._impl_.attribution_, this_._impl_.attribution_->GetCachedSize(), target,
        stream);
  }

  // optional .sync_pb.CommentData.OrderKey order_key = 3;
  if (CheckHasBit(cached_has_bits, 0x00000004U)) {
    target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
        3, *this_._impl_.order_key_, this_._impl_.order_key_->GetCachedSize(), target,
        stream);
  }

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

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

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

  ::_pbi::Prefetch5LinesFrom7Lines(&this_);
  cached_has_bits = this_._impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
    // optional string text = 1;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_text());
    }
    // optional .sync_pb.CommentData.Attribution attribution = 2;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.attribution_);
    }
    // optional .sync_pb.CommentData.OrderKey order_key = 3;
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.order_key_);
    }
  }
  if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
    total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
  }
  this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
  return total_size;
}

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

  cached_has_bits = from._impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _this->_internal_set_text(from._internal_text());
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      ABSL_DCHECK(from._impl_.attribution_ != nullptr);
      if (_this->_impl_.attribution_ == nullptr) {
        _this->_impl_.attribution_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.attribution_);
      } else {
        _this->_impl_.attribution_->MergeFrom(*from._impl_.attribution_);
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      ABSL_DCHECK(from._impl_.order_key_ != nullptr);
      if (_this->_impl_.order_key_ == nullptr) {
        _this->_impl_.order_key_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.order_key_);
      } else {
        _this->_impl_.order_key_->MergeFrom(*from._impl_.order_key_);
      }
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


void CommentData::InternalSwap(CommentData* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
  using ::std::swap;
  auto* arena = GetArena();
  ABSL_DCHECK_EQ(arena, other->GetArena());
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.text_, &other->_impl_.text_, arena);
  ::google::protobuf::internal::memswap<
      PROTOBUF_FIELD_OFFSET(CommentData, _impl_.order_key_)
      + sizeof(CommentData::_impl_.order_key_)
      - PROTOBUF_FIELD_OFFSET(CommentData, _impl_.attribution_)>(
          reinterpret_cast<char*>(&_impl_.attribution_),
          reinterpret_cast<char*>(&other->_impl_.attribution_));
}

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

void SharedCommentSpecifics::set_allocated_comment(::sync_pb::CommentData* PROTOBUF_NULLABLE comment) {
  ::google::protobuf::Arena* message_arena = GetArena();
  clear_entity();
  if (comment) {
    ::google::protobuf::Arena* submessage_arena = comment->GetArena();
    if (message_arena != submessage_arena) {
      comment = ::google::protobuf::internal::GetOwnedMessage(message_arena, comment, submessage_arena);
    }
    set_has_comment();
    _impl_.entity_.comment_ = comment;
  }
  // @@protoc_insertion_point(field_set_allocated:sync_pb.SharedCommentSpecifics.comment)
}
void SharedCommentSpecifics::set_allocated_shared_url_context(::sync_pb::SharedUrlContext* PROTOBUF_NULLABLE shared_url_context) {
  ::google::protobuf::Arena* message_arena = GetArena();
  clear_entity();
  if (shared_url_context) {
    ::google::protobuf::Arena* submessage_arena = shared_url_context->GetArena();
    if (message_arena != submessage_arena) {
      shared_url_context = ::google::protobuf::internal::GetOwnedMessage(message_arena, shared_url_context, submessage_arena);
    }
    set_has_shared_url_context();
    _impl_.entity_.shared_url_context_ = shared_url_context;
  }
  // @@protoc_insertion_point(field_set_allocated:sync_pb.SharedCommentSpecifics.shared_url_context)
}
SharedCommentSpecifics::SharedCommentSpecifics(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, SharedCommentSpecifics_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:sync_pb.SharedCommentSpecifics)
}
PROTOBUF_NDEBUG_INLINE SharedCommentSpecifics::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
    [[maybe_unused]] const ::sync_pb::SharedCommentSpecifics& from_msg)
      : _has_bits_{from._has_bits_},
        _cached_size_{0},
        uuid_(arena, from.uuid_),
        context_id_(arena, from.context_id_),
        entity_{},
        _oneof_case_{from._oneof_case_[0]} {}

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

#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCommentSpecifics* const _this = this;
  (void)_this;
  _internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
  new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
  _impl_.proto_version_ = from._impl_.proto_version_;
  switch (entity_case()) {
    case ENTITY_NOT_SET:
      break;
      case kComment:
        _impl_.entity_.comment_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.entity_.comment_);
        break;
      case kSharedUrlContext:
        _impl_.entity_.shared_url_context_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.entity_.shared_url_context_);
        break;
  }

  // @@protoc_insertion_point(copy_constructor:sync_pb.SharedCommentSpecifics)
}
PROTOBUF_NDEBUG_INLINE SharedCommentSpecifics::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0},
        uuid_(arena),
        context_id_(arena),
        entity_{},
        _oneof_case_{} {}

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

void SharedCommentSpecifics::clear_entity() {
// @@protoc_insertion_point(one_of_clear_start:sync_pb.SharedCommentSpecifics)
  ::google::protobuf::internal::TSanWrite(&_impl_);
  switch (entity_case()) {
    case kComment: {
      if (GetArena() == nullptr) {
        delete _impl_.entity_.comment_;
      } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
        if (_impl_.entity_.comment_ != nullptr) {
          _impl_.entity_.comment_->Clear();
        }
      }
      break;
    }
    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();
        }
      }
      break;
    }
    case ENTITY_NOT_SET: {
      break;
    }
  }
  _impl_._oneof_case_[0] = ENTITY_NOT_SET;
}


#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite SharedCommentSpecifics_class_data_ =
    SharedCommentSpecifics::InternalGenerateClassData_(SharedCommentSpecifics_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
SharedCommentSpecifics::GetClassData() const {
  return SharedCommentSpecifics_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
SharedCommentSpecifics::GetClassData() const {
  return SharedCommentSpecifics_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const SharedCommentSpecifics::ParseTableT_
    SharedCommentSpecifics::_table_ =
        SharedCommentSpecifics::InternalGenerateParseTable_(SharedCommentSpecifics_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void SharedCommentSpecifics::Clear() {
// @@protoc_insertion_point(message_clear_start:sync_pb.SharedCommentSpecifics)
  ::google::protobuf::internal::TSanWrite(&_impl_);
  ::uint32_t cached_has_bits = 0;
  // Prevent compiler warnings about cached_has_bits being unused
  (void) cached_has_bits;

  cached_has_bits = _impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _impl_.uuid_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _impl_.context_id_.ClearNonDefaultToEmpty();
    }
  }
  _impl_.proto_version_ = ::int64_t{0};
  clear_entity();
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

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

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

  // optional int64 proto_version = 3;
  if (CheckHasBit(cached_has_bits, 0x00000004U)) {
    target =
        ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<3>(
            stream, this_._internal_proto_version(), target);
  }

  switch (this_.entity_case()) {
    case kComment: {
      target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
          4, *this_._impl_.entity_.comment_, this_._impl_.entity_.comment_->GetCachedSize(), target,
          stream);
      break;
    }
    case kSharedUrlContext: {
      target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
          5, *this_._impl_.entity_.shared_url_context_, this_._impl_.entity_.shared_url_context_->GetCachedSize(), target,
          stream);
      break;
    }
    default:
      break;
  }
  if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
    target = stream->WriteRaw(
        this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
        static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
  }
  // @@protoc_insertion_point(serialize_to_array_end:sync_pb.SharedCommentSpecifics)
  return target;
}

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

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

  ::_pbi::Prefetch5LinesFrom7Lines(&this_);
  cached_has_bits = this_._impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
    // optional string uuid = 1;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_uuid());
    }
    // optional string context_id = 2;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_context_id());
    }
    // optional int64 proto_version = 3;
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
          this_._internal_proto_version());
    }
  }
  switch (this_.entity_case()) {
    // .sync_pb.CommentData comment = 4;
    case kComment: {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.entity_.comment_);
      break;
    }
    // .sync_pb.SharedUrlContext shared_url_context = 5;
    case kSharedUrlContext: {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.entity_.shared_url_context_);
      break;
    }
    case ENTITY_NOT_SET: {
      break;
    }
  }
  if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
    total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
  }
  this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
  return total_size;
}

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

  cached_has_bits = from._impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _this->_internal_set_uuid(from._internal_uuid());
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _this->_internal_set_context_id(from._internal_context_id());
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _this->_impl_.proto_version_ = from._impl_.proto_version_;
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  if (const uint32_t oneof_from_case =
          from._impl_._oneof_case_[0]) {
    const uint32_t oneof_to_case = _this->_impl_._oneof_case_[0];
    const bool oneof_needs_init = oneof_to_case != oneof_from_case;
    if (oneof_needs_init) {
      if (oneof_to_case != 0) {
        _this->clear_entity();
      }
      _this->_impl_._oneof_case_[0] = oneof_from_case;
    }

    switch (oneof_from_case) {
      case kComment: {
        if (oneof_needs_init) {
          _this->_impl_.entity_.comment_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.entity_.comment_);
        } else {
          _this->_impl_.entity_.comment_->MergeFrom(*from._impl_.entity_.comment_);
        }
        break;
      }
      case kSharedUrlContext: {
        if (oneof_needs_init) {
          _this->_impl_.entity_.shared_url_context_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.entity_.shared_url_context_);
        } else {
          _this->_impl_.entity_.shared_url_context_->MergeFrom(*from._impl_.entity_.shared_url_context_);
        }
        break;
      }
      case ENTITY_NOT_SET:
        break;
    }
  }
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


void SharedCommentSpecifics::InternalSwap(SharedCommentSpecifics* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
  using ::std::swap;
  auto* arena = GetArena();
  ABSL_DCHECK_EQ(arena, other->GetArena());
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.uuid_, &other->_impl_.uuid_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.context_id_, &other->_impl_.context_id_, arena);
  swap(_impl_.proto_version_, other->_impl_.proto_version_);
  swap(_impl_.entity_, other->_impl_.entity_);
  swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]);
}

// @@protoc_insertion_point(namespace_scope)
}  // namespace sync_pb
namespace google {
namespace protobuf {
}  // namespace protobuf
}  // namespace google
// @@protoc_insertion_point(global_scope)
#include "google/protobuf/port_undef.inc"
