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

#ifndef third_5fparty_2fmetrics_5fproto_2fukm_2faggregate_2eproto_2epb_2eh
#define third_5fparty_2fmetrics_5fproto_2fukm_2faggregate_2eproto_2epb_2eh

#include <limits>
#include <string>
#include <type_traits>
#include <utility>

// clang-format off
#include "google/protobuf/runtime_version.h"
#if PROTOBUF_VERSION != 7035001
#error "Protobuf C++ gencode is built with an incompatible version of"
#error "Protobuf C++ headers/runtime. See"
#error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp"
#endif
#include "google/protobuf/io/coded_stream.h"
#include "google/protobuf/arena.h"
#include "google/protobuf/arenastring.h"
#include "google/protobuf/generated_message_tctable_decl.h"
#include "google/protobuf/generated_message_util.h"
#include "google/protobuf/metadata_lite.h"
#include "google/protobuf/message_lite.h"
#include "google/protobuf/repeated_field.h"  // IWYU pragma: export
#include "google/protobuf/extension_set.h"  // IWYU pragma: export
// @@protoc_insertion_point(includes)

// Must be included last.
#include "google/protobuf/port_def.inc"

#define PROTOBUF_INTERNAL_EXPORT_third_5fparty_2fmetrics_5fproto_2fukm_2faggregate_2eproto

namespace google {
namespace protobuf {
namespace internal {
template <typename T>
::absl::string_view GetAnyMessageName();
}  // namespace internal
}  // namespace protobuf
}  // namespace google

// Internal implementation detail -- do not use these members.
struct TableStruct_third_5fparty_2fmetrics_5fproto_2fukm_2faggregate_2eproto {
  static const ::uint32_t offsets[];
};
namespace ukm {
class Aggregate;
struct AggregateGlobalsTypeInternal;
#ifndef PROTOBUF_MESSAGE_GLOBALS
extern AggregateGlobalsTypeInternal Aggregate_globals_;
extern const ::google::protobuf::internal::ClassDataLite Aggregate_class_data_;
#else
extern const AggregateGlobalsTypeInternal Aggregate_globals_;
#endif  // PROTOBUF_MESSAGE_GLOBALS
class Aggregate_Metric;
struct Aggregate_MetricGlobalsTypeInternal;
#ifndef PROTOBUF_MESSAGE_GLOBALS
extern Aggregate_MetricGlobalsTypeInternal Aggregate_Metric_globals_;
extern const ::google::protobuf::internal::ClassDataLite Aggregate_Metric_class_data_;
#else
extern const Aggregate_MetricGlobalsTypeInternal Aggregate_Metric_globals_;
#endif  // PROTOBUF_MESSAGE_GLOBALS
}  // namespace ukm
namespace google {
namespace protobuf {
}  // namespace protobuf
}  // namespace google

namespace ukm {

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


// -------------------------------------------------------------------

class  Aggregate_Metric final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:ukm.Aggregate.Metric) */ {
 public:
  inline Aggregate_Metric() : Aggregate_Metric(nullptr) {}
  ~Aggregate_Metric() PROTOBUF_FINAL;

#if defined(PROTOBUF_CUSTOM_VTABLE)
  void operator delete(Aggregate_Metric* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
    SharedDtor(*msg);
    ::google::protobuf::internal::SizedDelete(msg, sizeof(Aggregate_Metric));
  }
#endif

  template <typename = void>
  explicit constexpr Aggregate_Metric(::google::protobuf::internal::ConstantInitialized,
                           const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
                               class_data);

