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

#include "components/sync/protocol/shared_tab_group_account_data_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 SharedTabGroupDetails::_Internal {
 public:
  using HasBits = decltype(::std::declval<SharedTabGroupDetails>()._impl_._has_bits_);
  static constexpr ::int32_t kHasBitsOffset =
      8 * PROTOBUF_FIELD_OFFSET(SharedTabGroupDetails, _impl_._has_bits_);
};

constexpr SharedTabGroupDetails::ParseTableT_ SharedTabGroupDetails::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(SharedTabGroupDetails, _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::SharedTabGroupDetails>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      // optional int64 projects_position = 2;
      {::_pbi::TcParser::FastV64S1,
       {16, 1, 0,
        PROTOBUF_FIELD_OFFSET(SharedTabGroupDetails, _impl_.projects_position_)}},
      // optional int64 pinned_position = 1;
      {::_pbi::TcParser::FastV64S1,
       {8, 0, 0,
        PROTOBUF_FIELD_OFFSET(SharedTabGroupDetails, _impl_.pinned_position_)}},
    }}, {{
      65535, 65535
    }}, {{
      // optional int64 pinned_position = 1;
      {PROTOBUF_FIELD_OFFSET(SharedTabGroupDetails, _impl_.pinned_position_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
      // optional int64 projects_position = 2;
      {PROTOBUF_FIELD_OFFSET(SharedTabGroupDetails, _impl_.projects_position_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
    }},
    // no aux_entries
    {{
    }},
  };
}


inline constexpr SharedTabGroupDetails::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        pinned_position_{::int64_t{0}},
        projects_position_{::int64_t{0}} {}

template <typename>
constexpr SharedTabGroupDetails::SharedTabGroupDetails(::_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 SharedTabGroupDetails::PlacementNew_(
    const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
    ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
  return ::new (mem) SharedTabGroupDetails(arena);
}
constexpr auto SharedTabGroupDetails::InternalNewImpl_() {
  return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(SharedTabGroupDetails), alignof(SharedTabGroupDetails));
}
constexpr auto SharedTabGroupDetails::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
          &SharedTabGroupDetails::MergeImpl,
          ::google::protobuf::MessageLite::GetNewImpl<SharedTabGroupDetails>(),
#if defined(PROTOBUF_CUSTOM_VTABLE)
          &SharedTabGroupDetails::SharedDtor,
          ::google::protobuf::MessageLite::GetClearImpl<SharedTabGroupDetails>(), &SharedTabGroupDetails::ByteSizeLong,
              &SharedTabGroupDetails::_InternalSerialize,
#endif  // PROTOBUF_CUSTOM_VTABLE
          PROTOBUF_FIELD_OFFSET(SharedTabGroupDetails, _impl_._cached_size_),
          true,
      },
      "sync_pb.SharedTabGroupDetails",
  };
}
struct SharedTabGroupDetailsGlobalsTypeInternal : ::_pbi::MessageGlobalsBase {
  constexpr SharedTabGroupDetailsGlobalsTypeInternal()
      :
#ifndef PROTOBUF_MESSAGE_GLOBALS
        _default(::_pbi::ConstantInitialized{},
                 SharedTabGroupDetails_class_data_.base())
#else   // !PROTOBUF_MESSAGE_GLOBALS
        MessageGlobalsBase(SharedTabGroupDetails::InternalGenerateClassData_(
            _default, &SharedTabGroupDetails_globals_._table.header)),
        _default(::_pbi::ConstantInitialized{}, GetClassData()),
        _table(::_pbi::PrivateAccess::GenerateParseTable<SharedTabGroupDetails>(
            GetClassData()))
#endif  // PROTOBUF_MESSAGE_GLOBALS
  {
  }
  ~SharedTabGroupDetailsGlobalsTypeInternal() {}
  union {
    alignas(::_pbi::kMaxMessageAlignment) SharedTabGroupDetails _default;
  };
#ifdef PROTOBUF_MESSAGE_GLOBALS
  decltype(::_pbi::PrivateAccess::GenerateParseTable<SharedTabGroupDetails>(
      ::std::declval<const ::_pbi::ClassData*>())) _table;
#endif
};
#ifdef PROTOBUF_MESSAGE_GLOBALS
static_assert(PROTOBUF_FIELD_OFFSET(SharedTabGroupDetailsGlobalsTypeInternal, _default) ==
              ::_pbi::MessageGlobalsBase::OffsetToDefault());
