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

#include "third_party/metrics_proto/cast_logs.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 metrics {
class CastLogsProto_CastEventProto_Metadata::_Internal {
 public:
  using HasBits = decltype(::std::declval<CastLogsProto_CastEventProto_Metadata>()._impl_._has_bits_);
  static constexpr ::int32_t kHasBitsOffset =
      8 * PROTOBUF_FIELD_OFFSET(CastLogsProto_CastEventProto_Metadata, _impl_._has_bits_);
};

constexpr CastLogsProto_CastEventProto_Metadata::ParseTableT_ CastLogsProto_CastEventProto_Metadata::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(CastLogsProto_CastEventProto_Metadata, _impl_._has_bits_),
      0, // no _extensions_
      2, 8,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967292,  // skipmap
      offsetof(ParseTableT_, field_entries),
      2,  // num_field_entries
      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<::metrics::CastLogsProto_CastEventProto_Metadata>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      // int64 value = 2;
      {::_pbi::TcParser::FastV64S1,
       {16, 1, 0,
        PROTOBUF_FIELD_OFFSET(CastLogsProto_CastEventProto_Metadata, _impl_.value_)}},
      // fixed64 name_hash = 1;
      {::_pbi::TcParser::FastF64S1,
       {9, 0, 0,
        PROTOBUF_FIELD_OFFSET(CastLogsProto_CastEventProto_Metadata, _impl_.name_hash_)}},
    }}, {{
      65535, 65535
    }}, {{
      // fixed64 name_hash = 1;
      {PROTOBUF_FIELD_OFFSET(CastLogsProto_CastEventProto_Metadata, _impl_.name_hash_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kFixed64)},
      // int64 value = 2;
      {PROTOBUF_FIELD_OFFSET(CastLogsProto_CastEventProto_Metadata, _impl_.value_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
    }},
    // no aux_entries
    {{
    }},
  };
}


inline constexpr CastLogsProto_CastEventProto_Metadata::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        name_hash_{::uint64_t{0u}},
        value_{::int64_t{0}} {}

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

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