  inline Aggregate_Metric(const Aggregate_Metric& from) : Aggregate_Metric(nullptr, from) {}
  inline Aggregate_Metric(Aggregate_Metric&& from) noexcept : Aggregate_Metric(nullptr, ::std::move(from)) {}
  inline Aggregate_Metric& operator=(const Aggregate_Metric& from) {
    CopyFrom(from);
    return *this;
  }
  inline Aggregate_Metric& operator=(Aggregate_Metric&& from) noexcept {
    if (this == &from) return *this;
    if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
      InternalSwap(&from);
    } else {
      CopyFrom(from);
    }
    return *this;
  }

  inline const ::std::string& unknown_fields() const
      ABSL_ATTRIBUTE_LIFETIME_BOUND {
    return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
  }
  inline ::std::string* PROTOBUF_NONNULL
  mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND {
    return _internal_metadata_.mutable_unknown_fields<::std::string>();
  }

  static const Aggregate_Metric& default_instance() {
    return *::google::protobuf::internal::MessageGlobalsBase::ToDefaultInstance<Aggregate_Metric>(&Aggregate_Metric_globals_);
  }
  static constexpr int kIndexInFileMessages = 0;
  friend void swap(Aggregate_Metric& a, Aggregate_Metric& b) { a.Swap(&b); }
  PROTOBUF_NOINLINE void Swap(Aggregate_Metric* PROTOBUF_NONNULL other) {
    if (other == this) return;
    if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
      InternalSwap(other);
    } else {
      ::google::protobuf::internal::GenericSwap(this, other);
    }
  }
  void UnsafeArenaSwap(Aggregate_Metric* PROTOBUF_NONNULL other) {
    if (other == this) return;
    ABSL_DCHECK(GetArena() == other->GetArena());
    InternalSwap(other);
  }

  // implements Message ----------------------------------------------

  Aggregate_Metric* PROTOBUF_NONNULL
  New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
    return ::google::protobuf::MessageLite::DefaultConstruct<Aggregate_Metric>(arena);
  }
  void CopyFrom(const Aggregate_Metric& from);
  void MergeFrom(const Aggregate_Metric& from) { Aggregate_Metric::MergeImpl(*this, from); }

  private:
  static void MergeImpl(::google::protobuf::MessageLite& to_msg,
                        const ::google::protobuf::MessageLite& from_msg);

  public:
  bool IsInitialized() const {
    return true;
  }
  ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
  #if defined(PROTOBUF_CUSTOM_VTABLE)
  private:
  static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
  static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
      const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
      ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);

  public:
  ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
  ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
      ::uint8_t* PROTOBUF_NONNULL target,
      ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
    return _InternalSerialize(*this, target, stream);
  }
  #else   // PROTOBUF_CUSTOM_VTABLE
  ::size_t ByteSizeLong() const final;
  ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
      ::uint8_t* PROTOBUF_NONNULL target,
      ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
  #endif  // PROTOBUF_CUSTOM_VTABLE
  int GetCachedSize() const {
    return _impl_._cached_size_.Get();
  }

  private:
  void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  static void SharedDtor(MessageLite& self);
  void InternalSwap(Aggregate_Metric* PROTOBUF_NONNULL other);
 private:
  template <typename T>
  friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
  static ::absl::string_view FullMessageName() { return "ukm.Aggregate.Metric"; }

  explicit Aggregate_Metric(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  Aggregate_Metric(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Aggregate_Metric& from);
  Aggregate_Metric(
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, Aggregate_Metric&& from) noexcept
      : Aggregate_Metric(arena) {
    *this = ::std::move(from);
  }
  const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
  static void* PROTOBUF_NONNULL PlacementNew_(
      const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  static constexpr auto InternalNewImpl_();

 public:
  static constexpr auto InternalGenerateClassData_(
      const MessageLite& prototype,
      const ::google::protobuf::internal::TcParseTableBase* PROTOBUF_NULLABLE tc_table = nullptr);

  // nested types ----------------------------------------------------

  // accessors -------------------------------------------------------
  enum : int {
    kMetricHashFieldNumber = 1,
    kValueSumFieldNumber = 2,
    kValueSquareSumFieldNumber = 3,
    kTotalCountFieldNumber = 4,
    kDroppedDueToLimitsFieldNumber = 5,
    kDroppedDueToSamplingFieldNumber = 6,
    kDroppedDueToFilterFieldNumber = 8,
    kDroppedDueToUnconfiguredFieldNumber = 9,
  };
  // fixed64 metric_hash = 1;
  bool has_metric_hash()
      const;
  void clear_metric_hash() ;
  ::uint64_t metric_hash() const;
  void set_metric_hash(::uint64_t value);

  private:
  ::uint64_t _internal_metric_hash() const;
  void _internal_set_metric_hash(::uint64_t value);

  public:
  // double value_sum = 2;
  bool has_value_sum()
      const;
  void clear_value_sum() ;
  double value_sum() const;
  void set_value_sum(double value);

  private:
  double _internal_value_sum() const;
  void _internal_set_value_sum(double value);

  public:
  // double value_square_sum = 3;
  bool has_value_square_sum()
      const;
  void clear_value_square_sum() ;
  double value_square_sum() const;
  void set_value_square_sum(double value);

  private:
  double _internal_value_square_sum() const;
  void _internal_set_value_square_sum(double value);

  public:
  // uint64 total_count = 4;
  bool has_total_count()
      const;
  void clear_total_count() ;
  ::uint64_t total_count() const;
  void set_total_count(::uint64_t value);

  private:
  ::uint64_t _internal_total_count() const;
  void _internal_set_total_count(::uint64_t value);

  public:
  // uint64 dropped_due_to_limits = 5;
  bool has_dropped_due_to_limits()
      const;
  void clear_dropped_due_to_limits() ;
  ::uint64_t dropped_due_to_limits() const;
  void set_dropped_due_to_limits(::uint64_t value);

  private:
  ::uint64_t _internal_dropped_due_to_limits() const;
  void _internal_set_dropped_due_to_limits(::uint64_t value);

  public:
  // uint64 dropped_due_to_sampling = 6;
  bool has_dropped_due_to_sampling()
      const;
  void clear_dropped_due_to_sampling() ;
  ::uint64_t dropped_due_to_sampling() const;
  void set_dropped_due_to_sampling(::uint64_t value);

  private:
  ::uint64_t _internal_dropped_due_to_sampling() const;
  void _internal_set_dropped_due_to_sampling(::uint64_t value);

  public:
  // uint64 dropped_due_to_filter = 8;
  bool has_dropped_due_to_filter()
      const;
  void clear_dropped_due_to_filter() ;
  ::uint64_t dropped_due_to_filter() const;
  void set_dropped_due_to_filter(::uint64_t value);

  private:
  ::uint64_t _internal_dropped_due_to_filter() const;
  void _internal_set_dropped_due_to_filter(::uint64_t value);

  public:
  // uint64 dropped_due_to_unconfigured = 9;
  bool has_dropped_due_to_unconfigured()
      const;
  void clear_dropped_due_to_unconfigured() ;
  ::uint64_t dropped_due_to_unconfigured() const;
  void set_dropped_due_to_unconfigured(::uint64_t value);

  private:
  ::uint64_t _internal_dropped_due_to_unconfigured() const;
  void _internal_set_dropped_due_to_unconfigured(::uint64_t value);

  public:
  // @@protoc_insertion_point(class_scope:ukm.Aggregate.Metric)
 private:
  class _Internal;
  using ParseTableT_ =
      ::google::protobuf::internal::TcParseTable<4, 8,
                          0, 0,
                          2>;
  static constexpr ParseTableT_ InternalGenerateParseTable_(
      const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL class_data);
  friend class ::google::protobuf::internal::TcParser;
  #ifndef PROTOBUF_MESSAGE_GLOBALS
  static const ParseTableT_ _table_;
  #endif

  friend class ::google::protobuf::MessageLite;
  friend class ::google::protobuf::Arena;
  friend ::google::protobuf::internal::PrivateAccess;
  template <typename T>
  friend class ::google::protobuf::Arena::InternalHelper;
  using InternalArenaConstructable_ = void;
  using DestructorSkippable_ = void;
  struct Impl_ {
    inline explicit constexpr Impl_(::google::protobuf::internal::InternalVisibility visibility,
                                    ::google::protobuf::internal::ConstantInitialized) noexcept;
    inline explicit Impl_(
        ::google::protobuf::internal::InternalVisibility visibility,
        ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
    inline explicit Impl_(
        ::google::protobuf::internal::InternalVisibility visibility,
        ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
        const Aggregate_Metric& from_msg);
    ::google::protobuf::internal::HasBits<1> _has_bits_;
    ::google::protobuf::internal::CachedSize _cached_size_;
    ::uint64_t metric_hash_;
    double value_sum_;
    double value_square_sum_;
    ::uint64_t total_count_;
    ::uint64_t dropped_due_to_limits_;
    ::uint64_t dropped_due_to_sampling_;
    ::uint64_t dropped_due_to_filter_;
    ::uint64_t dropped_due_to_unconfigured_;
    PROTOBUF_TSAN_DECLARE_MEMBER
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_third_5fparty_2fmetrics_5fproto_2fukm_2faggregate_2eproto;
};
// -------------------------------------------------------------------

class  Aggregate final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:ukm.Aggregate) */ {
 public:
  inline Aggregate() : Aggregate(nullptr) {}
  ~Aggregate() PROTOBUF_FINAL;

#if defined(PROTOBUF_CUSTOM_VTABLE)
  void operator delete(Aggregate* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
    SharedDtor(*msg);
    ::google::protobuf::internal::SizedDelete(msg, sizeof(Aggregate));
  }
#endif

  template <typename = void>
  explicit constexpr Aggregate(::google::protobuf::internal::ConstantInitialized,
                           const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
                               class_data);

  inline Aggregate(const Aggregate& from) : Aggregate(nullptr, from) {}
  inline Aggregate(Aggregate&& from) noexcept : Aggregate(nullptr, ::std::move(from)) {}
  inline Aggregate& operator=(const Aggregate& from) {
    CopyFrom(from);
    return *this;
  }
  inline Aggregate& operator=(Aggregate&& from) noexcept {
    if (this == &from) return *this;
    if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
      InternalSwap(&from);
    } else {
      CopyFrom(from);
    }
    return *this;
  }

  inline const ::std::string& unknown_fields() const
      ABSL_ATTRIBUTE_LIFETIME_BOUND {
    return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
  }
  inline ::std::string* PROTOBUF_NONNULL
  mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND {
    return _internal_metadata_.mutable_unknown_fields<::std::string>();
  }

  static const Aggregate& default_instance() {
    return *::google::protobuf::internal::MessageGlobalsBase::ToDefaultInstance<Aggregate>(&Aggregate_globals_);
  }
  static constexpr int kIndexInFileMessages = 1;
  friend void swap(Aggregate& a, Aggregate& b) { a.Swap(&b); }
  PROTOBUF_NOINLINE void Swap(Aggregate* PROTOBUF_NONNULL other) {
    if (other == this) return;
    if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
      InternalSwap(other);
    } else {
      ::google::protobuf::internal::GenericSwap(this, other);
    }
  }
  void UnsafeArenaSwap(Aggregate* PROTOBUF_NONNULL other) {
    if (other == this) return;
    ABSL_DCHECK(GetArena() == other->GetArena());
    InternalSwap(other);
  }

  // implements Message ----------------------------------------------

  Aggregate* PROTOBUF_NONNULL
  New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
    return ::google::protobuf::MessageLite::DefaultConstruct<Aggregate>(arena);
  }
  void CopyFrom(const Aggregate& from);
  void MergeFrom(const Aggregate& from) { Aggregate::MergeImpl(*this, from); }

  private:
  static void MergeImpl(::google::protobuf::MessageLite& to_msg,
                        const ::google::protobuf::MessageLite& from_msg);

  public:
  bool IsInitialized() const {
    return true;
  }
  ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
  #if defined(PROTOBUF_CUSTOM_VTABLE)
  private:
  static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
  static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
      const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
      ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);

  public:
  ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
  ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
      ::uint8_t* PROTOBUF_NONNULL target,
      ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
    return _InternalSerialize(*this, target, stream);
  }
  #else   // PROTOBUF_CUSTOM_VTABLE
  ::size_t ByteSizeLong() const final;
  ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
      ::uint8_t* PROTOBUF_NONNULL target,
      ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
  #endif  // PROTOBUF_CUSTOM_VTABLE
  int GetCachedSize() const {
    return _impl_._cached_size_.Get();
  }

  private:
  void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  static void SharedDtor(MessageLite& self);
  void InternalSwap(Aggregate* PROTOBUF_NONNULL other);
 private:
  template <typename T>
  friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
  static ::absl::string_view FullMessageName() { return "ukm.Aggregate"; }

  explicit Aggregate(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  Aggregate(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Aggregate& from);
  Aggregate(
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, Aggregate&& from) noexcept
      : Aggregate(arena) {
    *this = ::std::move(from);
  }
  const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
  static void* PROTOBUF_NONNULL PlacementNew_(
      const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  static constexpr auto InternalNewImpl_();

 public:
  static constexpr auto InternalGenerateClassData_(
      const MessageLite& prototype,
      const ::google::protobuf::internal::TcParseTableBase* PROTOBUF_NULLABLE tc_table = nullptr);

  // nested types ----------------------------------------------------
  using Metric = Aggregate_Metric;

  // accessors -------------------------------------------------------
  enum : int {
    kMetricsFieldNumber = 6,
    kSourceIdFieldNumber = 1,
    kEventHashFieldNumber = 2,
    kTotalCountFieldNumber = 3,
    kDroppedDueToLimitsFieldNumber = 4,
    kDroppedDueToSamplingFieldNumber = 5,
    kDroppedDueToFilterFieldNumber = 8,
    kDroppedDueToUnconfiguredFieldNumber = 9,
  };
  // repeated .ukm.Aggregate.Metric metrics = 6;
  int metrics_size()
      const;
  private:
  int _internal_metrics_size() const;

  public:
  void clear_metrics() ;
  const ::ukm::Aggregate_Metric& metrics(int index) const;
  ::ukm::Aggregate_Metric* PROTOBUF_NONNULL mutable_metrics(int index);
  ::ukm::Aggregate_Metric* PROTOBUF_NONNULL add_metrics();
  const ::google::protobuf::RepeatedPtrField<::ukm::Aggregate_Metric>&
  metrics() const;
  ::google::protobuf::RepeatedPtrField<::ukm::Aggregate_Metric>* PROTOBUF_NONNULL
  mutable_metrics();

  private:
  const ::google::protobuf::RepeatedPtrField<::ukm::Aggregate_Metric>& _internal_metrics() const;
  ::google::protobuf::RepeatedPtrField<::ukm::Aggregate_Metric>* PROTOBUF_NONNULL _internal_mutable_metrics();

  public:
  // int64 source_id = 1;
  bool has_source_id()
      const;
  void clear_source_id() ;
  ::int64_t source_id() const;
  void set_source_id(::int64_t value);

  private:
  ::int64_t _internal_source_id() const;
  void _internal_set_source_id(::int64_t value);

  public:
  // fixed64 event_hash = 2;
  bool has_event_hash()
      const;
  void clear_event_hash() ;
  ::uint64_t event_hash() const;
  void set_event_hash(::uint64_t value);

  private:
  ::uint64_t _internal_event_hash() const;
  void _internal_set_event_hash(::uint64_t value);

  public:
  // uint64 total_count = 3;
  bool has_total_count()
      const;
  void clear_total_count() ;
  ::uint64_t total_count() const;
  void set_total_count(::uint64_t value);

  private:
  ::uint64_t _internal_total_count() const;
  void _internal_set_total_count(::uint64_t value);

  public:
  // uint64 dropped_due_to_limits = 4;
  bool has_dropped_due_to_limits()
      const;
  void clear_dropped_due_to_limits() ;
  ::uint64_t dropped_due_to_limits() const;
  void set_dropped_due_to_limits(::uint64_t value);

  private:
  ::uint64_t _internal_dropped_due_to_limits() const;
  void _internal_set_dropped_due_to_limits(::uint64_t value);

  public:
  // uint64 dropped_due_to_sampling = 5;
  bool has_dropped_due_to_sampling()
      const;
  void clear_dropped_due_to_sampling() ;
  ::uint64_t dropped_due_to_sampling() const;
  void set_dropped_due_to_sampling(::uint64_t value);

  private:
  ::uint64_t _internal_dropped_due_to_sampling() const;
  void _internal_set_dropped_due_to_sampling(::uint64_t value);

  public:
  // uint64 dropped_due_to_filter = 8;
  bool has_dropped_due_to_filter()
      const;
  void clear_dropped_due_to_filter() ;
  ::uint64_t dropped_due_to_filter() const;
  void set_dropped_due_to_filter(::uint64_t value);

  private:
  ::uint64_t _internal_dropped_due_to_filter() const;
  void _internal_set_dropped_due_to_filter(::uint64_t value);

  public:
  // uint64 dropped_due_to_unconfigured = 9;
  bool has_dropped_due_to_unconfigured()
      const;
  void clear_dropped_due_to_unconfigured() ;
  ::uint64_t dropped_due_to_unconfigured() const;
  void set_dropped_due_to_unconfigured(::uint64_t value);

  private:
  ::uint64_t _internal_dropped_due_to_unconfigured() const;
  void _internal_set_dropped_due_to_unconfigured(::uint64_t value);

  public:
  // @@protoc_insertion_point(class_scope:ukm.Aggregate)
 private:
  class _Internal;
  using ParseTableT_ =
      ::google::protobuf::internal::TcParseTable<4, 8,
                          1, 0,
                          2>;
  static constexpr ParseTableT_ InternalGenerateParseTable_(
      const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL class_data);
  friend class ::google::protobuf::internal::TcParser;
  #ifndef PROTOBUF_MESSAGE_GLOBALS
  static const ParseTableT_ _table_;
  #endif

  friend class ::google::protobuf::MessageLite;
  friend class ::google::protobuf::Arena;
  friend ::google::protobuf::internal::PrivateAccess;
  template <typename T>
  friend class ::google::protobuf::Arena::InternalHelper;
  using InternalArenaConstructable_ = void;
  using DestructorSkippable_ = void;
  struct Impl_ {
    inline explicit constexpr Impl_(::google::protobuf::internal::InternalVisibility visibility,
                                    ::google::protobuf::internal::ConstantInitialized) noexcept;
    inline explicit Impl_(
        ::google::protobuf::internal::InternalVisibility visibility,
        ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
    inline explicit Impl_(
        ::google::protobuf::internal::InternalVisibility visibility,
        ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
        const Aggregate& from_msg);
    ::google::protobuf::internal::HasBits<1> _has_bits_;
    ::google::protobuf::internal::CachedSize _cached_size_;
    ::google::protobuf::RepeatedPtrField< ::ukm::Aggregate_Metric > metrics_;
    ::int64_t source_id_;
    ::uint64_t event_hash_;
    ::uint64_t total_count_;
    ::uint64_t dropped_due_to_limits_;
    ::uint64_t dropped_due_to_sampling_;
    ::uint64_t dropped_due_to_filter_;
    ::uint64_t dropped_due_to_unconfigured_;
    PROTOBUF_TSAN_DECLARE_MEMBER
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_third_5fparty_2fmetrics_5fproto_2fukm_2faggregate_2eproto;
};

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




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


#ifdef __GNUC__
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
#endif  // __GNUC__
// -------------------------------------------------------------------

// Aggregate_Metric

// fixed64 metric_hash = 1;
inline bool Aggregate_Metric::has_metric_hash() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
  return value;
}
inline void Aggregate_Metric::clear_metric_hash() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.metric_hash_ = ::uint64_t{0u};
  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
}
inline ::uint64_t Aggregate_Metric::metric_hash() const {
  // @@protoc_insertion_point(field_get:ukm.Aggregate.Metric.metric_hash)
  return _internal_metric_hash();
}
inline void Aggregate_Metric::set_metric_hash(::uint64_t value) {
  _internal_set_metric_hash(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  // @@protoc_insertion_point(field_set:ukm.Aggregate.Metric.metric_hash)
}
inline ::uint64_t Aggregate_Metric::_internal_metric_hash() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.metric_hash_;
}
inline void Aggregate_Metric::_internal_set_metric_hash(::uint64_t value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.metric_hash_ = value;
}

// double value_sum = 2;
inline bool Aggregate_Metric::has_value_sum() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
  return value;
}
inline void Aggregate_Metric::clear_value_sum() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.value_sum_ = 0;
  ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
}
inline double Aggregate_Metric::value_sum() const {
  // @@protoc_insertion_point(field_get:ukm.Aggregate.Metric.value_sum)
  return _internal_value_sum();
}
inline void Aggregate_Metric::set_value_sum(double value) {
  _internal_set_value_sum(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000002U);
  // @@protoc_insertion_point(field_set:ukm.Aggregate.Metric.value_sum)
}
inline double Aggregate_Metric::_internal_value_sum() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.value_sum_;
}
inline void Aggregate_Metric::_internal_set_value_sum(double value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.value_sum_ = value;
}

