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

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

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


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

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

PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PROTOBUF_MESSAGE_GLOBALS_CONST SyncDisabledEventGlobalsTypeInternal SyncDisabledEvent_globals_
        PROTOBUF_MESSAGE_GLOBALS_SECTION(.data.rel.ro);
#if defined(PROTOBUF_CUSTOM_VTABLE)
namespace {
const ::_pbi::ClassData* SyncDisabledEvent_get_class_data() {
#ifdef PROTOBUF_MESSAGE_GLOBALS
  return SyncDisabledEvent_globals_.GetClassData();
#else
  return SyncDisabledEvent_class_data_.base();
#endif  // PROTOBUF_MESSAGE_GLOBALS
}
}  // namespace
#endif  // PROTOBUF_CUSTOM_VTABLE
class EventResponse::_Internal {
 public:
};

constexpr EventResponse::ParseTableT_ EventResponse::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(EventResponse,
                            _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<::sync_pb::EventResponse>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      {::_pbi::TcParser::MiniParse, {}},
    }}, {{
      65535, 65535
    }}, // no field_entries, or aux_entries
    {{
    }},
  };
}


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

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

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

constexpr ClientToServerResponse_Error::ParseTableT_ ClientToServerResponse_Error::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(ClientToServerResponse_Error, _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
      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::ClientToServerResponse_Error>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      {::_pbi::TcParser::MiniParse, {}},
      // optional .sync_pb.SyncEnums.ErrorType error_type = 1 [default = UNKNOWN];
      {::_pbi::TcParser::FastEvS1,
       {8, 2, 0,
        PROTOBUF_FIELD_OFFSET(ClientToServerResponse_Error, _impl_.error_type_)}},
      // optional string error_description = 2;
      {::_pbi::TcParser::FastBS1,
       {18, 1, 0,
        PROTOBUF_FIELD_OFFSET(ClientToServerResponse_Error, _impl_.error_description_)}},
      {::_pbi::TcParser::MiniParse, {}},
      // optional .sync_pb.SyncEnums.Action action = 4 [default = UNKNOWN_ACTION];
      {::_pbi::TcParser::FastEvS1,
       {32, 3, 1,
        PROTOBUF_FIELD_OFFSET(ClientToServerResponse_Error, _impl_.action_)}},
      // repeated int32 error_data_type_ids = 5;
      {::_pbi::TcParser::FastV32R1,
       {40, 0, 0,
        PROTOBUF_FIELD_OFFSET(ClientToServerResponse_Error, _impl_.error_data_type_ids_)}},
      {::_pbi::TcParser::MiniParse, {}},
      {::_pbi::TcParser::MiniParse, {}},
    }}, {{
      65535, 65535
    }}, {{
      // optional .sync_pb.SyncEnums.ErrorType error_type = 1 [default = UNKNOWN];
      {PROTOBUF_FIELD_OFFSET(ClientToServerResponse_Error, _impl_.error_type_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kEnum)},
      // optional string error_description = 2;
      {PROTOBUF_FIELD_OFFSET(ClientToServerResponse_Error, _impl_.error_description_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional .sync_pb.SyncEnums.Action action = 4 [default = UNKNOWN_ACTION];
      {PROTOBUF_FIELD_OFFSET(ClientToServerResponse_Error, _impl_.action_), _Internal::kHasBitsOffset + 3, 1, (0 | ::_fl::kFcOptional | ::_fl::kEnum)},
      // repeated int32 error_data_type_ids = 5;
      {PROTOBUF_FIELD_OFFSET(ClientToServerResponse_Error, _impl_.error_data_type_ids_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kInt32)},
    }},
    {{
        {::_pbi::FieldAuxEnumData{}, ::sync_pb::SyncEnums_ErrorType_internal_data_},
        {::_pbi::FieldAuxEnumData{}, ::sync_pb::SyncEnums_Action_internal_data_},
    }},
    {{
    }},
  };
}


inline constexpr ClientToServerResponse_Error::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        error_data_type_ids_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::sync_pb::ClientToServerResponse_Error,
            PROTOBUF_FIELD_OFFSET(::sync_pb::ClientToServerResponse_Error, _impl_.error_data_type_ids_)>()
         }
        ,
        error_description_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        error_type_{static_cast< ::sync_pb::SyncEnums_ErrorType >(100)},
        action_{static_cast< ::sync_pb::SyncEnums_Action >(5)} {}

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

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

constexpr ClientStatus::ParseTableT_ ClientStatus::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(ClientStatus, _impl_._has_bits_),
      0, // no _extensions_
      2, 8,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967292,  // skipmap
      offsetof(ParseTableT_, field_entries),
      2,  // num_field_entries
      0,  // num_aux_entries
      offsetof(ParseTableT_, field_names),  // no aux_entries
      class_data,
      nullptr,  // post_loop_handler
      ::_pbi::TcParser::GenericFallbackLite,  // fallback
      #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
      ::_pbi::TcParser::GetTable<::sync_pb::ClientStatus>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      // optional bool is_sync_feature_enabled = 2;
      {::_pbi::TcParser::FastV8S1,
       {16, 1, 0,
        PROTOBUF_FIELD_OFFSET(ClientStatus, _impl_.is_sync_feature_enabled_)}},
      // optional bool hierarchy_conflict_detected = 1 [deprecated = true];
      {::_pbi::TcParser::FastV8S1,
       {8, 0, 0,
        PROTOBUF_FIELD_OFFSET(ClientStatus, _impl_.hierarchy_conflict_detected_)}},
    }}, {{
      65535, 65535
    }}, {{
      // optional bool hierarchy_conflict_detected = 1 [deprecated = true];
      {PROTOBUF_FIELD_OFFSET(ClientStatus, _impl_.hierarchy_conflict_detected_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)},
      // optional bool is_sync_feature_enabled = 2;
      {PROTOBUF_FIELD_OFFSET(ClientStatus, _impl_.is_sync_feature_enabled_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)},
    }},
    // no aux_entries
    {{
    }},
  };
}


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

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

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

constexpr ClientConfigParams::ParseTableT_ ClientConfigParams::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(ClientConfigParams, _impl_._has_bits_),
      0, // no _extensions_
      8, 56,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967040,  // skipmap
      offsetof(ParseTableT_, field_entries),
      8,  // num_field_entries
      0,  // num_aux_entries
      offsetof(ParseTableT_, field_names),  // no aux_entries
      class_data,
      nullptr,  // post_loop_handler
      ::_pbi::TcParser::GenericFallbackLite,  // fallback
      #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
      ::_pbi::TcParser::GetTable<::sync_pb::ClientConfigParams>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      // optional bool single_client_with_old_invalidations = 8;
      {::_pbi::TcParser::FastV8S1,
       {64, 7, 0,
        PROTOBUF_FIELD_OFFSET(ClientConfigParams, _impl_.single_client_with_old_invalidations_)}},
      // repeated int32 enabled_type_ids = 1;
      {::_pbi::TcParser::FastV32R1,
       {8, 0, 0,
        PROTOBUF_FIELD_OFFSET(ClientConfigParams, _impl_.enabled_type_ids_)}},
      // optional bool tabs_datatype_enabled = 2 [deprecated = true];
      {::_pbi::TcParser::FastV8S1,
       {16, 3, 0,
        PROTOBUF_FIELD_OFFSET(ClientConfigParams, _impl_.tabs_datatype_enabled_)}},
      // optional bool cookie_jar_mismatch = 3;
      {::_pbi::TcParser::FastV8S1,
       {24, 4, 0,
        PROTOBUF_FIELD_OFFSET(ClientConfigParams, _impl_.cookie_jar_mismatch_)}},
      // optional bool single_client = 4;
      {::_pbi::TcParser::FastV8S1,
       {32, 5, 0,
        PROTOBUF_FIELD_OFFSET(ClientConfigParams, _impl_.single_client_)}},
      // repeated string devices_fcm_registration_tokens = 5;
      {::_pbi::TcParser::FastBR1,
       {42, 1, 0,
        PROTOBUF_FIELD_OFFSET(ClientConfigParams, _impl_.devices_fcm_registration_tokens_)}},
      // optional bool single_client_with_standalone_invalidations = 6;
      {::_pbi::TcParser::FastV8S1,
       {48, 6, 0,
        PROTOBUF_FIELD_OFFSET(ClientConfigParams, _impl_.single_client_with_standalone_invalidations_)}},
      // repeated string fcm_registration_tokens_for_interested_clients = 7;
      {::_pbi::TcParser::FastBR1,
       {58, 2, 0,
        PROTOBUF_FIELD_OFFSET(ClientConfigParams, _impl_.fcm_registration_tokens_for_interested_clients_)}},
    }}, {{
      65535, 65535
    }}, {{
      // repeated int32 enabled_type_ids = 1;
      {PROTOBUF_FIELD_OFFSET(ClientConfigParams, _impl_.enabled_type_ids_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kInt32)},
      // optional bool tabs_datatype_enabled = 2 [deprecated = true];
      {PROTOBUF_FIELD_OFFSET(ClientConfigParams, _impl_.tabs_datatype_enabled_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)},
      // optional bool cookie_jar_mismatch = 3;
      {PROTOBUF_FIELD_OFFSET(ClientConfigParams, _impl_.cookie_jar_mismatch_), _Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)},
      // optional bool single_client = 4;
      {PROTOBUF_FIELD_OFFSET(ClientConfigParams, _impl_.single_client_), _Internal::kHasBitsOffset + 5, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)},
      // repeated string devices_fcm_registration_tokens = 5;
      {PROTOBUF_FIELD_OFFSET(ClientConfigParams, _impl_.devices_fcm_registration_tokens_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcRepeated | ::_fl::kBytes | ::_fl::kRepSString)},
      // optional bool single_client_with_standalone_invalidations = 6;
      {PROTOBUF_FIELD_OFFSET(ClientConfigParams, _impl_.single_client_with_standalone_invalidations_), _Internal::kHasBitsOffset + 6, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)},
      // repeated string fcm_registration_tokens_for_interested_clients = 7;
      {PROTOBUF_FIELD_OFFSET(ClientConfigParams, _impl_.fcm_registration_tokens_for_interested_clients_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcRepeated | ::_fl::kBytes | ::_fl::kRepSString)},
      // optional bool single_client_with_old_invalidations = 8;
      {PROTOBUF_FIELD_OFFSET(ClientConfigParams, _impl_.single_client_with_old_invalidations_), _Internal::kHasBitsOffset + 7, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)},
    }},
    // no aux_entries
    {{
    }},
  };
}


inline constexpr ClientConfigParams::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        enabled_type_ids_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::sync_pb::ClientConfigParams,
            PROTOBUF_FIELD_OFFSET(::sync_pb::ClientConfigParams, _impl_.enabled_type_ids_)>()
         }
        ,
        devices_fcm_registration_tokens_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::sync_pb::ClientConfigParams,
            PROTOBUF_FIELD_OFFSET(::sync_pb::ClientConfigParams, _impl_.devices_fcm_registration_tokens_)>()
         }
        ,
        fcm_registration_tokens_for_interested_clients_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::sync_pb::ClientConfigParams,
            PROTOBUF_FIELD_OFFSET(::sync_pb::ClientConfigParams, _impl_.fcm_registration_tokens_for_interested_clients_)>()
         }
        ,
        tabs_datatype_enabled_{false},
        cookie_jar_mismatch_{false},
        single_client_{false},
        single_client_with_standalone_invalidations_{false},
        single_client_with_old_invalidations_{false} {}

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

PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PROTOBUF_MESSAGE_GLOBALS_CONST ClientConfigParamsGlobalsTypeInternal ClientConfigParams_globals_
        PROTOBUF_MESSAGE_GLOBALS_SECTION(.data.rel.ro);
#if defined(PROTOBUF_CUSTOM_VTABLE)
namespace {
const ::_pbi::ClassData* ClientConfigParams_get_class_data() {
#ifdef PROTOBUF_MESSAGE_GLOBALS
  return ClientConfigParams_globals_.GetClassData();
#else
  return ClientConfigParams_class_data_.base();
#endif  // PROTOBUF_MESSAGE_GLOBALS
}
}  // namespace
#endif  // PROTOBUF_CUSTOM_VTABLE
class ClearServerDataResponse::_Internal {
 public:
};

constexpr ClearServerDataResponse::ParseTableT_ ClearServerDataResponse::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(ClearServerDataResponse,
                            _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<::sync_pb::ClearServerDataResponse>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      {::_pbi::TcParser::MiniParse, {}},
    }}, {{
      65535, 65535
    }}, // no field_entries, or aux_entries
    {{
    }},
  };
}


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

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

PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PROTOBUF_MESSAGE_GLOBALS_CONST ClearServerDataResponseGlobalsTypeInternal ClearServerDataResponse_globals_
        PROTOBUF_MESSAGE_GLOBALS_SECTION(.data.rel.ro);
#if defined(PROTOBUF_CUSTOM_VTABLE)
namespace {
const ::_pbi::ClassData* ClearServerDataResponse_get_class_data() {
#ifdef PROTOBUF_MESSAGE_GLOBALS
  return ClearServerDataResponse_globals_.GetClassData();
#else
  return ClearServerDataResponse_class_data_.base();
#endif  // PROTOBUF_MESSAGE_GLOBALS
}
}  // namespace
#endif  // PROTOBUF_CUSTOM_VTABLE
class ClearServerDataMessage::_Internal {
 public:
};

constexpr ClearServerDataMessage::ParseTableT_ ClearServerDataMessage::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(ClearServerDataMessage,
                            _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<::sync_pb::ClearServerDataMessage>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      {::_pbi::TcParser::MiniParse, {}},
    }}, {{
      65535, 65535
    }}, // no field_entries, or aux_entries
    {{
    }},
  };
}


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

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

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

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


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

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

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

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


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

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

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

constexpr EventRequest::ParseTableT_ EventRequest::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(EventRequest, _impl_._has_bits_),
      0, // no _extensions_
      1, 0,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967294,  // skipmap
      offsetof(ParseTableT_, field_entries),
      1,  // num_field_entries
      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::EventRequest>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      // optional .sync_pb.SyncDisabledEvent sync_disabled = 1;
      {::_pbi::TcParser::FastMtS1,
       {10, 0, 0,
        PROTOBUF_FIELD_OFFSET(EventRequest, _impl_.sync_disabled_)}},
    }}, {{
      65535, 65535
    }}, {{
      // optional .sync_pb.SyncDisabledEvent sync_disabled = 1;
      {PROTOBUF_FIELD_OFFSET(EventRequest, _impl_.sync_disabled_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
    }},
    {{
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::sync_pb::SyncDisabledEvent>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::sync_pb::SyncDisabledEvent_globals_},
        #endif
    }},
    {{
    }},
  };
}


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

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

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

constexpr CommitResponse_EntryResponse_DatatypeSpecificError::ParseTableT_ CommitResponse_EntryResponse_DatatypeSpecificError::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(CommitResponse_EntryResponse_DatatypeSpecificError,
                            _impl_._cached_size_),  // no hasbits
      0, // no _extensions_
      2, 0,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967292,  // skipmap
      offsetof(ParseTableT_, field_entries),
      2,  // num_field_entries
      2,  // num_aux_entries
      offsetof(ParseTableT_, aux_entries),
      class_data,
      nullptr,  // post_loop_handler
      ::_pbi::TcParser::GenericFallbackLite,  // fallback
      #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
      ::_pbi::TcParser::GetTable<::sync_pb::CommitResponse_EntryResponse_DatatypeSpecificError>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      {::_pbi::TcParser::MiniParse, {}},
    }}, {{
      65535, 65535
    }}, {{
      // .sync_pb.SharingMessageCommitError sharing_message_error = 1;
      {PROTOBUF_FIELD_OFFSET(CommitResponse_EntryResponse_DatatypeSpecificError, _impl_.datatype_error_.sharing_message_error_), _Internal::kOneofCaseOffset + 0, 0, (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
      // .sync_pb.OutgoingPasswordSharingInvitationCommitError outgoing_password_sharing_invitation_error = 2;
      {PROTOBUF_FIELD_OFFSET(CommitResponse_EntryResponse_DatatypeSpecificError, _impl_.datatype_error_.outgoing_password_sharing_invitation_error_), _Internal::kOneofCaseOffset + 0, 1, (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
    }},
    {{
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::sync_pb::SharingMessageCommitError>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::sync_pb::SharingMessageCommitError_globals_},
        #endif
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::sync_pb::OutgoingPasswordSharingInvitationCommitError>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::sync_pb::OutgoingPasswordSharingInvitationCommitError_globals_},
        #endif
    }},
    {{
    }},
  };
}


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

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

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

