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

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

constexpr ChromeSpecificPhaseLatenciesMetadata_Phase_Timestamp::ParseTableT_ ChromeSpecificPhaseLatenciesMetadata_Phase_Timestamp::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(ChromeSpecificPhaseLatenciesMetadata_Phase_Timestamp, _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<::lens::proto::lens_latencies_metadata::ChromeSpecificPhaseLatenciesMetadata_Phase_Timestamp>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      // optional int32 nanos = 2;
      {::_pbi::TcParser::FastV32S1,
       {16, 1, 0,
        PROTOBUF_FIELD_OFFSET(ChromeSpecificPhaseLatenciesMetadata_Phase_Timestamp, _impl_.nanos_)}},
      // optional int64 seconds = 1;
      {::_pbi::TcParser::FastV64S1,
       {8, 0, 0,
        PROTOBUF_FIELD_OFFSET(ChromeSpecificPhaseLatenciesMetadata_Phase_Timestamp, _impl_.seconds_)}},
    }}, {{
      65535, 65535
    }}, {{
      // optional int64 seconds = 1;
      {PROTOBUF_FIELD_OFFSET(ChromeSpecificPhaseLatenciesMetadata_Phase_Timestamp, _impl_.seconds_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
      // optional int32 nanos = 2;
      {PROTOBUF_FIELD_OFFSET(ChromeSpecificPhaseLatenciesMetadata_Phase_Timestamp, _impl_.nanos_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
    }},
    // no aux_entries
    {{
    }},
  };
}


inline constexpr ChromeSpecificPhaseLatenciesMetadata_Phase_Timestamp::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        seconds_{::int64_t{0}},
        nanos_{0} {}

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

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

constexpr ChromeSpecificPhaseLatenciesMetadata_Phase_ImageEncodeData::ParseTableT_ ChromeSpecificPhaseLatenciesMetadata_Phase_ImageEncodeData::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(ChromeSpecificPhaseLatenciesMetadata_Phase_ImageEncodeData, _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
      1,  // num_aux_entries
      offsetof(ParseTableT_, aux_entries),
      class_data,
      nullptr,  // post_loop_handler
      ::_pbi::TcParser::GenericFallbackLite,  // fallback
      #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
      ::_pbi::TcParser::GetTable<::lens::proto::lens_latencies_metadata::ChromeSpecificPhaseLatenciesMetadata_Phase_ImageEncodeData>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      // optional int64 encoded_image_size_bytes = 2;
      {::_pbi::TcParser::FastV64S1,
       {16, 0, 0,
        PROTOBUF_FIELD_OFFSET(ChromeSpecificPhaseLatenciesMetadata_Phase_ImageEncodeData, _impl_.encoded_image_size_bytes_)}},
      // optional .lens.proto.lens_latencies_metadata.ChromeSpecificPhaseLatenciesMetadata.ImageType original_image_type = 1;
      {::_pbi::TcParser::FastEr0S1,
       {8, 1, 3,
        PROTOBUF_FIELD_OFFSET(ChromeSpecificPhaseLatenciesMetadata_Phase_ImageEncodeData, _impl_.original_image_type_)}},
    }}, {{
      65535, 65535
    }}, {{
      // optional .lens.proto.lens_latencies_metadata.ChromeSpecificPhaseLatenciesMetadata.ImageType original_image_type = 1;
      {PROTOBUF_FIELD_OFFSET(ChromeSpecificPhaseLatenciesMetadata_Phase_ImageEncodeData, _impl_.original_image_type_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kEnumRange)},
      // optional int64 encoded_image_size_bytes = 2;
      {PROTOBUF_FIELD_OFFSET(ChromeSpecificPhaseLatenciesMetadata_Phase_ImageEncodeData, _impl_.encoded_image_size_bytes_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
    }},
    {{
        {0, 3},
    }},
    {{
    }},
  };
}


inline constexpr ChromeSpecificPhaseLatenciesMetadata_Phase_ImageEncodeData::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        encoded_image_size_bytes_{::int64_t{0}},
        original_image_type_{static_cast< ::lens::proto::lens_latencies_metadata::ChromeSpecificPhaseLatenciesMetadata_ImageType >(0)} {}

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

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

constexpr ChromeSpecificPhaseLatenciesMetadata_Phase_ImageDownscaleData::ParseTableT_ ChromeSpecificPhaseLatenciesMetadata_Phase_ImageDownscaleData::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(ChromeSpecificPhaseLatenciesMetadata_Phase_ImageDownscaleData, _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<::lens::proto::lens_latencies_metadata::ChromeSpecificPhaseLatenciesMetadata_Phase_ImageDownscaleData>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      // optional int64 downscaled_image_byte_size = 2;
      {::_pbi::TcParser::FastV64S1,
       {16, 1, 0,
        PROTOBUF_FIELD_OFFSET(ChromeSpecificPhaseLatenciesMetadata_Phase_ImageDownscaleData, _impl_.downscaled_image_byte_size_)}},
      // optional int64 original_image_size = 1;
      {::_pbi::TcParser::FastV64S1,
       {8, 0, 0,
        PROTOBUF_FIELD_OFFSET(ChromeSpecificPhaseLatenciesMetadata_Phase_ImageDownscaleData, _impl_.original_image_size_)}},
    }}, {{
      65535, 65535
    }}, {{
      // optional int64 original_image_size = 1;
      {PROTOBUF_FIELD_OFFSET(ChromeSpecificPhaseLatenciesMetadata_Phase_ImageDownscaleData, _impl_.original_image_size_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
      // optional int64 downscaled_image_byte_size = 2;
      {PROTOBUF_FIELD_OFFSET(ChromeSpecificPhaseLatenciesMetadata_Phase_ImageDownscaleData, _impl_.downscaled_image_byte_size_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
    }},
    // no aux_entries
    {{
    }},
  };
}


inline constexpr ChromeSpecificPhaseLatenciesMetadata_Phase_ImageDownscaleData::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        original_image_size_{::int64_t{0}},
        downscaled_image_byte_size_{::int64_t{0}} {}

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

PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PROTOBUF_MESSAGE_GLOBALS_CONST ChromeSpecificPhaseLatenciesMetadata_Phase_ImageDownscaleDataGlobalsTypeInternal ChromeSpecificPhaseLatenciesMetadata_Phase_ImageDownscaleData_globals_
        PROTOBUF_MESSAGE_GLOBALS_SECTION(.data.rel.ro);
#if defined(PROTOBUF_CUSTOM_VTABLE)
namespace {
const ::_pbi::ClassData* ChromeSpecificPhaseLatenciesMetadata_Phase_ImageDownscaleData_get_class_data() {
#ifdef PROTOBUF_MESSAGE_GLOBALS
  return ChromeSpecificPhaseLatenciesMetadata_Phase_ImageDownscaleData_globals_.GetClassData();
#else
  return ChromeSpecificPhaseLatenciesMetadata_Phase_ImageDownscaleData_class_data_.base();
#endif  // PROTOBUF_MESSAGE_GLOBALS
}
}  // namespace
#endif  // PROTOBUF_CUSTOM_VTABLE
class ChromeSpecificPhaseLatenciesMetadata_Phase::_Internal {
 public:
  using HasBits = decltype(::std::declval<ChromeSpecificPhaseLatenciesMetadata_Phase>()._impl_._has_bits_);
  static constexpr ::int32_t kHasBitsOffset =
      8 * PROTOBUF_FIELD_OFFSET(ChromeSpecificPhaseLatenciesMetadata_Phase, _impl_._has_bits_);
  static constexpr ::int32_t kOneofCaseOffset =
      PROTOBUF_FIELD_OFFSET(::lens::proto::lens_latencies_metadata::ChromeSpecificPhaseLatenciesMetadata_Phase, _impl_._oneof_case_);
};

constexpr ChromeSpecificPhaseLatenciesMetadata_Phase::ParseTableT_ ChromeSpecificPhaseLatenciesMetadata_Phase::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(ChromeSpecificPhaseLatenciesMetadata_Phase, _impl_._has_bits_),
      0, // no _extensions_
      4, 8,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967280,  // skipmap
      offsetof(ParseTableT_, field_entries),
      4,  // 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<::lens::proto::lens_latencies_metadata::ChromeSpecificPhaseLatenciesMetadata_Phase>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      // optional .lens.proto.lens_latencies_metadata.ChromeSpecificPhaseLatenciesMetadata.Phase.Timestamp timestamp = 2;
      {::_pbi::TcParser::FastMtS1,
       {18, 0, 0,
        PROTOBUF_FIELD_OFFSET(ChromeSpecificPhaseLatenciesMetadata_Phase, _impl_.timestamp_)}},
      // optional .lens.proto.lens_latencies_metadata.ChromeSpecificPhaseLatenciesMetadata.Phase.PhaseType phase_type = 1;
      {::_pbi::TcParser::FastEr0S1,
       {8, 1, 5,
        PROTOBUF_FIELD_OFFSET(ChromeSpecificPhaseLatenciesMetadata_Phase, _impl_.phase_type_)}},
    }}, {{
      65535, 65535
    }}, {{
      // optional .lens.proto.lens_latencies_metadata.ChromeSpecificPhaseLatenciesMetadata.Phase.PhaseType phase_type = 1;
      {PROTOBUF_FIELD_OFFSET(ChromeSpecificPhaseLatenciesMetadata_Phase, _impl_.phase_type_), _Internal::kHasBitsOffset + 1, 3, (0 | ::_fl::kFcOptional | ::_fl::kEnumRange)},
      // optional .lens.proto.lens_latencies_metadata.ChromeSpecificPhaseLatenciesMetadata.Phase.Timestamp timestamp = 2;
      {PROTOBUF_FIELD_OFFSET(ChromeSpecificPhaseLatenciesMetadata_Phase, _impl_.timestamp_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
      // .lens.proto.lens_latencies_metadata.ChromeSpecificPhaseLatenciesMetadata.Phase.ImageDownscaleData image_downscale_data = 3;
      {PROTOBUF_FIELD_OFFSET(ChromeSpecificPhaseLatenciesMetadata_Phase, _impl_.phase_data_.image_downscale_data_), _Internal::kOneofCaseOffset + 0, 1, (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
      // .lens.proto.lens_latencies_metadata.ChromeSpecificPhaseLatenciesMetadata.Phase.ImageEncodeData image_encode_data = 4;
      {PROTOBUF_FIELD_OFFSET(ChromeSpecificPhaseLatenciesMetadata_Phase, _impl_.phase_data_.image_encode_data_), _Internal::kOneofCaseOffset + 0, 2, (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
    }},
    {{
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::lens::proto::lens_latencies_metadata::ChromeSpecificPhaseLatenciesMetadata_Phase_Timestamp>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::lens::proto::lens_latencies_metadata::ChromeSpecificPhaseLatenciesMetadata_Phase_Timestamp_globals_},
        #endif
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::lens::proto::lens_latencies_metadata::ChromeSpecificPhaseLatenciesMetadata_Phase_ImageDownscaleData>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::lens::proto::lens_latencies_metadata::ChromeSpecificPhaseLatenciesMetadata_Phase_ImageDownscaleData_globals_},
        #endif
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::lens::proto::lens_latencies_metadata::ChromeSpecificPhaseLatenciesMetadata_Phase_ImageEncodeData>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::lens::proto::lens_latencies_metadata::ChromeSpecificPhaseLatenciesMetadata_Phase_ImageEncodeData_globals_},
        #endif
        {0, 5},
    }},
    {{
    }},
  };
}


inline constexpr ChromeSpecificPhaseLatenciesMetadata_Phase::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        timestamp_{nullptr},
        phase_type_{static_cast< ::lens::proto::lens_latencies_metadata::ChromeSpecificPhaseLatenciesMetadata_Phase_PhaseType >(0)},
        phase_data_{},
        _oneof_case_{} {}

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

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

constexpr ChromeSpecificPhaseLatenciesMetadata::ParseTableT_ ChromeSpecificPhaseLatenciesMetadata::InternalGenerateParseTable_(const ::_pbi::ClassData* class_data) {
  return ParseTableT_{
    {
      PROTOBUF_FIELD_OFFSET(ChromeSpecificPhaseLatenciesMetadata, _impl_._has_bits_),
      0, // no _extensions_
      1, 0,  // max_field_number, fast_idx_mask
      offsetof(ParseTableT_, field_lookup_table),
      4294967294,  // skipmap
      offsetof(ParseTableT_, field_entries),
      1,  // num_field_entries
      1,  // num_aux_entries
      offsetof(ParseTableT_, aux_entries),
      class_data,
      nullptr,  // post_loop_handler
      ::_pbi::TcParser::GenericFallbackLite,  // fallback
      #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
      ::_pbi::TcParser::GetTable<::lens::proto::lens_latencies_metadata::ChromeSpecificPhaseLatenciesMetadata>(),  // to_prefetch
      #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
    }, {{
      // repeated .lens.proto.lens_latencies_metadata.ChromeSpecificPhaseLatenciesMetadata.Phase phase = 1;
      {::_pbi::TcParser::FastMtR1,
       {10, 0, 0,
        PROTOBUF_FIELD_OFFSET(ChromeSpecificPhaseLatenciesMetadata, _impl_.phase_)}},
    }}, {{
      65535, 65535
    }}, {{
      // repeated .lens.proto.lens_latencies_metadata.ChromeSpecificPhaseLatenciesMetadata.Phase phase = 1;
      {PROTOBUF_FIELD_OFFSET(ChromeSpecificPhaseLatenciesMetadata, _impl_.phase_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
    }},
    {{
        #ifndef PROTOBUF_MESSAGE_GLOBALS
        {::_pbi::TcParser::GetTable<::lens::proto::lens_latencies_metadata::ChromeSpecificPhaseLatenciesMetadata_Phase>()},
        #else
        {::_pbi::FieldAuxMessageGlobals(), &::lens::proto::lens_latencies_metadata::ChromeSpecificPhaseLatenciesMetadata_Phase_globals_},
        #endif
    }},
    {{
    }},
  };
}


inline constexpr ChromeSpecificPhaseLatenciesMetadata::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    ::_pbi::ConstantInitialized) noexcept
      : _cached_size_{0},
        phase_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::lens::proto::lens_latencies_metadata::ChromeSpecificPhaseLatenciesMetadata,
            PROTOBUF_FIELD_OFFSET(::lens::proto::lens_latencies_metadata::ChromeSpecificPhaseLatenciesMetadata, _impl_.phase_)>()
         }
     {}

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

PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PROTOBUF_MESSAGE_GLOBALS_CONST ChromeSpecificPhaseLatenciesMetadataGlobalsTypeInternal ChromeSpecificPhaseLatenciesMetadata_globals_
        PROTOBUF_MESSAGE_GLOBALS_SECTION(.data.rel.ro);
#if defined(PROTOBUF_CUSTOM_VTABLE)
namespace {
const ::_pbi::ClassData* ChromeSpecificPhaseLatenciesMetadata_get_class_data() {
#ifdef PROTOBUF_MESSAGE_GLOBALS
  return ChromeSpecificPhaseLatenciesMetadata_globals_.GetClassData();
#else
  return ChromeSpecificPhaseLatenciesMetadata_class_data_.base();
#endif  // PROTOBUF_MESSAGE_GLOBALS
}
}  // namespace
#endif  // PROTOBUF_CUSTOM_VTABLE
}  // namespace lens_latencies_metadata
}  // namespace proto
}  // namespace lens
namespace lens {
namespace proto {
namespace lens_latencies_metadata {
PROTOBUF_CONSTINIT const uint32_t ChromeSpecificPhaseLatenciesMetadata_Phase_PhaseType_internal_data_[] = {
    393216u, 0u, };
static const char ChromeSpecificPhaseLatenciesMetadata_Phase_PhaseType_names[] = {
    "IMAGE_DOWNSCALE_END"
    "IMAGE_DOWNSCALE_START"
    "IMAGE_ENCODE_END"
    "IMAGE_ENCODE_START"
    "OVERALL_START"
    "UNKNOWN_PHASE"
};

static const ::google::protobuf::internal::EnumEntry ChromeSpecificPhaseLatenciesMetadata_Phase_PhaseType_entries[] = {
    {{&ChromeSpecificPhaseLatenciesMetadata_Phase_PhaseType_names[0], 19}, 3},
    {{&ChromeSpecificPhaseLatenciesMetadata_Phase_PhaseType_names[19], 21}, 2},
    {{&ChromeSpecificPhaseLatenciesMetadata_Phase_PhaseType_names[40], 16}, 5},
    {{&ChromeSpecificPhaseLatenciesMetadata_Phase_PhaseType_names[56], 18}, 4},
    {{&ChromeSpecificPhaseLatenciesMetadata_Phase_PhaseType_names[74], 13}, 1},
    {{&ChromeSpecificPhaseLatenciesMetadata_Phase_PhaseType_names[87], 13}, 0},
};

static const int ChromeSpecificPhaseLatenciesMetadata_Phase_PhaseType_entries_by_number[] = {
    5,  // 0 -> UNKNOWN_PHASE
    4,  // 1 -> OVERALL_START
    1,  // 2 -> IMAGE_DOWNSCALE_START
    0,  // 3 -> IMAGE_DOWNSCALE_END
    3,  // 4 -> IMAGE_ENCODE_START
    2,  // 5 -> IMAGE_ENCODE_END
};

bool ChromeSpecificPhaseLatenciesMetadata_Phase_PhaseType_Parse(::absl::string_view name,
                                  ChromeSpecificPhaseLatenciesMetadata_Phase_PhaseType* PROTOBUF_NONNULL value) {
  int int_value;
  bool success = ::google::protobuf::internal::LookUpEnumValue(
      ChromeSpecificPhaseLatenciesMetadata_Phase_PhaseType_entries, 6, name, &int_value);
  if (success) {
    *value = static_cast<ChromeSpecificPhaseLatenciesMetadata_Phase_PhaseType>(int_value);
  }
  return success;
}
static ::google::protobuf::internal::ExplicitlyConstructed<::std::string>
    ChromeSpecificPhaseLatenciesMetadata_Phase_PhaseType_strings[6] = {};

const ::std::string& ChromeSpecificPhaseLatenciesMetadata_Phase_PhaseType_Name(ChromeSpecificPhaseLatenciesMetadata_Phase_PhaseType value) {
  static const bool kDummy = ::google::protobuf::internal::InitializeEnumStrings(
      ChromeSpecificPhaseLatenciesMetadata_Phase_PhaseType_entries, ChromeSpecificPhaseLatenciesMetadata_Phase_PhaseType_entries_by_number, 6,
      ChromeSpecificPhaseLatenciesMetadata_Phase_PhaseType_strings);
  (void)kDummy;

  int idx = ::google::protobuf::internal::LookUpEnumName(ChromeSpecificPhaseLatenciesMetadata_Phase_PhaseType_entries,
                                  ChromeSpecificPhaseLatenciesMetadata_Phase_PhaseType_entries_by_number,
                                  6, value);
  return idx == -1 ? ::google::protobuf::internal::GetEmptyString() : ChromeSpecificPhaseLatenciesMetadata_Phase_PhaseType_strings[idx].get();
}
PROTOBUF_CONSTINIT const uint32_t ChromeSpecificPhaseLatenciesMetadata_ImageType_internal_data_[] = {
    262144u, 0u, };
static const char ChromeSpecificPhaseLatenciesMetadata_ImageType_names[] = {
    "JPEG"
    "PNG"
    "UNKNOWN"
    "WEBP"
};

static const ::google::protobuf::internal::EnumEntry ChromeSpecificPhaseLatenciesMetadata_ImageType_entries[] = {
    {{&ChromeSpecificPhaseLatenciesMetadata_ImageType_names[0], 4}, 1},
    {{&ChromeSpecificPhaseLatenciesMetadata_ImageType_names[4], 3}, 2},
    {{&ChromeSpecificPhaseLatenciesMetadata_ImageType_names[7], 7}, 0},
    {{&ChromeSpecificPhaseLatenciesMetadata_ImageType_names[14], 4}, 3},
};

static const int ChromeSpecificPhaseLatenciesMetadata_ImageType_entries_by_number[] = {
    2,  // 0 -> UNKNOWN
    0,  // 1 -> JPEG
    1,  // 2 -> PNG
    3,  // 3 -> WEBP
};

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

const ::std::string& ChromeSpecificPhaseLatenciesMetadata_ImageType_Name(ChromeSpecificPhaseLatenciesMetadata_ImageType value) {
  static const bool kDummy = ::google::protobuf::internal::InitializeEnumStrings(
      ChromeSpecificPhaseLatenciesMetadata_ImageType_entries, ChromeSpecificPhaseLatenciesMetadata_ImageType_entries_by_number, 4,
      ChromeSpecificPhaseLatenciesMetadata_ImageType_strings);
  (void)kDummy;

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

ChromeSpecificPhaseLatenciesMetadata_Phase_Timestamp::ChromeSpecificPhaseLatenciesMetadata_Phase_Timestamp(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, ChromeSpecificPhaseLatenciesMetadata_Phase_Timestamp_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:lens.proto.lens_latencies_metadata.ChromeSpecificPhaseLatenciesMetadata.Phase.Timestamp)
}
ChromeSpecificPhaseLatenciesMetadata_Phase_Timestamp::ChromeSpecificPhaseLatenciesMetadata_Phase_Timestamp(
    ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const ChromeSpecificPhaseLatenciesMetadata_Phase_Timestamp& from)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, ChromeSpecificPhaseLatenciesMetadata_Phase_Timestamp_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 ChromeSpecificPhaseLatenciesMetadata_Phase_Timestamp::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0} {}

inline void ChromeSpecificPhaseLatenciesMetadata_Phase_Timestamp::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
  new (&_impl_) Impl_(internal_visibility(), arena);
  ::memset(reinterpret_cast<char*>(&_impl_) +
               offsetof(Impl_, seconds_),
           0,
           offsetof(Impl_, nanos_) -
               offsetof(Impl_, seconds_) +
               sizeof(Impl_::nanos_));
}
ChromeSpecificPhaseLatenciesMetadata_Phase_Timestamp::~ChromeSpecificPhaseLatenciesMetadata_Phase_Timestamp() {
  // @@protoc_insertion_point(destructor:lens.proto.lens_latencies_metadata.ChromeSpecificPhaseLatenciesMetadata.Phase.Timestamp)
  SharedDtor(*this);
}
inline void ChromeSpecificPhaseLatenciesMetadata_Phase_Timestamp::SharedDtor(MessageLite& self) {
  ChromeSpecificPhaseLatenciesMetadata_Phase_Timestamp& this_ = static_cast<ChromeSpecificPhaseLatenciesMetadata_Phase_Timestamp&>(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 ChromeSpecificPhaseLatenciesMetadata_Phase_Timestamp_class_data_ =
    ChromeSpecificPhaseLatenciesMetadata_Phase_Timestamp::InternalGenerateClassData_(ChromeSpecificPhaseLatenciesMetadata_Phase_Timestamp_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
ChromeSpecificPhaseLatenciesMetadata_Phase_Timestamp::GetClassData() const {
  return ChromeSpecificPhaseLatenciesMetadata_Phase_Timestamp_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
ChromeSpecificPhaseLatenciesMetadata_Phase_Timestamp::GetClassData() const {
  return ChromeSpecificPhaseLatenciesMetadata_Phase_Timestamp_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ChromeSpecificPhaseLatenciesMetadata_Phase_Timestamp::ParseTableT_
    ChromeSpecificPhaseLatenciesMetadata_Phase_Timestamp::_table_ =
        ChromeSpecificPhaseLatenciesMetadata_Phase_Timestamp::InternalGenerateParseTable_(ChromeSpecificPhaseLatenciesMetadata_Phase_Timestamp_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void ChromeSpecificPhaseLatenciesMetadata_Phase_Timestamp::Clear() {
// @@protoc_insertion_point(message_clear_start:lens.proto.lens_latencies_metadata.ChromeSpecificPhaseLatenciesMetadata.Phase.Timestamp)
  ::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_.seconds_, 0, static_cast<::size_t>(
        reinterpret_cast<char*>(&_impl_.nanos_) -
        reinterpret_cast<char*>(&_impl_.seconds_)) + sizeof(_impl_.nanos_));
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

  cached_has_bits = this_._impl_._has_bits_[0];
  // optional int64 seconds = 1;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    target =
        ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<1>(
            stream, this_._internal_seconds(), target);
  }

  // optional int32 nanos = 2;
  if (CheckHasBit(cached_has_bits, 0x00000002U)) {
    target =
        ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<2>(
            stream, this_._internal_nanos(), 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:lens.proto.lens_latencies_metadata.ChromeSpecificPhaseLatenciesMetadata.Phase.Timestamp)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t ChromeSpecificPhaseLatenciesMetadata_Phase_Timestamp::ByteSizeLong(const MessageLite& base) {
  const ChromeSpecificPhaseLatenciesMetadata_Phase_Timestamp& this_ = static_cast<const ChromeSpecificPhaseLatenciesMetadata_Phase_Timestamp&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t ChromeSpecificPhaseLatenciesMetadata_Phase_Timestamp::ByteSizeLong() const {
  const ChromeSpecificPhaseLatenciesMetadata_Phase_Timestamp& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:lens.proto.lens_latencies_metadata.ChromeSpecificPhaseLatenciesMetadata.Phase.Timestamp)
  ::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, 0x00000003U)) {
    // optional int64 seconds = 1;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
          this_._internal_seconds());
    }
    // optional int32 nanos = 2;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
          this_._internal_nanos());
    }
  }
  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 ChromeSpecificPhaseLatenciesMetadata_Phase_Timestamp::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<ChromeSpecificPhaseLatenciesMetadata_Phase_Timestamp*>(&to_msg);
  auto& from = static_cast<const ChromeSpecificPhaseLatenciesMetadata_Phase_Timestamp&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  // @@protoc_insertion_point(class_specific_merge_from_start:lens.proto.lens_latencies_metadata.ChromeSpecificPhaseLatenciesMetadata.Phase.Timestamp)
  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_.seconds_ = from._impl_.seconds_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _this->_impl_.nanos_ = from._impl_.nanos_;
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

void ChromeSpecificPhaseLatenciesMetadata_Phase_Timestamp::CopyFrom(const ChromeSpecificPhaseLatenciesMetadata_Phase_Timestamp& from) {
  // @@protoc_insertion_point(class_specific_copy_from_start:lens.proto.lens_latencies_metadata.ChromeSpecificPhaseLatenciesMetadata.Phase.Timestamp)
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}


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

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

ChromeSpecificPhaseLatenciesMetadata_Phase_ImageDownscaleData::ChromeSpecificPhaseLatenciesMetadata_Phase_ImageDownscaleData(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, ChromeSpecificPhaseLatenciesMetadata_Phase_ImageDownscaleData_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:lens.proto.lens_latencies_metadata.ChromeSpecificPhaseLatenciesMetadata.Phase.ImageDownscaleData)
}
ChromeSpecificPhaseLatenciesMetadata_Phase_ImageDownscaleData::ChromeSpecificPhaseLatenciesMetadata_Phase_ImageDownscaleData(
    ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const ChromeSpecificPhaseLatenciesMetadata_Phase_ImageDownscaleData& from)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, ChromeSpecificPhaseLatenciesMetadata_Phase_ImageDownscaleData_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 ChromeSpecificPhaseLatenciesMetadata_Phase_ImageDownscaleData::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0} {}

