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

#include "discovery_resources.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 chrome_browser_media {
namespace proto {
class NetworkInfo::_Internal {
 public:
  using HasBits = decltype(::std::declval<NetworkInfo>()._impl_._has_bits_);
  static constexpr ::int32_t kHasBitsOffset =
      8 * PROTOBUF_FIELD_OFFSET(NetworkInfo, _impl_._has_bits_);
};

constexpr NetworkInfo::ParseTableT_ NetworkInfo::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(NetworkInfo, _impl_._has_bits_),
      0, // no _extensions_
      4, 24,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967280,  // skipmap
      offsetof(ParseTableT_, field_entries),
      4,  // 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<::chrome_browser_media::proto::NetworkInfo>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      // string ip_v6_address = 4;
      {::_pbi::TcParser::FastUS1,
       {34, 3, 0,
        PROTOBUF_FIELD_OFFSET(NetworkInfo, _impl_.ip_v6_address_)}},
      // string host_name = 1;
      {::_pbi::TcParser::FastUS1,
       {10, 0, 0,
        PROTOBUF_FIELD_OFFSET(NetworkInfo, _impl_.host_name_)}},
      // string port = 2;
      {::_pbi::TcParser::FastUS1,
       {18, 1, 0,
        PROTOBUF_FIELD_OFFSET(NetworkInfo, _impl_.port_)}},
      // string ip_v4_address = 3;
      {::_pbi::TcParser::FastUS1,
       {26, 2, 0,
        PROTOBUF_FIELD_OFFSET(NetworkInfo, _impl_.ip_v4_address_)}},
    }}, {{
      65535, 65535
    }}, {{
      // string host_name = 1;
      {PROTOBUF_FIELD_OFFSET(NetworkInfo, _impl_.host_name_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
      // string port = 2;
      {PROTOBUF_FIELD_OFFSET(NetworkInfo, _impl_.port_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
      // string ip_v4_address = 3;
      {PROTOBUF_FIELD_OFFSET(NetworkInfo, _impl_.ip_v4_address_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
      // string ip_v6_address = 4;
      {PROTOBUF_FIELD_OFFSET(NetworkInfo, _impl_.ip_v6_address_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
    }},
    // no aux_entries
    {{
      "\46\11\4\15\15\0\0\0"
      "chrome_browser_media.proto.NetworkInfo"
      "host_name"
      "port"
      "ip_v4_address"
      "ip_v6_address"
    }},
  };
}


inline constexpr NetworkInfo::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        host_name_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        port_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        ip_v4_address_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        ip_v6_address_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()) {}

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

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

constexpr DeviceCapabilities::ParseTableT_ DeviceCapabilities::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(DeviceCapabilities, _impl_._has_bits_),
      0, // no _extensions_
      5, 56,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967264,  // skipmap
      offsetof(ParseTableT_, field_entries),
      5,  // 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<::chrome_browser_media::proto::DeviceCapabilities>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      {::_pbi::TcParser::MiniParse, {}},
      // bool video_out = 1;
      {::_pbi::TcParser::FastV8S1,
       {8, 0, 0,
        PROTOBUF_FIELD_OFFSET(DeviceCapabilities, _impl_.video_out_)}},
      // bool video_in = 2;
      {::_pbi::TcParser::FastV8S1,
       {16, 1, 0,
        PROTOBUF_FIELD_OFFSET(DeviceCapabilities, _impl_.video_in_)}},
      // bool audio_out = 3;
      {::_pbi::TcParser::FastV8S1,
       {24, 2, 0,
        PROTOBUF_FIELD_OFFSET(DeviceCapabilities, _impl_.audio_out_)}},
      // bool audio_in = 4;
      {::_pbi::TcParser::FastV8S1,
       {32, 3, 0,
        PROTOBUF_FIELD_OFFSET(DeviceCapabilities, _impl_.audio_in_)}},
      // bool dev_mode = 5;
      {::_pbi::TcParser::FastV8S1,
       {40, 4, 0,
        PROTOBUF_FIELD_OFFSET(DeviceCapabilities, _impl_.dev_mode_)}},
      {::_pbi::TcParser::MiniParse, {}},
      {::_pbi::TcParser::MiniParse, {}},
    }}, {{
      65535, 65535
    }}, {{
      // bool video_out = 1;
      {PROTOBUF_FIELD_OFFSET(DeviceCapabilities, _impl_.video_out_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)},
      // bool video_in = 2;
      {PROTOBUF_FIELD_OFFSET(DeviceCapabilities, _impl_.video_in_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)},
      // bool audio_out = 3;
      {PROTOBUF_FIELD_OFFSET(DeviceCapabilities, _impl_.audio_out_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)},
      // bool audio_in = 4;
      {PROTOBUF_FIELD_OFFSET(DeviceCapabilities, _impl_.audio_in_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)},
      // bool dev_mode = 5;
      {PROTOBUF_FIELD_OFFSET(DeviceCapabilities, _impl_.dev_mode_), _Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)},
    }},
    // no aux_entries
    {{
    }},
  };
}


