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

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

constexpr WifiConfigurationSpecifics_ProxyConfiguration_ManualProxyConfiguration::ParseTableT_ WifiConfigurationSpecifics_ProxyConfiguration_ManualProxyConfiguration::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(WifiConfigurationSpecifics_ProxyConfiguration_ManualProxyConfiguration, _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
      0,  // num_aux_entries
      offsetof(ParseTableT_, field_names),  // no aux_entries
      class_data,
      nullptr,  // post_loop_handler
      ::_pbi::TcParser::GenericFallbackLite,  // fallback
      #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
      ::_pbi::TcParser::GetTable<::sync_pb::WifiConfigurationSpecifics_ProxyConfiguration_ManualProxyConfiguration>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      {::_pbi::TcParser::MiniParse, {}},
      // optional string http_proxy_url = 1;
      {::_pbi::TcParser::FastBS1,
       {10, 1, 0,
        PROTOBUF_FIELD_OFFSET(WifiConfigurationSpecifics_ProxyConfiguration_ManualProxyConfiguration, _impl_.http_proxy_url_)}},
      // optional int32 http_proxy_port = 2;
      {::_pbi::TcParser::FastV32S1,
       {16, 4, 0,
        PROTOBUF_FIELD_OFFSET(WifiConfigurationSpecifics_ProxyConfiguration_ManualProxyConfiguration, _impl_.http_proxy_port_)}},
      // optional string secure_http_proxy_url = 3;
      {::_pbi::TcParser::FastBS1,
       {26, 2, 0,
        PROTOBUF_FIELD_OFFSET(WifiConfigurationSpecifics_ProxyConfiguration_ManualProxyConfiguration, _impl_.secure_http_proxy_url_)}},
      // optional int32 secure_http_proxy_port = 4;
      {::_pbi::TcParser::FastV32S1,
       {32, 5, 0,
        PROTOBUF_FIELD_OFFSET(WifiConfigurationSpecifics_ProxyConfiguration_ManualProxyConfiguration, _impl_.secure_http_proxy_port_)}},
      // optional string socks_host_url = 5;
      {::_pbi::TcParser::FastBS1,
       {42, 3, 0,
        PROTOBUF_FIELD_OFFSET(WifiConfigurationSpecifics_ProxyConfiguration_ManualProxyConfiguration, _impl_.socks_host_url_)}},
      // optional int32 socks_host_port = 6;
      {::_pbi::TcParser::FastV32S1,
       {48, 6, 0,
        PROTOBUF_FIELD_OFFSET(WifiConfigurationSpecifics_ProxyConfiguration_ManualProxyConfiguration, _impl_.socks_host_port_)}},
      // repeated string excluded_domains = 7;
      {::_pbi::TcParser::FastBR1,
       {58, 0, 0,
        PROTOBUF_FIELD_OFFSET(WifiConfigurationSpecifics_ProxyConfiguration_ManualProxyConfiguration, _impl_.excluded_domains_)}},
    }}, {{
      65535, 65535
    }}, {{
      // optional string http_proxy_url = 1;
      {PROTOBUF_FIELD_OFFSET(WifiConfigurationSpecifics_ProxyConfiguration_ManualProxyConfiguration, _impl_.http_proxy_url_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional int32 http_proxy_port = 2;
      {PROTOBUF_FIELD_OFFSET(WifiConfigurationSpecifics_ProxyConfiguration_ManualProxyConfiguration, _impl_.http_proxy_port_), _Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
      // optional string secure_http_proxy_url = 3;
      {PROTOBUF_FIELD_OFFSET(WifiConfigurationSpecifics_ProxyConfiguration_ManualProxyConfiguration, _impl_.secure_http_proxy_url_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional int32 secure_http_proxy_port = 4;
      {PROTOBUF_FIELD_OFFSET(WifiConfigurationSpecifics_ProxyConfiguration_ManualProxyConfiguration, _impl_.secure_http_proxy_port_), _Internal::kHasBitsOffset + 5, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
      // optional string socks_host_url = 5;
      {PROTOBUF_FIELD_OFFSET(WifiConfigurationSpecifics_ProxyConfiguration_ManualProxyConfiguration, _impl_.socks_host_url_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional int32 socks_host_port = 6;
      {PROTOBUF_FIELD_OFFSET(WifiConfigurationSpecifics_ProxyConfiguration_ManualProxyConfiguration, _impl_.socks_host_port_), _Internal::kHasBitsOffset + 6, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
      // repeated string excluded_domains = 7;
      {PROTOBUF_FIELD_OFFSET(WifiConfigurationSpecifics_ProxyConfiguration_ManualProxyConfiguration, _impl_.excluded_domains_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kBytes | ::_fl::kRepSString)},
    }},
    // no aux_entries
    {{
    }},
  };
}


inline constexpr WifiConfigurationSpecifics_ProxyConfiguration_ManualProxyConfiguration::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        excluded_domains_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::sync_pb::WifiConfigurationSpecifics_ProxyConfiguration_ManualProxyConfiguration,
            PROTOBUF_FIELD_OFFSET(::sync_pb::WifiConfigurationSpecifics_ProxyConfiguration_ManualProxyConfiguration, _impl_.excluded_domains_)>()
         }
        ,
        http_proxy_url_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        secure_http_proxy_url_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        socks_host_url_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        http_proxy_port_{0},
        secure_http_proxy_port_{0},
        socks_host_port_{0} {}

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

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

constexpr WifiConfigurationSpecifics_ProxyConfiguration::ParseTableT_ WifiConfigurationSpecifics_ProxyConfiguration::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(WifiConfigurationSpecifics_ProxyConfiguration, _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
      2,  // num_aux_entries
      offsetof(ParseTableT_, aux_entries),
      class_data,
      nullptr,  // post_loop_handler
      ::_pbi::TcParser::GenericFallbackLite,  // fallback
      #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
      ::_pbi::TcParser::GetTable<::sync_pb::WifiConfigurationSpecifics_ProxyConfiguration>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      {::_pbi::TcParser::MiniParse, {}},
      // optional .sync_pb.WifiConfigurationSpecifics.ProxyConfiguration.ProxyOption proxy_option = 1;
      {::_pbi::TcParser::FastEr0S1,
       {8, 2, 4,
        PROTOBUF_FIELD_OFFSET(WifiConfigurationSpecifics_ProxyConfiguration, _impl_.proxy_option_)}},
      // optional string autoconfiguration_url = 2;
      {::_pbi::TcParser::FastBS1,
       {18, 0, 0,
        PROTOBUF_FIELD_OFFSET(WifiConfigurationSpecifics_ProxyConfiguration, _impl_.autoconfiguration_url_)}},
      // optional .sync_pb.WifiConfigurationSpecifics.ProxyConfiguration.ManualProxyConfiguration manual_proxy_configuration = 3;
      {::_pbi::TcParser::FastMtS1,
       {26, 1, 0,
        PROTOBUF_FIELD_OFFSET(WifiConfigurationSpecifics_ProxyConfiguration, _impl_.manual_proxy_configuration_)}},
    }}, {{
      65535, 65535
    }}, {{
      // optional .sync_pb.WifiConfigurationSpecifics.ProxyConfiguration.ProxyOption proxy_option = 1;
      {PROTOBUF_FIELD_OFFSET(WifiConfigurationSpecifics_ProxyConfiguration, _impl_.proxy_option_), _Internal::kHasBitsOffset + 2, 1, (0 | ::_fl::kFcOptional | ::_fl::kEnumRange)},
      // optional string autoconfiguration_url = 2;
      {PROTOBUF_FIELD_OFFSET(WifiConfigurationSpecifics_ProxyConfiguration, _impl_.autoconfiguration_url_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional .sync_pb.WifiConfigurationSpecifics.ProxyConfiguration.ManualProxyConfiguration manual_proxy_configuration = 3;
      {PROTOBUF_FIELD_OFFSET(WifiConfigurationSpecifics_ProxyConfiguration, _impl_.manual_proxy_configuration_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
    }},
    {{
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::sync_pb::WifiConfigurationSpecifics_ProxyConfiguration_ManualProxyConfiguration>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::sync_pb::WifiConfigurationSpecifics_ProxyConfiguration_ManualProxyConfiguration_globals_},
        #endif
        {0, 4},
    }},
    {{
    }},
  };
}


inline constexpr WifiConfigurationSpecifics_ProxyConfiguration::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        autoconfiguration_url_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        manual_proxy_configuration_{nullptr},
        proxy_option_{static_cast< ::sync_pb::WifiConfigurationSpecifics_ProxyConfiguration_ProxyOption >(0)} {}

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

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

constexpr WifiConfigurationSpecifics::ParseTableT_ WifiConfigurationSpecifics::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(WifiConfigurationSpecifics, _impl_._has_bits_),
      0, // no _extensions_
      10, 120,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294966272,  // skipmap
      offsetof(ParseTableT_, field_entries),
      10,  // num_field_entries
      6,  // 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::WifiConfigurationSpecifics>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      {::_pbi::TcParser::MiniParse, {}},
      // optional bytes hex_ssid = 1;
      {::_pbi::TcParser::FastBS1,
       {10, 1, 0,
        PROTOBUF_FIELD_OFFSET(WifiConfigurationSpecifics, _impl_.hex_ssid_)}},
      // optional .sync_pb.WifiConfigurationSpecifics.SecurityType security_type = 2;
      {::_pbi::TcParser::FastEr0S1,
       {16, 4, 3,
        PROTOBUF_FIELD_OFFSET(WifiConfigurationSpecifics, _impl_.security_type_)}},
      // optional bytes passphrase = 3;
      {::_pbi::TcParser::FastBS1,
       {26, 2, 0,
        PROTOBUF_FIELD_OFFSET(WifiConfigurationSpecifics, _impl_.passphrase_)}},
      // optional .sync_pb.WifiConfigurationSpecifics.AutomaticallyConnectOption automatically_connect = 4;
      {::_pbi::TcParser::FastEr0S1,
       {32, 5, 2,
        PROTOBUF_FIELD_OFFSET(WifiConfigurationSpecifics, _impl_.automatically_connect_)}},
      // optional .sync_pb.WifiConfigurationSpecifics.IsPreferredOption is_preferred = 5;
      {::_pbi::TcParser::FastEr0S1,
       {40, 6, 2,
        PROTOBUF_FIELD_OFFSET(WifiConfigurationSpecifics, _impl_.is_preferred_)}},
      // optional .sync_pb.WifiConfigurationSpecifics.MeteredOption metered = 6;
      {::_pbi::TcParser::FastEr0S1,
       {48, 7, 3,
        PROTOBUF_FIELD_OFFSET(WifiConfigurationSpecifics, _impl_.metered_)}},
      // optional .sync_pb.WifiConfigurationSpecifics.ProxyConfiguration proxy_configuration = 7;
      {::_pbi::TcParser::FastMtS1,
       {58, 3, 0,
        PROTOBUF_FIELD_OFFSET(WifiConfigurationSpecifics, _impl_.proxy_configuration_)}},
      // repeated string custom_dns = 8;
      {::_pbi::TcParser::FastBR1,
       {66, 0, 0,
        PROTOBUF_FIELD_OFFSET(WifiConfigurationSpecifics, _impl_.custom_dns_)}},
      // optional int64 last_connected_timestamp = 9;
      {::_pbi::TcParser::FastV64S1,
       {72, 8, 0,
        PROTOBUF_FIELD_OFFSET(WifiConfigurationSpecifics, _impl_.last_connected_timestamp_)}},
      // optional .sync_pb.WifiConfigurationSpecifics.DnsOption dns_option = 10;
      {::_pbi::TcParser::FastEr0S1,
       {80, 9, 2,
        PROTOBUF_FIELD_OFFSET(WifiConfigurationSpecifics, _impl_.dns_option_)}},
      {::_pbi::TcParser::MiniParse, {}},
      {::_pbi::TcParser::MiniParse, {}},
      {::_pbi::TcParser::MiniParse, {}},
      {::_pbi::TcParser::MiniParse, {}},
      {::_pbi::TcParser::MiniParse, {}},
    }}, {{
      65535, 65535
    }}, {{
      // optional bytes hex_ssid = 1;
      {PROTOBUF_FIELD_OFFSET(WifiConfigurationSpecifics, _impl_.hex_ssid_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional .sync_pb.WifiConfigurationSpecifics.SecurityType security_type = 2;
      {PROTOBUF_FIELD_OFFSET(WifiConfigurationSpecifics, _impl_.security_type_), _Internal::kHasBitsOffset + 4, 1, (0 | ::_fl::kFcOptional | ::_fl::kEnumRange)},
      // optional bytes passphrase = 3;
      {PROTOBUF_FIELD_OFFSET(WifiConfigurationSpecifics, _impl_.passphrase_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // optional .sync_pb.WifiConfigurationSpecifics.AutomaticallyConnectOption automatically_connect = 4;
      {PROTOBUF_FIELD_OFFSET(WifiConfigurationSpecifics, _impl_.automatically_connect_), _Internal::kHasBitsOffset + 5, 2, (0 | ::_fl::kFcOptional | ::_fl::kEnumRange)},
      // optional .sync_pb.WifiConfigurationSpecifics.IsPreferredOption is_preferred = 5;
      {PROTOBUF_FIELD_OFFSET(WifiConfigurationSpecifics, _impl_.is_preferred_), _Internal::kHasBitsOffset + 6, 3, (0 | ::_fl::kFcOptional | ::_fl::kEnumRange)},
      // optional .sync_pb.WifiConfigurationSpecifics.MeteredOption metered = 6;
      {PROTOBUF_FIELD_OFFSET(WifiConfigurationSpecifics, _impl_.metered_), _Internal::kHasBitsOffset + 7, 4, (0 | ::_fl::kFcOptional | ::_fl::kEnumRange)},
      // optional .sync_pb.WifiConfigurationSpecifics.ProxyConfiguration proxy_configuration = 7;
      {PROTOBUF_FIELD_OFFSET(WifiConfigurationSpecifics, _impl_.proxy_configuration_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
      // repeated string custom_dns = 8;
      {PROTOBUF_FIELD_OFFSET(WifiConfigurationSpecifics, _impl_.custom_dns_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kBytes | ::_fl::kRepSString)},
      // optional int64 last_connected_timestamp = 9;
      {PROTOBUF_FIELD_OFFSET(WifiConfigurationSpecifics, _impl_.last_connected_timestamp_), _Internal::kHasBitsOffset + 8, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
      // optional .sync_pb.WifiConfigurationSpecifics.DnsOption dns_option = 10;
      {PROTOBUF_FIELD_OFFSET(WifiConfigurationSpecifics, _impl_.dns_option_), _Internal::kHasBitsOffset + 9, 5, (0 | ::_fl::kFcOptional | ::_fl::kEnumRange)},
    }},
    {{
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::sync_pb::WifiConfigurationSpecifics_ProxyConfiguration>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::sync_pb::WifiConfigurationSpecifics_ProxyConfiguration_globals_},
        #endif
        {0, 3},
        {0, 2},
        {0, 2},
        {0, 3},
        {0, 2},
    }},
    {{
    }},
  };
}


inline constexpr WifiConfigurationSpecifics::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        custom_dns_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::sync_pb::WifiConfigurationSpecifics,
            PROTOBUF_FIELD_OFFSET(::sync_pb::WifiConfigurationSpecifics, _impl_.custom_dns_)>()
         }
        ,
        hex_ssid_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        passphrase_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        proxy_configuration_{nullptr},
        security_type_{static_cast< ::sync_pb::WifiConfigurationSpecifics_SecurityType >(0)},
        automatically_connect_{static_cast< ::sync_pb::WifiConfigurationSpecifics_AutomaticallyConnectOption >(0)},
        is_preferred_{static_cast< ::sync_pb::WifiConfigurationSpecifics_IsPreferredOption >(0)},
        metered_{static_cast< ::sync_pb::WifiConfigurationSpecifics_MeteredOption >(0)},
        last_connected_timestamp_{::int64_t{0}},
        dns_option_{static_cast< ::sync_pb::WifiConfigurationSpecifics_DnsOption >(0)} {}

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

PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PROTOBUF_MESSAGE_GLOBALS_CONST WifiConfigurationSpecificsGlobalsTypeInternal WifiConfigurationSpecifics_globals_
        PROTOBUF_MESSAGE_GLOBALS_SECTION(.data.rel.ro);
#if defined(PROTOBUF_CUSTOM_VTABLE)
namespace {
const ::_pbi::ClassData* WifiConfigurationSpecifics_get_class_data() {
#ifdef PROTOBUF_MESSAGE_GLOBALS
  return WifiConfigurationSpecifics_globals_.GetClassData();
#else
  return WifiConfigurationSpecifics_class_data_.base();
#endif  // PROTOBUF_MESSAGE_GLOBALS
}
}  // namespace
#endif  // PROTOBUF_CUSTOM_VTABLE
}  // namespace sync_pb
namespace sync_pb {
PROTOBUF_CONSTINIT const uint32_t WifiConfigurationSpecifics_ProxyConfiguration_ProxyOption_internal_data_[] = {
    327680u, 0u, };
static const char WifiConfigurationSpecifics_ProxyConfiguration_ProxyOption_names[] = {
    "PROXY_OPTION_AUTODISCOVERY"
    "PROXY_OPTION_AUTOMATIC"
    "PROXY_OPTION_DISABLED"
    "PROXY_OPTION_MANUAL"
    "PROXY_OPTION_UNSPECIFIED"
};

static const ::google::protobuf::internal::EnumEntry WifiConfigurationSpecifics_ProxyConfiguration_ProxyOption_entries[] = {
    {{&WifiConfigurationSpecifics_ProxyConfiguration_ProxyOption_names[0], 26}, 3},
    {{&WifiConfigurationSpecifics_ProxyConfiguration_ProxyOption_names[26], 22}, 2},
    {{&WifiConfigurationSpecifics_ProxyConfiguration_ProxyOption_names[48], 21}, 1},
    {{&WifiConfigurationSpecifics_ProxyConfiguration_ProxyOption_names[69], 19}, 4},
    {{&WifiConfigurationSpecifics_ProxyConfiguration_ProxyOption_names[88], 24}, 0},
};

static const int WifiConfigurationSpecifics_ProxyConfiguration_ProxyOption_entries_by_number[] = {
    4,  // 0 -> PROXY_OPTION_UNSPECIFIED
    2,  // 1 -> PROXY_OPTION_DISABLED
    1,  // 2 -> PROXY_OPTION_AUTOMATIC
    0,  // 3 -> PROXY_OPTION_AUTODISCOVERY
    3,  // 4 -> PROXY_OPTION_MANUAL
};

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

const ::std::string& WifiConfigurationSpecifics_ProxyConfiguration_ProxyOption_Name(WifiConfigurationSpecifics_ProxyConfiguration_ProxyOption value) {
  static const bool kDummy = ::google::protobuf::internal::InitializeEnumStrings(
      WifiConfigurationSpecifics_ProxyConfiguration_ProxyOption_entries, WifiConfigurationSpecifics_ProxyConfiguration_ProxyOption_entries_by_number, 5,
      WifiConfigurationSpecifics_ProxyConfiguration_ProxyOption_strings);
  (void)kDummy;

  int idx = ::google::protobuf::internal::LookUpEnumName(WifiConfigurationSpecifics_ProxyConfiguration_ProxyOption_entries,
                                  WifiConfigurationSpecifics_ProxyConfiguration_ProxyOption_entries_by_number,
                                  5, value);
  return idx == -1 ? ::google::protobuf::internal::GetEmptyString() : WifiConfigurationSpecifics_ProxyConfiguration_ProxyOption_strings[idx].get();
}
PROTOBUF_CONSTINIT const uint32_t WifiConfigurationSpecifics_SecurityType_internal_data_[] = {
    262144u, 0u, };
static const char WifiConfigurationSpecifics_SecurityType_names[] = {
    "SECURITY_TYPE_NONE"
    "SECURITY_TYPE_PSK"
    "SECURITY_TYPE_UNSPECIFIED"
    "SECURITY_TYPE_WEP"
};

static const ::google::protobuf::internal::EnumEntry WifiConfigurationSpecifics_SecurityType_entries[] = {
    {{&WifiConfigurationSpecifics_SecurityType_names[0], 18}, 1},
    {{&WifiConfigurationSpecifics_SecurityType_names[18], 17}, 3},
    {{&WifiConfigurationSpecifics_SecurityType_names[35], 25}, 0},
    {{&WifiConfigurationSpecifics_SecurityType_names[60], 17}, 2},
};

static const int WifiConfigurationSpecifics_SecurityType_entries_by_number[] = {
    2,  // 0 -> SECURITY_TYPE_UNSPECIFIED
    0,  // 1 -> SECURITY_TYPE_NONE
    3,  // 2 -> SECURITY_TYPE_WEP
    1,  // 3 -> SECURITY_TYPE_PSK
};

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

const ::std::string& WifiConfigurationSpecifics_SecurityType_Name(WifiConfigurationSpecifics_SecurityType value) {
  static const bool kDummy = ::google::protobuf::internal::InitializeEnumStrings(
      WifiConfigurationSpecifics_SecurityType_entries, WifiConfigurationSpecifics_SecurityType_entries_by_number, 4,
      WifiConfigurationSpecifics_SecurityType_strings);
  (void)kDummy;

  int idx = ::google::protobuf::internal::LookUpEnumName(WifiConfigurationSpecifics_SecurityType_entries,
                                  WifiConfigurationSpecifics_SecurityType_entries_by_number,
                                  4, value);
  return idx == -1 ? ::google::protobuf::internal::GetEmptyString() : WifiConfigurationSpecifics_SecurityType_strings[idx].get();
}
PROTOBUF_CONSTINIT const uint32_t WifiConfigurationSpecifics_AutomaticallyConnectOption_internal_data_[] = {
    196608u, 0u, };
static const char WifiConfigurationSpecifics_AutomaticallyConnectOption_names[] = {
    "AUTOMATICALLY_CONNECT_DISABLED"
    "AUTOMATICALLY_CONNECT_ENABLED"
    "AUTOMATICALLY_CONNECT_UNSPECIFIED"
};

static const ::google::protobuf::internal::EnumEntry WifiConfigurationSpecifics_AutomaticallyConnectOption_entries[] = {
    {{&WifiConfigurationSpecifics_AutomaticallyConnectOption_names[0], 30}, 1},
    {{&WifiConfigurationSpecifics_AutomaticallyConnectOption_names[30], 29}, 2},
    {{&WifiConfigurationSpecifics_AutomaticallyConnectOption_names[59], 33}, 0},
};

static const int WifiConfigurationSpecifics_AutomaticallyConnectOption_entries_by_number[] = {
    2,  // 0 -> AUTOMATICALLY_CONNECT_UNSPECIFIED
    0,  // 1 -> AUTOMATICALLY_CONNECT_DISABLED
    1,  // 2 -> AUTOMATICALLY_CONNECT_ENABLED
};

bool WifiConfigurationSpecifics_AutomaticallyConnectOption_Parse(::absl::string_view name,
                                  WifiConfigurationSpecifics_AutomaticallyConnectOption* PROTOBUF_NONNULL value) {
  int int_value;
  bool success = ::google::protobuf::internal::LookUpEnumValue(
      WifiConfigurationSpecifics_AutomaticallyConnectOption_entries, 3, name, &int_value);
  if (success) {
    *value = static_cast<WifiConfigurationSpecifics_AutomaticallyConnectOption>(int_value);
  }
  return success;
}
static ::google::protobuf::internal::ExplicitlyConstructed<::std::string>
    WifiConfigurationSpecifics_AutomaticallyConnectOption_strings[3] = {};

const ::std::string& WifiConfigurationSpecifics_AutomaticallyConnectOption_Name(WifiConfigurationSpecifics_AutomaticallyConnectOption value) {
  static const bool kDummy = ::google::protobuf::internal::InitializeEnumStrings(
      WifiConfigurationSpecifics_AutomaticallyConnectOption_entries, WifiConfigurationSpecifics_AutomaticallyConnectOption_entries_by_number, 3,
      WifiConfigurationSpecifics_AutomaticallyConnectOption_strings);
  (void)kDummy;

  int idx = ::google::protobuf::internal::LookUpEnumName(WifiConfigurationSpecifics_AutomaticallyConnectOption_entries,
                                  WifiConfigurationSpecifics_AutomaticallyConnectOption_entries_by_number,
                                  3, value);
  return idx == -1 ? ::google::protobuf::internal::GetEmptyString() : WifiConfigurationSpecifics_AutomaticallyConnectOption_strings[idx].get();
}
PROTOBUF_CONSTINIT const uint32_t WifiConfigurationSpecifics_IsPreferredOption_internal_data_[] = {
    196608u, 0u, };
static const char WifiConfigurationSpecifics_IsPreferredOption_names[] = {
    "IS_PREFERRED_DISABLED"
    "IS_PREFERRED_ENABLED"
    "IS_PREFERRED_UNSPECIFIED"
};

static const ::google::protobuf::internal::EnumEntry WifiConfigurationSpecifics_IsPreferredOption_entries[] = {
    {{&WifiConfigurationSpecifics_IsPreferredOption_names[0], 21}, 1},
    {{&WifiConfigurationSpecifics_IsPreferredOption_names[21], 20}, 2},
    {{&WifiConfigurationSpecifics_IsPreferredOption_names[41], 24}, 0},
};

static const int WifiConfigurationSpecifics_IsPreferredOption_entries_by_number[] = {
    2,  // 0 -> IS_PREFERRED_UNSPECIFIED
    0,  // 1 -> IS_PREFERRED_DISABLED
    1,  // 2 -> IS_PREFERRED_ENABLED
};

bool WifiConfigurationSpecifics_IsPreferredOption_Parse(::absl::string_view name,
                                  WifiConfigurationSpecifics_IsPreferredOption* PROTOBUF_NONNULL value) {
  int int_value;
  bool success = ::google::protobuf::internal::LookUpEnumValue(
      WifiConfigurationSpecifics_IsPreferredOption_entries, 3, name, &int_value);
  if (success) {
    *value = static_cast<WifiConfigurationSpecifics_IsPreferredOption>(int_value);
  }
  return success;
}
static ::google::protobuf::internal::ExplicitlyConstructed<::std::string>
    WifiConfigurationSpecifics_IsPreferredOption_strings[3] = {};

const ::std::string& WifiConfigurationSpecifics_IsPreferredOption_Name(WifiConfigurationSpecifics_IsPreferredOption value) {
  static const bool kDummy = ::google::protobuf::internal::InitializeEnumStrings(
      WifiConfigurationSpecifics_IsPreferredOption_entries, WifiConfigurationSpecifics_IsPreferredOption_entries_by_number, 3,
      WifiConfigurationSpecifics_IsPreferredOption_strings);
  (void)kDummy;

  int idx = ::google::protobuf::internal::LookUpEnumName(WifiConfigurationSpecifics_IsPreferredOption_entries,
                                  WifiConfigurationSpecifics_IsPreferredOption_entries_by_number,
                                  3, value);
  return idx == -1 ? ::google::protobuf::internal::GetEmptyString() : WifiConfigurationSpecifics_IsPreferredOption_strings[idx].get();
}
PROTOBUF_CONSTINIT const uint32_t WifiConfigurationSpecifics_MeteredOption_internal_data_[] = {
    262144u, 0u, };
static const char WifiConfigurationSpecifics_MeteredOption_names[] = {
    "METERED_OPTION_AUTO"
    "METERED_OPTION_NO"
    "METERED_OPTION_UNSPECIFIED"
    "METERED_OPTION_YES"
};

static const ::google::protobuf::internal::EnumEntry WifiConfigurationSpecifics_MeteredOption_entries[] = {
    {{&WifiConfigurationSpecifics_MeteredOption_names[0], 19}, 3},
    {{&WifiConfigurationSpecifics_MeteredOption_names[19], 17}, 1},
    {{&WifiConfigurationSpecifics_MeteredOption_names[36], 26}, 0},
    {{&WifiConfigurationSpecifics_MeteredOption_names[62], 18}, 2},
};

static const int WifiConfigurationSpecifics_MeteredOption_entries_by_number[] = {
    2,  // 0 -> METERED_OPTION_UNSPECIFIED
    1,  // 1 -> METERED_OPTION_NO
    3,  // 2 -> METERED_OPTION_YES
    0,  // 3 -> METERED_OPTION_AUTO
};

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

const ::std::string& WifiConfigurationSpecifics_MeteredOption_Name(WifiConfigurationSpecifics_MeteredOption value) {
  static const bool kDummy = ::google::protobuf::internal::InitializeEnumStrings(
      WifiConfigurationSpecifics_MeteredOption_entries, WifiConfigurationSpecifics_MeteredOption_entries_by_number, 4,
      WifiConfigurationSpecifics_MeteredOption_strings);
  (void)kDummy;

  int idx = ::google::protobuf::internal::LookUpEnumName(WifiConfigurationSpecifics_MeteredOption_entries,
                                  WifiConfigurationSpecifics_MeteredOption_entries_by_number,
                                  4, value);
  return idx == -1 ? ::google::protobuf::internal::GetEmptyString() : WifiConfigurationSpecifics_MeteredOption_strings[idx].get();
}
PROTOBUF_CONSTINIT const uint32_t WifiConfigurationSpecifics_DnsOption_internal_data_[] = {
    196608u, 0u, };
static const char WifiConfigurationSpecifics_DnsOption_names[] = {
    "DNS_OPTION_CUSTOM"
    "DNS_OPTION_DEFAULT_DHCP"
    "DNS_OPTION_UNSPECIFIED"
};

static const ::google::protobuf::internal::EnumEntry WifiConfigurationSpecifics_DnsOption_entries[] = {
    {{&WifiConfigurationSpecifics_DnsOption_names[0], 17}, 2},
    {{&WifiConfigurationSpecifics_DnsOption_names[17], 23}, 1},
    {{&WifiConfigurationSpecifics_DnsOption_names[40], 22}, 0},
};

static const int WifiConfigurationSpecifics_DnsOption_entries_by_number[] = {
    2,  // 0 -> DNS_OPTION_UNSPECIFIED
    1,  // 1 -> DNS_OPTION_DEFAULT_DHCP
    0,  // 2 -> DNS_OPTION_CUSTOM
};

bool WifiConfigurationSpecifics_DnsOption_Parse(::absl::string_view name,
                                  WifiConfigurationSpecifics_DnsOption* PROTOBUF_NONNULL value) {
  int int_value;
  bool success = ::google::protobuf::internal::LookUpEnumValue(
      WifiConfigurationSpecifics_DnsOption_entries, 3, name, &int_value);
  if (success) {
    *value = static_cast<WifiConfigurationSpecifics_DnsOption>(int_value);
  }
  return success;
}
static ::google::protobuf::internal::ExplicitlyConstructed<::std::string>
    WifiConfigurationSpecifics_DnsOption_strings[3] = {};

const ::std::string& WifiConfigurationSpecifics_DnsOption_Name(WifiConfigurationSpecifics_DnsOption value) {
  static const bool kDummy = ::google::protobuf::internal::InitializeEnumStrings(
      WifiConfigurationSpecifics_DnsOption_entries, WifiConfigurationSpecifics_DnsOption_entries_by_number, 3,
      WifiConfigurationSpecifics_DnsOption_strings);
  (void)kDummy;

  int idx = ::google::protobuf::internal::LookUpEnumName(WifiConfigurationSpecifics_DnsOption_entries,
                                  WifiConfigurationSpecifics_DnsOption_entries_by_number,
                                  3, value);
  return idx == -1 ? ::google::protobuf::internal::GetEmptyString() : WifiConfigurationSpecifics_DnsOption_strings[idx].get();
}
// ===================================================================

WifiConfigurationSpecifics_ProxyConfiguration_ManualProxyConfiguration::WifiConfigurationSpecifics_ProxyConfiguration_ManualProxyConfiguration(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, WifiConfigurationSpecifics_ProxyConfiguration_ManualProxyConfiguration_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:sync_pb.WifiConfigurationSpecifics.ProxyConfiguration.ManualProxyConfiguration)
}
PROTOBUF_NDEBUG_INLINE WifiConfigurationSpecifics_ProxyConfiguration_ManualProxyConfiguration::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::WifiConfigurationSpecifics_ProxyConfiguration_ManualProxyConfiguration& from_msg)
      : _has_bits_{from._has_bits_},
        _cached_size_{0},
        excluded_domains_ {
          visibility, ::_pbi::InternalMetadataOffset::Build<
              ::sync_pb::WifiConfigurationSpecifics_ProxyConfiguration_ManualProxyConfiguration,
              PROTOBUF_FIELD_OFFSET(::sync_pb::WifiConfigurationSpecifics_ProxyConfiguration_ManualProxyConfiguration, _impl_.excluded_domains_)>()
          , from.excluded_domains_
        }
        ,
        http_proxy_url_(arena, from.http_proxy_url_),
        secure_http_proxy_url_(arena, from.secure_http_proxy_url_),
        socks_host_url_(arena, from.socks_host_url_) {}

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

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

  // @@protoc_insertion_point(copy_constructor:sync_pb.WifiConfigurationSpecifics.ProxyConfiguration.ManualProxyConfiguration)
}
PROTOBUF_NDEBUG_INLINE WifiConfigurationSpecifics_ProxyConfiguration_ManualProxyConfiguration::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0},
        excluded_domains_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::sync_pb::WifiConfigurationSpecifics_ProxyConfiguration_ManualProxyConfiguration,
            PROTOBUF_FIELD_OFFSET(::sync_pb::WifiConfigurationSpecifics_ProxyConfiguration_ManualProxyConfiguration, _impl_.excluded_domains_)>()
         }
        ,
        http_proxy_url_(arena),
        secure_http_proxy_url_(arena),
        socks_host_url_(arena) {}

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

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite WifiConfigurationSpecifics_ProxyConfiguration_ManualProxyConfiguration_class_data_ =
    WifiConfigurationSpecifics_ProxyConfiguration_ManualProxyConfiguration::InternalGenerateClassData_(WifiConfigurationSpecifics_ProxyConfiguration_ManualProxyConfiguration_globals_._default);

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

  cached_has_bits = _impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _impl_.excluded_domains_.Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _impl_.http_proxy_url_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _impl_.secure_http_proxy_url_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      _impl_.socks_host_url_.ClearNonDefaultToEmpty();
    }
  }
  if (BatchCheckHasBit(cached_has_bits, 0x00000070U)) {
    ::memset(&_impl_.http_proxy_port_, 0, static_cast<::size_t>(
        reinterpret_cast<char*>(&_impl_.socks_host_port_) -
        reinterpret_cast<char*>(&_impl_.http_proxy_port_)) + sizeof(_impl_.socks_host_port_));
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

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

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

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

  // optional int32 secure_http_proxy_port = 4;
  if (CheckHasBit(cached_has_bits, 0x00000020U)) {
    target =
        ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<4>(
            stream, this_._internal_secure_http_proxy_port(), target);
  }

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

  // optional int32 socks_host_port = 6;
  if (CheckHasBit(cached_has_bits, 0x00000040U)) {
    target =
        ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<6>(
            stream, this_._internal_socks_host_port(), target);
  }

  // repeated string excluded_domains = 7;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    for (int i = 0, n = this_._internal_excluded_domains_size(); i < n; ++i) {
      const auto& s = this_._internal_excluded_domains().Get(i);
      target = stream->WriteString(7, 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.WifiConfigurationSpecifics.ProxyConfiguration.ManualProxyConfiguration)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t WifiConfigurationSpecifics_ProxyConfiguration_ManualProxyConfiguration::ByteSizeLong(const MessageLite& base) {
  const WifiConfigurationSpecifics_ProxyConfiguration_ManualProxyConfiguration& this_ = static_cast<const WifiConfigurationSpecifics_ProxyConfiguration_ManualProxyConfiguration&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t WifiConfigurationSpecifics_ProxyConfiguration_ManualProxyConfiguration::ByteSizeLong() const {
  const WifiConfigurationSpecifics_ProxyConfiguration_ManualProxyConfiguration& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:sync_pb.WifiConfigurationSpecifics.ProxyConfiguration.ManualProxyConfiguration)
  ::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 string excluded_domains = 7;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size +=
          1 * ::google::protobuf::internal::FromIntSize(this_._internal_excluded_domains().size());
      for (int i = 0, n = this_._internal_excluded_domains().size(); i < n; ++i) {
        total_size += ::google::protobuf::internal::WireFormatLite::StringSize(
            this_._internal_excluded_domains().Get(i));
      }
    }
    // optional string http_proxy_url = 1;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_http_proxy_url());
    }
    // optional string secure_http_proxy_url = 3;
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_secure_http_proxy_url());
    }
    // optional string socks_host_url = 5;
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_socks_host_url());
    }
    // optional int32 http_proxy_port = 2;
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
          this_._internal_http_proxy_port());
    }
    // optional int32 secure_http_proxy_port = 4;
    if (CheckHasBit(cached_has_bits, 0x00000020U)) {
      total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
          this_._internal_secure_http_proxy_port());
    }
    // optional int32 socks_host_port = 6;
    if (CheckHasBit(cached_has_bits, 0x00000040U)) {
      total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
          this_._internal_socks_host_port());
    }
  }
  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 WifiConfigurationSpecifics_ProxyConfiguration_ManualProxyConfiguration::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<WifiConfigurationSpecifics_ProxyConfiguration_ManualProxyConfiguration*>(&to_msg);
  auto& from = static_cast<const WifiConfigurationSpecifics_ProxyConfiguration_ManualProxyConfiguration&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  ::google::protobuf::Arena* arena = _this->GetArena();
  // @@protoc_insertion_point(class_specific_merge_from_start:sync_pb.WifiConfigurationSpecifics.ProxyConfiguration.ManualProxyConfiguration)
  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_excluded_domains()->InternalMergeFromWithArena(
          ::google::protobuf::MessageLite::internal_visibility(), arena,
          from._internal_excluded_domains());
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _this->_internal_set_http_proxy_url(from._internal_http_proxy_url());
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _this->_internal_set_secure_http_proxy_url(from._internal_secure_http_proxy_url());
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      _this->_internal_set_socks_host_url(from._internal_socks_host_url());
    }
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      _this->_impl_.http_proxy_port_ = from._impl_.http_proxy_port_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000020U)) {
      _this->_impl_.secure_http_proxy_port_ = from._impl_.secure_http_proxy_port_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000040U)) {
      _this->_impl_.socks_host_port_ = from._impl_.socks_host_port_;
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


void WifiConfigurationSpecifics_ProxyConfiguration_ManualProxyConfiguration::InternalSwap(WifiConfigurationSpecifics_ProxyConfiguration_ManualProxyConfiguration* 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_.excluded_domains_.InternalSwap(&other->_impl_.excluded_domains_);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.http_proxy_url_, &other->_impl_.http_proxy_url_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.secure_http_proxy_url_, &other->_impl_.secure_http_proxy_url_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.socks_host_url_, &other->_impl_.socks_host_url_, arena);
  ::google::protobuf::internal::memswap<
      PROTOBUF_FIELD_OFFSET(WifiConfigurationSpecifics_ProxyConfiguration_ManualProxyConfiguration, _impl_.socks_host_port_)
      + sizeof(WifiConfigurationSpecifics_ProxyConfiguration_ManualProxyConfiguration::_impl_.socks_host_port_)
      - PROTOBUF_FIELD_OFFSET(WifiConfigurationSpecifics_ProxyConfiguration_ManualProxyConfiguration, _impl_.http_proxy_port_)>(
          reinterpret_cast<char*>(&_impl_.http_proxy_port_),
          reinterpret_cast<char*>(&other->_impl_.http_proxy_port_));
}

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

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

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

