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

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

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


inline constexpr WebApkIconInfo::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::WebApkIconInfo_Purpose >(0)} {}

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

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

constexpr WebApkSpecifics::ParseTableT_ WebApkSpecifics::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(WebApkSpecifics, _impl_._has_bits_),
      0, // no _extensions_
      7, 56,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967168,  // skipmap
      offsetof(ParseTableT_, field_entries),
      7,  // 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::WebApkSpecifics>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      {::_pbi::TcParser::MiniParse, {}},
      // optional string manifest_id = 1;
      {::_pbi::TcParser::FastBS1,
       {10, 1, 0,
        PROTOBUF_FIELD_OFFSET(WebApkSpecifics, _impl_.manifest_id_)}},
      // optional string start_url = 2;
      {::_pbi::TcParser::FastBS1,
       {18, 2, 0,
        PROTOBUF_FIELD_OFFSET(WebApkSpecifics, _impl_.start_url_)}},
      // optional string name = 3;
      {::_pbi::TcParser::FastBS1,
       {26, 3, 0,
        PROTOBUF_FIELD_OFFSET(WebApkSpecifics, _impl_.name_)}},
      // optional uint32 theme_color = 4;
      {::_pbi::TcParser::FastV32S1,
       {32, 6, 0,
        PROTOBUF_FIELD_OFFSET(WebApkSpecifics, _impl_.theme_color_)}},
      // optional string scope = 5;
      {::_pbi::TcParser::FastBS1,
       {42, 4, 0,
        PROTOBUF_FIELD_OFFSET(WebApkSpecifics, _impl_.scope_)}},
      // repeated .sync_pb.WebApkIconInfo icon_infos = 6;
      {::_pbi::TcParser::FastMtR1,
       {50, 0, 0,
        PROTOBUF_FIELD_OFFSET(WebApkSpecifics, _impl_.icon_infos_)}},
      // optional int64 last_used_time_windows_epoch_micros = 7;
      {::_pbi::TcParser::FastV64S1,
       {56, 5, 0,
        PROTOBUF_FIELD_OFFSET(WebApkSpecifics, _impl_.last_used_time_windows_epoch_micros_)}},
    }}, {{
      65535, 65535
    }}, {{
      // optional string manifest_id = 1;
      {PROTOBUF_FIELD_OFFSET(WebApkSpecifics, _impl_.manifest_id_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional string start_url = 2;
      {PROTOBUF_FIELD_OFFSET(WebApkSpecifics, _impl_.start_url_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional string name = 3;
      {PROTOBUF_FIELD_OFFSET(WebApkSpecifics, _impl_.name_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional uint32 theme_color = 4;
      {PROTOBUF_FIELD_OFFSET(WebApkSpecifics, _impl_.theme_color_), _Internal::kHasBitsOffset + 6, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
      // optional string scope = 5;
      {PROTOBUF_FIELD_OFFSET(WebApkSpecifics, _impl_.scope_), _Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // repeated .sync_pb.WebApkIconInfo icon_infos = 6;
      {PROTOBUF_FIELD_OFFSET(WebApkSpecifics, _impl_.icon_infos_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
      // optional int64 last_used_time_windows_epoch_micros = 7;
      {PROTOBUF_FIELD_OFFSET(WebApkSpecifics, _impl_.last_used_time_windows_epoch_micros_), _Internal::kHasBitsOffset + 5, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
    }},
    {{
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::sync_pb::WebApkIconInfo>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::sync_pb::WebApkIconInfo_globals_},
        #endif
    }},
    {{
    }},
  };
}


inline constexpr WebApkSpecifics::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        icon_infos_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::sync_pb::WebApkSpecifics,
            PROTOBUF_FIELD_OFFSET(::sync_pb::WebApkSpecifics, _impl_.icon_infos_)>()
         }
        ,
        manifest_id_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        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()),
        last_used_time_windows_epoch_micros_{::int64_t{0}},
        theme_color_{0u} {}

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

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

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

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

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

const ::std::string& WebApkIconInfo_Purpose_Name(WebApkIconInfo_Purpose value) {
  static const bool kDummy = ::google::protobuf::internal::InitializeEnumStrings(
      WebApkIconInfo_Purpose_entries, WebApkIconInfo_Purpose_entries_by_number, 4,
      WebApkIconInfo_Purpose_strings);
  (void)kDummy;

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

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

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

#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  WebApkIconInfo* 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.WebApkIconInfo)
}
PROTOBUF_NDEBUG_INLINE WebApkIconInfo::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0},
        url_(arena) {}

inline void WebApkIconInfo::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_));
}
WebApkIconInfo::~WebApkIconInfo() {
  // @@protoc_insertion_point(destructor:sync_pb.WebApkIconInfo)
  SharedDtor(*this);
}
inline void WebApkIconInfo::SharedDtor(MessageLite& self) {
  WebApkIconInfo& this_ = static_cast<WebApkIconInfo&>(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 WebApkIconInfo_class_data_ =
    WebApkIconInfo::InternalGenerateClassData_(WebApkIconInfo_globals_._default);

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

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


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

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

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

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

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

  // @@protoc_insertion_point(copy_constructor:sync_pb.WebApkSpecifics)
}
PROTOBUF_NDEBUG_INLINE WebApkSpecifics::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::WebApkSpecifics,
            PROTOBUF_FIELD_OFFSET(::sync_pb::WebApkSpecifics, _impl_.icon_infos_)>()
         }
        ,
        manifest_id_(arena),
        start_url_(arena),
        name_(arena),
        scope_(arena) {}

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

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite WebApkSpecifics_class_data_ =
    WebApkSpecifics::InternalGenerateClassData_(WebApkSpecifics_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
WebApkSpecifics::GetClassData() const {
  return WebApkSpecifics_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
WebApkSpecifics::GetClassData() const {
  return WebApkSpecifics_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const WebApkSpecifics::ParseTableT_
    WebApkSpecifics::_table_ =
        WebApkSpecifics::InternalGenerateParseTable_(WebApkSpecifics_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void WebApkSpecifics::Clear() {
// @@protoc_insertion_point(message_clear_start:sync_pb.WebApkSpecifics)
  ::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, 0x0000001fU)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _impl_.icon_infos_.Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _impl_.manifest_id_.ClearNonDefaultToEmpty();
    }
    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 (BatchCheckHasBit(cached_has_bits, 0x00000060U)) {
    ::memset(&_impl_.last_used_time_windows_epoch_micros_, 0, static_cast<::size_t>(
        reinterpret_cast<char*>(&_impl_.theme_color_) -
        reinterpret_cast<char*>(&_impl_.last_used_time_windows_epoch_micros_)) + sizeof(_impl_.theme_color_));
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

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

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

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

  // optional uint32 theme_color = 4;
  if (CheckHasBit(cached_has_bits, 0x00000040U)) {
    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.WebApkIconInfo 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 int64 last_used_time_windows_epoch_micros = 7;
  if (CheckHasBit(cached_has_bits, 0x00000020U)) {
    target =
        ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<7>(
            stream, this_._internal_last_used_time_windows_epoch_micros(), 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.WebApkSpecifics)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t WebApkSpecifics::ByteSizeLong(const MessageLite& base) {
  const WebApkSpecifics& this_ = static_cast<const WebApkSpecifics&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t WebApkSpecifics::ByteSizeLong() const {
  const WebApkSpecifics& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:sync_pb.WebApkSpecifics)
  ::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, 0x0000007fU)) {
    // repeated .sync_pb.WebApkIconInfo 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);
      }
    }
    // optional string manifest_id = 1;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_manifest_id());
    }
    // optional string start_url = 2;
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_start_url());
    }
    // optional string name = 3;
    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 int64 last_used_time_windows_epoch_micros = 7;
    if (CheckHasBit(cached_has_bits, 0x00000020U)) {
      total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
          this_._internal_last_used_time_windows_epoch_micros());
    }
    // optional uint32 theme_color = 4;
    if (CheckHasBit(cached_has_bits, 0x00000040U)) {
      total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
          this_._internal_theme_color());
    }
  }
  if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
    total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
  }
  this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
  return total_size;
}