inline void ChromeSpecificPhaseLatenciesMetadata_Phase_ImageDownscaleData::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
  new (&_impl_) Impl_(internal_visibility(), arena);
  ::memset(reinterpret_cast<char*>(&_impl_) +
               offsetof(Impl_, original_image_size_),
           0,
           offsetof(Impl_, downscaled_image_byte_size_) -
               offsetof(Impl_, original_image_size_) +
               sizeof(Impl_::downscaled_image_byte_size_));
}
ChromeSpecificPhaseLatenciesMetadata_Phase_ImageDownscaleData::~ChromeSpecificPhaseLatenciesMetadata_Phase_ImageDownscaleData() {
  // @@protoc_insertion_point(destructor:lens.proto.lens_latencies_metadata.ChromeSpecificPhaseLatenciesMetadata.Phase.ImageDownscaleData)
  SharedDtor(*this);
}
inline void ChromeSpecificPhaseLatenciesMetadata_Phase_ImageDownscaleData::SharedDtor(MessageLite& self) {
  ChromeSpecificPhaseLatenciesMetadata_Phase_ImageDownscaleData& this_ = static_cast<ChromeSpecificPhaseLatenciesMetadata_Phase_ImageDownscaleData&>(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 ChromeSpecificPhaseLatenciesMetadata_Phase_ImageDownscaleData_class_data_ =
    ChromeSpecificPhaseLatenciesMetadata_Phase_ImageDownscaleData::InternalGenerateClassData_(ChromeSpecificPhaseLatenciesMetadata_Phase_ImageDownscaleData_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
ChromeSpecificPhaseLatenciesMetadata_Phase_ImageDownscaleData::GetClassData() const {
  return ChromeSpecificPhaseLatenciesMetadata_Phase_ImageDownscaleData_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
ChromeSpecificPhaseLatenciesMetadata_Phase_ImageDownscaleData::GetClassData() const {
  return ChromeSpecificPhaseLatenciesMetadata_Phase_ImageDownscaleData_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ChromeSpecificPhaseLatenciesMetadata_Phase_ImageDownscaleData::ParseTableT_
    ChromeSpecificPhaseLatenciesMetadata_Phase_ImageDownscaleData::_table_ =
        ChromeSpecificPhaseLatenciesMetadata_Phase_ImageDownscaleData::InternalGenerateParseTable_(ChromeSpecificPhaseLatenciesMetadata_Phase_ImageDownscaleData_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void ChromeSpecificPhaseLatenciesMetadata_Phase_ImageDownscaleData::Clear() {
// @@protoc_insertion_point(message_clear_start:lens.proto.lens_latencies_metadata.ChromeSpecificPhaseLatenciesMetadata.Phase.ImageDownscaleData)
  ::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_.original_image_size_, 0, static_cast<::size_t>(
        reinterpret_cast<char*>(&_impl_.downscaled_image_byte_size_) -
        reinterpret_cast<char*>(&_impl_.original_image_size_)) + sizeof(_impl_.downscaled_image_byte_size_));
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

  cached_has_bits = this_._impl_._has_bits_[0];
  // optional int64 original_image_size = 1;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    target =
        ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<1>(
            stream, this_._internal_original_image_size(), target);
  }

  // optional int64 downscaled_image_byte_size = 2;
  if (CheckHasBit(cached_has_bits, 0x00000002U)) {
    target =
        ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<2>(
            stream, this_._internal_downscaled_image_byte_size(), 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:lens.proto.lens_latencies_metadata.ChromeSpecificPhaseLatenciesMetadata.Phase.ImageDownscaleData)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t ChromeSpecificPhaseLatenciesMetadata_Phase_ImageDownscaleData::ByteSizeLong(const MessageLite& base) {
  const ChromeSpecificPhaseLatenciesMetadata_Phase_ImageDownscaleData& this_ = static_cast<const ChromeSpecificPhaseLatenciesMetadata_Phase_ImageDownscaleData&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t ChromeSpecificPhaseLatenciesMetadata_Phase_ImageDownscaleData::ByteSizeLong() const {
  const ChromeSpecificPhaseLatenciesMetadata_Phase_ImageDownscaleData& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:lens.proto.lens_latencies_metadata.ChromeSpecificPhaseLatenciesMetadata.Phase.ImageDownscaleData)
  ::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, 0x00000003U)) {
    // optional int64 original_image_size = 1;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
          this_._internal_original_image_size());
    }
    // optional int64 downscaled_image_byte_size = 2;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
          this_._internal_downscaled_image_byte_size());
    }
  }
  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 ChromeSpecificPhaseLatenciesMetadata_Phase_ImageDownscaleData::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<ChromeSpecificPhaseLatenciesMetadata_Phase_ImageDownscaleData*>(&to_msg);
  auto& from = static_cast<const ChromeSpecificPhaseLatenciesMetadata_Phase_ImageDownscaleData&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  // @@protoc_insertion_point(class_specific_merge_from_start:lens.proto.lens_latencies_metadata.ChromeSpecificPhaseLatenciesMetadata.Phase.ImageDownscaleData)
  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_.original_image_size_ = from._impl_.original_image_size_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _this->_impl_.downscaled_image_byte_size_ = from._impl_.downscaled_image_byte_size_;
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

void ChromeSpecificPhaseLatenciesMetadata_Phase_ImageDownscaleData::CopyFrom(const ChromeSpecificPhaseLatenciesMetadata_Phase_ImageDownscaleData& from) {
  // @@protoc_insertion_point(class_specific_copy_from_start:lens.proto.lens_latencies_metadata.ChromeSpecificPhaseLatenciesMetadata.Phase.ImageDownscaleData)
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}


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

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

ChromeSpecificPhaseLatenciesMetadata_Phase_ImageEncodeData::ChromeSpecificPhaseLatenciesMetadata_Phase_ImageEncodeData(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, ChromeSpecificPhaseLatenciesMetadata_Phase_ImageEncodeData_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:lens.proto.lens_latencies_metadata.ChromeSpecificPhaseLatenciesMetadata.Phase.ImageEncodeData)
}
ChromeSpecificPhaseLatenciesMetadata_Phase_ImageEncodeData::ChromeSpecificPhaseLatenciesMetadata_Phase_ImageEncodeData(
    ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const ChromeSpecificPhaseLatenciesMetadata_Phase_ImageEncodeData& from)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, ChromeSpecificPhaseLatenciesMetadata_Phase_ImageEncodeData_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 ChromeSpecificPhaseLatenciesMetadata_Phase_ImageEncodeData::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0} {}

