// Generated by the protocol buffer compiler.  DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: components/collaboration/internal/messaging/storage/protocol/message.proto
// Protobuf C++ Version: 7.35.1

#include "components/collaboration/internal/messaging/storage/protocol/message.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 collaboration_pb {
class TabGroupData::_Internal {
 public:
  using HasBits = decltype(::std::declval<TabGroupData>()._impl_._has_bits_);
  static constexpr ::int32_t kHasBitsOffset =
      8 * PROTOBUF_FIELD_OFFSET(TabGroupData, _impl_._has_bits_);
};

constexpr TabGroupData::ParseTableT_ TabGroupData::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(TabGroupData, _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<::collaboration_pb::TabGroupData>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      // optional string title = 2;
      {::_pbi::TcParser::FastBS1,
       {18, 1, 0,
        PROTOBUF_FIELD_OFFSET(TabGroupData, _impl_.title_)}},
      // optional string sync_tab_group_id = 1;
      {::_pbi::TcParser::FastBS1,
       {10, 0, 0,
        PROTOBUF_FIELD_OFFSET(TabGroupData, _impl_.sync_tab_group_id_)}},
    }}, {{
      65535, 65535
    }}, {{
      // optional string sync_tab_group_id = 1;
      {PROTOBUF_FIELD_OFFSET(TabGroupData, _impl_.sync_tab_group_id_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional string title = 2;
      {PROTOBUF_FIELD_OFFSET(TabGroupData, _impl_.title_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
    }},
    // no aux_entries
    {{
    }},
  };
}


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

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

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

constexpr TabData::ParseTableT_ TabData::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(TabData, _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
      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<::collaboration_pb::TabData>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      {::_pbi::TcParser::MiniParse, {}},
      // optional string sync_tab_group_id = 1;
      {::_pbi::TcParser::FastBS1,
       {10, 0, 0,
        PROTOBUF_FIELD_OFFSET(TabData, _impl_.sync_tab_group_id_)}},
      // optional string sync_tab_id = 2;
      {::_pbi::TcParser::FastBS1,
       {18, 1, 0,
        PROTOBUF_FIELD_OFFSET(TabData, _impl_.sync_tab_id_)}},
      // optional string last_url = 3;
      {::_pbi::TcParser::FastBS1,
       {26, 2, 0,
        PROTOBUF_FIELD_OFFSET(TabData, _impl_.last_url_)}},
    }}, {{
      65535, 65535
    }}, {{
      // optional string sync_tab_group_id = 1;
      {PROTOBUF_FIELD_OFFSET(TabData, _impl_.sync_tab_group_id_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional string sync_tab_id = 2;
      {PROTOBUF_FIELD_OFFSET(TabData, _impl_.sync_tab_id_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional string last_url = 3;
      {PROTOBUF_FIELD_OFFSET(TabData, _impl_.last_url_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
    }},
    // no aux_entries
    {{
    }},
  };
}


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

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

PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PROTOBUF_MESSAGE_GLOBALS_CONST TabDataGlobalsTypeInternal TabData_globals_
        PROTOBUF_MESSAGE_GLOBALS_SECTION(.data.rel.ro);
#if defined(PROTOBUF_CUSTOM_VTABLE)
namespace {
const ::_pbi::ClassData* TabData_get_class_data() {
#ifdef PROTOBUF_MESSAGE_GLOBALS
  return TabData_globals_.GetClassData();
#else
  return TabData_class_data_.base();
#endif  // PROTOBUF_MESSAGE_GLOBALS
}
}  // namespace
#endif  // PROTOBUF_CUSTOM_VTABLE
class CollaborationData::_Internal {
 public:
};

constexpr CollaborationData::ParseTableT_ CollaborationData::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(CollaborationData,
                            _impl_._cached_size_),  // no hasbits
      0, // no _extensions_
      0, 0,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967295,  // skipmap
      offsetof(ParseTableT_, field_names),  // no field_entries
      0,  // 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<::collaboration_pb::CollaborationData>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      {::_pbi::TcParser::MiniParse, {}},
    }}, {{
      65535, 65535
    }}, // no field_entries, or aux_entries
    {{
    }},
  };
}


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

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

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

constexpr Message::ParseTableT_ Message::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(Message, _impl_._has_bits_),
      0, // no _extensions_
      10, 56,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294966272,  // skipmap
      offsetof(ParseTableT_, field_entries),
      10,  // num_field_entries
      4,  // 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<::collaboration_pb::Message>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      {::_pbi::TcParser::MiniParse, {}},
      // optional string uuid = 1;
      {::_pbi::TcParser::FastBS1,
       {10, 0, 0,
        PROTOBUF_FIELD_OFFSET(Message, _impl_.uuid_)}},
      // optional .collaboration_pb.EventType event_type = 2;
      {::_pbi::TcParser::FastEr0S1,
       {16, 5, 12,
        PROTOBUF_FIELD_OFFSET(Message, _impl_.event_type_)}},
      // optional int64 event_timestamp = 3;
      {::_pbi::TcParser::FastV64S1,
       {24, 4, 0,
        PROTOBUF_FIELD_OFFSET(Message, _impl_.event_timestamp_)}},
      // optional string collaboration_id = 4;
      {::_pbi::TcParser::FastBS1,
       {34, 1, 0,
        PROTOBUF_FIELD_OFFSET(Message, _impl_.collaboration_id_)}},
      // optional int32 dirty = 5;
      {::_pbi::TcParser::FastV32S1,
       {40, 6, 0,
        PROTOBUF_FIELD_OFFSET(Message, _impl_.dirty_)}},
      // optional string triggering_user_gaia_id = 6;
      {::_pbi::TcParser::FastBS1,
       {50, 2, 0,
        PROTOBUF_FIELD_OFFSET(Message, _impl_.triggering_user_gaia_id_)}},
      // optional string affected_user_gaia_id = 7;
      {::_pbi::TcParser::FastBS1,
       {58, 3, 0,
        PROTOBUF_FIELD_OFFSET(Message, _impl_.affected_user_gaia_id_)}},
    }}, {{
      65535, 65535
    }}, {{
      // optional string uuid = 1;
      {PROTOBUF_FIELD_OFFSET(Message, _impl_.uuid_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional .collaboration_pb.EventType event_type = 2;
      {PROTOBUF_FIELD_OFFSET(Message, _impl_.event_type_), _Internal::kHasBitsOffset + 5, 3, (0 | ::_fl::kFcOptional | ::_fl::kEnumRange)},
      // optional int64 event_timestamp = 3;
      {PROTOBUF_FIELD_OFFSET(Message, _impl_.event_timestamp_), _Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
      // optional string collaboration_id = 4;
      {PROTOBUF_FIELD_OFFSET(Message, _impl_.collaboration_id_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional int32 dirty = 5;
      {PROTOBUF_FIELD_OFFSET(Message, _impl_.dirty_), _Internal::kHasBitsOffset + 6, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
      // optional string triggering_user_gaia_id = 6;
      {PROTOBUF_FIELD_OFFSET(Message, _impl_.triggering_user_gaia_id_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional string affected_user_gaia_id = 7;
      {PROTOBUF_FIELD_OFFSET(Message, _impl_.affected_user_gaia_id_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // .collaboration_pb.TabData tab_data = 8;
      {PROTOBUF_FIELD_OFFSET(Message, _impl_.data_.tab_data_), _Internal::kOneofCaseOffset + 0, 0, (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
      // .collaboration_pb.TabGroupData tab_group_data = 9;
      {PROTOBUF_FIELD_OFFSET(Message, _impl_.data_.tab_group_data_), _Internal::kOneofCaseOffset + 0, 1, (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
      // .collaboration_pb.CollaborationData collaboration_data = 10;
      {PROTOBUF_FIELD_OFFSET(Message, _impl_.data_.collaboration_data_), _Internal::kOneofCaseOffset + 0, 2, (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
    }},
    {{
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::collaboration_pb::TabData>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::collaboration_pb::TabData_globals_},
        #endif
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::collaboration_pb::TabGroupData>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::collaboration_pb::TabGroupData_globals_},
        #endif
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::collaboration_pb::CollaborationData>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::collaboration_pb::CollaborationData_globals_},
        #endif
        {0, 12},
    }},
    {{
    }},
  };
}


inline constexpr Message::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        uuid_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        collaboration_id_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        triggering_user_gaia_id_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        affected_user_gaia_id_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        event_timestamp_{::int64_t{0}},
        event_type_{static_cast< ::collaboration_pb::EventType >(0)},
        dirty_{0},
        data_{},
        _oneof_case_{} {}

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

PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PROTOBUF_MESSAGE_GLOBALS_CONST MessageGlobalsTypeInternal Message_globals_
        PROTOBUF_MESSAGE_GLOBALS_SECTION(.data.rel.ro);
#if defined(PROTOBUF_CUSTOM_VTABLE)
namespace {
const ::_pbi::ClassData* Message_get_class_data() {
#ifdef PROTOBUF_MESSAGE_GLOBALS
  return Message_globals_.GetClassData();
#else
  return Message_class_data_.base();
#endif  // PROTOBUF_MESSAGE_GLOBALS
}
}  // namespace
#endif  // PROTOBUF_CUSTOM_VTABLE
}  // namespace collaboration_pb
namespace collaboration_pb {
PROTOBUF_CONSTINIT const uint32_t EventType_internal_data_[] = {
    851968u, 0u, };
static const char EventType_names[] = {
    "COLLABORATION_ADDED"
    "COLLABORATION_MEMBER_ADDED"
    "COLLABORATION_MEMBER_REMOVED"
    "COLLABORATION_REMOVED"
    "TAB_ADDED"
    "TAB_GROUP_ADDED"
    "TAB_GROUP_COLOR_UPDATED"
    "TAB_GROUP_NAME_UPDATED"
    "TAB_GROUP_REMOVED"
    "TAB_REMOVED"
    "TAB_UPDATED"
    "UNSPECIFIED"
    "VERSION_OUT_OF_DATE"
};

static const ::google::protobuf::internal::EnumEntry EventType_entries[] = {
    {{&EventType_names[0], 19}, 8},
    {{&EventType_names[19], 26}, 10},
    {{&EventType_names[45], 28}, 11},
    {{&EventType_names[73], 21}, 9},
    {{&EventType_names[94], 9}, 1},
    {{&EventType_names[103], 15}, 4},
    {{&EventType_names[118], 23}, 7},
    {{&EventType_names[141], 22}, 6},
    {{&EventType_names[163], 17}, 5},
    {{&EventType_names[180], 11}, 3},
    {{&EventType_names[191], 11}, 2},
    {{&EventType_names[202], 11}, 0},
    {{&EventType_names[213], 19}, 12},
};

static const int EventType_entries_by_number[] = {
    11,  // 0 -> UNSPECIFIED
    4,  // 1 -> TAB_ADDED
    10,  // 2 -> TAB_UPDATED
    9,  // 3 -> TAB_REMOVED
    5,  // 4 -> TAB_GROUP_ADDED
    8,  // 5 -> TAB_GROUP_REMOVED
    7,  // 6 -> TAB_GROUP_NAME_UPDATED
    6,  // 7 -> TAB_GROUP_COLOR_UPDATED
    0,  // 8 -> COLLABORATION_ADDED
    3,  // 9 -> COLLABORATION_REMOVED
    1,  // 10 -> COLLABORATION_MEMBER_ADDED
    2,  // 11 -> COLLABORATION_MEMBER_REMOVED
    12,  // 12 -> VERSION_OUT_OF_DATE
};

bool EventType_Parse(::absl::string_view name,
                                  EventType* PROTOBUF_NONNULL value) {
  int int_value;
  bool success = ::google::protobuf::internal::LookUpEnumValue(
      EventType_entries, 13, name, &int_value);
  if (success) {
    *value = static_cast<EventType>(int_value);
  }
  return success;
}
static ::google::protobuf::internal::ExplicitlyConstructed<::std::string>
    EventType_strings[13] = {};

const ::std::string& EventType_Name(EventType value) {
  static const bool kDummy = ::google::protobuf::internal::InitializeEnumStrings(
      EventType_entries, EventType_entries_by_number, 13,
      EventType_strings);
  (void)kDummy;

  int idx = ::google::protobuf::internal::LookUpEnumName(EventType_entries,
                                  EventType_entries_by_number,
                                  13, value);
  return idx == -1 ? ::google::protobuf::internal::GetEmptyString() : EventType_strings[idx].get();
}
// ===================================================================

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

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

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

  // @@protoc_insertion_point(copy_constructor:collaboration_pb.TabData)
}
PROTOBUF_NDEBUG_INLINE TabData::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0},
        sync_tab_group_id_(arena),
        sync_tab_id_(arena),
        last_url_(arena) {}

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

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite TabData_class_data_ =
    TabData::InternalGenerateClassData_(TabData_globals_._default);

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

  cached_has_bits = _impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _impl_.sync_tab_group_id_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _impl_.sync_tab_id_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _impl_.last_url_.ClearNonDefaultToEmpty();
    }
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

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

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

  // optional string last_url = 3;
  if (CheckHasBit(cached_has_bits, 0x00000004U)) {
    const ::std::string& _s = this_._internal_last_url();
    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:collaboration_pb.TabData)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t TabData::ByteSizeLong(const MessageLite& base) {
  const TabData& this_ = static_cast<const TabData&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t TabData::ByteSizeLong() const {
  const TabData& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:collaboration_pb.TabData)
  ::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 sync_tab_group_id = 1;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_sync_tab_group_id());
    }
    // optional string sync_tab_id = 2;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_sync_tab_id());
    }
    // optional string last_url = 3;
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_last_url());
    }
  }
  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 TabData::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<TabData*>(&to_msg);
  auto& from = static_cast<const TabData&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  // @@protoc_insertion_point(class_specific_merge_from_start:collaboration_pb.TabData)
  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_sync_tab_group_id(from._internal_sync_tab_group_id());
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _this->_internal_set_sync_tab_id(from._internal_sync_tab_id());
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _this->_internal_set_last_url(from._internal_last_url());
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


void TabData::InternalSwap(TabData* 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_.sync_tab_group_id_, &other->_impl_.sync_tab_group_id_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.sync_tab_id_, &other->_impl_.sync_tab_id_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.last_url_, &other->_impl_.last_url_, arena);
}

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

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

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

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

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

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

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite TabGroupData_class_data_ =
    TabGroupData::InternalGenerateClassData_(TabGroupData_globals_._default);

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

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

  cached_has_bits = this_._impl_._has_bits_[0];
  // optional string sync_tab_group_id = 1;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    const ::std::string& _s = this_._internal_sync_tab_group_id();
    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);
  }

  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:collaboration_pb.TabGroupData)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t TabGroupData::ByteSizeLong(const MessageLite& base) {
  const TabGroupData& this_ = static_cast<const TabGroupData&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t TabGroupData::ByteSizeLong() const {
  const TabGroupData& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:collaboration_pb.TabGroupData)
  ::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 sync_tab_group_id = 1;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_sync_tab_group_id());
    }
    // optional string title = 2;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_title());
    }
  }
  if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
    total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
  }
  this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
  return total_size;
}