void WebApkSpecifics::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<WebApkSpecifics*>(&to_msg);
  auto& from = static_cast<const WebApkSpecifics&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  ::google::protobuf::Arena* arena = _this->GetArena();
  // @@protoc_insertion_point(class_specific_merge_from_start:sync_pb.WebApkSpecifics)
  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, 0x0000007fU)) {
    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_set_manifest_id(from._internal_manifest_id());
    }
    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->_impl_.last_used_time_windows_epoch_micros_ = from._impl_.last_used_time_windows_epoch_micros_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000040U)) {
      _this->_impl_.theme_color_ = from._impl_.theme_color_;
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


void WebApkSpecifics::InternalSwap(WebApkSpecifics* 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_);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.manifest_id_, &other->_impl_.manifest_id_, arena);
  ::_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);
  ::google::protobuf::internal::memswap<
      PROTOBUF_FIELD_OFFSET(WebApkSpecifics, _impl_.theme_color_)
      + sizeof(WebApkSpecifics::_impl_.theme_color_)
      - PROTOBUF_FIELD_OFFSET(WebApkSpecifics, _impl_.last_used_time_windows_epoch_micros_)>(
          reinterpret_cast<char*>(&_impl_.last_used_time_windows_epoch_micros_),
          reinterpret_cast<char*>(&other->_impl_.last_used_time_windows_epoch_micros_));
}

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