inline void ChromeSpecificPhaseLatenciesMetadata_Phase_ImageEncodeData::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
  new (&_impl_) Impl_(internal_visibility(), arena);
  ::memset(reinterpret_cast<char*>(&_impl_) +
               offsetof(Impl_, encoded_image_size_bytes_),
           0,
           offsetof(Impl_, original_image_type_) -
               offsetof(Impl_, encoded_image_size_bytes_) +
               sizeof(Impl_::original_image_type_));
}
ChromeSpecificPhaseLatenciesMetadata_Phase_ImageEncodeData::~ChromeSpecificPhaseLatenciesMetadata_Phase_ImageEncodeData() {
  // @@protoc_insertion_point(destructor:lens.proto.lens_latencies_metadata.ChromeSpecificPhaseLatenciesMetadata.Phase.ImageEncodeData)
  SharedDtor(*this);
}
inline void ChromeSpecificPhaseLatenciesMetadata_Phase_ImageEncodeData::SharedDtor(MessageLite& self) {
  ChromeSpecificPhaseLatenciesMetadata_Phase_ImageEncodeData& this_ = static_cast<ChromeSpecificPhaseLatenciesMetadata_Phase_ImageEncodeData&>(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 ChromeSpecificPhaseLatenciesMetadata_Phase_ImageEncodeData_class_data_ =
    ChromeSpecificPhaseLatenciesMetadata_Phase_ImageEncodeData::InternalGenerateClassData_(ChromeSpecificPhaseLatenciesMetadata_Phase_ImageEncodeData_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
ChromeSpecificPhaseLatenciesMetadata_Phase_ImageEncodeData::GetClassData() const {
  return ChromeSpecificPhaseLatenciesMetadata_Phase_ImageEncodeData_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
ChromeSpecificPhaseLatenciesMetadata_Phase_ImageEncodeData::GetClassData() const {
  return ChromeSpecificPhaseLatenciesMetadata_Phase_ImageEncodeData_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ChromeSpecificPhaseLatenciesMetadata_Phase_ImageEncodeData::ParseTableT_
    ChromeSpecificPhaseLatenciesMetadata_Phase_ImageEncodeData::_table_ =
        ChromeSpecificPhaseLatenciesMetadata_Phase_ImageEncodeData::InternalGenerateParseTable_(ChromeSpecificPhaseLatenciesMetadata_Phase_ImageEncodeData_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void ChromeSpecificPhaseLatenciesMetadata_Phase_ImageEncodeData::Clear() {
// @@protoc_insertion_point(message_clear_start:lens.proto.lens_latencies_metadata.ChromeSpecificPhaseLatenciesMetadata.Phase.ImageEncodeData)
  ::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_.encoded_image_size_bytes_, 0, static_cast<::size_t>(
        reinterpret_cast<char*>(&_impl_.original_image_type_) -
        reinterpret_cast<char*>(&_impl_.encoded_image_size_bytes_)) + sizeof(_impl_.original_image_type_));
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

  cached_has_bits = this_._impl_._has_bits_[0];
  // optional .lens.proto.lens_latencies_metadata.ChromeSpecificPhaseLatenciesMetadata.ImageType original_image_type = 1;
  if (CheckHasBit(cached_has_bits, 0x00000002U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteEnumToArray(
        1, this_._internal_original_image_type(), target);
  }

  // optional int64 encoded_image_size_bytes = 2;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    target =
        ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<2>(
            stream, this_._internal_encoded_image_size_bytes(), 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:lens.proto.lens_latencies_metadata.ChromeSpecificPhaseLatenciesMetadata.Phase.ImageEncodeData)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t ChromeSpecificPhaseLatenciesMetadata_Phase_ImageEncodeData::ByteSizeLong(const MessageLite& base) {
  const ChromeSpecificPhaseLatenciesMetadata_Phase_ImageEncodeData& this_ = static_cast<const ChromeSpecificPhaseLatenciesMetadata_Phase_ImageEncodeData&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t ChromeSpecificPhaseLatenciesMetadata_Phase_ImageEncodeData::ByteSizeLong() const {
  const ChromeSpecificPhaseLatenciesMetadata_Phase_ImageEncodeData& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:lens.proto.lens_latencies_metadata.ChromeSpecificPhaseLatenciesMetadata.Phase.ImageEncodeData)
  ::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, 0x00000003U)) {
    // optional int64 encoded_image_size_bytes = 2;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
          this_._internal_encoded_image_size_bytes());
    }
    // optional .lens.proto.lens_latencies_metadata.ChromeSpecificPhaseLatenciesMetadata.ImageType original_image_type = 1;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += 1 +
                    ::_pbi::WireFormatLite::EnumSize(this_._internal_original_image_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 ChromeSpecificPhaseLatenciesMetadata_Phase_ImageEncodeData::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<ChromeSpecificPhaseLatenciesMetadata_Phase_ImageEncodeData*>(&to_msg);
  auto& from = static_cast<const ChromeSpecificPhaseLatenciesMetadata_Phase_ImageEncodeData&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  // @@protoc_insertion_point(class_specific_merge_from_start:lens.proto.lens_latencies_metadata.ChromeSpecificPhaseLatenciesMetadata.Phase.ImageEncodeData)
  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_.encoded_image_size_bytes_ = from._impl_.encoded_image_size_bytes_;
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _this->_impl_.original_image_type_ = from._impl_.original_image_type_;
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

void ChromeSpecificPhaseLatenciesMetadata_Phase_ImageEncodeData::CopyFrom(const ChromeSpecificPhaseLatenciesMetadata_Phase_ImageEncodeData& from) {
  // @@protoc_insertion_point(class_specific_copy_from_start:lens.proto.lens_latencies_metadata.ChromeSpecificPhaseLatenciesMetadata.Phase.ImageEncodeData)
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}


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

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

void ChromeSpecificPhaseLatenciesMetadata_Phase::set_allocated_image_downscale_data(::lens::proto::lens_latencies_metadata::ChromeSpecificPhaseLatenciesMetadata_Phase_ImageDownscaleData* PROTOBUF_NULLABLE image_downscale_data) {
  ::google::protobuf::Arena* message_arena = GetArena();
  clear_phase_data();
  if (image_downscale_data) {
    ::google::protobuf::Arena* submessage_arena = image_downscale_data->GetArena();
    if (message_arena != submessage_arena) {
      image_downscale_data = ::google::protobuf::internal::GetOwnedMessage(message_arena, image_downscale_data, submessage_arena);
    }
    set_has_image_downscale_data();
    _impl_.phase_data_.image_downscale_data_ = image_downscale_data;
  }
  // @@protoc_insertion_point(field_set_allocated:lens.proto.lens_latencies_metadata.ChromeSpecificPhaseLatenciesMetadata.Phase.image_downscale_data)
}
void ChromeSpecificPhaseLatenciesMetadata_Phase::set_allocated_image_encode_data(::lens::proto::lens_latencies_metadata::ChromeSpecificPhaseLatenciesMetadata_Phase_ImageEncodeData* PROTOBUF_NULLABLE image_encode_data) {
  ::google::protobuf::Arena* message_arena = GetArena();
  clear_phase_data();
  if (image_encode_data) {
    ::google::protobuf::Arena* submessage_arena = image_encode_data->GetArena();
    if (message_arena != submessage_arena) {
      image_encode_data = ::google::protobuf::internal::GetOwnedMessage(message_arena, image_encode_data, submessage_arena);
    }
    set_has_image_encode_data();
    _impl_.phase_data_.image_encode_data_ = image_encode_data;
  }
  // @@protoc_insertion_point(field_set_allocated:lens.proto.lens_latencies_metadata.ChromeSpecificPhaseLatenciesMetadata.Phase.image_encode_data)
}
ChromeSpecificPhaseLatenciesMetadata_Phase::ChromeSpecificPhaseLatenciesMetadata_Phase(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
#if defined(PROTOBUF_CUSTOM_VTABLE)
    : ::google::protobuf::MessageLite(arena, ChromeSpecificPhaseLatenciesMetadata_Phase_get_class_data()) {
#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  SharedCtor(arena);
  // @@protoc_insertion_point(arena_constructor:lens.proto.lens_latencies_metadata.ChromeSpecificPhaseLatenciesMetadata.Phase)
}
PROTOBUF_NDEBUG_INLINE ChromeSpecificPhaseLatenciesMetadata_Phase::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
    [[maybe_unused]] const ::lens::proto::lens_latencies_metadata::ChromeSpecificPhaseLatenciesMetadata_Phase& from_msg)
      : _has_bits_{from._has_bits_},
        _cached_size_{0},
        phase_data_{},
        _oneof_case_{from._oneof_case_[0]} {}

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

#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  ChromeSpecificPhaseLatenciesMetadata_Phase* 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_.timestamp_ = (CheckHasBit(cached_has_bits, 0x00000001U))
                ? ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.timestamp_)
                : nullptr;
  _impl_.phase_type_ = from._impl_.phase_type_;
  switch (phase_data_case()) {
    case PHASE_DATA_NOT_SET:
      break;
      case kImageDownscaleData:
        _impl_.phase_data_.image_downscale_data_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.phase_data_.image_downscale_data_);
        break;
      case kImageEncodeData:
        _impl_.phase_data_.image_encode_data_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.phase_data_.image_encode_data_);
        break;
  }

  // @@protoc_insertion_point(copy_constructor:lens.proto.lens_latencies_metadata.ChromeSpecificPhaseLatenciesMetadata.Phase)
}
PROTOBUF_NDEBUG_INLINE ChromeSpecificPhaseLatenciesMetadata_Phase::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0},
        phase_data_{},
        _oneof_case_{} {}

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

void ChromeSpecificPhaseLatenciesMetadata_Phase::clear_phase_data() {
// @@protoc_insertion_point(one_of_clear_start:lens.proto.lens_latencies_metadata.ChromeSpecificPhaseLatenciesMetadata.Phase)
  ::google::protobuf::internal::TSanWrite(&_impl_);
  switch (phase_data_case()) {
    case kImageDownscaleData: {
      if (GetArena() == nullptr) {
        delete _impl_.phase_data_.image_downscale_data_;
      } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
        if (_impl_.phase_data_.image_downscale_data_ != nullptr) {
          _impl_.phase_data_.image_downscale_data_->Clear();
        }
      }
      break;
    }
    case kImageEncodeData: {
      if (GetArena() == nullptr) {
        delete _impl_.phase_data_.image_encode_data_;
      } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
        if (_impl_.phase_data_.image_encode_data_ != nullptr) {
          _impl_.phase_data_.image_encode_data_->Clear();
        }
      }
      break;
    }
    case PHASE_DATA_NOT_SET: {
      break;
    }
  }
  _impl_._oneof_case_[0] = PHASE_DATA_NOT_SET;
}