// double value_square_sum = 3;
inline bool Aggregate_Metric::has_value_square_sum() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
  return value;
}
inline void Aggregate_Metric::clear_value_square_sum() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.value_square_sum_ = 0;
  ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
}
inline double Aggregate_Metric::value_square_sum() const {
  // @@protoc_insertion_point(field_get:ukm.Aggregate.Metric.value_square_sum)
  return _internal_value_square_sum();
}
inline void Aggregate_Metric::set_value_square_sum(double value) {
  _internal_set_value_square_sum(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000004U);
  // @@protoc_insertion_point(field_set:ukm.Aggregate.Metric.value_square_sum)
}
inline double Aggregate_Metric::_internal_value_square_sum() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.value_square_sum_;
}
inline void Aggregate_Metric::_internal_set_value_square_sum(double value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.value_square_sum_ = value;
}

// uint64 total_count = 4;
inline bool Aggregate_Metric::has_total_count() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000008U);
  return value;
}
inline void Aggregate_Metric::clear_total_count() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.total_count_ = ::uint64_t{0u};
  ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
}
inline ::uint64_t Aggregate_Metric::total_count() const {
  // @@protoc_insertion_point(field_get:ukm.Aggregate.Metric.total_count)
  return _internal_total_count();
}
inline void Aggregate_Metric::set_total_count(::uint64_t value) {
  _internal_set_total_count(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000008U);
  // @@protoc_insertion_point(field_set:ukm.Aggregate.Metric.total_count)
}
inline ::uint64_t Aggregate_Metric::_internal_total_count() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.total_count_;
}
inline void Aggregate_Metric::_internal_set_total_count(::uint64_t value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.total_count_ = value;
}