constexpr CommitResponse_EntryResponse::ParseTableT_ CommitResponse_EntryResponse::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(CommitResponse_EntryResponse, _impl_._has_bits_),
      0, // no _extensions_
      11, 120,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294965465,  // skipmap
      offsetof(ParseTableT_, field_entries),
      6,  // num_field_entries
      2,  // num_aux_entries
      offsetof(ParseTableT_, aux_entries),
      class_data,
      nullptr,  // post_loop_handler
      ::_pbi::TcParser::GenericFallbackLite,  // fallback
      #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
      ::_pbi::TcParser::GetTable<::sync_pb::CommitResponse_EntryResponse>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      {::_pbi::TcParser::MiniParse, {}},
      {::_pbi::TcParser::FastEndG1, {12, 12}},
      // optional .sync_pb.CommitResponse.ResponseType response_type = 2;
      {::_pbi::TcParser::FastEr1S1,
       {16, 5, 6,
        PROTOBUF_FIELD_OFFSET(CommitResponse_EntryResponse, _impl_.response_type_)}},
      // optional string id_string = 3;
      {::_pbi::TcParser::FastBS1,
       {26, 0, 0,
        PROTOBUF_FIELD_OFFSET(CommitResponse_EntryResponse, _impl_.id_string_)}},
      {::_pbi::TcParser::MiniParse, {}},
      {::_pbi::TcParser::MiniParse, {}},
      // optional int64 version = 6;
      {::_pbi::TcParser::FastV64S1,
       {48, 3, 0,
        PROTOBUF_FIELD_OFFSET(CommitResponse_EntryResponse, _impl_.version_)}},
      {::_pbi::TcParser::MiniParse, {}},
      {::_pbi::TcParser::MiniParse, {}},
      // optional string error_message = 9;
      {::_pbi::TcParser::FastBS1,
       {74, 1, 0,
        PROTOBUF_FIELD_OFFSET(CommitResponse_EntryResponse, _impl_.error_message_)}},
      // optional int64 mtime = 10 [deprecated = true];
      {::_pbi::TcParser::FastV64S1,
       {80, 4, 0,
        PROTOBUF_FIELD_OFFSET(CommitResponse_EntryResponse, _impl_.mtime_)}},
      // optional .sync_pb.CommitResponse.EntryResponse.DatatypeSpecificError datatype_specific_error = 11;
      {::_pbi::TcParser::FastMtS1,
       {90, 2, 0,
        PROTOBUF_FIELD_OFFSET(CommitResponse_EntryResponse, _impl_.datatype_specific_error_)}},
      {::_pbi::TcParser::MiniParse, {}},
      {::_pbi::TcParser::MiniParse, {}},
      {::_pbi::TcParser::MiniParse, {}},
      {::_pbi::TcParser::MiniParse, {}},
    }}, {{
      65535, 65535
    }}, {{
      // optional .sync_pb.CommitResponse.ResponseType response_type = 2;
      {PROTOBUF_FIELD_OFFSET(CommitResponse_EntryResponse, _impl_.response_type_), _Internal::kHasBitsOffset + 5, 1, (0 | ::_fl::kFcOptional | ::_fl::kEnumRange)},
      // optional string id_string = 3;
      {PROTOBUF_FIELD_OFFSET(CommitResponse_EntryResponse, _impl_.id_string_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional int64 version = 6;
      {PROTOBUF_FIELD_OFFSET(CommitResponse_EntryResponse, _impl_.version_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
      // optional string error_message = 9;
      {PROTOBUF_FIELD_OFFSET(CommitResponse_EntryResponse, _impl_.error_message_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional int64 mtime = 10 [deprecated = true];
      {PROTOBUF_FIELD_OFFSET(CommitResponse_EntryResponse, _impl_.mtime_), _Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
      // optional .sync_pb.CommitResponse.EntryResponse.DatatypeSpecificError datatype_specific_error = 11;
      {PROTOBUF_FIELD_OFFSET(CommitResponse_EntryResponse, _impl_.datatype_specific_error_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
    }},
    {{
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::sync_pb::CommitResponse_EntryResponse_DatatypeSpecificError>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::sync_pb::CommitResponse_EntryResponse_DatatypeSpecificError_globals_},
        #endif
        {1, 6},
    }},
    {{
    }},
  };
}


inline constexpr CommitResponse_EntryResponse::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        id_string_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        error_message_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        datatype_specific_error_{nullptr},
        version_{::int64_t{0}},
        mtime_{::int64_t{0}},
        response_type_{static_cast< ::sync_pb::CommitResponse_ResponseType >(1)} {}

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

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

constexpr GetUpdatesMessage::ParseTableT_ GetUpdatesMessage::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(GetUpdatesMessage, _impl_._has_bits_),
      0, // no _extensions_
      11, 120,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294965273,  // skipmap
      offsetof(ParseTableT_, field_entries),
      8,  // 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<::sync_pb::GetUpdatesMessage>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      {::_pbi::TcParser::MiniParse, {}},
      {::_pbi::TcParser::MiniParse, {}},
      // optional .sync_pb.GetUpdatesCallerInfo caller_info = 2;
      {::_pbi::TcParser::FastMtS1,
       {18, 2, 0,
        PROTOBUF_FIELD_OFFSET(GetUpdatesMessage, _impl_.caller_info_)}},
      // optional bool fetch_folders = 3 [default = true];
      {::_pbi::TcParser::FastV8S1,
       {24, 7, 0,
        PROTOBUF_FIELD_OFFSET(GetUpdatesMessage, _impl_.fetch_folders_)}},
      {::_pbi::TcParser::MiniParse, {}},
      {::_pbi::TcParser::MiniParse, {}},
      // repeated .sync_pb.DataTypeProgressMarker from_progress_marker = 6;
      {::_pbi::TcParser::FastMtR1,
       {50, 0, 1,
        PROTOBUF_FIELD_OFFSET(GetUpdatesMessage, _impl_.from_progress_marker_)}},
      // optional bool streaming = 7 [default = false];
      {::_pbi::TcParser::FastV8S1,
       {56, 3, 0,
        PROTOBUF_FIELD_OFFSET(GetUpdatesMessage, _impl_.streaming_)}},
      // optional bool need_encryption_key = 8 [default = false];
      {::_pbi::TcParser::FastV8S1,
       {64, 4, 0,
        PROTOBUF_FIELD_OFFSET(GetUpdatesMessage, _impl_.need_encryption_key_)}},
      // optional .sync_pb.SyncEnums.GetUpdatesOrigin get_updates_origin = 9;
      {::_pbi::TcParser::FastEvS1,
       {72, 6, 3,
        PROTOBUF_FIELD_OFFSET(GetUpdatesMessage, _impl_.get_updates_origin_)}},
      // optional bool is_retry = 10 [default = false];
      {::_pbi::TcParser::FastV8S1,
       {80, 5, 0,
        PROTOBUF_FIELD_OFFSET(GetUpdatesMessage, _impl_.is_retry_)}},
      // repeated .sync_pb.DataTypeContext client_contexts = 11;
      {::_pbi::TcParser::FastMtR1,
       {90, 1, 2,
        PROTOBUF_FIELD_OFFSET(GetUpdatesMessage, _impl_.client_contexts_)}},
      {::_pbi::TcParser::MiniParse, {}},
      {::_pbi::TcParser::MiniParse, {}},
      {::_pbi::TcParser::MiniParse, {}},
      {::_pbi::TcParser::MiniParse, {}},
    }}, {{
      65535, 65535
    }}, {{
      // optional .sync_pb.GetUpdatesCallerInfo caller_info = 2;
      {PROTOBUF_FIELD_OFFSET(GetUpdatesMessage, _impl_.caller_info_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
      // optional bool fetch_folders = 3 [default = true];
      {PROTOBUF_FIELD_OFFSET(GetUpdatesMessage, _impl_.fetch_folders_), _Internal::kHasBitsOffset + 7, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)},
      // repeated .sync_pb.DataTypeProgressMarker from_progress_marker = 6;
      {PROTOBUF_FIELD_OFFSET(GetUpdatesMessage, _impl_.from_progress_marker_), _Internal::kHasBitsOffset + 0, 1, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
      // optional bool streaming = 7 [default = false];
      {PROTOBUF_FIELD_OFFSET(GetUpdatesMessage, _impl_.streaming_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)},
      // optional bool need_encryption_key = 8 [default = false];
      {PROTOBUF_FIELD_OFFSET(GetUpdatesMessage, _impl_.need_encryption_key_), _Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)},
      // optional .sync_pb.SyncEnums.GetUpdatesOrigin get_updates_origin = 9;
      {PROTOBUF_FIELD_OFFSET(GetUpdatesMessage, _impl_.get_updates_origin_), _Internal::kHasBitsOffset + 6, 3, (0 | ::_fl::kFcOptional | ::_fl::kEnum)},
      // optional bool is_retry = 10 [default = false];
      {PROTOBUF_FIELD_OFFSET(GetUpdatesMessage, _impl_.is_retry_), _Internal::kHasBitsOffset + 5, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)},
      // repeated .sync_pb.DataTypeContext client_contexts = 11;
      {PROTOBUF_FIELD_OFFSET(GetUpdatesMessage, _impl_.client_contexts_), _Internal::kHasBitsOffset + 1, 2, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
    }},
    {{
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::sync_pb::GetUpdatesCallerInfo>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::sync_pb::GetUpdatesCallerInfo_globals_},
        #endif
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::sync_pb::DataTypeProgressMarker>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::sync_pb::DataTypeProgressMarker_globals_},
        #endif
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::sync_pb::DataTypeContext>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::sync_pb::DataTypeContext_globals_},
        #endif
        {::_pbi::FieldAuxEnumData{}, ::sync_pb::SyncEnums_GetUpdatesOrigin_internal_data_},
    }},
    {{
    }},
  };
}


inline constexpr GetUpdatesMessage::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        from_progress_marker_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::sync_pb::GetUpdatesMessage,
            PROTOBUF_FIELD_OFFSET(::sync_pb::GetUpdatesMessage, _impl_.from_progress_marker_)>()
         }
        ,
        client_contexts_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::sync_pb::GetUpdatesMessage,
            PROTOBUF_FIELD_OFFSET(::sync_pb::GetUpdatesMessage, _impl_.client_contexts_)>()
         }
        ,
        caller_info_{nullptr},
        streaming_{false},
        need_encryption_key_{false},
        is_retry_{false},
        get_updates_origin_{static_cast< ::sync_pb::SyncEnums_GetUpdatesOrigin >(0)},
        fetch_folders_{true} {}

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

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

constexpr CommitResponse::ParseTableT_ CommitResponse::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(CommitResponse, _impl_._has_bits_),
      0, // no _extensions_
      1, 0,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967294,  // skipmap
      offsetof(ParseTableT_, field_entries),
      1,  // num_field_entries
      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::CommitResponse>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      // repeated group EntryResponse = 1 { ... };
      {::_pbi::TcParser::FastGtR1,
       {11, 0, 0,
        PROTOBUF_FIELD_OFFSET(CommitResponse, _impl_.entryresponse_)}},
    }}, {{
      65535, 65535
    }}, {{
      // repeated group EntryResponse = 1 { ... };
      {PROTOBUF_FIELD_OFFSET(CommitResponse, _impl_.entryresponse_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kRepGroup | ::_fl::kTvTable)},
    }},
    {{
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::sync_pb::CommitResponse_EntryResponse>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::sync_pb::CommitResponse_EntryResponse_globals_},
        #endif
    }},
    {{
    }},
  };
}


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

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

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

constexpr GetUpdatesResponse::ParseTableT_ GetUpdatesResponse::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(GetUpdatesResponse, _impl_._has_bits_),
      0, // no _extensions_
      7, 56,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967174,  // skipmap
      offsetof(ParseTableT_, field_entries),
      5,  // num_field_entries
      3,  // 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::GetUpdatesResponse>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      {::_pbi::TcParser::MiniParse, {}},
      // repeated .sync_pb.SyncEntity entries = 1;
      {::_pbi::TcParser::FastMtR1,
       {10, 0, 0,
        PROTOBUF_FIELD_OFFSET(GetUpdatesResponse, _impl_.entries_)}},
      {::_pbi::TcParser::MiniParse, {}},
      {::_pbi::TcParser::MiniParse, {}},
      // optional int64 changes_remaining = 4;
      {::_pbi::TcParser::FastV64S1,
       {32, 4, 0,
        PROTOBUF_FIELD_OFFSET(GetUpdatesResponse, _impl_.changes_remaining_)}},
      // repeated .sync_pb.DataTypeProgressMarker new_progress_marker = 5;
      {::_pbi::TcParser::FastMtR1,
       {42, 1, 1,
        PROTOBUF_FIELD_OFFSET(GetUpdatesResponse, _impl_.new_progress_marker_)}},
      // repeated bytes encryption_keys = 6;
      {::_pbi::TcParser::FastBR1,
       {50, 2, 0,
        PROTOBUF_FIELD_OFFSET(GetUpdatesResponse, _impl_.encryption_keys_)}},
      // repeated .sync_pb.DataTypeContext context_mutations = 7;
      {::_pbi::TcParser::FastMtR1,
       {58, 3, 2,
        PROTOBUF_FIELD_OFFSET(GetUpdatesResponse, _impl_.context_mutations_)}},
    }}, {{
      65535, 65535
    }}, {{
      // repeated .sync_pb.SyncEntity entries = 1;
      {PROTOBUF_FIELD_OFFSET(GetUpdatesResponse, _impl_.entries_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
      // optional int64 changes_remaining = 4;
      {PROTOBUF_FIELD_OFFSET(GetUpdatesResponse, _impl_.changes_remaining_), _Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
      // repeated .sync_pb.DataTypeProgressMarker new_progress_marker = 5;
      {PROTOBUF_FIELD_OFFSET(GetUpdatesResponse, _impl_.new_progress_marker_), _Internal::kHasBitsOffset + 1, 1, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
      // repeated bytes encryption_keys = 6;
      {PROTOBUF_FIELD_OFFSET(GetUpdatesResponse, _impl_.encryption_keys_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcRepeated | ::_fl::kBytes | ::_fl::kRepSString)},
      // repeated .sync_pb.DataTypeContext context_mutations = 7;
      {PROTOBUF_FIELD_OFFSET(GetUpdatesResponse, _impl_.context_mutations_), _Internal::kHasBitsOffset + 3, 2, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
    }},
    {{
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::sync_pb::SyncEntity>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::sync_pb::SyncEntity_globals_},
        #endif
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::sync_pb::DataTypeProgressMarker>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::sync_pb::DataTypeProgressMarker_globals_},
        #endif
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::sync_pb::DataTypeContext>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::sync_pb::DataTypeContext_globals_},
        #endif
    }},
    {{
    }},
  };
}


inline constexpr GetUpdatesResponse::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        entries_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::sync_pb::GetUpdatesResponse,
            PROTOBUF_FIELD_OFFSET(::sync_pb::GetUpdatesResponse, _impl_.entries_)>()
         }
        ,
        new_progress_marker_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::sync_pb::GetUpdatesResponse,
            PROTOBUF_FIELD_OFFSET(::sync_pb::GetUpdatesResponse, _impl_.new_progress_marker_)>()
         }
        ,
        encryption_keys_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::sync_pb::GetUpdatesResponse,
            PROTOBUF_FIELD_OFFSET(::sync_pb::GetUpdatesResponse, _impl_.encryption_keys_)>()
         }
        ,
        context_mutations_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::sync_pb::GetUpdatesResponse,
            PROTOBUF_FIELD_OFFSET(::sync_pb::GetUpdatesResponse, _impl_.context_mutations_)>()
         }
        ,
        changes_remaining_{::int64_t{0}} {}

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

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

constexpr CommitMessage::ParseTableT_ CommitMessage::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(CommitMessage, _impl_._has_bits_),
      0, // no _extensions_
      6, 56,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967232,  // skipmap
      offsetof(ParseTableT_, field_entries),
      6,  // num_field_entries
      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<::sync_pb::CommitMessage>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      {::_pbi::TcParser::MiniParse, {}},
      // repeated .sync_pb.SyncEntity entries = 1;
      {::_pbi::TcParser::FastMtR1,
       {10, 0, 0,
        PROTOBUF_FIELD_OFFSET(CommitMessage, _impl_.entries_)}},
      // optional string cache_guid = 2;
      {::_pbi::TcParser::FastBS1,
       {18, 3, 0,
        PROTOBUF_FIELD_OFFSET(CommitMessage, _impl_.cache_guid_)}},
      // repeated .sync_pb.ChromiumExtensionsActivity extensions_activity = 3;
      {::_pbi::TcParser::FastMtR1,
       {26, 1, 1,
        PROTOBUF_FIELD_OFFSET(CommitMessage, _impl_.extensions_activity_)}},
      // optional .sync_pb.ClientConfigParams config_params = 4;
      {::_pbi::TcParser::FastMtS1,
       {34, 5, 2,
        PROTOBUF_FIELD_OFFSET(CommitMessage, _impl_.config_params_)}},
      // repeated .sync_pb.DataTypeContext client_contexts = 5;
      {::_pbi::TcParser::FastMtR1,
       {42, 2, 3,
        PROTOBUF_FIELD_OFFSET(CommitMessage, _impl_.client_contexts_)}},
      // optional string padding = 6;
      {::_pbi::TcParser::FastBS1,
       {50, 4, 0,
        PROTOBUF_FIELD_OFFSET(CommitMessage, _impl_.padding_)}},
      {::_pbi::TcParser::MiniParse, {}},
    }}, {{
      65535, 65535
    }}, {{
      // repeated .sync_pb.SyncEntity entries = 1;
      {PROTOBUF_FIELD_OFFSET(CommitMessage, _impl_.entries_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
      // optional string cache_guid = 2;
      {PROTOBUF_FIELD_OFFSET(CommitMessage, _impl_.cache_guid_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // repeated .sync_pb.ChromiumExtensionsActivity extensions_activity = 3;
      {PROTOBUF_FIELD_OFFSET(CommitMessage, _impl_.extensions_activity_), _Internal::kHasBitsOffset + 1, 1, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
      // optional .sync_pb.ClientConfigParams config_params = 4;
      {PROTOBUF_FIELD_OFFSET(CommitMessage, _impl_.config_params_), _Internal::kHasBitsOffset + 5, 2, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
      // repeated .sync_pb.DataTypeContext client_contexts = 5;
      {PROTOBUF_FIELD_OFFSET(CommitMessage, _impl_.client_contexts_), _Internal::kHasBitsOffset + 2, 3, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
      // optional string padding = 6;
      {PROTOBUF_FIELD_OFFSET(CommitMessage, _impl_.padding_), _Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
    }},
    {{
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::sync_pb::SyncEntity>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::sync_pb::SyncEntity_globals_},
        #endif
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::sync_pb::ChromiumExtensionsActivity>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::sync_pb::ChromiumExtensionsActivity_globals_},
        #endif
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::sync_pb::ClientConfigParams>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::sync_pb::ClientConfigParams_globals_},
        #endif
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::sync_pb::DataTypeContext>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::sync_pb::DataTypeContext_globals_},
        #endif
    }},
    {{
    }},
  };
}


inline constexpr CommitMessage::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        entries_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::sync_pb::CommitMessage,
            PROTOBUF_FIELD_OFFSET(::sync_pb::CommitMessage, _impl_.entries_)>()
         }
        ,
        extensions_activity_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::sync_pb::CommitMessage,
            PROTOBUF_FIELD_OFFSET(::sync_pb::CommitMessage, _impl_.extensions_activity_)>()
         }
        ,
        client_contexts_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::sync_pb::CommitMessage,
            PROTOBUF_FIELD_OFFSET(::sync_pb::CommitMessage, _impl_.client_contexts_)>()
         }
        ,
        cache_guid_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        padding_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        config_params_{nullptr} {}

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

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