#endif  // PROTOBUF_MESSAGE_GLOBALS

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

constexpr SharedTabDetails::ParseTableT_ SharedTabDetails::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(SharedTabDetails, _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::SharedTabDetails>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      // optional int64 last_seen_timestamp_windows_epoch = 2;
      {::_pbi::TcParser::FastV64S1,
       {16, 1, 0,
        PROTOBUF_FIELD_OFFSET(SharedTabDetails, _impl_.last_seen_timestamp_windows_epoch_)}},
      // optional string shared_tab_group_guid = 1;
      {::_pbi::TcParser::FastBS1,
       {10, 0, 0,
        PROTOBUF_FIELD_OFFSET(SharedTabDetails, _impl_.shared_tab_group_guid_)}},
    }}, {{
      65535, 65535
    }}, {{
      // optional string shared_tab_group_guid = 1;
      {PROTOBUF_FIELD_OFFSET(SharedTabDetails, _impl_.shared_tab_group_guid_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional int64 last_seen_timestamp_windows_epoch = 2;
      {PROTOBUF_FIELD_OFFSET(SharedTabDetails, _impl_.last_seen_timestamp_windows_epoch_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
    }},
    // no aux_entries
    {{
    }},
  };
}


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

template <typename>
constexpr SharedTabDetails::SharedTabDetails(::_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 SharedTabDetails::PlacementNew_(
    const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
    ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
  return ::new (mem) SharedTabDetails(arena);
}
constexpr auto SharedTabDetails::InternalNewImpl_() {
  return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(SharedTabDetails), alignof(SharedTabDetails));
}
constexpr auto SharedTabDetails::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
          &SharedTabDetails::MergeImpl,
          ::google::protobuf::MessageLite::GetNewImpl<SharedTabDetails>(),
#if defined(PROTOBUF_CUSTOM_VTABLE)
          &SharedTabDetails::SharedDtor,
          ::google::protobuf::MessageLite::GetClearImpl<SharedTabDetails>(), &SharedTabDetails::ByteSizeLong,
              &SharedTabDetails::_InternalSerialize,
#endif  // PROTOBUF_CUSTOM_VTABLE
          PROTOBUF_FIELD_OFFSET(SharedTabDetails, _impl_._cached_size_),
          true,
      },
      "sync_pb.SharedTabDetails",
  };
}
struct SharedTabDetailsGlobalsTypeInternal : ::_pbi::MessageGlobalsBase {
  constexpr SharedTabDetailsGlobalsTypeInternal()
      :
#ifndef PROTOBUF_MESSAGE_GLOBALS
        _default(::_pbi::ConstantInitialized{},
                 SharedTabDetails_class_data_.base())
#else   // !PROTOBUF_MESSAGE_GLOBALS
        MessageGlobalsBase(SharedTabDetails::InternalGenerateClassData_(
            _default, &SharedTabDetails_globals_._table.header)),
        _default(::_pbi::ConstantInitialized{}, GetClassData()),
        _table(::_pbi::PrivateAccess::GenerateParseTable<SharedTabDetails>(
            GetClassData()))
#endif  // PROTOBUF_MESSAGE_GLOBALS
  {
  }
  ~SharedTabDetailsGlobalsTypeInternal() {}
  union {
    alignas(::_pbi::kMaxMessageAlignment) SharedTabDetails _default;
  };
#ifdef PROTOBUF_MESSAGE_GLOBALS
  decltype(::_pbi::PrivateAccess::GenerateParseTable<SharedTabDetails>(
      ::std::declval<const ::_pbi::ClassData*>())) _table;
#endif
};
#ifdef PROTOBUF_MESSAGE_GLOBALS
static_assert(PROTOBUF_FIELD_OFFSET(SharedTabDetailsGlobalsTypeInternal, _default) ==
              ::_pbi::MessageGlobalsBase::OffsetToDefault());
