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

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

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


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

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

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

constexpr AppNotificationSettings::ParseTableT_ AppNotificationSettings::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(AppNotificationSettings, _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::AppNotificationSettings>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      {::_pbi::TcParser::MiniParse, {}},
      // optional bool initial_setup_done = 1 [deprecated = true];
      {::_pbi::TcParser::FastV8S1,
       {8, 1, 0,
        PROTOBUF_FIELD_OFFSET(AppNotificationSettings, _impl_.initial_setup_done_)}},
      // optional bool disabled = 2;
      {::_pbi::TcParser::FastV8S1,
       {16, 2, 0,
        PROTOBUF_FIELD_OFFSET(AppNotificationSettings, _impl_.disabled_)}},
      // optional string oauth_client_id = 3;
      {::_pbi::TcParser::FastBS1,
       {26, 0, 0,
        PROTOBUF_FIELD_OFFSET(AppNotificationSettings, _impl_.oauth_client_id_)}},
    }}, {{
      65535, 65535
    }}, {{
      // optional bool initial_setup_done = 1 [deprecated = true];
      {PROTOBUF_FIELD_OFFSET(AppNotificationSettings, _impl_.initial_setup_done_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)},
      // optional bool disabled = 2;
      {PROTOBUF_FIELD_OFFSET(AppNotificationSettings, _impl_.disabled_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)},
      // optional string oauth_client_id = 3;
      {PROTOBUF_FIELD_OFFSET(AppNotificationSettings, _impl_.oauth_client_id_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
    }},
    // no aux_entries
    {{
    }},
  };
}


inline constexpr AppNotificationSettings::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        oauth_client_id_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        initial_setup_done_{false},
        disabled_{false} {}

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

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

