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

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

constexpr SharedTabGroup::ParseTableT_ SharedTabGroup::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(SharedTabGroup, _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::SharedTabGroup>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      {::_pbi::TcParser::MiniParse, {}},
      // optional string title = 1;
      {::_pbi::TcParser::FastBS1,
       {10, 0, 0,
        PROTOBUF_FIELD_OFFSET(SharedTabGroup, _impl_.title_)}},
      // optional .sync_pb.SharedTabGroup.Color color = 2;
      {::_pbi::TcParser::FastEr0S1,
       {16, 2, 9,
        PROTOBUF_FIELD_OFFSET(SharedTabGroup, _impl_.color_)}},
      // optional string originating_tab_group_guid = 3;
      {::_pbi::TcParser::FastBS1,
       {26, 1, 0,
        PROTOBUF_FIELD_OFFSET(SharedTabGroup, _impl_.originating_tab_group_guid_)}},
    }}, {{
      65535, 65535
    }}, {{
      // optional string title = 1;
      {PROTOBUF_FIELD_OFFSET(SharedTabGroup, _impl_.title_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional .sync_pb.SharedTabGroup.Color color = 2;
      {PROTOBUF_FIELD_OFFSET(SharedTabGroup, _impl_.color_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kEnumRange)},
      // optional string originating_tab_group_guid = 3;
      {PROTOBUF_FIELD_OFFSET(SharedTabGroup, _impl_.originating_tab_group_guid_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
    }},
    {{
        {0, 9},
    }},
    {{
    }},
  };
}


inline constexpr SharedTabGroup::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        title_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        originating_tab_group_guid_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        color_{static_cast< ::sync_pb::SharedTabGroup_Color >(0)} {}

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

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

constexpr SharedTab::ParseTableT_ SharedTab::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(SharedTab, _impl_._has_bits_),
      0, // no _extensions_
      5, 56,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967268,  // skipmap
      offsetof(ParseTableT_, field_entries),
      4,  // 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::SharedTab>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      {::_pbi::TcParser::MiniParse, {}},
      // optional string url = 1;
      {::_pbi::TcParser::FastBS1,
       {10, 0, 0,
        PROTOBUF_FIELD_OFFSET(SharedTab, _impl_.url_)}},
      // optional string title = 2;
      {::_pbi::TcParser::FastBS1,
       {18, 1, 0,
        PROTOBUF_FIELD_OFFSET(SharedTab, _impl_.title_)}},
      {::_pbi::TcParser::MiniParse, {}},
      // optional string shared_tab_group_guid = 4;
      {::_pbi::TcParser::FastBS1,
       {34, 2, 0,
        PROTOBUF_FIELD_OFFSET(SharedTab, _impl_.shared_tab_group_guid_)}},
      // optional .sync_pb.UniquePosition unique_position = 5;
      {::_pbi::TcParser::FastMtS1,
       {42, 3, 0,
        PROTOBUF_FIELD_OFFSET(SharedTab, _impl_.unique_position_)}},
      {::_pbi::TcParser::MiniParse, {}},
      {::_pbi::TcParser::MiniParse, {}},
    }}, {{
      65535, 65535
    }}, {{
      // optional string url = 1;
      {PROTOBUF_FIELD_OFFSET(SharedTab, _impl_.url_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional string title = 2;
      {PROTOBUF_FIELD_OFFSET(SharedTab, _impl_.title_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional string shared_tab_group_guid = 4;
      {PROTOBUF_FIELD_OFFSET(SharedTab, _impl_.shared_tab_group_guid_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional .sync_pb.UniquePosition unique_position = 5;
      {PROTOBUF_FIELD_OFFSET(SharedTab, _impl_.unique_position_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
    }},
    {{
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::sync_pb::UniquePosition>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::sync_pb::UniquePosition_globals_},
        #endif
    }},
    {{
    }},
  };
}


inline constexpr SharedTab::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        url_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        title_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        shared_tab_group_guid_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        unique_position_{nullptr} {}

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

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

constexpr SharedTabGroupDataSpecifics::ParseTableT_ SharedTabGroupDataSpecifics::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(SharedTabGroupDataSpecifics, _impl_._has_bits_),
      0, // no _extensions_
      6, 56,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967234,  // 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::SharedTabGroupDataSpecifics>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      {::_pbi::TcParser::MiniParse, {}},
      // optional string guid = 1;
      {::_pbi::TcParser::FastBS1,
       {10, 0, 0,
        PROTOBUF_FIELD_OFFSET(SharedTabGroupDataSpecifics, _impl_.guid_)}},
      {::_pbi::TcParser::MiniParse, {}},
      {::_pbi::TcParser::MiniParse, {}},
      {::_pbi::TcParser::MiniParse, {}},
      // optional int64 update_time_windows_epoch_micros = 5;
      {::_pbi::TcParser::FastV64S1,
       {40, 1, 0,
        PROTOBUF_FIELD_OFFSET(SharedTabGroupDataSpecifics, _impl_.update_time_windows_epoch_micros_)}},
      // optional int32 version = 6;
      {::_pbi::TcParser::FastV32S1,
       {48, 2, 0,
        PROTOBUF_FIELD_OFFSET(SharedTabGroupDataSpecifics, _impl_.version_)}},
      {::_pbi::TcParser::MiniParse, {}},
    }}, {{
      65535, 65535
    }}, {{
      // optional string guid = 1;
      {PROTOBUF_FIELD_OFFSET(SharedTabGroupDataSpecifics, _impl_.guid_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // .sync_pb.SharedTabGroup tab_group = 3;
      {PROTOBUF_FIELD_OFFSET(SharedTabGroupDataSpecifics, _impl_.entity_.tab_group_), _Internal::kOneofCaseOffset + 0, 0, (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
      // .sync_pb.SharedTab tab = 4;
      {PROTOBUF_FIELD_OFFSET(SharedTabGroupDataSpecifics, _impl_.entity_.tab_), _Internal::kOneofCaseOffset + 0, 1, (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
      // optional int64 update_time_windows_epoch_micros = 5;
      {PROTOBUF_FIELD_OFFSET(SharedTabGroupDataSpecifics, _impl_.update_time_windows_epoch_micros_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
      // optional int32 version = 6;
      {PROTOBUF_FIELD_OFFSET(SharedTabGroupDataSpecifics, _impl_.version_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
    }},
    {{
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::sync_pb::SharedTabGroup>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::sync_pb::SharedTabGroup_globals_},
        #endif
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::sync_pb::SharedTab>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::sync_pb::SharedTab_globals_},
        #endif
    }},
    {{
    }},
  };
}


inline constexpr SharedTabGroupDataSpecifics::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()),
        update_time_windows_epoch_micros_{::int64_t{0}},
        version_{0},
        entity_{},
        _oneof_case_{} {}

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

PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PROTOBUF_MESSAGE_GLOBALS_CONST SharedTabGroupDataSpecificsGlobalsTypeInternal SharedTabGroupDataSpecifics_globals_
        PROTOBUF_MESSAGE_GLOBALS_SECTION(.data.rel.ro);
#if defined(PROTOBUF_CUSTOM_VTABLE)
namespace {
const ::_pbi::ClassData* SharedTabGroupDataSpecifics_get_class_data() {
#ifdef PROTOBUF_MESSAGE_GLOBALS
  return SharedTabGroupDataSpecifics_globals_.GetClassData();
#else
  return SharedTabGroupDataSpecifics_class_data_.base();
#endif  // PROTOBUF_MESSAGE_GLOBALS
}
}  // namespace
#endif  // PROTOBUF_CUSTOM_VTABLE
}  // namespace sync_pb
namespace sync_pb {
PROTOBUF_CONSTINIT const uint32_t SharedTabGroup_Color_internal_data_[] = {
    655360u, 0u, };
static const char SharedTabGroup_Color_names[] = {
    "BLUE"
    "CYAN"
    "GREEN"
    "GREY"
    "ORANGE"
    "PINK"
    "PURPLE"
    "RED"
    "UNSPECIFIED"
    "YELLOW"
};

static const ::google::protobuf::internal::EnumEntry SharedTabGroup_Color_entries[] = {
    {{&SharedTabGroup_Color_names[0], 4}, 2},
    {{&SharedTabGroup_Color_names[4], 4}, 8},
    {{&SharedTabGroup_Color_names[8], 5}, 5},
    {{&SharedTabGroup_Color_names[13], 4}, 1},
    {{&SharedTabGroup_Color_names[17], 6}, 9},
    {{&SharedTabGroup_Color_names[23], 4}, 6},
    {{&SharedTabGroup_Color_names[27], 6}, 7},
    {{&SharedTabGroup_Color_names[33], 3}, 3},
    {{&SharedTabGroup_Color_names[36], 11}, 0},
    {{&SharedTabGroup_Color_names[47], 6}, 4},
};

static const int SharedTabGroup_Color_entries_by_number[] = {
    8,  // 0 -> UNSPECIFIED
    3,  // 1 -> GREY
    0,  // 2 -> BLUE
    7,  // 3 -> RED
    9,  // 4 -> YELLOW
    2,  // 5 -> GREEN
    5,  // 6 -> PINK
    6,  // 7 -> PURPLE
    1,  // 8 -> CYAN
    4,  // 9 -> ORANGE
};

bool SharedTabGroup_Color_Parse(::absl::string_view name,
                                  SharedTabGroup_Color* PROTOBUF_NONNULL value) {
  int int_value;
  bool success = ::google::protobuf::internal::LookUpEnumValue(
      SharedTabGroup_Color_entries, 10, name, &int_value);
  if (success) {
    *value = static_cast<SharedTabGroup_Color>(int_value);
  }
  return success;
}
static ::google::protobuf::internal::ExplicitlyConstructed<::std::string>
    SharedTabGroup_Color_strings[10] = {};

const ::std::string& SharedTabGroup_Color_Name(SharedTabGroup_Color value) {
  static const bool kDummy = ::google::protobuf::internal::InitializeEnumStrings(
      SharedTabGroup_Color_entries, SharedTabGroup_Color_entries_by_number, 10,
      SharedTabGroup_Color_strings);
  (void)kDummy;

  int idx = ::google::protobuf::internal::LookUpEnumName(SharedTabGroup_Color_entries,
                                  SharedTabGroup_Color_entries_by_number,
                                  10, value);
  return idx == -1 ? ::google::protobuf::internal::GetEmptyString() : SharedTabGroup_Color_strings[idx].get();
}
// ===================================================================

void SharedTabGroupDataSpecifics::set_allocated_tab_group(::sync_pb::SharedTabGroup* PROTOBUF_NULLABLE tab_group) {
  ::google::protobuf::Arena* message_arena = GetArena();
  clear_entity();
  if (tab_group) {
    ::google::protobuf::Arena* submessage_arena = tab_group->GetArena();
    if (message_arena != submessage_arena) {
      tab_group = ::google::protobuf::internal::GetOwnedMessage(message_arena, tab_group, submessage_arena);
    }
    set_has_tab_group();
    _impl_.entity_.tab_group_ = tab_group;
  }
  // @@protoc_insertion_point(field_set_allocated:sync_pb.SharedTabGroupDataSpecifics.tab_group)
}
void SharedTabGroupDataSpecifics::set_allocated_tab(::sync_pb::SharedTab* PROTOBUF_NULLABLE tab) {
  ::google::protobuf::Arena* message_arena = GetArena();
  clear_entity();
  if (tab) {
    ::google::protobuf::Arena* submessage_arena = tab->GetArena();
    if (message_arena != submessage_arena) {
      tab = ::google::protobuf::internal::GetOwnedMessage(message_arena, tab, submessage_arena);
    }
    set_has_tab();
    _impl_.entity_.tab_ = tab;
  }
  // @@protoc_insertion_point(field_set_allocated:sync_pb.SharedTabGroupDataSpecifics.tab)
}
SharedTabGroupDataSpecifics::SharedTabGroupDataSpecifics(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, SharedTabGroupDataSpecifics_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:sync_pb.SharedTabGroupDataSpecifics)
}
PROTOBUF_NDEBUG_INLINE SharedTabGroupDataSpecifics::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::SharedTabGroupDataSpecifics& from_msg)
      : _has_bits_{from._has_bits_},
        _cached_size_{0},
        guid_(arena, from.guid_),
        entity_{},
        _oneof_case_{from._oneof_case_[0]} {}

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

#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedTabGroupDataSpecifics* 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 kTabGroup:
        _impl_.entity_.tab_group_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.entity_.tab_group_);
        break;
      case kTab:
        _impl_.entity_.tab_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.entity_.tab_);
        break;
  }

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

inline void SharedTabGroupDataSpecifics::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_));
}
SharedTabGroupDataSpecifics::~SharedTabGroupDataSpecifics() {
  // @@protoc_insertion_point(destructor:sync_pb.SharedTabGroupDataSpecifics)
  SharedDtor(*this);
}
inline void SharedTabGroupDataSpecifics::SharedDtor(MessageLite& self) {
  SharedTabGroupDataSpecifics& this_ = static_cast<SharedTabGroupDataSpecifics&>(self);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    this_.CheckHasBitConsistency();
  }
  this_._internal_metadata_.Delete<::std::string>();
  ABSL_DCHECK(this_.GetArena() == nullptr);
  this_._impl_.guid_.Destroy();
  if (this_.has_entity()) {
    this_.clear_entity();
  }
  this_._impl_.~Impl_();
}