#endif  // PROTOBUF_MESSAGE_GLOBALS

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

constexpr SharedTabGroupAccountDataSpecifics::ParseTableT_ SharedTabGroupAccountDataSpecifics::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(SharedTabGroupAccountDataSpecifics, _impl_._has_bits_),
      0, // no _extensions_
      6, 56,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967232,  // skipmap
      offsetof(ParseTableT_, field_entries),
      6,  // 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::SharedTabGroupAccountDataSpecifics>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      {::_pbi::TcParser::MiniParse, {}},
      // optional string guid = 1;
      {::_pbi::TcParser::FastBS1,
       {10, 0, 0,
        PROTOBUF_FIELD_OFFSET(SharedTabGroupAccountDataSpecifics, _impl_.guid_)}},
      // optional string collaboration_id = 2;
      {::_pbi::TcParser::FastBS1,
       {18, 1, 0,
        PROTOBUF_FIELD_OFFSET(SharedTabGroupAccountDataSpecifics, _impl_.collaboration_id_)}},
      {::_pbi::TcParser::MiniParse, {}},
      {::_pbi::TcParser::MiniParse, {}},
      // optional int64 update_time_windows_epoch_micros = 5;
      {::_pbi::TcParser::FastV64S1,
       {40, 2, 0,
        PROTOBUF_FIELD_OFFSET(SharedTabGroupAccountDataSpecifics, _impl_.update_time_windows_epoch_micros_)}},
      // optional int32 version = 6;
      {::_pbi::TcParser::FastV32S1,
       {48, 3, 0,
        PROTOBUF_FIELD_OFFSET(SharedTabGroupAccountDataSpecifics, _impl_.version_)}},
      {::_pbi::TcParser::MiniParse, {}},
    }}, {{
      65535, 65535
    }}, {{
      // optional string guid = 1;
      {PROTOBUF_FIELD_OFFSET(SharedTabGroupAccountDataSpecifics, _impl_.guid_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional string collaboration_id = 2;
      {PROTOBUF_FIELD_OFFSET(SharedTabGroupAccountDataSpecifics, _impl_.collaboration_id_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // .sync_pb.SharedTabDetails shared_tab_details = 3;
      {PROTOBUF_FIELD_OFFSET(SharedTabGroupAccountDataSpecifics, _impl_.entity_.shared_tab_details_), _Internal::kOneofCaseOffset + 0, 0, (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
      // .sync_pb.SharedTabGroupDetails shared_tab_group_details = 4;
      {PROTOBUF_FIELD_OFFSET(SharedTabGroupAccountDataSpecifics, _impl_.entity_.shared_tab_group_details_), _Internal::kOneofCaseOffset + 0, 1, (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
      // optional int64 update_time_windows_epoch_micros = 5;
      {PROTOBUF_FIELD_OFFSET(SharedTabGroupAccountDataSpecifics, _impl_.update_time_windows_epoch_micros_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
      // optional int32 version = 6;
      {PROTOBUF_FIELD_OFFSET(SharedTabGroupAccountDataSpecifics, _impl_.version_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
    }},
    {{
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::sync_pb::SharedTabDetails>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::sync_pb::SharedTabDetails_globals_},
        #endif
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::sync_pb::SharedTabGroupDetails>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::sync_pb::SharedTabGroupDetails_globals_},
        #endif
    }},
    {{
    }},
  };
}


inline constexpr SharedTabGroupAccountDataSpecifics::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        guid_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        collaboration_id_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        update_time_windows_epoch_micros_{::int64_t{0}},
        version_{0},
        entity_{},
        _oneof_case_{} {}

template <typename>
constexpr SharedTabGroupAccountDataSpecifics::SharedTabGroupAccountDataSpecifics(::_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 SharedTabGroupAccountDataSpecifics::PlacementNew_(
    const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
    ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
  return ::new (mem) SharedTabGroupAccountDataSpecifics(arena);
}
constexpr auto SharedTabGroupAccountDataSpecifics::InternalNewImpl_() {
  return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(SharedTabGroupAccountDataSpecifics), alignof(SharedTabGroupAccountDataSpecifics));
}
constexpr auto SharedTabGroupAccountDataSpecifics::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
          &SharedTabGroupAccountDataSpecifics::MergeImpl,
          ::google::protobuf::MessageLite::GetNewImpl<SharedTabGroupAccountDataSpecifics>(),
#if defined(PROTOBUF_CUSTOM_VTABLE)
          &SharedTabGroupAccountDataSpecifics::SharedDtor,
          ::google::protobuf::MessageLite::GetClearImpl<SharedTabGroupAccountDataSpecifics>(), &SharedTabGroupAccountDataSpecifics::ByteSizeLong,
              &SharedTabGroupAccountDataSpecifics::_InternalSerialize,
#endif  // PROTOBUF_CUSTOM_VTABLE
          PROTOBUF_FIELD_OFFSET(SharedTabGroupAccountDataSpecifics, _impl_._cached_size_),
          true,
      },
      "sync_pb.SharedTabGroupAccountDataSpecifics",
  };
}
struct SharedTabGroupAccountDataSpecificsGlobalsTypeInternal : ::_pbi::MessageGlobalsBase {
  constexpr SharedTabGroupAccountDataSpecificsGlobalsTypeInternal()
      :
#ifndef PROTOBUF_MESSAGE_GLOBALS
        _default(::_pbi::ConstantInitialized{},
                 SharedTabGroupAccountDataSpecifics_class_data_.base())
#else   // !PROTOBUF_MESSAGE_GLOBALS
        MessageGlobalsBase(SharedTabGroupAccountDataSpecifics::InternalGenerateClassData_(
            _default, &SharedTabGroupAccountDataSpecifics_globals_._table.header)),
        _default(::_pbi::ConstantInitialized{}, GetClassData()),
        _table(::_pbi::PrivateAccess::GenerateParseTable<SharedTabGroupAccountDataSpecifics>(
            GetClassData()))
#endif  // PROTOBUF_MESSAGE_GLOBALS
  {
  }
  ~SharedTabGroupAccountDataSpecificsGlobalsTypeInternal() {}
  union {
    alignas(::_pbi::kMaxMessageAlignment) SharedTabGroupAccountDataSpecifics _default;
  };
#ifdef PROTOBUF_MESSAGE_GLOBALS
  decltype(::_pbi::PrivateAccess::GenerateParseTable<SharedTabGroupAccountDataSpecifics>(
      ::std::declval<const ::_pbi::ClassData*>())) _table;
#endif
};
#ifdef PROTOBUF_MESSAGE_GLOBALS
static_assert(PROTOBUF_FIELD_OFFSET(SharedTabGroupAccountDataSpecificsGlobalsTypeInternal, _default) ==
              ::_pbi::MessageGlobalsBase::OffsetToDefault());
#endif  // PROTOBUF_MESSAGE_GLOBALS

PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PROTOBUF_MESSAGE_GLOBALS_CONST SharedTabGroupAccountDataSpecificsGlobalsTypeInternal SharedTabGroupAccountDataSpecifics_globals_
        PROTOBUF_MESSAGE_GLOBALS_SECTION(.data.rel.ro);
#if defined(PROTOBUF_CUSTOM_VTABLE)
namespace {
const ::_pbi::ClassData* SharedTabGroupAccountDataSpecifics_get_class_data() {
#ifdef PROTOBUF_MESSAGE_GLOBALS
  return SharedTabGroupAccountDataSpecifics_globals_.GetClassData();
#else
  return SharedTabGroupAccountDataSpecifics_class_data_.base();
#endif  // PROTOBUF_MESSAGE_GLOBALS
}
}  // namespace
#endif  // PROTOBUF_CUSTOM_VTABLE
}  // namespace sync_pb
namespace sync_pb {
// ===================================================================

void SharedTabGroupAccountDataSpecifics::set_allocated_shared_tab_details(::sync_pb::SharedTabDetails* PROTOBUF_NULLABLE shared_tab_details) {
  ::google::protobuf::Arena* message_arena = GetArena();
  clear_entity();
  if (shared_tab_details) {
    ::google::protobuf::Arena* submessage_arena = shared_tab_details->GetArena();
    if (message_arena != submessage_arena) {
      shared_tab_details = ::google::protobuf::internal::GetOwnedMessage(message_arena, shared_tab_details, submessage_arena);
    }
    set_has_shared_tab_details();
    _impl_.entity_.shared_tab_details_ = shared_tab_details;
  }
  // @@protoc_insertion_point(field_set_allocated:sync_pb.SharedTabGroupAccountDataSpecifics.shared_tab_details)
}
void SharedTabGroupAccountDataSpecifics::set_allocated_shared_tab_group_details(::sync_pb::SharedTabGroupDetails* PROTOBUF_NULLABLE shared_tab_group_details) {
  ::google::protobuf::Arena* message_arena = GetArena();
  clear_entity();
  if (shared_tab_group_details) {
    ::google::protobuf::Arena* submessage_arena = shared_tab_group_details->GetArena();
    if (message_arena != submessage_arena) {
      shared_tab_group_details = ::google::protobuf::internal::GetOwnedMessage(message_arena, shared_tab_group_details, submessage_arena);
    }
    set_has_shared_tab_group_details();
    _impl_.entity_.shared_tab_group_details_ = shared_tab_group_details;
  }
  // @@protoc_insertion_point(field_set_allocated:sync_pb.SharedTabGroupAccountDataSpecifics.shared_tab_group_details)
}
SharedTabGroupAccountDataSpecifics::SharedTabGroupAccountDataSpecifics(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, SharedTabGroupAccountDataSpecifics_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:sync_pb.SharedTabGroupAccountDataSpecifics)
}
PROTOBUF_NDEBUG_INLINE SharedTabGroupAccountDataSpecifics::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::SharedTabGroupAccountDataSpecifics& from_msg)
      : _has_bits_{from._has_bits_},
        _cached_size_{0},
        guid_(arena, from.guid_),
        collaboration_id_(arena, from.collaboration_id_),
        entity_{},
        _oneof_case_{from._oneof_case_[0]} {}

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

#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedTabGroupAccountDataSpecifics* const _this = this;
  (void)_this;
  _internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
  new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
  ::memcpy(reinterpret_cast<char*>(&_impl_) +
               offsetof(Impl_, update_time_windows_epoch_micros_),
           reinterpret_cast<const char*>(&from._impl_) +
               offsetof(Impl_, update_time_windows_epoch_micros_),
           offsetof(Impl_, version_) -
               offsetof(Impl_, update_time_windows_epoch_micros_) +
               sizeof(Impl_::version_));
  switch (entity_case()) {
    case ENTITY_NOT_SET:
      break;
      case kSharedTabDetails:
        _impl_.entity_.shared_tab_details_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.entity_.shared_tab_details_);
        break;
      case kSharedTabGroupDetails:
        _impl_.entity_.shared_tab_group_details_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.entity_.shared_tab_group_details_);
        break;
  }

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

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

void SharedTabGroupAccountDataSpecifics::clear_entity() {
// @@protoc_insertion_point(one_of_clear_start:sync_pb.SharedTabGroupAccountDataSpecifics)
  ::google::protobuf::internal::TSanWrite(&_impl_);
  switch (entity_case()) {
    case kSharedTabDetails: {
      if (GetArena() == nullptr) {
        delete _impl_.entity_.shared_tab_details_;
      } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
        if (_impl_.entity_.shared_tab_details_ != nullptr) {
          _impl_.entity_.shared_tab_details_->Clear();
        }
      }
      break;
    }
    case kSharedTabGroupDetails: {
      if (GetArena() == nullptr) {
        delete _impl_.entity_.shared_tab_group_details_;
      } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
        if (_impl_.entity_.shared_tab_group_details_ != nullptr) {
          _impl_.entity_.shared_tab_group_details_->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 SharedTabGroupAccountDataSpecifics_class_data_ =
    SharedTabGroupAccountDataSpecifics::InternalGenerateClassData_(SharedTabGroupAccountDataSpecifics_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
SharedTabGroupAccountDataSpecifics::GetClassData() const {
  return SharedTabGroupAccountDataSpecifics_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
SharedTabGroupAccountDataSpecifics::GetClassData() const {
  return SharedTabGroupAccountDataSpecifics_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const SharedTabGroupAccountDataSpecifics::ParseTableT_
    SharedTabGroupAccountDataSpecifics::_table_ =
        SharedTabGroupAccountDataSpecifics::InternalGenerateParseTable_(SharedTabGroupAccountDataSpecifics_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void SharedTabGroupAccountDataSpecifics::Clear() {
// @@protoc_insertion_point(message_clear_start:sync_pb.SharedTabGroupAccountDataSpecifics)
  ::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_.guid_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _impl_.collaboration_id_.ClearNonDefaultToEmpty();
    }
  }
  if (BatchCheckHasBit(cached_has_bits, 0x0000000cU)) {
    ::memset(&_impl_.update_time_windows_epoch_micros_, 0, static_cast<::size_t>(
        reinterpret_cast<char*>(&_impl_.version_) -
        reinterpret_cast<char*>(&_impl_.update_time_windows_epoch_micros_)) + sizeof(_impl_.version_));
  }
  clear_entity();
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

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

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

  switch (this_.entity_case()) {
    case kSharedTabDetails: {
      target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
          3, *this_._impl_.entity_.shared_tab_details_, this_._impl_.entity_.shared_tab_details_->GetCachedSize(), target,
          stream);
      break;
    }
    case kSharedTabGroupDetails: {
      target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
          4, *this_._impl_.entity_.shared_tab_group_details_, this_._impl_.entity_.shared_tab_group_details_->GetCachedSize(), target,
          stream);
      break;
    }
    default:
      break;
  }
  // optional int64 update_time_windows_epoch_micros = 5;
  if (CheckHasBit(cached_has_bits, 0x00000004U)) {
    target =
        ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<5>(
            stream, this_._internal_update_time_windows_epoch_micros(), target);
  }

  // optional int32 version = 6;
  if (CheckHasBit(cached_has_bits, 0x00000008U)) {
    target =
        ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<6>(
            stream, this_._internal_version(), 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.SharedTabGroupAccountDataSpecifics)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t SharedTabGroupAccountDataSpecifics::ByteSizeLong(const MessageLite& base) {
  const SharedTabGroupAccountDataSpecifics& this_ = static_cast<const SharedTabGroupAccountDataSpecifics&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t SharedTabGroupAccountDataSpecifics::ByteSizeLong() const {
  const SharedTabGroupAccountDataSpecifics& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:sync_pb.SharedTabGroupAccountDataSpecifics)
  ::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, 0x0000000fU)) {
    // optional string guid = 1;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_guid());
    }
    // optional string collaboration_id = 2;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_collaboration_id());
    }
    // optional int64 update_time_windows_epoch_micros = 5;
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
          this_._internal_update_time_windows_epoch_micros());
    }
    // optional int32 version = 6;
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
          this_._internal_version());
    }
  }
  switch (this_.entity_case()) {
    // .sync_pb.SharedTabDetails shared_tab_details = 3;
    case kSharedTabDetails: {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.entity_.shared_tab_details_);
      break;
    }
    // .sync_pb.SharedTabGroupDetails shared_tab_group_details = 4;
    case kSharedTabGroupDetails: {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.entity_.shared_tab_group_details_);
      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 SharedTabGroupAccountDataSpecifics::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<SharedTabGroupAccountDataSpecifics*>(&to_msg);
  auto& from = static_cast<const SharedTabGroupAccountDataSpecifics&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  ::google::protobuf::Arena* arena = _this->GetArena();
  // @@protoc_insertion_point(class_specific_merge_from_start:sync_pb.SharedTabGroupAccountDataSpecifics)
  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, 0x0000000fU)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _this->_internal_set_guid(from._internal_guid());
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _this->_internal_set_collaboration_id(from._internal_collaboration_id());
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _this->_impl_.update_time_windows_epoch_micros_ = from._impl_.update_time_windows_epoch_micros_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      _this->_impl_.version_ = from._impl_.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 kSharedTabDetails: {
        if (oneof_needs_init) {
          _this->_impl_.entity_.shared_tab_details_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.entity_.shared_tab_details_);
        } else {
          _this->_impl_.entity_.shared_tab_details_->MergeFrom(*from._impl_.entity_.shared_tab_details_);
        }
        break;
      }
      case kSharedTabGroupDetails: {
        if (oneof_needs_init) {
          _this->_impl_.entity_.shared_tab_group_details_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.entity_.shared_tab_group_details_);
        } else {
          _this->_impl_.entity_.shared_tab_group_details_->MergeFrom(*from._impl_.entity_.shared_tab_group_details_);
        }
        break;
      }
      case ENTITY_NOT_SET:
        break;
    }
  }
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