constexpr CastLogsProto_CastDeviceMutableInfo::ParseTableT_ CastLogsProto_CastDeviceMutableInfo::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(CastLogsProto_CastDeviceMutableInfo, _impl_._has_bits_),
      0, // no _extensions_
      12, 120,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294963200,  // skipmap
      offsetof(ParseTableT_, field_entries),
      12,  // num_field_entries
      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<::metrics::CastLogsProto_CastDeviceMutableInfo>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      {::_pbi::TcParser::MiniParse, {}},
      // .metrics.CastLogsProto.CastDeviceMutableInfo.RebootType last_reboot_type = 1;
      {::_pbi::TcParser::FastEr0S1,
       {8, 7, 21,
        PROTOBUF_FIELD_OFFSET(CastLogsProto_CastDeviceMutableInfo, _impl_.last_reboot_type_)}},
      // fixed64 system_build_number = 2;
      {::_pbi::TcParser::FastF64S1,
       {17, 6, 0,
        PROTOBUF_FIELD_OFFSET(CastLogsProto_CastDeviceMutableInfo, _impl_.system_build_number_)}},
      // string backdrop_app_device_id = 3;
      {::_pbi::TcParser::FastBS1,
       {26, 0, 0,
        PROTOBUF_FIELD_OFFSET(CastLogsProto_CastDeviceMutableInfo, _impl_.backdrop_app_device_id_)}},
      // fixed32 release_version = 4;
      {::_pbi::TcParser::FastF32S1,
       {37, 8, 0,
        PROTOBUF_FIELD_OFFSET(CastLogsProto_CastDeviceMutableInfo, _impl_.release_version_)}},
      // .metrics.CastLogsProto.CastDeviceMutableInfo.NetifIPVersion netif_ip_version = 5;
      {::_pbi::TcParser::FastEr0S1,
       {40, 9, 3,
        PROTOBUF_FIELD_OFFSET(CastLogsProto_CastDeviceMutableInfo, _impl_.netif_ip_version_)}},
      // bool ip_dual_stack_supported = 6;
      {::_pbi::TcParser::FastV8S1,
       {48, 10, 0,
        PROTOBUF_FIELD_OFFSET(CastLogsProto_CastDeviceMutableInfo, _impl_.ip_dual_stack_supported_)}},
      // string timezone_id = 7;
      {::_pbi::TcParser::FastBS1,
       {58, 1, 0,
        PROTOBUF_FIELD_OFFSET(CastLogsProto_CastDeviceMutableInfo, _impl_.timezone_id_)}},
      // string latest_ui_version = 8;
      {::_pbi::TcParser::FastBS1,
       {66, 2, 0,
        PROTOBUF_FIELD_OFFSET(CastLogsProto_CastDeviceMutableInfo, _impl_.latest_ui_version_)}},
      // string google_wifi_station_shmac = 9;
      {::_pbi::TcParser::FastBS1,
       {74, 3, 0,
        PROTOBUF_FIELD_OFFSET(CastLogsProto_CastDeviceMutableInfo, _impl_.google_wifi_station_shmac_)}},
      // string installed_manifest_platform_version = 10;
      {::_pbi::TcParser::FastBS1,
       {82, 4, 0,
        PROTOBUF_FIELD_OFFSET(CastLogsProto_CastDeviceMutableInfo, _impl_.installed_manifest_platform_version_)}},
      // uint32 installed_manifest_version = 11;
      {::_pbi::TcParser::FastV32S1,
       {88, 11, 0,
        PROTOBUF_FIELD_OFFSET(CastLogsProto_CastDeviceMutableInfo, _impl_.installed_manifest_version_)}},
      // string system_bundle_version = 12;
      {::_pbi::TcParser::FastBS1,
       {98, 5, 0,
        PROTOBUF_FIELD_OFFSET(CastLogsProto_CastDeviceMutableInfo, _impl_.system_bundle_version_)}},
      {::_pbi::TcParser::MiniParse, {}},
      {::_pbi::TcParser::MiniParse, {}},
      {::_pbi::TcParser::MiniParse, {}},
    }}, {{
      65535, 65535
    }}, {{
      // .metrics.CastLogsProto.CastDeviceMutableInfo.RebootType last_reboot_type = 1;
      {PROTOBUF_FIELD_OFFSET(CastLogsProto_CastDeviceMutableInfo, _impl_.last_reboot_type_), _Internal::kHasBitsOffset + 7, 0, (0 | ::_fl::kFcOptional | ::_fl::kEnumRange)},
      // fixed64 system_build_number = 2;
      {PROTOBUF_FIELD_OFFSET(CastLogsProto_CastDeviceMutableInfo, _impl_.system_build_number_), _Internal::kHasBitsOffset + 6, 0, (0 | ::_fl::kFcOptional | ::_fl::kFixed64)},
      // string backdrop_app_device_id = 3;
      {PROTOBUF_FIELD_OFFSET(CastLogsProto_CastDeviceMutableInfo, _impl_.backdrop_app_device_id_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // fixed32 release_version = 4;
      {PROTOBUF_FIELD_OFFSET(CastLogsProto_CastDeviceMutableInfo, _impl_.release_version_), _Internal::kHasBitsOffset + 8, 0, (0 | ::_fl::kFcOptional | ::_fl::kFixed32)},
      // .metrics.CastLogsProto.CastDeviceMutableInfo.NetifIPVersion netif_ip_version = 5;
      {PROTOBUF_FIELD_OFFSET(CastLogsProto_CastDeviceMutableInfo, _impl_.netif_ip_version_), _Internal::kHasBitsOffset + 9, 1, (0 | ::_fl::kFcOptional | ::_fl::kEnumRange)},
      // bool ip_dual_stack_supported = 6;
      {PROTOBUF_FIELD_OFFSET(CastLogsProto_CastDeviceMutableInfo, _impl_.ip_dual_stack_supported_), _Internal::kHasBitsOffset + 10, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)},
      // string timezone_id = 7;
      {PROTOBUF_FIELD_OFFSET(CastLogsProto_CastDeviceMutableInfo, _impl_.timezone_id_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // string latest_ui_version = 8;
      {PROTOBUF_FIELD_OFFSET(CastLogsProto_CastDeviceMutableInfo, _impl_.latest_ui_version_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // string google_wifi_station_shmac = 9;
      {PROTOBUF_FIELD_OFFSET(CastLogsProto_CastDeviceMutableInfo, _impl_.google_wifi_station_shmac_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // string installed_manifest_platform_version = 10;
      {PROTOBUF_FIELD_OFFSET(CastLogsProto_CastDeviceMutableInfo, _impl_.installed_manifest_platform_version_), _Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // uint32 installed_manifest_version = 11;
      {PROTOBUF_FIELD_OFFSET(CastLogsProto_CastDeviceMutableInfo, _impl_.installed_manifest_version_), _Internal::kHasBitsOffset + 11, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
      // string system_bundle_version = 12;
      {PROTOBUF_FIELD_OFFSET(CastLogsProto_CastDeviceMutableInfo, _impl_.system_bundle_version_), _Internal::kHasBitsOffset + 5, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
    }},
    {{
        {0, 21},
        {0, 3},
    }},
    {{
    }},
  };
}


inline constexpr CastLogsProto_CastDeviceMutableInfo::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        backdrop_app_device_id_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        timezone_id_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        latest_ui_version_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        google_wifi_station_shmac_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        installed_manifest_platform_version_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        system_bundle_version_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        system_build_number_{::uint64_t{0u}},
        last_reboot_type_{static_cast< ::metrics::CastLogsProto_CastDeviceMutableInfo_RebootType >(0)},
        release_version_{0u},
        netif_ip_version_{static_cast< ::metrics::CastLogsProto_CastDeviceMutableInfo_NetifIPVersion >(0)},
        ip_dual_stack_supported_{false},
        installed_manifest_version_{0u} {}

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

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

constexpr CastLogsProto_CastDeviceInfo_HardwareInfo::ParseTableT_ CastLogsProto_CastDeviceInfo_HardwareInfo::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(CastLogsProto_CastDeviceInfo_HardwareInfo, _impl_._has_bits_),
      0, // no _extensions_
      11, 120,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294965248,  // skipmap
      offsetof(ParseTableT_, field_entries),
      11,  // 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<::metrics::CastLogsProto_CastDeviceInfo_HardwareInfo>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      {::_pbi::TcParser::MiniParse, {}},
      // string color = 1;
      {::_pbi::TcParser::FastBS1,
       {10, 0, 0,
        PROTOBUF_FIELD_OFFSET(CastLogsProto_CastDeviceInfo_HardwareInfo, _impl_.color_)}},
      // string mic = 2;
      {::_pbi::TcParser::FastBS1,
       {18, 1, 0,
        PROTOBUF_FIELD_OFFSET(CastLogsProto_CastDeviceInfo_HardwareInfo, _impl_.mic_)}},
      // string memory = 3;
      {::_pbi::TcParser::FastBS1,
       {26, 2, 0,
        PROTOBUF_FIELD_OFFSET(CastLogsProto_CastDeviceInfo_HardwareInfo, _impl_.memory_)}},
      // string nand = 4;
      {::_pbi::TcParser::FastBS1,
       {34, 3, 0,
        PROTOBUF_FIELD_OFFSET(CastLogsProto_CastDeviceInfo_HardwareInfo, _impl_.nand_)}},
      // string mfg_date = 5;
      {::_pbi::TcParser::FastBS1,
       {42, 4, 0,
        PROTOBUF_FIELD_OFFSET(CastLogsProto_CastDeviceInfo_HardwareInfo, _impl_.mfg_date_)}},
      // string build_name = 6;
      {::_pbi::TcParser::FastBS1,
       {50, 5, 0,
        PROTOBUF_FIELD_OFFSET(CastLogsProto_CastDeviceInfo_HardwareInfo, _impl_.build_name_)}},
      // string config = 7;
      {::_pbi::TcParser::FastBS1,
       {58, 6, 0,
        PROTOBUF_FIELD_OFFSET(CastLogsProto_CastDeviceInfo_HardwareInfo, _impl_.config_)}},
      // string emmc = 8;
      {::_pbi::TcParser::FastBS1,
       {66, 7, 0,
        PROTOBUF_FIELD_OFFSET(CastLogsProto_CastDeviceInfo_HardwareInfo, _impl_.emmc_)}},
      // string display = 9;
      {::_pbi::TcParser::FastBS1,
       {74, 8, 0,
        PROTOBUF_FIELD_OFFSET(CastLogsProto_CastDeviceInfo_HardwareInfo, _impl_.display_)}},
      // string amp = 10;
      {::_pbi::TcParser::FastBS1,
       {82, 9, 0,
        PROTOBUF_FIELD_OFFSET(CastLogsProto_CastDeviceInfo_HardwareInfo, _impl_.amp_)}},
      // string board_name = 11;
      {::_pbi::TcParser::FastBS1,
       {90, 10, 0,
        PROTOBUF_FIELD_OFFSET(CastLogsProto_CastDeviceInfo_HardwareInfo, _impl_.board_name_)}},
      {::_pbi::TcParser::MiniParse, {}},
      {::_pbi::TcParser::MiniParse, {}},
      {::_pbi::TcParser::MiniParse, {}},
      {::_pbi::TcParser::MiniParse, {}},
    }}, {{
      65535, 65535
    }}, {{
      // string color = 1;
      {PROTOBUF_FIELD_OFFSET(CastLogsProto_CastDeviceInfo_HardwareInfo, _impl_.color_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // string mic = 2;
      {PROTOBUF_FIELD_OFFSET(CastLogsProto_CastDeviceInfo_HardwareInfo, _impl_.mic_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // string memory = 3;
      {PROTOBUF_FIELD_OFFSET(CastLogsProto_CastDeviceInfo_HardwareInfo, _impl_.memory_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // string nand = 4;
      {PROTOBUF_FIELD_OFFSET(CastLogsProto_CastDeviceInfo_HardwareInfo, _impl_.nand_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // string mfg_date = 5;
      {PROTOBUF_FIELD_OFFSET(CastLogsProto_CastDeviceInfo_HardwareInfo, _impl_.mfg_date_), _Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // string build_name = 6;
      {PROTOBUF_FIELD_OFFSET(CastLogsProto_CastDeviceInfo_HardwareInfo, _impl_.build_name_), _Internal::kHasBitsOffset + 5, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // string config = 7;
      {PROTOBUF_FIELD_OFFSET(CastLogsProto_CastDeviceInfo_HardwareInfo, _impl_.config_), _Internal::kHasBitsOffset + 6, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // string emmc = 8;
      {PROTOBUF_FIELD_OFFSET(CastLogsProto_CastDeviceInfo_HardwareInfo, _impl_.emmc_), _Internal::kHasBitsOffset + 7, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // string display = 9;
      {PROTOBUF_FIELD_OFFSET(CastLogsProto_CastDeviceInfo_HardwareInfo, _impl_.display_), _Internal::kHasBitsOffset + 8, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // string amp = 10;
      {PROTOBUF_FIELD_OFFSET(CastLogsProto_CastDeviceInfo_HardwareInfo, _impl_.amp_), _Internal::kHasBitsOffset + 9, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // string board_name = 11;
      {PROTOBUF_FIELD_OFFSET(CastLogsProto_CastDeviceInfo_HardwareInfo, _impl_.board_name_), _Internal::kHasBitsOffset + 10, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
    }},
    // no aux_entries
    {{
    }},
  };
}


inline constexpr CastLogsProto_CastDeviceInfo_HardwareInfo::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        color_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        mic_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        memory_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        nand_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        mfg_date_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        build_name_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        config_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        emmc_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        display_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        amp_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        board_name_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()) {}

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

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

constexpr CastLogsProto_CastConnectionInfo_SenderInfo::ParseTableT_ CastLogsProto_CastConnectionInfo_SenderInfo::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(CastLogsProto_CastConnectionInfo_SenderInfo, _impl_._has_bits_),
      0, // no _extensions_
      9, 120,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294966784,  // skipmap
      offsetof(ParseTableT_, field_entries),
      9,  // num_field_entries
      3,  // 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<::metrics::CastLogsProto_CastConnectionInfo_SenderInfo>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      {::_pbi::TcParser::MiniParse, {}},
      // fixed64 sender_device_id = 1;
      {::_pbi::TcParser::FastF64S1,
       {9, 4, 0,
        PROTOBUF_FIELD_OFFSET(CastLogsProto_CastConnectionInfo_SenderInfo, _impl_.sender_device_id_)}},
      // .metrics.CastLogsProto.CastConnectionInfo.SenderInfo.SDKType sdk_type = 2;
      {::_pbi::TcParser::FastEr0S1,
       {16, 5, 2,
        PROTOBUF_FIELD_OFFSET(CastLogsProto_CastConnectionInfo_SenderInfo, _impl_.sdk_type_)}},
      // string version = 3;
      {::_pbi::TcParser::FastBS1,
       {26, 0, 0,
        PROTOBUF_FIELD_OFFSET(CastLogsProto_CastConnectionInfo_SenderInfo, _impl_.version_)}},
      // string chrome_browser_version = 4;
      {::_pbi::TcParser::FastBS1,
       {34, 1, 0,
        PROTOBUF_FIELD_OFFSET(CastLogsProto_CastConnectionInfo_SenderInfo, _impl_.chrome_browser_version_)}},
      // .metrics.CastLogsProto.CastConnectionInfo.SenderInfo.Platform platform = 5;
      {::_pbi::TcParser::FastEr0S1,
       {40, 6, 7,
        PROTOBUF_FIELD_OFFSET(CastLogsProto_CastConnectionInfo_SenderInfo, _impl_.platform_)}},
      // string system_version = 6;
      {::_pbi::TcParser::FastBS1,
       {50, 2, 0,
        PROTOBUF_FIELD_OFFSET(CastLogsProto_CastConnectionInfo_SenderInfo, _impl_.system_version_)}},
      // .metrics.CastLogsProto.CastConnectionInfo.SenderInfo.ConnectionType transport_connection_type = 7;
      {::_pbi::TcParser::FastEr0S1,
       {56, 7, 3,
        PROTOBUF_FIELD_OFFSET(CastLogsProto_CastConnectionInfo_SenderInfo, _impl_.transport_connection_type_)}},
      // string model = 8;
      {::_pbi::TcParser::FastBS1,
       {66, 3, 0,
        PROTOBUF_FIELD_OFFSET(CastLogsProto_CastConnectionInfo_SenderInfo, _impl_.model_)}},
      // int32 sender_local_ip_fragment = 9;
      {::_pbi::TcParser::FastV32S1,
       {72, 8, 0,
        PROTOBUF_FIELD_OFFSET(CastLogsProto_CastConnectionInfo_SenderInfo, _impl_.sender_local_ip_fragment_)}},
      {::_pbi::TcParser::MiniParse, {}},
      {::_pbi::TcParser::MiniParse, {}},
      {::_pbi::TcParser::MiniParse, {}},
      {::_pbi::TcParser::MiniParse, {}},
      {::_pbi::TcParser::MiniParse, {}},
      {::_pbi::TcParser::MiniParse, {}},
    }}, {{
      65535, 65535
    }}, {{
      // fixed64 sender_device_id = 1;
      {PROTOBUF_FIELD_OFFSET(CastLogsProto_CastConnectionInfo_SenderInfo, _impl_.sender_device_id_), _Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kFixed64)},
      // .metrics.CastLogsProto.CastConnectionInfo.SenderInfo.SDKType sdk_type = 2;
      {PROTOBUF_FIELD_OFFSET(CastLogsProto_CastConnectionInfo_SenderInfo, _impl_.sdk_type_), _Internal::kHasBitsOffset + 5, 0, (0 | ::_fl::kFcOptional | ::_fl::kEnumRange)},
      // string version = 3;
      {PROTOBUF_FIELD_OFFSET(CastLogsProto_CastConnectionInfo_SenderInfo, _impl_.version_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // string chrome_browser_version = 4;
      {PROTOBUF_FIELD_OFFSET(CastLogsProto_CastConnectionInfo_SenderInfo, _impl_.chrome_browser_version_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // .metrics.CastLogsProto.CastConnectionInfo.SenderInfo.Platform platform = 5;
      {PROTOBUF_FIELD_OFFSET(CastLogsProto_CastConnectionInfo_SenderInfo, _impl_.platform_), _Internal::kHasBitsOffset + 6, 1, (0 | ::_fl::kFcOptional | ::_fl::kEnumRange)},
      // string system_version = 6;
      {PROTOBUF_FIELD_OFFSET(CastLogsProto_CastConnectionInfo_SenderInfo, _impl_.system_version_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // .metrics.CastLogsProto.CastConnectionInfo.SenderInfo.ConnectionType transport_connection_type = 7;
      {PROTOBUF_FIELD_OFFSET(CastLogsProto_CastConnectionInfo_SenderInfo, _impl_.transport_connection_type_), _Internal::kHasBitsOffset + 7, 2, (0 | ::_fl::kFcOptional | ::_fl::kEnumRange)},
      // string model = 8;
      {PROTOBUF_FIELD_OFFSET(CastLogsProto_CastConnectionInfo_SenderInfo, _impl_.model_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // int32 sender_local_ip_fragment = 9;
      {PROTOBUF_FIELD_OFFSET(CastLogsProto_CastConnectionInfo_SenderInfo, _impl_.sender_local_ip_fragment_), _Internal::kHasBitsOffset + 8, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
    }},
    {{
        {0, 2},
        {0, 7},
        {0, 3},
    }},
    {{
    }},
  };
}


inline constexpr CastLogsProto_CastConnectionInfo_SenderInfo::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        version_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        chrome_browser_version_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        system_version_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        model_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        sender_device_id_{::uint64_t{0u}},
        sdk_type_{static_cast< ::metrics::CastLogsProto_CastConnectionInfo_SenderInfo_SDKType >(0)},
        platform_{static_cast< ::metrics::CastLogsProto_CastConnectionInfo_SenderInfo_Platform >(0)},
        transport_connection_type_{static_cast< ::metrics::CastLogsProto_CastConnectionInfo_SenderInfo_ConnectionType >(0)},
        sender_local_ip_fragment_{0} {}

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

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

constexpr CastLogsProto_CastEventProto::ParseTableT_ CastLogsProto_CastEventProto::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(CastLogsProto_CastEventProto, _impl_._has_bits_),
      0, // no _extensions_
      30, 248,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      3221225472,  // skipmap
      offsetof(ParseTableT_, field_entries),
      30,  // num_field_entries
      4,  // num_aux_entries
      offsetof(ParseTableT_, aux_entries),
      class_data,
      nullptr,  // post_loop_handler
      ::_pbi::TcParser::GenericFallbackLite,  // fallback
      #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
      ::_pbi::TcParser::GetTable<::metrics::CastLogsProto_CastEventProto>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      {::_pbi::TcParser::MiniParse, {}},
      // fixed64 name_hash = 1;
      {::_pbi::TcParser::FastF64S1,
       {9, 13, 0,
        PROTOBUF_FIELD_OFFSET(CastLogsProto_CastEventProto, _impl_.name_hash_)}},
      // int64 time_msec = 2;
      {::_pbi::TcParser::FastV64S1,
       {16, 14, 0,
        PROTOBUF_FIELD_OFFSET(CastLogsProto_CastEventProto, _impl_.time_msec_)}},
      // fixed32 app_id = 3;
      {::_pbi::TcParser::FastF32S1,
       {29, 16, 0,
        PROTOBUF_FIELD_OFFSET(CastLogsProto_CastEventProto, _impl_.app_id_)}},
      // fixed64 application_session_id = 4;
      {::_pbi::TcParser::FastF64S1,
       {33, 15, 0,
        PROTOBUF_FIELD_OFFSET(CastLogsProto_CastEventProto, _impl_.application_session_id_)}},
      // fixed64 cast_receiver_version = 5;
      {::_pbi::TcParser::FastF64S1,
       {41, 18, 0,
        PROTOBUF_FIELD_OFFSET(CastLogsProto_CastEventProto, _impl_.cast_receiver_version_)}},
      // fixed32 transport_connection_id = 6;
      {::_pbi::TcParser::FastF32S1,
       {53, 17, 0,
        PROTOBUF_FIELD_OFFSET(CastLogsProto_CastEventProto, _impl_.transport_connection_id_)}},
      // fixed32 virtual_connection_id = 7;
      {::_pbi::TcParser::FastF32S1,
       {61, 21, 0,
        PROTOBUF_FIELD_OFFSET(CastLogsProto_CastEventProto, _impl_.virtual_connection_id_)}},
      // int64 value = 8;
      {::_pbi::TcParser::FastV64S1,
       {64, 19, 0,
        PROTOBUF_FIELD_OFFSET(CastLogsProto_CastEventProto, _impl_.value_)}},
      // fixed64 cast_mpl_version = 9;
      {::_pbi::TcParser::FastF64S1,
       {73, 20, 0,
        PROTOBUF_FIELD_OFFSET(CastLogsProto_CastEventProto, _impl_.cast_mpl_version_)}},
      // fixed64 group_uuid = 10;
      {::_pbi::TcParser::FastF64S1,
       {81, 23, 0,
        PROTOBUF_FIELD_OFFSET(CastLogsProto_CastEventProto, _impl_.group_uuid_)}},
      // string conversation_key = 11;
      {::_pbi::TcParser::FastBS1,
       {90, 3, 0,
        PROTOBUF_FIELD_OFFSET(CastLogsProto_CastEventProto, _impl_.conversation_key_)}},
      // fixed32 request_id = 12;
      {::_pbi::TcParser::FastF32S1,
       {101, 22, 0,
        PROTOBUF_FIELD_OFFSET(CastLogsProto_CastEventProto, _impl_.request_id_)}},
      // string event_id = 13;
      {::_pbi::TcParser::FastBS1,
       {106, 4, 0,
        PROTOBUF_FIELD_OFFSET(CastLogsProto_CastEventProto, _impl_.event_id_)}},
      // repeated .metrics.CastLogsProto.CastEventProto.Metadata metadata = 14;
      {::_pbi::TcParser::FastMtR1,
       {114, 0, 0,
        PROTOBUF_FIELD_OFFSET(CastLogsProto_CastEventProto, _impl_.metadata_)}},
      // repeated float feature_vector = 15;
      {::_pbi::TcParser::FastF32P1,
       {122, 1, 0,
        PROTOBUF_FIELD_OFFSET(CastLogsProto_CastEventProto, _impl_.feature_vector_)}},
      // string aogh_request_id = 16;
      {::_pbi::TcParser::FastBS2,
       {386, 5, 0,
        PROTOBUF_FIELD_OFFSET(CastLogsProto_CastEventProto, _impl_.aogh_request_id_)}},
      // string timezone_id = 17;
      {::_pbi::TcParser::FastBS2,
       {394, 6, 0,
        PROTOBUF_FIELD_OFFSET(CastLogsProto_CastEventProto, _impl_.timezone_id_)}},
      // int64 aogh_local_device_id = 18;
      {::_pbi::TcParser::FastV64S2,
       {400, 24, 0,
        PROTOBUF_FIELD_OFFSET(CastLogsProto_CastEventProto, _impl_.aogh_local_device_id_)}},
      // fixed32 remote_app_id = 19;
      {::_pbi::TcParser::FastF32S2,
       {413, 25, 0,
        PROTOBUF_FIELD_OFFSET(CastLogsProto_CastEventProto, _impl_.remote_app_id_)}},
      // string ui_version = 20;
      {::_pbi::TcParser::FastBS2,
       {418, 7, 0,
        PROTOBUF_FIELD_OFFSET(CastLogsProto_CastEventProto, _impl_.ui_version_)}},
      // string aogh_agent_id = 21;
      {::_pbi::TcParser::FastBS2,
       {426, 8, 0,
        PROTOBUF_FIELD_OFFSET(CastLogsProto_CastEventProto, _impl_.aogh_agent_id_)}},
      // string selinux_audit_detail = 22;
      {::_pbi::TcParser::FastBS2,
       {434, 9, 0,
        PROTOBUF_FIELD_OFFSET(CastLogsProto_CastEventProto, _impl_.selinux_audit_detail_)}},
      // repeated string event_id_list = 23;
      {::_pbi::TcParser::FastBR2,
       {442, 2, 0,
        PROTOBUF_FIELD_OFFSET(CastLogsProto_CastEventProto, _impl_.event_id_list_)}},
      // fixed64 duo_core_version = 24;
      {::_pbi::TcParser::FastF64S2,
       {449, 27, 0,
        PROTOBUF_FIELD_OFFSET(CastLogsProto_CastEventProto, _impl_.duo_core_version_)}},
      // string hotword_model_id = 25;
      {::_pbi::TcParser::FastBS2,
       {458, 10, 0,
        PROTOBUF_FIELD_OFFSET(CastLogsProto_CastEventProto, _impl_.hotword_model_id_)}},
      // .metrics.CastLogsProto.CastEventProto.LaunchFrom launch_from = 26;
      {::_pbi::TcParser::FastEr0S2,
       {464, 26, 4,
        PROTOBUF_FIELD_OFFSET(CastLogsProto_CastEventProto, _impl_.launch_from_)}},
      // .metrics.CastLogsProto.CastEventProto.RuntimeType runtime_type = 27;
      {::_pbi::TcParser::FastEr0S2,
       {472, 28, 3,
        PROTOBUF_FIELD_OFFSET(CastLogsProto_CastEventProto, _impl_.runtime_type_)}},
      // string aogh_standard_agent_id = 28;
      {::_pbi::TcParser::FastBS2,
       {482, 11, 0,
        PROTOBUF_FIELD_OFFSET(CastLogsProto_CastEventProto, _impl_.aogh_standard_agent_id_)}},
      // bytes cast_bridge_event_metadata = 29;
      {::_pbi::TcParser::FastBS2,
       {490, 12, 0,
        PROTOBUF_FIELD_OFFSET(CastLogsProto_CastEventProto, _impl_.cast_bridge_event_metadata_)}},
      // .metrics.CastLogsProto.CastEventProto.AppType app_type = 30;
      {::_pbi::TcParser::FastEr0S2,
       {496, 29, 3,
        PROTOBUF_FIELD_OFFSET(CastLogsProto_CastEventProto, _impl_.app_type_)}},
      {::_pbi::TcParser::MiniParse, {}},
    }}, {{
      65535, 65535
    }}, {{
      // fixed64 name_hash = 1;
      {PROTOBUF_FIELD_OFFSET(CastLogsProto_CastEventProto, _impl_.name_hash_), _Internal::kHasBitsOffset + 13, 0, (0 | ::_fl::kFcOptional | ::_fl::kFixed64)},
      // int64 time_msec = 2;
      {PROTOBUF_FIELD_OFFSET(CastLogsProto_CastEventProto, _impl_.time_msec_), _Internal::kHasBitsOffset + 14, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
      // fixed32 app_id = 3;
      {PROTOBUF_FIELD_OFFSET(CastLogsProto_CastEventProto, _impl_.app_id_), _Internal::kHasBitsOffset + 16, 0, (0 | ::_fl::kFcOptional | ::_fl::kFixed32)},
      // fixed64 application_session_id = 4;
      {PROTOBUF_FIELD_OFFSET(CastLogsProto_CastEventProto, _impl_.application_session_id_), _Internal::kHasBitsOffset + 15, 0, (0 | ::_fl::kFcOptional | ::_fl::kFixed64)},
      // fixed64 cast_receiver_version = 5;
      {PROTOBUF_FIELD_OFFSET(CastLogsProto_CastEventProto, _impl_.cast_receiver_version_), _Internal::kHasBitsOffset + 18, 0, (0 | ::_fl::kFcOptional | ::_fl::kFixed64)},
      // fixed32 transport_connection_id = 6;
      {PROTOBUF_FIELD_OFFSET(CastLogsProto_CastEventProto, _impl_.transport_connection_id_), _Internal::kHasBitsOffset + 17, 0, (0 | ::_fl::kFcOptional | ::_fl::kFixed32)},
      // fixed32 virtual_connection_id = 7;
      {PROTOBUF_FIELD_OFFSET(CastLogsProto_CastEventProto, _impl_.virtual_connection_id_), _Internal::kHasBitsOffset + 21, 0, (0 | ::_fl::kFcOptional | ::_fl::kFixed32)},
      // int64 value = 8;
      {PROTOBUF_FIELD_OFFSET(CastLogsProto_CastEventProto, _impl_.value_), _Internal::kHasBitsOffset + 19, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
      // fixed64 cast_mpl_version = 9;
      {PROTOBUF_FIELD_OFFSET(CastLogsProto_CastEventProto, _impl_.cast_mpl_version_), _Internal::kHasBitsOffset + 20, 0, (0 | ::_fl::kFcOptional | ::_fl::kFixed64)},
      // fixed64 group_uuid = 10;
      {PROTOBUF_FIELD_OFFSET(CastLogsProto_CastEventProto, _impl_.group_uuid_), _Internal::kHasBitsOffset + 23, 0, (0 | ::_fl::kFcOptional | ::_fl::kFixed64)},
      // string conversation_key = 11;
      {PROTOBUF_FIELD_OFFSET(CastLogsProto_CastEventProto, _impl_.conversation_key_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // fixed32 request_id = 12;
      {PROTOBUF_FIELD_OFFSET(CastLogsProto_CastEventProto, _impl_.request_id_), _Internal::kHasBitsOffset + 22, 0, (0 | ::_fl::kFcOptional | ::_fl::kFixed32)},
      // string event_id = 13;
      {PROTOBUF_FIELD_OFFSET(CastLogsProto_CastEventProto, _impl_.event_id_), _Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // repeated .metrics.CastLogsProto.CastEventProto.Metadata metadata = 14;
      {PROTOBUF_FIELD_OFFSET(CastLogsProto_CastEventProto, _impl_.metadata_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
      // repeated float feature_vector = 15;
      {PROTOBUF_FIELD_OFFSET(CastLogsProto_CastEventProto, _impl_.feature_vector_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcRepeated | ::_fl::kPackedFloat)},
      // string aogh_request_id = 16;
      {PROTOBUF_FIELD_OFFSET(CastLogsProto_CastEventProto, _impl_.aogh_request_id_), _Internal::kHasBitsOffset + 5, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // string timezone_id = 17;
      {PROTOBUF_FIELD_OFFSET(CastLogsProto_CastEventProto, _impl_.timezone_id_), _Internal::kHasBitsOffset + 6, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // int64 aogh_local_device_id = 18;
      {PROTOBUF_FIELD_OFFSET(CastLogsProto_CastEventProto, _impl_.aogh_local_device_id_), _Internal::kHasBitsOffset + 24, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
      // fixed32 remote_app_id = 19;
      {PROTOBUF_FIELD_OFFSET(CastLogsProto_CastEventProto, _impl_.remote_app_id_), _Internal::kHasBitsOffset + 25, 0, (0 | ::_fl::kFcOptional | ::_fl::kFixed32)},
      // string ui_version = 20;
      {PROTOBUF_FIELD_OFFSET(CastLogsProto_CastEventProto, _impl_.ui_version_), _Internal::kHasBitsOffset + 7, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // string aogh_agent_id = 21;
      {PROTOBUF_FIELD_OFFSET(CastLogsProto_CastEventProto, _impl_.aogh_agent_id_), _Internal::kHasBitsOffset + 8, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // string selinux_audit_detail = 22;
      {PROTOBUF_FIELD_OFFSET(CastLogsProto_CastEventProto, _impl_.selinux_audit_detail_), _Internal::kHasBitsOffset + 9, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // repeated string event_id_list = 23;
      {PROTOBUF_FIELD_OFFSET(CastLogsProto_CastEventProto, _impl_.event_id_list_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcRepeated | ::_fl::kBytes | ::_fl::kRepSString)},
      // fixed64 duo_core_version = 24;
      {PROTOBUF_FIELD_OFFSET(CastLogsProto_CastEventProto, _impl_.duo_core_version_), _Internal::kHasBitsOffset + 27, 0, (0 | ::_fl::kFcOptional | ::_fl::kFixed64)},
      // string hotword_model_id = 25;
      {PROTOBUF_FIELD_OFFSET(CastLogsProto_CastEventProto, _impl_.hotword_model_id_), _Internal::kHasBitsOffset + 10, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // .metrics.CastLogsProto.CastEventProto.LaunchFrom launch_from = 26;
      {PROTOBUF_FIELD_OFFSET(CastLogsProto_CastEventProto, _impl_.launch_from_), _Internal::kHasBitsOffset + 26, 1, (0 | ::_fl::kFcOptional | ::_fl::kEnumRange)},
      // .metrics.CastLogsProto.CastEventProto.RuntimeType runtime_type = 27;
      {PROTOBUF_FIELD_OFFSET(CastLogsProto_CastEventProto, _impl_.runtime_type_), _Internal::kHasBitsOffset + 28, 2, (0 | ::_fl::kFcOptional | ::_fl::kEnumRange)},
      // string aogh_standard_agent_id = 28;
      {PROTOBUF_FIELD_OFFSET(CastLogsProto_CastEventProto, _impl_.aogh_standard_agent_id_), _Internal::kHasBitsOffset + 11, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // bytes cast_bridge_event_metadata = 29;
      {PROTOBUF_FIELD_OFFSET(CastLogsProto_CastEventProto, _impl_.cast_bridge_event_metadata_), _Internal::kHasBitsOffset + 12, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // .metrics.CastLogsProto.CastEventProto.AppType app_type = 30;
      {PROTOBUF_FIELD_OFFSET(CastLogsProto_CastEventProto, _impl_.app_type_), _Internal::kHasBitsOffset + 29, 3, (0 | ::_fl::kFcOptional | ::_fl::kEnumRange)},
    }},
    {{
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::metrics::CastLogsProto_CastEventProto_Metadata>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::metrics::CastLogsProto_CastEventProto_Metadata_globals_},
        #endif
        {0, 4},
        {0, 3},
        {0, 3},
    }},
    {{
    }},
  };
}


inline constexpr CastLogsProto_CastEventProto::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        metadata_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::metrics::CastLogsProto_CastEventProto,
            PROTOBUF_FIELD_OFFSET(::metrics::CastLogsProto_CastEventProto, _impl_.metadata_)>()
         }
        ,
        feature_vector_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::metrics::CastLogsProto_CastEventProto,
            PROTOBUF_FIELD_OFFSET(::metrics::CastLogsProto_CastEventProto, _impl_.feature_vector_)>()
         }
        ,
        event_id_list_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::metrics::CastLogsProto_CastEventProto,
            PROTOBUF_FIELD_OFFSET(::metrics::CastLogsProto_CastEventProto, _impl_.event_id_list_)>()
         }
        ,
        conversation_key_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        event_id_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        aogh_request_id_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        timezone_id_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        ui_version_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        aogh_agent_id_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        selinux_audit_detail_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        hotword_model_id_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        aogh_standard_agent_id_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        cast_bridge_event_metadata_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        name_hash_{::uint64_t{0u}},
        time_msec_{::int64_t{0}},
        application_session_id_{::uint64_t{0u}},
        app_id_{0u},
        transport_connection_id_{0u},
        cast_receiver_version_{::uint64_t{0u}},
        value_{::int64_t{0}},
        cast_mpl_version_{::uint64_t{0u}},
        virtual_connection_id_{0u},
        request_id_{0u},
        group_uuid_{::uint64_t{0u}},
        aogh_local_device_id_{::int64_t{0}},
        remote_app_id_{0u},
        launch_from_{static_cast< ::metrics::CastLogsProto_CastEventProto_LaunchFrom >(0)},
        duo_core_version_{::uint64_t{0u}},
        runtime_type_{static_cast< ::metrics::CastLogsProto_CastEventProto_RuntimeType >(0)},
        app_type_{static_cast< ::metrics::CastLogsProto_CastEventProto_AppType >(0)} {}

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

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

constexpr CastLogsProto_CastDeviceInfo::ParseTableT_ CastLogsProto_CastDeviceInfo::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(CastLogsProto_CastDeviceInfo, _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
      3,  // 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<::metrics::CastLogsProto_CastDeviceInfo>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      {::_pbi::TcParser::MiniParse, {}},
      // .metrics.CastLogsProto.CastDeviceInfo.CastProductType type = 1;
      {::_pbi::TcParser::FastEr0S1,
       {8, 5, 14,
        PROTOBUF_FIELD_OFFSET(CastLogsProto_CastDeviceInfo, _impl_.type_)}},
      // string hardware_revision = 2;
      {::_pbi::TcParser::FastBS1,
       {18, 0, 0,
        PROTOBUF_FIELD_OFFSET(CastLogsProto_CastDeviceInfo, _impl_.hardware_revision_)}},
      // string manufacturer = 3;
      {::_pbi::TcParser::FastBS1,
       {26, 1, 0,
        PROTOBUF_FIELD_OFFSET(CastLogsProto_CastDeviceInfo, _impl_.manufacturer_)}},
      // string model = 4;
      {::_pbi::TcParser::FastBS1,
       {34, 2, 0,
        PROTOBUF_FIELD_OFFSET(CastLogsProto_CastDeviceInfo, _impl_.model_)}},
      // string serial_number = 5;
      {::_pbi::TcParser::FastBS1,
       {42, 3, 0,
        PROTOBUF_FIELD_OFFSET(CastLogsProto_CastDeviceInfo, _impl_.serial_number_)}},
      // .metrics.CastLogsProto.CastDeviceInfo.HardwareInfo hardware_info = 6;
      {::_pbi::TcParser::FastMtS1,
       {50, 4, 0,
        PROTOBUF_FIELD_OFFSET(CastLogsProto_CastDeviceInfo, _impl_.hardware_info_)}},
      // .metrics.CastLogsProto.CastDeviceInfo.DeviceEnvironment device_environment = 7;
      {::_pbi::TcParser::FastEr0S1,
       {56, 6, 3,
        PROTOBUF_FIELD_OFFSET(CastLogsProto_CastDeviceInfo, _impl_.device_environment_)}},
    }}, {{
      65535, 65535
    }}, {{
      // .metrics.CastLogsProto.CastDeviceInfo.CastProductType type = 1;
      {PROTOBUF_FIELD_OFFSET(CastLogsProto_CastDeviceInfo, _impl_.type_), _Internal::kHasBitsOffset + 5, 1, (0 | ::_fl::kFcOptional | ::_fl::kEnumRange)},
      // string hardware_revision = 2;
      {PROTOBUF_FIELD_OFFSET(CastLogsProto_CastDeviceInfo, _impl_.hardware_revision_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // string manufacturer = 3;
      {PROTOBUF_FIELD_OFFSET(CastLogsProto_CastDeviceInfo, _impl_.manufacturer_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // string model = 4;
      {PROTOBUF_FIELD_OFFSET(CastLogsProto_CastDeviceInfo, _impl_.model_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // string serial_number = 5;
      {PROTOBUF_FIELD_OFFSET(CastLogsProto_CastDeviceInfo, _impl_.serial_number_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
      // .metrics.CastLogsProto.CastDeviceInfo.HardwareInfo hardware_info = 6;
      {PROTOBUF_FIELD_OFFSET(CastLogsProto_CastDeviceInfo, _impl_.hardware_info_), _Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
      // .metrics.CastLogsProto.CastDeviceInfo.DeviceEnvironment device_environment = 7;
      {PROTOBUF_FIELD_OFFSET(CastLogsProto_CastDeviceInfo, _impl_.device_environment_), _Internal::kHasBitsOffset + 6, 2, (0 | ::_fl::kFcOptional | ::_fl::kEnumRange)},
    }},
    {{
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::metrics::CastLogsProto_CastDeviceInfo_HardwareInfo>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::metrics::CastLogsProto_CastDeviceInfo_HardwareInfo_globals_},
        #endif
        {0, 14},
        {0, 3},
    }},
    {{
    }},
  };
}


inline constexpr CastLogsProto_CastDeviceInfo::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        hardware_revision_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        manufacturer_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        model_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        serial_number_(
            &::google::protobuf::internal::fixed_address_empty_string,
            ::_pbi::ConstantInitialized()),
        hardware_info_{nullptr},
        type_{static_cast< ::metrics::CastLogsProto_CastDeviceInfo_CastProductType >(0)},
        device_environment_{static_cast< ::metrics::CastLogsProto_CastDeviceInfo_DeviceEnvironment >(0)} {}

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

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

constexpr CastLogsProto_CastConnectionInfo::ParseTableT_ CastLogsProto_CastConnectionInfo::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(CastLogsProto_CastConnectionInfo, _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
      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<::metrics::CastLogsProto_CastConnectionInfo>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      // .metrics.CastLogsProto.CastConnectionInfo.V2ConnectionType v2_connection_type = 4;
      {::_pbi::TcParser::FastEr0S1,
       {32, 3, 3,
        PROTOBUF_FIELD_OFFSET(CastLogsProto_CastConnectionInfo, _impl_.v2_connection_type_)}},
      // fixed32 transport_connection_id = 1;
      {::_pbi::TcParser::FastF32S1,
       {13, 1, 0,
        PROTOBUF_FIELD_OFFSET(CastLogsProto_CastConnectionInfo, _impl_.transport_connection_id_)}},
      // fixed32 virtual_connection_id = 2;
      {::_pbi::TcParser::FastF32S1,
       {21, 2, 0,
        PROTOBUF_FIELD_OFFSET(CastLogsProto_CastConnectionInfo, _impl_.virtual_connection_id_)}},
      // .metrics.CastLogsProto.CastConnectionInfo.SenderInfo sender_info = 3;
      {::_pbi::TcParser::FastMtS1,
       {26, 0, 0,
        PROTOBUF_FIELD_OFFSET(CastLogsProto_CastConnectionInfo, _impl_.sender_info_)}},
    }}, {{
      65535, 65535
    }}, {{
      // fixed32 transport_connection_id = 1;
      {PROTOBUF_FIELD_OFFSET(CastLogsProto_CastConnectionInfo, _impl_.transport_connection_id_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kFixed32)},
      // fixed32 virtual_connection_id = 2;
      {PROTOBUF_FIELD_OFFSET(CastLogsProto_CastConnectionInfo, _impl_.virtual_connection_id_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kFixed32)},
      // .metrics.CastLogsProto.CastConnectionInfo.SenderInfo sender_info = 3;
      {PROTOBUF_FIELD_OFFSET(CastLogsProto_CastConnectionInfo, _impl_.sender_info_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
      // .metrics.CastLogsProto.CastConnectionInfo.V2ConnectionType v2_connection_type = 4;
      {PROTOBUF_FIELD_OFFSET(CastLogsProto_CastConnectionInfo, _impl_.v2_connection_type_), _Internal::kHasBitsOffset + 3, 1, (0 | ::_fl::kFcOptional | ::_fl::kEnumRange)},
    }},
    {{
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::metrics::CastLogsProto_CastConnectionInfo_SenderInfo>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::metrics::CastLogsProto_CastConnectionInfo_SenderInfo_globals_},
        #endif
        {0, 3},
    }},
    {{
    }},
  };
}


inline constexpr CastLogsProto_CastConnectionInfo::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        sender_info_{nullptr},
        transport_connection_id_{0u},
        virtual_connection_id_{0u},
        v2_connection_type_{static_cast< ::metrics::CastLogsProto_CastConnectionInfo_V2ConnectionType >(0)} {}

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

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

constexpr CastLogsProto::ParseTableT_ CastLogsProto::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(CastLogsProto, _impl_._has_bits_),
      0, // no _extensions_
      8, 56,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967040,  // skipmap
      offsetof(ParseTableT_, field_entries),
      8,  // num_field_entries
      4,  // num_aux_entries
      offsetof(ParseTableT_, aux_entries),
      class_data,
      nullptr,  // post_loop_handler
      ::_pbi::TcParser::GenericFallbackLite,  // fallback
      #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
      ::_pbi::TcParser::GetTable<::metrics::CastLogsProto>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      // fixed32 source_virtual_release_track = 8;
      {::_pbi::TcParser::FastF32S1,
       {69, 6, 0,
        PROTOBUF_FIELD_OFFSET(CastLogsProto, _impl_.source_virtual_release_track_)}},
      // .metrics.CastLogsProto.CastDeviceInfo cast_device_info = 1;
      {::_pbi::TcParser::FastMtS1,
       {10, 2, 0,
        PROTOBUF_FIELD_OFFSET(CastLogsProto, _impl_.cast_device_info_)}},
      // repeated .metrics.CastLogsProto.CastConnectionInfo cast_connection_info = 2;
      {::_pbi::TcParser::FastMtR1,
       {18, 0, 1,
        PROTOBUF_FIELD_OFFSET(CastLogsProto, _impl_.cast_connection_info_)}},
      // repeated .metrics.CastLogsProto.CastEventProto cast_event = 3;
      {::_pbi::TcParser::FastMtR1,
       {26, 1, 2,
        PROTOBUF_FIELD_OFFSET(CastLogsProto, _impl_.cast_event_)}},
      // fixed32 virtual_release_track = 4;
      {::_pbi::TcParser::FastF32S1,
       {37, 5, 0,
        PROTOBUF_FIELD_OFFSET(CastLogsProto, _impl_.virtual_release_track_)}},
      // .metrics.CastLogsProto.CastDeviceMutableInfo cast_device_mutable_info = 5;
      {::_pbi::TcParser::FastMtS1,
       {42, 3, 3,
        PROTOBUF_FIELD_OFFSET(CastLogsProto, _impl_.cast_device_mutable_info_)}},
      // fixed64 receiver_metrics_id = 6;
      {::_pbi::TcParser::FastF64S1,
       {49, 4, 0,
        PROTOBUF_FIELD_OFFSET(CastLogsProto, _impl_.receiver_metrics_id_)}},
      // uint64 ephemeral_id = 7;
      {::_pbi::TcParser::FastV64S1,
       {56, 7, 0,
        PROTOBUF_FIELD_OFFSET(CastLogsProto, _impl_.ephemeral_id_)}},
    }}, {{
      65535, 65535
    }}, {{
      // .metrics.CastLogsProto.CastDeviceInfo cast_device_info = 1;
      {PROTOBUF_FIELD_OFFSET(CastLogsProto, _impl_.cast_device_info_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
      // repeated .metrics.CastLogsProto.CastConnectionInfo cast_connection_info = 2;
      {PROTOBUF_FIELD_OFFSET(CastLogsProto, _impl_.cast_connection_info_), _Internal::kHasBitsOffset + 0, 1, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
      // repeated .metrics.CastLogsProto.CastEventProto cast_event = 3;
      {PROTOBUF_FIELD_OFFSET(CastLogsProto, _impl_.cast_event_), _Internal::kHasBitsOffset + 1, 2, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
      // fixed32 virtual_release_track = 4;
      {PROTOBUF_FIELD_OFFSET(CastLogsProto, _impl_.virtual_release_track_), _Internal::kHasBitsOffset + 5, 0, (0 | ::_fl::kFcOptional | ::_fl::kFixed32)},
      // .metrics.CastLogsProto.CastDeviceMutableInfo cast_device_mutable_info = 5;
      {PROTOBUF_FIELD_OFFSET(CastLogsProto, _impl_.cast_device_mutable_info_), _Internal::kHasBitsOffset + 3, 3, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
      // fixed64 receiver_metrics_id = 6;
      {PROTOBUF_FIELD_OFFSET(CastLogsProto, _impl_.receiver_metrics_id_), _Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kFixed64)},
      // uint64 ephemeral_id = 7;
      {PROTOBUF_FIELD_OFFSET(CastLogsProto, _impl_.ephemeral_id_), _Internal::kHasBitsOffset + 7, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt64)},
      // fixed32 source_virtual_release_track = 8;
      {PROTOBUF_FIELD_OFFSET(CastLogsProto, _impl_.source_virtual_release_track_), _Internal::kHasBitsOffset + 6, 0, (0 | ::_fl::kFcOptional | ::_fl::kFixed32)},
    }},
    {{
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::metrics::CastLogsProto_CastDeviceInfo>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::metrics::CastLogsProto_CastDeviceInfo_globals_},
        #endif
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::metrics::CastLogsProto_CastConnectionInfo>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::metrics::CastLogsProto_CastConnectionInfo_globals_},
        #endif
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::metrics::CastLogsProto_CastEventProto>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::metrics::CastLogsProto_CastEventProto_globals_},
        #endif
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::metrics::CastLogsProto_CastDeviceMutableInfo>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::metrics::CastLogsProto_CastDeviceMutableInfo_globals_},
        #endif
    }},
    {{
    }},
  };
}


inline constexpr CastLogsProto::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        cast_connection_info_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::metrics::CastLogsProto,
            PROTOBUF_FIELD_OFFSET(::metrics::CastLogsProto, _impl_.cast_connection_info_)>()
         }
        ,
        cast_event_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::metrics::CastLogsProto,
            PROTOBUF_FIELD_OFFSET(::metrics::CastLogsProto, _impl_.cast_event_)>()
         }
        ,
        cast_device_info_{nullptr},
        cast_device_mutable_info_{nullptr},
        receiver_metrics_id_{::uint64_t{0u}},
        virtual_release_track_{0u},
        source_virtual_release_track_{0u},
        ephemeral_id_{::uint64_t{0u}} {}

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

PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PROTOBUF_MESSAGE_GLOBALS_CONST CastLogsProtoGlobalsTypeInternal CastLogsProto_globals_
        PROTOBUF_MESSAGE_GLOBALS_SECTION(.data.rel.ro);
#if defined(PROTOBUF_CUSTOM_VTABLE)
namespace {
const ::_pbi::ClassData* CastLogsProto_get_class_data() {
#ifdef PROTOBUF_MESSAGE_GLOBALS
  return CastLogsProto_globals_.GetClassData();
#else
  return CastLogsProto_class_data_.base();
#endif  // PROTOBUF_MESSAGE_GLOBALS
}
}  // namespace
#endif  // PROTOBUF_CUSTOM_VTABLE
}  // namespace metrics
namespace metrics {
PROTOBUF_CONSTINIT const uint32_t CastLogsProto_CastDeviceInfo_CastProductType_internal_data_[] = {
    983040u, 0u, };
static const char CastLogsProto_CastDeviceInfo_CastProductType_names[] = {
    "CAST_PRODUCT_TYPE_ANDROID"
    "CAST_PRODUCT_TYPE_ANDROID_AUTOMOTIVE"
    "CAST_PRODUCT_TYPE_ANDROID_TABLET"
    "CAST_PRODUCT_TYPE_ANDROID_THINGS"
    "CAST_PRODUCT_TYPE_ANDROID_TV"
    "CAST_PRODUCT_TYPE_AOSP_TV"
    "CAST_PRODUCT_TYPE_ASSISTANT"
    "CAST_PRODUCT_TYPE_AUDIO"
    "CAST_PRODUCT_TYPE_CHROMECAST"
    "CAST_PRODUCT_TYPE_CHROME_OS"
    "CAST_PRODUCT_TYPE_CORE"
    "CAST_PRODUCT_TYPE_FUCHSIA_OS"
    "CAST_PRODUCT_TYPE_LITE"
    "CAST_PRODUCT_TYPE_TV"
    "CAST_PRODUCT_TYPE_UNKNOWN"
};

static const ::google::protobuf::internal::EnumEntry CastLogsProto_CastDeviceInfo_CastProductType_entries[] = {
    {{&CastLogsProto_CastDeviceInfo_CastProductType_names[0], 25}, 13},
    {{&CastLogsProto_CastDeviceInfo_CastProductType_names[25], 36}, 12},
    {{&CastLogsProto_CastDeviceInfo_CastProductType_names[61], 32}, 11},
    {{&CastLogsProto_CastDeviceInfo_CastProductType_names[93], 32}, 6},
    {{&CastLogsProto_CastDeviceInfo_CastProductType_names[125], 28}, 4},
    {{&CastLogsProto_CastDeviceInfo_CastProductType_names[153], 25}, 14},
    {{&CastLogsProto_CastDeviceInfo_CastProductType_names[178], 27}, 5},
    {{&CastLogsProto_CastDeviceInfo_CastProductType_names[205], 23}, 3},
    {{&CastLogsProto_CastDeviceInfo_CastProductType_names[228], 28}, 1},
    {{&CastLogsProto_CastDeviceInfo_CastProductType_names[256], 27}, 7},
    {{&CastLogsProto_CastDeviceInfo_CastProductType_names[283], 22}, 10},
    {{&CastLogsProto_CastDeviceInfo_CastProductType_names[305], 28}, 8},
    {{&CastLogsProto_CastDeviceInfo_CastProductType_names[333], 22}, 9},
    {{&CastLogsProto_CastDeviceInfo_CastProductType_names[355], 20}, 2},
    {{&CastLogsProto_CastDeviceInfo_CastProductType_names[375], 25}, 0},
};

static const int CastLogsProto_CastDeviceInfo_CastProductType_entries_by_number[] = {
    14,  // 0 -> CAST_PRODUCT_TYPE_UNKNOWN
    8,  // 1 -> CAST_PRODUCT_TYPE_CHROMECAST
    13,  // 2 -> CAST_PRODUCT_TYPE_TV
    7,  // 3 -> CAST_PRODUCT_TYPE_AUDIO
    4,  // 4 -> CAST_PRODUCT_TYPE_ANDROID_TV
    6,  // 5 -> CAST_PRODUCT_TYPE_ASSISTANT
    3,  // 6 -> CAST_PRODUCT_TYPE_ANDROID_THINGS
    9,  // 7 -> CAST_PRODUCT_TYPE_CHROME_OS
    11,  // 8 -> CAST_PRODUCT_TYPE_FUCHSIA_OS
    12,  // 9 -> CAST_PRODUCT_TYPE_LITE
    10,  // 10 -> CAST_PRODUCT_TYPE_CORE
    2,  // 11 -> CAST_PRODUCT_TYPE_ANDROID_TABLET
    1,  // 12 -> CAST_PRODUCT_TYPE_ANDROID_AUTOMOTIVE
    0,  // 13 -> CAST_PRODUCT_TYPE_ANDROID
    5,  // 14 -> CAST_PRODUCT_TYPE_AOSP_TV
};

bool CastLogsProto_CastDeviceInfo_CastProductType_Parse(::absl::string_view name,
                                  CastLogsProto_CastDeviceInfo_CastProductType* PROTOBUF_NONNULL value) {
  int int_value;
  bool success = ::google::protobuf::internal::LookUpEnumValue(
      CastLogsProto_CastDeviceInfo_CastProductType_entries, 15, name, &int_value);
  if (success) {
    *value = static_cast<CastLogsProto_CastDeviceInfo_CastProductType>(int_value);
  }
  return success;
}
static ::google::protobuf::internal::ExplicitlyConstructed<::std::string>
    CastLogsProto_CastDeviceInfo_CastProductType_strings[15] = {};

const ::std::string& CastLogsProto_CastDeviceInfo_CastProductType_Name(CastLogsProto_CastDeviceInfo_CastProductType value) {
  static const bool kDummy = ::google::protobuf::internal::InitializeEnumStrings(
      CastLogsProto_CastDeviceInfo_CastProductType_entries, CastLogsProto_CastDeviceInfo_CastProductType_entries_by_number, 15,
      CastLogsProto_CastDeviceInfo_CastProductType_strings);
  (void)kDummy;

  int idx = ::google::protobuf::internal::LookUpEnumName(CastLogsProto_CastDeviceInfo_CastProductType_entries,
                                  CastLogsProto_CastDeviceInfo_CastProductType_entries_by_number,
                                  15, value);
  return idx == -1 ? ::google::protobuf::internal::GetEmptyString() : CastLogsProto_CastDeviceInfo_CastProductType_strings[idx].get();
}
PROTOBUF_CONSTINIT const uint32_t CastLogsProto_CastDeviceInfo_DeviceEnvironment_internal_data_[] = {
    262144u, 0u, };
static const char CastLogsProto_CastDeviceInfo_DeviceEnvironment_names[] = {
    "DEVICE_ENVIRONMENT_AUTOMOTIVE"
    "DEVICE_ENVIRONMENT_HOME"
    "DEVICE_ENVIRONMENT_HOTEL"
    "DEVICE_ENVIRONMENT_UNKNOWN"
};

static const ::google::protobuf::internal::EnumEntry CastLogsProto_CastDeviceInfo_DeviceEnvironment_entries[] = {
    {{&CastLogsProto_CastDeviceInfo_DeviceEnvironment_names[0], 29}, 3},
    {{&CastLogsProto_CastDeviceInfo_DeviceEnvironment_names[29], 23}, 2},
    {{&CastLogsProto_CastDeviceInfo_DeviceEnvironment_names[52], 24}, 1},
    {{&CastLogsProto_CastDeviceInfo_DeviceEnvironment_names[76], 26}, 0},
};

static const int CastLogsProto_CastDeviceInfo_DeviceEnvironment_entries_by_number[] = {
    3,  // 0 -> DEVICE_ENVIRONMENT_UNKNOWN
    2,  // 1 -> DEVICE_ENVIRONMENT_HOTEL
    1,  // 2 -> DEVICE_ENVIRONMENT_HOME
    0,  // 3 -> DEVICE_ENVIRONMENT_AUTOMOTIVE
};

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

const ::std::string& CastLogsProto_CastDeviceInfo_DeviceEnvironment_Name(CastLogsProto_CastDeviceInfo_DeviceEnvironment value) {
  static const bool kDummy = ::google::protobuf::internal::InitializeEnumStrings(
      CastLogsProto_CastDeviceInfo_DeviceEnvironment_entries, CastLogsProto_CastDeviceInfo_DeviceEnvironment_entries_by_number, 4,
      CastLogsProto_CastDeviceInfo_DeviceEnvironment_strings);
  (void)kDummy;

  int idx = ::google::protobuf::internal::LookUpEnumName(CastLogsProto_CastDeviceInfo_DeviceEnvironment_entries,
                                  CastLogsProto_CastDeviceInfo_DeviceEnvironment_entries_by_number,
                                  4, value);
  return idx == -1 ? ::google::protobuf::internal::GetEmptyString() : CastLogsProto_CastDeviceInfo_DeviceEnvironment_strings[idx].get();
}
PROTOBUF_CONSTINIT const uint32_t CastLogsProto_CastConnectionInfo_SenderInfo_SDKType_internal_data_[] = {
    196608u, 0u, };
static const char CastLogsProto_CastConnectionInfo_SenderInfo_SDKType_names[] = {
    "SDK_CHROME_EXTENSION"
    "SDK_NATIVE"
    "SDK_UNKNOWN"
};

static const ::google::protobuf::internal::EnumEntry CastLogsProto_CastConnectionInfo_SenderInfo_SDKType_entries[] = {
    {{&CastLogsProto_CastConnectionInfo_SenderInfo_SDKType_names[0], 20}, 2},
    {{&CastLogsProto_CastConnectionInfo_SenderInfo_SDKType_names[20], 10}, 1},
    {{&CastLogsProto_CastConnectionInfo_SenderInfo_SDKType_names[30], 11}, 0},
};

static const int CastLogsProto_CastConnectionInfo_SenderInfo_SDKType_entries_by_number[] = {
    2,  // 0 -> SDK_UNKNOWN
    1,  // 1 -> SDK_NATIVE
    0,  // 2 -> SDK_CHROME_EXTENSION
};

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

const ::std::string& CastLogsProto_CastConnectionInfo_SenderInfo_SDKType_Name(CastLogsProto_CastConnectionInfo_SenderInfo_SDKType value) {
  static const bool kDummy = ::google::protobuf::internal::InitializeEnumStrings(
      CastLogsProto_CastConnectionInfo_SenderInfo_SDKType_entries, CastLogsProto_CastConnectionInfo_SenderInfo_SDKType_entries_by_number, 3,
      CastLogsProto_CastConnectionInfo_SenderInfo_SDKType_strings);
  (void)kDummy;

  int idx = ::google::protobuf::internal::LookUpEnumName(CastLogsProto_CastConnectionInfo_SenderInfo_SDKType_entries,
                                  CastLogsProto_CastConnectionInfo_SenderInfo_SDKType_entries_by_number,
                                  3, value);
  return idx == -1 ? ::google::protobuf::internal::GetEmptyString() : CastLogsProto_CastConnectionInfo_SenderInfo_SDKType_strings[idx].get();
}
PROTOBUF_CONSTINIT const uint32_t CastLogsProto_CastConnectionInfo_SenderInfo_Platform_internal_data_[] = {
    524288u, 0u, };
static const char CastLogsProto_CastConnectionInfo_SenderInfo_Platform_names[] = {
    "PLATFORM_ANDROID"
    "PLATFORM_CAST"
    "PLATFORM_CHROMEOS"
    "PLATFORM_IOS"
    "PLATFORM_LINUX"
    "PLATFORM_OSX"
    "PLATFORM_OTHER"
    "PLATFORM_WINDOWS"
};

static const ::google::protobuf::internal::EnumEntry CastLogsProto_CastConnectionInfo_SenderInfo_Platform_entries[] = {
    {{&CastLogsProto_CastConnectionInfo_SenderInfo_Platform_names[0], 16}, 1},
    {{&CastLogsProto_CastConnectionInfo_SenderInfo_Platform_names[16], 13}, 7},
    {{&CastLogsProto_CastConnectionInfo_SenderInfo_Platform_names[29], 17}, 5},
    {{&CastLogsProto_CastConnectionInfo_SenderInfo_Platform_names[46], 12}, 2},
    {{&CastLogsProto_CastConnectionInfo_SenderInfo_Platform_names[58], 14}, 6},
    {{&CastLogsProto_CastConnectionInfo_SenderInfo_Platform_names[72], 12}, 4},
    {{&CastLogsProto_CastConnectionInfo_SenderInfo_Platform_names[84], 14}, 0},
    {{&CastLogsProto_CastConnectionInfo_SenderInfo_Platform_names[98], 16}, 3},
};

static const int CastLogsProto_CastConnectionInfo_SenderInfo_Platform_entries_by_number[] = {
    6,  // 0 -> PLATFORM_OTHER
    0,  // 1 -> PLATFORM_ANDROID
    3,  // 2 -> PLATFORM_IOS
    7,  // 3 -> PLATFORM_WINDOWS
    5,  // 4 -> PLATFORM_OSX
    2,  // 5 -> PLATFORM_CHROMEOS
    4,  // 6 -> PLATFORM_LINUX
    1,  // 7 -> PLATFORM_CAST
};

bool CastLogsProto_CastConnectionInfo_SenderInfo_Platform_Parse(::absl::string_view name,
                                  CastLogsProto_CastConnectionInfo_SenderInfo_Platform* PROTOBUF_NONNULL value) {
  int int_value;
  bool success = ::google::protobuf::internal::LookUpEnumValue(
      CastLogsProto_CastConnectionInfo_SenderInfo_Platform_entries, 8, name, &int_value);
  if (success) {
    *value = static_cast<CastLogsProto_CastConnectionInfo_SenderInfo_Platform>(int_value);
  }
  return success;
}
static ::google::protobuf::internal::ExplicitlyConstructed<::std::string>
    CastLogsProto_CastConnectionInfo_SenderInfo_Platform_strings[8] = {};

const ::std::string& CastLogsProto_CastConnectionInfo_SenderInfo_Platform_Name(CastLogsProto_CastConnectionInfo_SenderInfo_Platform value) {
  static const bool kDummy = ::google::protobuf::internal::InitializeEnumStrings(
      CastLogsProto_CastConnectionInfo_SenderInfo_Platform_entries, CastLogsProto_CastConnectionInfo_SenderInfo_Platform_entries_by_number, 8,
      CastLogsProto_CastConnectionInfo_SenderInfo_Platform_strings);
  (void)kDummy;

  int idx = ::google::protobuf::internal::LookUpEnumName(CastLogsProto_CastConnectionInfo_SenderInfo_Platform_entries,
                                  CastLogsProto_CastConnectionInfo_SenderInfo_Platform_entries_by_number,
                                  8, value);
  return idx == -1 ? ::google::protobuf::internal::GetEmptyString() : CastLogsProto_CastConnectionInfo_SenderInfo_Platform_strings[idx].get();
}
PROTOBUF_CONSTINIT const uint32_t CastLogsProto_CastConnectionInfo_SenderInfo_ConnectionType_internal_data_[] = {
    262144u, 0u, };
static const char CastLogsProto_CastConnectionInfo_SenderInfo_ConnectionType_names[] = {
    "CONNECTION_TYPE_INTERNAL"
    "CONNECTION_TYPE_LOCAL"
    "CONNECTION_TYPE_RELAY"
    "CONNECTION_TYPE_UNKNOWN"
};

static const ::google::protobuf::internal::EnumEntry CastLogsProto_CastConnectionInfo_SenderInfo_ConnectionType_entries[] = {
    {{&CastLogsProto_CastConnectionInfo_SenderInfo_ConnectionType_names[0], 24}, 3},
    {{&CastLogsProto_CastConnectionInfo_SenderInfo_ConnectionType_names[24], 21}, 1},
    {{&CastLogsProto_CastConnectionInfo_SenderInfo_ConnectionType_names[45], 21}, 2},
    {{&CastLogsProto_CastConnectionInfo_SenderInfo_ConnectionType_names[66], 23}, 0},
};

static const int CastLogsProto_CastConnectionInfo_SenderInfo_ConnectionType_entries_by_number[] = {
    3,  // 0 -> CONNECTION_TYPE_UNKNOWN
    1,  // 1 -> CONNECTION_TYPE_LOCAL
    2,  // 2 -> CONNECTION_TYPE_RELAY
    0,  // 3 -> CONNECTION_TYPE_INTERNAL
};

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

const ::std::string& CastLogsProto_CastConnectionInfo_SenderInfo_ConnectionType_Name(CastLogsProto_CastConnectionInfo_SenderInfo_ConnectionType value) {
  static const bool kDummy = ::google::protobuf::internal::InitializeEnumStrings(
      CastLogsProto_CastConnectionInfo_SenderInfo_ConnectionType_entries, CastLogsProto_CastConnectionInfo_SenderInfo_ConnectionType_entries_by_number, 4,
      CastLogsProto_CastConnectionInfo_SenderInfo_ConnectionType_strings);
  (void)kDummy;

  int idx = ::google::protobuf::internal::LookUpEnumName(CastLogsProto_CastConnectionInfo_SenderInfo_ConnectionType_entries,
                                  CastLogsProto_CastConnectionInfo_SenderInfo_ConnectionType_entries_by_number,
                                  4, value);
  return idx == -1 ? ::google::protobuf::internal::GetEmptyString() : CastLogsProto_CastConnectionInfo_SenderInfo_ConnectionType_strings[idx].get();
}
PROTOBUF_CONSTINIT const uint32_t CastLogsProto_CastConnectionInfo_V2ConnectionType_internal_data_[] = {
    262144u, 0u, };
static const char CastLogsProto_CastConnectionInfo_V2ConnectionType_names[] = {
    "V2_CONNECTION_TYPE_INVISIBLE"
    "V2_CONNECTION_TYPE_STRONG"
    "V2_CONNECTION_TYPE_UNKNOWN"
    "V2_CONNECTION_TYPE_WEAK"
};

static const ::google::protobuf::internal::EnumEntry CastLogsProto_CastConnectionInfo_V2ConnectionType_entries[] = {
    {{&CastLogsProto_CastConnectionInfo_V2ConnectionType_names[0], 28}, 2},
    {{&CastLogsProto_CastConnectionInfo_V2ConnectionType_names[28], 25}, 0},
    {{&CastLogsProto_CastConnectionInfo_V2ConnectionType_names[53], 26}, 3},
    {{&CastLogsProto_CastConnectionInfo_V2ConnectionType_names[79], 23}, 1},
};

static const int CastLogsProto_CastConnectionInfo_V2ConnectionType_entries_by_number[] = {
    1,  // 0 -> V2_CONNECTION_TYPE_STRONG
    3,  // 1 -> V2_CONNECTION_TYPE_WEAK
    0,  // 2 -> V2_CONNECTION_TYPE_INVISIBLE
    2,  // 3 -> V2_CONNECTION_TYPE_UNKNOWN
};

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

const ::std::string& CastLogsProto_CastConnectionInfo_V2ConnectionType_Name(CastLogsProto_CastConnectionInfo_V2ConnectionType value) {
  static const bool kDummy = ::google::protobuf::internal::InitializeEnumStrings(
      CastLogsProto_CastConnectionInfo_V2ConnectionType_entries, CastLogsProto_CastConnectionInfo_V2ConnectionType_entries_by_number, 4,
      CastLogsProto_CastConnectionInfo_V2ConnectionType_strings);
  (void)kDummy;

  int idx = ::google::protobuf::internal::LookUpEnumName(CastLogsProto_CastConnectionInfo_V2ConnectionType_entries,
                                  CastLogsProto_CastConnectionInfo_V2ConnectionType_entries_by_number,
                                  4, value);
  return idx == -1 ? ::google::protobuf::internal::GetEmptyString() : CastLogsProto_CastConnectionInfo_V2ConnectionType_strings[idx].get();
}
PROTOBUF_CONSTINIT const uint32_t CastLogsProto_CastEventProto_AppType_internal_data_[] = {
    262144u, 0u, };
static const char CastLogsProto_CastEventProto_AppType_names[] = {
    "APP_TYPE_ANDROID_TV"
    "APP_TYPE_CAST_WEB"
    "APP_TYPE_NATIVE"
    "APP_TYPE_UNKNOWN"
};

static const ::google::protobuf::internal::EnumEntry CastLogsProto_CastEventProto_AppType_entries[] = {
    {{&CastLogsProto_CastEventProto_AppType_names[0], 19}, 2},
    {{&CastLogsProto_CastEventProto_AppType_names[19], 17}, 1},
    {{&CastLogsProto_CastEventProto_AppType_names[36], 15}, 3},
    {{&CastLogsProto_CastEventProto_AppType_names[51], 16}, 0},
};

static const int CastLogsProto_CastEventProto_AppType_entries_by_number[] = {
    3,  // 0 -> APP_TYPE_UNKNOWN
    1,  // 1 -> APP_TYPE_CAST_WEB
    0,  // 2 -> APP_TYPE_ANDROID_TV
    2,  // 3 -> APP_TYPE_NATIVE
};

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

const ::std::string& CastLogsProto_CastEventProto_AppType_Name(CastLogsProto_CastEventProto_AppType value) {
  static const bool kDummy = ::google::protobuf::internal::InitializeEnumStrings(
      CastLogsProto_CastEventProto_AppType_entries, CastLogsProto_CastEventProto_AppType_entries_by_number, 4,
      CastLogsProto_CastEventProto_AppType_strings);
  (void)kDummy;

  int idx = ::google::protobuf::internal::LookUpEnumName(CastLogsProto_CastEventProto_AppType_entries,
                                  CastLogsProto_CastEventProto_AppType_entries_by_number,
                                  4, value);
  return idx == -1 ? ::google::protobuf::internal::GetEmptyString() : CastLogsProto_CastEventProto_AppType_strings[idx].get();
}
PROTOBUF_CONSTINIT const uint32_t CastLogsProto_CastEventProto_LaunchFrom_internal_data_[] = {
    327680u, 0u, };
static const char CastLogsProto_CastEventProto_LaunchFrom_names[] = {
    "FROM_CAST_V2"
    "FROM_CCS"
    "FROM_DIAL"
    "FROM_LOCAL"
    "FROM_UNKNOWN"
};

static const ::google::protobuf::internal::EnumEntry CastLogsProto_CastEventProto_LaunchFrom_entries[] = {
    {{&CastLogsProto_CastEventProto_LaunchFrom_names[0], 12}, 3},
    {{&CastLogsProto_CastEventProto_LaunchFrom_names[12], 8}, 4},
    {{&CastLogsProto_CastEventProto_LaunchFrom_names[20], 9}, 2},
    {{&CastLogsProto_CastEventProto_LaunchFrom_names[29], 10}, 1},
    {{&CastLogsProto_CastEventProto_LaunchFrom_names[39], 12}, 0},
};

static const int CastLogsProto_CastEventProto_LaunchFrom_entries_by_number[] = {
    4,  // 0 -> FROM_UNKNOWN
    3,  // 1 -> FROM_LOCAL
    2,  // 2 -> FROM_DIAL
    0,  // 3 -> FROM_CAST_V2
    1,  // 4 -> FROM_CCS
};

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

const ::std::string& CastLogsProto_CastEventProto_LaunchFrom_Name(CastLogsProto_CastEventProto_LaunchFrom value) {
  static const bool kDummy = ::google::protobuf::internal::InitializeEnumStrings(
      CastLogsProto_CastEventProto_LaunchFrom_entries, CastLogsProto_CastEventProto_LaunchFrom_entries_by_number, 5,
      CastLogsProto_CastEventProto_LaunchFrom_strings);
  (void)kDummy;

  int idx = ::google::protobuf::internal::LookUpEnumName(CastLogsProto_CastEventProto_LaunchFrom_entries,
                                  CastLogsProto_CastEventProto_LaunchFrom_entries_by_number,
                                  5, value);
  return idx == -1 ? ::google::protobuf::internal::GetEmptyString() : CastLogsProto_CastEventProto_LaunchFrom_strings[idx].get();
}
PROTOBUF_CONSTINIT const uint32_t CastLogsProto_CastEventProto_RuntimeType_internal_data_[] = {
    262144u, 0u, };
static const char CastLogsProto_CastEventProto_RuntimeType_names[] = {
    "RUNTIME_TYPE_CAST_LITE"
    "RUNTIME_TYPE_CAST_WEB"
    "RUNTIME_TYPE_NATIVE"
    "RUNTIME_TYPE_UNKNOWN"
};

static const ::google::protobuf::internal::EnumEntry CastLogsProto_CastEventProto_RuntimeType_entries[] = {
    {{&CastLogsProto_CastEventProto_RuntimeType_names[0], 22}, 2},
    {{&CastLogsProto_CastEventProto_RuntimeType_names[22], 21}, 1},
    {{&CastLogsProto_CastEventProto_RuntimeType_names[43], 19}, 3},
    {{&CastLogsProto_CastEventProto_RuntimeType_names[62], 20}, 0},
};

static const int CastLogsProto_CastEventProto_RuntimeType_entries_by_number[] = {
    3,  // 0 -> RUNTIME_TYPE_UNKNOWN
    1,  // 1 -> RUNTIME_TYPE_CAST_WEB
    0,  // 2 -> RUNTIME_TYPE_CAST_LITE
    2,  // 3 -> RUNTIME_TYPE_NATIVE
};

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

const ::std::string& CastLogsProto_CastEventProto_RuntimeType_Name(CastLogsProto_CastEventProto_RuntimeType value) {
  static const bool kDummy = ::google::protobuf::internal::InitializeEnumStrings(
      CastLogsProto_CastEventProto_RuntimeType_entries, CastLogsProto_CastEventProto_RuntimeType_entries_by_number, 4,
      CastLogsProto_CastEventProto_RuntimeType_strings);
  (void)kDummy;

  int idx = ::google::protobuf::internal::LookUpEnumName(CastLogsProto_CastEventProto_RuntimeType_entries,
                                  CastLogsProto_CastEventProto_RuntimeType_entries_by_number,
                                  4, value);
  return idx == -1 ? ::google::protobuf::internal::GetEmptyString() : CastLogsProto_CastEventProto_RuntimeType_strings[idx].get();
}
PROTOBUF_CONSTINIT const uint32_t CastLogsProto_CastDeviceMutableInfo_RebootType_internal_data_[] = {
    1441792u, 0u, };
static const char CastLogsProto_CastDeviceMutableInfo_RebootType_names[] = {
    "ANOMALY_DETECTION"
    "EXPERIMENT_CHANGE"
    "KERNEL_PANIC"
    "MULTI_SERVICE_BUG"
    "POWER_MANAGER"
    "REBOOT_TYPE_API"
    "REBOOT_TYPE_CRASH_UPLOADER"
    "REBOOT_TYPE_FDR"
    "REBOOT_TYPE_FORCED"
    "REBOOT_TYPE_GRACEFUL_RESTART"
    "REBOOT_TYPE_HW_WATCHDOG"
    "REBOOT_TYPE_NIGHTLY"
    "REBOOT_TYPE_OTA"
    "REBOOT_TYPE_OVERHEAT"
    "REBOOT_TYPE_PROCESS_MANAGER"
    "REBOOT_TYPE_REGENERATE_CLOUD_ID"
    "REBOOT_TYPE_REPEATED_OOM"
    "REBOOT_TYPE_SW_OTHER"
    "REBOOT_TYPE_UNGRACEFUL_RESTART"
    "REBOOT_TYPE_UNKNOWN"
    "REBOOT_TYPE_UTILITY_PROCESS_CRASH"
    "REBOOT_TYPE_WATCHDOG"
};

static const ::google::protobuf::internal::EnumEntry CastLogsProto_CastDeviceMutableInfo_RebootType_entries[] = {
    {{&CastLogsProto_CastDeviceMutableInfo_RebootType_names[0], 17}, 20},
    {{&CastLogsProto_CastDeviceMutableInfo_RebootType_names[17], 17}, 19},
    {{&CastLogsProto_CastDeviceMutableInfo_RebootType_names[34], 12}, 21},
    {{&CastLogsProto_CastDeviceMutableInfo_RebootType_names[46], 17}, 17},
    {{&CastLogsProto_CastDeviceMutableInfo_RebootType_names[63], 13}, 18},
    {{&CastLogsProto_CastDeviceMutableInfo_RebootType_names[76], 15}, 2},
    {{&CastLogsProto_CastDeviceMutableInfo_RebootType_names[91], 26}, 7},
    {{&CastLogsProto_CastDeviceMutableInfo_RebootType_names[117], 15}, 8},
    {{&CastLogsProto_CastDeviceMutableInfo_RebootType_names[132], 18}, 1},
    {{&CastLogsProto_CastDeviceMutableInfo_RebootType_names[150], 28}, 15},
    {{&CastLogsProto_CastDeviceMutableInfo_RebootType_names[178], 23}, 9},
    {{&CastLogsProto_CastDeviceMutableInfo_RebootType_names[201], 19}, 3},
    {{&CastLogsProto_CastDeviceMutableInfo_RebootType_names[220], 15}, 4},
    {{&CastLogsProto_CastDeviceMutableInfo_RebootType_names[235], 20}, 11},
    {{&CastLogsProto_CastDeviceMutableInfo_RebootType_names[255], 27}, 6},
    {{&CastLogsProto_CastDeviceMutableInfo_RebootType_names[282], 31}, 12},
    {{&CastLogsProto_CastDeviceMutableInfo_RebootType_names[313], 24}, 13},
    {{&CastLogsProto_CastDeviceMutableInfo_RebootType_names[337], 20}, 10},
    {{&CastLogsProto_CastDeviceMutableInfo_RebootType_names[357], 30}, 16},
    {{&CastLogsProto_CastDeviceMutableInfo_RebootType_names[387], 19}, 0},
    {{&CastLogsProto_CastDeviceMutableInfo_RebootType_names[406], 33}, 14},
    {{&CastLogsProto_CastDeviceMutableInfo_RebootType_names[439], 20}, 5},
};

static const int CastLogsProto_CastDeviceMutableInfo_RebootType_entries_by_number[] = {
    19,  // 0 -> REBOOT_TYPE_UNKNOWN
    8,  // 1 -> REBOOT_TYPE_FORCED
    5,  // 2 -> REBOOT_TYPE_API
    11,  // 3 -> REBOOT_TYPE_NIGHTLY
    12,  // 4 -> REBOOT_TYPE_OTA
    21,  // 5 -> REBOOT_TYPE_WATCHDOG
    14,  // 6 -> REBOOT_TYPE_PROCESS_MANAGER
    6,  // 7 -> REBOOT_TYPE_CRASH_UPLOADER
    7,  // 8 -> REBOOT_TYPE_FDR
    10,  // 9 -> REBOOT_TYPE_HW_WATCHDOG
    17,  // 10 -> REBOOT_TYPE_SW_OTHER
    13,  // 11 -> REBOOT_TYPE_OVERHEAT
    15,  // 12 -> REBOOT_TYPE_REGENERATE_CLOUD_ID
    16,  // 13 -> REBOOT_TYPE_REPEATED_OOM
    20,  // 14 -> REBOOT_TYPE_UTILITY_PROCESS_CRASH
    9,  // 15 -> REBOOT_TYPE_GRACEFUL_RESTART
    18,  // 16 -> REBOOT_TYPE_UNGRACEFUL_RESTART
    3,  // 17 -> MULTI_SERVICE_BUG
    4,  // 18 -> POWER_MANAGER
    1,  // 19 -> EXPERIMENT_CHANGE
    0,  // 20 -> ANOMALY_DETECTION
    2,  // 21 -> KERNEL_PANIC
};

bool CastLogsProto_CastDeviceMutableInfo_RebootType_Parse(::absl::string_view name,
                                  CastLogsProto_CastDeviceMutableInfo_RebootType* PROTOBUF_NONNULL value) {
  int int_value;
  bool success = ::google::protobuf::internal::LookUpEnumValue(
      CastLogsProto_CastDeviceMutableInfo_RebootType_entries, 22, name, &int_value);
  if (success) {
    *value = static_cast<CastLogsProto_CastDeviceMutableInfo_RebootType>(int_value);
  }
  return success;
}
static ::google::protobuf::internal::ExplicitlyConstructed<::std::string>
    CastLogsProto_CastDeviceMutableInfo_RebootType_strings[22] = {};

const ::std::string& CastLogsProto_CastDeviceMutableInfo_RebootType_Name(CastLogsProto_CastDeviceMutableInfo_RebootType value) {
  static const bool kDummy = ::google::protobuf::internal::InitializeEnumStrings(
      CastLogsProto_CastDeviceMutableInfo_RebootType_entries, CastLogsProto_CastDeviceMutableInfo_RebootType_entries_by_number, 22,
      CastLogsProto_CastDeviceMutableInfo_RebootType_strings);
  (void)kDummy;

  int idx = ::google::protobuf::internal::LookUpEnumName(CastLogsProto_CastDeviceMutableInfo_RebootType_entries,
                                  CastLogsProto_CastDeviceMutableInfo_RebootType_entries_by_number,
                                  22, value);
  return idx == -1 ? ::google::protobuf::internal::GetEmptyString() : CastLogsProto_CastDeviceMutableInfo_RebootType_strings[idx].get();
}
PROTOBUF_CONSTINIT const uint32_t CastLogsProto_CastDeviceMutableInfo_NetifIPVersion_internal_data_[] = {
    262144u, 0u, };
static const char CastLogsProto_CastDeviceMutableInfo_NetifIPVersion_names[] = {
    "IP_DUAL_STACK"
    "IP_UNKNOWN"
    "IP_V4"
    "IP_V6"
};

static const ::google::protobuf::internal::EnumEntry CastLogsProto_CastDeviceMutableInfo_NetifIPVersion_entries[] = {
    {{&CastLogsProto_CastDeviceMutableInfo_NetifIPVersion_names[0], 13}, 3},
    {{&CastLogsProto_CastDeviceMutableInfo_NetifIPVersion_names[13], 10}, 0},
    {{&CastLogsProto_CastDeviceMutableInfo_NetifIPVersion_names[23], 5}, 1},
    {{&CastLogsProto_CastDeviceMutableInfo_NetifIPVersion_names[28], 5}, 2},
};

static const int CastLogsProto_CastDeviceMutableInfo_NetifIPVersion_entries_by_number[] = {
    1,  // 0 -> IP_UNKNOWN
    2,  // 1 -> IP_V4
    3,  // 2 -> IP_V6
    0,  // 3 -> IP_DUAL_STACK
};

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

const ::std::string& CastLogsProto_CastDeviceMutableInfo_NetifIPVersion_Name(CastLogsProto_CastDeviceMutableInfo_NetifIPVersion value) {
  static const bool kDummy = ::google::protobuf::internal::InitializeEnumStrings(
      CastLogsProto_CastDeviceMutableInfo_NetifIPVersion_entries, CastLogsProto_CastDeviceMutableInfo_NetifIPVersion_entries_by_number, 4,
      CastLogsProto_CastDeviceMutableInfo_NetifIPVersion_strings);
  (void)kDummy;

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

CastLogsProto_CastDeviceInfo_HardwareInfo::CastLogsProto_CastDeviceInfo_HardwareInfo(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, CastLogsProto_CastDeviceInfo_HardwareInfo_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:metrics.CastLogsProto.CastDeviceInfo.HardwareInfo)
}
PROTOBUF_NDEBUG_INLINE CastLogsProto_CastDeviceInfo_HardwareInfo::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
    [[maybe_unused]] const ::metrics::CastLogsProto_CastDeviceInfo_HardwareInfo& from_msg)
      : _has_bits_{from._has_bits_},
        _cached_size_{0},
        color_(arena, from.color_),
        mic_(arena, from.mic_),
        memory_(arena, from.memory_),
        nand_(arena, from.nand_),
        mfg_date_(arena, from.mfg_date_),
        build_name_(arena, from.build_name_),
        config_(arena, from.config_),
        emmc_(arena, from.emmc_),
        display_(arena, from.display_),
        amp_(arena, from.amp_),
        board_name_(arena, from.board_name_) {}

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

#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  CastLogsProto_CastDeviceInfo_HardwareInfo* 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:metrics.CastLogsProto.CastDeviceInfo.HardwareInfo)
}
PROTOBUF_NDEBUG_INLINE CastLogsProto_CastDeviceInfo_HardwareInfo::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0},
        color_(arena),
        mic_(arena),
        memory_(arena),
        nand_(arena),
        mfg_date_(arena),
        build_name_(arena),
        config_(arena),
        emmc_(arena),
        display_(arena),
        amp_(arena),
        board_name_(arena) {}

inline void CastLogsProto_CastDeviceInfo_HardwareInfo::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
  new (&_impl_) Impl_(internal_visibility(), arena);
}
CastLogsProto_CastDeviceInfo_HardwareInfo::~CastLogsProto_CastDeviceInfo_HardwareInfo() {
  // @@protoc_insertion_point(destructor:metrics.CastLogsProto.CastDeviceInfo.HardwareInfo)
  SharedDtor(*this);
}
inline void CastLogsProto_CastDeviceInfo_HardwareInfo::SharedDtor(MessageLite& self) {
  CastLogsProto_CastDeviceInfo_HardwareInfo& this_ = static_cast<CastLogsProto_CastDeviceInfo_HardwareInfo&>(self);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    this_.CheckHasBitConsistency();
  }
  this_._internal_metadata_.Delete<::std::string>();
  ABSL_DCHECK(this_.GetArena() == nullptr);
  this_._impl_.color_.Destroy();
  this_._impl_.mic_.Destroy();
  this_._impl_.memory_.Destroy();
  this_._impl_.nand_.Destroy();
  this_._impl_.mfg_date_.Destroy();
  this_._impl_.build_name_.Destroy();
  this_._impl_.config_.Destroy();
  this_._impl_.emmc_.Destroy();
  this_._impl_.display_.Destroy();
  this_._impl_.amp_.Destroy();
  this_._impl_.board_name_.Destroy();
  this_._impl_.~Impl_();
}

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite CastLogsProto_CastDeviceInfo_HardwareInfo_class_data_ =
    CastLogsProto_CastDeviceInfo_HardwareInfo::InternalGenerateClassData_(CastLogsProto_CastDeviceInfo_HardwareInfo_globals_._default);

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

  cached_has_bits = _impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x000000ffU)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _impl_.color_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _impl_.mic_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _impl_.memory_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      _impl_.nand_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      _impl_.mfg_date_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000020U)) {
      _impl_.build_name_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000040U)) {
      _impl_.config_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000080U)) {
      _impl_.emmc_.ClearNonDefaultToEmpty();
    }
  }
  if (BatchCheckHasBit(cached_has_bits, 0x00000700U)) {
    if (CheckHasBit(cached_has_bits, 0x00000100U)) {
      _impl_.display_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000200U)) {
      _impl_.amp_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000400U)) {
      _impl_.board_name_.ClearNonDefaultToEmpty();
    }
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

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

  // string mic = 2;
  if (CheckHasBit(cached_has_bits, 0x00000002U)) {
    const ::std::string& _s = this_._internal_mic();
    target = stream->WriteStringMaybeAliased(2, _s, target);
  }

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

  // string nand = 4;
  if (CheckHasBit(cached_has_bits, 0x00000008U)) {
    const ::std::string& _s = this_._internal_nand();
    target = stream->WriteStringMaybeAliased(4, _s, target);
  }

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

  // string build_name = 6;
  if (CheckHasBit(cached_has_bits, 0x00000020U)) {
    const ::std::string& _s = this_._internal_build_name();
    target = stream->WriteStringMaybeAliased(6, _s, target);
  }

  // string config = 7;
  if (CheckHasBit(cached_has_bits, 0x00000040U)) {
    const ::std::string& _s = this_._internal_config();
    target = stream->WriteStringMaybeAliased(7, _s, target);
  }

  // string emmc = 8;
  if (CheckHasBit(cached_has_bits, 0x00000080U)) {
    const ::std::string& _s = this_._internal_emmc();
    target = stream->WriteStringMaybeAliased(8, _s, target);
  }

  // string display = 9;
  if (CheckHasBit(cached_has_bits, 0x00000100U)) {
    const ::std::string& _s = this_._internal_display();
    target = stream->WriteStringMaybeAliased(9, _s, target);
  }

  // string amp = 10;
  if (CheckHasBit(cached_has_bits, 0x00000200U)) {
    const ::std::string& _s = this_._internal_amp();
    target = stream->WriteStringMaybeAliased(10, _s, target);
  }

  // string board_name = 11;
  if (CheckHasBit(cached_has_bits, 0x00000400U)) {
    const ::std::string& _s = this_._internal_board_name();
    target = stream->WriteStringMaybeAliased(11, _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:metrics.CastLogsProto.CastDeviceInfo.HardwareInfo)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t CastLogsProto_CastDeviceInfo_HardwareInfo::ByteSizeLong(const MessageLite& base) {
  const CastLogsProto_CastDeviceInfo_HardwareInfo& this_ = static_cast<const CastLogsProto_CastDeviceInfo_HardwareInfo&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t CastLogsProto_CastDeviceInfo_HardwareInfo::ByteSizeLong() const {
  const CastLogsProto_CastDeviceInfo_HardwareInfo& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:metrics.CastLogsProto.CastDeviceInfo.HardwareInfo)
  ::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)) {
    // string color = 1;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_color());
    }
    // string mic = 2;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_mic());
    }
    // string memory = 3;
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_memory());
    }
    // string nand = 4;
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_nand());
    }
    // string mfg_date = 5;
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_mfg_date());
    }
    // string build_name = 6;
    if (CheckHasBit(cached_has_bits, 0x00000020U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_build_name());
    }
    // string config = 7;
    if (CheckHasBit(cached_has_bits, 0x00000040U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_config());
    }
    // string emmc = 8;
    if (CheckHasBit(cached_has_bits, 0x00000080U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_emmc());
    }
  }
  if (BatchCheckHasBit(cached_has_bits, 0x00000700U)) {
    // string display = 9;
    if (CheckHasBit(cached_has_bits, 0x00000100U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_display());
    }
    // string amp = 10;
    if (CheckHasBit(cached_has_bits, 0x00000200U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_amp());
    }
    // string board_name = 11;
    if (CheckHasBit(cached_has_bits, 0x00000400U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_board_name());
    }
  }
  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 CastLogsProto_CastDeviceInfo_HardwareInfo::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<CastLogsProto_CastDeviceInfo_HardwareInfo*>(&to_msg);
  auto& from = static_cast<const CastLogsProto_CastDeviceInfo_HardwareInfo&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  // @@protoc_insertion_point(class_specific_merge_from_start:metrics.CastLogsProto.CastDeviceInfo.HardwareInfo)
  ABSL_DCHECK_NE(&from, _this);
  ::uint32_t cached_has_bits = 0;
  (void)cached_has_bits;

  cached_has_bits = from._impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x000000ffU)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _this->_internal_set_color(from._internal_color());
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _this->_internal_set_mic(from._internal_mic());
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _this->_internal_set_memory(from._internal_memory());
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      _this->_internal_set_nand(from._internal_nand());
    }
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      _this->_internal_set_mfg_date(from._internal_mfg_date());
    }
    if (CheckHasBit(cached_has_bits, 0x00000020U)) {
      _this->_internal_set_build_name(from._internal_build_name());
    }
    if (CheckHasBit(cached_has_bits, 0x00000040U)) {
      _this->_internal_set_config(from._internal_config());
    }
    if (CheckHasBit(cached_has_bits, 0x00000080U)) {
      _this->_internal_set_emmc(from._internal_emmc());
    }
  }
  if (BatchCheckHasBit(cached_has_bits, 0x00000700U)) {
    if (CheckHasBit(cached_has_bits, 0x00000100U)) {
      _this->_internal_set_display(from._internal_display());
    }
    if (CheckHasBit(cached_has_bits, 0x00000200U)) {
      _this->_internal_set_amp(from._internal_amp());
    }
    if (CheckHasBit(cached_has_bits, 0x00000400U)) {
      _this->_internal_set_board_name(from._internal_board_name());
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

void CastLogsProto_CastDeviceInfo_HardwareInfo::CopyFrom(const CastLogsProto_CastDeviceInfo_HardwareInfo& from) {
  // @@protoc_insertion_point(class_specific_copy_from_start:metrics.CastLogsProto.CastDeviceInfo.HardwareInfo)
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}


void CastLogsProto_CastDeviceInfo_HardwareInfo::InternalSwap(CastLogsProto_CastDeviceInfo_HardwareInfo* 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_.color_, &other->_impl_.color_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.mic_, &other->_impl_.mic_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.memory_, &other->_impl_.memory_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.nand_, &other->_impl_.nand_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.mfg_date_, &other->_impl_.mfg_date_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.build_name_, &other->_impl_.build_name_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.config_, &other->_impl_.config_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.emmc_, &other->_impl_.emmc_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.display_, &other->_impl_.display_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.amp_, &other->_impl_.amp_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.board_name_, &other->_impl_.board_name_, arena);
}

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

CastLogsProto_CastDeviceInfo::CastLogsProto_CastDeviceInfo(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, CastLogsProto_CastDeviceInfo_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:metrics.CastLogsProto.CastDeviceInfo)
}
PROTOBUF_NDEBUG_INLINE CastLogsProto_CastDeviceInfo::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
    [[maybe_unused]] const ::metrics::CastLogsProto_CastDeviceInfo& from_msg)
      : _has_bits_{from._has_bits_},
        _cached_size_{0},
        hardware_revision_(arena, from.hardware_revision_),
        manufacturer_(arena, from.manufacturer_),
        model_(arena, from.model_),
        serial_number_(arena, from.serial_number_) {}

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

#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  CastLogsProto_CastDeviceInfo* 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_.hardware_info_ = (CheckHasBit(cached_has_bits, 0x00000010U))
                ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.hardware_info_)
                : nullptr;
  ::memcpy(reinterpret_cast<char*>(&_impl_) +
               offsetof(Impl_, type_),
           reinterpret_cast<const char*>(&from._impl_) +
               offsetof(Impl_, type_),
           offsetof(Impl_, device_environment_) -
               offsetof(Impl_, type_) +
               sizeof(Impl_::device_environment_));

  // @@protoc_insertion_point(copy_constructor:metrics.CastLogsProto.CastDeviceInfo)
}
PROTOBUF_NDEBUG_INLINE CastLogsProto_CastDeviceInfo::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0},
        hardware_revision_(arena),
        manufacturer_(arena),
        model_(arena),
        serial_number_(arena) {}

