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

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

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

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

constexpr SharingMessageSpecifics_ChannelConfiguration_FCMChannelConfiguration::ParseTableT_ SharingMessageSpecifics_ChannelConfiguration_FCMChannelConfiguration::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(SharingMessageSpecifics_ChannelConfiguration_FCMChannelConfiguration, _impl_._has_bits_),
      0, // no _extensions_
      3, 24,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967288,  // skipmap
      offsetof(ParseTableT_, field_entries),
      3,  // num_field_entries
      0,  // num_aux_entries
      offsetof(ParseTableT_, field_names),  // no aux_entries
      class_data,
      nullptr,  // post_loop_handler
      ::_pbi::TcParser::GenericFallbackLite,  // fallback
      #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
      ::_pbi::TcParser::GetTable<::sync_pb::SharingMessageSpecifics_ChannelConfiguration_FCMChannelConfiguration>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      {::_pbi::TcParser::MiniParse, {}},
      // optional string token = 1;
      {::_pbi::TcParser::FastBS1,
       {10, 0, 0,
        PROTOBUF_FIELD_OFFSET(SharingMessageSpecifics_ChannelConfiguration_FCMChannelConfiguration, _impl_.token_)}},
      // optional int32 ttl = 2;
      {::_pbi::TcParser::FastV32S1,
       {16, 1, 0,
        PROTOBUF_FIELD_OFFSET(SharingMessageSpecifics_ChannelConfiguration_FCMChannelConfiguration, _impl_.ttl_)}},
      // optional int32 priority = 3;
      {::_pbi::TcParser::FastV32S1,
       {24, 2, 0,
        PROTOBUF_FIELD_OFFSET(SharingMessageSpecifics_ChannelConfiguration_FCMChannelConfiguration, _impl_.priority_)}},
    }}, {{
      65535, 65535
    }}, {{
      // optional string token = 1;
      {PROTOBUF_FIELD_OFFSET(SharingMessageSpecifics_ChannelConfiguration_FCMChannelConfiguration, _impl_.token_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional int32 ttl = 2;
      {PROTOBUF_FIELD_OFFSET(SharingMessageSpecifics_ChannelConfiguration_FCMChannelConfiguration, _impl_.ttl_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
      // optional int32 priority = 3;
      {PROTOBUF_FIELD_OFFSET(SharingMessageSpecifics_ChannelConfiguration_FCMChannelConfiguration, _impl_.priority_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
    }},
    // no aux_entries
    {{
    }},
  };
}


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

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

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

constexpr SharingMessageSpecifics_ChannelConfiguration_ChimeChannelConfiguration::ParseTableT_ SharingMessageSpecifics_ChannelConfiguration_ChimeChannelConfiguration::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(SharingMessageSpecifics_ChannelConfiguration_ChimeChannelConfiguration, _impl_._has_bits_),
      0, // no _extensions_
      4, 24,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967280,  // skipmap
      offsetof(ParseTableT_, field_entries),
      4,  // num_field_entries
      1,  // num_aux_entries
      offsetof(ParseTableT_, aux_entries),
      class_data,
      nullptr,  // post_loop_handler
      ::_pbi::TcParser::GenericFallbackLite,  // fallback
      #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
      ::_pbi::TcParser::GetTable<::sync_pb::SharingMessageSpecifics_ChannelConfiguration_ChimeChannelConfiguration>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      // optional string representative_target_id = 4;
      {::_pbi::TcParser::FastBS1,
       {34, 2, 0,
        PROTOBUF_FIELD_OFFSET(SharingMessageSpecifics_ChannelConfiguration_ChimeChannelConfiguration, _impl_.representative_target_id_)}},
      // optional bytes device_token = 1;
      {::_pbi::TcParser::FastBS1,
       {10, 0, 0,
        PROTOBUF_FIELD_OFFSET(SharingMessageSpecifics_ChannelConfiguration_ChimeChannelConfiguration, _impl_.device_token_)}},
      // optional .sync_pb.SharingMessageSpecifics.ChannelConfiguration.ChimeChannelConfiguration.ChimeChannelType channel_type = 2;
      {::_pbi::TcParser::FastEvS1,
       {16, 3, 0,
        PROTOBUF_FIELD_OFFSET(SharingMessageSpecifics_ChannelConfiguration_ChimeChannelConfiguration, _impl_.channel_type_)}},
      // optional string type_id = 3;
      {::_pbi::TcParser::FastBS1,
       {26, 1, 0,
        PROTOBUF_FIELD_OFFSET(SharingMessageSpecifics_ChannelConfiguration_ChimeChannelConfiguration, _impl_.type_id_)}},
    }}, {{
      65535, 65535
    }}, {{
      // optional bytes device_token = 1;
      {PROTOBUF_FIELD_OFFSET(SharingMessageSpecifics_ChannelConfiguration_ChimeChannelConfiguration, _impl_.device_token_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional .sync_pb.SharingMessageSpecifics.ChannelConfiguration.ChimeChannelConfiguration.ChimeChannelType channel_type = 2;
      {PROTOBUF_FIELD_OFFSET(SharingMessageSpecifics_ChannelConfiguration_ChimeChannelConfiguration, _impl_.channel_type_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kEnum)},
      // optional string type_id = 3;
      {PROTOBUF_FIELD_OFFSET(SharingMessageSpecifics_ChannelConfiguration_ChimeChannelConfiguration, _impl_.type_id_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional string representative_target_id = 4;
      {PROTOBUF_FIELD_OFFSET(SharingMessageSpecifics_ChannelConfiguration_ChimeChannelConfiguration, _impl_.representative_target_id_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
    }},
    {{
        {::_pbi::FieldAuxEnumData{}, ::sync_pb::SharingMessageSpecifics_ChannelConfiguration_ChimeChannelConfiguration_ChimeChannelType_internal_data_},
    }},
    {{
    }},
  };
}


inline constexpr SharingMessageSpecifics_ChannelConfiguration_ChimeChannelConfiguration::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        device_token_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        type_id_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        representative_target_id_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        channel_type_{static_cast< ::sync_pb::SharingMessageSpecifics_ChannelConfiguration_ChimeChannelConfiguration_ChimeChannelType >(0)} {}

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

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

constexpr SharingMessageCommitError::ParseTableT_ SharingMessageCommitError::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(SharingMessageCommitError, _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::SharingMessageCommitError>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      // optional .sync_pb.SharingMessageCommitError.ErrorCode error_code = 1;
      {::_pbi::TcParser::FastEr0S1,
       {8, 0, 13,
        PROTOBUF_FIELD_OFFSET(SharingMessageCommitError, _impl_.error_code_)}},
    }}, {{
      65535, 65535
    }}, {{
      // optional .sync_pb.SharingMessageCommitError.ErrorCode error_code = 1;
      {PROTOBUF_FIELD_OFFSET(SharingMessageCommitError, _impl_.error_code_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kEnumRange)},
    }},
    {{
        {0, 13},
    }},
    {{
    }},
  };
}


inline constexpr SharingMessageCommitError::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        error_code_{static_cast< ::sync_pb::SharingMessageCommitError_ErrorCode >(0)} {}

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

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

constexpr SharingMessageSpecifics_ChannelConfiguration::ParseTableT_ SharingMessageSpecifics_ChannelConfiguration::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(SharingMessageSpecifics_ChannelConfiguration,
                            _impl_._cached_size_),  // no hasbits
      0, // no _extensions_
      3, 0,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967288,  // skipmap
      offsetof(ParseTableT_, field_entries),
      3,  // num_field_entries
      2,  // num_aux_entries
      offsetof(ParseTableT_, aux_entries),
      class_data,
      nullptr,  // post_loop_handler
      ::_pbi::TcParser::GenericFallbackLite,  // fallback
      #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
      ::_pbi::TcParser::GetTable<::sync_pb::SharingMessageSpecifics_ChannelConfiguration>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      {::_pbi::TcParser::MiniParse, {}},
    }}, {{
      65535, 65535
    }}, {{
      // .sync_pb.SharingMessageSpecifics.ChannelConfiguration.FCMChannelConfiguration fcm = 1;
      {PROTOBUF_FIELD_OFFSET(SharingMessageSpecifics_ChannelConfiguration, _impl_.channel_configuration_.fcm_), _Internal::kOneofCaseOffset + 0, 0, (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
      // bytes server = 2;
      {PROTOBUF_FIELD_OFFSET(SharingMessageSpecifics_ChannelConfiguration, _impl_.channel_configuration_.server_), _Internal::kOneofCaseOffset + 0, 0, (0 | ::_fl::kFcOneof | ::_fl::kBytes | ::_fl::kRepAString)},
      // .sync_pb.SharingMessageSpecifics.ChannelConfiguration.ChimeChannelConfiguration chime = 3;
      {PROTOBUF_FIELD_OFFSET(SharingMessageSpecifics_ChannelConfiguration, _impl_.channel_configuration_.chime_), _Internal::kOneofCaseOffset + 0, 1, (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
    }},
    {{
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::sync_pb::SharingMessageSpecifics_ChannelConfiguration_FCMChannelConfiguration>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::sync_pb::SharingMessageSpecifics_ChannelConfiguration_FCMChannelConfiguration_globals_},
        #endif
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::sync_pb::SharingMessageSpecifics_ChannelConfiguration_ChimeChannelConfiguration>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::sync_pb::SharingMessageSpecifics_ChannelConfiguration_ChimeChannelConfiguration_globals_},
        #endif
    }},
    {{
    }},
  };
}


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

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

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

constexpr SharingMessageSpecifics::ParseTableT_ SharingMessageSpecifics::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(SharingMessageSpecifics, _impl_._has_bits_),
      0, // no _extensions_
      4, 24,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967280,  // 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::SharingMessageSpecifics>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      // optional .sync_pb.UnencryptedSharingMessage unencrypted_payload = 4;
      {::_pbi::TcParser::FastMtS1,
       {34, 3, 1,
        PROTOBUF_FIELD_OFFSET(SharingMessageSpecifics, _impl_.unencrypted_payload_)}},
      // optional string message_id = 1;
      {::_pbi::TcParser::FastBS1,
       {10, 0, 0,
        PROTOBUF_FIELD_OFFSET(SharingMessageSpecifics, _impl_.message_id_)}},
      // optional .sync_pb.SharingMessageSpecifics.ChannelConfiguration channel_configuration = 2;
      {::_pbi::TcParser::FastMtS1,
       {18, 2, 0,
        PROTOBUF_FIELD_OFFSET(SharingMessageSpecifics, _impl_.channel_configuration_)}},
      // optional bytes payload = 3;
      {::_pbi::TcParser::FastBS1,
       {26, 1, 0,
        PROTOBUF_FIELD_OFFSET(SharingMessageSpecifics, _impl_.payload_)}},
    }}, {{
      65535, 65535
    }}, {{
      // optional string message_id = 1;
      {PROTOBUF_FIELD_OFFSET(SharingMessageSpecifics, _impl_.message_id_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional .sync_pb.SharingMessageSpecifics.ChannelConfiguration channel_configuration = 2;
      {PROTOBUF_FIELD_OFFSET(SharingMessageSpecifics, _impl_.channel_configuration_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
      // optional bytes payload = 3;
      {PROTOBUF_FIELD_OFFSET(SharingMessageSpecifics, _impl_.payload_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional .sync_pb.UnencryptedSharingMessage unencrypted_payload = 4;
      {PROTOBUF_FIELD_OFFSET(SharingMessageSpecifics, _impl_.unencrypted_payload_), _Internal::kHasBitsOffset + 3, 1, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
    }},
    {{
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::sync_pb::SharingMessageSpecifics_ChannelConfiguration>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::sync_pb::SharingMessageSpecifics_ChannelConfiguration_globals_},
        #endif
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::sync_pb::UnencryptedSharingMessage>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::sync_pb::UnencryptedSharingMessage_globals_},
        #endif
    }},
    {{
    }},
  };
}


inline constexpr SharingMessageSpecifics::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        message_id_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        payload_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        channel_configuration_{nullptr},
        unencrypted_payload_{nullptr} {}

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

PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PROTOBUF_MESSAGE_GLOBALS_CONST SharingMessageSpecificsGlobalsTypeInternal SharingMessageSpecifics_globals_
        PROTOBUF_MESSAGE_GLOBALS_SECTION(.data.rel.ro);
#if defined(PROTOBUF_CUSTOM_VTABLE)
namespace {
const ::_pbi::ClassData* SharingMessageSpecifics_get_class_data() {
#ifdef PROTOBUF_MESSAGE_GLOBALS
  return SharingMessageSpecifics_globals_.GetClassData();
#else
  return SharingMessageSpecifics_class_data_.base();
#endif  // PROTOBUF_MESSAGE_GLOBALS
}
}  // namespace
#endif  // PROTOBUF_CUSTOM_VTABLE
}  // namespace sync_pb
namespace sync_pb {
PROTOBUF_CONSTINIT const uint32_t SharingMessageSpecifics_ChannelConfiguration_ChimeChannelConfiguration_ChimeChannelType_internal_data_[] = {
    65536u, 32u, 2u, };
static const char SharingMessageSpecifics_ChannelConfiguration_ChimeChannelConfiguration_ChimeChannelType_names[] = {
    "APPLE_PUSH"
    "CHANNEL_TYPE_UNSPECIFIED"
};

static const ::google::protobuf::internal::EnumEntry SharingMessageSpecifics_ChannelConfiguration_ChimeChannelConfiguration_ChimeChannelType_entries[] = {
    {{&SharingMessageSpecifics_ChannelConfiguration_ChimeChannelConfiguration_ChimeChannelType_names[0], 10}, 2},
    {{&SharingMessageSpecifics_ChannelConfiguration_ChimeChannelConfiguration_ChimeChannelType_names[10], 24}, 0},
};

static const int SharingMessageSpecifics_ChannelConfiguration_ChimeChannelConfiguration_ChimeChannelType_entries_by_number[] = {
    1,  // 0 -> CHANNEL_TYPE_UNSPECIFIED
    0,  // 2 -> APPLE_PUSH
};

bool SharingMessageSpecifics_ChannelConfiguration_ChimeChannelConfiguration_ChimeChannelType_Parse(::absl::string_view name,
                                  SharingMessageSpecifics_ChannelConfiguration_ChimeChannelConfiguration_ChimeChannelType* PROTOBUF_NONNULL value) {
  int int_value;
  bool success = ::google::protobuf::internal::LookUpEnumValue(
      SharingMessageSpecifics_ChannelConfiguration_ChimeChannelConfiguration_ChimeChannelType_entries, 2, name, &int_value);
  if (success) {
    *value = static_cast<SharingMessageSpecifics_ChannelConfiguration_ChimeChannelConfiguration_ChimeChannelType>(int_value);
  }
  return success;
}
static ::google::protobuf::internal::ExplicitlyConstructed<::std::string>
    SharingMessageSpecifics_ChannelConfiguration_ChimeChannelConfiguration_ChimeChannelType_strings[2] = {};

const ::std::string& SharingMessageSpecifics_ChannelConfiguration_ChimeChannelConfiguration_ChimeChannelType_Name(SharingMessageSpecifics_ChannelConfiguration_ChimeChannelConfiguration_ChimeChannelType value) {
  static const bool kDummy = ::google::protobuf::internal::InitializeEnumStrings(
      SharingMessageSpecifics_ChannelConfiguration_ChimeChannelConfiguration_ChimeChannelType_entries, SharingMessageSpecifics_ChannelConfiguration_ChimeChannelConfiguration_ChimeChannelType_entries_by_number, 2,
      SharingMessageSpecifics_ChannelConfiguration_ChimeChannelConfiguration_ChimeChannelType_strings);
  (void)kDummy;

  int idx = ::google::protobuf::internal::LookUpEnumName(SharingMessageSpecifics_ChannelConfiguration_ChimeChannelConfiguration_ChimeChannelType_entries,
                                  SharingMessageSpecifics_ChannelConfiguration_ChimeChannelConfiguration_ChimeChannelType_entries_by_number,
                                  2, value);
  return idx == -1 ? ::google::protobuf::internal::GetEmptyString() : SharingMessageSpecifics_ChannelConfiguration_ChimeChannelConfiguration_ChimeChannelType_strings[idx].get();
}
PROTOBUF_CONSTINIT const uint32_t SharingMessageCommitError_ErrorCode_internal_data_[] = {
    917504u, 0u, };
static const char SharingMessageCommitError_ErrorCode_names[] = {
    "DEPRECATED_SYNC_SERVER_OR_AUTH_ERROR"
    "INTERNAL"
    "INVALID_ARGUMENT"
    "NONE"
    "NOT_FOUND"
    "PERMISSION_DENIED"
    "RESOURCE_EXHAUSTED"
    "SYNC_AUTH_ERROR"
    "SYNC_NETWORK_ERROR"
    "SYNC_SERVER_ERROR"
    "SYNC_TIMEOUT"
    "SYNC_TURNED_OFF"
    "UNAUTHENTICATED"
    "UNAVAILABLE"
};

static const ::google::protobuf::internal::EnumEntry SharingMessageCommitError_ErrorCode_entries[] = {
    {{&SharingMessageCommitError_ErrorCode_names[0], 36}, 10},
    {{&SharingMessageCommitError_ErrorCode_names[36], 8}, 3},
    {{&SharingMessageCommitError_ErrorCode_names[44], 16}, 1},
    {{&SharingMessageCommitError_ErrorCode_names[60], 4}, 0},
    {{&SharingMessageCommitError_ErrorCode_names[64], 9}, 2},
    {{&SharingMessageCommitError_ErrorCode_names[73], 17}, 7},
    {{&SharingMessageCommitError_ErrorCode_names[90], 18}, 5},
    {{&SharingMessageCommitError_ErrorCode_names[108], 15}, 13},
    {{&SharingMessageCommitError_ErrorCode_names[123], 18}, 9},
    {{&SharingMessageCommitError_ErrorCode_names[141], 17}, 12},
    {{&SharingMessageCommitError_ErrorCode_names[158], 12}, 11},
    {{&SharingMessageCommitError_ErrorCode_names[170], 15}, 8},
    {{&SharingMessageCommitError_ErrorCode_names[185], 15}, 6},
    {{&SharingMessageCommitError_ErrorCode_names[200], 11}, 4},
};

static const int SharingMessageCommitError_ErrorCode_entries_by_number[] = {
    3,  // 0 -> NONE
    2,  // 1 -> INVALID_ARGUMENT
    4,  // 2 -> NOT_FOUND
    1,  // 3 -> INTERNAL
    13,  // 4 -> UNAVAILABLE
    6,  // 5 -> RESOURCE_EXHAUSTED
    12,  // 6 -> UNAUTHENTICATED
    5,  // 7 -> PERMISSION_DENIED
    11,  // 8 -> SYNC_TURNED_OFF
    8,  // 9 -> SYNC_NETWORK_ERROR
    0,  // 10 -> DEPRECATED_SYNC_SERVER_OR_AUTH_ERROR
    10,  // 11 -> SYNC_TIMEOUT
    9,  // 12 -> SYNC_SERVER_ERROR
    7,  // 13 -> SYNC_AUTH_ERROR
};

bool SharingMessageCommitError_ErrorCode_Parse(::absl::string_view name,
                                  SharingMessageCommitError_ErrorCode* PROTOBUF_NONNULL value) {
  int int_value;
  bool success = ::google::protobuf::internal::LookUpEnumValue(
      SharingMessageCommitError_ErrorCode_entries, 14, name, &int_value);
  if (success) {
    *value = static_cast<SharingMessageCommitError_ErrorCode>(int_value);
  }
  return success;
}
static ::google::protobuf::internal::ExplicitlyConstructed<::std::string>
    SharingMessageCommitError_ErrorCode_strings[14] = {};

const ::std::string& SharingMessageCommitError_ErrorCode_Name(SharingMessageCommitError_ErrorCode value) {
  static const bool kDummy = ::google::protobuf::internal::InitializeEnumStrings(
      SharingMessageCommitError_ErrorCode_entries, SharingMessageCommitError_ErrorCode_entries_by_number, 14,
      SharingMessageCommitError_ErrorCode_strings);
  (void)kDummy;

  int idx = ::google::protobuf::internal::LookUpEnumName(SharingMessageCommitError_ErrorCode_entries,
                                  SharingMessageCommitError_ErrorCode_entries_by_number,
                                  14, value);
  return idx == -1 ? ::google::protobuf::internal::GetEmptyString() : SharingMessageCommitError_ErrorCode_strings[idx].get();
}
// ===================================================================

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

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

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

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

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

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite SharingMessageSpecifics_ChannelConfiguration_FCMChannelConfiguration_class_data_ =
    SharingMessageSpecifics_ChannelConfiguration_FCMChannelConfiguration::InternalGenerateClassData_(SharingMessageSpecifics_ChannelConfiguration_FCMChannelConfiguration_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
SharingMessageSpecifics_ChannelConfiguration_FCMChannelConfiguration::GetClassData() const {
  return SharingMessageSpecifics_ChannelConfiguration_FCMChannelConfiguration_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
SharingMessageSpecifics_ChannelConfiguration_FCMChannelConfiguration::GetClassData() const {
  return SharingMessageSpecifics_ChannelConfiguration_FCMChannelConfiguration_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const SharingMessageSpecifics_ChannelConfiguration_FCMChannelConfiguration::ParseTableT_
    SharingMessageSpecifics_ChannelConfiguration_FCMChannelConfiguration::_table_ =
        SharingMessageSpecifics_ChannelConfiguration_FCMChannelConfiguration::InternalGenerateParseTable_(SharingMessageSpecifics_ChannelConfiguration_FCMChannelConfiguration_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void SharingMessageSpecifics_ChannelConfiguration_FCMChannelConfiguration::Clear() {
// @@protoc_insertion_point(message_clear_start:sync_pb.SharingMessageSpecifics.ChannelConfiguration.FCMChannelConfiguration)
  ::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_.token_.ClearNonDefaultToEmpty();
  }
  if (BatchCheckHasBit(cached_has_bits, 0x00000006U)) {
    ::memset(&_impl_.ttl_, 0, static_cast<::size_t>(
        reinterpret_cast<char*>(&_impl_.priority_) -
        reinterpret_cast<char*>(&_impl_.ttl_)) + sizeof(_impl_.priority_));
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

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

  // optional int32 ttl = 2;
  if (CheckHasBit(cached_has_bits, 0x00000002U)) {
    target =
        ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<2>(
            stream, this_._internal_ttl(), target);
  }

  // optional int32 priority = 3;
  if (CheckHasBit(cached_has_bits, 0x00000004U)) {
    target =
        ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<3>(
            stream, this_._internal_priority(), 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.SharingMessageSpecifics.ChannelConfiguration.FCMChannelConfiguration)
  return target;
}

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

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

  ::_pbi::Prefetch5LinesFrom7Lines(&this_);
  cached_has_bits = this_._impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
    // optional string token = 1;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_token());
    }
    // optional int32 ttl = 2;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
          this_._internal_ttl());
    }
    // optional int32 priority = 3;
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
          this_._internal_priority());
    }
  }
  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 SharingMessageSpecifics_ChannelConfiguration_FCMChannelConfiguration::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<SharingMessageSpecifics_ChannelConfiguration_FCMChannelConfiguration*>(&to_msg);
  auto& from = static_cast<const SharingMessageSpecifics_ChannelConfiguration_FCMChannelConfiguration&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  // @@protoc_insertion_point(class_specific_merge_from_start:sync_pb.SharingMessageSpecifics.ChannelConfiguration.FCMChannelConfiguration)
  ABSL_DCHECK_NE(&from, _this);
  ::uint32_t cached_has_bits = 0;
  (void)cached_has_bits;

  cached_has_bits = from._impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _this->_internal_set_token(from._internal_token());
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _this->_impl_.ttl_ = from._impl_.ttl_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _this->_impl_.priority_ = from._impl_.priority_;
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


void SharingMessageSpecifics_ChannelConfiguration_FCMChannelConfiguration::InternalSwap(SharingMessageSpecifics_ChannelConfiguration_FCMChannelConfiguration* 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_.token_, &other->_impl_.token_, arena);
  ::google::protobuf::internal::memswap<
      PROTOBUF_FIELD_OFFSET(SharingMessageSpecifics_ChannelConfiguration_FCMChannelConfiguration, _impl_.priority_)
      + sizeof(SharingMessageSpecifics_ChannelConfiguration_FCMChannelConfiguration::_impl_.priority_)
      - PROTOBUF_FIELD_OFFSET(SharingMessageSpecifics_ChannelConfiguration_FCMChannelConfiguration, _impl_.ttl_)>(
          reinterpret_cast<char*>(&_impl_.ttl_),
          reinterpret_cast<char*>(&other->_impl_.ttl_));
}

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

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

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

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

  // @@protoc_insertion_point(copy_constructor:sync_pb.SharingMessageSpecifics.ChannelConfiguration.ChimeChannelConfiguration)
}
PROTOBUF_NDEBUG_INLINE SharingMessageSpecifics_ChannelConfiguration_ChimeChannelConfiguration::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0},
        device_token_(arena),
        type_id_(arena),
        representative_target_id_(arena) {}

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

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite SharingMessageSpecifics_ChannelConfiguration_ChimeChannelConfiguration_class_data_ =
    SharingMessageSpecifics_ChannelConfiguration_ChimeChannelConfiguration::InternalGenerateClassData_(SharingMessageSpecifics_ChannelConfiguration_ChimeChannelConfiguration_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
SharingMessageSpecifics_ChannelConfiguration_ChimeChannelConfiguration::GetClassData() const {
  return SharingMessageSpecifics_ChannelConfiguration_ChimeChannelConfiguration_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
SharingMessageSpecifics_ChannelConfiguration_ChimeChannelConfiguration::GetClassData() const {
  return SharingMessageSpecifics_ChannelConfiguration_ChimeChannelConfiguration_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const SharingMessageSpecifics_ChannelConfiguration_ChimeChannelConfiguration::ParseTableT_
    SharingMessageSpecifics_ChannelConfiguration_ChimeChannelConfiguration::_table_ =
        SharingMessageSpecifics_ChannelConfiguration_ChimeChannelConfiguration::InternalGenerateParseTable_(SharingMessageSpecifics_ChannelConfiguration_ChimeChannelConfiguration_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void SharingMessageSpecifics_ChannelConfiguration_ChimeChannelConfiguration::Clear() {
// @@protoc_insertion_point(message_clear_start:sync_pb.SharingMessageSpecifics.ChannelConfiguration.ChimeChannelConfiguration)
  ::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_.device_token_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _impl_.type_id_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _impl_.representative_target_id_.ClearNonDefaultToEmpty();
    }
  }
  _impl_.channel_type_ = 0;
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

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

  // optional .sync_pb.SharingMessageSpecifics.ChannelConfiguration.ChimeChannelConfiguration.ChimeChannelType channel_type = 2;
  if (CheckHasBit(cached_has_bits, 0x00000008U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteEnumToArray(
        2, this_._internal_channel_type(), target);
  }

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

  // optional string representative_target_id = 4;
  if (CheckHasBit(cached_has_bits, 0x00000004U)) {
    const ::std::string& _s = this_._internal_representative_target_id();
    target = stream->WriteStringMaybeAliased(4, _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.SharingMessageSpecifics.ChannelConfiguration.ChimeChannelConfiguration)
  return target;
}

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

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

  ::_pbi::Prefetch5LinesFrom7Lines(&this_);
  cached_has_bits = this_._impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) {
    // optional bytes device_token = 1;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize(
                                      this_._internal_device_token());
    }
    // optional string type_id = 3;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_type_id());
    }
    // optional string representative_target_id = 4;
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_representative_target_id());
    }
    // optional .sync_pb.SharingMessageSpecifics.ChannelConfiguration.ChimeChannelConfiguration.ChimeChannelType channel_type = 2;
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      total_size += 1 +
                    ::_pbi::WireFormatLite::EnumSize(this_._internal_channel_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 SharingMessageSpecifics_ChannelConfiguration_ChimeChannelConfiguration::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<SharingMessageSpecifics_ChannelConfiguration_ChimeChannelConfiguration*>(&to_msg);
  auto& from = static_cast<const SharingMessageSpecifics_ChannelConfiguration_ChimeChannelConfiguration&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  // @@protoc_insertion_point(class_specific_merge_from_start:sync_pb.SharingMessageSpecifics.ChannelConfiguration.ChimeChannelConfiguration)
  ABSL_DCHECK_NE(&from, _this);
  ::uint32_t cached_has_bits = 0;
  (void)cached_has_bits;

  cached_has_bits = from._impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _this->_internal_set_device_token(from._internal_device_token());
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _this->_internal_set_type_id(from._internal_type_id());
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _this->_internal_set_representative_target_id(from._internal_representative_target_id());
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      _this->_impl_.channel_type_ = from._impl_.channel_type_;
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


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

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

void SharingMessageSpecifics_ChannelConfiguration::set_allocated_fcm(::sync_pb::SharingMessageSpecifics_ChannelConfiguration_FCMChannelConfiguration* PROTOBUF_NULLABLE fcm) {
  ::google::protobuf::Arena* message_arena = GetArena();
  clear_channel_configuration();
  if (fcm) {
    ::google::protobuf::Arena* submessage_arena = fcm->GetArena();
    if (message_arena != submessage_arena) {
      fcm = ::google::protobuf::internal::GetOwnedMessage(message_arena, fcm, submessage_arena);
    }
    set_has_fcm();
    _impl_.channel_configuration_.fcm_ = fcm;
  }
  // @@protoc_insertion_point(field_set_allocated:sync_pb.SharingMessageSpecifics.ChannelConfiguration.fcm)
}
void SharingMessageSpecifics_ChannelConfiguration::set_allocated_chime(::sync_pb::SharingMessageSpecifics_ChannelConfiguration_ChimeChannelConfiguration* PROTOBUF_NULLABLE chime) {
  ::google::protobuf::Arena* message_arena = GetArena();
  clear_channel_configuration();
  if (chime) {
    ::google::protobuf::Arena* submessage_arena = chime->GetArena();
    if (message_arena != submessage_arena) {
      chime = ::google::protobuf::internal::GetOwnedMessage(message_arena, chime, submessage_arena);
    }
    set_has_chime();
    _impl_.channel_configuration_.chime_ = chime;
  }
  // @@protoc_insertion_point(field_set_allocated:sync_pb.SharingMessageSpecifics.ChannelConfiguration.chime)
}
SharingMessageSpecifics_ChannelConfiguration::SharingMessageSpecifics_ChannelConfiguration(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, SharingMessageSpecifics_ChannelConfiguration_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:sync_pb.SharingMessageSpecifics.ChannelConfiguration)
}
PROTOBUF_NDEBUG_INLINE SharingMessageSpecifics_ChannelConfiguration::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::SharingMessageSpecifics_ChannelConfiguration& from_msg)
      : channel_configuration_{},
        _cached_size_{0},
        _oneof_case_{from._oneof_case_[0]} {}

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