constexpr AppSpecifics::ParseTableT_ AppSpecifics::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(AppSpecifics, _impl_._has_bits_),
      0, // no _extensions_
      11, 120,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294965248,  // skipmap
      offsetof(ParseTableT_, field_entries),
      11,  // num_field_entries
      4,  // num_aux_entries
      offsetof(ParseTableT_, aux_entries),
      class_data,
      nullptr,  // post_loop_handler
      ::_pbi::TcParser::GenericFallbackLite,  // fallback
      #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
      ::_pbi::TcParser::GetTable<::sync_pb::AppSpecifics>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      {::_pbi::TcParser::MiniParse, {}},
      // optional .sync_pb.ExtensionSpecifics extension = 1;
      {::_pbi::TcParser::FastMtS1,
       {10, 7, 0,
        PROTOBUF_FIELD_OFFSET(AppSpecifics, _impl_.extension_)}},
      // optional .sync_pb.AppNotificationSettings notification_settings = 2;
      {::_pbi::TcParser::FastMtS1,
       {18, 8, 1,
        PROTOBUF_FIELD_OFFSET(AppSpecifics, _impl_.notification_settings_)}},
      // optional string app_launch_ordinal = 3;
      {::_pbi::TcParser::FastBS1,
       {26, 1, 0,
        PROTOBUF_FIELD_OFFSET(AppSpecifics, _impl_.app_launch_ordinal_)}},
      // optional string page_ordinal = 4;
      {::_pbi::TcParser::FastBS1,
       {34, 2, 0,
        PROTOBUF_FIELD_OFFSET(AppSpecifics, _impl_.page_ordinal_)}},
      // optional .sync_pb.AppSpecifics.LaunchType launch_type = 5;
      {::_pbi::TcParser::FastEr0S1,
       {40, 9, 3,
        PROTOBUF_FIELD_OFFSET(AppSpecifics, _impl_.launch_type_)}},
      // optional string bookmark_app_url = 6 [deprecated = true];
      {::_pbi::TcParser::FastBS1,
       {50, 3, 0,
        PROTOBUF_FIELD_OFFSET(AppSpecifics, _impl_.bookmark_app_url_)}},
      // optional string bookmark_app_description = 7 [deprecated = true];
      {::_pbi::TcParser::FastBS1,
       {58, 4, 0,
        PROTOBUF_FIELD_OFFSET(AppSpecifics, _impl_.bookmark_app_description_)}},
      // optional string bookmark_app_icon_color = 8 [deprecated = true];
      {::_pbi::TcParser::FastBS1,
       {66, 5, 0,
        PROTOBUF_FIELD_OFFSET(AppSpecifics, _impl_.bookmark_app_icon_color_)}},
      // repeated .sync_pb.LinkedAppIconInfo linked_app_icons = 9;
      {::_pbi::TcParser::FastMtR1,
       {74, 0, 2,
        PROTOBUF_FIELD_OFFSET(AppSpecifics, _impl_.linked_app_icons_)}},
      // optional string bookmark_app_scope = 10 [deprecated = true];
      {::_pbi::TcParser::FastBS1,
       {82, 6, 0,
        PROTOBUF_FIELD_OFFSET(AppSpecifics, _impl_.bookmark_app_scope_)}},
      // optional uint32 bookmark_app_theme_color = 11 [deprecated = true];
      {::_pbi::TcParser::FastV32S1,
       {88, 10, 0,
        PROTOBUF_FIELD_OFFSET(AppSpecifics, _impl_.bookmark_app_theme_color_)}},
      {::_pbi::TcParser::MiniParse, {}},
      {::_pbi::TcParser::MiniParse, {}},
      {::_pbi::TcParser::MiniParse, {}},
      {::_pbi::TcParser::MiniParse, {}},
    }}, {{
      65535, 65535
    }}, {{
      // optional .sync_pb.ExtensionSpecifics extension = 1;
      {PROTOBUF_FIELD_OFFSET(AppSpecifics, _impl_.extension_), _Internal::kHasBitsOffset + 7, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
      // optional .sync_pb.AppNotificationSettings notification_settings = 2;
      {PROTOBUF_FIELD_OFFSET(AppSpecifics, _impl_.notification_settings_), _Internal::kHasBitsOffset + 8, 1, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
      // optional string app_launch_ordinal = 3;
      {PROTOBUF_FIELD_OFFSET(AppSpecifics, _impl_.app_launch_ordinal_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional string page_ordinal = 4;
      {PROTOBUF_FIELD_OFFSET(AppSpecifics, _impl_.page_ordinal_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional .sync_pb.AppSpecifics.LaunchType launch_type = 5;
      {PROTOBUF_FIELD_OFFSET(AppSpecifics, _impl_.launch_type_), _Internal::kHasBitsOffset + 9, 3, (0 | ::_fl::kFcOptional | ::_fl::kEnumRange)},
      // optional string bookmark_app_url = 6 [deprecated = true];
      {PROTOBUF_FIELD_OFFSET(AppSpecifics, _impl_.bookmark_app_url_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional string bookmark_app_description = 7 [deprecated = true];
      {PROTOBUF_FIELD_OFFSET(AppSpecifics, _impl_.bookmark_app_description_), _Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional string bookmark_app_icon_color = 8 [deprecated = true];
      {PROTOBUF_FIELD_OFFSET(AppSpecifics, _impl_.bookmark_app_icon_color_), _Internal::kHasBitsOffset + 5, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // repeated .sync_pb.LinkedAppIconInfo linked_app_icons = 9;
      {PROTOBUF_FIELD_OFFSET(AppSpecifics, _impl_.linked_app_icons_), _Internal::kHasBitsOffset + 0, 2, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
      // optional string bookmark_app_scope = 10 [deprecated = true];
      {PROTOBUF_FIELD_OFFSET(AppSpecifics, _impl_.bookmark_app_scope_), _Internal::kHasBitsOffset + 6, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional uint32 bookmark_app_theme_color = 11 [deprecated = true];
      {PROTOBUF_FIELD_OFFSET(AppSpecifics, _impl_.bookmark_app_theme_color_), _Internal::kHasBitsOffset + 10, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
    }},
    {{
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::sync_pb::ExtensionSpecifics>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::sync_pb::ExtensionSpecifics_globals_},
        #endif
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::sync_pb::AppNotificationSettings>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::sync_pb::AppNotificationSettings_globals_},
        #endif
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::sync_pb::LinkedAppIconInfo>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::sync_pb::LinkedAppIconInfo_globals_},
        #endif
        {0, 3},
    }},
    {{
    }},
  };
}


inline constexpr AppSpecifics::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        linked_app_icons_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::sync_pb::AppSpecifics,
            PROTOBUF_FIELD_OFFSET(::sync_pb::AppSpecifics, _impl_.linked_app_icons_)>()
         }
        ,
        app_launch_ordinal_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        page_ordinal_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        bookmark_app_url_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        bookmark_app_description_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        bookmark_app_icon_color_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        bookmark_app_scope_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        extension_{nullptr},
        notification_settings_{nullptr},
        launch_type_{static_cast< ::sync_pb::AppSpecifics_LaunchType >(0)},
        bookmark_app_theme_color_{0u} {}

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

PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PROTOBUF_MESSAGE_GLOBALS_CONST AppSpecificsGlobalsTypeInternal AppSpecifics_globals_
        PROTOBUF_MESSAGE_GLOBALS_SECTION(.data.rel.ro);
#if defined(PROTOBUF_CUSTOM_VTABLE)
namespace {
const ::_pbi::ClassData* AppSpecifics_get_class_data() {
#ifdef PROTOBUF_MESSAGE_GLOBALS
  return AppSpecifics_globals_.GetClassData();
#else
  return AppSpecifics_class_data_.base();
#endif  // PROTOBUF_MESSAGE_GLOBALS
}
}  // namespace
#endif  // PROTOBUF_CUSTOM_VTABLE
}  // namespace sync_pb
namespace sync_pb {
PROTOBUF_CONSTINIT const uint32_t AppSpecifics_LaunchType_internal_data_[] = {
    262144u, 0u, };
static const char AppSpecifics_LaunchType_names[] = {
    "FULLSCREEN"
    "PINNED"
    "REGULAR"
    "WINDOW"
};

static const ::google::protobuf::internal::EnumEntry AppSpecifics_LaunchType_entries[] = {
    {{&AppSpecifics_LaunchType_names[0], 10}, 2},
    {{&AppSpecifics_LaunchType_names[10], 6}, 0},
    {{&AppSpecifics_LaunchType_names[16], 7}, 1},
    {{&AppSpecifics_LaunchType_names[23], 6}, 3},
};

static const int AppSpecifics_LaunchType_entries_by_number[] = {
    1,  // 0 -> PINNED
    2,  // 1 -> REGULAR
    0,  // 2 -> FULLSCREEN
    3,  // 3 -> WINDOW
};

bool AppSpecifics_LaunchType_Parse(::absl::string_view name,
                                  AppSpecifics_LaunchType* PROTOBUF_NONNULL value) {
  int int_value;
  bool success = ::google::protobuf::internal::LookUpEnumValue(
      AppSpecifics_LaunchType_entries, 4, name, &int_value);
  if (success) {
    *value = static_cast<AppSpecifics_LaunchType>(int_value);
  }
  return success;
}
static ::google::protobuf::internal::ExplicitlyConstructed<::std::string>
    AppSpecifics_LaunchType_strings[4] = {};

const ::std::string& AppSpecifics_LaunchType_Name(AppSpecifics_LaunchType value) {
  static const bool kDummy = ::google::protobuf::internal::InitializeEnumStrings(
      AppSpecifics_LaunchType_entries, AppSpecifics_LaunchType_entries_by_number, 4,
      AppSpecifics_LaunchType_strings);
  (void)kDummy;

  int idx = ::google::protobuf::internal::LookUpEnumName(AppSpecifics_LaunchType_entries,
                                  AppSpecifics_LaunchType_entries_by_number,
                                  4, value);
  return idx == -1 ? ::google::protobuf::internal::GetEmptyString() : AppSpecifics_LaunchType_strings[idx].get();
}
// ===================================================================

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

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

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

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

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

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite AppNotificationSettings_class_data_ =
    AppNotificationSettings::InternalGenerateClassData_(AppNotificationSettings_globals_._default);

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

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

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

  // optional bool disabled = 2;
  if (CheckHasBit(cached_has_bits, 0x00000004U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteBoolToArray(
        2, this_._internal_disabled(), target);
  }

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

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

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

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

  ::_pbi::Prefetch5LinesFrom7Lines(&this_);
  cached_has_bits = this_._impl_._has_bits_[0];
  total_size += ::absl::popcount(0x00000006U & cached_has_bits) * 2;
   {
    // optional string oauth_client_id = 3;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_oauth_client_id());
    }
  }
  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 AppNotificationSettings::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<AppNotificationSettings*>(&to_msg);
  auto& from = static_cast<const AppNotificationSettings&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  // @@protoc_insertion_point(class_specific_merge_from_start:sync_pb.AppNotificationSettings)
  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_oauth_client_id(from._internal_oauth_client_id());
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _this->_impl_.initial_setup_done_ = from._impl_.initial_setup_done_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _this->_impl_.disabled_ = from._impl_.disabled_;
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


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

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

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

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

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

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

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

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite LinkedAppIconInfo_class_data_ =
    LinkedAppIconInfo::InternalGenerateClassData_(LinkedAppIconInfo_globals_._default);

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

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

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

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

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

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

  ::_pbi::Prefetch5LinesFrom7Lines(&this_);
  cached_has_bits = this_._impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
    // optional string url = 1;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_url());
    }
    // optional uint32 size = 2;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
          this_._internal_size());
    }
  }
  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 LinkedAppIconInfo::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<LinkedAppIconInfo*>(&to_msg);
  auto& from = static_cast<const LinkedAppIconInfo&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  // @@protoc_insertion_point(class_specific_merge_from_start:sync_pb.LinkedAppIconInfo)
  ABSL_DCHECK_NE(&from, _this);
  ::uint32_t cached_has_bits = 0;
  (void)cached_has_bits;

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

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


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

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

void AppSpecifics::clear_extension() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (_impl_.extension_ != nullptr) _impl_.extension_->Clear();
  ClearHasBit(_impl_._has_bits_[0], 0x00000080U);
}
AppSpecifics::AppSpecifics(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, AppSpecifics_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:sync_pb.AppSpecifics)
}
PROTOBUF_NDEBUG_INLINE AppSpecifics::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::AppSpecifics& from_msg)
      : _has_bits_{from._has_bits_},
        _cached_size_{0},
        linked_app_icons_ {
          visibility, ::_pbi::InternalMetadataOffset::Build<
              ::sync_pb::AppSpecifics,
              PROTOBUF_FIELD_OFFSET(::sync_pb::AppSpecifics, _impl_.linked_app_icons_)>()
          , from.linked_app_icons_
        }
        ,
        app_launch_ordinal_(arena, from.app_launch_ordinal_),
        page_ordinal_(arena, from.page_ordinal_),
        bookmark_app_url_(arena, from.bookmark_app_url_),
        bookmark_app_description_(arena, from.bookmark_app_description_),
        bookmark_app_icon_color_(arena, from.bookmark_app_icon_color_),
        bookmark_app_scope_(arena, from.bookmark_app_scope_) {}

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