inline void CastLogsProto_CastDeviceInfo::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
  new (&_impl_) Impl_(internal_visibility(), arena);
  ::memset(reinterpret_cast<char*>(&_impl_) +
               offsetof(Impl_, hardware_info_),
           0,
           offsetof(Impl_, device_environment_) -
               offsetof(Impl_, hardware_info_) +
               sizeof(Impl_::device_environment_));
}
CastLogsProto_CastDeviceInfo::~CastLogsProto_CastDeviceInfo() {
  // @@protoc_insertion_point(destructor:metrics.CastLogsProto.CastDeviceInfo)
  SharedDtor(*this);
}
inline void CastLogsProto_CastDeviceInfo::SharedDtor(MessageLite& self) {
  CastLogsProto_CastDeviceInfo& this_ = static_cast<CastLogsProto_CastDeviceInfo&>(self);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    this_.CheckHasBitConsistency();
  }
  this_._internal_metadata_.Delete<::std::string>();
  ABSL_DCHECK(this_.GetArena() == nullptr);
  this_._impl_.hardware_revision_.Destroy();
  this_._impl_.manufacturer_.Destroy();
  this_._impl_.model_.Destroy();
  this_._impl_.serial_number_.Destroy();
  delete this_._impl_.hardware_info_;
  this_._impl_.~Impl_();
}

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite CastLogsProto_CastDeviceInfo_class_data_ =
    CastLogsProto_CastDeviceInfo::InternalGenerateClassData_(CastLogsProto_CastDeviceInfo_globals_._default);

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

  cached_has_bits = _impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x0000001fU)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _impl_.hardware_revision_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _impl_.manufacturer_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _impl_.model_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      _impl_.serial_number_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      ABSL_DCHECK(_impl_.hardware_info_ != nullptr);
      _impl_.hardware_info_->Clear();
    }
  }
  if (BatchCheckHasBit(cached_has_bits, 0x00000060U)) {
    ::memset(&_impl_.type_, 0, static_cast<::size_t>(
        reinterpret_cast<char*>(&_impl_.device_environment_) -
        reinterpret_cast<char*>(&_impl_.type_)) + sizeof(_impl_.device_environment_));
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

  cached_has_bits = this_._impl_._has_bits_[0];
  // .metrics.CastLogsProto.CastDeviceInfo.CastProductType type = 1;
  if (CheckHasBit(cached_has_bits, 0x00000020U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteEnumToArray(
        1, this_._internal_type(), target);
  }

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

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

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

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

  // .metrics.CastLogsProto.CastDeviceInfo.HardwareInfo hardware_info = 6;
  if (CheckHasBit(cached_has_bits, 0x00000010U)) {
    target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
        6, *this_._impl_.hardware_info_, this_._impl_.hardware_info_->GetCachedSize(), target,
        stream);
  }

  // .metrics.CastLogsProto.CastDeviceInfo.DeviceEnvironment device_environment = 7;
  if (CheckHasBit(cached_has_bits, 0x00000040U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteEnumToArray(
        7, this_._internal_device_environment(), 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:metrics.CastLogsProto.CastDeviceInfo)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t CastLogsProto_CastDeviceInfo::ByteSizeLong(const MessageLite& base) {
  const CastLogsProto_CastDeviceInfo& this_ = static_cast<const CastLogsProto_CastDeviceInfo&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t CastLogsProto_CastDeviceInfo::ByteSizeLong() const {
  const CastLogsProto_CastDeviceInfo& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:metrics.CastLogsProto.CastDeviceInfo)
  ::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)) {
    // string hardware_revision = 2;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_hardware_revision());
    }
    // string manufacturer = 3;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_manufacturer());
    }
    // string model = 4;
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_model());
    }
    // string serial_number = 5;
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_serial_number());
    }
    // .metrics.CastLogsProto.CastDeviceInfo.HardwareInfo hardware_info = 6;
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.hardware_info_);
    }
    // .metrics.CastLogsProto.CastDeviceInfo.CastProductType type = 1;
    if (CheckHasBit(cached_has_bits, 0x00000020U)) {
      total_size += 1 +
                    ::_pbi::WireFormatLite::EnumSize(this_._internal_type());
    }
    // .metrics.CastLogsProto.CastDeviceInfo.DeviceEnvironment device_environment = 7;
    if (CheckHasBit(cached_has_bits, 0x00000040U)) {
      total_size += 1 +
                    ::_pbi::WireFormatLite::EnumSize(this_._internal_device_environment());
    }
  }
  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 CastLogsProto_CastDeviceInfo::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<CastLogsProto_CastDeviceInfo*>(&to_msg);
  auto& from = static_cast<const CastLogsProto_CastDeviceInfo&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  ::google::protobuf::Arena* arena = _this->GetArena();
  // @@protoc_insertion_point(class_specific_merge_from_start:metrics.CastLogsProto.CastDeviceInfo)
  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_set_hardware_revision(from._internal_hardware_revision());
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _this->_internal_set_manufacturer(from._internal_manufacturer());
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _this->_internal_set_model(from._internal_model());
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      _this->_internal_set_serial_number(from._internal_serial_number());
    }
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      ABSL_DCHECK(from._impl_.hardware_info_ != nullptr);
      if (_this->_impl_.hardware_info_ == nullptr) {
        _this->_impl_.hardware_info_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.hardware_info_);
      } else {
        _this->_impl_.hardware_info_->MergeFrom(*from._impl_.hardware_info_);
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000020U)) {
      _this->_impl_.type_ = from._impl_.type_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000040U)) {
      _this->_impl_.device_environment_ = from._impl_.device_environment_;
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

void CastLogsProto_CastDeviceInfo::CopyFrom(const CastLogsProto_CastDeviceInfo& from) {
  // @@protoc_insertion_point(class_specific_copy_from_start:metrics.CastLogsProto.CastDeviceInfo)
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}


void CastLogsProto_CastDeviceInfo::InternalSwap(CastLogsProto_CastDeviceInfo* 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_.hardware_revision_, &other->_impl_.hardware_revision_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.manufacturer_, &other->_impl_.manufacturer_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.model_, &other->_impl_.model_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.serial_number_, &other->_impl_.serial_number_, arena);
  ::google::protobuf::internal::memswap<
      PROTOBUF_FIELD_OFFSET(CastLogsProto_CastDeviceInfo, _impl_.device_environment_)
      + sizeof(CastLogsProto_CastDeviceInfo::_impl_.device_environment_)
      - PROTOBUF_FIELD_OFFSET(CastLogsProto_CastDeviceInfo, _impl_.hardware_info_)>(
          reinterpret_cast<char*>(&_impl_.hardware_info_),
          reinterpret_cast<char*>(&other->_impl_.hardware_info_));
}

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