void SharedTabGroupAccountDataSpecifics::InternalSwap(SharedTabGroupAccountDataSpecifics* 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_.guid_, &other->_impl_.guid_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.collaboration_id_, &other->_impl_.collaboration_id_, arena);
  ::google::protobuf::internal::memswap<
      PROTOBUF_FIELD_OFFSET(SharedTabGroupAccountDataSpecifics, _impl_.version_)
      + sizeof(SharedTabGroupAccountDataSpecifics::_impl_.version_)
      - PROTOBUF_FIELD_OFFSET(SharedTabGroupAccountDataSpecifics, _impl_.update_time_windows_epoch_micros_)>(
          reinterpret_cast<char*>(&_impl_.update_time_windows_epoch_micros_),
          reinterpret_cast<char*>(&other->_impl_.update_time_windows_epoch_micros_));
  swap(_impl_.entity_, other->_impl_.entity_);
  swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]);
}

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

SharedTabDetails::SharedTabDetails(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, SharedTabDetails_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:sync_pb.SharedTabDetails)
}
PROTOBUF_NDEBUG_INLINE SharedTabDetails::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::SharedTabDetails& from_msg)
      : _has_bits_{from._has_bits_},
        _cached_size_{0},
        shared_tab_group_guid_(arena, from.shared_tab_group_guid_) {}

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

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

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

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

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite SharedTabDetails_class_data_ =
    SharedTabDetails::InternalGenerateClassData_(SharedTabDetails_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
SharedTabDetails::GetClassData() const {
  return SharedTabDetails_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
SharedTabDetails::GetClassData() const {
  return SharedTabDetails_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const SharedTabDetails::ParseTableT_
    SharedTabDetails::_table_ =
        SharedTabDetails::InternalGenerateParseTable_(SharedTabDetails_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void SharedTabDetails::Clear() {
// @@protoc_insertion_point(message_clear_start:sync_pb.SharedTabDetails)
  ::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_.shared_tab_group_guid_.ClearNonDefaultToEmpty();
  }
  _impl_.last_seen_timestamp_windows_epoch_ = ::int64_t{0};
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

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

  // optional int64 last_seen_timestamp_windows_epoch = 2;
  if (CheckHasBit(cached_has_bits, 0x00000002U)) {
    target =
        ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<2>(
            stream, this_._internal_last_seen_timestamp_windows_epoch(), 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.SharedTabDetails)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t SharedTabDetails::ByteSizeLong(const MessageLite& base) {
  const SharedTabDetails& this_ = static_cast<const SharedTabDetails&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t SharedTabDetails::ByteSizeLong() const {
  const SharedTabDetails& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:sync_pb.SharedTabDetails)
  ::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_tab_group_guid = 1;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_shared_tab_group_guid());
    }
    // optional int64 last_seen_timestamp_windows_epoch = 2;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
          this_._internal_last_seen_timestamp_windows_epoch());
    }
  }
  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 SharedTabDetails::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<SharedTabDetails*>(&to_msg);
  auto& from = static_cast<const SharedTabDetails&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  // @@protoc_insertion_point(class_specific_merge_from_start:sync_pb.SharedTabDetails)
  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_tab_group_guid(from._internal_shared_tab_group_guid());
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _this->_impl_.last_seen_timestamp_windows_epoch_ = from._impl_.last_seen_timestamp_windows_epoch_;
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


void SharedTabDetails::InternalSwap(SharedTabDetails* 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_tab_group_guid_, &other->_impl_.shared_tab_group_guid_, arena);
  swap(_impl_.last_seen_timestamp_windows_epoch_, other->_impl_.last_seen_timestamp_windows_epoch_);
}

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