constexpr ClientToServerResponse::ParseTableT_ ClientToServerResponse::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(ClientToServerResponse, _impl_._has_bits_),
      0, // no _extensions_
      15, 120,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294936452,  // skipmap
      offsetof(ParseTableT_, field_entries),
      10,  // num_field_entries
      7,  // 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::ClientToServerResponse>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      {::_pbi::TcParser::MiniParse, {}},
      // optional .sync_pb.CommitResponse commit = 1;
      {::_pbi::TcParser::FastMtS1,
       {10, 3, 0,
        PROTOBUF_FIELD_OFFSET(ClientToServerResponse, _impl_.commit_)}},
      // optional .sync_pb.GetUpdatesResponse get_updates = 2;
      {::_pbi::TcParser::FastMtS1,
       {18, 4, 1,
        PROTOBUF_FIELD_OFFSET(ClientToServerResponse, _impl_.get_updates_)}},
      {::_pbi::TcParser::MiniParse, {}},
      // optional .sync_pb.SyncEnums.ErrorType error_code = 4 [default = UNKNOWN];
      {::_pbi::TcParser::FastEvS1,
       {32, 9, 6,
        PROTOBUF_FIELD_OFFSET(ClientToServerResponse, _impl_.error_code_)}},
      // optional string error_message = 5;
      {::_pbi::TcParser::FastBS1,
       {42, 1, 0,
        PROTOBUF_FIELD_OFFSET(ClientToServerResponse, _impl_.error_message_)}},
      // optional string store_birthday = 6;
      {::_pbi::TcParser::FastBS1,
       {50, 2, 0,
        PROTOBUF_FIELD_OFFSET(ClientToServerResponse, _impl_.store_birthday_)}},
      // optional .sync_pb.ClientCommand client_command = 7;
      {::_pbi::TcParser::FastMtS1,
       {58, 5, 2,
        PROTOBUF_FIELD_OFFSET(ClientToServerResponse, _impl_.client_command_)}},
      {::_pbi::TcParser::MiniParse, {}},
      {::_pbi::TcParser::MiniParse, {}},
      {::_pbi::TcParser::MiniParse, {}},
      {::_pbi::TcParser::MiniParse, {}},
      // repeated int32 migrated_data_type_id = 12;
      {::_pbi::TcParser::FastV32R1,
       {96, 0, 0,
        PROTOBUF_FIELD_OFFSET(ClientToServerResponse, _impl_.migrated_data_type_id_)}},
      // optional .sync_pb.ClientToServerResponse.Error error = 13;
      {::_pbi::TcParser::FastMtS1,
       {106, 6, 3,
        PROTOBUF_FIELD_OFFSET(ClientToServerResponse, _impl_.error_)}},
      // optional .sync_pb.ChipBag new_bag_of_chips = 14;
      {::_pbi::TcParser::FastMtS1,
       {114, 7, 4,
        PROTOBUF_FIELD_OFFSET(ClientToServerResponse, _impl_.new_bag_of_chips_)}},
      // optional .sync_pb.ClearServerDataResponse clear_server_data = 15;
      {::_pbi::TcParser::FastMtS1,
       {122, 8, 5,
        PROTOBUF_FIELD_OFFSET(ClientToServerResponse, _impl_.clear_server_data_)}},
    }}, {{
      65535, 65535
    }}, {{
      // optional .sync_pb.CommitResponse commit = 1;
      {PROTOBUF_FIELD_OFFSET(ClientToServerResponse, _impl_.commit_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
      // optional .sync_pb.GetUpdatesResponse get_updates = 2;
      {PROTOBUF_FIELD_OFFSET(ClientToServerResponse, _impl_.get_updates_), _Internal::kHasBitsOffset + 4, 1, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
      // optional .sync_pb.SyncEnums.ErrorType error_code = 4 [default = UNKNOWN];
      {PROTOBUF_FIELD_OFFSET(ClientToServerResponse, _impl_.error_code_), _Internal::kHasBitsOffset + 9, 6, (0 | ::_fl::kFcOptional | ::_fl::kEnum)},
      // optional string error_message = 5;
      {PROTOBUF_FIELD_OFFSET(ClientToServerResponse, _impl_.error_message_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional string store_birthday = 6;
      {PROTOBUF_FIELD_OFFSET(ClientToServerResponse, _impl_.store_birthday_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional .sync_pb.ClientCommand client_command = 7;
      {PROTOBUF_FIELD_OFFSET(ClientToServerResponse, _impl_.client_command_), _Internal::kHasBitsOffset + 5, 2, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
      // repeated int32 migrated_data_type_id = 12;
      {PROTOBUF_FIELD_OFFSET(ClientToServerResponse, _impl_.migrated_data_type_id_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kInt32)},
      // optional .sync_pb.ClientToServerResponse.Error error = 13;
      {PROTOBUF_FIELD_OFFSET(ClientToServerResponse, _impl_.error_), _Internal::kHasBitsOffset + 6, 3, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
      // optional .sync_pb.ChipBag new_bag_of_chips = 14;
      {PROTOBUF_FIELD_OFFSET(ClientToServerResponse, _impl_.new_bag_of_chips_), _Internal::kHasBitsOffset + 7, 4, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
      // optional .sync_pb.ClearServerDataResponse clear_server_data = 15;
      {PROTOBUF_FIELD_OFFSET(ClientToServerResponse, _impl_.clear_server_data_), _Internal::kHasBitsOffset + 8, 5, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
    }},
    {{
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::sync_pb::CommitResponse>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::sync_pb::CommitResponse_globals_},
        #endif
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::sync_pb::GetUpdatesResponse>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::sync_pb::GetUpdatesResponse_globals_},
        #endif
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::sync_pb::ClientCommand>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::sync_pb::ClientCommand_globals_},
        #endif
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::sync_pb::ClientToServerResponse_Error>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::sync_pb::ClientToServerResponse_Error_globals_},
        #endif
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::sync_pb::ChipBag>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::sync_pb::ChipBag_globals_},
        #endif
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::sync_pb::ClearServerDataResponse>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::sync_pb::ClearServerDataResponse_globals_},
        #endif
        {::_pbi::FieldAuxEnumData{}, ::sync_pb::SyncEnums_ErrorType_internal_data_},
    }},
    {{
    }},
  };
}


inline constexpr ClientToServerResponse::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        migrated_data_type_id_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::sync_pb::ClientToServerResponse,
            PROTOBUF_FIELD_OFFSET(::sync_pb::ClientToServerResponse, _impl_.migrated_data_type_id_)>()
         }
        ,
        error_message_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        store_birthday_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        commit_{nullptr},
        get_updates_{nullptr},
        client_command_{nullptr},
        error_{nullptr},
        new_bag_of_chips_{nullptr},
        clear_server_data_{nullptr},
        error_code_{static_cast< ::sync_pb::SyncEnums_ErrorType >(100)} {}

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

PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PROTOBUF_MESSAGE_GLOBALS_CONST ClientToServerResponseGlobalsTypeInternal ClientToServerResponse_globals_
        PROTOBUF_MESSAGE_GLOBALS_SECTION(.data.rel.ro);
#if defined(PROTOBUF_CUSTOM_VTABLE)
namespace {
const ::_pbi::ClassData* ClientToServerResponse_get_class_data() {
#ifdef PROTOBUF_MESSAGE_GLOBALS
  return ClientToServerResponse_globals_.GetClassData();
#else
  return ClientToServerResponse_class_data_.base();
#endif  // PROTOBUF_MESSAGE_GLOBALS
}
}  // namespace
#endif  // PROTOBUF_CUSTOM_VTABLE
class ClientToServerMessage::_Internal {
 public:
  using HasBits = decltype(::std::declval<ClientToServerMessage>()._impl_._has_bits_);
  static constexpr ::int32_t kHasBitsOffset =
      8 * PROTOBUF_FIELD_OFFSET(ClientToServerMessage, _impl_._has_bits_);
  static bool MissingRequiredFields(const HasBits& has_bits) {
    return ((has_bits[0] & 0x00000801) ^ 0x00000801) != 0;
  }
};

constexpr ClientToServerMessage::ParseTableT_ ClientToServerMessage::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(ClientToServerMessage, _impl_._has_bits_),
      0, // no _extensions_
      15, 120,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294934944,  // skipmap
      offsetof(ParseTableT_, field_entries),
      12,  // num_field_entries
      7,  // 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::ClientToServerMessage>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      {::_pbi::TcParser::MiniParse, {}},
      // required string share = 1;
      {::_pbi::TcParser::FastBS1,
       {10, 0, 0,
        PROTOBUF_FIELD_OFFSET(ClientToServerMessage, _impl_.share_)}},
      // optional int32 protocol_version = 2 [default = 99];
      {::_pbi::TcParser::FastV32S1,
       {16, 10, 0,
        PROTOBUF_FIELD_OFFSET(ClientToServerMessage, _impl_.protocol_version_)}},
      // required .sync_pb.ClientToServerMessage.Contents message_contents = 3;
      {::_pbi::TcParser::FastEr1S1,
       {24, 11, 5,
        PROTOBUF_FIELD_OFFSET(ClientToServerMessage, _impl_.message_contents_)}},
      // optional .sync_pb.CommitMessage commit = 4;
      {::_pbi::TcParser::FastMtS1,
       {34, 4, 0,
        PROTOBUF_FIELD_OFFSET(ClientToServerMessage, _impl_.commit_)}},
      // optional .sync_pb.GetUpdatesMessage get_updates = 5;
      {::_pbi::TcParser::FastMtS1,
       {42, 5, 1,
        PROTOBUF_FIELD_OFFSET(ClientToServerMessage, _impl_.get_updates_)}},
      {::_pbi::TcParser::MiniParse, {}},
      // optional string store_birthday = 7;
      {::_pbi::TcParser::FastBS1,
       {58, 1, 0,
        PROTOBUF_FIELD_OFFSET(ClientToServerMessage, _impl_.store_birthday_)}},
      {::_pbi::TcParser::MiniParse, {}},
      {::_pbi::TcParser::MiniParse, {}},
      // optional .sync_pb.DebugInfo debug_info = 10;
      {::_pbi::TcParser::FastMtS1,
       {82, 6, 2,
        PROTOBUF_FIELD_OFFSET(ClientToServerMessage, _impl_.debug_info_)}},
      // optional .sync_pb.ChipBag bag_of_chips = 11;
      {::_pbi::TcParser::FastMtS1,
       {90, 7, 3,
        PROTOBUF_FIELD_OFFSET(ClientToServerMessage, _impl_.bag_of_chips_)}},
      // optional string api_key = 12;
      {::_pbi::TcParser::FastBS1,
       {98, 2, 0,
        PROTOBUF_FIELD_OFFSET(ClientToServerMessage, _impl_.api_key_)}},
      // optional .sync_pb.ClientStatus client_status = 13;
      {::_pbi::TcParser::FastMtS1,
       {106, 8, 4,
        PROTOBUF_FIELD_OFFSET(ClientToServerMessage, _impl_.client_status_)}},
      // optional string invalidator_client_id = 14 [deprecated = true];
      {::_pbi::TcParser::FastBS1,
       {114, 3, 0,
        PROTOBUF_FIELD_OFFSET(ClientToServerMessage, _impl_.invalidator_client_id_)}},
      // optional .sync_pb.ClearServerDataMessage clear_server_data = 15;
      {::_pbi::TcParser::FastMtS1,
       {122, 9, 5,
        PROTOBUF_FIELD_OFFSET(ClientToServerMessage, _impl_.clear_server_data_)}},
    }}, {{
      65535, 65535
    }}, {{
      // required string share = 1;
      {PROTOBUF_FIELD_OFFSET(ClientToServerMessage, _impl_.share_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional int32 protocol_version = 2 [default = 99];
      {PROTOBUF_FIELD_OFFSET(ClientToServerMessage, _impl_.protocol_version_), _Internal::kHasBitsOffset + 10, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
      // required .sync_pb.ClientToServerMessage.Contents message_contents = 3;
      {PROTOBUF_FIELD_OFFSET(ClientToServerMessage, _impl_.message_contents_), _Internal::kHasBitsOffset + 11, 6, (0 | ::_fl::kFcOptional | ::_fl::kEnumRange)},
      // optional .sync_pb.CommitMessage commit = 4;
      {PROTOBUF_FIELD_OFFSET(ClientToServerMessage, _impl_.commit_), _Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
      // optional .sync_pb.GetUpdatesMessage get_updates = 5;
      {PROTOBUF_FIELD_OFFSET(ClientToServerMessage, _impl_.get_updates_), _Internal::kHasBitsOffset + 5, 1, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
      // optional string store_birthday = 7;
      {PROTOBUF_FIELD_OFFSET(ClientToServerMessage, _impl_.store_birthday_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional .sync_pb.DebugInfo debug_info = 10;
      {PROTOBUF_FIELD_OFFSET(ClientToServerMessage, _impl_.debug_info_), _Internal::kHasBitsOffset + 6, 2, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
      // optional .sync_pb.ChipBag bag_of_chips = 11;
      {PROTOBUF_FIELD_OFFSET(ClientToServerMessage, _impl_.bag_of_chips_), _Internal::kHasBitsOffset + 7, 3, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
      // optional string api_key = 12;
      {PROTOBUF_FIELD_OFFSET(ClientToServerMessage, _impl_.api_key_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional .sync_pb.ClientStatus client_status = 13;
      {PROTOBUF_FIELD_OFFSET(ClientToServerMessage, _impl_.client_status_), _Internal::kHasBitsOffset + 8, 4, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
      // optional string invalidator_client_id = 14 [deprecated = true];
      {PROTOBUF_FIELD_OFFSET(ClientToServerMessage, _impl_.invalidator_client_id_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional .sync_pb.ClearServerDataMessage clear_server_data = 15;
      {PROTOBUF_FIELD_OFFSET(ClientToServerMessage, _impl_.clear_server_data_), _Internal::kHasBitsOffset + 9, 5, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
    }},
    {{
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::sync_pb::CommitMessage>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::sync_pb::CommitMessage_globals_},
        #endif
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::sync_pb::GetUpdatesMessage>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::sync_pb::GetUpdatesMessage_globals_},
        #endif
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::sync_pb::DebugInfo>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::sync_pb::DebugInfo_globals_},
        #endif
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::sync_pb::ChipBag>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::sync_pb::ChipBag_globals_},
        #endif
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::sync_pb::ClientStatus>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::sync_pb::ClientStatus_globals_},
        #endif
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::sync_pb::ClearServerDataMessage>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::sync_pb::ClearServerDataMessage_globals_},
        #endif
        {1, 5},
    }},
    {{
    }},
  };
}


inline constexpr ClientToServerMessage::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        share_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        store_birthday_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        api_key_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        invalidator_client_id_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        commit_{nullptr},
        get_updates_{nullptr},
        debug_info_{nullptr},
        bag_of_chips_{nullptr},
        client_status_{nullptr},
        clear_server_data_{nullptr},
        protocol_version_{99},
        message_contents_{static_cast< ::sync_pb::ClientToServerMessage_Contents >(1)} {}

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

PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PROTOBUF_MESSAGE_GLOBALS_CONST ClientToServerMessageGlobalsTypeInternal ClientToServerMessage_globals_
        PROTOBUF_MESSAGE_GLOBALS_SECTION(.data.rel.ro);
#if defined(PROTOBUF_CUSTOM_VTABLE)
namespace {
const ::_pbi::ClassData* ClientToServerMessage_get_class_data() {
#ifdef PROTOBUF_MESSAGE_GLOBALS
  return ClientToServerMessage_globals_.GetClassData();
#else
  return ClientToServerMessage_class_data_.base();
#endif  // PROTOBUF_MESSAGE_GLOBALS
}
}  // namespace
#endif  // PROTOBUF_CUSTOM_VTABLE
}  // namespace sync_pb
namespace sync_pb {
PROTOBUF_CONSTINIT const uint32_t ClientToServerMessage_Contents_internal_data_[] = {
    327681u, 0u, };
static const char ClientToServerMessage_Contents_names[] = {
    "CLEAR_SERVER_DATA"
    "COMMIT"
    "DEPRECATED_3"
    "DEPRECATED_4"
    "GET_UPDATES"
};

static const ::google::protobuf::internal::EnumEntry ClientToServerMessage_Contents_entries[] = {
    {{&ClientToServerMessage_Contents_names[0], 17}, 5},
    {{&ClientToServerMessage_Contents_names[17], 6}, 1},
    {{&ClientToServerMessage_Contents_names[23], 12}, 3},
    {{&ClientToServerMessage_Contents_names[35], 12}, 4},
    {{&ClientToServerMessage_Contents_names[47], 11}, 2},
};

static const int ClientToServerMessage_Contents_entries_by_number[] = {
    1,  // 1 -> COMMIT
    4,  // 2 -> GET_UPDATES
    2,  // 3 -> DEPRECATED_3
    3,  // 4 -> DEPRECATED_4
    0,  // 5 -> CLEAR_SERVER_DATA
};

bool ClientToServerMessage_Contents_Parse(::absl::string_view name,
                                  ClientToServerMessage_Contents* PROTOBUF_NONNULL value) {
  int int_value;
  bool success = ::google::protobuf::internal::LookUpEnumValue(
      ClientToServerMessage_Contents_entries, 5, name, &int_value);
  if (success) {
    *value = static_cast<ClientToServerMessage_Contents>(int_value);
  }
  return success;
}
static ::google::protobuf::internal::ExplicitlyConstructed<::std::string>
    ClientToServerMessage_Contents_strings[5] = {};

const ::std::string& ClientToServerMessage_Contents_Name(ClientToServerMessage_Contents value) {
  static const bool kDummy = ::google::protobuf::internal::InitializeEnumStrings(
      ClientToServerMessage_Contents_entries, ClientToServerMessage_Contents_entries_by_number, 5,
      ClientToServerMessage_Contents_strings);
  (void)kDummy;

  int idx = ::google::protobuf::internal::LookUpEnumName(ClientToServerMessage_Contents_entries,
                                  ClientToServerMessage_Contents_entries_by_number,
                                  5, value);
  return idx == -1 ? ::google::protobuf::internal::GetEmptyString() : ClientToServerMessage_Contents_strings[idx].get();
}
PROTOBUF_CONSTINIT const uint32_t CommitResponse_ResponseType_internal_data_[] = {
    393217u, 0u, };
static const char CommitResponse_ResponseType_names[] = {
    "CONFLICT"
    "INVALID_MESSAGE"
    "OVER_QUOTA"
    "RETRY"
    "SUCCESS"
    "TRANSIENT_ERROR"
};

static const ::google::protobuf::internal::EnumEntry CommitResponse_ResponseType_entries[] = {
    {{&CommitResponse_ResponseType_names[0], 8}, 2},
    {{&CommitResponse_ResponseType_names[8], 15}, 4},
    {{&CommitResponse_ResponseType_names[23], 10}, 5},
    {{&CommitResponse_ResponseType_names[33], 5}, 3},
    {{&CommitResponse_ResponseType_names[38], 7}, 1},
    {{&CommitResponse_ResponseType_names[45], 15}, 6},
};

static const int CommitResponse_ResponseType_entries_by_number[] = {
    4,  // 1 -> SUCCESS
    0,  // 2 -> CONFLICT
    3,  // 3 -> RETRY
    1,  // 4 -> INVALID_MESSAGE
    2,  // 5 -> OVER_QUOTA
    5,  // 6 -> TRANSIENT_ERROR
};

bool CommitResponse_ResponseType_Parse(::absl::string_view name,
                                  CommitResponse_ResponseType* PROTOBUF_NONNULL value) {
  int int_value;
  bool success = ::google::protobuf::internal::LookUpEnumValue(
      CommitResponse_ResponseType_entries, 6, name, &int_value);
  if (success) {
    *value = static_cast<CommitResponse_ResponseType>(int_value);
  }
  return success;
}
static ::google::protobuf::internal::ExplicitlyConstructed<::std::string>
    CommitResponse_ResponseType_strings[6] = {};

const ::std::string& CommitResponse_ResponseType_Name(CommitResponse_ResponseType value) {
  static const bool kDummy = ::google::protobuf::internal::InitializeEnumStrings(
      CommitResponse_ResponseType_entries, CommitResponse_ResponseType_entries_by_number, 6,
      CommitResponse_ResponseType_strings);
  (void)kDummy;

  int idx = ::google::protobuf::internal::LookUpEnumName(CommitResponse_ResponseType_entries,
                                  CommitResponse_ResponseType_entries_by_number,
                                  6, value);
  return idx == -1 ? ::google::protobuf::internal::GetEmptyString() : CommitResponse_ResponseType_strings[idx].get();
}
// ===================================================================

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

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

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

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

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

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite ChromiumExtensionsActivity_class_data_ =
    ChromiumExtensionsActivity::InternalGenerateClassData_(ChromiumExtensionsActivity_globals_._default);

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

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

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

  // optional uint32 bookmark_writes_since_last_commit = 2;
  if (CheckHasBit(cached_has_bits, 0x00000002U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
        2, this_._internal_bookmark_writes_since_last_commit(), 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.ChromiumExtensionsActivity)
  return target;
}

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

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


void ChromiumExtensionsActivity::InternalSwap(ChromiumExtensionsActivity* 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_.extension_id_, &other->_impl_.extension_id_, arena);
  swap(_impl_.bookmark_writes_since_last_commit_, other->_impl_.bookmark_writes_since_last_commit_);
}

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

ClientConfigParams::ClientConfigParams(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, ClientConfigParams_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:sync_pb.ClientConfigParams)
}
PROTOBUF_NDEBUG_INLINE ClientConfigParams::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::ClientConfigParams& from_msg)
      : _has_bits_{from._has_bits_},
        _cached_size_{0},
        enabled_type_ids_ {
          visibility, ::_pbi::InternalMetadataOffset::Build<
              ::sync_pb::ClientConfigParams,
              PROTOBUF_FIELD_OFFSET(::sync_pb::ClientConfigParams, _impl_.enabled_type_ids_)>()
          , from.enabled_type_ids_
        }
        ,
        devices_fcm_registration_tokens_ {
          visibility, ::_pbi::InternalMetadataOffset::Build<
              ::sync_pb::ClientConfigParams,
              PROTOBUF_FIELD_OFFSET(::sync_pb::ClientConfigParams, _impl_.devices_fcm_registration_tokens_)>()
          , from.devices_fcm_registration_tokens_
        }
        ,
        fcm_registration_tokens_for_interested_clients_ {
          visibility, ::_pbi::InternalMetadataOffset::Build<
              ::sync_pb::ClientConfigParams,
              PROTOBUF_FIELD_OFFSET(::sync_pb::ClientConfigParams, _impl_.fcm_registration_tokens_for_interested_clients_)>()
          , from.fcm_registration_tokens_for_interested_clients_
        }
     {}

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

#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  ClientConfigParams* 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_, tabs_datatype_enabled_),
           reinterpret_cast<const char*>(&from._impl_) +
               offsetof(Impl_, tabs_datatype_enabled_),
           offsetof(Impl_, single_client_with_old_invalidations_) -
               offsetof(Impl_, tabs_datatype_enabled_) +
               sizeof(Impl_::single_client_with_old_invalidations_));

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

inline void ClientConfigParams::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
  new (&_impl_) Impl_(internal_visibility(), arena);
  ::memset(reinterpret_cast<char*>(&_impl_) +
               offsetof(Impl_, tabs_datatype_enabled_),
           0,
           offsetof(Impl_, single_client_with_old_invalidations_) -
               offsetof(Impl_, tabs_datatype_enabled_) +
               sizeof(Impl_::single_client_with_old_invalidations_));
}
ClientConfigParams::~ClientConfigParams() {
  // @@protoc_insertion_point(destructor:sync_pb.ClientConfigParams)
  SharedDtor(*this);
}
inline void ClientConfigParams::SharedDtor(MessageLite& self) {
  ClientConfigParams& this_ = static_cast<ClientConfigParams&>(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 ClientConfigParams_class_data_ =
    ClientConfigParams::InternalGenerateClassData_(ClientConfigParams_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
ClientConfigParams::GetClassData() const {
  return ClientConfigParams_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
ClientConfigParams::GetClassData() const {
  return ClientConfigParams_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ClientConfigParams::ParseTableT_
    ClientConfigParams::_table_ =
        ClientConfigParams::InternalGenerateParseTable_(ClientConfigParams_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void ClientConfigParams::Clear() {
// @@protoc_insertion_point(message_clear_start:sync_pb.ClientConfigParams)
  ::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_.enabled_type_ids_.Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _impl_.devices_fcm_registration_tokens_.Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _impl_.fcm_registration_tokens_for_interested_clients_.Clear();
    }
  }
  if (BatchCheckHasBit(cached_has_bits, 0x000000f8U)) {
    ::memset(&_impl_.tabs_datatype_enabled_, 0, static_cast<::size_t>(
        reinterpret_cast<char*>(&_impl_.single_client_with_old_invalidations_) -
        reinterpret_cast<char*>(&_impl_.tabs_datatype_enabled_)) + sizeof(_impl_.single_client_with_old_invalidations_));
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

  cached_has_bits = this_._impl_._has_bits_[0];
  // repeated int32 enabled_type_ids = 1;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    for (int i = 0, n = this_._internal_enabled_type_ids_size(); i < n; ++i) {
      target = stream->EnsureSpace(target);
      target = ::_pbi::WireFormatLite::WriteInt32ToArray(
          1, this_._internal_enabled_type_ids().Get(i), target);
    }
  }

  // optional bool tabs_datatype_enabled = 2 [deprecated = true];
  if (CheckHasBit(cached_has_bits, 0x00000008U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteBoolToArray(
        2, this_._internal_tabs_datatype_enabled(), target);
  }

  // optional bool cookie_jar_mismatch = 3;
  if (CheckHasBit(cached_has_bits, 0x00000010U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteBoolToArray(
        3, this_._internal_cookie_jar_mismatch(), target);
  }

  // optional bool single_client = 4;
  if (CheckHasBit(cached_has_bits, 0x00000020U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteBoolToArray(
        4, this_._internal_single_client(), target);
  }

  // repeated string devices_fcm_registration_tokens = 5;
  if (CheckHasBit(cached_has_bits, 0x00000002U)) {
    for (int i = 0, n = this_._internal_devices_fcm_registration_tokens_size(); i < n; ++i) {
      const auto& s = this_._internal_devices_fcm_registration_tokens().Get(i);
      target = stream->WriteString(5, s, target);
    }
  }

  // optional bool single_client_with_standalone_invalidations = 6;
  if (CheckHasBit(cached_has_bits, 0x00000040U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteBoolToArray(
        6, this_._internal_single_client_with_standalone_invalidations(), target);
  }

  // repeated string fcm_registration_tokens_for_interested_clients = 7;
  if (CheckHasBit(cached_has_bits, 0x00000004U)) {
    for (int i = 0, n = this_._internal_fcm_registration_tokens_for_interested_clients_size(); i < n; ++i) {
      const auto& s = this_._internal_fcm_registration_tokens_for_interested_clients().Get(i);
      target = stream->WriteString(7, s, target);
    }
  }

  // optional bool single_client_with_old_invalidations = 8;
  if (CheckHasBit(cached_has_bits, 0x00000080U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteBoolToArray(
        8, this_._internal_single_client_with_old_invalidations(), 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.ClientConfigParams)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t ClientConfigParams::ByteSizeLong(const MessageLite& base) {
  const ClientConfigParams& this_ = static_cast<const ClientConfigParams&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t ClientConfigParams::ByteSizeLong() const {
  const ClientConfigParams& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:sync_pb.ClientConfigParams)
  ::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];
  total_size += ::absl::popcount(0x000000f8U & cached_has_bits) * 2;
  if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
    // repeated int32 enabled_type_ids = 1;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      ::size_t data_size = ::_pbi::WireFormatLite::Int32Size(
          this_._internal_enabled_type_ids());
      ::size_t tag_size = ::size_t{1} *
          ::_pbi::FromIntSize(this_._internal_enabled_type_ids_size());
      total_size += tag_size + data_size;
    }
    // repeated string devices_fcm_registration_tokens = 5;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size +=
          1 * ::google::protobuf::internal::FromIntSize(this_._internal_devices_fcm_registration_tokens().size());
      for (int i = 0, n = this_._internal_devices_fcm_registration_tokens().size(); i < n; ++i) {
        total_size += ::google::protobuf::internal::WireFormatLite::StringSize(
            this_._internal_devices_fcm_registration_tokens().Get(i));
      }
    }
    // repeated string fcm_registration_tokens_for_interested_clients = 7;
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      total_size +=
          1 * ::google::protobuf::internal::FromIntSize(this_._internal_fcm_registration_tokens_for_interested_clients().size());
      for (int i = 0, n = this_._internal_fcm_registration_tokens_for_interested_clients().size(); i < n; ++i) {
        total_size += ::google::protobuf::internal::WireFormatLite::StringSize(
            this_._internal_fcm_registration_tokens_for_interested_clients().Get(i));
      }
    }
  }
  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 ClientConfigParams::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<ClientConfigParams*>(&to_msg);
  auto& from = static_cast<const ClientConfigParams&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  ::google::protobuf::Arena* arena = _this->GetArena();
  // @@protoc_insertion_point(class_specific_merge_from_start:sync_pb.ClientConfigParams)
  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, 0x000000ffU)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _this->_internal_mutable_enabled_type_ids()->MergeFrom(from._internal_enabled_type_ids());
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _this->_internal_mutable_devices_fcm_registration_tokens()->InternalMergeFromWithArena(
          ::google::protobuf::MessageLite::internal_visibility(), arena,
          from._internal_devices_fcm_registration_tokens());
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _this->_internal_mutable_fcm_registration_tokens_for_interested_clients()->InternalMergeFromWithArena(
          ::google::protobuf::MessageLite::internal_visibility(), arena,
          from._internal_fcm_registration_tokens_for_interested_clients());
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      _this->_impl_.tabs_datatype_enabled_ = from._impl_.tabs_datatype_enabled_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      _this->_impl_.cookie_jar_mismatch_ = from._impl_.cookie_jar_mismatch_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000020U)) {
      _this->_impl_.single_client_ = from._impl_.single_client_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000040U)) {
      _this->_impl_.single_client_with_standalone_invalidations_ = from._impl_.single_client_with_standalone_invalidations_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000080U)) {
      _this->_impl_.single_client_with_old_invalidations_ = from._impl_.single_client_with_old_invalidations_;
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


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

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

void CommitMessage::clear_entries() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.entries_.Clear();
  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
}
void CommitMessage::clear_client_contexts() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.client_contexts_.Clear();
  ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
}
CommitMessage::CommitMessage(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, CommitMessage_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:sync_pb.CommitMessage)
}
PROTOBUF_NDEBUG_INLINE CommitMessage::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::CommitMessage& from_msg)
      : _has_bits_{from._has_bits_},
        _cached_size_{0},
        entries_ {
          visibility, ::_pbi::InternalMetadataOffset::Build<
              ::sync_pb::CommitMessage,
              PROTOBUF_FIELD_OFFSET(::sync_pb::CommitMessage, _impl_.entries_)>()
          , from.entries_
        }
        ,
        extensions_activity_ {
          visibility, ::_pbi::InternalMetadataOffset::Build<
              ::sync_pb::CommitMessage,
              PROTOBUF_FIELD_OFFSET(::sync_pb::CommitMessage, _impl_.extensions_activity_)>()
          , from.extensions_activity_
        }
        ,
        client_contexts_ {
          visibility, ::_pbi::InternalMetadataOffset::Build<
              ::sync_pb::CommitMessage,
              PROTOBUF_FIELD_OFFSET(::sync_pb::CommitMessage, _impl_.client_contexts_)>()
          , from.client_contexts_
        }
        ,
        cache_guid_(arena, from.cache_guid_),
        padding_(arena, from.padding_) {}

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

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

  // @@protoc_insertion_point(copy_constructor:sync_pb.CommitMessage)
}
PROTOBUF_NDEBUG_INLINE CommitMessage::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0},
        entries_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::sync_pb::CommitMessage,
            PROTOBUF_FIELD_OFFSET(::sync_pb::CommitMessage, _impl_.entries_)>()
         }
        ,
        extensions_activity_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::sync_pb::CommitMessage,
            PROTOBUF_FIELD_OFFSET(::sync_pb::CommitMessage, _impl_.extensions_activity_)>()
         }
        ,
        client_contexts_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::sync_pb::CommitMessage,
            PROTOBUF_FIELD_OFFSET(::sync_pb::CommitMessage, _impl_.client_contexts_)>()
         }
        ,
        cache_guid_(arena),
        padding_(arena) {}

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

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite CommitMessage_class_data_ =
    CommitMessage::InternalGenerateClassData_(CommitMessage_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
CommitMessage::GetClassData() const {
  return CommitMessage_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
CommitMessage::GetClassData() const {
  return CommitMessage_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const CommitMessage::ParseTableT_
    CommitMessage::_table_ =
        CommitMessage::InternalGenerateParseTable_(CommitMessage_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void CommitMessage::Clear() {
// @@protoc_insertion_point(message_clear_start:sync_pb.CommitMessage)
  ::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, 0x0000003fU)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _impl_.entries_.Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _impl_.extensions_activity_.Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _impl_.client_contexts_.Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      _impl_.cache_guid_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      _impl_.padding_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000020U)) {
      ABSL_DCHECK(_impl_.config_params_ != nullptr);
      _impl_.config_params_->Clear();
    }
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

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

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

  // repeated .sync_pb.ChromiumExtensionsActivity extensions_activity = 3;
  if (CheckHasBit(cached_has_bits, 0x00000002U)) {
    for (unsigned i = 0, n = static_cast<unsigned>(
                             this_._internal_extensions_activity_size());
         i < n; i++) {
      const auto& repfield = this_._internal_extensions_activity().Get(i);
      target =
          ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
              3, repfield, repfield.GetCachedSize(),
              target, stream);
    }
  }

  // optional .sync_pb.ClientConfigParams config_params = 4;
  if (CheckHasBit(cached_has_bits, 0x00000020U)) {
    target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
        4, *this_._impl_.config_params_, this_._impl_.config_params_->GetCachedSize(), target,
        stream);
  }

  // repeated .sync_pb.DataTypeContext client_contexts = 5;
  if (CheckHasBit(cached_has_bits, 0x00000004U)) {
    for (unsigned i = 0, n = static_cast<unsigned>(
                             this_._internal_client_contexts_size());
         i < n; i++) {
      const auto& repfield = this_._internal_client_contexts().Get(i);
      target =
          ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
              5, repfield, repfield.GetCachedSize(),
              target, stream);
    }
  }

  // optional string padding = 6;
  if (CheckHasBit(cached_has_bits, 0x00000010U)) {
    const ::std::string& _s = this_._internal_padding();
    target = stream->WriteStringMaybeAliased(6, _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.CommitMessage)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t CommitMessage::ByteSizeLong(const MessageLite& base) {
  const CommitMessage& this_ = static_cast<const CommitMessage&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t CommitMessage::ByteSizeLong() const {
  const CommitMessage& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:sync_pb.CommitMessage)
  ::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, 0x0000003fU)) {
    // repeated .sync_pb.SyncEntity entries = 1;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1UL * this_._internal_entries_size();
      for (const auto& msg : this_._internal_entries()) {
        total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
      }
    }
    // repeated .sync_pb.ChromiumExtensionsActivity extensions_activity = 3;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += 1UL * this_._internal_extensions_activity_size();
      for (const auto& msg : this_._internal_extensions_activity()) {
        total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
      }
    }
    // repeated .sync_pb.DataTypeContext client_contexts = 5;
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      total_size += 1UL * this_._internal_client_contexts_size();
      for (const auto& msg : this_._internal_client_contexts()) {
        total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
      }
    }
    // optional string cache_guid = 2;
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_cache_guid());
    }
    // optional string padding = 6;
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_padding());
    }
    // optional .sync_pb.ClientConfigParams config_params = 4;
    if (CheckHasBit(cached_has_bits, 0x00000020U)) {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.config_params_);
    }
  }
  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 CommitMessage::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<CommitMessage*>(&to_msg);
  auto& from = static_cast<const CommitMessage&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  ::google::protobuf::Arena* arena = _this->GetArena();
  // @@protoc_insertion_point(class_specific_merge_from_start:sync_pb.CommitMessage)
  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, 0x0000003fU)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _this->_internal_mutable_entries()->InternalMergeFromWithArena(
          ::google::protobuf::MessageLite::internal_visibility(), arena,
          from._internal_entries());
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _this->_internal_mutable_extensions_activity()->InternalMergeFromWithArena(
          ::google::protobuf::MessageLite::internal_visibility(), arena,
          from._internal_extensions_activity());
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _this->_internal_mutable_client_contexts()->InternalMergeFromWithArena(
          ::google::protobuf::MessageLite::internal_visibility(), arena,
          from._internal_client_contexts());
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      _this->_internal_set_cache_guid(from._internal_cache_guid());
    }
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      _this->_internal_set_padding(from._internal_padding());
    }
    if (CheckHasBit(cached_has_bits, 0x00000020U)) {
      ABSL_DCHECK(from._impl_.config_params_ != nullptr);
      if (_this->_impl_.config_params_ == nullptr) {
        _this->_impl_.config_params_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.config_params_);
      } else {
        _this->_impl_.config_params_->MergeFrom(*from._impl_.config_params_);
      }
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