void TabGroupData::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<TabGroupData*>(&to_msg);
  auto& from = static_cast<const TabGroupData&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  // @@protoc_insertion_point(class_specific_merge_from_start:collaboration_pb.TabGroupData)
  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_sync_tab_group_id(from._internal_sync_tab_group_id());
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _this->_internal_set_title(from._internal_title());
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


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

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

CollaborationData::CollaborationData(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, CollaborationData_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:collaboration_pb.CollaborationData)
}
CollaborationData::CollaborationData(
    ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const CollaborationData& from)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, CollaborationData_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 CollaborationData::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0} {}

inline void CollaborationData::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
  new (&_impl_) Impl_(internal_visibility(), arena);
}
CollaborationData::~CollaborationData() {
  // @@protoc_insertion_point(destructor:collaboration_pb.CollaborationData)
  SharedDtor(*this);
}
inline void CollaborationData::SharedDtor(MessageLite& self) {
  CollaborationData& this_ = static_cast<CollaborationData&>(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 CollaborationData_class_data_ =
    CollaborationData::InternalGenerateClassData_(CollaborationData_globals_._default);

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

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

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

  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:collaboration_pb.CollaborationData)
  return target;
}

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

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

  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 CollaborationData::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<CollaborationData*>(&to_msg);
  auto& from = static_cast<const CollaborationData&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  // @@protoc_insertion_point(class_specific_merge_from_start:collaboration_pb.CollaborationData)
  ABSL_DCHECK_NE(&from, _this);
  ::uint32_t cached_has_bits = 0;
  (void)cached_has_bits;

  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