// uint64 dropped_due_to_limits = 5;
inline bool Aggregate_Metric::has_dropped_due_to_limits() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000010U);
  return value;
}
inline void Aggregate_Metric::clear_dropped_due_to_limits() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.dropped_due_to_limits_ = ::uint64_t{0u};
  ClearHasBit(_impl_._has_bits_[0], 0x00000010U);
}
inline ::uint64_t Aggregate_Metric::dropped_due_to_limits() const {
  // @@protoc_insertion_point(field_get:ukm.Aggregate.Metric.dropped_due_to_limits)
  return _internal_dropped_due_to_limits();
}
inline void Aggregate_Metric::set_dropped_due_to_limits(::uint64_t value) {
  _internal_set_dropped_due_to_limits(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000010U);
  // @@protoc_insertion_point(field_set:ukm.Aggregate.Metric.dropped_due_to_limits)
}
inline ::uint64_t Aggregate_Metric::_internal_dropped_due_to_limits() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.dropped_due_to_limits_;
}
inline void Aggregate_Metric::_internal_set_dropped_due_to_limits(::uint64_t value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.dropped_due_to_limits_ = value;
}

// uint64 dropped_due_to_sampling = 6;
inline bool Aggregate_Metric::has_dropped_due_to_sampling() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000020U);
  return value;
}
inline void Aggregate_Metric::clear_dropped_due_to_sampling() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.dropped_due_to_sampling_ = ::uint64_t{0u};
  ClearHasBit(_impl_._has_bits_[0], 0x00000020U);
}
inline ::uint64_t Aggregate_Metric::dropped_due_to_sampling() const {
  // @@protoc_insertion_point(field_get:ukm.Aggregate.Metric.dropped_due_to_sampling)
  return _internal_dropped_due_to_sampling();
}
inline void Aggregate_Metric::set_dropped_due_to_sampling(::uint64_t value) {
  _internal_set_dropped_due_to_sampling(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000020U);
  // @@protoc_insertion_point(field_set:ukm.Aggregate.Metric.dropped_due_to_sampling)
}
inline ::uint64_t Aggregate_Metric::_internal_dropped_due_to_sampling() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.dropped_due_to_sampling_;
}
inline void Aggregate_Metric::_internal_set_dropped_due_to_sampling(::uint64_t value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.dropped_due_to_sampling_ = value;
}