#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::google::protobuf::internal::ClassDataLite ChromeSpecificPhaseLatenciesMetadata_Phase_class_data_ =
    ChromeSpecificPhaseLatenciesMetadata_Phase::InternalGenerateClassData_(ChromeSpecificPhaseLatenciesMetadata_Phase_globals_._default);

PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
ChromeSpecificPhaseLatenciesMetadata_Phase::GetClassData() const {
  return ChromeSpecificPhaseLatenciesMetadata_Phase_class_data_.base();
}
#else
PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
ChromeSpecificPhaseLatenciesMetadata_Phase::GetClassData() const {
  return ChromeSpecificPhaseLatenciesMetadata_Phase_globals_.GetClassData();
}
#endif  // !PROTOBUF_MESSAGE_GLOBALS
#ifndef PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ChromeSpecificPhaseLatenciesMetadata_Phase::ParseTableT_
    ChromeSpecificPhaseLatenciesMetadata_Phase::_table_ =
        ChromeSpecificPhaseLatenciesMetadata_Phase::InternalGenerateParseTable_(ChromeSpecificPhaseLatenciesMetadata_Phase_class_data_.base());
#endif  // !PROTOBUF_MESSAGE_GLOBALS
PROTOBUF_NOINLINE void ChromeSpecificPhaseLatenciesMetadata_Phase::Clear() {
// @@protoc_insertion_point(message_clear_start:lens.proto.lens_latencies_metadata.ChromeSpecificPhaseLatenciesMetadata.Phase)
  ::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_.timestamp_ != nullptr);
    _impl_.timestamp_->Clear();
  }
  _impl_.phase_type_ = 0;
  clear_phase_data();
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

  cached_has_bits = this_._impl_._has_bits_[0];
  // optional .lens.proto.lens_latencies_metadata.ChromeSpecificPhaseLatenciesMetadata.Phase.PhaseType phase_type = 1;
  if (CheckHasBit(cached_has_bits, 0x00000002U)) {
    target = stream->EnsureSpace(target);
    target = ::_pbi::WireFormatLite::WriteEnumToArray(
        1, this_._internal_phase_type(), target);
  }

  // optional .lens.proto.lens_latencies_metadata.ChromeSpecificPhaseLatenciesMetadata.Phase.Timestamp timestamp = 2;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
        2, *this_._impl_.timestamp_, this_._impl_.timestamp_->GetCachedSize(), target,
        stream);
  }

  switch (this_.phase_data_case()) {
    case kImageDownscaleData: {
      target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
          3, *this_._impl_.phase_data_.image_downscale_data_, this_._impl_.phase_data_.image_downscale_data_->GetCachedSize(), target,
          stream);
      break;
    }
    case kImageEncodeData: {
      target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
          4, *this_._impl_.phase_data_.image_encode_data_, this_._impl_.phase_data_.image_encode_data_->GetCachedSize(), target,
          stream);
      break;
    }
    default:
      break;
  }
  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:lens.proto.lens_latencies_metadata.ChromeSpecificPhaseLatenciesMetadata.Phase)
  return target;
}

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t ChromeSpecificPhaseLatenciesMetadata_Phase::ByteSizeLong(const MessageLite& base) {
  const ChromeSpecificPhaseLatenciesMetadata_Phase& this_ = static_cast<const ChromeSpecificPhaseLatenciesMetadata_Phase&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t ChromeSpecificPhaseLatenciesMetadata_Phase::ByteSizeLong() const {
  const ChromeSpecificPhaseLatenciesMetadata_Phase& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:lens.proto.lens_latencies_metadata.ChromeSpecificPhaseLatenciesMetadata.Phase)
  ::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, 0x00000003U)) {
    // optional .lens.proto.lens_latencies_metadata.ChromeSpecificPhaseLatenciesMetadata.Phase.Timestamp timestamp = 2;
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.timestamp_);
    }
    // optional .lens.proto.lens_latencies_metadata.ChromeSpecificPhaseLatenciesMetadata.Phase.PhaseType phase_type = 1;
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      total_size += 1 +
                    ::_pbi::WireFormatLite::EnumSize(this_._internal_phase_type());
    }
  }
  switch (this_.phase_data_case()) {
    // .lens.proto.lens_latencies_metadata.ChromeSpecificPhaseLatenciesMetadata.Phase.ImageDownscaleData image_downscale_data = 3;
    case kImageDownscaleData: {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.phase_data_.image_downscale_data_);
      break;
    }
    // .lens.proto.lens_latencies_metadata.ChromeSpecificPhaseLatenciesMetadata.Phase.ImageEncodeData image_encode_data = 4;
    case kImageEncodeData: {
      total_size += 1 +
                    ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.phase_data_.image_encode_data_);
      break;
    }
    case PHASE_DATA_NOT_SET: {
      break;
    }
  }
  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 ChromeSpecificPhaseLatenciesMetadata_Phase::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<ChromeSpecificPhaseLatenciesMetadata_Phase*>(&to_msg);
  auto& from = static_cast<const ChromeSpecificPhaseLatenciesMetadata_Phase&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  ::google::protobuf::Arena* arena = _this->GetArena();
  // @@protoc_insertion_point(class_specific_merge_from_start:lens.proto.lens_latencies_metadata.ChromeSpecificPhaseLatenciesMetadata.Phase)
  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)) {
      ABSL_DCHECK(from._impl_.timestamp_ != nullptr);
      if (_this->_impl_.timestamp_ == nullptr) {
        _this->_impl_.timestamp_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.timestamp_);
      } else {
        _this->_impl_.timestamp_->MergeFrom(*from._impl_.timestamp_);
      }
    }
    if (CheckHasBit(cached_has_bits, 0x00000002U)) {
      _this->_impl_.phase_type_ = from._impl_.phase_type_;
    }
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  if (const uint32_t oneof_from_case =
          from._impl_._oneof_case_[0]) {
    const uint32_t oneof_to_case = _this->_impl_._oneof_case_[0];
    const bool oneof_needs_init = oneof_to_case != oneof_from_case;
    if (oneof_needs_init) {
      if (oneof_to_case != 0) {
        _this->clear_phase_data();
      }
      _this->_impl_._oneof_case_[0] = oneof_from_case;
    }

    switch (oneof_from_case) {
      case kImageDownscaleData: {
        if (oneof_needs_init) {
          _this->_impl_.phase_data_.image_downscale_data_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.phase_data_.image_downscale_data_);
        } else {
          _this->_impl_.phase_data_.image_downscale_data_->MergeFrom(*from._impl_.phase_data_.image_downscale_data_);
        }
        break;
      }
      case kImageEncodeData: {
        if (oneof_needs_init) {
          _this->_impl_.phase_data_.image_encode_data_ = ::google::protobuf::MessageLite::CopyConstruct(arena, *from._impl_.phase_data_.image_encode_data_);
        } else {
          _this->_impl_.phase_data_.image_encode_data_->MergeFrom(*from._impl_.phase_data_.image_encode_data_);
        }
        break;
      }
      case PHASE_DATA_NOT_SET:
        break;
    }
  }
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