void CollaborationData::InternalSwap(CollaborationData* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
  using ::std::swap;
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
}

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

void Message::set_allocated_tab_data(::collaboration_pb::TabData* PROTOBUF_NULLABLE tab_data) {
  ::google::protobuf::Arena* message_arena = GetArena();
  clear_data();
  if (tab_data) {
    ::google::protobuf::Arena* submessage_arena = tab_data->GetArena();
    if (message_arena != submessage_arena) {
      tab_data = ::google::protobuf::internal::GetOwnedMessage(message_arena, tab_data, submessage_arena);
    }
    set_has_tab_data();
    _impl_.data_.tab_data_ = tab_data;
  }
  // @@protoc_insertion_point(field_set_allocated:collaboration_pb.Message.tab_data)
}
void Message::set_allocated_tab_group_data(::collaboration_pb::TabGroupData* PROTOBUF_NULLABLE tab_group_data) {
  ::google::protobuf::Arena* message_arena = GetArena();
  clear_data();
  if (tab_group_data) {
    ::google::protobuf::Arena* submessage_arena = tab_group_data->GetArena();
    if (message_arena != submessage_arena) {
      tab_group_data = ::google::protobuf::internal::GetOwnedMessage(message_arena, tab_group_data, submessage_arena);
    }
    set_has_tab_group_data();
    _impl_.data_.tab_group_data_ = tab_group_data;
  }
  // @@protoc_insertion_point(field_set_allocated:collaboration_pb.Message.tab_group_data)
}
void Message::set_allocated_collaboration_data(::collaboration_pb::CollaborationData* PROTOBUF_NULLABLE collaboration_data) {
  ::google::protobuf::Arena* message_arena = GetArena();
  clear_data();
  if (collaboration_data) {
    ::google::protobuf::Arena* submessage_arena = collaboration_data->GetArena();
    if (message_arena != submessage_arena) {
      collaboration_data = ::google::protobuf::internal::GetOwnedMessage(message_arena, collaboration_data, submessage_arena);
    }
    set_has_collaboration_data();
    _impl_.data_.collaboration_data_ = collaboration_data;
  }
  // @@protoc_insertion_point(field_set_allocated:collaboration_pb.Message.collaboration_data)
}
Message::Message(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, Message_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:collaboration_pb.Message)
}
PROTOBUF_NDEBUG_INLINE Message::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
    [[maybe_unused]] const ::collaboration_pb::Message& from_msg)
      : _has_bits_{from._has_bits_},
        _cached_size_{0},
        uuid_(arena, from.uuid_),
        collaboration_id_(arena, from.collaboration_id_),
        triggering_user_gaia_id_(arena, from.triggering_user_gaia_id_),
        affected_user_gaia_id_(arena, from.affected_user_gaia_id_),
        data_{},
        _oneof_case_{from._oneof_case_[0]} {}

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