SharedTabGroupDetails::SharedTabGroupDetails(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, SharedTabGroupDetails_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:sync_pb.SharedTabGroupDetails)
}
SharedTabGroupDetails::SharedTabGroupDetails(
    ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SharedTabGroupDetails& from)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, SharedTabGroupDetails_get_class_data()),
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena),
#endif  // PROTOBUF_CUSTOM_VTABLE
      _impl_(from._impl_) {
  _internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}
PROTOBUF_NDEBUG_INLINE SharedTabGroupDetails::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0} {}

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

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite SharedTabGroupDetails_class_data_ =
    SharedTabGroupDetails::InternalGenerateClassData_(SharedTabGroupDetails_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
SharedTabGroupDetails::GetClassData() const {
  return SharedTabGroupDetails_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
SharedTabGroupDetails::GetClassData() const {
  return SharedTabGroupDetails_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const SharedTabGroupDetails::ParseTableT_
    SharedTabGroupDetails::_table_ =
        SharedTabGroupDetails::InternalGenerateParseTable_(SharedTabGroupDetails_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void SharedTabGroupDetails::Clear() {
// @@protoc_insertion_point(message_clear_start:sync_pb.SharedTabGroupDetails)
  ::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)) {
    ::memset(&_impl_.pinned_position_, 0, static_cast<::size_t>(
        reinterpret_cast<char*>(&_impl_.projects_position_) -
        reinterpret_cast<char*>(&_impl_.pinned_position_)) + sizeof(_impl_.projects_position_));
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

  cached_has_bits = this_._impl_._has_bits_[0];
  // optional int64 pinned_position = 1;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    target =
        ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<1>(
            stream, this_._internal_pinned_position(), target);
  }

  // optional int64 projects_position = 2;
  if (CheckHasBit(cached_has_bits, 0x00000002U)) {
    target =
        ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<2>(
            stream, this_._internal_projects_position(), 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.SharedTabGroupDetails)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t SharedTabGroupDetails::ByteSizeLong(const MessageLite& base) {
  const SharedTabGroupDetails& this_ = static_cast<const SharedTabGroupDetails&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t SharedTabGroupDetails::ByteSizeLong() const {
  const SharedTabGroupDetails& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:sync_pb.SharedTabGroupDetails)
  ::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 int64 pinned_position = 1;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
          this_._internal_pinned_position());
    }
    // optional int64 projects_position = 2;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
          this_._internal_projects_position());
    }
  }
  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 SharedTabGroupDetails::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<SharedTabGroupDetails*>(&to_msg);
  auto& from = static_cast<const SharedTabGroupDetails&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  // @@protoc_insertion_point(class_specific_merge_from_start:sync_pb.SharedTabGroupDetails)
  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->_impl_.pinned_position_ = from._impl_.pinned_position_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _this->_impl_.projects_position_ = from._impl_.projects_position_;
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


void SharedTabGroupDetails::InternalSwap(SharedTabGroupDetails* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
  using ::std::swap;
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  ::google::protobuf::internal::memswap<
      PROTOBUF_FIELD_OFFSET(SharedTabGroupDetails, _impl_.projects_position_)
      + sizeof(SharedTabGroupDetails::_impl_.projects_position_)
      - PROTOBUF_FIELD_OFFSET(SharedTabGroupDetails, _impl_.pinned_position_)>(
          reinterpret_cast<char*>(&_impl_.pinned_position_),
          reinterpret_cast<char*>(&other->_impl_.pinned_position_));
}

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