// uint64 dropped_due_to_filter = 8;
inline bool Aggregate_Metric::has_dropped_due_to_filter() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000040U);
  return value;
}
inline void Aggregate_Metric::clear_dropped_due_to_filter() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.dropped_due_to_filter_ = ::uint64_t{0u};
  ClearHasBit(_impl_._has_bits_[0], 0x00000040U);
}
inline ::uint64_t Aggregate_Metric::dropped_due_to_filter() const {
  // @@protoc_insertion_point(field_get:ukm.Aggregate.Metric.dropped_due_to_filter)
  return _internal_dropped_due_to_filter();
}
inline void Aggregate_Metric::set_dropped_due_to_filter(::uint64_t value) {
  _internal_set_dropped_due_to_filter(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000040U);
  // @@protoc_insertion_point(field_set:ukm.Aggregate.Metric.dropped_due_to_filter)
}
inline ::uint64_t Aggregate_Metric::_internal_dropped_due_to_filter() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.dropped_due_to_filter_;
}
inline void Aggregate_Metric::_internal_set_dropped_due_to_filter(::uint64_t value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.dropped_due_to_filter_ = value;
}

// uint64 dropped_due_to_unconfigured = 9;
inline bool Aggregate_Metric::has_dropped_due_to_unconfigured() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000080U);
  return value;
}
inline void Aggregate_Metric::clear_dropped_due_to_unconfigured() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.dropped_due_to_unconfigured_ = ::uint64_t{0u};
  ClearHasBit(_impl_._has_bits_[0], 0x00000080U);
}
inline ::uint64_t Aggregate_Metric::dropped_due_to_unconfigured() const {
  // @@protoc_insertion_point(field_get:ukm.Aggregate.Metric.dropped_due_to_unconfigured)
  return _internal_dropped_due_to_unconfigured();
}
inline void Aggregate_Metric::set_dropped_due_to_unconfigured(::uint64_t value) {
  _internal_set_dropped_due_to_unconfigured(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000080U);
  // @@protoc_insertion_point(field_set:ukm.Aggregate.Metric.dropped_due_to_unconfigured)
}
inline ::uint64_t Aggregate_Metric::_internal_dropped_due_to_unconfigured() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.dropped_due_to_unconfigured_;
}
inline void Aggregate_Metric::_internal_set_dropped_due_to_unconfigured(::uint64_t value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.dropped_due_to_unconfigured_ = value;
}