void ChromeSpecificPhaseLatenciesMetadata_Phase::CopyFrom(const ChromeSpecificPhaseLatenciesMetadata_Phase& from) {
  // @@protoc_insertion_point(class_specific_copy_from_start:lens.proto.lens_latencies_metadata.ChromeSpecificPhaseLatenciesMetadata.Phase)
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}


void ChromeSpecificPhaseLatenciesMetadata_Phase::InternalSwap(ChromeSpecificPhaseLatenciesMetadata_Phase* 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(ChromeSpecificPhaseLatenciesMetadata_Phase, _impl_.phase_type_)
      + sizeof(ChromeSpecificPhaseLatenciesMetadata_Phase::_impl_.phase_type_)
      - PROTOBUF_FIELD_OFFSET(ChromeSpecificPhaseLatenciesMetadata_Phase, _impl_.timestamp_)>(
          reinterpret_cast<char*>(&_impl_.timestamp_),
          reinterpret_cast<char*>(&other->_impl_.timestamp_));
  swap(_impl_.phase_data_, other->_impl_.phase_data_);
  swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]);
}

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

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

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

#else   // PROTOBUF_CUSTOM_VTABLE
    : ::google::protobuf::MessageLite(arena) {
#endif  // PROTOBUF_CUSTOM_VTABLE
  ChromeSpecificPhaseLatenciesMetadata* 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:lens.proto.lens_latencies_metadata.ChromeSpecificPhaseLatenciesMetadata)
}
PROTOBUF_NDEBUG_INLINE ChromeSpecificPhaseLatenciesMetadata::Impl_::Impl_(
    [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
    [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
      : _cached_size_{0},
        phase_ { visibility, ::_pbi::InternalMetadataOffset::Build<
            ::lens::proto::lens_latencies_metadata::ChromeSpecificPhaseLatenciesMetadata,
            PROTOBUF_FIELD_OFFSET(::lens::proto::lens_latencies_metadata::ChromeSpecificPhaseLatenciesMetadata, _impl_.phase_)>()
         }
     {}

inline void ChromeSpecificPhaseLatenciesMetadata::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
  new (&_impl_) Impl_(internal_visibility(), arena);
}
ChromeSpecificPhaseLatenciesMetadata::~ChromeSpecificPhaseLatenciesMetadata() {
  // @@protoc_insertion_point(destructor:lens.proto.lens_latencies_metadata.ChromeSpecificPhaseLatenciesMetadata)
  SharedDtor(*this);
}
inline void ChromeSpecificPhaseLatenciesMetadata::SharedDtor(MessageLite& self) {
  ChromeSpecificPhaseLatenciesMetadata& this_ = static_cast<ChromeSpecificPhaseLatenciesMetadata&>(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 ChromeSpecificPhaseLatenciesMetadata_class_data_ =
    ChromeSpecificPhaseLatenciesMetadata::InternalGenerateClassData_(ChromeSpecificPhaseLatenciesMetadata_globals_._default);

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

  cached_has_bits = _impl_._has_bits_[0];
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    _impl_.phase_.Clear();
  }
  _impl_._has_bits_.Clear();
  _internal_metadata_.Clear<::std::string>();
}

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

  cached_has_bits = this_._impl_._has_bits_[0];
  // repeated .lens.proto.lens_latencies_metadata.ChromeSpecificPhaseLatenciesMetadata.Phase phase = 1;
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    for (unsigned i = 0, n = static_cast<unsigned>(
                             this_._internal_phase_size());
         i < n; i++) {
      const auto& repfield = this_._internal_phase().Get(i);
      target =
          ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
              1, repfield, repfield.GetCachedSize(),
              target, stream);
    }
  }

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