void CommitMessage::InternalSwap(CommitMessage* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
  using ::std::swap;
  auto* arena = GetArena();
  ABSL_DCHECK_EQ(arena, other->GetArena());
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  _impl_.entries_.InternalSwap(&other->_impl_.entries_);
  _impl_.extensions_activity_.InternalSwap(&other->_impl_.extensions_activity_);
  _impl_.client_contexts_.InternalSwap(&other->_impl_.client_contexts_);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.cache_guid_, &other->_impl_.cache_guid_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.padding_, &other->_impl_.padding_, arena);
  swap(_impl_.config_params_, other->_impl_.config_params_);
}

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

void GetUpdatesMessage::clear_caller_info() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (_impl_.caller_info_ != nullptr) _impl_.caller_info_->Clear();
  ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
}
void GetUpdatesMessage::clear_from_progress_marker() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.from_progress_marker_.Clear();
  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
}
void GetUpdatesMessage::clear_client_contexts() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.client_contexts_.Clear();
  ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
}
GetUpdatesMessage::GetUpdatesMessage(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, GetUpdatesMessage_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:sync_pb.GetUpdatesMessage)
}
PROTOBUF_NDEBUG_INLINE GetUpdatesMessage::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::GetUpdatesMessage& from_msg)
      : _has_bits_{from._has_bits_},
        _cached_size_{0},
        from_progress_marker_ {
          visibility, ::_pbi::InternalMetadataOffset::Build<
              ::sync_pb::GetUpdatesMessage,
              PROTOBUF_FIELD_OFFSET(::sync_pb::GetUpdatesMessage, _impl_.from_progress_marker_)>()
          , from.from_progress_marker_
        }
        ,
        client_contexts_ {
          visibility, ::_pbi::InternalMetadataOffset::Build<
              ::sync_pb::GetUpdatesMessage,
              PROTOBUF_FIELD_OFFSET(::sync_pb::GetUpdatesMessage, _impl_.client_contexts_)>()
          , from.client_contexts_
        }
     {}

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

