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

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

constexpr WebAppIconInfo::ParseTableT_ WebAppIconInfo::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(WebAppIconInfo, _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
      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::WebAppIconInfo>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      {::_pbi::TcParser::MiniParse, {}},
      // optional int32 size_in_px = 1;
      {::_pbi::TcParser::FastV32S1,
       {8, 1, 0,
        PROTOBUF_FIELD_OFFSET(WebAppIconInfo, _impl_.size_in_px_)}},
      // optional string url = 2;
      {::_pbi::TcParser::FastBS1,
       {18, 0, 0,
        PROTOBUF_FIELD_OFFSET(WebAppIconInfo, _impl_.url_)}},
      // optional .sync_pb.WebAppIconInfo.Purpose purpose = 3;
      {::_pbi::TcParser::FastEr0S1,
       {24, 2, 3,
        PROTOBUF_FIELD_OFFSET(WebAppIconInfo, _impl_.purpose_)}},
    }}, {{
      65535, 65535
    }}, {{
      // optional int32 size_in_px = 1;
      {PROTOBUF_FIELD_OFFSET(WebAppIconInfo, _impl_.size_in_px_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
      // optional string url = 2;
      {PROTOBUF_FIELD_OFFSET(WebAppIconInfo, _impl_.url_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional .sync_pb.WebAppIconInfo.Purpose purpose = 3;
      {PROTOBUF_FIELD_OFFSET(WebAppIconInfo, _impl_.purpose_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kEnumRange)},
    }},
    {{
        {0, 3},
    }},
    {{
    }},
  };
}


inline constexpr WebAppIconInfo::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_in_px_{0},
        purpose_{static_cast< ::sync_pb::WebAppIconInfo_Purpose >(0)} {}

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

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

constexpr WebAppSpecifics::ParseTableT_ WebAppSpecifics::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(WebAppSpecifics, _impl_._has_bits_),
      0, // no _extensions_
      12, 120,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294963200,  // skipmap
      offsetof(ParseTableT_, field_entries),
      12,  // 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::WebAppSpecifics>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      {::_pbi::TcParser::MiniParse, {}},
      // optional string start_url = 1;
      {::_pbi::TcParser::FastBS1,
       {10, 2, 0,
        PROTOBUF_FIELD_OFFSET(WebAppSpecifics, _impl_.start_url_)}},
      // optional string name = 2;
      {::_pbi::TcParser::FastBS1,
       {18, 3, 0,
        PROTOBUF_FIELD_OFFSET(WebAppSpecifics, _impl_.name_)}},
      // optional .sync_pb.WebAppSpecifics.UserDisplayMode user_display_mode_default = 3;
      {::_pbi::TcParser::FastEvS1,
       {24, 9, 2,
        PROTOBUF_FIELD_OFFSET(WebAppSpecifics, _impl_.user_display_mode_default_)}},
      // optional uint32 theme_color = 4;
      {::_pbi::TcParser::FastV32S1,
       {32, 10, 0,
        PROTOBUF_FIELD_OFFSET(WebAppSpecifics, _impl_.theme_color_)}},
      // optional string scope = 5;
      {::_pbi::TcParser::FastBS1,
       {42, 4, 0,
        PROTOBUF_FIELD_OFFSET(WebAppSpecifics, _impl_.scope_)}},
      // repeated .sync_pb.WebAppIconInfo icon_infos = 6;
      {::_pbi::TcParser::FastMtR1,
       {50, 0, 0,
        PROTOBUF_FIELD_OFFSET(WebAppSpecifics, _impl_.icon_infos_)}},
      // optional string user_page_ordinal = 7;
      {::_pbi::TcParser::FastBS1,
       {58, 5, 0,
        PROTOBUF_FIELD_OFFSET(WebAppSpecifics, _impl_.user_page_ordinal_)}},
      // optional string user_launch_ordinal = 8;
      {::_pbi::TcParser::FastBS1,
       {66, 6, 0,
        PROTOBUF_FIELD_OFFSET(WebAppSpecifics, _impl_.user_launch_ordinal_)}},
      // optional string relative_manifest_id = 9;
      {::_pbi::TcParser::FastBS1,
       {74, 7, 0,
        PROTOBUF_FIELD_OFFSET(WebAppSpecifics, _impl_.relative_manifest_id_)}},
      // optional .sync_pb.WebAppSpecifics.UserDisplayMode user_display_mode_cros = 10;
      {::_pbi::TcParser::FastEvS1,
       {80, 11, 3,
        PROTOBUF_FIELD_OFFSET(WebAppSpecifics, _impl_.user_display_mode_cros_)}},
      // repeated .sync_pb.WebAppIconInfo trusted_icons = 11;
      {::_pbi::TcParser::FastMtR1,
       {90, 1, 1,
        PROTOBUF_FIELD_OFFSET(WebAppSpecifics, _impl_.trusted_icons_)}},
      // optional string migrated_from_manifest_id = 12;
      {::_pbi::TcParser::FastBS1,
       {98, 8, 0,
        PROTOBUF_FIELD_OFFSET(WebAppSpecifics, _impl_.migrated_from_manifest_id_)}},
      {::_pbi::TcParser::MiniParse, {}},
      {::_pbi::TcParser::MiniParse, {}},
      {::_pbi::TcParser::MiniParse, {}},
    }}, {{
      65535, 65535
    }}, {{
      // optional string start_url = 1;
      {PROTOBUF_FIELD_OFFSET(WebAppSpecifics, _impl_.start_url_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional string name = 2;
      {PROTOBUF_FIELD_OFFSET(WebAppSpecifics, _impl_.name_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional .sync_pb.WebAppSpecifics.UserDisplayMode user_display_mode_default = 3;
      {PROTOBUF_FIELD_OFFSET(WebAppSpecifics, _impl_.user_display_mode_default_), _Internal::kHasBitsOffset + 9, 2, (0 | ::_fl::kFcOptional | ::_fl::kEnum)},
      // optional uint32 theme_color = 4;
      {PROTOBUF_FIELD_OFFSET(WebAppSpecifics, _impl_.theme_color_), _Internal::kHasBitsOffset + 10, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
      // optional string scope = 5;
      {PROTOBUF_FIELD_OFFSET(WebAppSpecifics, _impl_.scope_), _Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // repeated .sync_pb.WebAppIconInfo icon_infos = 6;
      {PROTOBUF_FIELD_OFFSET(WebAppSpecifics, _impl_.icon_infos_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
      // optional string user_page_ordinal = 7;
      {PROTOBUF_FIELD_OFFSET(WebAppSpecifics, _impl_.user_page_ordinal_), _Internal::kHasBitsOffset + 5, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional string user_launch_ordinal = 8;
      {PROTOBUF_FIELD_OFFSET(WebAppSpecifics, _impl_.user_launch_ordinal_), _Internal::kHasBitsOffset + 6, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional string relative_manifest_id = 9;
      {PROTOBUF_FIELD_OFFSET(WebAppSpecifics, _impl_.relative_manifest_id_), _Internal::kHasBitsOffset + 7, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional .sync_pb.WebAppSpecifics.UserDisplayMode user_display_mode_cros = 10;
      {PROTOBUF_FIELD_OFFSET(WebAppSpecifics, _impl_.user_display_mode_cros_), _Internal::kHasBitsOffset + 11, 3, (0 | ::_fl::kFcOptional | ::_fl::kEnum)},
      // repeated .sync_pb.WebAppIconInfo trusted_icons = 11;
      {PROTOBUF_FIELD_OFFSET(WebAppSpecifics, _impl_.trusted_icons_), _Internal::kHasBitsOffset + 1, 1, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
      // optional string migrated_from_manifest_id = 12;
      {PROTOBUF_FIELD_OFFSET(WebAppSpecifics, _impl_.migrated_from_manifest_id_), _Internal::kHasBitsOffset + 8, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
    }},
    {{
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::sync_pb::WebAppIconInfo>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::sync_pb::WebAppIconInfo_globals_},
        #endif
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::sync_pb::WebAppIconInfo>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::sync_pb::WebAppIconInfo_globals_},
        #endif
        {::_pbi::FieldAuxEnumData{}, ::sync_pb::WebAppSpecifics_UserDisplayMode_internal_data_},
        {::_pbi::FieldAuxEnumData{}, ::sync_pb::WebAppSpecifics_UserDisplayMode_internal_data_},
    }},
    {{
    }},
  };
}


inline constexpr WebAppSpecifics::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        icon_infos_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::sync_pb::WebAppSpecifics,
            PROTOBUF_FIELD_OFFSET(::sync_pb::WebAppSpecifics, _impl_.icon_infos_)>()
         }
        ,
        trusted_icons_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::sync_pb::WebAppSpecifics,
            PROTOBUF_FIELD_OFFSET(::sync_pb::WebAppSpecifics, _impl_.trusted_icons_)>()
         }
        ,
        start_url_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        name_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        scope_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        user_page_ordinal_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        user_launch_ordinal_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        relative_manifest_id_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        migrated_from_manifest_id_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        user_display_mode_default_{static_cast< ::sync_pb::WebAppSpecifics_UserDisplayMode >(0)},
        theme_color_{0u},
        user_display_mode_cros_{static_cast< ::sync_pb::WebAppSpecifics_UserDisplayMode >(0)} {}

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

PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PROTOBUF_MESSAGE_GLOBALS_CONST WebAppSpecificsGlobalsTypeInternal WebAppSpecifics_globals_
        PROTOBUF_MESSAGE_GLOBALS_SECTION(.data.rel.ro);
#if defined(PROTOBUF_CUSTOM_VTABLE)
namespace {
const ::_pbi::ClassData* WebAppSpecifics_get_class_data() {
#ifdef PROTOBUF_MESSAGE_GLOBALS
  return WebAppSpecifics_globals_.GetClassData();
#else
  return WebAppSpecifics_class_data_.base();
#endif  // PROTOBUF_MESSAGE_GLOBALS
}
}  // namespace
#endif  // PROTOBUF_CUSTOM_VTABLE
}  // namespace sync_pb
namespace sync_pb {
PROTOBUF_CONSTINIT const uint32_t WebAppIconInfo_Purpose_internal_data_[] = {
    262144u, 0u, };
static const char WebAppIconInfo_Purpose_names[] = {
    "ANY"
    "MASKABLE"
    "MONOCHROME"
    "UNSPECIFIED"
};

static const ::google::protobuf::internal::EnumEntry WebAppIconInfo_Purpose_entries[] = {
    {{&WebAppIconInfo_Purpose_names[0], 3}, 1},
    {{&WebAppIconInfo_Purpose_names[3], 8}, 2},
    {{&WebAppIconInfo_Purpose_names[11], 10}, 3},
    {{&WebAppIconInfo_Purpose_names[21], 11}, 0},
};

static const int WebAppIconInfo_Purpose_entries_by_number[] = {
    3,  // 0 -> UNSPECIFIED
    0,  // 1 -> ANY
    1,  // 2 -> MASKABLE
    2,  // 3 -> MONOCHROME
};

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

const ::std::string& WebAppIconInfo_Purpose_Name(WebAppIconInfo_Purpose value) {
  static const bool kDummy = ::google::protobuf::internal::InitializeEnumStrings(
      WebAppIconInfo_Purpose_entries, WebAppIconInfo_Purpose_entries_by_number, 4,
      WebAppIconInfo_Purpose_strings);
  (void)kDummy;

  int idx = ::google::protobuf::internal::LookUpEnumName(WebAppIconInfo_Purpose_entries,
                                  WebAppIconInfo_Purpose_entries_by_number,
                                  4, value);
  return idx == -1 ? ::google::protobuf::internal::GetEmptyString() : WebAppIconInfo_Purpose_strings[idx].get();
}
PROTOBUF_CONSTINIT const uint32_t WebAppSpecifics_UserDisplayMode_internal_data_[] = {
    131072u, 32u, 18u, };
static const char WebAppSpecifics_UserDisplayMode_names[] = {
    "BROWSER"
    "STANDALONE"
    "TABBED"
    "UNSPECIFIED"
};

static const ::google::protobuf::internal::EnumEntry WebAppSpecifics_UserDisplayMode_entries[] = {
    {{&WebAppSpecifics_UserDisplayMode_names[0], 7}, 1},
    {{&WebAppSpecifics_UserDisplayMode_names[7], 10}, 3},
    {{&WebAppSpecifics_UserDisplayMode_names[17], 6}, 6},
    {{&WebAppSpecifics_UserDisplayMode_names[23], 11}, 0},
};

static const int WebAppSpecifics_UserDisplayMode_entries_by_number[] = {
    3,  // 0 -> UNSPECIFIED
    0,  // 1 -> BROWSER
    1,  // 3 -> STANDALONE
    2,  // 6 -> TABBED
};

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

const ::std::string& WebAppSpecifics_UserDisplayMode_Name(WebAppSpecifics_UserDisplayMode value) {
  static const bool kDummy = ::google::protobuf::internal::InitializeEnumStrings(
      WebAppSpecifics_UserDisplayMode_entries, WebAppSpecifics_UserDisplayMode_entries_by_number, 4,
      WebAppSpecifics_UserDisplayMode_strings);
  (void)kDummy;

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

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

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

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

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

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

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

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

  cached_has_bits = this_._impl_._has_bits_[0];
  // optional int32 size_in_px = 1;
  if (CheckHasBit(cached_has_bits, 0x00000002U)) {
    target =
        ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<1>(
            stream, this_._internal_size_in_px(), target);
  }

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

  // optional .sync_pb.WebAppIconInfo.Purpose purpose = 3;
  if (CheckHasBit(cached_has_bits, 0x00000004U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteEnumToArray(
        3, this_._internal_purpose(), 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.WebAppIconInfo)
  return target;
}

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

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

  ::_pbi::Prefetch5LinesFrom7Lines(&this_);
  cached_has_bits = this_._impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
    // optional string url = 2;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_url());
    }
    // optional int32 size_in_px = 1;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
          this_._internal_size_in_px());
    }
    // optional .sync_pb.WebAppIconInfo.Purpose purpose = 3;
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      total_size += 1 +
                    ::_pbi::WireFormatLite::EnumSize(this_._internal_purpose());
    }
  }
  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 WebAppIconInfo::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<WebAppIconInfo*>(&to_msg);
  auto& from = static_cast<const WebAppIconInfo&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  // @@protoc_insertion_point(class_specific_merge_from_start:sync_pb.WebAppIconInfo)
  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_url(from._internal_url());
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _this->_impl_.size_in_px_ = from._impl_.size_in_px_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _this->_impl_.purpose_ = from._impl_.purpose_;
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


void WebAppIconInfo::InternalSwap(WebAppIconInfo* 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);
  ::google::protobuf::internal::memswap<
      PROTOBUF_FIELD_OFFSET(WebAppIconInfo, _impl_.purpose_)
      + sizeof(WebAppIconInfo::_impl_.purpose_)
      - PROTOBUF_FIELD_OFFSET(WebAppIconInfo, _impl_.size_in_px_)>(
          reinterpret_cast<char*>(&_impl_.size_in_px_),
          reinterpret_cast<char*>(&other->_impl_.size_in_px_));
}

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

WebAppSpecifics::WebAppSpecifics(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, WebAppSpecifics_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:sync_pb.WebAppSpecifics)
}
PROTOBUF_NDEBUG_INLINE WebAppSpecifics::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::WebAppSpecifics& from_msg)
      : _has_bits_{from._has_bits_},
        _cached_size_{0},
        icon_infos_ {
          visibility, ::_pbi::InternalMetadataOffset::Build<
              ::sync_pb::WebAppSpecifics,
              PROTOBUF_FIELD_OFFSET(::sync_pb::WebAppSpecifics, _impl_.icon_infos_)>()
          , from.icon_infos_
        }
        ,
        trusted_icons_ {
          visibility, ::_pbi::InternalMetadataOffset::Build<
              ::sync_pb::WebAppSpecifics,
              PROTOBUF_FIELD_OFFSET(::sync_pb::WebAppSpecifics, _impl_.trusted_icons_)>()
          , from.trusted_icons_
        }
        ,
        start_url_(arena, from.start_url_),
        name_(arena, from.name_),
        scope_(arena, from.scope_),
        user_page_ordinal_(arena, from.user_page_ordinal_),
        user_launch_ordinal_(arena, from.user_launch_ordinal_),
        relative_manifest_id_(arena, from.relative_manifest_id_),
        migrated_from_manifest_id_(arena, from.migrated_from_manifest_id_) {}

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

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

  // @@protoc_insertion_point(copy_constructor:sync_pb.WebAppSpecifics)
}
PROTOBUF_NDEBUG_INLINE WebAppSpecifics::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0},
        icon_infos_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::sync_pb::WebAppSpecifics,
            PROTOBUF_FIELD_OFFSET(::sync_pb::WebAppSpecifics, _impl_.icon_infos_)>()
         }
        ,
        trusted_icons_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::sync_pb::WebAppSpecifics,
            PROTOBUF_FIELD_OFFSET(::sync_pb::WebAppSpecifics, _impl_.trusted_icons_)>()
         }
        ,
        start_url_(arena),
        name_(arena),
        scope_(arena),
        user_page_ordinal_(arena),
        user_launch_ordinal_(arena),
        relative_manifest_id_(arena),
        migrated_from_manifest_id_(arena) {}

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

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite WebAppSpecifics_class_data_ =
    WebAppSpecifics::InternalGenerateClassData_(WebAppSpecifics_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
WebAppSpecifics::GetClassData() const {
  return WebAppSpecifics_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
WebAppSpecifics::GetClassData() const {
  return WebAppSpecifics_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const WebAppSpecifics::ParseTableT_
    WebAppSpecifics::_table_ =
        WebAppSpecifics::InternalGenerateParseTable_(WebAppSpecifics_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void WebAppSpecifics::Clear() {
// @@protoc_insertion_point(message_clear_start:sync_pb.WebAppSpecifics)
  ::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_.icon_infos_.Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _impl_.trusted_icons_.Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _impl_.start_url_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      _impl_.name_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      _impl_.scope_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000020U)) {
      _impl_.user_page_ordinal_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000040U)) {
      _impl_.user_launch_ordinal_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000080U)) {
      _impl_.relative_manifest_id_.ClearNonDefaultToEmpty();
    }
  }
  if (CheckHasBit(cached_has_bits, 0x00000100U)) {
    _impl_.migrated_from_manifest_id_.ClearNonDefaultToEmpty();
  }
  if (BatchCheckHasBit(cached_has_bits, 0x00000e00U)) {
    ::memset(&_impl_.user_display_mode_default_, 0, static_cast<::size_t>(
        reinterpret_cast<char*>(&_impl_.user_display_mode_cros_) -
        reinterpret_cast<char*>(&_impl_.user_display_mode_default_)) + sizeof(_impl_.user_display_mode_cros_));
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

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

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

  // optional .sync_pb.WebAppSpecifics.UserDisplayMode user_display_mode_default = 3;
  if (CheckHasBit(cached_has_bits, 0x00000200U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteEnumToArray(
        3, this_._internal_user_display_mode_default(), target);
  }

  // optional uint32 theme_color = 4;
  if (CheckHasBit(cached_has_bits, 0x00000400U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
        4, this_._internal_theme_color(), target);
  }

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

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

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

  // optional string user_launch_ordinal = 8;
  if (CheckHasBit(cached_has_bits, 0x00000040U)) {
    const ::std::string& _s = this_._internal_user_launch_ordinal();
    target = stream->WriteStringMaybeAliased(8, _s, target);
  }

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

  // optional .sync_pb.WebAppSpecifics.UserDisplayMode user_display_mode_cros = 10;
  if (CheckHasBit(cached_has_bits, 0x00000800U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteEnumToArray(
        10, this_._internal_user_display_mode_cros(), target);
  }

  // repeated .sync_pb.WebAppIconInfo trusted_icons = 11;
  if (CheckHasBit(cached_has_bits, 0x00000002U)) {
    for (unsigned i = 0, n = static_cast<unsigned>(
                             this_._internal_trusted_icons_size());
         i < n; i++) {
      const auto& repfield = this_._internal_trusted_icons().Get(i);
      target =
          ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
              11, repfield, repfield.GetCachedSize(),
              target, stream);
    }
  }

  // optional string migrated_from_manifest_id = 12;
  if (CheckHasBit(cached_has_bits, 0x00000100U)) {
    const ::std::string& _s = this_._internal_migrated_from_manifest_id();
    target = stream->WriteStringMaybeAliased(12, _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.WebAppSpecifics)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t WebAppSpecifics::ByteSizeLong(const MessageLite& base) {
  const WebAppSpecifics& this_ = static_cast<const WebAppSpecifics&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t WebAppSpecifics::ByteSizeLong() const {
  const WebAppSpecifics& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:sync_pb.WebAppSpecifics)
  ::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.WebAppIconInfo icon_infos = 6;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1UL * this_._internal_icon_infos_size();
      for (const auto& msg : this_._internal_icon_infos()) {
        total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
      }
    }
    // repeated .sync_pb.WebAppIconInfo trusted_icons = 11;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += 1UL * this_._internal_trusted_icons_size();
      for (const auto& msg : this_._internal_trusted_icons()) {
        total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
      }
    }
    // optional string start_url = 1;
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_start_url());
    }
    // optional string name = 2;
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_name());
    }
    // optional string scope = 5;
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_scope());
    }
    // optional string user_page_ordinal = 7;
    if (CheckHasBit(cached_has_bits, 0x00000020U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_user_page_ordinal());
    }
    // optional string user_launch_ordinal = 8;
    if (CheckHasBit(cached_has_bits, 0x00000040U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_user_launch_ordinal());
    }
    // optional string relative_manifest_id = 9;
    if (CheckHasBit(cached_has_bits, 0x00000080U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_relative_manifest_id());
    }
  }
  if (BatchCheckHasBit(cached_has_bits, 0x00000f00U)) {
    // optional string migrated_from_manifest_id = 12;
    if (CheckHasBit(cached_has_bits, 0x00000100U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_migrated_from_manifest_id());
    }
    // optional .sync_pb.WebAppSpecifics.UserDisplayMode user_display_mode_default = 3;
    if (CheckHasBit(cached_has_bits, 0x00000200U)) {
      total_size += 1 +
                    ::_pbi::WireFormatLite::EnumSize(this_._internal_user_display_mode_default());
    }
    // optional uint32 theme_color = 4;
    if (CheckHasBit(cached_has_bits, 0x00000400U)) {
      total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
          this_._internal_theme_color());
    }
    // optional .sync_pb.WebAppSpecifics.UserDisplayMode user_display_mode_cros = 10;
    if (CheckHasBit(cached_has_bits, 0x00000800U)) {
      total_size += 1 +
                    ::_pbi::WireFormatLite::EnumSize(this_._internal_user_display_mode_cros());
    }
  }
  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 WebAppSpecifics::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<WebAppSpecifics*>(&to_msg);
  auto& from = static_cast<const WebAppSpecifics&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  ::google::protobuf::Arena* arena = _this->GetArena();
  // @@protoc_insertion_point(class_specific_merge_from_start:sync_pb.WebAppSpecifics)
  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_icon_infos()->InternalMergeFromWithArena(
          ::google::protobuf::MessageLite::internal_visibility(), arena,
          from._internal_icon_infos());
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _this->_internal_mutable_trusted_icons()->InternalMergeFromWithArena(
          ::google::protobuf::MessageLite::internal_visibility(), arena,
          from._internal_trusted_icons());
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _this->_internal_set_start_url(from._internal_start_url());
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      _this->_internal_set_name(from._internal_name());
    }
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      _this->_internal_set_scope(from._internal_scope());
    }
    if (CheckHasBit(cached_has_bits, 0x00000020U)) {
      _this->_internal_set_user_page_ordinal(from._internal_user_page_ordinal());
    }
    if (CheckHasBit(cached_has_bits, 0x00000040U)) {
      _this->_internal_set_user_launch_ordinal(from._internal_user_launch_ordinal());
    }
    if (CheckHasBit(cached_has_bits, 0x00000080U)) {
      _this->_internal_set_relative_manifest_id(from._internal_relative_manifest_id());
    }
  }
  if (BatchCheckHasBit(cached_has_bits, 0x00000f00U)) {
    if (CheckHasBit(cached_has_bits, 0x00000100U)) {
      _this->_internal_set_migrated_from_manifest_id(from._internal_migrated_from_manifest_id());
    }
    if (CheckHasBit(cached_has_bits, 0x00000200U)) {
      _this->_impl_.user_display_mode_default_ = from._impl_.user_display_mode_default_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000400U)) {
      _this->_impl_.theme_color_ = from._impl_.theme_color_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000800U)) {
      _this->_impl_.user_display_mode_cros_ = from._impl_.user_display_mode_cros_;
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


void WebAppSpecifics::InternalSwap(WebAppSpecifics* 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_.icon_infos_.InternalSwap(&other->_impl_.icon_infos_);
  _impl_.trusted_icons_.InternalSwap(&other->_impl_.trusted_icons_);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.start_url_, &other->_impl_.start_url_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.name_, &other->_impl_.name_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.scope_, &other->_impl_.scope_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.user_page_ordinal_, &other->_impl_.user_page_ordinal_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.user_launch_ordinal_, &other->_impl_.user_launch_ordinal_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.relative_manifest_id_, &other->_impl_.relative_manifest_id_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.migrated_from_manifest_id_, &other->_impl_.migrated_from_manifest_id_, arena);
  ::google::protobuf::internal::memswap<
      PROTOBUF_FIELD_OFFSET(WebAppSpecifics, _impl_.user_display_mode_cros_)
      + sizeof(WebAppSpecifics::_impl_.user_display_mode_cros_)
      - PROTOBUF_FIELD_OFFSET(WebAppSpecifics, _impl_.user_display_mode_default_)>(
          reinterpret_cast<char*>(&_impl_.user_display_mode_default_),
          reinterpret_cast<char*>(&other->_impl_.user_display_mode_default_));
}

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