#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharingMessageSpecifics_ChannelConfiguration* const _this = this;
  (void)_this;
  _internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
  new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
  switch (channel_configuration_case()) {
    case CHANNEL_CONFIGURATION_NOT_SET:
      break;
      case kFcm:
        _impl_.channel_configuration_.fcm_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.channel_configuration_.fcm_);
        break;
      case kServer:
        new (&_impl_.channel_configuration_.server_) decltype(_impl_.channel_configuration_.server_){arena, from._impl_.channel_configuration_.server_};
        break;
      case kChime:
        _impl_.channel_configuration_.chime_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.channel_configuration_.chime_);
        break;
  }

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

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

void SharingMessageSpecifics_ChannelConfiguration::clear_channel_configuration() {
// @@protoc_insertion_point(one_of_clear_start:sync_pb.SharingMessageSpecifics.ChannelConfiguration)
  ::google::protobuf::internal::TSanWrite(&_impl_);
  switch (channel_configuration_case()) {
    case kFcm: {
      if (GetArena() == nullptr) {
        delete _impl_.channel_configuration_.fcm_;
      } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
        if (_impl_.channel_configuration_.fcm_ != nullptr) {
          _impl_.channel_configuration_.fcm_->Clear();
        }
      }
      break;
    }
    case kServer: {
      _impl_.channel_configuration_.server_.Destroy();
      break;
    }
    case kChime: {
      if (GetArena() == nullptr) {
        delete _impl_.channel_configuration_.chime_;
      } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
        if (_impl_.channel_configuration_.chime_ != nullptr) {
          _impl_.channel_configuration_.chime_->Clear();
        }
      }
      break;
    }
    case CHANNEL_CONFIGURATION_NOT_SET: {
      break;
    }
  }
  _impl_._oneof_case_[0] = CHANNEL_CONFIGURATION_NOT_SET;
}