inline constexpr DeviceCapabilities::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        video_out_{false},
        video_in_{false},
        audio_out_{false},
        audio_in_{false},
        dev_mode_{false} {}

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

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

constexpr DiscoveryDevice::ParseTableT_ DiscoveryDevice::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(DiscoveryDevice, _impl_._has_bits_),
      0, // no _extensions_
      6, 56,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967238,  // skipmap
      offsetof(ParseTableT_, field_entries),
      4,  // 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<::chrome_browser_media::proto::DiscoveryDevice>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      {::_pbi::TcParser::MiniParse, {}},
      // string display_name = 1;
      {::_pbi::TcParser::FastUS1,
       {10, 0, 0,
        PROTOBUF_FIELD_OFFSET(DiscoveryDevice, _impl_.display_name_)}},
      {::_pbi::TcParser::MiniParse, {}},
      {::_pbi::TcParser::MiniParse, {}},
      // .chrome_browser_media.proto.DeviceCapabilities device_capabilities = 4;
      {::_pbi::TcParser::FastMtS1,
       {34, 2, 0,
        PROTOBUF_FIELD_OFFSET(DiscoveryDevice, _impl_.device_capabilities_)}},
      // .chrome_browser_media.proto.NetworkInfo network_info = 5;
      {::_pbi::TcParser::FastMtS1,
       {42, 3, 1,
        PROTOBUF_FIELD_OFFSET(DiscoveryDevice, _impl_.network_info_)}},
      // string id = 6;
      {::_pbi::TcParser::FastUS1,
       {50, 1, 0,
        PROTOBUF_FIELD_OFFSET(DiscoveryDevice, _impl_.id_)}},
      {::_pbi::TcParser::MiniParse, {}},
    }}, {{
      65535, 65535
    }}, {{
      // string display_name = 1;
      {PROTOBUF_FIELD_OFFSET(DiscoveryDevice, _impl_.display_name_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
      // .chrome_browser_media.proto.DeviceCapabilities device_capabilities = 4;
      {PROTOBUF_FIELD_OFFSET(DiscoveryDevice, _impl_.device_capabilities_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
      // .chrome_browser_media.proto.NetworkInfo network_info = 5;
      {PROTOBUF_FIELD_OFFSET(DiscoveryDevice, _impl_.network_info_), _Internal::kHasBitsOffset + 3, 1, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
      // string id = 6;
      {PROTOBUF_FIELD_OFFSET(DiscoveryDevice, _impl_.id_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
    }},
    {{
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::chrome_browser_media::proto::DeviceCapabilities>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::chrome_browser_media::proto::DeviceCapabilities_globals_},
        #endif
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::chrome_browser_media::proto::NetworkInfo>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::chrome_browser_media::proto::NetworkInfo_globals_},
        #endif
    }},
    {{
      "\52\14\0\0\2\0\0\0"
      "chrome_browser_media.proto.DiscoveryDevice"
      "display_name"
      "id"
    }},
  };
}


inline constexpr DiscoveryDevice::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        display_name_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        id_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        device_capabilities_{nullptr},
        network_info_{nullptr} {}

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

PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PROTOBUF_MESSAGE_GLOBALS_CONST DiscoveryDeviceGlobalsTypeInternal DiscoveryDevice_globals_
        PROTOBUF_MESSAGE_GLOBALS_SECTION(.data.rel.ro);
#if defined(PROTOBUF_CUSTOM_VTABLE)
namespace {
const ::_pbi::ClassData* DiscoveryDevice_get_class_data() {
#ifdef PROTOBUF_MESSAGE_GLOBALS
  return DiscoveryDevice_globals_.GetClassData();
#else
  return DiscoveryDevice_class_data_.base();
#endif  // PROTOBUF_MESSAGE_GLOBALS
}
}  // namespace
#endif  // PROTOBUF_CUSTOM_VTABLE
}  // namespace proto
}  // namespace chrome_browser_media
namespace chrome_browser_media {
namespace proto {
// ===================================================================

DeviceCapabilities::DeviceCapabilities(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, DeviceCapabilities_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:chrome_browser_media.proto.DeviceCapabilities)
}
DeviceCapabilities::DeviceCapabilities(
    ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const DeviceCapabilities& from)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, DeviceCapabilities_get_class_data()),
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena),
#endif  // PROTOBUF_CUSTOM_VTABLE
      _impl_(from._impl_) {
  _internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}