CastLogsProto_CastConnectionInfo_SenderInfo::CastLogsProto_CastConnectionInfo_SenderInfo(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, CastLogsProto_CastConnectionInfo_SenderInfo_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:metrics.CastLogsProto.CastConnectionInfo.SenderInfo)
}
PROTOBUF_NDEBUG_INLINE CastLogsProto_CastConnectionInfo_SenderInfo::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
    [[maybe_unused]] const ::metrics::CastLogsProto_CastConnectionInfo_SenderInfo& from_msg)
      : _has_bits_{from._has_bits_},
        _cached_size_{0},
        version_(arena, from.version_),
        chrome_browser_version_(arena, from.chrome_browser_version_),
        system_version_(arena, from.system_version_),
        model_(arena, from.model_) {}

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

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

  // @@protoc_insertion_point(copy_constructor:metrics.CastLogsProto.CastConnectionInfo.SenderInfo)
}
PROTOBUF_NDEBUG_INLINE CastLogsProto_CastConnectionInfo_SenderInfo::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0},
        version_(arena),
        chrome_browser_version_(arena),
        system_version_(arena),
        model_(arena) {}

inline void CastLogsProto_CastConnectionInfo_SenderInfo::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
  new (&_impl_) Impl_(internal_visibility(), arena);
  ::memset(reinterpret_cast<char*>(&_impl_) +
               offsetof(Impl_, sender_device_id_),
           0,
           offsetof(Impl_, sender_local_ip_fragment_) -
               offsetof(Impl_, sender_device_id_) +
               sizeof(Impl_::sender_local_ip_fragment_));
}
CastLogsProto_CastConnectionInfo_SenderInfo::~CastLogsProto_CastConnectionInfo_SenderInfo() {
  // @@protoc_insertion_point(destructor:metrics.CastLogsProto.CastConnectionInfo.SenderInfo)
  SharedDtor(*this);
}
inline void CastLogsProto_CastConnectionInfo_SenderInfo::SharedDtor(MessageLite& self) {
  CastLogsProto_CastConnectionInfo_SenderInfo& this_ = static_cast<CastLogsProto_CastConnectionInfo_SenderInfo&>(self);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    this_.CheckHasBitConsistency();
  }
  this_._internal_metadata_.Delete<::std::string>();
  ABSL_DCHECK(this_.GetArena() == nullptr);
  this_._impl_.version_.Destroy();
  this_._impl_.chrome_browser_version_.Destroy();
  this_._impl_.system_version_.Destroy();
  this_._impl_.model_.Destroy();
  this_._impl_.~Impl_();
}

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite CastLogsProto_CastConnectionInfo_SenderInfo_class_data_ =
    CastLogsProto_CastConnectionInfo_SenderInfo::InternalGenerateClassData_(CastLogsProto_CastConnectionInfo_SenderInfo_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
CastLogsProto_CastConnectionInfo_SenderInfo::GetClassData() const {
  return CastLogsProto_CastConnectionInfo_SenderInfo_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
CastLogsProto_CastConnectionInfo_SenderInfo::GetClassData() const {
  return CastLogsProto_CastConnectionInfo_SenderInfo_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const CastLogsProto_CastConnectionInfo_SenderInfo::ParseTableT_
    CastLogsProto_CastConnectionInfo_SenderInfo::_table_ =
        CastLogsProto_CastConnectionInfo_SenderInfo::InternalGenerateParseTable_(CastLogsProto_CastConnectionInfo_SenderInfo_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void CastLogsProto_CastConnectionInfo_SenderInfo::Clear() {
// @@protoc_insertion_point(message_clear_start:metrics.CastLogsProto.CastConnectionInfo.SenderInfo)
  ::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_.version_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _impl_.chrome_browser_version_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _impl_.system_version_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      _impl_.model_.ClearNonDefaultToEmpty();
    }
  }
  if (BatchCheckHasBit(cached_has_bits, 0x000000f0U)) {
    ::memset(&_impl_.sender_device_id_, 0, static_cast<::size_t>(
        reinterpret_cast<char*>(&_impl_.transport_connection_type_) -
        reinterpret_cast<char*>(&_impl_.sender_device_id_)) + sizeof(_impl_.transport_connection_type_));
  }
  _impl_.sender_local_ip_fragment_ = 0;
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

  cached_has_bits = this_._impl_._has_bits_[0];
  // fixed64 sender_device_id = 1;
  if (CheckHasBit(cached_has_bits, 0x00000010U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteFixed64ToArray(
        1, this_._internal_sender_device_id(), target);
  }

  // .metrics.CastLogsProto.CastConnectionInfo.SenderInfo.SDKType sdk_type = 2;
  if (CheckHasBit(cached_has_bits, 0x00000020U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteEnumToArray(
        2, this_._internal_sdk_type(), target);
  }

  // string version = 3;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    const ::std::string& _s = this_._internal_version();
    target = stream->WriteStringMaybeAliased(3, _s, target);
  }

  // string chrome_browser_version = 4;
  if (CheckHasBit(cached_has_bits, 0x00000002U)) {
    const ::std::string& _s = this_._internal_chrome_browser_version();
    target = stream->WriteStringMaybeAliased(4, _s, target);
  }

  // .metrics.CastLogsProto.CastConnectionInfo.SenderInfo.Platform platform = 5;
  if (CheckHasBit(cached_has_bits, 0x00000040U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteEnumToArray(
        5, this_._internal_platform(), target);
  }

  // string system_version = 6;
  if (CheckHasBit(cached_has_bits, 0x00000004U)) {
    const ::std::string& _s = this_._internal_system_version();
    target = stream->WriteStringMaybeAliased(6, _s, target);
  }

  // .metrics.CastLogsProto.CastConnectionInfo.SenderInfo.ConnectionType transport_connection_type = 7;
  if (CheckHasBit(cached_has_bits, 0x00000080U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteEnumToArray(
        7, this_._internal_transport_connection_type(), target);
  }

  // string model = 8;
  if (CheckHasBit(cached_has_bits, 0x00000008U)) {
    const ::std::string& _s = this_._internal_model();
    target = stream->WriteStringMaybeAliased(8, _s, target);
  }

  // int32 sender_local_ip_fragment = 9;
  if (CheckHasBit(cached_has_bits, 0x00000100U)) {
    target =
        ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<9>(
            stream, this_._internal_sender_local_ip_fragment(), 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:metrics.CastLogsProto.CastConnectionInfo.SenderInfo)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t CastLogsProto_CastConnectionInfo_SenderInfo::ByteSizeLong(const MessageLite& base) {
  const CastLogsProto_CastConnectionInfo_SenderInfo& this_ = static_cast<const CastLogsProto_CastConnectionInfo_SenderInfo&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t CastLogsProto_CastConnectionInfo_SenderInfo::ByteSizeLong() const {
  const CastLogsProto_CastConnectionInfo_SenderInfo& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:metrics.CastLogsProto.CastConnectionInfo.SenderInfo)
  ::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];
  total_size += static_cast<bool>(0x00000010U & cached_has_bits) * 9;
  if (BatchCheckHasBit(cached_has_bits, 0x000000efU)) {
    // string version = 3;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_version());
    }
    // string chrome_browser_version = 4;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_chrome_browser_version());
    }
    // string system_version = 6;
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_system_version());
    }
    // string model = 8;
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_model());
    }
    // .metrics.CastLogsProto.CastConnectionInfo.SenderInfo.SDKType sdk_type = 2;
    if (CheckHasBit(cached_has_bits, 0x00000020U)) {
      total_size += 1 +
                    ::_pbi::WireFormatLite::EnumSize(this_._internal_sdk_type());
    }
    // .metrics.CastLogsProto.CastConnectionInfo.SenderInfo.Platform platform = 5;
    if (CheckHasBit(cached_has_bits, 0x00000040U)) {
      total_size += 1 +
                    ::_pbi::WireFormatLite::EnumSize(this_._internal_platform());
    }
    // .metrics.CastLogsProto.CastConnectionInfo.SenderInfo.ConnectionType transport_connection_type = 7;
    if (CheckHasBit(cached_has_bits, 0x00000080U)) {
      total_size += 1 +
                    ::_pbi::WireFormatLite::EnumSize(this_._internal_transport_connection_type());
    }
  }
   {
    // int32 sender_local_ip_fragment = 9;
    if (CheckHasBit(cached_has_bits, 0x00000100U)) {
      total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
          this_._internal_sender_local_ip_fragment());
    }
  }
  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 CastLogsProto_CastConnectionInfo_SenderInfo::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<CastLogsProto_CastConnectionInfo_SenderInfo*>(&to_msg);
  auto& from = static_cast<const CastLogsProto_CastConnectionInfo_SenderInfo&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  // @@protoc_insertion_point(class_specific_merge_from_start:metrics.CastLogsProto.CastConnectionInfo.SenderInfo)
  ABSL_DCHECK_NE(&from, _this);
  ::uint32_t cached_has_bits = 0;
  (void)cached_has_bits;

  cached_has_bits = from._impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x000000ffU)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _this->_internal_set_version(from._internal_version());
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _this->_internal_set_chrome_browser_version(from._internal_chrome_browser_version());
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _this->_internal_set_system_version(from._internal_system_version());
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      _this->_internal_set_model(from._internal_model());
    }
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      _this->_impl_.sender_device_id_ = from._impl_.sender_device_id_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000020U)) {
      _this->_impl_.sdk_type_ = from._impl_.sdk_type_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000040U)) {
      _this->_impl_.platform_ = from._impl_.platform_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000080U)) {
      _this->_impl_.transport_connection_type_ = from._impl_.transport_connection_type_;
    }
  }
  if (CheckHasBit(cached_has_bits, 0x00000100U)) {
    _this->_impl_.sender_local_ip_fragment_ = from._impl_.sender_local_ip_fragment_;
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

void CastLogsProto_CastConnectionInfo_SenderInfo::CopyFrom(const CastLogsProto_CastConnectionInfo_SenderInfo& from) {
  // @@protoc_insertion_point(class_specific_copy_from_start:metrics.CastLogsProto.CastConnectionInfo.SenderInfo)
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}


void CastLogsProto_CastConnectionInfo_SenderInfo::InternalSwap(CastLogsProto_CastConnectionInfo_SenderInfo* 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_.version_, &other->_impl_.version_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.chrome_browser_version_, &other->_impl_.chrome_browser_version_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.system_version_, &other->_impl_.system_version_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.model_, &other->_impl_.model_, arena);
  ::google::protobuf::internal::memswap<
      PROTOBUF_FIELD_OFFSET(CastLogsProto_CastConnectionInfo_SenderInfo, _impl_.sender_local_ip_fragment_)
      + sizeof(CastLogsProto_CastConnectionInfo_SenderInfo::_impl_.sender_local_ip_fragment_)
      - PROTOBUF_FIELD_OFFSET(CastLogsProto_CastConnectionInfo_SenderInfo, _impl_.sender_device_id_)>(
          reinterpret_cast<char*>(&_impl_.sender_device_id_),
          reinterpret_cast<char*>(&other->_impl_.sender_device_id_));
}

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