void SharedTabGroupDataSpecifics::clear_entity() {
// @@protoc_insertion_point(one_of_clear_start:sync_pb.SharedTabGroupDataSpecifics)
  ::google::protobuf::internal::TSanWrite(&_impl_);
  switch (entity_case()) {
    case kTabGroup: {
      if (GetArena() == nullptr) {
        delete _impl_.entity_.tab_group_;
      } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
        if (_impl_.entity_.tab_group_ != nullptr) {
          _impl_.entity_.tab_group_->Clear();
        }
      }
      break;
    }
    case kTab: {
      if (GetArena() == nullptr) {
        delete _impl_.entity_.tab_;
      } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
        if (_impl_.entity_.tab_ != nullptr) {
          _impl_.entity_.tab_->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 SharedTabGroupDataSpecifics_class_data_ =
    SharedTabGroupDataSpecifics::InternalGenerateClassData_(SharedTabGroupDataSpecifics_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
SharedTabGroupDataSpecifics::GetClassData() const {
  return SharedTabGroupDataSpecifics_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
SharedTabGroupDataSpecifics::GetClassData() const {
  return SharedTabGroupDataSpecifics_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const SharedTabGroupDataSpecifics::ParseTableT_
    SharedTabGroupDataSpecifics::_table_ =
        SharedTabGroupDataSpecifics::InternalGenerateParseTable_(SharedTabGroupDataSpecifics_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void SharedTabGroupDataSpecifics::Clear() {
// @@protoc_insertion_point(message_clear_start:sync_pb.SharedTabGroupDataSpecifics)
  ::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_.guid_.ClearNonDefaultToEmpty();
  }
  if (BatchCheckHasBit(cached_has_bits, 0x00000006U)) {
    ::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 SharedTabGroupDataSpecifics::_InternalSerialize(
    const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
    ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
  const SharedTabGroupDataSpecifics& this_ = static_cast<const SharedTabGroupDataSpecifics&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::uint8_t* PROTOBUF_NONNULL SharedTabGroupDataSpecifics::_InternalSerialize(
    ::uint8_t* PROTOBUF_NONNULL target,
    ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
  const SharedTabGroupDataSpecifics& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    this_.CheckHasBitConsistency();
  }
  // @@protoc_insertion_point(serialize_to_array_start:sync_pb.SharedTabGroupDataSpecifics)
  ::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);
  }

  switch (this_.entity_case()) {
    case kTabGroup: {
      target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
          3, *this_._impl_.entity_.tab_group_, this_._impl_.entity_.tab_group_->GetCachedSize(), target,
          stream);
      break;
    }
    case kTab: {
      target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
          4, *this_._impl_.entity_.tab_, this_._impl_.entity_.tab_->GetCachedSize(), target,
          stream);
      break;
    }
    default:
      break;
  }
  // optional int64 update_time_windows_epoch_micros = 5;
  if (CheckHasBit(cached_has_bits, 0x00000002U)) {
    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, 0x00000004U)) {
    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.SharedTabGroupDataSpecifics)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t SharedTabGroupDataSpecifics::ByteSizeLong(const MessageLite& base) {
  const SharedTabGroupDataSpecifics& this_ = static_cast<const SharedTabGroupDataSpecifics&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t SharedTabGroupDataSpecifics::ByteSizeLong() const {
  const SharedTabGroupDataSpecifics& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:sync_pb.SharedTabGroupDataSpecifics)
  ::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 guid = 1;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_guid());
    }
    // optional int64 update_time_windows_epoch_micros = 5;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
          this_._internal_update_time_windows_epoch_micros());
    }
    // optional int32 version = 6;
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
          this_._internal_version());
    }
  }
  switch (this_.entity_case()) {
    // .sync_pb.SharedTabGroup tab_group = 3;
    case kTabGroup: {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.entity_.tab_group_);
      break;
    }
    // .sync_pb.SharedTab tab = 4;
    case kTab: {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.entity_.tab_);
      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 SharedTabGroupDataSpecifics::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<SharedTabGroupDataSpecifics*>(&to_msg);
  auto& from = static_cast<const SharedTabGroupDataSpecifics&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  ::google::protobuf::Arena* arena = _this->GetArena();
  // @@protoc_insertion_point(class_specific_merge_from_start:sync_pb.SharedTabGroupDataSpecifics)
  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_guid(from._internal_guid());
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _this->_impl_.update_time_windows_epoch_micros_ = from._impl_.update_time_windows_epoch_micros_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _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 kTabGroup: {
        if (oneof_needs_init) {
          _this->_impl_.entity_.tab_group_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.entity_.tab_group_);
        } else {
          _this->_impl_.entity_.tab_group_->MergeFrom(*from._impl_.entity_.tab_group_);
        }
        break;
      }
      case kTab: {
        if (oneof_needs_init) {
          _this->_impl_.entity_.tab_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.entity_.tab_);
        } else {
          _this->_impl_.entity_.tab_->MergeFrom(*from._impl_.entity_.tab_);
        }
        break;
      }
      case ENTITY_NOT_SET:
        break;
    }
  }
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