PROTOBUF_NDEBUG_INLINE DeviceCapabilities::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0} {}

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

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite DeviceCapabilities_class_data_ =
    DeviceCapabilities::InternalGenerateClassData_(DeviceCapabilities_globals_._default);

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

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

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

  cached_has_bits = this_._impl_._has_bits_[0];
  // bool video_out = 1;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    if (this_._internal_video_out() != 0) {
      target = stream->EnsureSpace(target);
      target = ::_pbi::WireFormatLite::WriteBoolToArray(
          1, this_._internal_video_out(), target);
    }
  }

  // bool video_in = 2;
  if (CheckHasBit(cached_has_bits, 0x00000002U)) {
    if (this_._internal_video_in() != 0) {
      target = stream->EnsureSpace(target);
      target = ::_pbi::WireFormatLite::WriteBoolToArray(
          2, this_._internal_video_in(), target);
    }
  }

  // bool audio_out = 3;
  if (CheckHasBit(cached_has_bits, 0x00000004U)) {
    if (this_._internal_audio_out() != 0) {
      target = stream->EnsureSpace(target);
      target = ::_pbi::WireFormatLite::WriteBoolToArray(
          3, this_._internal_audio_out(), target);
    }
  }

  // bool audio_in = 4;
  if (CheckHasBit(cached_has_bits, 0x00000008U)) {
    if (this_._internal_audio_in() != 0) {
      target = stream->EnsureSpace(target);
      target = ::_pbi::WireFormatLite::WriteBoolToArray(
          4, this_._internal_audio_in(), target);
    }
  }

  // bool dev_mode = 5;
  if (CheckHasBit(cached_has_bits, 0x00000010U)) {
    if (this_._internal_dev_mode() != 0) {
      target = stream->EnsureSpace(target);
      target = ::_pbi::WireFormatLite::WriteBoolToArray(
          5, this_._internal_dev_mode(), 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:chrome_browser_media.proto.DeviceCapabilities)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t DeviceCapabilities::ByteSizeLong(const MessageLite& base) {
  const DeviceCapabilities& this_ = static_cast<const DeviceCapabilities&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t DeviceCapabilities::ByteSizeLong() const {
  const DeviceCapabilities& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:chrome_browser_media.proto.DeviceCapabilities)
  ::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, 0x0000001fU)) {
    // bool video_out = 1;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      if (this_._internal_video_out() != 0) {
        total_size += 2;
      }
    }
    // bool video_in = 2;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      if (this_._internal_video_in() != 0) {
        total_size += 2;
      }
    }
    // bool audio_out = 3;
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      if (this_._internal_audio_out() != 0) {
        total_size += 2;
      }
    }
    // bool audio_in = 4;
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      if (this_._internal_audio_in() != 0) {
        total_size += 2;
      }
    }
    // bool dev_mode = 5;
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      if (this_._internal_dev_mode() != 0) {
        total_size += 2;
      }
    }
  }
  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 DeviceCapabilities::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<DeviceCapabilities*>(&to_msg);
  auto& from = static_cast<const DeviceCapabilities&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  // @@protoc_insertion_point(class_specific_merge_from_start:chrome_browser_media.proto.DeviceCapabilities)
  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, 0x0000001fU)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      if (from._internal_video_out() != 0) {
        _this->_impl_.video_out_ = from._impl_.video_out_;
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      if (from._internal_video_in() != 0) {
        _this->_impl_.video_in_ = from._impl_.video_in_;
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      if (from._internal_audio_out() != 0) {
        _this->_impl_.audio_out_ = from._impl_.audio_out_;
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      if (from._internal_audio_in() != 0) {
        _this->_impl_.audio_in_ = from._impl_.audio_in_;
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      if (from._internal_dev_mode() != 0) {
        _this->_impl_.dev_mode_ = from._impl_.dev_mode_;
      }
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


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

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

NetworkInfo::NetworkInfo(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, NetworkInfo_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:chrome_browser_media.proto.NetworkInfo)
}
PROTOBUF_NDEBUG_INLINE NetworkInfo::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
    [[maybe_unused]] const ::chrome_browser_media::proto::NetworkInfo& from_msg)
      : _has_bits_{from._has_bits_},
        _cached_size_{0},
        host_name_(arena, from.host_name_),
        port_(arena, from.port_),
        ip_v4_address_(arena, from.ip_v4_address_),
        ip_v6_address_(arena, from.ip_v6_address_) {}

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

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

  // @@protoc_insertion_point(copy_constructor:chrome_browser_media.proto.NetworkInfo)
}
PROTOBUF_NDEBUG_INLINE NetworkInfo::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0},
        host_name_(arena),
        port_(arena),
        ip_v4_address_(arena),
        ip_v6_address_(arena) {}

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

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite NetworkInfo_class_data_ =
    NetworkInfo::InternalGenerateClassData_(NetworkInfo_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
NetworkInfo::GetClassData() const {
  return NetworkInfo_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
NetworkInfo::GetClassData() const {
  return NetworkInfo_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const NetworkInfo::ParseTableT_
    NetworkInfo::_table_ =
        NetworkInfo::InternalGenerateParseTable_(NetworkInfo_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void NetworkInfo::Clear() {
// @@protoc_insertion_point(message_clear_start:chrome_browser_media.proto.NetworkInfo)
  ::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_.host_name_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _impl_.port_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _impl_.ip_v4_address_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      _impl_.ip_v6_address_.ClearNonDefaultToEmpty();
    }
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

  cached_has_bits = this_._impl_._has_bits_[0];
  // string host_name = 1;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    if (!this_._internal_host_name().empty()) {
      const ::std::string& _s = this_._internal_host_name();
      ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
          _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "chrome_browser_media.proto.NetworkInfo.host_name");
      target = stream->WriteStringMaybeAliased(1, _s, target);
    }
  }

  // string port = 2;
  if (CheckHasBit(cached_has_bits, 0x00000002U)) {
    if (!this_._internal_port().empty()) {
      const ::std::string& _s = this_._internal_port();
      ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
          _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "chrome_browser_media.proto.NetworkInfo.port");
      target = stream->WriteStringMaybeAliased(2, _s, target);
    }
  }

  // string ip_v4_address = 3;
  if (CheckHasBit(cached_has_bits, 0x00000004U)) {
    if (!this_._internal_ip_v4_address().empty()) {
      const ::std::string& _s = this_._internal_ip_v4_address();
      ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
          _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "chrome_browser_media.proto.NetworkInfo.ip_v4_address");
      target = stream->WriteStringMaybeAliased(3, _s, target);
    }
  }

  // string ip_v6_address = 4;
  if (CheckHasBit(cached_has_bits, 0x00000008U)) {
    if (!this_._internal_ip_v6_address().empty()) {
      const ::std::string& _s = this_._internal_ip_v6_address();
      ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
          _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "chrome_browser_media.proto.NetworkInfo.ip_v6_address");
      target = stream->WriteStringMaybeAliased(4, _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:chrome_browser_media.proto.NetworkInfo)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t NetworkInfo::ByteSizeLong(const MessageLite& base) {
  const NetworkInfo& this_ = static_cast<const NetworkInfo&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t NetworkInfo::ByteSizeLong() const {
  const NetworkInfo& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:chrome_browser_media.proto.NetworkInfo)
  ::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, 0x0000000fU)) {
    // string host_name = 1;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      if (!this_._internal_host_name().empty()) {
        total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                        this_._internal_host_name());
      }
    }
    // string port = 2;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      if (!this_._internal_port().empty()) {
        total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                        this_._internal_port());
      }
    }
    // string ip_v4_address = 3;
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      if (!this_._internal_ip_v4_address().empty()) {
        total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                        this_._internal_ip_v4_address());
      }
    }
    // string ip_v6_address = 4;
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      if (!this_._internal_ip_v6_address().empty()) {
        total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                        this_._internal_ip_v6_address());
      }
    }
  }
  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 NetworkInfo::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<NetworkInfo*>(&to_msg);
  auto& from = static_cast<const NetworkInfo&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  // @@protoc_insertion_point(class_specific_merge_from_start:chrome_browser_media.proto.NetworkInfo)
  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, 0x0000000fU)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      if (!from._internal_host_name().empty()) {
        _this->_internal_set_host_name(from._internal_host_name());
      } else {
        if (_this->_impl_.host_name_.IsDefault()) {
          _this->_internal_set_host_name("");
        }
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      if (!from._internal_port().empty()) {
        _this->_internal_set_port(from._internal_port());
      } else {
        if (_this->_impl_.port_.IsDefault()) {
          _this->_internal_set_port("");
        }
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      if (!from._internal_ip_v4_address().empty()) {
        _this->_internal_set_ip_v4_address(from._internal_ip_v4_address());
      } else {
        if (_this->_impl_.ip_v4_address_.IsDefault()) {
          _this->_internal_set_ip_v4_address("");
        }
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      if (!from._internal_ip_v6_address().empty()) {
        _this->_internal_set_ip_v6_address(from._internal_ip_v6_address());
      } else {
        if (_this->_impl_.ip_v6_address_.IsDefault()) {
          _this->_internal_set_ip_v6_address("");
        }
      }
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


void NetworkInfo::InternalSwap(NetworkInfo* 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_.host_name_, &other->_impl_.host_name_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.port_, &other->_impl_.port_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.ip_v4_address_, &other->_impl_.ip_v4_address_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.ip_v6_address_, &other->_impl_.ip_v6_address_, arena);
}

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

DiscoveryDevice::DiscoveryDevice(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, DiscoveryDevice_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:chrome_browser_media.proto.DiscoveryDevice)
}
PROTOBUF_NDEBUG_INLINE DiscoveryDevice::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
    [[maybe_unused]] const ::chrome_browser_media::proto::DiscoveryDevice& from_msg)
      : _has_bits_{from._has_bits_},
        _cached_size_{0},
        display_name_(arena, from.display_name_),
        id_(arena, from.id_) {}

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