#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  AppSpecifics* 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_.extension_ = (CheckHasBit(cached_has_bits, 0x00000080U))
                ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.extension_)
                : nullptr;
  _impl_.notification_settings_ = (CheckHasBit(cached_has_bits, 0x00000100U))
                ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.notification_settings_)
                : nullptr;
  ::memcpy(reinterpret_cast<char*>(&_impl_) +
               offsetof(Impl_, launch_type_),
           reinterpret_cast<const char*>(&from._impl_) +
               offsetof(Impl_, launch_type_),
           offsetof(Impl_, bookmark_app_theme_color_) -
               offsetof(Impl_, launch_type_) +
               sizeof(Impl_::bookmark_app_theme_color_));

  // @@protoc_insertion_point(copy_constructor:sync_pb.AppSpecifics)
}
PROTOBUF_NDEBUG_INLINE AppSpecifics::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0},
        linked_app_icons_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::sync_pb::AppSpecifics,
            PROTOBUF_FIELD_OFFSET(::sync_pb::AppSpecifics, _impl_.linked_app_icons_)>()
         }
        ,
        app_launch_ordinal_(arena),
        page_ordinal_(arena),
        bookmark_app_url_(arena),
        bookmark_app_description_(arena),
        bookmark_app_icon_color_(arena),
        bookmark_app_scope_(arena) {}

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

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite AppSpecifics_class_data_ =
    AppSpecifics::InternalGenerateClassData_(AppSpecifics_globals_._default);

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

  cached_has_bits = _impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x000000ffU)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _impl_.linked_app_icons_.Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _impl_.app_launch_ordinal_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _impl_.page_ordinal_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      _impl_.bookmark_app_url_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      _impl_.bookmark_app_description_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000020U)) {
      _impl_.bookmark_app_icon_color_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000040U)) {
      _impl_.bookmark_app_scope_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000080U)) {
      ABSL_DCHECK(_impl_.extension_ != nullptr);
      _impl_.extension_->Clear();
    }
  }
  if (CheckHasBit(cached_has_bits, 0x00000100U)) {
    ABSL_DCHECK(_impl_.notification_settings_ != nullptr);
    _impl_.notification_settings_->Clear();
  }
  if (BatchCheckHasBit(cached_has_bits, 0x00000600U)) {
    ::memset(&_impl_.launch_type_, 0, static_cast<::size_t>(
        reinterpret_cast<char*>(&_impl_.bookmark_app_theme_color_) -
        reinterpret_cast<char*>(&_impl_.launch_type_)) + sizeof(_impl_.bookmark_app_theme_color_));
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

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

  // optional .sync_pb.AppNotificationSettings notification_settings = 2;
  if (CheckHasBit(cached_has_bits, 0x00000100U)) {
    target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
        2, *this_._impl_.notification_settings_, this_._impl_.notification_settings_->GetCachedSize(), target,
        stream);
  }

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

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

  // optional .sync_pb.AppSpecifics.LaunchType launch_type = 5;
  if (CheckHasBit(cached_has_bits, 0x00000200U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteEnumToArray(
        5, this_._internal_launch_type(), target);
  }

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

  // optional string bookmark_app_description = 7 [deprecated = true];
  if (CheckHasBit(cached_has_bits, 0x00000010U)) {
    const ::std::string& _s = this_._internal_bookmark_app_description();
    target = stream->WriteStringMaybeAliased(7, _s, target);
  }

  // optional string bookmark_app_icon_color = 8 [deprecated = true];
  if (CheckHasBit(cached_has_bits, 0x00000020U)) {
    const ::std::string& _s = this_._internal_bookmark_app_icon_color();
    target = stream->WriteStringMaybeAliased(8, _s, target);
  }

  // repeated .sync_pb.LinkedAppIconInfo linked_app_icons = 9;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    for (unsigned i = 0, n = static_cast<unsigned>(
                             this_._internal_linked_app_icons_size());
         i < n; i++) {
      const auto& repfield = this_._internal_linked_app_icons().Get(i);
      target =
          ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
              9, repfield, repfield.GetCachedSize(),
              target, stream);
    }
  }

  // optional string bookmark_app_scope = 10 [deprecated = true];
  if (CheckHasBit(cached_has_bits, 0x00000040U)) {
    const ::std::string& _s = this_._internal_bookmark_app_scope();
    target = stream->WriteStringMaybeAliased(10, _s, target);
  }

  // optional uint32 bookmark_app_theme_color = 11 [deprecated = true];
  if (CheckHasBit(cached_has_bits, 0x00000400U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
        11, this_._internal_bookmark_app_theme_color(), 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.AppSpecifics)
  return target;
}

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

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

  ::_pbi::Prefetch5LinesFrom7Lines(&this_);
  cached_has_bits = this_._impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x000000ffU)) {
    // repeated .sync_pb.LinkedAppIconInfo linked_app_icons = 9;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1UL * this_._internal_linked_app_icons_size();
      for (const auto& msg : this_._internal_linked_app_icons()) {
        total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
      }
    }
    // optional string app_launch_ordinal = 3;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_app_launch_ordinal());
    }
    // optional string page_ordinal = 4;
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_page_ordinal());
    }
    // optional string bookmark_app_url = 6 [deprecated = true];
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_bookmark_app_url());
    }
    // optional string bookmark_app_description = 7 [deprecated = true];
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_bookmark_app_description());
    }
    // optional string bookmark_app_icon_color = 8 [deprecated = true];
    if (CheckHasBit(cached_has_bits, 0x00000020U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_bookmark_app_icon_color());
    }
    // optional string bookmark_app_scope = 10 [deprecated = true];
    if (CheckHasBit(cached_has_bits, 0x00000040U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_bookmark_app_scope());
    }
    // optional .sync_pb.ExtensionSpecifics extension = 1;
    if (CheckHasBit(cached_has_bits, 0x00000080U)) {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.extension_);
    }
  }
  if (BatchCheckHasBit(cached_has_bits, 0x00000700U)) {
    // optional .sync_pb.AppNotificationSettings notification_settings = 2;
    if (CheckHasBit(cached_has_bits, 0x00000100U)) {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.notification_settings_);
    }
    // optional .sync_pb.AppSpecifics.LaunchType launch_type = 5;
    if (CheckHasBit(cached_has_bits, 0x00000200U)) {
      total_size += 1 +
                    ::_pbi::WireFormatLite::EnumSize(this_._internal_launch_type());
    }
    // optional uint32 bookmark_app_theme_color = 11 [deprecated = true];
    if (CheckHasBit(cached_has_bits, 0x00000400U)) {
      total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
          this_._internal_bookmark_app_theme_color());
    }
  }
  if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
    total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
  }
  this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
  return total_size;
}