#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  GetUpdatesMessage* 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_.caller_info_ = (CheckHasBit(cached_has_bits, 0x00000004U))
                ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.caller_info_)
                : nullptr;
  ::memcpy(reinterpret_cast<char*>(&_impl_) +
               offsetof(Impl_, streaming_),
           reinterpret_cast<const char*>(&from._impl_) +
               offsetof(Impl_, streaming_),
           offsetof(Impl_, fetch_folders_) -
               offsetof(Impl_, streaming_) +
               sizeof(Impl_::fetch_folders_));

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

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

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite GetUpdatesMessage_class_data_ =
    GetUpdatesMessage::InternalGenerateClassData_(GetUpdatesMessage_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
GetUpdatesMessage::GetClassData() const {
  return GetUpdatesMessage_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
GetUpdatesMessage::GetClassData() const {
  return GetUpdatesMessage_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const GetUpdatesMessage::ParseTableT_
    GetUpdatesMessage::_table_ =
        GetUpdatesMessage::InternalGenerateParseTable_(GetUpdatesMessage_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void GetUpdatesMessage::Clear() {
// @@protoc_insertion_point(message_clear_start:sync_pb.GetUpdatesMessage)
  ::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_.from_progress_marker_.Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _impl_.client_contexts_.Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      ABSL_DCHECK(_impl_.caller_info_ != nullptr);
      _impl_.caller_info_->Clear();
    }
  }
  if (BatchCheckHasBit(cached_has_bits, 0x000000f8U)) {
    ::memset(&_impl_.streaming_, 0, static_cast<::size_t>(
        reinterpret_cast<char*>(&_impl_.get_updates_origin_) -
        reinterpret_cast<char*>(&_impl_.streaming_)) + sizeof(_impl_.get_updates_origin_));
    _impl_.fetch_folders_ = true;
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

  cached_has_bits = this_._impl_._has_bits_[0];
  // optional .sync_pb.GetUpdatesCallerInfo caller_info = 2;
  if (CheckHasBit(cached_has_bits, 0x00000004U)) {
    target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
        2, *this_._impl_.caller_info_, this_._impl_.caller_info_->GetCachedSize(), target,
        stream);
  }

  // optional bool fetch_folders = 3 [default = true];
  if (CheckHasBit(cached_has_bits, 0x00000080U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteBoolToArray(
        3, this_._internal_fetch_folders(), target);
  }

  // repeated .sync_pb.DataTypeProgressMarker from_progress_marker = 6;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    for (unsigned i = 0, n = static_cast<unsigned>(
                             this_._internal_from_progress_marker_size());
         i < n; i++) {
      const auto& repfield = this_._internal_from_progress_marker().Get(i);
      target =
          ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
              6, repfield, repfield.GetCachedSize(),
              target, stream);
    }
  }

  // optional bool streaming = 7 [default = false];
  if (CheckHasBit(cached_has_bits, 0x00000008U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteBoolToArray(
        7, this_._internal_streaming(), target);
  }

  // optional bool need_encryption_key = 8 [default = false];
  if (CheckHasBit(cached_has_bits, 0x00000010U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteBoolToArray(
        8, this_._internal_need_encryption_key(), target);
  }

  // optional .sync_pb.SyncEnums.GetUpdatesOrigin get_updates_origin = 9;
  if (CheckHasBit(cached_has_bits, 0x00000040U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteEnumToArray(
        9, this_._internal_get_updates_origin(), target);
  }

  // optional bool is_retry = 10 [default = false];
  if (CheckHasBit(cached_has_bits, 0x00000020U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteBoolToArray(
        10, this_._internal_is_retry(), target);
  }

  // repeated .sync_pb.DataTypeContext client_contexts = 11;
  if (CheckHasBit(cached_has_bits, 0x00000002U)) {
    for (unsigned i = 0, n = static_cast<unsigned>(
                             this_._internal_client_contexts_size());
         i < n; i++) {
      const auto& repfield = this_._internal_client_contexts().Get(i);
      target =
          ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
              11, repfield, repfield.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.GetUpdatesMessage)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t GetUpdatesMessage::ByteSizeLong(const MessageLite& base) {
  const GetUpdatesMessage& this_ = static_cast<const GetUpdatesMessage&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t GetUpdatesMessage::ByteSizeLong() const {
  const GetUpdatesMessage& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:sync_pb.GetUpdatesMessage)
  ::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];
  total_size += ::absl::popcount(0x000000b8U & cached_has_bits) * 2;
  if (BatchCheckHasBit(cached_has_bits, 0x00000047U)) {
    // repeated .sync_pb.DataTypeProgressMarker from_progress_marker = 6;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1UL * this_._internal_from_progress_marker_size();
      for (const auto& msg : this_._internal_from_progress_marker()) {
        total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
      }
    }
    // repeated .sync_pb.DataTypeContext client_contexts = 11;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += 1UL * this_._internal_client_contexts_size();
      for (const auto& msg : this_._internal_client_contexts()) {
        total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
      }
    }
    // optional .sync_pb.GetUpdatesCallerInfo caller_info = 2;
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.caller_info_);
    }
    // optional .sync_pb.SyncEnums.GetUpdatesOrigin get_updates_origin = 9;
    if (CheckHasBit(cached_has_bits, 0x00000040U)) {
      total_size += 1 +
                    ::_pbi::WireFormatLite::EnumSize(this_._internal_get_updates_origin());
    }
  }
  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 GetUpdatesMessage::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<GetUpdatesMessage*>(&to_msg);
  auto& from = static_cast<const GetUpdatesMessage&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  ::google::protobuf::Arena* arena = _this->GetArena();
  // @@protoc_insertion_point(class_specific_merge_from_start:sync_pb.GetUpdatesMessage)
  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, 0x000000ffU)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _this->_internal_mutable_from_progress_marker()->InternalMergeFromWithArena(
          ::google::protobuf::MessageLite::internal_visibility(), arena,
          from._internal_from_progress_marker());
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _this->_internal_mutable_client_contexts()->InternalMergeFromWithArena(
          ::google::protobuf::MessageLite::internal_visibility(), arena,
          from._internal_client_contexts());
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      ABSL_DCHECK(from._impl_.caller_info_ != nullptr);
      if (_this->_impl_.caller_info_ == nullptr) {
        _this->_impl_.caller_info_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.caller_info_);
      } else {
        _this->_impl_.caller_info_->MergeFrom(*from._impl_.caller_info_);
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      _this->_impl_.streaming_ = from._impl_.streaming_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      _this->_impl_.need_encryption_key_ = from._impl_.need_encryption_key_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000020U)) {
      _this->_impl_.is_retry_ = from._impl_.is_retry_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000040U)) {
      _this->_impl_.get_updates_origin_ = from._impl_.get_updates_origin_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000080U)) {
      _this->_impl_.fetch_folders_ = from._impl_.fetch_folders_;
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


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

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

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

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

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

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t ClearServerDataMessage::ByteSizeLong(const MessageLite& base) {
  const ClearServerDataMessage& this_ = static_cast<const ClearServerDataMessage&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t ClearServerDataMessage::ByteSizeLong() const {
  const ClearServerDataMessage& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:sync_pb.ClearServerDataMessage)
  ::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 ClearServerDataMessage::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<ClearServerDataMessage*>(&to_msg);
  auto& from = static_cast<const ClearServerDataMessage&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  // @@protoc_insertion_point(class_specific_merge_from_start:sync_pb.ClearServerDataMessage)
  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 ClearServerDataMessage::CopyFrom(const ClearServerDataMessage& from) {
  // @@protoc_insertion_point(class_specific_copy_from_start:sync_pb.ClearServerDataMessage)
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}


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

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

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

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

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

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t ClearServerDataResponse::ByteSizeLong(const MessageLite& base) {
  const ClearServerDataResponse& this_ = static_cast<const ClearServerDataResponse&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t ClearServerDataResponse::ByteSizeLong() const {
  const ClearServerDataResponse& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:sync_pb.ClearServerDataResponse)
  ::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 ClearServerDataResponse::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<ClearServerDataResponse*>(&to_msg);
  auto& from = static_cast<const ClearServerDataResponse&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  // @@protoc_insertion_point(class_specific_merge_from_start:sync_pb.ClearServerDataResponse)
  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 ClearServerDataResponse::CopyFrom(const ClearServerDataResponse& from) {
  // @@protoc_insertion_point(class_specific_copy_from_start:sync_pb.ClearServerDataResponse)
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}


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

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

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

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

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

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

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

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite ChipBag_class_data_ =
    ChipBag::InternalGenerateClassData_(ChipBag_globals_._default);

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

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

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

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

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

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

   {
    // optional bytes server_chips = 1;
    cached_has_bits = this_._impl_._has_bits_[0];
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize(
                                      this_._internal_server_chips());
    }
  }
  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 ChipBag::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<ChipBag*>(&to_msg);
  auto& from = static_cast<const ChipBag&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  // @@protoc_insertion_point(class_specific_merge_from_start:sync_pb.ChipBag)
  ABSL_DCHECK_NE(&from, _this);
  ::uint32_t cached_has_bits = 0;
  (void)cached_has_bits;

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

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


void ChipBag::InternalSwap(ChipBag* 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_.server_chips_, &other->_impl_.server_chips_, arena);
}

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

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

inline void ClientStatus::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
  new (&_impl_) Impl_(internal_visibility(), arena);
  ::memset(reinterpret_cast<char*>(&_impl_) +
               offsetof(Impl_, hierarchy_conflict_detected_),
           0,
           offsetof(Impl_, is_sync_feature_enabled_) -
               offsetof(Impl_, hierarchy_conflict_detected_) +
               sizeof(Impl_::is_sync_feature_enabled_));
}
ClientStatus::~ClientStatus() {
  // @@protoc_insertion_point(destructor:sync_pb.ClientStatus)
  SharedDtor(*this);
}
inline void ClientStatus::SharedDtor(MessageLite& self) {
  ClientStatus& this_ = static_cast<ClientStatus&>(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 ClientStatus_class_data_ =
    ClientStatus::InternalGenerateClassData_(ClientStatus_globals_._default);

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

  ::memset(&_impl_.hierarchy_conflict_detected_, 0, static_cast<::size_t>(
      reinterpret_cast<char*>(&_impl_.is_sync_feature_enabled_) -
      reinterpret_cast<char*>(&_impl_.hierarchy_conflict_detected_)) + sizeof(_impl_.is_sync_feature_enabled_));
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

  cached_has_bits = this_._impl_._has_bits_[0];
  // optional bool hierarchy_conflict_detected = 1 [deprecated = true];
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteBoolToArray(
        1, this_._internal_hierarchy_conflict_detected(), target);
  }

  // optional bool is_sync_feature_enabled = 2;
  if (CheckHasBit(cached_has_bits, 0x00000002U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteBoolToArray(
        2, this_._internal_is_sync_feature_enabled(), 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.ClientStatus)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t ClientStatus::ByteSizeLong(const MessageLite& base) {
  const ClientStatus& this_ = static_cast<const ClientStatus&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t ClientStatus::ByteSizeLong() const {
  const ClientStatus& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:sync_pb.ClientStatus)
  ::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];
  total_size += ::absl::popcount(0x00000003U & cached_has_bits) * 2;
  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 ClientStatus::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<ClientStatus*>(&to_msg);
  auto& from = static_cast<const ClientStatus&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  // @@protoc_insertion_point(class_specific_merge_from_start:sync_pb.ClientStatus)
  ABSL_DCHECK_NE(&from, _this);
  ::uint32_t cached_has_bits = 0;
  (void)cached_has_bits;

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

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


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

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

void ClientToServerMessage::clear_debug_info() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (_impl_.debug_info_ != nullptr) _impl_.debug_info_->Clear();
  ClearHasBit(_impl_._has_bits_[0], 0x00000040U);
}
ClientToServerMessage::ClientToServerMessage(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, ClientToServerMessage_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:sync_pb.ClientToServerMessage)
}
PROTOBUF_NDEBUG_INLINE ClientToServerMessage::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::ClientToServerMessage& from_msg)
      : _has_bits_{from._has_bits_},
        _cached_size_{0},
        share_(arena, from.share_),
        store_birthday_(arena, from.store_birthday_),
        api_key_(arena, from.api_key_),
        invalidator_client_id_(arena, from.invalidator_client_id_) {}

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

#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  ClientToServerMessage* 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_.commit_ = (CheckHasBit(cached_has_bits, 0x00000010U))
                ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.commit_)
                : nullptr;
  _impl_.get_updates_ = (CheckHasBit(cached_has_bits, 0x00000020U))
                ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.get_updates_)
                : nullptr;
  _impl_.debug_info_ = (CheckHasBit(cached_has_bits, 0x00000040U))
                ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.debug_info_)
                : nullptr;
  _impl_.bag_of_chips_ = (CheckHasBit(cached_has_bits, 0x00000080U))
                ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.bag_of_chips_)
                : nullptr;
  _impl_.client_status_ = (CheckHasBit(cached_has_bits, 0x00000100U))
                ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.client_status_)
                : nullptr;
  _impl_.clear_server_data_ = (CheckHasBit(cached_has_bits, 0x00000200U))
                ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.clear_server_data_)
                : nullptr;
  ::memcpy(reinterpret_cast<char*>(&_impl_) +
               offsetof(Impl_, protocol_version_),
           reinterpret_cast<const char*>(&from._impl_) +
               offsetof(Impl_, protocol_version_),
           offsetof(Impl_, message_contents_) -
               offsetof(Impl_, protocol_version_) +
               sizeof(Impl_::message_contents_));

  // @@protoc_insertion_point(copy_constructor:sync_pb.ClientToServerMessage)
}
PROTOBUF_NDEBUG_INLINE ClientToServerMessage::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0},
        share_(arena),
        store_birthday_(arena),
        api_key_(arena),
        invalidator_client_id_(arena),
        protocol_version_{99},
        message_contents_{static_cast< ::sync_pb::ClientToServerMessage_Contents >(1)} {}

