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

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

constexpr AppListSpecifics_IconColor::ParseTableT_ AppListSpecifics_IconColor::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(AppListSpecifics_IconColor, _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
      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::AppListSpecifics_IconColor>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      // optional int32 hue = 2;
      {::_pbi::TcParser::FastV32S1,
       {16, 1, 0,
        PROTOBUF_FIELD_OFFSET(AppListSpecifics_IconColor, _impl_.hue_)}},
      // optional .sync_pb.AppListSpecifics.ColorGroup background_color = 1;
      {::_pbi::TcParser::FastEr0S1,
       {8, 0, 8,
        PROTOBUF_FIELD_OFFSET(AppListSpecifics_IconColor, _impl_.background_color_)}},
    }}, {{
      65535, 65535
    }}, {{
      // optional .sync_pb.AppListSpecifics.ColorGroup background_color = 1;
      {PROTOBUF_FIELD_OFFSET(AppListSpecifics_IconColor, _impl_.background_color_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kEnumRange)},
      // optional int32 hue = 2;
      {PROTOBUF_FIELD_OFFSET(AppListSpecifics_IconColor, _impl_.hue_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
    }},
    {{
        {0, 8},
    }},
    {{
    }},
  };
}


inline constexpr AppListSpecifics_IconColor::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        background_color_{static_cast< ::sync_pb::AppListSpecifics_ColorGroup >(0)},
        hue_{0} {}

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

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