// -------------------------------------------------------------------

// Aggregate

// int64 source_id = 1;
inline bool Aggregate::has_source_id() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
  return value;
}
inline void Aggregate::clear_source_id() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.source_id_ = ::int64_t{0};
  ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
}
inline ::int64_t Aggregate::source_id() const {
  // @@protoc_insertion_point(field_get:ukm.Aggregate.source_id)
  return _internal_source_id();
}
inline void Aggregate::set_source_id(::int64_t value) {
  _internal_set_source_id(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000002U);
  // @@protoc_insertion_point(field_set:ukm.Aggregate.source_id)
}
inline ::int64_t Aggregate::_internal_source_id() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.source_id_;
}
inline void Aggregate::_internal_set_source_id(::int64_t value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.source_id_ = value;
}

// fixed64 event_hash = 2;
inline bool Aggregate::has_event_hash() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
  return value;
}
inline void Aggregate::clear_event_hash() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.event_hash_ = ::uint64_t{0u};
  ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
}
inline ::uint64_t Aggregate::event_hash() const {
  // @@protoc_insertion_point(field_get:ukm.Aggregate.event_hash)
  return _internal_event_hash();
}
inline void Aggregate::set_event_hash(::uint64_t value) {
  _internal_set_event_hash(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000004U);
  // @@protoc_insertion_point(field_set:ukm.Aggregate.event_hash)
}
inline ::uint64_t Aggregate::_internal_event_hash() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.event_hash_;
}
inline void Aggregate::_internal_set_event_hash(::uint64_t value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.event_hash_ = value;
}