inline void ClientToServerMessage::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
  new (&_impl_) Impl_(internal_visibility(), arena);
  ::memset(reinterpret_cast<char*>(&_impl_) +
               offsetof(Impl_, commit_),
           0,
           offsetof(Impl_, clear_server_data_) -
               offsetof(Impl_, commit_) +
               sizeof(Impl_::clear_server_data_));
}
ClientToServerMessage::~ClientToServerMessage() {
  // @@protoc_insertion_point(destructor:sync_pb.ClientToServerMessage)
  SharedDtor(*this);
}
inline void ClientToServerMessage::SharedDtor(MessageLite& self) {
  ClientToServerMessage& this_ = static_cast<ClientToServerMessage&>(self);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    this_.CheckHasBitConsistency();
  }
  this_._internal_metadata_.Delete<::std::string>();
  ABSL_DCHECK(this_.GetArena() == nullptr);
  this_._impl_.share_.Destroy();
  this_._impl_.store_birthday_.Destroy();
  this_._impl_.api_key_.Destroy();
  this_._impl_.invalidator_client_id_.Destroy();
  delete this_._impl_.commit_;
  delete this_._impl_.get_updates_;
  delete this_._impl_.debug_info_;
  delete this_._impl_.bag_of_chips_;
  delete this_._impl_.client_status_;
  delete this_._impl_.clear_server_data_;
  this_._impl_.~Impl_();
}

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite ClientToServerMessage_class_data_ =
    ClientToServerMessage::InternalGenerateClassData_(ClientToServerMessage_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
ClientToServerMessage::GetClassData() const {
  return ClientToServerMessage_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
ClientToServerMessage::GetClassData() const {
  return ClientToServerMessage_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ClientToServerMessage::ParseTableT_
    ClientToServerMessage::_table_ =
        ClientToServerMessage::InternalGenerateParseTable_(ClientToServerMessage_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void ClientToServerMessage::Clear() {
// @@protoc_insertion_point(message_clear_start:sync_pb.ClientToServerMessage)
  ::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, 0x000000ffU)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _impl_.share_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _impl_.store_birthday_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _impl_.api_key_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      _impl_.invalidator_client_id_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      ABSL_DCHECK(_impl_.commit_ != nullptr);
      _impl_.commit_->Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000020U)) {
      ABSL_DCHECK(_impl_.get_updates_ != nullptr);
      _impl_.get_updates_->Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000040U)) {
      ABSL_DCHECK(_impl_.debug_info_ != nullptr);
      _impl_.debug_info_->Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000080U)) {
      ABSL_DCHECK(_impl_.bag_of_chips_ != nullptr);
      _impl_.bag_of_chips_->Clear();
    }
  }
  if (BatchCheckHasBit(cached_has_bits, 0x00000f00U)) {
    if (CheckHasBit(cached_has_bits, 0x00000100U)) {
      ABSL_DCHECK(_impl_.client_status_ != nullptr);
      _impl_.client_status_->Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000200U)) {
      ABSL_DCHECK(_impl_.clear_server_data_ != nullptr);
      _impl_.clear_server_data_->Clear();
    }
    _impl_.protocol_version_ = 99;
    _impl_.message_contents_ = 1;
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

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

  // optional int32 protocol_version = 2 [default = 99];
  if (CheckHasBit(cached_has_bits, 0x00000400U)) {
    target =
        ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<2>(
            stream, this_._internal_protocol_version(), target);
  }

  // required .sync_pb.ClientToServerMessage.Contents message_contents = 3;
  if (CheckHasBit(cached_has_bits, 0x00000800U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteEnumToArray(
        3, this_._internal_message_contents(), target);
  }

  // optional .sync_pb.CommitMessage commit = 4;
  if (CheckHasBit(cached_has_bits, 0x00000010U)) {
    target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
        4, *this_._impl_.commit_, this_._impl_.commit_->GetCachedSize(), target,
        stream);
  }

  // optional .sync_pb.GetUpdatesMessage get_updates = 5;
  if (CheckHasBit(cached_has_bits, 0x00000020U)) {
    target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
        5, *this_._impl_.get_updates_, this_._impl_.get_updates_->GetCachedSize(), target,
        stream);
  }

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

  // optional .sync_pb.DebugInfo debug_info = 10;
  if (CheckHasBit(cached_has_bits, 0x00000040U)) {
    target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
        10, *this_._impl_.debug_info_, this_._impl_.debug_info_->GetCachedSize(), target,
        stream);
  }

  // optional .sync_pb.ChipBag bag_of_chips = 11;
  if (CheckHasBit(cached_has_bits, 0x00000080U)) {
    target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
        11, *this_._impl_.bag_of_chips_, this_._impl_.bag_of_chips_->GetCachedSize(), target,
        stream);
  }

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

  // optional .sync_pb.ClientStatus client_status = 13;
  if (CheckHasBit(cached_has_bits, 0x00000100U)) {
    target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
        13, *this_._impl_.client_status_, this_._impl_.client_status_->GetCachedSize(), target,
        stream);
  }

  // optional string invalidator_client_id = 14 [deprecated = true];
  if (CheckHasBit(cached_has_bits, 0x00000008U)) {
    const ::std::string& _s = this_._internal_invalidator_client_id();
    target = stream->WriteStringMaybeAliased(14, _s, target);
  }

  // optional .sync_pb.ClearServerDataMessage clear_server_data = 15;
  if (CheckHasBit(cached_has_bits, 0x00000200U)) {
    target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
        15, *this_._impl_.clear_server_data_, this_._impl_.clear_server_data_->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.ClientToServerMessage)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t ClientToServerMessage::ByteSizeLong(const MessageLite& base) {
  const ClientToServerMessage& this_ = static_cast<const ClientToServerMessage&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t ClientToServerMessage::ByteSizeLong() const {
  const ClientToServerMessage& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:sync_pb.ClientToServerMessage)
  ::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_);
   {
    // required string share = 1;
    cached_has_bits = this_._impl_._has_bits_[0];
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_share());
    }
  }
  if (BatchCheckHasBit(cached_has_bits, 0x000000feU)) {
    // optional string store_birthday = 7;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_store_birthday());
    }
    // optional string api_key = 12;
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_api_key());
    }
    // optional string invalidator_client_id = 14 [deprecated = true];
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_invalidator_client_id());
    }
    // optional .sync_pb.CommitMessage commit = 4;
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.commit_);
    }
    // optional .sync_pb.GetUpdatesMessage get_updates = 5;
    if (CheckHasBit(cached_has_bits, 0x00000020U)) {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.get_updates_);
    }
    // optional .sync_pb.DebugInfo debug_info = 10;
    if (CheckHasBit(cached_has_bits, 0x00000040U)) {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.debug_info_);
    }
    // optional .sync_pb.ChipBag bag_of_chips = 11;
    if (CheckHasBit(cached_has_bits, 0x00000080U)) {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.bag_of_chips_);
    }
  }
  if (BatchCheckHasBit(cached_has_bits, 0x00000700U)) {
    // optional .sync_pb.ClientStatus client_status = 13;
    if (CheckHasBit(cached_has_bits, 0x00000100U)) {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.client_status_);
    }
    // optional .sync_pb.ClearServerDataMessage clear_server_data = 15;
    if (CheckHasBit(cached_has_bits, 0x00000200U)) {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.clear_server_data_);
    }
    // optional int32 protocol_version = 2 [default = 99];
    if (CheckHasBit(cached_has_bits, 0x00000400U)) {
      total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
          this_._internal_protocol_version());
    }
  }
   {
    // required .sync_pb.ClientToServerMessage.Contents message_contents = 3;
    if (CheckHasBit(cached_has_bits, 0x00000800U)) {
      total_size += 1 +
                    ::_pbi::WireFormatLite::EnumSize(this_._internal_message_contents());
    }
  }
  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 ClientToServerMessage::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<ClientToServerMessage*>(&to_msg);
  auto& from = static_cast<const ClientToServerMessage&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  ::google::protobuf::Arena* arena = _this->GetArena();
  // @@protoc_insertion_point(class_specific_merge_from_start:sync_pb.ClientToServerMessage)
  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, 0x000000ffU)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _this->_internal_set_share(from._internal_share());
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _this->_internal_set_store_birthday(from._internal_store_birthday());
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _this->_internal_set_api_key(from._internal_api_key());
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      _this->_internal_set_invalidator_client_id(from._internal_invalidator_client_id());
    }
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      ABSL_DCHECK(from._impl_.commit_ != nullptr);
      if (_this->_impl_.commit_ == nullptr) {
        _this->_impl_.commit_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.commit_);
      } else {
        _this->_impl_.commit_->MergeFrom(*from._impl_.commit_);
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000020U)) {
      ABSL_DCHECK(from._impl_.get_updates_ != nullptr);
      if (_this->_impl_.get_updates_ == nullptr) {
        _this->_impl_.get_updates_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.get_updates_);
      } else {
        _this->_impl_.get_updates_->MergeFrom(*from._impl_.get_updates_);
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000040U)) {
      ABSL_DCHECK(from._impl_.debug_info_ != nullptr);
      if (_this->_impl_.debug_info_ == nullptr) {
        _this->_impl_.debug_info_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.debug_info_);
      } else {
        _this->_impl_.debug_info_->MergeFrom(*from._impl_.debug_info_);
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000080U)) {
      ABSL_DCHECK(from._impl_.bag_of_chips_ != nullptr);
      if (_this->_impl_.bag_of_chips_ == nullptr) {
        _this->_impl_.bag_of_chips_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.bag_of_chips_);
      } else {
        _this->_impl_.bag_of_chips_->MergeFrom(*from._impl_.bag_of_chips_);
      }
    }
  }
  if (BatchCheckHasBit(cached_has_bits, 0x00000f00U)) {
    if (CheckHasBit(cached_has_bits, 0x00000100U)) {
      ABSL_DCHECK(from._impl_.client_status_ != nullptr);
      if (_this->_impl_.client_status_ == nullptr) {
        _this->_impl_.client_status_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.client_status_);
      } else {
        _this->_impl_.client_status_->MergeFrom(*from._impl_.client_status_);
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000200U)) {
      ABSL_DCHECK(from._impl_.clear_server_data_ != nullptr);
      if (_this->_impl_.clear_server_data_ == nullptr) {
        _this->_impl_.clear_server_data_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.clear_server_data_);
      } else {
        _this->_impl_.clear_server_data_->MergeFrom(*from._impl_.clear_server_data_);
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000400U)) {
      _this->_impl_.protocol_version_ = from._impl_.protocol_version_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000800U)) {
      _this->_impl_.message_contents_ = from._impl_.message_contents_;
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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

PROTOBUF_NOINLINE bool ClientToServerMessage::IsInitializedImpl(
    const MessageLite& msg) {
  auto& this_ = static_cast<const ClientToServerMessage&>(msg);
  if (_Internal::MissingRequiredFields(this_._impl_._has_bits_)) {
    return false;
  }
  return true;
}

void ClientToServerMessage::InternalSwap(ClientToServerMessage* 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_.share_, &other->_impl_.share_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.store_birthday_, &other->_impl_.store_birthday_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.api_key_, &other->_impl_.api_key_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.invalidator_client_id_, &other->_impl_.invalidator_client_id_, arena);
  ::google::protobuf::internal::memswap<
      PROTOBUF_FIELD_OFFSET(ClientToServerMessage, _impl_.message_contents_)
      + sizeof(ClientToServerMessage::_impl_.message_contents_)
      - PROTOBUF_FIELD_OFFSET(ClientToServerMessage, _impl_.commit_)>(
          reinterpret_cast<char*>(&_impl_.commit_),
          reinterpret_cast<char*>(&other->_impl_.commit_));
}

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

void CommitResponse_EntryResponse_DatatypeSpecificError::set_allocated_sharing_message_error(::sync_pb::SharingMessageCommitError* PROTOBUF_NULLABLE sharing_message_error) {
  ::google::protobuf::Arena* message_arena = GetArena();
  clear_datatype_error();
  if (sharing_message_error) {
    ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(sharing_message_error)->GetArena();
    if (message_arena != submessage_arena) {
      sharing_message_error = ::google::protobuf::internal::GetOwnedMessage(message_arena, sharing_message_error, submessage_arena);
    }
    set_has_sharing_message_error();
    _impl_.datatype_error_.sharing_message_error_ = sharing_message_error;
  }
  // @@protoc_insertion_point(field_set_allocated:sync_pb.CommitResponse.EntryResponse.DatatypeSpecificError.sharing_message_error)
}
void CommitResponse_EntryResponse_DatatypeSpecificError::clear_sharing_message_error() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (datatype_error_case() == kSharingMessageError) {
    if (GetArena() == nullptr) {
      delete _impl_.datatype_error_.sharing_message_error_;
    } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
      if (_impl_.datatype_error_.sharing_message_error_ != nullptr) {
        _impl_.datatype_error_.sharing_message_error_->Clear();
      }
    }
    clear_has_datatype_error();
  }
}
void CommitResponse_EntryResponse_DatatypeSpecificError::set_allocated_outgoing_password_sharing_invitation_error(::sync_pb::OutgoingPasswordSharingInvitationCommitError* PROTOBUF_NULLABLE outgoing_password_sharing_invitation_error) {
  ::google::protobuf::Arena* message_arena = GetArena();
  clear_datatype_error();
  if (outgoing_password_sharing_invitation_error) {
    ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(outgoing_password_sharing_invitation_error)->GetArena();
    if (message_arena != submessage_arena) {
      outgoing_password_sharing_invitation_error = ::google::protobuf::internal::GetOwnedMessage(message_arena, outgoing_password_sharing_invitation_error, submessage_arena);
    }
    set_has_outgoing_password_sharing_invitation_error();
    _impl_.datatype_error_.outgoing_password_sharing_invitation_error_ = outgoing_password_sharing_invitation_error;
  }
  // @@protoc_insertion_point(field_set_allocated:sync_pb.CommitResponse.EntryResponse.DatatypeSpecificError.outgoing_password_sharing_invitation_error)
}
void CommitResponse_EntryResponse_DatatypeSpecificError::clear_outgoing_password_sharing_invitation_error() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (datatype_error_case() == kOutgoingPasswordSharingInvitationError) {
    if (GetArena() == nullptr) {
      delete _impl_.datatype_error_.outgoing_password_sharing_invitation_error_;
    } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
      if (_impl_.datatype_error_.outgoing_password_sharing_invitation_error_ != nullptr) {
        _impl_.datatype_error_.outgoing_password_sharing_invitation_error_->Clear();
      }
    }
    clear_has_datatype_error();
  }
}
CommitResponse_EntryResponse_DatatypeSpecificError::CommitResponse_EntryResponse_DatatypeSpecificError(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, CommitResponse_EntryResponse_DatatypeSpecificError_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:sync_pb.CommitResponse.EntryResponse.DatatypeSpecificError)
}
PROTOBUF_NDEBUG_INLINE CommitResponse_EntryResponse_DatatypeSpecificError::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::CommitResponse_EntryResponse_DatatypeSpecificError& from_msg)
      : datatype_error_{},
        _cached_size_{0},
        _oneof_case_{from._oneof_case_[0]} {}

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

#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  CommitResponse_EntryResponse_DatatypeSpecificError* const _this = this;
  (void)_this;
  _internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
  new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
  switch (datatype_error_case()) {
    case DATATYPE_ERROR_NOT_SET:
      break;
      case kSharingMessageError:
        _impl_.datatype_error_.sharing_message_error_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.datatype_error_.sharing_message_error_);
        break;
      case kOutgoingPasswordSharingInvitationError:
        _impl_.datatype_error_.outgoing_password_sharing_invitation_error_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.datatype_error_.outgoing_password_sharing_invitation_error_);
        break;
  }

  // @@protoc_insertion_point(copy_constructor:sync_pb.CommitResponse.EntryResponse.DatatypeSpecificError)
}
PROTOBUF_NDEBUG_INLINE CommitResponse_EntryResponse_DatatypeSpecificError::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : datatype_error_{},
        _cached_size_{0},
        _oneof_case_{} {}

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

void CommitResponse_EntryResponse_DatatypeSpecificError::clear_datatype_error() {
// @@protoc_insertion_point(one_of_clear_start:sync_pb.CommitResponse.EntryResponse.DatatypeSpecificError)
  ::google::protobuf::internal::TSanWrite(&_impl_);
  switch (datatype_error_case()) {
    case kSharingMessageError: {
      if (GetArena() == nullptr) {
        delete _impl_.datatype_error_.sharing_message_error_;
      } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
        if (_impl_.datatype_error_.sharing_message_error_ != nullptr) {
          _impl_.datatype_error_.sharing_message_error_->Clear();
        }
      }
      break;
    }
    case kOutgoingPasswordSharingInvitationError: {
      if (GetArena() == nullptr) {
        delete _impl_.datatype_error_.outgoing_password_sharing_invitation_error_;
      } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
        if (_impl_.datatype_error_.outgoing_password_sharing_invitation_error_ != nullptr) {
          _impl_.datatype_error_.outgoing_password_sharing_invitation_error_->Clear();
        }
      }
      break;
    }
    case DATATYPE_ERROR_NOT_SET: {
      break;
    }
  }
  _impl_._oneof_case_[0] = DATATYPE_ERROR_NOT_SET;
}