#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  Message* 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_, event_timestamp_),
           reinterpret_cast<const char*>(&from._impl_) +
               offsetof(Impl_, event_timestamp_),
           offsetof(Impl_, dirty_) -
               offsetof(Impl_, event_timestamp_) +
               sizeof(Impl_::dirty_));
  switch (data_case()) {
    case DATA_NOT_SET:
      break;
      case kTabData:
        _impl_.data_.tab_data_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.data_.tab_data_);
        break;
      case kTabGroupData:
        _impl_.data_.tab_group_data_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.data_.tab_group_data_);
        break;
      case kCollaborationData:
        _impl_.data_.collaboration_data_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.data_.collaboration_data_);
        break;
  }

  // @@protoc_insertion_point(copy_constructor:collaboration_pb.Message)
}
PROTOBUF_NDEBUG_INLINE Message::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0},
        uuid_(arena),
        collaboration_id_(arena),
        triggering_user_gaia_id_(arena),
        affected_user_gaia_id_(arena),
        data_{},
        _oneof_case_{} {}

inline void Message::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
  new (&_impl_) Impl_(internal_visibility(), arena);
  ::memset(reinterpret_cast<char*>(&_impl_) +
               offsetof(Impl_, event_timestamp_),
           0,
           offsetof(Impl_, dirty_) -
               offsetof(Impl_, event_timestamp_) +
               sizeof(Impl_::dirty_));
}
Message::~Message() {
  // @@protoc_insertion_point(destructor:collaboration_pb.Message)
  SharedDtor(*this);
}
inline void Message::SharedDtor(MessageLite& self) {
  Message& this_ = static_cast<Message&>(self);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    this_.CheckHasBitConsistency();
  }
  this_._internal_metadata_.Delete<::std::string>();
  ABSL_DCHECK(this_.GetArena() == nullptr);
  this_._impl_.uuid_.Destroy();
  this_._impl_.collaboration_id_.Destroy();
  this_._impl_.triggering_user_gaia_id_.Destroy();
  this_._impl_.affected_user_gaia_id_.Destroy();
  if (this_.has_data()) {
    this_.clear_data();
  }
  this_._impl_.~Impl_();
}