void SharedTabGroupDataSpecifics::InternalSwap(SharedTabGroupDataSpecifics* 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);
  ::google::protobuf::internal::memswap<
      PROTOBUF_FIELD_OFFSET(SharedTabGroupDataSpecifics, _impl_.version_)
      + sizeof(SharedTabGroupDataSpecifics::_impl_.version_)
      - PROTOBUF_FIELD_OFFSET(SharedTabGroupDataSpecifics, _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]);
}

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

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

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

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

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

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

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite SharedTabGroup_class_data_ =
    SharedTabGroup::InternalGenerateClassData_(SharedTabGroup_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
SharedTabGroup::GetClassData() const {
  return SharedTabGroup_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
SharedTabGroup::GetClassData() const {
  return SharedTabGroup_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const SharedTabGroup::ParseTableT_
    SharedTabGroup::_table_ =
        SharedTabGroup::InternalGenerateParseTable_(SharedTabGroup_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void SharedTabGroup::Clear() {
// @@protoc_insertion_point(message_clear_start:sync_pb.SharedTabGroup)
  ::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_.title_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _impl_.originating_tab_group_guid_.ClearNonDefaultToEmpty();
    }
  }
  _impl_.color_ = 0;
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

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

  // optional .sync_pb.SharedTabGroup.Color color = 2;
  if (CheckHasBit(cached_has_bits, 0x00000004U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteEnumToArray(
        2, this_._internal_color(), target);
  }

  // optional string originating_tab_group_guid = 3;
  if (CheckHasBit(cached_has_bits, 0x00000002U)) {
    const ::std::string& _s = this_._internal_originating_tab_group_guid();
    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.SharedTabGroup)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t SharedTabGroup::ByteSizeLong(const MessageLite& base) {
  const SharedTabGroup& this_ = static_cast<const SharedTabGroup&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t SharedTabGroup::ByteSizeLong() const {
  const SharedTabGroup& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:sync_pb.SharedTabGroup)
  ::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 title = 1;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_title());
    }
    // optional string originating_tab_group_guid = 3;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_originating_tab_group_guid());
    }
    // optional .sync_pb.SharedTabGroup.Color color = 2;
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      total_size += 1 +
                    ::_pbi::WireFormatLite::EnumSize(this_._internal_color());
    }
  }
  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 SharedTabGroup::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<SharedTabGroup*>(&to_msg);
  auto& from = static_cast<const SharedTabGroup&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  // @@protoc_insertion_point(class_specific_merge_from_start:sync_pb.SharedTabGroup)
  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_title(from._internal_title());
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _this->_internal_set_originating_tab_group_guid(from._internal_originating_tab_group_guid());
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _this->_impl_.color_ = from._impl_.color_;
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