CastLogsProto_CastConnectionInfo::CastLogsProto_CastConnectionInfo(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, CastLogsProto_CastConnectionInfo_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:metrics.CastLogsProto.CastConnectionInfo)
}
PROTOBUF_NDEBUG_INLINE CastLogsProto_CastConnectionInfo::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
    [[maybe_unused]] const ::metrics::CastLogsProto_CastConnectionInfo& from_msg)
      : _has_bits_{from._has_bits_},
        _cached_size_{0} {}

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

#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  CastLogsProto_CastConnectionInfo* 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_.sender_info_ = (CheckHasBit(cached_has_bits, 0x00000001U))
                ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.sender_info_)
                : nullptr;
  ::memcpy(reinterpret_cast<char*>(&_impl_) +
               offsetof(Impl_, transport_connection_id_),
           reinterpret_cast<const char*>(&from._impl_) +
               offsetof(Impl_, transport_connection_id_),
           offsetof(Impl_, v2_connection_type_) -
               offsetof(Impl_, transport_connection_id_) +
               sizeof(Impl_::v2_connection_type_));

  // @@protoc_insertion_point(copy_constructor:metrics.CastLogsProto.CastConnectionInfo)
}
PROTOBUF_NDEBUG_INLINE CastLogsProto_CastConnectionInfo::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0} {}

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

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite CastLogsProto_CastConnectionInfo_class_data_ =
    CastLogsProto_CastConnectionInfo::InternalGenerateClassData_(CastLogsProto_CastConnectionInfo_globals_._default);

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

  cached_has_bits = _impl_._has_bits_[0];
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    ABSL_DCHECK(_impl_.sender_info_ != nullptr);
    _impl_.sender_info_->Clear();
  }
  if (BatchCheckHasBit(cached_has_bits, 0x0000000eU)) {
    ::memset(&_impl_.transport_connection_id_, 0, static_cast<::size_t>(
        reinterpret_cast<char*>(&_impl_.v2_connection_type_) -
        reinterpret_cast<char*>(&_impl_.transport_connection_id_)) + sizeof(_impl_.v2_connection_type_));
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

  cached_has_bits = this_._impl_._has_bits_[0];
  // fixed32 transport_connection_id = 1;
  if (CheckHasBit(cached_has_bits, 0x00000002U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteFixed32ToArray(
        1, this_._internal_transport_connection_id(), target);
  }

  // fixed32 virtual_connection_id = 2;
  if (CheckHasBit(cached_has_bits, 0x00000004U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteFixed32ToArray(
        2, this_._internal_virtual_connection_id(), target);
  }

  // .metrics.CastLogsProto.CastConnectionInfo.SenderInfo sender_info = 3;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
        3, *this_._impl_.sender_info_, this_._impl_.sender_info_->GetCachedSize(), target,
        stream);
  }

  // .metrics.CastLogsProto.CastConnectionInfo.V2ConnectionType v2_connection_type = 4;
  if (CheckHasBit(cached_has_bits, 0x00000008U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteEnumToArray(
        4, this_._internal_v2_connection_type(), 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:metrics.CastLogsProto.CastConnectionInfo)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t CastLogsProto_CastConnectionInfo::ByteSizeLong(const MessageLite& base) {
  const CastLogsProto_CastConnectionInfo& this_ = static_cast<const CastLogsProto_CastConnectionInfo&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t CastLogsProto_CastConnectionInfo::ByteSizeLong() const {
  const CastLogsProto_CastConnectionInfo& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:metrics.CastLogsProto.CastConnectionInfo)
  ::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];
  total_size += ::absl::popcount(0x00000006U & cached_has_bits) * 5;
  if (BatchCheckHasBit(cached_has_bits, 0x00000009U)) {
    // .metrics.CastLogsProto.CastConnectionInfo.SenderInfo sender_info = 3;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.sender_info_);
    }
    // .metrics.CastLogsProto.CastConnectionInfo.V2ConnectionType v2_connection_type = 4;
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      total_size += 1 +
                    ::_pbi::WireFormatLite::EnumSize(this_._internal_v2_connection_type());
    }
  }
  if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
    total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
  }
  this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
  return total_size;
}