#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  WifiConfigurationSpecifics_ProxyConfiguration* const _this = this;
  (void)_this;
  _internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
  new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
  ::uint32_t cached_has_bits = _impl_._has_bits_[0];
  _impl_.manual_proxy_configuration_ = (CheckHasBit(cached_has_bits, 0x00000002U))
                ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.manual_proxy_configuration_)
                : nullptr;
  _impl_.proxy_option_ = from._impl_.proxy_option_;

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

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

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite WifiConfigurationSpecifics_ProxyConfiguration_class_data_ =
    WifiConfigurationSpecifics_ProxyConfiguration::InternalGenerateClassData_(WifiConfigurationSpecifics_ProxyConfiguration_globals_._default);

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

  cached_has_bits = _impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _impl_.autoconfiguration_url_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      ABSL_DCHECK(_impl_.manual_proxy_configuration_ != nullptr);
      _impl_.manual_proxy_configuration_->Clear();
    }
  }
  _impl_.proxy_option_ = 0;
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

  cached_has_bits = this_._impl_._has_bits_[0];
  // optional .sync_pb.WifiConfigurationSpecifics.ProxyConfiguration.ProxyOption proxy_option = 1;
  if (CheckHasBit(cached_has_bits, 0x00000004U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteEnumToArray(
        1, this_._internal_proxy_option(), target);
  }

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

  // optional .sync_pb.WifiConfigurationSpecifics.ProxyConfiguration.ManualProxyConfiguration manual_proxy_configuration = 3;
  if (CheckHasBit(cached_has_bits, 0x00000002U)) {
    target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
        3, *this_._impl_.manual_proxy_configuration_, this_._impl_.manual_proxy_configuration_->GetCachedSize(), target,
        stream);
  }

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

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t WifiConfigurationSpecifics_ProxyConfiguration::ByteSizeLong(const MessageLite& base) {
  const WifiConfigurationSpecifics_ProxyConfiguration& this_ = static_cast<const WifiConfigurationSpecifics_ProxyConfiguration&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t WifiConfigurationSpecifics_ProxyConfiguration::ByteSizeLong() const {
  const WifiConfigurationSpecifics_ProxyConfiguration& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:sync_pb.WifiConfigurationSpecifics.ProxyConfiguration)
  ::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 autoconfiguration_url = 2;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_autoconfiguration_url());
    }
    // optional .sync_pb.WifiConfigurationSpecifics.ProxyConfiguration.ManualProxyConfiguration manual_proxy_configuration = 3;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.manual_proxy_configuration_);
    }
    // optional .sync_pb.WifiConfigurationSpecifics.ProxyConfiguration.ProxyOption proxy_option = 1;
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      total_size += 1 +
                    ::_pbi::WireFormatLite::EnumSize(this_._internal_proxy_option());
    }
  }
  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 WifiConfigurationSpecifics_ProxyConfiguration::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<WifiConfigurationSpecifics_ProxyConfiguration*>(&to_msg);
  auto& from = static_cast<const WifiConfigurationSpecifics_ProxyConfiguration&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  ::google::protobuf::Arena* arena = _this->GetArena();
  // @@protoc_insertion_point(class_specific_merge_from_start:sync_pb.WifiConfigurationSpecifics.ProxyConfiguration)
  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_autoconfiguration_url(from._internal_autoconfiguration_url());
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      ABSL_DCHECK(from._impl_.manual_proxy_configuration_ != nullptr);
      if (_this->_impl_.manual_proxy_configuration_ == nullptr) {
        _this->_impl_.manual_proxy_configuration_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.manual_proxy_configuration_);
      } else {
        _this->_impl_.manual_proxy_configuration_->MergeFrom(*from._impl_.manual_proxy_configuration_);
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _this->_impl_.proxy_option_ = from._impl_.proxy_option_;
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


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

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

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

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

#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  WifiConfigurationSpecifics* const _this = this;
  (void)_this;
  _internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
  new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
  ::uint32_t cached_has_bits = _impl_._has_bits_[0];
  _impl_.proxy_configuration_ = (CheckHasBit(cached_has_bits, 0x00000008U))
                ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.proxy_configuration_)
                : nullptr;
  ::memcpy(reinterpret_cast<char*>(&_impl_) +
               offsetof(Impl_, security_type_),
           reinterpret_cast<const char*>(&from._impl_) +
               offsetof(Impl_, security_type_),
           offsetof(Impl_, dns_option_) -
               offsetof(Impl_, security_type_) +
               sizeof(Impl_::dns_option_));

  // @@protoc_insertion_point(copy_constructor:sync_pb.WifiConfigurationSpecifics)
}
PROTOBUF_NDEBUG_INLINE WifiConfigurationSpecifics::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0},
        custom_dns_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::sync_pb::WifiConfigurationSpecifics,
            PROTOBUF_FIELD_OFFSET(::sync_pb::WifiConfigurationSpecifics, _impl_.custom_dns_)>()
         }
        ,
        hex_ssid_(arena),
        passphrase_(arena) {}

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

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite WifiConfigurationSpecifics_class_data_ =
    WifiConfigurationSpecifics::InternalGenerateClassData_(WifiConfigurationSpecifics_globals_._default);

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

  cached_has_bits = _impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _impl_.custom_dns_.Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _impl_.hex_ssid_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _impl_.passphrase_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      ABSL_DCHECK(_impl_.proxy_configuration_ != nullptr);
      _impl_.proxy_configuration_->Clear();
    }
  }
  if (BatchCheckHasBit(cached_has_bits, 0x000000f0U)) {
    ::memset(&_impl_.security_type_, 0, static_cast<::size_t>(
        reinterpret_cast<char*>(&_impl_.metered_) -
        reinterpret_cast<char*>(&_impl_.security_type_)) + sizeof(_impl_.metered_));
  }
  if (BatchCheckHasBit(cached_has_bits, 0x00000300U)) {
    ::memset(&_impl_.last_connected_timestamp_, 0, static_cast<::size_t>(
        reinterpret_cast<char*>(&_impl_.dns_option_) -
        reinterpret_cast<char*>(&_impl_.last_connected_timestamp_)) + sizeof(_impl_.dns_option_));
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

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

  // optional .sync_pb.WifiConfigurationSpecifics.SecurityType security_type = 2;
  if (CheckHasBit(cached_has_bits, 0x00000010U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteEnumToArray(
        2, this_._internal_security_type(), target);
  }

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

  // optional .sync_pb.WifiConfigurationSpecifics.AutomaticallyConnectOption automatically_connect = 4;
  if (CheckHasBit(cached_has_bits, 0x00000020U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteEnumToArray(
        4, this_._internal_automatically_connect(), target);
  }

  // optional .sync_pb.WifiConfigurationSpecifics.IsPreferredOption is_preferred = 5;
  if (CheckHasBit(cached_has_bits, 0x00000040U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteEnumToArray(
        5, this_._internal_is_preferred(), target);
  }

  // optional .sync_pb.WifiConfigurationSpecifics.MeteredOption metered = 6;
  if (CheckHasBit(cached_has_bits, 0x00000080U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteEnumToArray(
        6, this_._internal_metered(), target);
  }

  // optional .sync_pb.WifiConfigurationSpecifics.ProxyConfiguration proxy_configuration = 7;
  if (CheckHasBit(cached_has_bits, 0x00000008U)) {
    target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
        7, *this_._impl_.proxy_configuration_, this_._impl_.proxy_configuration_->GetCachedSize(), target,
        stream);
  }

  // repeated string custom_dns = 8;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    for (int i = 0, n = this_._internal_custom_dns_size(); i < n; ++i) {
      const auto& s = this_._internal_custom_dns().Get(i);
      target = stream->WriteString(8, s, target);
    }
  }

  // optional int64 last_connected_timestamp = 9;
  if (CheckHasBit(cached_has_bits, 0x00000100U)) {
    target =
        ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<9>(
            stream, this_._internal_last_connected_timestamp(), target);
  }

  // optional .sync_pb.WifiConfigurationSpecifics.DnsOption dns_option = 10;
  if (CheckHasBit(cached_has_bits, 0x00000200U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteEnumToArray(
        10, this_._internal_dns_option(), 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.WifiConfigurationSpecifics)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t WifiConfigurationSpecifics::ByteSizeLong(const MessageLite& base) {
  const WifiConfigurationSpecifics& this_ = static_cast<const WifiConfigurationSpecifics&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t WifiConfigurationSpecifics::ByteSizeLong() const {
  const WifiConfigurationSpecifics& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:sync_pb.WifiConfigurationSpecifics)
  ::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 string custom_dns = 8;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size +=
          1 * ::google::protobuf::internal::FromIntSize(this_._internal_custom_dns().size());
      for (int i = 0, n = this_._internal_custom_dns().size(); i < n; ++i) {
        total_size += ::google::protobuf::internal::WireFormatLite::StringSize(
            this_._internal_custom_dns().Get(i));
      }
    }
    // optional bytes hex_ssid = 1;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize(
                                      this_._internal_hex_ssid());
    }
    // optional bytes passphrase = 3;
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize(
                                      this_._internal_passphrase());
    }
    // optional .sync_pb.WifiConfigurationSpecifics.ProxyConfiguration proxy_configuration = 7;
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.proxy_configuration_);
    }
    // optional .sync_pb.WifiConfigurationSpecifics.SecurityType security_type = 2;
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      total_size += 1 +
                    ::_pbi::WireFormatLite::EnumSize(this_._internal_security_type());
    }
    // optional .sync_pb.WifiConfigurationSpecifics.AutomaticallyConnectOption automatically_connect = 4;
    if (CheckHasBit(cached_has_bits, 0x00000020U)) {
      total_size += 1 +
                    ::_pbi::WireFormatLite::EnumSize(this_._internal_automatically_connect());
    }
    // optional .sync_pb.WifiConfigurationSpecifics.IsPreferredOption is_preferred = 5;
    if (CheckHasBit(cached_has_bits, 0x00000040U)) {
      total_size += 1 +
                    ::_pbi::WireFormatLite::EnumSize(this_._internal_is_preferred());
    }
    // optional .sync_pb.WifiConfigurationSpecifics.MeteredOption metered = 6;
    if (CheckHasBit(cached_has_bits, 0x00000080U)) {
      total_size += 1 +
                    ::_pbi::WireFormatLite::EnumSize(this_._internal_metered());
    }
  }
  if (BatchCheckHasBit(cached_has_bits, 0x00000300U)) {
    // optional int64 last_connected_timestamp = 9;
    if (CheckHasBit(cached_has_bits, 0x00000100U)) {
      total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
          this_._internal_last_connected_timestamp());
    }
    // optional .sync_pb.WifiConfigurationSpecifics.DnsOption dns_option = 10;
    if (CheckHasBit(cached_has_bits, 0x00000200U)) {
      total_size += 1 +
                    ::_pbi::WireFormatLite::EnumSize(this_._internal_dns_option());
    }
  }
  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 WifiConfigurationSpecifics::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<WifiConfigurationSpecifics*>(&to_msg);
  auto& from = static_cast<const WifiConfigurationSpecifics&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  ::google::protobuf::Arena* arena = _this->GetArena();
  // @@protoc_insertion_point(class_specific_merge_from_start:sync_pb.WifiConfigurationSpecifics)
  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_custom_dns()->InternalMergeFromWithArena(
          ::google::protobuf::MessageLite::internal_visibility(), arena,
          from._internal_custom_dns());
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _this->_internal_set_hex_ssid(from._internal_hex_ssid());
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _this->_internal_set_passphrase(from._internal_passphrase());
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      ABSL_DCHECK(from._impl_.proxy_configuration_ != nullptr);
      if (_this->_impl_.proxy_configuration_ == nullptr) {
        _this->_impl_.proxy_configuration_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.proxy_configuration_);
      } else {
        _this->_impl_.proxy_configuration_->MergeFrom(*from._impl_.proxy_configuration_);
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      _this->_impl_.security_type_ = from._impl_.security_type_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000020U)) {
      _this->_impl_.automatically_connect_ = from._impl_.automatically_connect_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000040U)) {
      _this->_impl_.is_preferred_ = from._impl_.is_preferred_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000080U)) {
      _this->_impl_.metered_ = from._impl_.metered_;
    }
  }
  if (BatchCheckHasBit(cached_has_bits, 0x00000300U)) {
    if (CheckHasBit(cached_has_bits, 0x00000100U)) {
      _this->_impl_.last_connected_timestamp_ = from._impl_.last_connected_timestamp_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000200U)) {
      _this->_impl_.dns_option_ = from._impl_.dns_option_;
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


void WifiConfigurationSpecifics::InternalSwap(WifiConfigurationSpecifics* 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_.custom_dns_.InternalSwap(&other->_impl_.custom_dns_);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.hex_ssid_, &other->_impl_.hex_ssid_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.passphrase_, &other->_impl_.passphrase_, arena);
  ::google::protobuf::internal::memswap<
      PROTOBUF_FIELD_OFFSET(WifiConfigurationSpecifics, _impl_.dns_option_)
      + sizeof(WifiConfigurationSpecifics::_impl_.dns_option_)
      - PROTOBUF_FIELD_OFFSET(WifiConfigurationSpecifics, _impl_.proxy_configuration_)>(
          reinterpret_cast<char*>(&_impl_.proxy_configuration_),
          reinterpret_cast<char*>(&other->_impl_.proxy_configuration_));
}

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