void SharedTabGroup::InternalSwap(SharedTabGroup* 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_.title_, &other->_impl_.title_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.originating_tab_group_guid_, &other->_impl_.originating_tab_group_guid_, arena);
  swap(_impl_.color_, other->_impl_.color_);
}

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

void SharedTab::clear_unique_position() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (_impl_.unique_position_ != nullptr) _impl_.unique_position_->Clear();
  ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
}
SharedTab::SharedTab(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, SharedTab_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:sync_pb.SharedTab)
}
PROTOBUF_NDEBUG_INLINE SharedTab::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::SharedTab& from_msg)
      : _has_bits_{from._has_bits_},
        _cached_size_{0},
        url_(arena, from.url_),
        title_(arena, from.title_),
        shared_tab_group_guid_(arena, from.shared_tab_group_guid_) {}

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

#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedTab* 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_.unique_position_ = (CheckHasBit(cached_has_bits, 0x00000008U))
                ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.unique_position_)
                : nullptr;

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

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

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite SharedTab_class_data_ =
    SharedTab::InternalGenerateClassData_(SharedTab_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
SharedTab::GetClassData() const {
  return SharedTab_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
SharedTab::GetClassData() const {
  return SharedTab_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const SharedTab::ParseTableT_
    SharedTab::_table_ =
        SharedTab::InternalGenerateParseTable_(SharedTab_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void SharedTab::Clear() {
// @@protoc_insertion_point(message_clear_start:sync_pb.SharedTab)
  ::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, 0x0000000fU)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _impl_.url_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _impl_.title_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _impl_.shared_tab_group_guid_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      ABSL_DCHECK(_impl_.unique_position_ != nullptr);
      _impl_.unique_position_->Clear();
    }
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

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

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

  // optional string shared_tab_group_guid = 4;
  if (CheckHasBit(cached_has_bits, 0x00000004U)) {
    const ::std::string& _s = this_._internal_shared_tab_group_guid();
    target = stream->WriteStringMaybeAliased(4, _s, target);
  }

  // optional .sync_pb.UniquePosition unique_position = 5;
  if (CheckHasBit(cached_has_bits, 0x00000008U)) {
    target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
        5, *this_._impl_.unique_position_, this_._impl_.unique_position_->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.SharedTab)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t SharedTab::ByteSizeLong(const MessageLite& base) {
  const SharedTab& this_ = static_cast<const SharedTab&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t SharedTab::ByteSizeLong() const {
  const SharedTab& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:sync_pb.SharedTab)
  ::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 url = 1;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_url());
    }
    // optional string title = 2;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_title());
    }
    // optional string shared_tab_group_guid = 4;
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_shared_tab_group_guid());
    }
    // optional .sync_pb.UniquePosition unique_position = 5;
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.unique_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 SharedTab::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<SharedTab*>(&to_msg);
  auto& from = static_cast<const SharedTab&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  ::google::protobuf::Arena* arena = _this->GetArena();
  // @@protoc_insertion_point(class_specific_merge_from_start:sync_pb.SharedTab)
  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_url(from._internal_url());
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _this->_internal_set_title(from._internal_title());
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _this->_internal_set_shared_tab_group_guid(from._internal_shared_tab_group_guid());
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      ABSL_DCHECK(from._impl_.unique_position_ != nullptr);
      if (_this->_impl_.unique_position_ == nullptr) {
        _this->_impl_.unique_position_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.unique_position_);
      } else {
        _this->_impl_.unique_position_->MergeFrom(*from._impl_.unique_position_);
      }
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


void SharedTab::InternalSwap(SharedTab* 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_.url_, &other->_impl_.url_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.title_, &other->_impl_.title_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.shared_tab_group_guid_, &other->_impl_.shared_tab_group_guid_, arena);
  swap(_impl_.unique_position_, other->_impl_.unique_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"