void CastLogsProto_CastConnectionInfo::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<CastLogsProto_CastConnectionInfo*>(&to_msg);
  auto& from = static_cast<const CastLogsProto_CastConnectionInfo&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  ::google::protobuf::Arena* arena = _this->GetArena();
  // @@protoc_insertion_point(class_specific_merge_from_start:metrics.CastLogsProto.CastConnectionInfo)
  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)) {
      ABSL_DCHECK(from._impl_.sender_info_ != nullptr);
      if (_this->_impl_.sender_info_ == nullptr) {
        _this->_impl_.sender_info_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.sender_info_);
      } else {
        _this->_impl_.sender_info_->MergeFrom(*from._impl_.sender_info_);
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _this->_impl_.transport_connection_id_ = from._impl_.transport_connection_id_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _this->_impl_.virtual_connection_id_ = from._impl_.virtual_connection_id_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      _this->_impl_.v2_connection_type_ = from._impl_.v2_connection_type_;
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

void CastLogsProto_CastConnectionInfo::CopyFrom(const CastLogsProto_CastConnectionInfo& from) {
  // @@protoc_insertion_point(class_specific_copy_from_start:metrics.CastLogsProto.CastConnectionInfo)
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}


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

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

CastLogsProto_CastEventProto_Metadata::CastLogsProto_CastEventProto_Metadata(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, CastLogsProto_CastEventProto_Metadata_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:metrics.CastLogsProto.CastEventProto.Metadata)
}
CastLogsProto_CastEventProto_Metadata::CastLogsProto_CastEventProto_Metadata(
    ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const CastLogsProto_CastEventProto_Metadata& from)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, CastLogsProto_CastEventProto_Metadata_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 CastLogsProto_CastEventProto_Metadata::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0} {}

inline void CastLogsProto_CastEventProto_Metadata::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
  new (&_impl_) Impl_(internal_visibility(), arena);
  ::memset(reinterpret_cast<char*>(&_impl_) +
               offsetof(Impl_, name_hash_),
           0,
           offsetof(Impl_, value_) -
               offsetof(Impl_, name_hash_) +
               sizeof(Impl_::value_));
}
CastLogsProto_CastEventProto_Metadata::~CastLogsProto_CastEventProto_Metadata() {
  // @@protoc_insertion_point(destructor:metrics.CastLogsProto.CastEventProto.Metadata)
  SharedDtor(*this);
}
inline void CastLogsProto_CastEventProto_Metadata::SharedDtor(MessageLite& self) {
  CastLogsProto_CastEventProto_Metadata& this_ = static_cast<CastLogsProto_CastEventProto_Metadata&>(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 CastLogsProto_CastEventProto_Metadata_class_data_ =
    CastLogsProto_CastEventProto_Metadata::InternalGenerateClassData_(CastLogsProto_CastEventProto_Metadata_globals_._default);

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

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

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

  cached_has_bits = this_._impl_._has_bits_[0];
  // fixed64 name_hash = 1;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteFixed64ToArray(
        1, this_._internal_name_hash(), target);
  }

  // int64 value = 2;
  if (CheckHasBit(cached_has_bits, 0x00000002U)) {
    target =
        ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<2>(
            stream, this_._internal_value(), 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:metrics.CastLogsProto.CastEventProto.Metadata)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t CastLogsProto_CastEventProto_Metadata::ByteSizeLong(const MessageLite& base) {
  const CastLogsProto_CastEventProto_Metadata& this_ = static_cast<const CastLogsProto_CastEventProto_Metadata&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t CastLogsProto_CastEventProto_Metadata::ByteSizeLong() const {
  const CastLogsProto_CastEventProto_Metadata& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:metrics.CastLogsProto.CastEventProto.Metadata)
  ::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];
  total_size += static_cast<bool>(0x00000001U & cached_has_bits) * 9;
   {
    // int64 value = 2;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
          this_._internal_value());
    }
  }
  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 CastLogsProto_CastEventProto_Metadata::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<CastLogsProto_CastEventProto_Metadata*>(&to_msg);
  auto& from = static_cast<const CastLogsProto_CastEventProto_Metadata&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  // @@protoc_insertion_point(class_specific_merge_from_start:metrics.CastLogsProto.CastEventProto.Metadata)
  ABSL_DCHECK_NE(&from, _this);
  ::uint32_t cached_has_bits = 0;
  (void)cached_has_bits;

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

void CastLogsProto_CastEventProto_Metadata::CopyFrom(const CastLogsProto_CastEventProto_Metadata& from) {
  // @@protoc_insertion_point(class_specific_copy_from_start:metrics.CastLogsProto.CastEventProto.Metadata)
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}


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

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

CastLogsProto_CastEventProto::CastLogsProto_CastEventProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, CastLogsProto_CastEventProto_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:metrics.CastLogsProto.CastEventProto)
}
PROTOBUF_NDEBUG_INLINE CastLogsProto_CastEventProto::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
    [[maybe_unused]] const ::metrics::CastLogsProto_CastEventProto& from_msg)
      : _has_bits_{from._has_bits_},
        _cached_size_{0},
        metadata_ {
          visibility, ::_pbi::InternalMetadataOffset::Build<
              ::metrics::CastLogsProto_CastEventProto,
              PROTOBUF_FIELD_OFFSET(::metrics::CastLogsProto_CastEventProto, _impl_.metadata_)>()
          , from.metadata_
        }
        ,
        feature_vector_ {
          visibility, ::_pbi::InternalMetadataOffset::Build<
              ::metrics::CastLogsProto_CastEventProto,
              PROTOBUF_FIELD_OFFSET(::metrics::CastLogsProto_CastEventProto, _impl_.feature_vector_)>()
          , from.feature_vector_
        }
        ,
        event_id_list_ {
          visibility, ::_pbi::InternalMetadataOffset::Build<
              ::metrics::CastLogsProto_CastEventProto,
              PROTOBUF_FIELD_OFFSET(::metrics::CastLogsProto_CastEventProto, _impl_.event_id_list_)>()
          , from.event_id_list_
        }
        ,
        conversation_key_(arena, from.conversation_key_),
        event_id_(arena, from.event_id_),
        aogh_request_id_(arena, from.aogh_request_id_),
        timezone_id_(arena, from.timezone_id_),
        ui_version_(arena, from.ui_version_),
        aogh_agent_id_(arena, from.aogh_agent_id_),
        selinux_audit_detail_(arena, from.selinux_audit_detail_),
        hotword_model_id_(arena, from.hotword_model_id_),
        aogh_standard_agent_id_(arena, from.aogh_standard_agent_id_),
        cast_bridge_event_metadata_(arena, from.cast_bridge_event_metadata_) {}

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

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

  // @@protoc_insertion_point(copy_constructor:metrics.CastLogsProto.CastEventProto)
}
PROTOBUF_NDEBUG_INLINE CastLogsProto_CastEventProto::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0},
        metadata_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::metrics::CastLogsProto_CastEventProto,
            PROTOBUF_FIELD_OFFSET(::metrics::CastLogsProto_CastEventProto, _impl_.metadata_)>()
         }
        ,
        feature_vector_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::metrics::CastLogsProto_CastEventProto,
            PROTOBUF_FIELD_OFFSET(::metrics::CastLogsProto_CastEventProto, _impl_.feature_vector_)>()
         }
        ,
        event_id_list_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::metrics::CastLogsProto_CastEventProto,
            PROTOBUF_FIELD_OFFSET(::metrics::CastLogsProto_CastEventProto, _impl_.event_id_list_)>()
         }
        ,
        conversation_key_(arena),
        event_id_(arena),
        aogh_request_id_(arena),
        timezone_id_(arena),
        ui_version_(arena),
        aogh_agent_id_(arena),
        selinux_audit_detail_(arena),
        hotword_model_id_(arena),
        aogh_standard_agent_id_(arena),
        cast_bridge_event_metadata_(arena) {}