#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t ChromeSpecificPhaseLatenciesMetadata::ByteSizeLong(const MessageLite& base) {
  const ChromeSpecificPhaseLatenciesMetadata& this_ = static_cast<const ChromeSpecificPhaseLatenciesMetadata&>(base);
#else   // PROTOBUF_CUSTOM_VTABLE
::size_t ChromeSpecificPhaseLatenciesMetadata::ByteSizeLong() const {
  const ChromeSpecificPhaseLatenciesMetadata& this_ = *this;
#endif  // PROTOBUF_CUSTOM_VTABLE
  // @@protoc_insertion_point(message_byte_size_start:lens.proto.lens_latencies_metadata.ChromeSpecificPhaseLatenciesMetadata)
  ::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_);
   {
    // repeated .lens.proto.lens_latencies_metadata.ChromeSpecificPhaseLatenciesMetadata.Phase phase = 1;
    cached_has_bits = this_._impl_._has_bits_[0];
    if (CheckHasBit(cached_has_bits, 0x00000001U)) {
      total_size += 1UL * this_._internal_phase_size();
      for (const auto& msg : this_._internal_phase()) {
        total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
      }
    }
  }
  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 ChromeSpecificPhaseLatenciesMetadata::MergeImpl(::google::protobuf::MessageLite& to_msg,
                      const ::google::protobuf::MessageLite& from_msg) {
   auto* const _this = static_cast<ChromeSpecificPhaseLatenciesMetadata*>(&to_msg);
  auto& from = static_cast<const ChromeSpecificPhaseLatenciesMetadata&>(from_msg);
  if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
    from.CheckHasBitConsistency();
  }
  ::google::protobuf::Arena* arena = _this->GetArena();
  // @@protoc_insertion_point(class_specific_merge_from_start:lens.proto.lens_latencies_metadata.ChromeSpecificPhaseLatenciesMetadata)
  ABSL_DCHECK_NE(&from, _this);
  ::uint32_t cached_has_bits = 0;
  (void)cached_has_bits;

  cached_has_bits = from._impl_._has_bits_[0];
  if (CheckHasBit(cached_has_bits, 0x00000001U)) {
    _this->_internal_mutable_phase()->InternalMergeFromWithArena(
        ::google::protobuf::MessageLite::internal_visibility(), arena,
        from._internal_phase());
  }
  _this->_impl_._has_bits_[0] |= cached_has_bits;
  _this->_internal_metadata_.MergeFrom<::std::string>(
      from._internal_metadata_);
}

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


void ChromeSpecificPhaseLatenciesMetadata::InternalSwap(ChromeSpecificPhaseLatenciesMetadata* 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_.phase_.InternalSwap(&other->_impl_.phase_);
}

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