#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite CommitResponse_EntryResponse_DatatypeSpecificError_class_data_ =
    CommitResponse_EntryResponse_DatatypeSpecificError::InternalGenerateClassData_(CommitResponse_EntryResponse_DatatypeSpecificError_globals_._default);

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

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

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

  switch (this_.datatype_error_case()) {
    case kSharingMessageError: {
      target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
          1, *this_._impl_.datatype_error_.sharing_message_error_, this_._impl_.datatype_error_.sharing_message_error_->GetCachedSize(), target,
          stream);
      break;
    }
    case kOutgoingPasswordSharingInvitationError: {
      target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
          2, *this_._impl_.datatype_error_.outgoing_password_sharing_invitation_error_, this_._impl_.datatype_error_.outgoing_password_sharing_invitation_error_->GetCachedSize(), target,
          stream);
      break;
    }
    default:
      break;
  }
  if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
    target = stream->WriteRaw(
        this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).data(),
        static_cast<int>(this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size()), target);
  }
  // @@protoc_insertion_point(serialize_to_array_end:sync_pb.CommitResponse.EntryResponse.DatatypeSpecificError)
  return target;
}

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

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

  switch (this_.datatype_error_case()) {
    // .sync_pb.SharingMessageCommitError sharing_message_error = 1;
    case kSharingMessageError: {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.datatype_error_.sharing_message_error_);
      break;
    }
    // .sync_pb.OutgoingPasswordSharingInvitationCommitError outgoing_password_sharing_invitation_error = 2;
    case kOutgoingPasswordSharingInvitationError: {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.datatype_error_.outgoing_password_sharing_invitation_error_);
      break;
    }
    case DATATYPE_ERROR_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 CommitResponse_EntryResponse_DatatypeSpecificError::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<CommitResponse_EntryResponse_DatatypeSpecificError*>(&to_msg);
  auto& from = static_cast<const CommitResponse_EntryResponse_DatatypeSpecificError&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  ::google::protobuf::Arena* arena = _this->GetArena();
  // @@protoc_insertion_point(class_specific_merge_from_start:sync_pb.CommitResponse.EntryResponse.DatatypeSpecificError)
  ABSL_DCHECK_NE(&from, _this);
  ::uint32_t cached_has_bits = 0;
  (void)cached_has_bits;

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

    switch (oneof_from_case) {
      case kSharingMessageError: {
        if (oneof_needs_init) {
          _this->_impl_.datatype_error_.sharing_message_error_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.datatype_error_.sharing_message_error_);
        } else {
          _this->_impl_.datatype_error_.sharing_message_error_->MergeFrom(*from._impl_.datatype_error_.sharing_message_error_);
        }
        break;
      }
      case kOutgoingPasswordSharingInvitationError: {
        if (oneof_needs_init) {
          _this->_impl_.datatype_error_.outgoing_password_sharing_invitation_error_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.datatype_error_.outgoing_password_sharing_invitation_error_);
        } else {
          _this->_impl_.datatype_error_.outgoing_password_sharing_invitation_error_->MergeFrom(*from._impl_.datatype_error_.outgoing_password_sharing_invitation_error_);
        }
        break;
      }
      case DATATYPE_ERROR_NOT_SET:
        break;
    }
  }
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


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

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

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

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

#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  CommitResponse_EntryResponse* 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_.datatype_specific_error_ = (CheckHasBit(cached_has_bits, 0x00000004U))
                ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.datatype_specific_error_)
                : nullptr;
  ::memcpy(reinterpret_cast<char*>(&_impl_) +
               offsetof(Impl_, version_),
           reinterpret_cast<const char*>(&from._impl_) +
               offsetof(Impl_, version_),
           offsetof(Impl_, response_type_) -
               offsetof(Impl_, version_) +
               sizeof(Impl_::response_type_));

  // @@protoc_insertion_point(copy_constructor:sync_pb.CommitResponse.EntryResponse)
}
PROTOBUF_NDEBUG_INLINE CommitResponse_EntryResponse::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0},
        id_string_(arena),
        error_message_(arena),
        response_type_{static_cast< ::sync_pb::CommitResponse_ResponseType >(1)} {}

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

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite CommitResponse_EntryResponse_class_data_ =
    CommitResponse_EntryResponse::InternalGenerateClassData_(CommitResponse_EntryResponse_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
CommitResponse_EntryResponse::GetClassData() const {
  return CommitResponse_EntryResponse_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
CommitResponse_EntryResponse::GetClassData() const {
  return CommitResponse_EntryResponse_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const CommitResponse_EntryResponse::ParseTableT_
    CommitResponse_EntryResponse::_table_ =
        CommitResponse_EntryResponse::InternalGenerateParseTable_(CommitResponse_EntryResponse_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void CommitResponse_EntryResponse::Clear() {
// @@protoc_insertion_point(message_clear_start:sync_pb.CommitResponse.EntryResponse)
  ::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_.id_string_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _impl_.error_message_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      ABSL_DCHECK(_impl_.datatype_specific_error_ != nullptr);
      _impl_.datatype_specific_error_->Clear();
    }
  }
  if (BatchCheckHasBit(cached_has_bits, 0x00000038U)) {
    ::memset(&_impl_.version_, 0, static_cast<::size_t>(
        reinterpret_cast<char*>(&_impl_.mtime_) -
        reinterpret_cast<char*>(&_impl_.version_)) + sizeof(_impl_.mtime_));
    _impl_.response_type_ = 1;
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

  cached_has_bits = this_._impl_._has_bits_[0];
  // optional .sync_pb.CommitResponse.ResponseType response_type = 2;
  if (CheckHasBit(cached_has_bits, 0x00000020U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteEnumToArray(
        2, this_._internal_response_type(), target);
  }

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

  // optional int64 version = 6;
  if (CheckHasBit(cached_has_bits, 0x00000008U)) {
    target =
        ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<6>(
            stream, this_._internal_version(), target);
  }

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

  // optional int64 mtime = 10 [deprecated = true];
  if (CheckHasBit(cached_has_bits, 0x00000010U)) {
    target =
        ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<10>(
            stream, this_._internal_mtime(), target);
  }

  // optional .sync_pb.CommitResponse.EntryResponse.DatatypeSpecificError datatype_specific_error = 11;
  if (CheckHasBit(cached_has_bits, 0x00000004U)) {
    target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
        11, *this_._impl_.datatype_specific_error_, this_._impl_.datatype_specific_error_->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.CommitResponse.EntryResponse)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t CommitResponse_EntryResponse::ByteSizeLong(const MessageLite& base) {
  const CommitResponse_EntryResponse& this_ = static_cast<const CommitResponse_EntryResponse&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t CommitResponse_EntryResponse::ByteSizeLong() const {
  const CommitResponse_EntryResponse& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:sync_pb.CommitResponse.EntryResponse)
  ::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, 0x0000003fU)) {
    // optional string id_string = 3;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_id_string());
    }
    // optional string error_message = 9;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_error_message());
    }
    // optional .sync_pb.CommitResponse.EntryResponse.DatatypeSpecificError datatype_specific_error = 11;
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.datatype_specific_error_);
    }
    // optional int64 version = 6;
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
          this_._internal_version());
    }
    // optional int64 mtime = 10 [deprecated = true];
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
          this_._internal_mtime());
    }
    // optional .sync_pb.CommitResponse.ResponseType response_type = 2;
    if (CheckHasBit(cached_has_bits, 0x00000020U)) {
      total_size += 1 +
                    ::_pbi::WireFormatLite::EnumSize(this_._internal_response_type());
    }
  }
  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 CommitResponse_EntryResponse::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<CommitResponse_EntryResponse*>(&to_msg);
  auto& from = static_cast<const CommitResponse_EntryResponse&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  ::google::protobuf::Arena* arena = _this->GetArena();
  // @@protoc_insertion_point(class_specific_merge_from_start:sync_pb.CommitResponse.EntryResponse)
  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, 0x0000003fU)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _this->_internal_set_id_string(from._internal_id_string());
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _this->_internal_set_error_message(from._internal_error_message());
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      ABSL_DCHECK(from._impl_.datatype_specific_error_ != nullptr);
      if (_this->_impl_.datatype_specific_error_ == nullptr) {
        _this->_impl_.datatype_specific_error_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.datatype_specific_error_);
      } else {
        _this->_impl_.datatype_specific_error_->MergeFrom(*from._impl_.datatype_specific_error_);
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      _this->_impl_.version_ = from._impl_.version_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      _this->_impl_.mtime_ = from._impl_.mtime_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000020U)) {
      _this->_impl_.response_type_ = from._impl_.response_type_;
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


void CommitResponse_EntryResponse::InternalSwap(CommitResponse_EntryResponse* 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_.id_string_, &other->_impl_.id_string_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.error_message_, &other->_impl_.error_message_, arena);
  ::google::protobuf::internal::memswap<
      PROTOBUF_FIELD_OFFSET(CommitResponse_EntryResponse, _impl_.response_type_)
      + sizeof(CommitResponse_EntryResponse::_impl_.response_type_)
      - PROTOBUF_FIELD_OFFSET(CommitResponse_EntryResponse, _impl_.datatype_specific_error_)>(
          reinterpret_cast<char*>(&_impl_.datatype_specific_error_),
          reinterpret_cast<char*>(&other->_impl_.datatype_specific_error_));
}

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

CommitResponse::CommitResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, CommitResponse_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:sync_pb.CommitResponse)
}
PROTOBUF_NDEBUG_INLINE CommitResponse::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::CommitResponse& from_msg)
      : _has_bits_{from._has_bits_},
        _cached_size_{0},
        entryresponse_ {
          visibility, ::_pbi::InternalMetadataOffset::Build<
              ::sync_pb::CommitResponse,
              PROTOBUF_FIELD_OFFSET(::sync_pb::CommitResponse, _impl_.entryresponse_)>()
          , from.entryresponse_
        }
     {}

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

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

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

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

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

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

  cached_has_bits = this_._impl_._has_bits_[0];
  // repeated group EntryResponse = 1 { ... };
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    for (unsigned i = 0, n = static_cast<unsigned>(
                             this_._internal_entryresponse_size());
         i < n; i++) {
      target = stream->EnsureSpace(target);
      target =
          ::google::protobuf::internal::WireFormatLite::InternalWriteGroup(
              1, this_._internal_entryresponse().Get(i),
              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.CommitResponse)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t CommitResponse::ByteSizeLong(const MessageLite& base) {
  const CommitResponse& this_ = static_cast<const CommitResponse&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t CommitResponse::ByteSizeLong() const {
  const CommitResponse& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:sync_pb.CommitResponse)
  ::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_);
   {
    // repeated group EntryResponse = 1 { ... };
    cached_has_bits = this_._impl_._has_bits_[0];
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 2UL * this_._internal_entryresponse_size();
      for (const auto& msg : this_._internal_entryresponse()) {
        total_size += ::google::protobuf::internal::WireFormatLite::GroupSize(msg);
      }
    }
  }
  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 CommitResponse::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<CommitResponse*>(&to_msg);
  auto& from = static_cast<const CommitResponse&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  ::google::protobuf::Arena* arena = _this->GetArena();
  // @@protoc_insertion_point(class_specific_merge_from_start:sync_pb.CommitResponse)
  ABSL_DCHECK_NE(&from, _this);
  ::uint32_t cached_has_bits = 0;
  (void)cached_has_bits;

  cached_has_bits = from._impl_._has_bits_[0];
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    _this->_internal_mutable_entryresponse()->InternalMergeFromWithArena(
        ::google::protobuf::MessageLite::internal_visibility(), arena,
        from._internal_entryresponse());
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


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

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

void GetUpdatesResponse::clear_entries() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.entries_.Clear();
  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
}
void GetUpdatesResponse::clear_new_progress_marker() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.new_progress_marker_.Clear();
  ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
}
void GetUpdatesResponse::clear_context_mutations() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.context_mutations_.Clear();
  ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
}
GetUpdatesResponse::GetUpdatesResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, GetUpdatesResponse_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:sync_pb.GetUpdatesResponse)
}
PROTOBUF_NDEBUG_INLINE GetUpdatesResponse::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::GetUpdatesResponse& from_msg)
      : _has_bits_{from._has_bits_},
        _cached_size_{0},
        entries_ {
          visibility, ::_pbi::InternalMetadataOffset::Build<
              ::sync_pb::GetUpdatesResponse,
              PROTOBUF_FIELD_OFFSET(::sync_pb::GetUpdatesResponse, _impl_.entries_)>()
          , from.entries_
        }
        ,
        new_progress_marker_ {
          visibility, ::_pbi::InternalMetadataOffset::Build<
              ::sync_pb::GetUpdatesResponse,
              PROTOBUF_FIELD_OFFSET(::sync_pb::GetUpdatesResponse, _impl_.new_progress_marker_)>()
          , from.new_progress_marker_
        }
        ,
        encryption_keys_ {
          visibility, ::_pbi::InternalMetadataOffset::Build<
              ::sync_pb::GetUpdatesResponse,
              PROTOBUF_FIELD_OFFSET(::sync_pb::GetUpdatesResponse, _impl_.encryption_keys_)>()
          , from.encryption_keys_
        }
        ,
        context_mutations_ {
          visibility, ::_pbi::InternalMetadataOffset::Build<
              ::sync_pb::GetUpdatesResponse,
              PROTOBUF_FIELD_OFFSET(::sync_pb::GetUpdatesResponse, _impl_.context_mutations_)>()
          , from.context_mutations_
        }
     {}

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

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

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

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

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
GetUpdatesResponse::GetClassData() const {
  return GetUpdatesResponse_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
GetUpdatesResponse::GetClassData() const {
  return GetUpdatesResponse_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const GetUpdatesResponse::ParseTableT_
    GetUpdatesResponse::_table_ =
        GetUpdatesResponse::InternalGenerateParseTable_(GetUpdatesResponse_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void GetUpdatesResponse::Clear() {
// @@protoc_insertion_point(message_clear_start:sync_pb.GetUpdatesResponse)
  ::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_.entries_.Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _impl_.new_progress_marker_.Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _impl_.encryption_keys_.Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      _impl_.context_mutations_.Clear();
    }
  }
  _impl_.changes_remaining_ = ::int64_t{0};
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

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

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

  // repeated .sync_pb.DataTypeProgressMarker new_progress_marker = 5;
  if (CheckHasBit(cached_has_bits, 0x00000002U)) {
    for (unsigned i = 0, n = static_cast<unsigned>(
                             this_._internal_new_progress_marker_size());
         i < n; i++) {
      const auto& repfield = this_._internal_new_progress_marker().Get(i);
      target =
          ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
              5, repfield, repfield.GetCachedSize(),
              target, stream);
    }
  }

  // repeated bytes encryption_keys = 6;
  if (CheckHasBit(cached_has_bits, 0x00000004U)) {
    for (int i = 0, n = this_._internal_encryption_keys_size(); i < n; ++i) {
      const auto& s = this_._internal_encryption_keys().Get(i);
      target = stream->WriteBytes(6, s, target);
    }
  }

  // repeated .sync_pb.DataTypeContext context_mutations = 7;
  if (CheckHasBit(cached_has_bits, 0x00000008U)) {
    for (unsigned i = 0, n = static_cast<unsigned>(
                             this_._internal_context_mutations_size());
         i < n; i++) {
      const auto& repfield = this_._internal_context_mutations().Get(i);
      target =
          ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
              7, repfield, repfield.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.GetUpdatesResponse)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t GetUpdatesResponse::ByteSizeLong(const MessageLite& base) {
  const GetUpdatesResponse& this_ = static_cast<const GetUpdatesResponse&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t GetUpdatesResponse::ByteSizeLong() const {
  const GetUpdatesResponse& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:sync_pb.GetUpdatesResponse)
  ::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, 0x0000001fU)) {
    // repeated .sync_pb.SyncEntity entries = 1;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1UL * this_._internal_entries_size();
      for (const auto& msg : this_._internal_entries()) {
        total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
      }
    }
    // repeated .sync_pb.DataTypeProgressMarker new_progress_marker = 5;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += 1UL * this_._internal_new_progress_marker_size();
      for (const auto& msg : this_._internal_new_progress_marker()) {
        total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
      }
    }
    // repeated bytes encryption_keys = 6;
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      total_size +=
          1 * ::google::protobuf::internal::FromIntSize(this_._internal_encryption_keys().size());
      for (int i = 0, n = this_._internal_encryption_keys().size(); i < n; ++i) {
        total_size += ::google::protobuf::internal::WireFormatLite::BytesSize(
            this_._internal_encryption_keys().Get(i));
      }
    }
    // repeated .sync_pb.DataTypeContext context_mutations = 7;
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      total_size += 1UL * this_._internal_context_mutations_size();
      for (const auto& msg : this_._internal_context_mutations()) {
        total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
      }
    }
    // optional int64 changes_remaining = 4;
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
          this_._internal_changes_remaining());
    }
  }
  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 GetUpdatesResponse::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<GetUpdatesResponse*>(&to_msg);
  auto& from = static_cast<const GetUpdatesResponse&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  ::google::protobuf::Arena* arena = _this->GetArena();
  // @@protoc_insertion_point(class_specific_merge_from_start:sync_pb.GetUpdatesResponse)
  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, 0x0000001fU)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _this->_internal_mutable_entries()->InternalMergeFromWithArena(
          ::google::protobuf::MessageLite::internal_visibility(), arena,
          from._internal_entries());
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _this->_internal_mutable_new_progress_marker()->InternalMergeFromWithArena(
          ::google::protobuf::MessageLite::internal_visibility(), arena,
          from._internal_new_progress_marker());
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _this->_internal_mutable_encryption_keys()->InternalMergeFromWithArena(
          ::google::protobuf::MessageLite::internal_visibility(), arena,
          from._internal_encryption_keys());
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      _this->_internal_mutable_context_mutations()->InternalMergeFromWithArena(
          ::google::protobuf::MessageLite::internal_visibility(), arena,
          from._internal_context_mutations());
    }
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      _this->_impl_.changes_remaining_ = from._impl_.changes_remaining_;
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


void GetUpdatesResponse::InternalSwap(GetUpdatesResponse* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
  using ::std::swap;
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  _impl_.entries_.InternalSwap(&other->_impl_.entries_);
  _impl_.new_progress_marker_.InternalSwap(&other->_impl_.new_progress_marker_);
  _impl_.encryption_keys_.InternalSwap(&other->_impl_.encryption_keys_);
  _impl_.context_mutations_.InternalSwap(&other->_impl_.context_mutations_);
  swap(_impl_.changes_remaining_, other->_impl_.changes_remaining_);
}

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

ClientToServerResponse_Error::ClientToServerResponse_Error(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, ClientToServerResponse_Error_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:sync_pb.ClientToServerResponse.Error)
}
PROTOBUF_NDEBUG_INLINE ClientToServerResponse_Error::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::ClientToServerResponse_Error& from_msg)
      : _has_bits_{from._has_bits_},
        _cached_size_{0},
        error_data_type_ids_ {
          visibility, ::_pbi::InternalMetadataOffset::Build<
              ::sync_pb::ClientToServerResponse_Error,
              PROTOBUF_FIELD_OFFSET(::sync_pb::ClientToServerResponse_Error, _impl_.error_data_type_ids_)>()
          , from.error_data_type_ids_
        }
        ,
        error_description_(arena, from.error_description_) {}

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