inline void CastLogsProto_CastEventProto::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
  new (&_impl_) Impl_(internal_visibility(), arena);
  ::memset(reinterpret_cast<char*>(&_impl_) +
               offsetof(Impl_, name_hash_),
           0,
           offsetof(Impl_, app_type_) -
               offsetof(Impl_, name_hash_) +
               sizeof(Impl_::app_type_));
}
CastLogsProto_CastEventProto::~CastLogsProto_CastEventProto() {
  // @@protoc_insertion_point(destructor:metrics.CastLogsProto.CastEventProto)
  SharedDtor(*this);
}
inline void CastLogsProto_CastEventProto::SharedDtor(MessageLite& self) {
  CastLogsProto_CastEventProto& this_ = static_cast<CastLogsProto_CastEventProto&>(self);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    this_.CheckHasBitConsistency();
  }
  this_._internal_metadata_.Delete<::std::string>();
  ABSL_DCHECK(this_.GetArena() == nullptr);
  this_._impl_.conversation_key_.Destroy();
  this_._impl_.event_id_.Destroy();
  this_._impl_.aogh_request_id_.Destroy();
  this_._impl_.timezone_id_.Destroy();
  this_._impl_.ui_version_.Destroy();
  this_._impl_.aogh_agent_id_.Destroy();
  this_._impl_.selinux_audit_detail_.Destroy();
  this_._impl_.hotword_model_id_.Destroy();
  this_._impl_.aogh_standard_agent_id_.Destroy();
  this_._impl_.cast_bridge_event_metadata_.Destroy();
  this_._impl_.~Impl_();
}

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite CastLogsProto_CastEventProto_class_data_ =
    CastLogsProto_CastEventProto::InternalGenerateClassData_(CastLogsProto_CastEventProto_globals_._default);

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

  cached_has_bits = _impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x000000ffU)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _impl_.metadata_.Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _impl_.feature_vector_.Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _impl_.event_id_list_.Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      _impl_.conversation_key_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      _impl_.event_id_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000020U)) {
      _impl_.aogh_request_id_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000040U)) {
      _impl_.timezone_id_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000080U)) {
      _impl_.ui_version_.ClearNonDefaultToEmpty();
    }
  }
  if (BatchCheckHasBit(cached_has_bits, 0x00001f00U)) {
    if (CheckHasBit(cached_has_bits, 0x00000100U)) {
      _impl_.aogh_agent_id_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000200U)) {
      _impl_.selinux_audit_detail_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000400U)) {
      _impl_.hotword_model_id_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000800U)) {
      _impl_.aogh_standard_agent_id_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00001000U)) {
      _impl_.cast_bridge_event_metadata_.ClearNonDefaultToEmpty();
    }
  }
  if (BatchCheckHasBit(cached_has_bits, 0x0000e000U)) {
    ::memset(&_impl_.name_hash_, 0, static_cast<::size_t>(
        reinterpret_cast<char*>(&_impl_.application_session_id_) -
        reinterpret_cast<char*>(&_impl_.name_hash_)) + sizeof(_impl_.application_session_id_));
  }
  if (BatchCheckHasBit(cached_has_bits, 0x00ff0000U)) {
    ::memset(&_impl_.app_id_, 0, static_cast<::size_t>(
        reinterpret_cast<char*>(&_impl_.group_uuid_) -
        reinterpret_cast<char*>(&_impl_.app_id_)) + sizeof(_impl_.group_uuid_));
  }
  if (BatchCheckHasBit(cached_has_bits, 0x3f000000U)) {
    ::memset(&_impl_.aogh_local_device_id_, 0, static_cast<::size_t>(
        reinterpret_cast<char*>(&_impl_.app_type_) -
        reinterpret_cast<char*>(&_impl_.aogh_local_device_id_)) + sizeof(_impl_.app_type_));
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

  cached_has_bits = this_._impl_._has_bits_[0];
  // fixed64 name_hash = 1;
  if (CheckHasBit(cached_has_bits, 0x00002000U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteFixed64ToArray(
        1, this_._internal_name_hash(), target);
  }

  // int64 time_msec = 2;
  if (CheckHasBit(cached_has_bits, 0x00004000U)) {
    target =
        ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<2>(
            stream, this_._internal_time_msec(), target);
  }

  // fixed32 app_id = 3;
  if (CheckHasBit(cached_has_bits, 0x00010000U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteFixed32ToArray(
        3, this_._internal_app_id(), target);
  }

  // fixed64 application_session_id = 4;
  if (CheckHasBit(cached_has_bits, 0x00008000U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteFixed64ToArray(
        4, this_._internal_application_session_id(), target);
  }

  // fixed64 cast_receiver_version = 5;
  if (CheckHasBit(cached_has_bits, 0x00040000U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteFixed64ToArray(
        5, this_._internal_cast_receiver_version(), target);
  }

  // fixed32 transport_connection_id = 6;
  if (CheckHasBit(cached_has_bits, 0x00020000U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteFixed32ToArray(
        6, this_._internal_transport_connection_id(), target);
  }

  // fixed32 virtual_connection_id = 7;
  if (CheckHasBit(cached_has_bits, 0x00200000U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteFixed32ToArray(
        7, this_._internal_virtual_connection_id(), target);
  }

  // int64 value = 8;
  if (CheckHasBit(cached_has_bits, 0x00080000U)) {
    target =
        ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<8>(
            stream, this_._internal_value(), target);
  }

  // fixed64 cast_mpl_version = 9;
  if (CheckHasBit(cached_has_bits, 0x00100000U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteFixed64ToArray(
        9, this_._internal_cast_mpl_version(), target);
  }

  // fixed64 group_uuid = 10;
  if (CheckHasBit(cached_has_bits, 0x00800000U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteFixed64ToArray(
        10, this_._internal_group_uuid(), target);
  }

  // string conversation_key = 11;
  if (CheckHasBit(cached_has_bits, 0x00000008U)) {
    const ::std::string& _s = this_._internal_conversation_key();
    target = stream->WriteStringMaybeAliased(11, _s, target);
  }

  // fixed32 request_id = 12;
  if (CheckHasBit(cached_has_bits, 0x00400000U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteFixed32ToArray(
        12, this_._internal_request_id(), target);
  }

  // string event_id = 13;
  if (CheckHasBit(cached_has_bits, 0x00000010U)) {
    const ::std::string& _s = this_._internal_event_id();
    target = stream->WriteStringMaybeAliased(13, _s, target);
  }

  // repeated .metrics.CastLogsProto.CastEventProto.Metadata metadata = 14;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    for (unsigned i = 0, n = static_cast<unsigned>(
                             this_._internal_metadata_size());
         i < n; i++) {
      const auto& repfield = this_._internal_metadata().Get(i);
      target =
          ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
              14, repfield, repfield.GetCachedSize(),
              target, stream);
    }
  }

  // repeated float feature_vector = 15;
  if (CheckHasBit(cached_has_bits, 0x00000002U)) {
    if (this_._internal_feature_vector_size() > 0) {
      target = stream->WriteFixedPacked(15, this_._internal_feature_vector(), target);
    }
  }

  // string aogh_request_id = 16;
  if (CheckHasBit(cached_has_bits, 0x00000020U)) {
    const ::std::string& _s = this_._internal_aogh_request_id();
    target = stream->WriteStringMaybeAliased(16, _s, target);
  }

  // string timezone_id = 17;
  if (CheckHasBit(cached_has_bits, 0x00000040U)) {
    const ::std::string& _s = this_._internal_timezone_id();
    target = stream->WriteStringMaybeAliased(17, _s, target);
  }

  // int64 aogh_local_device_id = 18;
  if (CheckHasBit(cached_has_bits, 0x01000000U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteInt64ToArray(
        18, this_._internal_aogh_local_device_id(), target);
  }

  // fixed32 remote_app_id = 19;
  if (CheckHasBit(cached_has_bits, 0x02000000U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteFixed32ToArray(
        19, this_._internal_remote_app_id(), target);
  }

  // string ui_version = 20;
  if (CheckHasBit(cached_has_bits, 0x00000080U)) {
    const ::std::string& _s = this_._internal_ui_version();
    target = stream->WriteStringMaybeAliased(20, _s, target);
  }

  // string aogh_agent_id = 21;
  if (CheckHasBit(cached_has_bits, 0x00000100U)) {
    const ::std::string& _s = this_._internal_aogh_agent_id();
    target = stream->WriteStringMaybeAliased(21, _s, target);
  }

  // string selinux_audit_detail = 22;
  if (CheckHasBit(cached_has_bits, 0x00000200U)) {
    const ::std::string& _s = this_._internal_selinux_audit_detail();
    target = stream->WriteStringMaybeAliased(22, _s, target);
  }

  // repeated string event_id_list = 23;
  if (CheckHasBit(cached_has_bits, 0x00000004U)) {
    for (int i = 0, n = this_._internal_event_id_list_size(); i < n; ++i) {
      const auto& s = this_._internal_event_id_list().Get(i);
      target = stream->WriteString(23, s, target);
    }
  }

  // fixed64 duo_core_version = 24;
  if (CheckHasBit(cached_has_bits, 0x08000000U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteFixed64ToArray(
        24, this_._internal_duo_core_version(), target);
  }

  // string hotword_model_id = 25;
  if (CheckHasBit(cached_has_bits, 0x00000400U)) {
    const ::std::string& _s = this_._internal_hotword_model_id();
    target = stream->WriteStringMaybeAliased(25, _s, target);
  }

  // .metrics.CastLogsProto.CastEventProto.LaunchFrom launch_from = 26;
  if (CheckHasBit(cached_has_bits, 0x04000000U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteEnumToArray(
        26, this_._internal_launch_from(), target);
  }

  // .metrics.CastLogsProto.CastEventProto.RuntimeType runtime_type = 27;
  if (CheckHasBit(cached_has_bits, 0x10000000U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteEnumToArray(
        27, this_._internal_runtime_type(), target);
  }

  // string aogh_standard_agent_id = 28;
  if (CheckHasBit(cached_has_bits, 0x00000800U)) {
    const ::std::string& _s = this_._internal_aogh_standard_agent_id();
    target = stream->WriteStringMaybeAliased(28, _s, target);
  }

  // bytes cast_bridge_event_metadata = 29;
  if (CheckHasBit(cached_has_bits, 0x00001000U)) {
    const ::std::string& _s = this_._internal_cast_bridge_event_metadata();
    target = stream->WriteBytesMaybeAliased(29, _s, target);
  }

  // .metrics.CastLogsProto.CastEventProto.AppType app_type = 30;
  if (CheckHasBit(cached_has_bits, 0x20000000U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteEnumToArray(
        30, this_._internal_app_type(), 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:metrics.CastLogsProto.CastEventProto)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t CastLogsProto_CastEventProto::ByteSizeLong(const MessageLite& base) {
  const CastLogsProto_CastEventProto& this_ = static_cast<const CastLogsProto_CastEventProto&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t CastLogsProto_CastEventProto::ByteSizeLong() const {
  const CastLogsProto_CastEventProto& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:metrics.CastLogsProto.CastEventProto)
  ::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];
  total_size += static_cast<bool>(0x08000000U & cached_has_bits) * 10;
  total_size += ::absl::popcount(0x0094a000U & cached_has_bits) * 9;
  total_size += static_cast<bool>(0x02000000U & cached_has_bits) * 6;
  total_size += ::absl::popcount(0x00630000U & cached_has_bits) * 5;
  if (BatchCheckHasBit(cached_has_bits, 0x000000ffU)) {
    // repeated .metrics.CastLogsProto.CastEventProto.Metadata metadata = 14;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1UL * this_._internal_metadata_size();
      for (const auto& msg : this_._internal_metadata()) {
        total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
      }
    }
    // repeated float feature_vector = 15;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      ::size_t data_size = ::size_t{4} *
          ::_pbi::FromIntSize(this_._internal_feature_vector_size());
      ::size_t tag_size = data_size == 0
          ? 0
          : 1 + ::_pbi::WireFormatLite::Int32Size(
                              static_cast<::int32_t>(data_size));
      total_size += tag_size + data_size;
    }
    // repeated string event_id_list = 23;
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      total_size +=
          2 * ::google::protobuf::internal::FromIntSize(this_._internal_event_id_list().size());
      for (int i = 0, n = this_._internal_event_id_list().size(); i < n; ++i) {
        total_size += ::google::protobuf::internal::WireFormatLite::StringSize(
            this_._internal_event_id_list().Get(i));
      }
    }
    // string conversation_key = 11;
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_conversation_key());
    }
    // string event_id = 13;
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_event_id());
    }
    // string aogh_request_id = 16;
    if (CheckHasBit(cached_has_bits, 0x00000020U)) {
      total_size += 2 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_aogh_request_id());
    }
    // string timezone_id = 17;
    if (CheckHasBit(cached_has_bits, 0x00000040U)) {
      total_size += 2 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_timezone_id());
    }
    // string ui_version = 20;
    if (CheckHasBit(cached_has_bits, 0x00000080U)) {
      total_size += 2 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_ui_version());
    }
  }
  if (BatchCheckHasBit(cached_has_bits, 0x00005f00U)) {
    // string aogh_agent_id = 21;
    if (CheckHasBit(cached_has_bits, 0x00000100U)) {
      total_size += 2 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_aogh_agent_id());
    }
    // string selinux_audit_detail = 22;
    if (CheckHasBit(cached_has_bits, 0x00000200U)) {
      total_size += 2 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_selinux_audit_detail());
    }
    // string hotword_model_id = 25;
    if (CheckHasBit(cached_has_bits, 0x00000400U)) {
      total_size += 2 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_hotword_model_id());
    }
    // string aogh_standard_agent_id = 28;
    if (CheckHasBit(cached_has_bits, 0x00000800U)) {
      total_size += 2 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_aogh_standard_agent_id());
    }
    // bytes cast_bridge_event_metadata = 29;
    if (CheckHasBit(cached_has_bits, 0x00001000U)) {
      total_size += 2 + ::google::protobuf::internal::WireFormatLite::BytesSize(
                                      this_._internal_cast_bridge_event_metadata());
    }
    // int64 time_msec = 2;
    if (CheckHasBit(cached_has_bits, 0x00004000U)) {
      total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
          this_._internal_time_msec());
    }
  }
   {
    // int64 value = 8;
    if (CheckHasBit(cached_has_bits, 0x00080000U)) {
      total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
          this_._internal_value());
    }
  }
  if (BatchCheckHasBit(cached_has_bits, 0x35000000U)) {
    // int64 aogh_local_device_id = 18;
    if (CheckHasBit(cached_has_bits, 0x01000000U)) {
      total_size += 2 + ::_pbi::WireFormatLite::Int64Size(
                                      this_._internal_aogh_local_device_id());
    }
    // .metrics.CastLogsProto.CastEventProto.LaunchFrom launch_from = 26;
    if (CheckHasBit(cached_has_bits, 0x04000000U)) {
      total_size += 2 +
                    ::_pbi::WireFormatLite::EnumSize(this_._internal_launch_from());
    }
    // .metrics.CastLogsProto.CastEventProto.RuntimeType runtime_type = 27;
    if (CheckHasBit(cached_has_bits, 0x10000000U)) {
      total_size += 2 +
                    ::_pbi::WireFormatLite::EnumSize(this_._internal_runtime_type());
    }
    // .metrics.CastLogsProto.CastEventProto.AppType app_type = 30;
    if (CheckHasBit(cached_has_bits, 0x20000000U)) {
      total_size += 2 +
                    ::_pbi::WireFormatLite::EnumSize(this_._internal_app_type());
    }
  }
  if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
    total_size += this_._internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString).size();
  }
  this_._impl_._cached_size_.Set(::_pbi::ToCachedSize(total_size));
  return total_size;
}

void CastLogsProto_CastEventProto::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<CastLogsProto_CastEventProto*>(&to_msg);
  auto& from = static_cast<const CastLogsProto_CastEventProto&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  ::google::protobuf::Arena* arena = _this->GetArena();
  // @@protoc_insertion_point(class_specific_merge_from_start:metrics.CastLogsProto.CastEventProto)
  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_metadata()->InternalMergeFromWithArena(
          ::google::protobuf::MessageLite::internal_visibility(), arena,
          from._internal_metadata());
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _this->_internal_mutable_feature_vector()->MergeFrom(from._internal_feature_vector());
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _this->_internal_mutable_event_id_list()->InternalMergeFromWithArena(
          ::google::protobuf::MessageLite::internal_visibility(), arena,
          from._internal_event_id_list());
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      _this->_internal_set_conversation_key(from._internal_conversation_key());
    }
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      _this->_internal_set_event_id(from._internal_event_id());
    }
    if (CheckHasBit(cached_has_bits, 0x00000020U)) {
      _this->_internal_set_aogh_request_id(from._internal_aogh_request_id());
    }
    if (CheckHasBit(cached_has_bits, 0x00000040U)) {
      _this->_internal_set_timezone_id(from._internal_timezone_id());
    }
    if (CheckHasBit(cached_has_bits, 0x00000080U)) {
      _this->_internal_set_ui_version(from._internal_ui_version());
    }
  }
  if (BatchCheckHasBit(cached_has_bits, 0x0000ff00U)) {
    if (CheckHasBit(cached_has_bits, 0x00000100U)) {
      _this->_internal_set_aogh_agent_id(from._internal_aogh_agent_id());
    }
    if (CheckHasBit(cached_has_bits, 0x00000200U)) {
      _this->_internal_set_selinux_audit_detail(from._internal_selinux_audit_detail());
    }
    if (CheckHasBit(cached_has_bits, 0x00000400U)) {
      _this->_internal_set_hotword_model_id(from._internal_hotword_model_id());
    }
    if (CheckHasBit(cached_has_bits, 0x00000800U)) {
      _this->_internal_set_aogh_standard_agent_id(from._internal_aogh_standard_agent_id());
    }
    if (CheckHasBit(cached_has_bits, 0x00001000U)) {
      _this->_internal_set_cast_bridge_event_metadata(from._internal_cast_bridge_event_metadata());
    }
    if (CheckHasBit(cached_has_bits, 0x00002000U)) {
      _this->_impl_.name_hash_ = from._impl_.name_hash_;
    }
    if (CheckHasBit(cached_has_bits, 0x00004000U)) {
      _this->_impl_.time_msec_ = from._impl_.time_msec_;
    }
    if (CheckHasBit(cached_has_bits, 0x00008000U)) {
      _this->_impl_.application_session_id_ = from._impl_.application_session_id_;
    }
  }
  if (BatchCheckHasBit(cached_has_bits, 0x00ff0000U)) {
    if (CheckHasBit(cached_has_bits, 0x00010000U)) {
      _this->_impl_.app_id_ = from._impl_.app_id_;
    }
    if (CheckHasBit(cached_has_bits, 0x00020000U)) {
      _this->_impl_.transport_connection_id_ = from._impl_.transport_connection_id_;
    }
    if (CheckHasBit(cached_has_bits, 0x00040000U)) {
      _this->_impl_.cast_receiver_version_ = from._impl_.cast_receiver_version_;
    }
    if (CheckHasBit(cached_has_bits, 0x00080000U)) {
      _this->_impl_.value_ = from._impl_.value_;
    }
    if (CheckHasBit(cached_has_bits, 0x00100000U)) {
      _this->_impl_.cast_mpl_version_ = from._impl_.cast_mpl_version_;
    }
    if (CheckHasBit(cached_has_bits, 0x00200000U)) {
      _this->_impl_.virtual_connection_id_ = from._impl_.virtual_connection_id_;
    }
    if (CheckHasBit(cached_has_bits, 0x00400000U)) {
      _this->_impl_.request_id_ = from._impl_.request_id_;
    }
    if (CheckHasBit(cached_has_bits, 0x00800000U)) {
      _this->_impl_.group_uuid_ = from._impl_.group_uuid_;
    }
  }
  if (BatchCheckHasBit(cached_has_bits, 0x3f000000U)) {
    if (CheckHasBit(cached_has_bits, 0x01000000U)) {
      _this->_impl_.aogh_local_device_id_ = from._impl_.aogh_local_device_id_;
    }
    if (CheckHasBit(cached_has_bits, 0x02000000U)) {
      _this->_impl_.remote_app_id_ = from._impl_.remote_app_id_;
    }
    if (CheckHasBit(cached_has_bits, 0x04000000U)) {
      _this->_impl_.launch_from_ = from._impl_.launch_from_;
    }
    if (CheckHasBit(cached_has_bits, 0x08000000U)) {
      _this->_impl_.duo_core_version_ = from._impl_.duo_core_version_;
    }
    if (CheckHasBit(cached_has_bits, 0x10000000U)) {
      _this->_impl_.runtime_type_ = from._impl_.runtime_type_;
    }
    if (CheckHasBit(cached_has_bits, 0x20000000U)) {
      _this->_impl_.app_type_ = from._impl_.app_type_;
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

void CastLogsProto_CastEventProto::CopyFrom(const CastLogsProto_CastEventProto& from) {
  // @@protoc_insertion_point(class_specific_copy_from_start:metrics.CastLogsProto.CastEventProto)
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}


void CastLogsProto_CastEventProto::InternalSwap(CastLogsProto_CastEventProto* 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_.metadata_.InternalSwap(&other->_impl_.metadata_);
  _impl_.feature_vector_.InternalSwap(&other->_impl_.feature_vector_);
  _impl_.event_id_list_.InternalSwap(&other->_impl_.event_id_list_);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.conversation_key_, &other->_impl_.conversation_key_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.event_id_, &other->_impl_.event_id_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.aogh_request_id_, &other->_impl_.aogh_request_id_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.timezone_id_, &other->_impl_.timezone_id_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.ui_version_, &other->_impl_.ui_version_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.aogh_agent_id_, &other->_impl_.aogh_agent_id_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.selinux_audit_detail_, &other->_impl_.selinux_audit_detail_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.hotword_model_id_, &other->_impl_.hotword_model_id_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.aogh_standard_agent_id_, &other->_impl_.aogh_standard_agent_id_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.cast_bridge_event_metadata_, &other->_impl_.cast_bridge_event_metadata_, arena);
  ::google::protobuf::internal::memswap<
      PROTOBUF_FIELD_OFFSET(CastLogsProto_CastEventProto, _impl_.app_type_)
      + sizeof(CastLogsProto_CastEventProto::_impl_.app_type_)
      - PROTOBUF_FIELD_OFFSET(CastLogsProto_CastEventProto, _impl_.name_hash_)>(
          reinterpret_cast<char*>(&_impl_.name_hash_),
          reinterpret_cast<char*>(&other->_impl_.name_hash_));
}

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

CastLogsProto_CastDeviceMutableInfo::CastLogsProto_CastDeviceMutableInfo(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, CastLogsProto_CastDeviceMutableInfo_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:metrics.CastLogsProto.CastDeviceMutableInfo)
}
PROTOBUF_NDEBUG_INLINE CastLogsProto_CastDeviceMutableInfo::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
    [[maybe_unused]] const ::metrics::CastLogsProto_CastDeviceMutableInfo& from_msg)
      : _has_bits_{from._has_bits_},
        _cached_size_{0},
        backdrop_app_device_id_(arena, from.backdrop_app_device_id_),
        timezone_id_(arena, from.timezone_id_),
        latest_ui_version_(arena, from.latest_ui_version_),
        google_wifi_station_shmac_(arena, from.google_wifi_station_shmac_),
        installed_manifest_platform_version_(arena, from.installed_manifest_platform_version_),
        system_bundle_version_(arena, from.system_bundle_version_) {}

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

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

  // @@protoc_insertion_point(copy_constructor:metrics.CastLogsProto.CastDeviceMutableInfo)
}
PROTOBUF_NDEBUG_INLINE CastLogsProto_CastDeviceMutableInfo::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0},
        backdrop_app_device_id_(arena),
        timezone_id_(arena),
        latest_ui_version_(arena),
        google_wifi_station_shmac_(arena),
        installed_manifest_platform_version_(arena),
        system_bundle_version_(arena) {}