#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite SharingMessageSpecifics_ChannelConfiguration_class_data_ =
    SharingMessageSpecifics_ChannelConfiguration::InternalGenerateClassData_(SharingMessageSpecifics_ChannelConfiguration_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
SharingMessageSpecifics_ChannelConfiguration::GetClassData() const {
  return SharingMessageSpecifics_ChannelConfiguration_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
SharingMessageSpecifics_ChannelConfiguration::GetClassData() const {
  return SharingMessageSpecifics_ChannelConfiguration_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const SharingMessageSpecifics_ChannelConfiguration::ParseTableT_
    SharingMessageSpecifics_ChannelConfiguration::_table_ =
        SharingMessageSpecifics_ChannelConfiguration::InternalGenerateParseTable_(SharingMessageSpecifics_ChannelConfiguration_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void SharingMessageSpecifics_ChannelConfiguration::Clear() {
// @@protoc_insertion_point(message_clear_start:sync_pb.SharingMessageSpecifics.ChannelConfiguration)
  ::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_channel_configuration();
  _internal_metadata_.Clear<::std::string>();
}

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

  switch (this_.channel_configuration_case()) {
    case kFcm: {
      target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
          1, *this_._impl_.channel_configuration_.fcm_, this_._impl_.channel_configuration_.fcm_->GetCachedSize(), target,
          stream);
      break;
    }
    case kServer: {
      const ::std::string& _s = this_._internal_server();
      target = stream->WriteBytesMaybeAliased(2, _s, target);
      break;
    }
    case kChime: {
      target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
          3, *this_._impl_.channel_configuration_.chime_, this_._impl_.channel_configuration_.chime_->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.SharingMessageSpecifics.ChannelConfiguration)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t SharingMessageSpecifics_ChannelConfiguration::ByteSizeLong(const MessageLite& base) {
  const SharingMessageSpecifics_ChannelConfiguration& this_ = static_cast<const SharingMessageSpecifics_ChannelConfiguration&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t SharingMessageSpecifics_ChannelConfiguration::ByteSizeLong() const {
  const SharingMessageSpecifics_ChannelConfiguration& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:sync_pb.SharingMessageSpecifics.ChannelConfiguration)
  ::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_.channel_configuration_case()) {
    // .sync_pb.SharingMessageSpecifics.ChannelConfiguration.FCMChannelConfiguration fcm = 1;
    case kFcm: {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.channel_configuration_.fcm_);
      break;
    }
    // bytes server = 2;
    case kServer: {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize(
                                      this_._internal_server());
      break;
    }
    // .sync_pb.SharingMessageSpecifics.ChannelConfiguration.ChimeChannelConfiguration chime = 3;
    case kChime: {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.channel_configuration_.chime_);
      break;
    }
    case CHANNEL_CONFIGURATION_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 SharingMessageSpecifics_ChannelConfiguration::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<SharingMessageSpecifics_ChannelConfiguration*>(&to_msg);
  auto& from = static_cast<const SharingMessageSpecifics_ChannelConfiguration&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  ::google::protobuf::Arena* arena = _this->GetArena();
  // @@protoc_insertion_point(class_specific_merge_from_start:sync_pb.SharingMessageSpecifics.ChannelConfiguration)
  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_channel_configuration();
      }
      _this->_impl_._oneof_case_[0] = oneof_from_case;
    }

    switch (oneof_from_case) {
      case kFcm: {
        if (oneof_needs_init) {
          _this->_impl_.channel_configuration_.fcm_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.channel_configuration_.fcm_);
        } else {
          _this->_impl_.channel_configuration_.fcm_->MergeFrom(*from._impl_.channel_configuration_.fcm_);
        }
        break;
      }
      case kServer: {
        if (oneof_needs_init) {
          _this->_impl_.channel_configuration_.server_.InitDefault();
        }
        _this->_impl_.channel_configuration_.server_.Set(from._internal_server(), arena);
        break;
      }
      case kChime: {
        if (oneof_needs_init) {
          _this->_impl_.channel_configuration_.chime_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.channel_configuration_.chime_);
        } else {
          _this->_impl_.channel_configuration_.chime_->MergeFrom(*from._impl_.channel_configuration_.chime_);
        }
        break;
      }
      case CHANNEL_CONFIGURATION_NOT_SET:
        break;
    }
  }
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


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

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

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

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

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

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

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

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite SharingMessageSpecifics_class_data_ =
    SharingMessageSpecifics::InternalGenerateClassData_(SharingMessageSpecifics_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
SharingMessageSpecifics::GetClassData() const {
  return SharingMessageSpecifics_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
SharingMessageSpecifics::GetClassData() const {
  return SharingMessageSpecifics_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const SharingMessageSpecifics::ParseTableT_
    SharingMessageSpecifics::_table_ =
        SharingMessageSpecifics::InternalGenerateParseTable_(SharingMessageSpecifics_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void SharingMessageSpecifics::Clear() {
// @@protoc_insertion_point(message_clear_start:sync_pb.SharingMessageSpecifics)
  ::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_.message_id_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _impl_.payload_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      ABSL_DCHECK(_impl_.channel_configuration_ != nullptr);
      _impl_.channel_configuration_->Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      ABSL_DCHECK(_impl_.unencrypted_payload_ != nullptr);
      _impl_.unencrypted_payload_->Clear();
    }
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

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

  // optional .sync_pb.SharingMessageSpecifics.ChannelConfiguration channel_configuration = 2;
  if (CheckHasBit(cached_has_bits, 0x00000004U)) {
    target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
        2, *this_._impl_.channel_configuration_, this_._impl_.channel_configuration_->GetCachedSize(), target,
        stream);
  }

  // optional bytes payload = 3;
  if (CheckHasBit(cached_has_bits, 0x00000002U)) {
    const ::std::string& _s = this_._internal_payload();
    target = stream->WriteBytesMaybeAliased(3, _s, target);
  }

  // optional .sync_pb.UnencryptedSharingMessage unencrypted_payload = 4;
  if (CheckHasBit(cached_has_bits, 0x00000008U)) {
    target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
        4, *this_._impl_.unencrypted_payload_, this_._impl_.unencrypted_payload_->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.SharingMessageSpecifics)
  return target;
}

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

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

  ::_pbi::Prefetch5LinesFrom7Lines(&this_);
  cached_has_bits = this_._impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) {
    // optional string message_id = 1;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_message_id());
    }
    // optional bytes payload = 3;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize(
                                      this_._internal_payload());
    }
    // optional .sync_pb.SharingMessageSpecifics.ChannelConfiguration channel_configuration = 2;
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.channel_configuration_);
    }
    // optional .sync_pb.UnencryptedSharingMessage unencrypted_payload = 4;
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.unencrypted_payload_);
    }
  }
  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 SharingMessageSpecifics::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<SharingMessageSpecifics*>(&to_msg);
  auto& from = static_cast<const SharingMessageSpecifics&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  ::google::protobuf::Arena* arena = _this->GetArena();
  // @@protoc_insertion_point(class_specific_merge_from_start:sync_pb.SharingMessageSpecifics)
  ABSL_DCHECK_NE(&from, _this);
  ::uint32_t cached_has_bits = 0;
  (void)cached_has_bits;

  cached_has_bits = from._impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _this->_internal_set_message_id(from._internal_message_id());
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _this->_internal_set_payload(from._internal_payload());
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      ABSL_DCHECK(from._impl_.channel_configuration_ != nullptr);
      if (_this->_impl_.channel_configuration_ == nullptr) {
        _this->_impl_.channel_configuration_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.channel_configuration_);
      } else {
        _this->_impl_.channel_configuration_->MergeFrom(*from._impl_.channel_configuration_);
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      ABSL_DCHECK(from._impl_.unencrypted_payload_ != nullptr);
      if (_this->_impl_.unencrypted_payload_ == nullptr) {
        _this->_impl_.unencrypted_payload_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.unencrypted_payload_);
      } else {
        _this->_impl_.unencrypted_payload_->MergeFrom(*from._impl_.unencrypted_payload_);
      }
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


void SharingMessageSpecifics::InternalSwap(SharingMessageSpecifics* 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_.message_id_, &other->_impl_.message_id_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.payload_, &other->_impl_.payload_, arena);
  ::google::protobuf::internal::memswap<
      PROTOBUF_FIELD_OFFSET(SharingMessageSpecifics, _impl_.unencrypted_payload_)
      + sizeof(SharingMessageSpecifics::_impl_.unencrypted_payload_)
      - PROTOBUF_FIELD_OFFSET(SharingMessageSpecifics, _impl_.channel_configuration_)>(
          reinterpret_cast<char*>(&_impl_.channel_configuration_),
          reinterpret_cast<char*>(&other->_impl_.channel_configuration_));
}

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

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

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

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

  _impl_.error_code_ = 0;
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

  cached_has_bits = this_._impl_._has_bits_[0];
  // optional .sync_pb.SharingMessageCommitError.ErrorCode error_code = 1;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteEnumToArray(
        1, this_._internal_error_code(), 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.SharingMessageCommitError)
  return target;
}

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


void SharingMessageCommitError::InternalSwap(SharingMessageCommitError* 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_.error_code_, other->_impl_.error_code_);
}

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