#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  DiscoveryDevice* 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_.device_capabilities_ = (CheckHasBit(cached_has_bits, 0x00000004U))
                ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.device_capabilities_)
                : nullptr;
  _impl_.network_info_ = (CheckHasBit(cached_has_bits, 0x00000008U))
                ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.network_info_)
                : nullptr;

  // @@protoc_insertion_point(copy_constructor:chrome_browser_media.proto.DiscoveryDevice)
}
PROTOBUF_NDEBUG_INLINE DiscoveryDevice::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0},
        display_name_(arena),
        id_(arena) {}

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

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite DiscoveryDevice_class_data_ =
    DiscoveryDevice::InternalGenerateClassData_(DiscoveryDevice_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
DiscoveryDevice::GetClassData() const {
  return DiscoveryDevice_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
DiscoveryDevice::GetClassData() const {
  return DiscoveryDevice_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const DiscoveryDevice::ParseTableT_
    DiscoveryDevice::_table_ =
        DiscoveryDevice::InternalGenerateParseTable_(DiscoveryDevice_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void DiscoveryDevice::Clear() {
// @@protoc_insertion_point(message_clear_start:chrome_browser_media.proto.DiscoveryDevice)
  ::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_.display_name_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _impl_.id_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      ABSL_DCHECK(_impl_.device_capabilities_ != nullptr);
      _impl_.device_capabilities_->Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      ABSL_DCHECK(_impl_.network_info_ != nullptr);
      _impl_.network_info_->Clear();
    }
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

  cached_has_bits = this_._impl_._has_bits_[0];
  // string display_name = 1;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    if (!this_._internal_display_name().empty()) {
      const ::std::string& _s = this_._internal_display_name();
      ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
          _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "chrome_browser_media.proto.DiscoveryDevice.display_name");
      target = stream->WriteStringMaybeAliased(1, _s, target);
    }
  }

  // .chrome_browser_media.proto.DeviceCapabilities device_capabilities = 4;
  if (CheckHasBit(cached_has_bits, 0x00000004U)) {
    target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
        4, *this_._impl_.device_capabilities_, this_._impl_.device_capabilities_->GetCachedSize(), target,
        stream);
  }

  // .chrome_browser_media.proto.NetworkInfo network_info = 5;
  if (CheckHasBit(cached_has_bits, 0x00000008U)) {
    target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
        5, *this_._impl_.network_info_, this_._impl_.network_info_->GetCachedSize(), target,
        stream);
  }

  // string id = 6;
  if (CheckHasBit(cached_has_bits, 0x00000002U)) {
    if (!this_._internal_id().empty()) {
      const ::std::string& _s = this_._internal_id();
      ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
          _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "chrome_browser_media.proto.DiscoveryDevice.id");
      target = stream->WriteStringMaybeAliased(6, _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:chrome_browser_media.proto.DiscoveryDevice)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t DiscoveryDevice::ByteSizeLong(const MessageLite& base) {
  const DiscoveryDevice& this_ = static_cast<const DiscoveryDevice&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t DiscoveryDevice::ByteSizeLong() const {
  const DiscoveryDevice& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:chrome_browser_media.proto.DiscoveryDevice)
  ::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, 0x0000000fU)) {
    // string display_name = 1;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      if (!this_._internal_display_name().empty()) {
        total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                        this_._internal_display_name());
      }
    }
    // string id = 6;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      if (!this_._internal_id().empty()) {
        total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                        this_._internal_id());
      }
    }
    // .chrome_browser_media.proto.DeviceCapabilities device_capabilities = 4;
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.device_capabilities_);
    }
    // .chrome_browser_media.proto.NetworkInfo network_info = 5;
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.network_info_);
    }
  }
  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 DiscoveryDevice::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<DiscoveryDevice*>(&to_msg);
  auto& from = static_cast<const DiscoveryDevice&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  ::google::protobuf::Arena* arena = _this->GetArena();
  // @@protoc_insertion_point(class_specific_merge_from_start:chrome_browser_media.proto.DiscoveryDevice)
  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, 0x0000000fU)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      if (!from._internal_display_name().empty()) {
        _this->_internal_set_display_name(from._internal_display_name());
      } else {
        if (_this->_impl_.display_name_.IsDefault()) {
          _this->_internal_set_display_name("");
        }
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      if (!from._internal_id().empty()) {
        _this->_internal_set_id(from._internal_id());
      } else {
        if (_this->_impl_.id_.IsDefault()) {
          _this->_internal_set_id("");
        }
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      ABSL_DCHECK(from._impl_.device_capabilities_ != nullptr);
      if (_this->_impl_.device_capabilities_ == nullptr) {
        _this->_impl_.device_capabilities_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.device_capabilities_);
      } else {
        _this->_impl_.device_capabilities_->MergeFrom(*from._impl_.device_capabilities_);
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      ABSL_DCHECK(from._impl_.network_info_ != nullptr);
      if (_this->_impl_.network_info_ == nullptr) {
        _this->_impl_.network_info_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.network_info_);
      } else {
        _this->_impl_.network_info_->MergeFrom(*from._impl_.network_info_);
      }
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


void DiscoveryDevice::InternalSwap(DiscoveryDevice* 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_.display_name_, &other->_impl_.display_name_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.id_, &other->_impl_.id_, arena);
  ::google::protobuf::internal::memswap<
      PROTOBUF_FIELD_OFFSET(DiscoveryDevice, _impl_.network_info_)
      + sizeof(DiscoveryDevice::_impl_.network_info_)
      - PROTOBUF_FIELD_OFFSET(DiscoveryDevice, _impl_.device_capabilities_)>(
          reinterpret_cast<char*>(&_impl_.device_capabilities_),
          reinterpret_cast<char*>(&other->_impl_.device_capabilities_));
}

// @@protoc_insertion_point(namespace_scope)
}  // namespace proto
}  // namespace chrome_browser_media
namespace google {
namespace protobuf {
}  // namespace protobuf
}  // namespace google
// @@protoc_insertion_point(global_scope)
#include "google/protobuf/port_undef.inc"