inline void CastLogsProto_CastDeviceMutableInfo::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
  new (&_impl_) Impl_(internal_visibility(), arena);
  ::memset(reinterpret_cast<char*>(&_impl_) +
               offsetof(Impl_, system_build_number_),
           0,
           offsetof(Impl_, installed_manifest_version_) -
               offsetof(Impl_, system_build_number_) +
               sizeof(Impl_::installed_manifest_version_));
}
CastLogsProto_CastDeviceMutableInfo::~CastLogsProto_CastDeviceMutableInfo() {
  // @@protoc_insertion_point(destructor:metrics.CastLogsProto.CastDeviceMutableInfo)
  SharedDtor(*this);
}
inline void CastLogsProto_CastDeviceMutableInfo::SharedDtor(MessageLite& self) {
  CastLogsProto_CastDeviceMutableInfo& this_ = static_cast<CastLogsProto_CastDeviceMutableInfo&>(self);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    this_.CheckHasBitConsistency();
  }
  this_._internal_metadata_.Delete<::std::string>();
  ABSL_DCHECK(this_.GetArena() == nullptr);
  this_._impl_.backdrop_app_device_id_.Destroy();
  this_._impl_.timezone_id_.Destroy();
  this_._impl_.latest_ui_version_.Destroy();
  this_._impl_.google_wifi_station_shmac_.Destroy();
  this_._impl_.installed_manifest_platform_version_.Destroy();
  this_._impl_.system_bundle_version_.Destroy();
  this_._impl_.~Impl_();
}

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite CastLogsProto_CastDeviceMutableInfo_class_data_ =
    CastLogsProto_CastDeviceMutableInfo::InternalGenerateClassData_(CastLogsProto_CastDeviceMutableInfo_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
CastLogsProto_CastDeviceMutableInfo::GetClassData() const {
  return CastLogsProto_CastDeviceMutableInfo_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
CastLogsProto_CastDeviceMutableInfo::GetClassData() const {
  return CastLogsProto_CastDeviceMutableInfo_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const CastLogsProto_CastDeviceMutableInfo::ParseTableT_
    CastLogsProto_CastDeviceMutableInfo::_table_ =
        CastLogsProto_CastDeviceMutableInfo::InternalGenerateParseTable_(CastLogsProto_CastDeviceMutableInfo_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void CastLogsProto_CastDeviceMutableInfo::Clear() {
// @@protoc_insertion_point(message_clear_start:metrics.CastLogsProto.CastDeviceMutableInfo)
  ::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, 0x0000003fU)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _impl_.backdrop_app_device_id_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _impl_.timezone_id_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _impl_.latest_ui_version_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      _impl_.google_wifi_station_shmac_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      _impl_.installed_manifest_platform_version_.ClearNonDefaultToEmpty();
    }
    if (CheckHasBit(cached_has_bits, 0x00000020U)) {
      _impl_.system_bundle_version_.ClearNonDefaultToEmpty();
    }
  }
  if (BatchCheckHasBit(cached_has_bits, 0x000000c0U)) {
    ::memset(&_impl_.system_build_number_, 0, static_cast<::size_t>(
        reinterpret_cast<char*>(&_impl_.last_reboot_type_) -
        reinterpret_cast<char*>(&_impl_.system_build_number_)) + sizeof(_impl_.last_reboot_type_));
  }
  if (BatchCheckHasBit(cached_has_bits, 0x00000f00U)) {
    ::memset(&_impl_.release_version_, 0, static_cast<::size_t>(
        reinterpret_cast<char*>(&_impl_.installed_manifest_version_) -
        reinterpret_cast<char*>(&_impl_.release_version_)) + sizeof(_impl_.installed_manifest_version_));
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

  cached_has_bits = this_._impl_._has_bits_[0];
  // .metrics.CastLogsProto.CastDeviceMutableInfo.RebootType last_reboot_type = 1;
  if (CheckHasBit(cached_has_bits, 0x00000080U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteEnumToArray(
        1, this_._internal_last_reboot_type(), target);
  }

  // fixed64 system_build_number = 2;
  if (CheckHasBit(cached_has_bits, 0x00000040U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteFixed64ToArray(
        2, this_._internal_system_build_number(), target);
  }

  // string backdrop_app_device_id = 3;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    const ::std::string& _s = this_._internal_backdrop_app_device_id();
    target = stream->WriteStringMaybeAliased(3, _s, target);
  }

  // fixed32 release_version = 4;
  if (CheckHasBit(cached_has_bits, 0x00000100U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteFixed32ToArray(
        4, this_._internal_release_version(), target);
  }

  // .metrics.CastLogsProto.CastDeviceMutableInfo.NetifIPVersion netif_ip_version = 5;
  if (CheckHasBit(cached_has_bits, 0x00000200U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteEnumToArray(
        5, this_._internal_netif_ip_version(), target);
  }

  // bool ip_dual_stack_supported = 6;
  if (CheckHasBit(cached_has_bits, 0x00000400U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteBoolToArray(
        6, this_._internal_ip_dual_stack_supported(), target);
  }

  // string timezone_id = 7;
  if (CheckHasBit(cached_has_bits, 0x00000002U)) {
    const ::std::string& _s = this_._internal_timezone_id();
    target = stream->WriteStringMaybeAliased(7, _s, target);
  }

  // string latest_ui_version = 8;
  if (CheckHasBit(cached_has_bits, 0x00000004U)) {
    const ::std::string& _s = this_._internal_latest_ui_version();
    target = stream->WriteStringMaybeAliased(8, _s, target);
  }

  // string google_wifi_station_shmac = 9;
  if (CheckHasBit(cached_has_bits, 0x00000008U)) {
    const ::std::string& _s = this_._internal_google_wifi_station_shmac();
    target = stream->WriteStringMaybeAliased(9, _s, target);
  }

  // string installed_manifest_platform_version = 10;
  if (CheckHasBit(cached_has_bits, 0x00000010U)) {
    const ::std::string& _s = this_._internal_installed_manifest_platform_version();
    target = stream->WriteStringMaybeAliased(10, _s, target);
  }

  // uint32 installed_manifest_version = 11;
  if (CheckHasBit(cached_has_bits, 0x00000800U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
        11, this_._internal_installed_manifest_version(), target);
  }

  // string system_bundle_version = 12;
  if (CheckHasBit(cached_has_bits, 0x00000020U)) {
    const ::std::string& _s = this_._internal_system_bundle_version();
    target = stream->WriteStringMaybeAliased(12, _s, target);
  }

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

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t CastLogsProto_CastDeviceMutableInfo::ByteSizeLong(const MessageLite& base) {
  const CastLogsProto_CastDeviceMutableInfo& this_ = static_cast<const CastLogsProto_CastDeviceMutableInfo&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t CastLogsProto_CastDeviceMutableInfo::ByteSizeLong() const {
  const CastLogsProto_CastDeviceMutableInfo& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:metrics.CastLogsProto.CastDeviceMutableInfo)
  ::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];
  total_size += static_cast<bool>(0x00000040U & cached_has_bits) * 9;
  total_size += static_cast<bool>(0x00000100U & cached_has_bits) * 5;
  total_size += static_cast<bool>(0x00000400U & cached_has_bits) * 2;
  if (BatchCheckHasBit(cached_has_bits, 0x000000bfU)) {
    // string backdrop_app_device_id = 3;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_backdrop_app_device_id());
    }
    // string timezone_id = 7;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_timezone_id());
    }
    // string latest_ui_version = 8;
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_latest_ui_version());
    }
    // string google_wifi_station_shmac = 9;
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_google_wifi_station_shmac());
    }
    // string installed_manifest_platform_version = 10;
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_installed_manifest_platform_version());
    }
    // string system_bundle_version = 12;
    if (CheckHasBit(cached_has_bits, 0x00000020U)) {
      total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
                                      this_._internal_system_bundle_version());
    }
    // .metrics.CastLogsProto.CastDeviceMutableInfo.RebootType last_reboot_type = 1;
    if (CheckHasBit(cached_has_bits, 0x00000080U)) {
      total_size += 1 +
                    ::_pbi::WireFormatLite::EnumSize(this_._internal_last_reboot_type());
    }
  }
  if (BatchCheckHasBit(cached_has_bits, 0x00000a00U)) {
    // .metrics.CastLogsProto.CastDeviceMutableInfo.NetifIPVersion netif_ip_version = 5;
    if (CheckHasBit(cached_has_bits, 0x00000200U)) {
      total_size += 1 +
                    ::_pbi::WireFormatLite::EnumSize(this_._internal_netif_ip_version());
    }
    // uint32 installed_manifest_version = 11;
    if (CheckHasBit(cached_has_bits, 0x00000800U)) {
      total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
          this_._internal_installed_manifest_version());
    }
  }
  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 CastLogsProto_CastDeviceMutableInfo::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<CastLogsProto_CastDeviceMutableInfo*>(&to_msg);
  auto& from = static_cast<const CastLogsProto_CastDeviceMutableInfo&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  // @@protoc_insertion_point(class_specific_merge_from_start:metrics.CastLogsProto.CastDeviceMutableInfo)
  ABSL_DCHECK_NE(&from, _this);
  ::uint32_t cached_has_bits = 0;
  (void)cached_has_bits;

  cached_has_bits = from._impl_._has_bits_[0];
  if (BatchCheckHasBit(cached_has_bits, 0x000000ffU)) {
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      _this->_internal_set_backdrop_app_device_id(from._internal_backdrop_app_device_id());
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _this->_internal_set_timezone_id(from._internal_timezone_id());
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      _this->_internal_set_latest_ui_version(from._internal_latest_ui_version());
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      _this->_internal_set_google_wifi_station_shmac(from._internal_google_wifi_station_shmac());
    }
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      _this->_internal_set_installed_manifest_platform_version(from._internal_installed_manifest_platform_version());
    }
    if (CheckHasBit(cached_has_bits, 0x00000020U)) {
      _this->_internal_set_system_bundle_version(from._internal_system_bundle_version());
    }
    if (CheckHasBit(cached_has_bits, 0x00000040U)) {
      _this->_impl_.system_build_number_ = from._impl_.system_build_number_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000080U)) {
      _this->_impl_.last_reboot_type_ = from._impl_.last_reboot_type_;
    }
  }
  if (BatchCheckHasBit(cached_has_bits, 0x00000f00U)) {
    if (CheckHasBit(cached_has_bits, 0x00000100U)) {
      _this->_impl_.release_version_ = from._impl_.release_version_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000200U)) {
      _this->_impl_.netif_ip_version_ = from._impl_.netif_ip_version_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000400U)) {
      _this->_impl_.ip_dual_stack_supported_ = from._impl_.ip_dual_stack_supported_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000800U)) {
      _this->_impl_.installed_manifest_version_ = from._impl_.installed_manifest_version_;
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

void CastLogsProto_CastDeviceMutableInfo::CopyFrom(const CastLogsProto_CastDeviceMutableInfo& from) {
  // @@protoc_insertion_point(class_specific_copy_from_start:metrics.CastLogsProto.CastDeviceMutableInfo)
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}


void CastLogsProto_CastDeviceMutableInfo::InternalSwap(CastLogsProto_CastDeviceMutableInfo* 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_.backdrop_app_device_id_, &other->_impl_.backdrop_app_device_id_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.timezone_id_, &other->_impl_.timezone_id_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.latest_ui_version_, &other->_impl_.latest_ui_version_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.google_wifi_station_shmac_, &other->_impl_.google_wifi_station_shmac_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.installed_manifest_platform_version_, &other->_impl_.installed_manifest_platform_version_, arena);
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.system_bundle_version_, &other->_impl_.system_bundle_version_, arena);
  ::google::protobuf::internal::memswap<
      PROTOBUF_FIELD_OFFSET(CastLogsProto_CastDeviceMutableInfo, _impl_.installed_manifest_version_)
      + sizeof(CastLogsProto_CastDeviceMutableInfo::_impl_.installed_manifest_version_)
      - PROTOBUF_FIELD_OFFSET(CastLogsProto_CastDeviceMutableInfo, _impl_.system_build_number_)>(
          reinterpret_cast<char*>(&_impl_.system_build_number_),
          reinterpret_cast<char*>(&other->_impl_.system_build_number_));
}

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

CastLogsProto::CastLogsProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, CastLogsProto_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:metrics.CastLogsProto)
}
PROTOBUF_NDEBUG_INLINE CastLogsProto::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
    [[maybe_unused]] const ::metrics::CastLogsProto& from_msg)
      : _has_bits_{from._has_bits_},
        _cached_size_{0},
        cast_connection_info_ {
          visibility, ::_pbi::InternalMetadataOffset::Build<
              ::metrics::CastLogsProto,
              PROTOBUF_FIELD_OFFSET(::metrics::CastLogsProto, _impl_.cast_connection_info_)>()
          , from.cast_connection_info_
        }
        ,
        cast_event_ {
          visibility, ::_pbi::InternalMetadataOffset::Build<
              ::metrics::CastLogsProto,
              PROTOBUF_FIELD_OFFSET(::metrics::CastLogsProto, _impl_.cast_event_)>()
          , from.cast_event_
        }
     {}

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

#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  CastLogsProto* 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_.cast_device_info_ = (CheckHasBit(cached_has_bits, 0x00000004U))
                ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.cast_device_info_)
                : nullptr;
  _impl_.cast_device_mutable_info_ = (CheckHasBit(cached_has_bits, 0x00000008U))
                ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.cast_device_mutable_info_)
                : nullptr;
  ::memcpy(reinterpret_cast<char*>(&_impl_) +
               offsetof(Impl_, receiver_metrics_id_),
           reinterpret_cast<const char*>(&from._impl_) +
               offsetof(Impl_, receiver_metrics_id_),
           offsetof(Impl_, ephemeral_id_) -
               offsetof(Impl_, receiver_metrics_id_) +
               sizeof(Impl_::ephemeral_id_));

  // @@protoc_insertion_point(copy_constructor:metrics.CastLogsProto)
}
PROTOBUF_NDEBUG_INLINE CastLogsProto::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0},
        cast_connection_info_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::metrics::CastLogsProto,
            PROTOBUF_FIELD_OFFSET(::metrics::CastLogsProto, _impl_.cast_connection_info_)>()
         }
        ,
        cast_event_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::metrics::CastLogsProto,
            PROTOBUF_FIELD_OFFSET(::metrics::CastLogsProto, _impl_.cast_event_)>()
         }
     {}

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

#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite CastLogsProto_class_data_ =
    CastLogsProto::InternalGenerateClassData_(CastLogsProto_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
CastLogsProto::GetClassData() const {
  return CastLogsProto_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
CastLogsProto::GetClassData() const {
  return CastLogsProto_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const CastLogsProto::ParseTableT_
    CastLogsProto::_table_ =
        CastLogsProto::InternalGenerateParseTable_(CastLogsProto_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void CastLogsProto::Clear() {
// @@protoc_insertion_point(message_clear_start:metrics.CastLogsProto)
  ::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_.cast_connection_info_.Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _impl_.cast_event_.Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      ABSL_DCHECK(_impl_.cast_device_info_ != nullptr);
      _impl_.cast_device_info_->Clear();
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      ABSL_DCHECK(_impl_.cast_device_mutable_info_ != nullptr);
      _impl_.cast_device_mutable_info_->Clear();
    }
  }
  if (BatchCheckHasBit(cached_has_bits, 0x000000f0U)) {
    ::memset(&_impl_.receiver_metrics_id_, 0, static_cast<::size_t>(
        reinterpret_cast<char*>(&_impl_.ephemeral_id_) -
        reinterpret_cast<char*>(&_impl_.receiver_metrics_id_)) + sizeof(_impl_.ephemeral_id_));
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

  cached_has_bits = this_._impl_._has_bits_[0];
  // .metrics.CastLogsProto.CastDeviceInfo cast_device_info = 1;
  if (CheckHasBit(cached_has_bits, 0x00000004U)) {
    target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
        1, *this_._impl_.cast_device_info_, this_._impl_.cast_device_info_->GetCachedSize(), target,
        stream);
  }

  // repeated .metrics.CastLogsProto.CastConnectionInfo cast_connection_info = 2;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    for (unsigned i = 0, n = static_cast<unsigned>(
                             this_._internal_cast_connection_info_size());
         i < n; i++) {
      const auto& repfield = this_._internal_cast_connection_info().Get(i);
      target =
          ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
              2, repfield, repfield.GetCachedSize(),
              target, stream);
    }
  }

  // repeated .metrics.CastLogsProto.CastEventProto cast_event = 3;
  if (CheckHasBit(cached_has_bits, 0x00000002U)) {
    for (unsigned i = 0, n = static_cast<unsigned>(
                             this_._internal_cast_event_size());
         i < n; i++) {
      const auto& repfield = this_._internal_cast_event().Get(i);
      target =
          ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
              3, repfield, repfield.GetCachedSize(),
              target, stream);
    }
  }

  // fixed32 virtual_release_track = 4;
  if (CheckHasBit(cached_has_bits, 0x00000020U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteFixed32ToArray(
        4, this_._internal_virtual_release_track(), target);
  }

  // .metrics.CastLogsProto.CastDeviceMutableInfo cast_device_mutable_info = 5;
  if (CheckHasBit(cached_has_bits, 0x00000008U)) {
    target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
        5, *this_._impl_.cast_device_mutable_info_, this_._impl_.cast_device_mutable_info_->GetCachedSize(), target,
        stream);
  }

  // fixed64 receiver_metrics_id = 6;
  if (CheckHasBit(cached_has_bits, 0x00000010U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteFixed64ToArray(
        6, this_._internal_receiver_metrics_id(), target);
  }

  // uint64 ephemeral_id = 7;
  if (CheckHasBit(cached_has_bits, 0x00000080U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
        7, this_._internal_ephemeral_id(), target);
  }

  // fixed32 source_virtual_release_track = 8;
  if (CheckHasBit(cached_has_bits, 0x00000040U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteFixed32ToArray(
        8, this_._internal_source_virtual_release_track(), 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:metrics.CastLogsProto)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t CastLogsProto::ByteSizeLong(const MessageLite& base) {
  const CastLogsProto& this_ = static_cast<const CastLogsProto&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t CastLogsProto::ByteSizeLong() const {
  const CastLogsProto& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:metrics.CastLogsProto)
  ::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];
  total_size += static_cast<bool>(0x00000010U & cached_has_bits) * 9;
  total_size += ::absl::popcount(0x00000060U & cached_has_bits) * 5;
  if (BatchCheckHasBit(cached_has_bits, 0x0000008fU)) {
    // repeated .metrics.CastLogsProto.CastConnectionInfo cast_connection_info = 2;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1UL * this_._internal_cast_connection_info_size();
      for (const auto& msg : this_._internal_cast_connection_info()) {
        total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
      }
    }
    // repeated .metrics.CastLogsProto.CastEventProto cast_event = 3;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += 1UL * this_._internal_cast_event_size();
      for (const auto& msg : this_._internal_cast_event()) {
        total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
      }
    }
    // .metrics.CastLogsProto.CastDeviceInfo cast_device_info = 1;
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.cast_device_info_);
    }
    // .metrics.CastLogsProto.CastDeviceMutableInfo cast_device_mutable_info = 5;
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.cast_device_mutable_info_);
    }
    // uint64 ephemeral_id = 7;
    if (CheckHasBit(cached_has_bits, 0x00000080U)) {
      total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
          this_._internal_ephemeral_id());
    }
  }
  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 CastLogsProto::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<CastLogsProto*>(&to_msg);
  auto& from = static_cast<const CastLogsProto&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  ::google::protobuf::Arena* arena = _this->GetArena();
  // @@protoc_insertion_point(class_specific_merge_from_start:metrics.CastLogsProto)
  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_cast_connection_info()->InternalMergeFromWithArena(
          ::google::protobuf::MessageLite::internal_visibility(), arena,
          from._internal_cast_connection_info());
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _this->_internal_mutable_cast_event()->InternalMergeFromWithArena(
          ::google::protobuf::MessageLite::internal_visibility(), arena,
          from._internal_cast_event());
    }
    if (CheckHasBit(cached_has_bits, 0x00000004U)) {
      ABSL_DCHECK(from._impl_.cast_device_info_ != nullptr);
      if (_this->_impl_.cast_device_info_ == nullptr) {
        _this->_impl_.cast_device_info_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.cast_device_info_);
      } else {
        _this->_impl_.cast_device_info_->MergeFrom(*from._impl_.cast_device_info_);
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000008U)) {
      ABSL_DCHECK(from._impl_.cast_device_mutable_info_ != nullptr);
      if (_this->_impl_.cast_device_mutable_info_ == nullptr) {
        _this->_impl_.cast_device_mutable_info_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.cast_device_mutable_info_);
      } else {
        _this->_impl_.cast_device_mutable_info_->MergeFrom(*from._impl_.cast_device_mutable_info_);
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000010U)) {
      _this->_impl_.receiver_metrics_id_ = from._impl_.receiver_metrics_id_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000020U)) {
      _this->_impl_.virtual_release_track_ = from._impl_.virtual_release_track_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000040U)) {
      _this->_impl_.source_virtual_release_track_ = from._impl_.source_virtual_release_track_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000080U)) {
      _this->_impl_.ephemeral_id_ = from._impl_.ephemeral_id_;
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


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

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