constexpr AppListSpecifics::ParseTableT_ AppListSpecifics::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(AppListSpecifics, _impl_._has_bits_),
      0, // no _extensions_
      10, 120,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294966528,  // skipmap
      offsetof(ParseTableT_, field_entries),
      9,  // 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::AppListSpecifics>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      {::_pbi::TcParser::MiniParse, {}},
      // optional string item_id = 1;
      {::_pbi::TcParser::FastBS1,
       {10, 0, 0,
        PROTOBUF_FIELD_OFFSET(AppListSpecifics, _impl_.item_id_)}},
      // optional .sync_pb.AppListSpecifics.AppListItemType item_type = 2;
      {::_pbi::TcParser::FastEr1S1,
       {16, 8, 5,
        PROTOBUF_FIELD_OFFSET(AppListSpecifics, _impl_.item_type_)}},
      // optional string item_name = 3;
      {::_pbi::TcParser::FastBS1,
       {26, 1, 0,
        PROTOBUF_FIELD_OFFSET(AppListSpecifics, _impl_.item_name_)}},
      // optional string parent_id = 4;
      {::_pbi::TcParser::FastBS1,
       {34, 2, 0,
        PROTOBUF_FIELD_OFFSET(AppListSpecifics, _impl_.parent_id_)}},
      // optional string OBSOLETE_page_ordinal = 5 [deprecated = true];
      {::_pbi::TcParser::FastBS1,
       {42, 3, 0,
        PROTOBUF_FIELD_OFFSET(AppListSpecifics, _impl_.obsolete_page_ordinal_)}},
      // optional string item_ordinal = 6;
      {::_pbi::TcParser::FastBS1,
       {50, 4, 0,
        PROTOBUF_FIELD_OFFSET(AppListSpecifics, _impl_.item_ordinal_)}},
      // optional string item_pin_ordinal = 7;
      {::_pbi::TcParser::FastBS1,
       {58, 5, 0,
        PROTOBUF_FIELD_OFFSET(AppListSpecifics, _impl_.item_pin_ordinal_)}},
      // optional .sync_pb.AppListSpecifics.IconColor item_color = 8;
      {::_pbi::TcParser::FastMtS1,
       {66, 7, 0,
        PROTOBUF_FIELD_OFFSET(AppListSpecifics, _impl_.item_color_)}},
      {::_pbi::TcParser::MiniParse, {}},
      // optional string promise_package_id = 10;
      {::_pbi::TcParser::FastBS1,
       {82, 6, 0,
        PROTOBUF_FIELD_OFFSET(AppListSpecifics, _impl_.promise_package_id_)}},
      {::_pbi::TcParser::MiniParse, {}},
      {::_pbi::TcParser::MiniParse, {}},
      {::_pbi::TcParser::MiniParse, {}},
      {::_pbi::TcParser::MiniParse, {}},
      {::_pbi::TcParser::MiniParse, {}},
    }}, {{
      65535, 65535
    }}, {{
      // optional string item_id = 1;
      {PROTOBUF_FIELD_OFFSET(AppListSpecifics, _impl_.item_id_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional .sync_pb.AppListSpecifics.AppListItemType item_type = 2;
      {PROTOBUF_FIELD_OFFSET(AppListSpecifics, _impl_.item_type_), _Internal::kHasBitsOffset + 8, 1, (0 | ::_fl::kFcOptional | ::_fl::kEnumRange)},
      // optional string item_name = 3;
      {PROTOBUF_FIELD_OFFSET(AppListSpecifics, _impl_.item_name_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional string parent_id = 4;
      {PROTOBUF_FIELD_OFFSET(AppListSpecifics, _impl_.parent_id_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional string OBSOLETE_page_ordinal = 5 [deprecated = true];
      {PROTOBUF_FIELD_OFFSET(AppListSpecifics, _impl_.obsolete_page_ordinal_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional string item_ordinal = 6;
      {PROTOBUF_FIELD_OFFSET(AppListSpecifics, _impl_.item_ordinal_), _Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional string item_pin_ordinal = 7;
      {PROTOBUF_FIELD_OFFSET(AppListSpecifics, _impl_.item_pin_ordinal_), _Internal::kHasBitsOffset + 5, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional .sync_pb.AppListSpecifics.IconColor item_color = 8;
      {PROTOBUF_FIELD_OFFSET(AppListSpecifics, _impl_.item_color_), _Internal::kHasBitsOffset + 7, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
      // optional string promise_package_id = 10;
      {PROTOBUF_FIELD_OFFSET(AppListSpecifics, _impl_.promise_package_id_), _Internal::kHasBitsOffset + 6, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
    }},
    {{
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::sync_pb::AppListSpecifics_IconColor>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::sync_pb::AppListSpecifics_IconColor_globals_},
        #endif
        {1, 5},
    }},
    {{
    }},
  };
}


inline constexpr AppListSpecifics::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        item_id_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        item_name_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        parent_id_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        obsolete_page_ordinal_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        item_ordinal_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        item_pin_ordinal_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        promise_package_id_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        item_color_{nullptr},
        item_type_{static_cast< ::sync_pb::AppListSpecifics_AppListItemType >(1)} {}

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

PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PROTOBUF_MESSAGE_GLOBALS_CONST AppListSpecificsGlobalsTypeInternal AppListSpecifics_globals_
        PROTOBUF_MESSAGE_GLOBALS_SECTION(.data.rel.ro);
#if defined(PROTOBUF_CUSTOM_VTABLE)
namespace {
const ::_pbi::ClassData* AppListSpecifics_get_class_data() {
#ifdef PROTOBUF_MESSAGE_GLOBALS
  return AppListSpecifics_globals_.GetClassData();
#else
  return AppListSpecifics_class_data_.base();
#endif  // PROTOBUF_MESSAGE_GLOBALS
}
}  // namespace
#endif  // PROTOBUF_CUSTOM_VTABLE
}  // namespace sync_pb
namespace sync_pb {
PROTOBUF_CONSTINIT const uint32_t AppListSpecifics_AppListItemType_internal_data_[] = {
    327681u, 0u, };
static const char AppListSpecifics_AppListItemType_names[] = {
    "TYPE_APP"
    "TYPE_FOLDER"
    "TYPE_OBSOLETE_URL"
    "TYPE_PAGE_BREAK"
    "TYPE_REMOVE_DEFAULT_APP"
};

static const ::google::protobuf::internal::EnumEntry AppListSpecifics_AppListItemType_entries[] = {
    {{&AppListSpecifics_AppListItemType_names[0], 8}, 1},
    {{&AppListSpecifics_AppListItemType_names[8], 11}, 3},
    {{&AppListSpecifics_AppListItemType_names[19], 17}, 4},
    {{&AppListSpecifics_AppListItemType_names[36], 15}, 5},
    {{&AppListSpecifics_AppListItemType_names[51], 23}, 2},
};

static const int AppListSpecifics_AppListItemType_entries_by_number[] = {
    0,  // 1 -> TYPE_APP
    4,  // 2 -> TYPE_REMOVE_DEFAULT_APP
    1,  // 3 -> TYPE_FOLDER
    2,  // 4 -> TYPE_OBSOLETE_URL
    3,  // 5 -> TYPE_PAGE_BREAK
};

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

const ::std::string& AppListSpecifics_AppListItemType_Name(AppListSpecifics_AppListItemType value) {
  static const bool kDummy = ::google::protobuf::internal::InitializeEnumStrings(
      AppListSpecifics_AppListItemType_entries, AppListSpecifics_AppListItemType_entries_by_number, 5,
      AppListSpecifics_AppListItemType_strings);
  (void)kDummy;

  int idx = ::google::protobuf::internal::LookUpEnumName(AppListSpecifics_AppListItemType_entries,
                                  AppListSpecifics_AppListItemType_entries_by_number,
                                  5, value);
  return idx == -1 ? ::google::protobuf::internal::GetEmptyString() : AppListSpecifics_AppListItemType_strings[idx].get();
}
PROTOBUF_CONSTINIT const uint32_t AppListSpecifics_ColorGroup_internal_data_[] = {
    589824u, 0u, };
static const char AppListSpecifics_ColorGroup_names[] = {
    "COLOR_BLACK"
    "COLOR_BLUE"
    "COLOR_EMPTY"
    "COLOR_GREEN"
    "COLOR_MAGENTA"
    "COLOR_ORANGE"
    "COLOR_RED"
    "COLOR_WHITE"
    "COLOR_YELLOW"
};

static const ::google::protobuf::internal::EnumEntry AppListSpecifics_ColorGroup_entries[] = {
    {{&AppListSpecifics_ColorGroup_names[0], 11}, 8},
    {{&AppListSpecifics_ColorGroup_names[11], 10}, 6},
    {{&AppListSpecifics_ColorGroup_names[21], 11}, 0},
    {{&AppListSpecifics_ColorGroup_names[32], 11}, 5},
    {{&AppListSpecifics_ColorGroup_names[43], 13}, 7},
    {{&AppListSpecifics_ColorGroup_names[56], 12}, 3},
    {{&AppListSpecifics_ColorGroup_names[68], 9}, 2},
    {{&AppListSpecifics_ColorGroup_names[77], 11}, 1},
    {{&AppListSpecifics_ColorGroup_names[88], 12}, 4},
};

static const int AppListSpecifics_ColorGroup_entries_by_number[] = {
    2,  // 0 -> COLOR_EMPTY
    7,  // 1 -> COLOR_WHITE
    6,  // 2 -> COLOR_RED
    5,  // 3 -> COLOR_ORANGE
    8,  // 4 -> COLOR_YELLOW
    3,  // 5 -> COLOR_GREEN
    1,  // 6 -> COLOR_BLUE
    4,  // 7 -> COLOR_MAGENTA
    0,  // 8 -> COLOR_BLACK
};

bool AppListSpecifics_ColorGroup_Parse(::absl::string_view name,
                                  AppListSpecifics_ColorGroup* PROTOBUF_NONNULL value) {
  int int_value;
  bool success = ::google::protobuf::internal::LookUpEnumValue(
      AppListSpecifics_ColorGroup_entries, 9, name, &int_value);
  if (success) {
    *value = static_cast<AppListSpecifics_ColorGroup>(int_value);
  }
  return success;
}
static ::google::protobuf::internal::ExplicitlyConstructed<::std::string>
    AppListSpecifics_ColorGroup_strings[9] = {};

const ::std::string& AppListSpecifics_ColorGroup_Name(AppListSpecifics_ColorGroup value) {
  static const bool kDummy = ::google::protobuf::internal::InitializeEnumStrings(
      AppListSpecifics_ColorGroup_entries, AppListSpecifics_ColorGroup_entries_by_number, 9,
      AppListSpecifics_ColorGroup_strings);
  (void)kDummy;

  int idx = ::google::protobuf::internal::LookUpEnumName(AppListSpecifics_ColorGroup_entries,
                                  AppListSpecifics_ColorGroup_entries_by_number,
                                  9, value);
  return idx == -1 ? ::google::protobuf::internal::GetEmptyString() : AppListSpecifics_ColorGroup_strings[idx].get();
}
// ===================================================================

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

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

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

  cached_has_bits = _impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
    ::memset(&_impl_.background_color_, 0, static_cast<::size_t>(
        reinterpret_cast<char*>(&_impl_.hue_) -
        reinterpret_cast<char*>(&_impl_.background_color_)) + sizeof(_impl_.hue_));
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

  cached_has_bits = this_._impl_._has_bits_[0];
  // optional .sync_pb.AppListSpecifics.ColorGroup background_color = 1;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteEnumToArray(
        1, this_._internal_background_color(), target);
  }

  // optional int32 hue = 2;
  if (CheckHasBit(cached_has_bits, 0x00000002U)) {
    target =
        ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<2>(
            stream, this_._internal_hue(), 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.AppListSpecifics.IconColor)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t AppListSpecifics_IconColor::ByteSizeLong(const MessageLite& base) {
  const AppListSpecifics_IconColor& this_ = static_cast<const AppListSpecifics_IconColor&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t AppListSpecifics_IconColor::ByteSizeLong() const {
  const AppListSpecifics_IconColor& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:sync_pb.AppListSpecifics.IconColor)
  ::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 .sync_pb.AppListSpecifics.ColorGroup background_color = 1;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1 +
                    ::_pbi::WireFormatLite::EnumSize(this_._internal_background_color());
    }
    // optional int32 hue = 2;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
          this_._internal_hue());
    }
  }
  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 AppListSpecifics_IconColor::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<AppListSpecifics_IconColor*>(&to_msg);
  auto& from = static_cast<const AppListSpecifics_IconColor&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  // @@protoc_insertion_point(class_specific_merge_from_start:sync_pb.AppListSpecifics.IconColor)
  ABSL_DCHECK_NE(&from, _this);
  ::uint32_t cached_has_bits = 0;
  (void)cached_has_bits;

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

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


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

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

AppListSpecifics::AppListSpecifics(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, AppListSpecifics_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:sync_pb.AppListSpecifics)
}
PROTOBUF_NDEBUG_INLINE AppListSpecifics::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::AppListSpecifics& from_msg)
      : _has_bits_{from._has_bits_},
        _cached_size_{0},
        item_id_(arena, from.item_id_),
        item_name_(arena, from.item_name_),
        parent_id_(arena, from.parent_id_),
        obsolete_page_ordinal_(arena, from.obsolete_page_ordinal_),
        item_ordinal_(arena, from.item_ordinal_),
        item_pin_ordinal_(arena, from.item_pin_ordinal_),
        promise_package_id_(arena, from.promise_package_id_) {}

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

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

  // @@protoc_insertion_point(copy_constructor:sync_pb.AppListSpecifics)
}
PROTOBUF_NDEBUG_INLINE AppListSpecifics::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0},
        item_id_(arena),
        item_name_(arena),
        parent_id_(arena),
        obsolete_page_ordinal_(arena),
        item_ordinal_(arena),
        item_pin_ordinal_(arena),
        promise_package_id_(arena),
        item_type_{static_cast< ::sync_pb::AppListSpecifics_AppListItemType >(1)} {}

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

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite AppListSpecifics_class_data_ =
    AppListSpecifics::InternalGenerateClassData_(AppListSpecifics_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
AppListSpecifics::GetClassData() const {
  return AppListSpecifics_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
AppListSpecifics::GetClassData() const {
  return AppListSpecifics_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const AppListSpecifics::ParseTableT_
    AppListSpecifics::_table_ =
        AppListSpecifics::InternalGenerateParseTable_(AppListSpecifics_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void AppListSpecifics::Clear() {
// @@protoc_insertion_point(message_clear_start:sync_pb.AppListSpecifics)
  ::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_.item_id_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _impl_.item_name_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _impl_.parent_id_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      _impl_.obsolete_page_ordinal_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      _impl_.item_ordinal_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000020U)) {
      _impl_.item_pin_ordinal_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000040U)) {
      _impl_.promise_package_id_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000080U)) {
      ABSL_DCHECK(_impl_.item_color_ != nullptr);
      _impl_.item_color_->Clear();
    }
  }
  _impl_.item_type_ = 1;
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

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

  // optional .sync_pb.AppListSpecifics.AppListItemType item_type = 2;
  if (CheckHasBit(cached_has_bits, 0x00000100U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteEnumToArray(
        2, this_._internal_item_type(), target);
  }

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

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

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

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

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

  // optional .sync_pb.AppListSpecifics.IconColor item_color = 8;
  if (CheckHasBit(cached_has_bits, 0x00000080U)) {
    target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
        8, *this_._impl_.item_color_, this_._impl_.item_color_->GetCachedSize(), target,
        stream);
  }

  // optional string promise_package_id = 10;
  if (CheckHasBit(cached_has_bits, 0x00000040U)) {
    const ::std::string& _s = this_._internal_promise_package_id();
    target = stream->WriteStringMaybeAliased(10, _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.AppListSpecifics)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t AppListSpecifics::ByteSizeLong(const MessageLite& base) {
  const AppListSpecifics& this_ = static_cast<const AppListSpecifics&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t AppListSpecifics::ByteSizeLong() const {
  const AppListSpecifics& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:sync_pb.AppListSpecifics)
  ::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)) {
    // optional string item_id = 1;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_item_id());
    }
    // optional string item_name = 3;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_item_name());
    }
    // optional string parent_id = 4;
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_parent_id());
    }
    // optional string OBSOLETE_page_ordinal = 5 [deprecated = true];
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_obsolete_page_ordinal());
    }
    // optional string item_ordinal = 6;
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_item_ordinal());
    }
    // optional string item_pin_ordinal = 7;
    if (CheckHasBit(cached_has_bits, 0x00000020U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_item_pin_ordinal());
    }
    // optional string promise_package_id = 10;
    if (CheckHasBit(cached_has_bits, 0x00000040U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_promise_package_id());
    }
    // optional .sync_pb.AppListSpecifics.IconColor item_color = 8;
    if (CheckHasBit(cached_has_bits, 0x00000080U)) {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.item_color_);
    }
  }
   {
    // optional .sync_pb.AppListSpecifics.AppListItemType item_type = 2;
    if (CheckHasBit(cached_has_bits, 0x00000100U)) {
      total_size += 1 +
                    ::_pbi::WireFormatLite::EnumSize(this_._internal_item_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 AppListSpecifics::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<AppListSpecifics*>(&to_msg);
  auto& from = static_cast<const AppListSpecifics&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  ::google::protobuf::Arena* arena = _this->GetArena();
  // @@protoc_insertion_point(class_specific_merge_from_start:sync_pb.AppListSpecifics)
  ABSL_DCHECK_NE(&from, _this);
  ::uint32_t cached_has_bits = 0;
  (void)cached_has_bits;

  cached_has_bits = from._impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x000000ffU)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _this->_internal_set_item_id(from._internal_item_id());
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _this->_internal_set_item_name(from._internal_item_name());
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _this->_internal_set_parent_id(from._internal_parent_id());
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      _this->_internal_set_obsolete_page_ordinal(from._internal_obsolete_page_ordinal());
    }
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      _this->_internal_set_item_ordinal(from._internal_item_ordinal());
    }
    if (CheckHasBit(cached_has_bits, 0x00000020U)) {
      _this->_internal_set_item_pin_ordinal(from._internal_item_pin_ordinal());
    }
    if (CheckHasBit(cached_has_bits, 0x00000040U)) {
      _this->_internal_set_promise_package_id(from._internal_promise_package_id());
    }
    if (CheckHasBit(cached_has_bits, 0x00000080U)) {
      ABSL_DCHECK(from._impl_.item_color_ != nullptr);
      if (_this->_impl_.item_color_ == nullptr) {
        _this->_impl_.item_color_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.item_color_);
      } else {
        _this->_impl_.item_color_->MergeFrom(*from._impl_.item_color_);
      }
    }
  }
  if (CheckHasBit(cached_has_bits, 0x00000100U)) {
    _this->_impl_.item_type_ = from._impl_.item_type_;
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


void AppListSpecifics::InternalSwap(AppListSpecifics* 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_.item_id_, &other->_impl_.item_id_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.item_name_, &other->_impl_.item_name_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.parent_id_, &other->_impl_.parent_id_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.obsolete_page_ordinal_, &other->_impl_.obsolete_page_ordinal_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.item_ordinal_, &other->_impl_.item_ordinal_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.item_pin_ordinal_, &other->_impl_.item_pin_ordinal_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.promise_package_id_, &other->_impl_.promise_package_id_, arena);
  ::google::protobuf::internal::memswap<
      PROTOBUF_FIELD_OFFSET(AppListSpecifics, _impl_.item_type_)
      + sizeof(AppListSpecifics::_impl_.item_type_)
      - PROTOBUF_FIELD_OFFSET(AppListSpecifics, _impl_.item_color_)>(
          reinterpret_cast<char*>(&_impl_.item_color_),
          reinterpret_cast<char*>(&other->_impl_.item_color_));
}

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