#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  ClientToServerResponse_Error* 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_, error_type_),
           reinterpret_cast<const char*>(&from._impl_) +
               offsetof(Impl_, error_type_),
           offsetof(Impl_, action_) -
               offsetof(Impl_, error_type_) +
               sizeof(Impl_::action_));

  // @@protoc_insertion_point(copy_constructor:sync_pb.ClientToServerResponse.Error)
}
PROTOBUF_NDEBUG_INLINE ClientToServerResponse_Error::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0},
        error_data_type_ids_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::sync_pb::ClientToServerResponse_Error,
            PROTOBUF_FIELD_OFFSET(::sync_pb::ClientToServerResponse_Error, _impl_.error_data_type_ids_)>()
         }
        ,
        error_description_(arena),
        error_type_{static_cast< ::sync_pb::SyncEnums_ErrorType >(100)},
        action_{static_cast< ::sync_pb::SyncEnums_Action >(5)} {}

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

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite ClientToServerResponse_Error_class_data_ =
    ClientToServerResponse_Error::InternalGenerateClassData_(ClientToServerResponse_Error_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
ClientToServerResponse_Error::GetClassData() const {
  return ClientToServerResponse_Error_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
ClientToServerResponse_Error::GetClassData() const {
  return ClientToServerResponse_Error_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ClientToServerResponse_Error::ParseTableT_
    ClientToServerResponse_Error::_table_ =
        ClientToServerResponse_Error::InternalGenerateParseTable_(ClientToServerResponse_Error_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void ClientToServerResponse_Error::Clear() {
// @@protoc_insertion_point(message_clear_start:sync_pb.ClientToServerResponse.Error)
  ::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_.error_data_type_ids_.Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _impl_.error_description_.ClearNonDefaultToEmpty();
    }
    _impl_.error_type_ = 100;
    _impl_.action_ = 5;
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

  cached_has_bits = this_._impl_._has_bits_[0];
  // optional .sync_pb.SyncEnums.ErrorType error_type = 1 [default = UNKNOWN];
  if (CheckHasBit(cached_has_bits, 0x00000004U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteEnumToArray(
        1, this_._internal_error_type(), target);
  }

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

  // optional .sync_pb.SyncEnums.Action action = 4 [default = UNKNOWN_ACTION];
  if (CheckHasBit(cached_has_bits, 0x00000008U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteEnumToArray(
        4, this_._internal_action(), target);
  }

  // repeated int32 error_data_type_ids = 5;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    for (int i = 0, n = this_._internal_error_data_type_ids_size(); i < n; ++i) {
      target = stream->EnsureSpace(target);
      target = ::_pbi::WireFormatLite::WriteInt32ToArray(
          5, this_._internal_error_data_type_ids().Get(i), 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.ClientToServerResponse.Error)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t ClientToServerResponse_Error::ByteSizeLong(const MessageLite& base) {
  const ClientToServerResponse_Error& this_ = static_cast<const ClientToServerResponse_Error&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t ClientToServerResponse_Error::ByteSizeLong() const {
  const ClientToServerResponse_Error& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:sync_pb.ClientToServerResponse.Error)
  ::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)) {
    // repeated int32 error_data_type_ids = 5;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      ::size_t data_size = ::_pbi::WireFormatLite::Int32Size(
          this_._internal_error_data_type_ids());
      ::size_t tag_size = ::size_t{1} *
          ::_pbi::FromIntSize(this_._internal_error_data_type_ids_size());
      total_size += tag_size + data_size;
    }
    // optional string error_description = 2;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_error_description());
    }
    // optional .sync_pb.SyncEnums.ErrorType error_type = 1 [default = UNKNOWN];
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      total_size += 1 +
                    ::_pbi::WireFormatLite::EnumSize(this_._internal_error_type());
    }
    // optional .sync_pb.SyncEnums.Action action = 4 [default = UNKNOWN_ACTION];
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      total_size += 1 +
                    ::_pbi::WireFormatLite::EnumSize(this_._internal_action());
    }
  }
  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 ClientToServerResponse_Error::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<ClientToServerResponse_Error*>(&to_msg);
  auto& from = static_cast<const ClientToServerResponse_Error&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  // @@protoc_insertion_point(class_specific_merge_from_start:sync_pb.ClientToServerResponse.Error)
  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_mutable_error_data_type_ids()->MergeFrom(from._internal_error_data_type_ids());
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _this->_internal_set_error_description(from._internal_error_description());
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _this->_impl_.error_type_ = from._impl_.error_type_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      _this->_impl_.action_ = from._impl_.action_;
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


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

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

void ClientToServerResponse::clear_client_command() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (_impl_.client_command_ != nullptr) _impl_.client_command_->Clear();
  ClearHasBit(_impl_._has_bits_[0], 0x00000020U);
}
ClientToServerResponse::ClientToServerResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, ClientToServerResponse_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:sync_pb.ClientToServerResponse)
}
PROTOBUF_NDEBUG_INLINE ClientToServerResponse::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::ClientToServerResponse& from_msg)
      : _has_bits_{from._has_bits_},
        _cached_size_{0},
        migrated_data_type_id_ {
          visibility, ::_pbi::InternalMetadataOffset::Build<
              ::sync_pb::ClientToServerResponse,
              PROTOBUF_FIELD_OFFSET(::sync_pb::ClientToServerResponse, _impl_.migrated_data_type_id_)>()
          , from.migrated_data_type_id_
        }
        ,
        error_message_(arena, from.error_message_),
        store_birthday_(arena, from.store_birthday_) {}

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

#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  ClientToServerResponse* 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_.commit_ = (CheckHasBit(cached_has_bits, 0x00000008U))
                ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.commit_)
                : nullptr;
  _impl_.get_updates_ = (CheckHasBit(cached_has_bits, 0x00000010U))
                ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.get_updates_)
                : nullptr;
  _impl_.client_command_ = (CheckHasBit(cached_has_bits, 0x00000020U))
                ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.client_command_)
                : nullptr;
  _impl_.error_ = (CheckHasBit(cached_has_bits, 0x00000040U))
                ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.error_)
                : nullptr;
  _impl_.new_bag_of_chips_ = (CheckHasBit(cached_has_bits, 0x00000080U))
                ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.new_bag_of_chips_)
                : nullptr;
  _impl_.clear_server_data_ = (CheckHasBit(cached_has_bits, 0x00000100U))
                ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.clear_server_data_)
                : nullptr;
  _impl_.error_code_ = from._impl_.error_code_;

  // @@protoc_insertion_point(copy_constructor:sync_pb.ClientToServerResponse)
}
PROTOBUF_NDEBUG_INLINE ClientToServerResponse::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0},
        migrated_data_type_id_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::sync_pb::ClientToServerResponse,
            PROTOBUF_FIELD_OFFSET(::sync_pb::ClientToServerResponse, _impl_.migrated_data_type_id_)>()
         }
        ,
        error_message_(arena),
        store_birthday_(arena),
        error_code_{static_cast< ::sync_pb::SyncEnums_ErrorType >(100)} {}

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

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite ClientToServerResponse_class_data_ =
    ClientToServerResponse::InternalGenerateClassData_(ClientToServerResponse_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
ClientToServerResponse::GetClassData() const {
  return ClientToServerResponse_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
ClientToServerResponse::GetClassData() const {
  return ClientToServerResponse_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ClientToServerResponse::ParseTableT_
    ClientToServerResponse::_table_ =
        ClientToServerResponse::InternalGenerateParseTable_(ClientToServerResponse_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void ClientToServerResponse::Clear() {
// @@protoc_insertion_point(message_clear_start:sync_pb.ClientToServerResponse)
  ::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, 0x000000ffU)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _impl_.migrated_data_type_id_.Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _impl_.error_message_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _impl_.store_birthday_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      ABSL_DCHECK(_impl_.commit_ != nullptr);
      _impl_.commit_->Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      ABSL_DCHECK(_impl_.get_updates_ != nullptr);
      _impl_.get_updates_->Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000020U)) {
      ABSL_DCHECK(_impl_.client_command_ != nullptr);
      _impl_.client_command_->Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000040U)) {
      ABSL_DCHECK(_impl_.error_ != nullptr);
      _impl_.error_->Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000080U)) {
      ABSL_DCHECK(_impl_.new_bag_of_chips_ != nullptr);
      _impl_.new_bag_of_chips_->Clear();
    }
  }
  if (BatchCheckHasBit(cached_has_bits, 0x00000300U)) {
    if (CheckHasBit(cached_has_bits, 0x00000100U)) {
      ABSL_DCHECK(_impl_.clear_server_data_ != nullptr);
      _impl_.clear_server_data_->Clear();
    }
    _impl_.error_code_ = 100;
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

  cached_has_bits = this_._impl_._has_bits_[0];
  // optional .sync_pb.CommitResponse commit = 1;
  if (CheckHasBit(cached_has_bits, 0x00000008U)) {
    target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
        1, *this_._impl_.commit_, this_._impl_.commit_->GetCachedSize(), target,
        stream);
  }

  // optional .sync_pb.GetUpdatesResponse get_updates = 2;
  if (CheckHasBit(cached_has_bits, 0x00000010U)) {
    target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
        2, *this_._impl_.get_updates_, this_._impl_.get_updates_->GetCachedSize(), target,
        stream);
  }

  // optional .sync_pb.SyncEnums.ErrorType error_code = 4 [default = UNKNOWN];
  if (CheckHasBit(cached_has_bits, 0x00000200U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteEnumToArray(
        4, this_._internal_error_code(), target);
  }

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

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

  // optional .sync_pb.ClientCommand client_command = 7;
  if (CheckHasBit(cached_has_bits, 0x00000020U)) {
    target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
        7, *this_._impl_.client_command_, this_._impl_.client_command_->GetCachedSize(), target,
        stream);
  }

  // repeated int32 migrated_data_type_id = 12;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    for (int i = 0, n = this_._internal_migrated_data_type_id_size(); i < n; ++i) {
      target = stream->EnsureSpace(target);
      target = ::_pbi::WireFormatLite::WriteInt32ToArray(
          12, this_._internal_migrated_data_type_id().Get(i), target);
    }
  }

  // optional .sync_pb.ClientToServerResponse.Error error = 13;
  if (CheckHasBit(cached_has_bits, 0x00000040U)) {
    target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
        13, *this_._impl_.error_, this_._impl_.error_->GetCachedSize(), target,
        stream);
  }

  // optional .sync_pb.ChipBag new_bag_of_chips = 14;
  if (CheckHasBit(cached_has_bits, 0x00000080U)) {
    target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
        14, *this_._impl_.new_bag_of_chips_, this_._impl_.new_bag_of_chips_->GetCachedSize(), target,
        stream);
  }

  // optional .sync_pb.ClearServerDataResponse clear_server_data = 15;
  if (CheckHasBit(cached_has_bits, 0x00000100U)) {
    target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
        15, *this_._impl_.clear_server_data_, this_._impl_.clear_server_data_->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.ClientToServerResponse)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t ClientToServerResponse::ByteSizeLong(const MessageLite& base) {
  const ClientToServerResponse& this_ = static_cast<const ClientToServerResponse&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t ClientToServerResponse::ByteSizeLong() const {
  const ClientToServerResponse& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:sync_pb.ClientToServerResponse)
  ::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, 0x000000ffU)) {
    // repeated int32 migrated_data_type_id = 12;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      ::size_t data_size = ::_pbi::WireFormatLite::Int32Size(
          this_._internal_migrated_data_type_id());
      ::size_t tag_size = ::size_t{1} *
          ::_pbi::FromIntSize(this_._internal_migrated_data_type_id_size());
      total_size += tag_size + data_size;
    }
    // optional string error_message = 5;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_error_message());
    }
    // optional string store_birthday = 6;
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_store_birthday());
    }
    // optional .sync_pb.CommitResponse commit = 1;
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.commit_);
    }
    // optional .sync_pb.GetUpdatesResponse get_updates = 2;
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.get_updates_);
    }
    // optional .sync_pb.ClientCommand client_command = 7;
    if (CheckHasBit(cached_has_bits, 0x00000020U)) {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.client_command_);
    }
    // optional .sync_pb.ClientToServerResponse.Error error = 13;
    if (CheckHasBit(cached_has_bits, 0x00000040U)) {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.error_);
    }
    // optional .sync_pb.ChipBag new_bag_of_chips = 14;
    if (CheckHasBit(cached_has_bits, 0x00000080U)) {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.new_bag_of_chips_);
    }
  }
  if (BatchCheckHasBit(cached_has_bits, 0x00000300U)) {
    // optional .sync_pb.ClearServerDataResponse clear_server_data = 15;
    if (CheckHasBit(cached_has_bits, 0x00000100U)) {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.clear_server_data_);
    }
    // optional .sync_pb.SyncEnums.ErrorType error_code = 4 [default = UNKNOWN];
    if (CheckHasBit(cached_has_bits, 0x00000200U)) {
      total_size += 1 +
                    ::_pbi::WireFormatLite::EnumSize(this_._internal_error_code());
    }
  }
  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 ClientToServerResponse::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<ClientToServerResponse*>(&to_msg);
  auto& from = static_cast<const ClientToServerResponse&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  ::google::protobuf::Arena* arena = _this->GetArena();
  // @@protoc_insertion_point(class_specific_merge_from_start:sync_pb.ClientToServerResponse)
  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, 0x000000ffU)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _this->_internal_mutable_migrated_data_type_id()->MergeFrom(from._internal_migrated_data_type_id());
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _this->_internal_set_error_message(from._internal_error_message());
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _this->_internal_set_store_birthday(from._internal_store_birthday());
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      ABSL_DCHECK(from._impl_.commit_ != nullptr);
      if (_this->_impl_.commit_ == nullptr) {
        _this->_impl_.commit_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.commit_);
      } else {
        _this->_impl_.commit_->MergeFrom(*from._impl_.commit_);
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      ABSL_DCHECK(from._impl_.get_updates_ != nullptr);
      if (_this->_impl_.get_updates_ == nullptr) {
        _this->_impl_.get_updates_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.get_updates_);
      } else {
        _this->_impl_.get_updates_->MergeFrom(*from._impl_.get_updates_);
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000020U)) {
      ABSL_DCHECK(from._impl_.client_command_ != nullptr);
      if (_this->_impl_.client_command_ == nullptr) {
        _this->_impl_.client_command_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.client_command_);
      } else {
        _this->_impl_.client_command_->MergeFrom(*from._impl_.client_command_);
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000040U)) {
      ABSL_DCHECK(from._impl_.error_ != nullptr);
      if (_this->_impl_.error_ == nullptr) {
        _this->_impl_.error_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.error_);
      } else {
        _this->_impl_.error_->MergeFrom(*from._impl_.error_);
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000080U)) {
      ABSL_DCHECK(from._impl_.new_bag_of_chips_ != nullptr);
      if (_this->_impl_.new_bag_of_chips_ == nullptr) {
        _this->_impl_.new_bag_of_chips_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.new_bag_of_chips_);
      } else {
        _this->_impl_.new_bag_of_chips_->MergeFrom(*from._impl_.new_bag_of_chips_);
      }
    }
  }
  if (BatchCheckHasBit(cached_has_bits, 0x00000300U)) {
    if (CheckHasBit(cached_has_bits, 0x00000100U)) {
      ABSL_DCHECK(from._impl_.clear_server_data_ != nullptr);
      if (_this->_impl_.clear_server_data_ == nullptr) {
        _this->_impl_.clear_server_data_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.clear_server_data_);
      } else {
        _this->_impl_.clear_server_data_->MergeFrom(*from._impl_.clear_server_data_);
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000200U)) {
      _this->_impl_.error_code_ = from._impl_.error_code_;
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


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

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

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

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

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

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

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

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite EventRequest_class_data_ =
    EventRequest::InternalGenerateClassData_(EventRequest_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
EventRequest::GetClassData() const {
  return EventRequest_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
EventRequest::GetClassData() const {
  return EventRequest_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const EventRequest::ParseTableT_
    EventRequest::_table_ =
        EventRequest::InternalGenerateParseTable_(EventRequest_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void EventRequest::Clear() {
// @@protoc_insertion_point(message_clear_start:sync_pb.EventRequest)
  ::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)) {
    ABSL_DCHECK(_impl_.sync_disabled_ != nullptr);
    _impl_.sync_disabled_->Clear();
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

  cached_has_bits = this_._impl_._has_bits_[0];
  // optional .sync_pb.SyncDisabledEvent sync_disabled = 1;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
        1, *this_._impl_.sync_disabled_, this_._impl_.sync_disabled_->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.EventRequest)
  return target;
}

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

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

   {
    // optional .sync_pb.SyncDisabledEvent sync_disabled = 1;
    cached_has_bits = this_._impl_._has_bits_[0];
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.sync_disabled_);
    }
  }
  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 EventRequest::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<EventRequest*>(&to_msg);
  auto& from = static_cast<const EventRequest&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  ::google::protobuf::Arena* arena = _this->GetArena();
  // @@protoc_insertion_point(class_specific_merge_from_start:sync_pb.EventRequest)
  ABSL_DCHECK_NE(&from, _this);
  ::uint32_t cached_has_bits = 0;
  (void)cached_has_bits;

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

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


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

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

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

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

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

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t EventResponse::ByteSizeLong(const MessageLite& base) {
  const EventResponse& this_ = static_cast<const EventResponse&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t EventResponse::ByteSizeLong() const {
  const EventResponse& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:sync_pb.EventResponse)
  ::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 EventResponse::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<EventResponse*>(&to_msg);
  auto& from = static_cast<const EventResponse&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  // @@protoc_insertion_point(class_specific_merge_from_start:sync_pb.EventResponse)
  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 EventResponse::CopyFrom(const EventResponse& from) {
  // @@protoc_insertion_point(class_specific_copy_from_start:sync_pb.EventResponse)
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}


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

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

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

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

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

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

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

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite SyncDisabledEvent_class_data_ =
    SyncDisabledEvent::InternalGenerateClassData_(SyncDisabledEvent_globals_._default);

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

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

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

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

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

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

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


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

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