void AppSpecifics::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<AppSpecifics*>(&to_msg);
  auto& from = static_cast<const AppSpecifics&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  ::google::protobuf::Arena* arena = _this->GetArena();
  // @@protoc_insertion_point(class_specific_merge_from_start:sync_pb.AppSpecifics)
  ABSL_DCHECK_NE(&from, _this);
  ::uint32_t cached_has_bits = 0;
  (void)cached_has_bits;

  cached_has_bits = from._impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x000000ffU)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _this->_internal_mutable_linked_app_icons()->InternalMergeFromWithArena(
          ::google::protobuf::MessageLite::internal_visibility(), arena,
          from._internal_linked_app_icons());
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _this->_internal_set_app_launch_ordinal(from._internal_app_launch_ordinal());
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _this->_internal_set_page_ordinal(from._internal_page_ordinal());
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      _this->_internal_set_bookmark_app_url(from._internal_bookmark_app_url());
    }
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      _this->_internal_set_bookmark_app_description(from._internal_bookmark_app_description());
    }
    if (CheckHasBit(cached_has_bits, 0x00000020U)) {
      _this->_internal_set_bookmark_app_icon_color(from._internal_bookmark_app_icon_color());
    }
    if (CheckHasBit(cached_has_bits, 0x00000040U)) {
      _this->_internal_set_bookmark_app_scope(from._internal_bookmark_app_scope());
    }
    if (CheckHasBit(cached_has_bits, 0x00000080U)) {
      ABSL_DCHECK(from._impl_.extension_ != nullptr);
      if (_this->_impl_.extension_ == nullptr) {
        _this->_impl_.extension_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.extension_);
      } else {
        _this->_impl_.extension_->MergeFrom(*from._impl_.extension_);
      }
    }
  }
  if (BatchCheckHasBit(cached_has_bits, 0x00000700U)) {
    if (CheckHasBit(cached_has_bits, 0x00000100U)) {
      ABSL_DCHECK(from._impl_.notification_settings_ != nullptr);
      if (_this->_impl_.notification_settings_ == nullptr) {
        _this->_impl_.notification_settings_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.notification_settings_);
      } else {
        _this->_impl_.notification_settings_->MergeFrom(*from._impl_.notification_settings_);
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000200U)) {
      _this->_impl_.launch_type_ = from._impl_.launch_type_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000400U)) {
      _this->_impl_.bookmark_app_theme_color_ = from._impl_.bookmark_app_theme_color_;
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


void AppSpecifics::InternalSwap(AppSpecifics* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
  using ::std::swap;
  auto* arena = GetArena();
  ABSL_DCHECK_EQ(arena, other->GetArena());
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  _impl_.linked_app_icons_.InternalSwap(&other->_impl_.linked_app_icons_);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.app_launch_ordinal_, &other->_impl_.app_launch_ordinal_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.page_ordinal_, &other->_impl_.page_ordinal_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.bookmark_app_url_, &other->_impl_.bookmark_app_url_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.bookmark_app_description_, &other->_impl_.bookmark_app_description_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.bookmark_app_icon_color_, &other->_impl_.bookmark_app_icon_color_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.bookmark_app_scope_, &other->_impl_.bookmark_app_scope_, arena);
  ::google::protobuf::internal::memswap<
      PROTOBUF_FIELD_OFFSET(AppSpecifics, _impl_.bookmark_app_theme_color_)
      + sizeof(AppSpecifics::_impl_.bookmark_app_theme_color_)
      - PROTOBUF_FIELD_OFFSET(AppSpecifics, _impl_.extension_)>(
          reinterpret_cast<char*>(&_impl_.extension_),
          reinterpret_cast<char*>(&other->_impl_.extension_));
}

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