// uint64 total_count = 3;
inline bool Aggregate::has_total_count() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000008U);
  return value;
}
inline void Aggregate::clear_total_count() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.total_count_ = ::uint64_t{0u};
  ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
}
inline ::uint64_t Aggregate::total_count() const {
  // @@protoc_insertion_point(field_get:ukm.Aggregate.total_count)
  return _internal_total_count();
}
inline void Aggregate::set_total_count(::uint64_t value) {
  _internal_set_total_count(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000008U);
  // @@protoc_insertion_point(field_set:ukm.Aggregate.total_count)
}
inline ::uint64_t Aggregate::_internal_total_count() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.total_count_;
}
inline void Aggregate::_internal_set_total_count(::uint64_t value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.total_count_ = value;
}

// uint64 dropped_due_to_limits = 4;
inline bool Aggregate::has_dropped_due_to_limits() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000010U);
  return value;
}
inline void Aggregate::clear_dropped_due_to_limits() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.dropped_due_to_limits_ = ::uint64_t{0u};
  ClearHasBit(_impl_._has_bits_[0], 0x00000010U);
}
inline ::uint64_t Aggregate::dropped_due_to_limits() const {
  // @@protoc_insertion_point(field_get:ukm.Aggregate.dropped_due_to_limits)
  return _internal_dropped_due_to_limits();
}
inline void Aggregate::set_dropped_due_to_limits(::uint64_t value) {
  _internal_set_dropped_due_to_limits(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000010U);
  // @@protoc_insertion_point(field_set:ukm.Aggregate.dropped_due_to_limits)
}
inline ::uint64_t Aggregate::_internal_dropped_due_to_limits() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.dropped_due_to_limits_;
}
inline void Aggregate::_internal_set_dropped_due_to_limits(::uint64_t value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.dropped_due_to_limits_ = value;
}

// uint64 dropped_due_to_sampling = 5;
inline bool Aggregate::has_dropped_due_to_sampling() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000020U);
  return value;
}
inline void Aggregate::clear_dropped_due_to_sampling() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.dropped_due_to_sampling_ = ::uint64_t{0u};
  ClearHasBit(_impl_._has_bits_[0], 0x00000020U);
}
inline ::uint64_t Aggregate::dropped_due_to_sampling() const {
  // @@protoc_insertion_point(field_get:ukm.Aggregate.dropped_due_to_sampling)
  return _internal_dropped_due_to_sampling();
}
inline void Aggregate::set_dropped_due_to_sampling(::uint64_t value) {
  _internal_set_dropped_due_to_sampling(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000020U);
  // @@protoc_insertion_point(field_set:ukm.Aggregate.dropped_due_to_sampling)
}
inline ::uint64_t Aggregate::_internal_dropped_due_to_sampling() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.dropped_due_to_sampling_;
}
inline void Aggregate::_internal_set_dropped_due_to_sampling(::uint64_t value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.dropped_due_to_sampling_ = value;
}