void Message::clear_data() {
// @@protoc_insertion_point(one_of_clear_start:collaboration_pb.Message)
  ::google::protobuf::internal::TSanWrite(&_impl_);
  switch (data_case()) {
    case kTabData: {
      if (GetArena() == nullptr) {
        delete _impl_.data_.tab_data_;
      } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
        if (_impl_.data_.tab_data_ != nullptr) {
          _impl_.data_.tab_data_->Clear();
        }
      }
      break;
    }
    case kTabGroupData: {
      if (GetArena() == nullptr) {
        delete _impl_.data_.tab_group_data_;
      } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
        if (_impl_.data_.tab_group_data_ != nullptr) {
          _impl_.data_.tab_group_data_->Clear();
        }
      }
      break;
    }
    case kCollaborationData: {
      if (GetArena() == nullptr) {
        delete _impl_.data_.collaboration_data_;
      } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
        if (_impl_.data_.collaboration_data_ != nullptr) {
          _impl_.data_.collaboration_data_->Clear();
        }
      }
      break;
    }
    case DATA_NOT_SET: {
      break;
    }
  }
  _impl_._oneof_case_[0] = DATA_NOT_SET;
}


#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite Message_class_data_ =
    Message::InternalGenerateClassData_(Message_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
Message::GetClassData() const {
  return Message_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
Message::GetClassData() const {
  return Message_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const Message::ParseTableT_
    Message::_table_ =
        Message::InternalGenerateParseTable_(Message_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void Message::Clear() {
// @@protoc_insertion_point(message_clear_start:collaboration_pb.Message)
  ::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_.uuid_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _impl_.collaboration_id_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _impl_.triggering_user_gaia_id_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      _impl_.affected_user_gaia_id_.ClearNonDefaultToEmpty();
    }
  }
  if (BatchCheckHasBit(cached_has_bits, 0x00000070U)) {
    ::memset(&_impl_.event_timestamp_, 0, static_cast<::size_t>(
        reinterpret_cast<char*>(&_impl_.dirty_) -
        reinterpret_cast<char*>(&_impl_.event_timestamp_)) + sizeof(_impl_.dirty_));
  }
  clear_data();
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

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

  // optional .collaboration_pb.EventType event_type = 2;
  if (CheckHasBit(cached_has_bits, 0x00000020U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteEnumToArray(
        2, this_._internal_event_type(), target);
  }

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

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

  // optional int32 dirty = 5;
  if (CheckHasBit(cached_has_bits, 0x00000040U)) {
    target =
        ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<5>(
            stream, this_._internal_dirty(), target);
  }

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

  // optional string affected_user_gaia_id = 7;
  if (CheckHasBit(cached_has_bits, 0x00000008U)) {
    const ::std::string& _s = this_._internal_affected_user_gaia_id();
    target = stream->WriteStringMaybeAliased(7, _s, target);
  }

  switch (this_.data_case()) {
    case kTabData: {
      target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
          8, *this_._impl_.data_.tab_data_, this_._impl_.data_.tab_data_->GetCachedSize(), target,
          stream);
      break;
    }
    case kTabGroupData: {
      target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
          9, *this_._impl_.data_.tab_group_data_, this_._impl_.data_.tab_group_data_->GetCachedSize(), target,
          stream);
      break;
    }
    case kCollaborationData: {
      target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
          10, *this_._impl_.data_.collaboration_data_, this_._impl_.data_.collaboration_data_->GetCachedSize(), target,
          stream);
      break;
    }
    default:
      break;
  }
  if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
    target = stream->WriteRaw(
        this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
        static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
  }
  // @@protoc_insertion_point(serialize_to_array_end:collaboration_pb.Message)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t Message::ByteSizeLong(const MessageLite& base) {
  const Message& this_ = static_cast<const Message&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t Message::ByteSizeLong() const {
  const Message& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:collaboration_pb.Message)
  ::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, 0x0000007fU)) {
    // optional string uuid = 1;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_uuid());
    }
    // optional string collaboration_id = 4;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_collaboration_id());
    }
    // optional string triggering_user_gaia_id = 6;
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_triggering_user_gaia_id());
    }
    // optional string affected_user_gaia_id = 7;
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_affected_user_gaia_id());
    }
    // optional int64 event_timestamp = 3;
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
          this_._internal_event_timestamp());
    }
    // optional .collaboration_pb.EventType event_type = 2;
    if (CheckHasBit(cached_has_bits, 0x00000020U)) {
      total_size += 1 +
                    ::_pbi::WireFormatLite::EnumSize(this_._internal_event_type());
    }
    // optional int32 dirty = 5;
    if (CheckHasBit(cached_has_bits, 0x00000040U)) {
      total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
          this_._internal_dirty());
    }
  }
  switch (this_.data_case()) {
    // .collaboration_pb.TabData tab_data = 8;
    case kTabData: {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.data_.tab_data_);
      break;
    }
    // .collaboration_pb.TabGroupData tab_group_data = 9;
    case kTabGroupData: {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.data_.tab_group_data_);
      break;
    }
    // .collaboration_pb.CollaborationData collaboration_data = 10;
    case kCollaborationData: {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.data_.collaboration_data_);
      break;
    }
    case DATA_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 Message::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<Message*>(&to_msg);
  auto& from = static_cast<const Message&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  ::google::protobuf::Arena* arena = _this->GetArena();
  // @@protoc_insertion_point(class_specific_merge_from_start:collaboration_pb.Message)
  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, 0x0000007fU)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _this->_internal_set_uuid(from._internal_uuid());
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _this->_internal_set_collaboration_id(from._internal_collaboration_id());
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _this->_internal_set_triggering_user_gaia_id(from._internal_triggering_user_gaia_id());
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      _this->_internal_set_affected_user_gaia_id(from._internal_affected_user_gaia_id());
    }
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      _this->_impl_.event_timestamp_ = from._impl_.event_timestamp_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000020U)) {
      _this->_impl_.event_type_ = from._impl_.event_type_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000040U)) {
      _this->_impl_.dirty_ = from._impl_.dirty_;
    }
  }
  _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_data();
      }
      _this->_impl_._oneof_case_[0] = oneof_from_case;
    }

    switch (oneof_from_case) {
      case kTabData: {
        if (oneof_needs_init) {
          _this->_impl_.data_.tab_data_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.data_.tab_data_);
        } else {
          _this->_impl_.data_.tab_data_->CheckTypeAndMergeFrom(*from._impl_.data_.tab_data_);
        }
        break;
      }
      case kTabGroupData: {
        if (oneof_needs_init) {
          _this->_impl_.data_.tab_group_data_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.data_.tab_group_data_);
        } else {
          _this->_impl_.data_.tab_group_data_->CheckTypeAndMergeFrom(*from._impl_.data_.tab_group_data_);
        }
        break;
      }
      case kCollaborationData: {
        if (oneof_needs_init) {
          _this->_impl_.data_.collaboration_data_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.data_.collaboration_data_);
        } else {
          _this->_impl_.data_.collaboration_data_->CheckTypeAndMergeFrom(*from._impl_.data_.collaboration_data_);
        }
        break;
      }
      case DATA_NOT_SET:
        break;
    }
  }
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


void Message::InternalSwap(Message* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
  using ::std::swap;
  auto* arena = GetArena();
  ABSL_DCHECK_EQ(arena, other->GetArena());
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.uuid_, &other->_impl_.uuid_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.collaboration_id_, &other->_impl_.collaboration_id_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.triggering_user_gaia_id_, &other->_impl_.triggering_user_gaia_id_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.affected_user_gaia_id_, &other->_impl_.affected_user_gaia_id_, arena);
  ::google::protobuf::internal::memswap<
      PROTOBUF_FIELD_OFFSET(Message, _impl_.dirty_)
      + sizeof(Message::_impl_.dirty_)
      - PROTOBUF_FIELD_OFFSET(Message, _impl_.event_timestamp_)>(
          reinterpret_cast<char*>(&_impl_.event_timestamp_),
          reinterpret_cast<char*>(&other->_impl_.event_timestamp_));
  swap(_impl_.data_, other->_impl_.data_);
  swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]);
}

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