// uint64 dropped_due_to_filter = 8;
inline bool Aggregate::has_dropped_due_to_filter() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000040U);
  return value;
}
inline void Aggregate::clear_dropped_due_to_filter() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.dropped_due_to_filter_ = ::uint64_t{0u};
  ClearHasBit(_impl_._has_bits_[0], 0x00000040U);
}
inline ::uint64_t Aggregate::dropped_due_to_filter() const {
  // @@protoc_insertion_point(field_get:ukm.Aggregate.dropped_due_to_filter)
  return _internal_dropped_due_to_filter();
}
inline void Aggregate::set_dropped_due_to_filter(::uint64_t value) {
  _internal_set_dropped_due_to_filter(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000040U);
  // @@protoc_insertion_point(field_set:ukm.Aggregate.dropped_due_to_filter)
}
inline ::uint64_t Aggregate::_internal_dropped_due_to_filter() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.dropped_due_to_filter_;
}
inline void Aggregate::_internal_set_dropped_due_to_filter(::uint64_t value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.dropped_due_to_filter_ = value;
}

// uint64 dropped_due_to_unconfigured = 9;
inline bool Aggregate::has_dropped_due_to_unconfigured() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000080U);
  return value;
}
inline void Aggregate::clear_dropped_due_to_unconfigured() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.dropped_due_to_unconfigured_ = ::uint64_t{0u};
  ClearHasBit(_impl_._has_bits_[0], 0x00000080U);
}
inline ::uint64_t Aggregate::dropped_due_to_unconfigured() const {
  // @@protoc_insertion_point(field_get:ukm.Aggregate.dropped_due_to_unconfigured)
  return _internal_dropped_due_to_unconfigured();
}
inline void Aggregate::set_dropped_due_to_unconfigured(::uint64_t value) {
  _internal_set_dropped_due_to_unconfigured(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000080U);
  // @@protoc_insertion_point(field_set:ukm.Aggregate.dropped_due_to_unconfigured)
}
inline ::uint64_t Aggregate::_internal_dropped_due_to_unconfigured() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.dropped_due_to_unconfigured_;
}
inline void Aggregate::_internal_set_dropped_due_to_unconfigured(::uint64_t value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.dropped_due_to_unconfigured_ = value;
}

// repeated .ukm.Aggregate.Metric metrics = 6;
inline int Aggregate::_internal_metrics_size() const {
  return _internal_metrics().size();
}
inline int Aggregate::metrics_size() const {
  return _internal_metrics_size();
}
inline void Aggregate::clear_metrics() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.metrics_.Clear();
  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
}
inline const ::ukm::Aggregate_Metric& Aggregate::metrics(int index) const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:ukm.Aggregate.metrics)
  return _internal_metrics().Get(index);
}
inline ::ukm::Aggregate_Metric* PROTOBUF_NONNULL Aggregate::mutable_metrics(int index)
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_mutable:ukm.Aggregate.metrics)
  return _internal_mutable_metrics()->Mutable(index);
}
inline ::ukm::Aggregate_Metric* PROTOBUF_NONNULL Aggregate::add_metrics()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  ::ukm::Aggregate_Metric* _add =
      _internal_mutable_metrics()->InternalAddWithArena(
          ::google::protobuf::MessageLite::internal_visibility(), GetArena());
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  // @@protoc_insertion_point(field_add:ukm.Aggregate.metrics)
  return _add;
}
inline const ::google::protobuf::RepeatedPtrField<::ukm::Aggregate_Metric>& Aggregate::metrics() const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_list:ukm.Aggregate.metrics)
  return _internal_metrics();
}
inline ::google::protobuf::RepeatedPtrField<::ukm::Aggregate_Metric>* PROTOBUF_NONNULL
Aggregate::mutable_metrics() ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  // @@protoc_insertion_point(field_mutable_list:ukm.Aggregate.metrics)
  ::google::protobuf::internal::TSanWrite(&_impl_);
  return _internal_mutable_metrics();
}
inline const ::google::protobuf::RepeatedPtrField<::ukm::Aggregate_Metric>&
Aggregate::_internal_metrics() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.metrics_;
}
inline ::google::protobuf::RepeatedPtrField<::ukm::Aggregate_Metric>* PROTOBUF_NONNULL
Aggregate::_internal_mutable_metrics() {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return &_impl_.metrics_;
}

#ifdef __GNUC__
#pragma GCC diagnostic pop
#endif  // __GNUC__

// @@protoc_insertion_point(namespace_scope)
}  // namespace ukm


// @@protoc_insertion_point(global_scope)

#include "google/protobuf/port_undef.inc"
// clang-format on

#endif  // third_5fparty_2fmetrics_5fproto_2fukm_2faggregate_2eproto_2epb_2eh
