1 // Generated by the protocol buffer compiler.  DO NOT EDIT!
2 // source: ukm/entry.proto
3 
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_ukm_2fentry_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_ukm_2fentry_2eproto
6 
7 #include <limits>
8 #include <string>
9 
10 #include <google/protobuf/port_def.inc>
11 #if PROTOBUF_VERSION < 3021000
12 #error This file was generated by a newer version of protoc which is
13 #error incompatible with your Protocol Buffer headers. Please update
14 #error your headers.
15 #endif
16 #if 3021012 < PROTOBUF_MIN_PROTOC_VERSION
17 #error This file was generated by an older version of protoc which is
18 #error incompatible with your Protocol Buffer headers. Please
19 #error regenerate this file with a newer version of protoc.
20 #endif
21 
22 #include <google/protobuf/port_undef.inc>
23 #include <google/protobuf/io/coded_stream.h>
24 #include <google/protobuf/arena.h>
25 #include <google/protobuf/arenastring.h>
26 #include <google/protobuf/generated_message_util.h>
27 #include <google/protobuf/metadata_lite.h>
28 #include <google/protobuf/message_lite.h>
29 #include <google/protobuf/repeated_field.h>  // IWYU pragma: export
30 #include <google/protobuf/extension_set.h>  // IWYU pragma: export
31 // @@protoc_insertion_point(includes)
32 #include <google/protobuf/port_def.inc>
33 #define PROTOBUF_INTERNAL_EXPORT_ukm_2fentry_2eproto
34 PROTOBUF_NAMESPACE_OPEN
35 namespace internal {
36 class AnyMetadata;
37 }  // namespace internal
38 PROTOBUF_NAMESPACE_CLOSE
39 
40 // Internal implementation detail -- do not use these members.
41 struct TableStruct_ukm_2fentry_2eproto {
42   static const uint32_t offsets[];
43 };
44 namespace ukm {
45 class Entry;
46 struct EntryDefaultTypeInternal;
47 extern EntryDefaultTypeInternal _Entry_default_instance_;
48 class Entry_Metric;
49 struct Entry_MetricDefaultTypeInternal;
50 extern Entry_MetricDefaultTypeInternal _Entry_Metric_default_instance_;
51 }  // namespace ukm
52 PROTOBUF_NAMESPACE_OPEN
53 template<> ::ukm::Entry* Arena::CreateMaybeMessage<::ukm::Entry>(Arena*);
54 template<> ::ukm::Entry_Metric* Arena::CreateMaybeMessage<::ukm::Entry_Metric>(Arena*);
55 PROTOBUF_NAMESPACE_CLOSE
56 namespace ukm {
57 
58 // ===================================================================
59 
60 class Entry_Metric final :
61     public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:ukm.Entry.Metric) */ {
62  public:
Entry_Metric()63   inline Entry_Metric() : Entry_Metric(nullptr) {}
64   ~Entry_Metric() override;
65   explicit PROTOBUF_CONSTEXPR Entry_Metric(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
66 
67   Entry_Metric(const Entry_Metric& from);
Entry_Metric(Entry_Metric && from)68   Entry_Metric(Entry_Metric&& from) noexcept
69     : Entry_Metric() {
70     *this = ::std::move(from);
71   }
72 
73   inline Entry_Metric& operator=(const Entry_Metric& from) {
74     CopyFrom(from);
75     return *this;
76   }
77   inline Entry_Metric& operator=(Entry_Metric&& from) noexcept {
78     if (this == &from) return *this;
79     if (GetOwningArena() == from.GetOwningArena()
80   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
81         && GetOwningArena() != nullptr
82   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
83     ) {
84       InternalSwap(&from);
85     } else {
86       CopyFrom(from);
87     }
88     return *this;
89   }
90 
unknown_fields()91   inline const std::string& unknown_fields() const {
92     return _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString);
93   }
mutable_unknown_fields()94   inline std::string* mutable_unknown_fields() {
95     return _internal_metadata_.mutable_unknown_fields<std::string>();
96   }
97 
default_instance()98   static const Entry_Metric& default_instance() {
99     return *internal_default_instance();
100   }
internal_default_instance()101   static inline const Entry_Metric* internal_default_instance() {
102     return reinterpret_cast<const Entry_Metric*>(
103                &_Entry_Metric_default_instance_);
104   }
105   static constexpr int kIndexInFileMessages =
106     0;
107 
swap(Entry_Metric & a,Entry_Metric & b)108   friend void swap(Entry_Metric& a, Entry_Metric& b) {
109     a.Swap(&b);
110   }
Swap(Entry_Metric * other)111   PROTOBUF_NOINLINE void Swap(Entry_Metric* other) {
112     if (other == this) return;
113   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
114     if (GetOwningArena() != nullptr &&
115         GetOwningArena() == other->GetOwningArena()) {
116    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
117     if (GetOwningArena() == other->GetOwningArena()) {
118   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
119       InternalSwap(other);
120     } else {
121       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
122     }
123   }
124   void UnsafeArenaSwap(Entry_Metric* other) {
125     if (other == this) return;
126     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
127     InternalSwap(other);
128   }
129 
130   // implements Message ----------------------------------------------
131 
132   Entry_Metric* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
133     return CreateMaybeMessage<Entry_Metric>(arena);
134   }
135   void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)  final;
136   void CopyFrom(const Entry_Metric& from);
137   void MergeFrom(const Entry_Metric& from);
138   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
139   bool IsInitialized() const final;
140 
141   size_t ByteSizeLong() const final;
142   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
143   uint8_t* _InternalSerialize(
144       uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
145   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
146 
147   private:
148   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
149   void SharedDtor();
150   void SetCachedSize(int size) const;
151   void InternalSwap(Entry_Metric* other);
152 
153   private:
154   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
155   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
156     return "ukm.Entry.Metric";
157   }
158   protected:
159   explicit Entry_Metric(::PROTOBUF_NAMESPACE_ID::Arena* arena,
160                        bool is_message_owned = false);
161   public:
162 
163   std::string GetTypeName() const final;
164 
165   // nested types ----------------------------------------------------
166 
167   // accessors -------------------------------------------------------
168 
169   enum : int {
170     kMetricHashFieldNumber = 1,
171     kValueFieldNumber = 2,
172   };
173   // optional fixed64 metric_hash = 1;
174   bool has_metric_hash() const;
175   private:
176   bool _internal_has_metric_hash() const;
177   public:
178   void clear_metric_hash();
179   uint64_t metric_hash() const;
180   void set_metric_hash(uint64_t value);
181   private:
182   uint64_t _internal_metric_hash() const;
183   void _internal_set_metric_hash(uint64_t value);
184   public:
185 
186   // optional int64 value = 2;
187   bool has_value() const;
188   private:
189   bool _internal_has_value() const;
190   public:
191   void clear_value();
192   int64_t value() const;
193   void set_value(int64_t value);
194   private:
195   int64_t _internal_value() const;
196   void _internal_set_value(int64_t value);
197   public:
198 
199   // @@protoc_insertion_point(class_scope:ukm.Entry.Metric)
200  private:
201   class _Internal;
202 
203   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
204   typedef void InternalArenaConstructable_;
205   typedef void DestructorSkippable_;
206   struct Impl_ {
207     ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
208     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
209     uint64_t metric_hash_;
210     int64_t value_;
211   };
212   union { Impl_ _impl_; };
213   friend struct ::TableStruct_ukm_2fentry_2eproto;
214 };
215 // -------------------------------------------------------------------
216 
217 class Entry final :
218     public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:ukm.Entry) */ {
219  public:
Entry()220   inline Entry() : Entry(nullptr) {}
221   ~Entry() override;
222   explicit PROTOBUF_CONSTEXPR Entry(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
223 
224   Entry(const Entry& from);
Entry(Entry && from)225   Entry(Entry&& from) noexcept
226     : Entry() {
227     *this = ::std::move(from);
228   }
229 
230   inline Entry& operator=(const Entry& from) {
231     CopyFrom(from);
232     return *this;
233   }
234   inline Entry& operator=(Entry&& from) noexcept {
235     if (this == &from) return *this;
236     if (GetOwningArena() == from.GetOwningArena()
237   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
238         && GetOwningArena() != nullptr
239   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
240     ) {
241       InternalSwap(&from);
242     } else {
243       CopyFrom(from);
244     }
245     return *this;
246   }
247 
unknown_fields()248   inline const std::string& unknown_fields() const {
249     return _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString);
250   }
mutable_unknown_fields()251   inline std::string* mutable_unknown_fields() {
252     return _internal_metadata_.mutable_unknown_fields<std::string>();
253   }
254 
default_instance()255   static const Entry& default_instance() {
256     return *internal_default_instance();
257   }
internal_default_instance()258   static inline const Entry* internal_default_instance() {
259     return reinterpret_cast<const Entry*>(
260                &_Entry_default_instance_);
261   }
262   static constexpr int kIndexInFileMessages =
263     1;
264 
swap(Entry & a,Entry & b)265   friend void swap(Entry& a, Entry& b) {
266     a.Swap(&b);
267   }
Swap(Entry * other)268   PROTOBUF_NOINLINE void Swap(Entry* other) {
269     if (other == this) return;
270   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
271     if (GetOwningArena() != nullptr &&
272         GetOwningArena() == other->GetOwningArena()) {
273    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
274     if (GetOwningArena() == other->GetOwningArena()) {
275   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
276       InternalSwap(other);
277     } else {
278       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
279     }
280   }
281   void UnsafeArenaSwap(Entry* other) {
282     if (other == this) return;
283     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
284     InternalSwap(other);
285   }
286 
287   // implements Message ----------------------------------------------
288 
289   Entry* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
290     return CreateMaybeMessage<Entry>(arena);
291   }
292   void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)  final;
293   void CopyFrom(const Entry& from);
294   void MergeFrom(const Entry& from);
295   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
296   bool IsInitialized() const final;
297 
298   size_t ByteSizeLong() const final;
299   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
300   uint8_t* _InternalSerialize(
301       uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
302   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
303 
304   private:
305   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
306   void SharedDtor();
307   void SetCachedSize(int size) const;
308   void InternalSwap(Entry* other);
309 
310   private:
311   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
312   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
313     return "ukm.Entry";
314   }
315   protected:
316   explicit Entry(::PROTOBUF_NAMESPACE_ID::Arena* arena,
317                        bool is_message_owned = false);
318   public:
319 
320   std::string GetTypeName() const final;
321 
322   // nested types ----------------------------------------------------
323 
324   typedef Entry_Metric Metric;
325 
326   // accessors -------------------------------------------------------
327 
328   enum : int {
329     kMetricsFieldNumber = 5,
330     kDEPRECATEDIdFieldNumber = 1,
331     kDEPRECATEDParentIdFieldNumber = 2,
332     kSourceIdFieldNumber = 3,
333     kEventHashFieldNumber = 4,
334   };
335   // repeated .ukm.Entry.Metric metrics = 5;
336   int metrics_size() const;
337   private:
338   int _internal_metrics_size() const;
339   public:
340   void clear_metrics();
341   ::ukm::Entry_Metric* mutable_metrics(int index);
342   ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ukm::Entry_Metric >*
343       mutable_metrics();
344   private:
345   const ::ukm::Entry_Metric& _internal_metrics(int index) const;
346   ::ukm::Entry_Metric* _internal_add_metrics();
347   public:
348   const ::ukm::Entry_Metric& metrics(int index) const;
349   ::ukm::Entry_Metric* add_metrics();
350   const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ukm::Entry_Metric >&
351       metrics() const;
352 
353   // optional int32 DEPRECATED_id = 1 [deprecated = true];
354   PROTOBUF_DEPRECATED bool has_deprecated_id() const;
355   private:
356   bool _internal_has_deprecated_id() const;
357   public:
358   PROTOBUF_DEPRECATED void clear_deprecated_id();
359   PROTOBUF_DEPRECATED int32_t deprecated_id() const;
360   PROTOBUF_DEPRECATED void set_deprecated_id(int32_t value);
361   private:
362   int32_t _internal_deprecated_id() const;
363   void _internal_set_deprecated_id(int32_t value);
364   public:
365 
366   // optional int32 DEPRECATED_parent_id = 2 [deprecated = true];
367   PROTOBUF_DEPRECATED bool has_deprecated_parent_id() const;
368   private:
369   bool _internal_has_deprecated_parent_id() const;
370   public:
371   PROTOBUF_DEPRECATED void clear_deprecated_parent_id();
372   PROTOBUF_DEPRECATED int32_t deprecated_parent_id() const;
373   PROTOBUF_DEPRECATED void set_deprecated_parent_id(int32_t value);
374   private:
375   int32_t _internal_deprecated_parent_id() const;
376   void _internal_set_deprecated_parent_id(int32_t value);
377   public:
378 
379   // optional int64 source_id = 3;
380   bool has_source_id() const;
381   private:
382   bool _internal_has_source_id() const;
383   public:
384   void clear_source_id();
385   int64_t source_id() const;
386   void set_source_id(int64_t value);
387   private:
388   int64_t _internal_source_id() const;
389   void _internal_set_source_id(int64_t value);
390   public:
391 
392   // optional fixed64 event_hash = 4;
393   bool has_event_hash() const;
394   private:
395   bool _internal_has_event_hash() const;
396   public:
397   void clear_event_hash();
398   uint64_t event_hash() const;
399   void set_event_hash(uint64_t value);
400   private:
401   uint64_t _internal_event_hash() const;
402   void _internal_set_event_hash(uint64_t value);
403   public:
404 
405   // @@protoc_insertion_point(class_scope:ukm.Entry)
406  private:
407   class _Internal;
408 
409   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
410   typedef void InternalArenaConstructable_;
411   typedef void DestructorSkippable_;
412   struct Impl_ {
413     ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
414     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
415     ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ukm::Entry_Metric > metrics_;
416     int32_t deprecated_id_;
417     int32_t deprecated_parent_id_;
418     int64_t source_id_;
419     uint64_t event_hash_;
420   };
421   union { Impl_ _impl_; };
422   friend struct ::TableStruct_ukm_2fentry_2eproto;
423 };
424 // ===================================================================
425 
426 
427 // ===================================================================
428 
429 #ifdef __GNUC__
430   #pragma GCC diagnostic push
431   #pragma GCC diagnostic ignored "-Wstrict-aliasing"
432 #endif  // __GNUC__
433 // Entry_Metric
434 
435 // optional fixed64 metric_hash = 1;
_internal_has_metric_hash()436 inline bool Entry_Metric::_internal_has_metric_hash() const {
437   bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
438   return value;
439 }
has_metric_hash()440 inline bool Entry_Metric::has_metric_hash() const {
441   return _internal_has_metric_hash();
442 }
clear_metric_hash()443 inline void Entry_Metric::clear_metric_hash() {
444   _impl_.metric_hash_ = uint64_t{0u};
445   _impl_._has_bits_[0] &= ~0x00000001u;
446 }
_internal_metric_hash()447 inline uint64_t Entry_Metric::_internal_metric_hash() const {
448   return _impl_.metric_hash_;
449 }
metric_hash()450 inline uint64_t Entry_Metric::metric_hash() const {
451   // @@protoc_insertion_point(field_get:ukm.Entry.Metric.metric_hash)
452   return _internal_metric_hash();
453 }
_internal_set_metric_hash(uint64_t value)454 inline void Entry_Metric::_internal_set_metric_hash(uint64_t value) {
455   _impl_._has_bits_[0] |= 0x00000001u;
456   _impl_.metric_hash_ = value;
457 }
set_metric_hash(uint64_t value)458 inline void Entry_Metric::set_metric_hash(uint64_t value) {
459   _internal_set_metric_hash(value);
460   // @@protoc_insertion_point(field_set:ukm.Entry.Metric.metric_hash)
461 }
462 
463 // optional int64 value = 2;
_internal_has_value()464 inline bool Entry_Metric::_internal_has_value() const {
465   bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
466   return value;
467 }
has_value()468 inline bool Entry_Metric::has_value() const {
469   return _internal_has_value();
470 }
clear_value()471 inline void Entry_Metric::clear_value() {
472   _impl_.value_ = int64_t{0};
473   _impl_._has_bits_[0] &= ~0x00000002u;
474 }
_internal_value()475 inline int64_t Entry_Metric::_internal_value() const {
476   return _impl_.value_;
477 }
value()478 inline int64_t Entry_Metric::value() const {
479   // @@protoc_insertion_point(field_get:ukm.Entry.Metric.value)
480   return _internal_value();
481 }
_internal_set_value(int64_t value)482 inline void Entry_Metric::_internal_set_value(int64_t value) {
483   _impl_._has_bits_[0] |= 0x00000002u;
484   _impl_.value_ = value;
485 }
set_value(int64_t value)486 inline void Entry_Metric::set_value(int64_t value) {
487   _internal_set_value(value);
488   // @@protoc_insertion_point(field_set:ukm.Entry.Metric.value)
489 }
490 
491 // -------------------------------------------------------------------
492 
493 // Entry
494 
495 // optional int32 DEPRECATED_id = 1 [deprecated = true];
_internal_has_deprecated_id()496 inline bool Entry::_internal_has_deprecated_id() const {
497   bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
498   return value;
499 }
has_deprecated_id()500 inline bool Entry::has_deprecated_id() const {
501   return _internal_has_deprecated_id();
502 }
clear_deprecated_id()503 inline void Entry::clear_deprecated_id() {
504   _impl_.deprecated_id_ = 0;
505   _impl_._has_bits_[0] &= ~0x00000001u;
506 }
_internal_deprecated_id()507 inline int32_t Entry::_internal_deprecated_id() const {
508   return _impl_.deprecated_id_;
509 }
deprecated_id()510 inline int32_t Entry::deprecated_id() const {
511   // @@protoc_insertion_point(field_get:ukm.Entry.DEPRECATED_id)
512   return _internal_deprecated_id();
513 }
_internal_set_deprecated_id(int32_t value)514 inline void Entry::_internal_set_deprecated_id(int32_t value) {
515   _impl_._has_bits_[0] |= 0x00000001u;
516   _impl_.deprecated_id_ = value;
517 }
set_deprecated_id(int32_t value)518 inline void Entry::set_deprecated_id(int32_t value) {
519   _internal_set_deprecated_id(value);
520   // @@protoc_insertion_point(field_set:ukm.Entry.DEPRECATED_id)
521 }
522 
523 // optional int32 DEPRECATED_parent_id = 2 [deprecated = true];
_internal_has_deprecated_parent_id()524 inline bool Entry::_internal_has_deprecated_parent_id() const {
525   bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
526   return value;
527 }
has_deprecated_parent_id()528 inline bool Entry::has_deprecated_parent_id() const {
529   return _internal_has_deprecated_parent_id();
530 }
clear_deprecated_parent_id()531 inline void Entry::clear_deprecated_parent_id() {
532   _impl_.deprecated_parent_id_ = 0;
533   _impl_._has_bits_[0] &= ~0x00000002u;
534 }
_internal_deprecated_parent_id()535 inline int32_t Entry::_internal_deprecated_parent_id() const {
536   return _impl_.deprecated_parent_id_;
537 }
deprecated_parent_id()538 inline int32_t Entry::deprecated_parent_id() const {
539   // @@protoc_insertion_point(field_get:ukm.Entry.DEPRECATED_parent_id)
540   return _internal_deprecated_parent_id();
541 }
_internal_set_deprecated_parent_id(int32_t value)542 inline void Entry::_internal_set_deprecated_parent_id(int32_t value) {
543   _impl_._has_bits_[0] |= 0x00000002u;
544   _impl_.deprecated_parent_id_ = value;
545 }
set_deprecated_parent_id(int32_t value)546 inline void Entry::set_deprecated_parent_id(int32_t value) {
547   _internal_set_deprecated_parent_id(value);
548   // @@protoc_insertion_point(field_set:ukm.Entry.DEPRECATED_parent_id)
549 }
550 
551 // optional int64 source_id = 3;
_internal_has_source_id()552 inline bool Entry::_internal_has_source_id() const {
553   bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
554   return value;
555 }
has_source_id()556 inline bool Entry::has_source_id() const {
557   return _internal_has_source_id();
558 }
clear_source_id()559 inline void Entry::clear_source_id() {
560   _impl_.source_id_ = int64_t{0};
561   _impl_._has_bits_[0] &= ~0x00000004u;
562 }
_internal_source_id()563 inline int64_t Entry::_internal_source_id() const {
564   return _impl_.source_id_;
565 }
source_id()566 inline int64_t Entry::source_id() const {
567   // @@protoc_insertion_point(field_get:ukm.Entry.source_id)
568   return _internal_source_id();
569 }
_internal_set_source_id(int64_t value)570 inline void Entry::_internal_set_source_id(int64_t value) {
571   _impl_._has_bits_[0] |= 0x00000004u;
572   _impl_.source_id_ = value;
573 }
set_source_id(int64_t value)574 inline void Entry::set_source_id(int64_t value) {
575   _internal_set_source_id(value);
576   // @@protoc_insertion_point(field_set:ukm.Entry.source_id)
577 }
578 
579 // optional fixed64 event_hash = 4;
_internal_has_event_hash()580 inline bool Entry::_internal_has_event_hash() const {
581   bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
582   return value;
583 }
has_event_hash()584 inline bool Entry::has_event_hash() const {
585   return _internal_has_event_hash();
586 }
clear_event_hash()587 inline void Entry::clear_event_hash() {
588   _impl_.event_hash_ = uint64_t{0u};
589   _impl_._has_bits_[0] &= ~0x00000008u;
590 }
_internal_event_hash()591 inline uint64_t Entry::_internal_event_hash() const {
592   return _impl_.event_hash_;
593 }
event_hash()594 inline uint64_t Entry::event_hash() const {
595   // @@protoc_insertion_point(field_get:ukm.Entry.event_hash)
596   return _internal_event_hash();
597 }
_internal_set_event_hash(uint64_t value)598 inline void Entry::_internal_set_event_hash(uint64_t value) {
599   _impl_._has_bits_[0] |= 0x00000008u;
600   _impl_.event_hash_ = value;
601 }
set_event_hash(uint64_t value)602 inline void Entry::set_event_hash(uint64_t value) {
603   _internal_set_event_hash(value);
604   // @@protoc_insertion_point(field_set:ukm.Entry.event_hash)
605 }
606 
607 // repeated .ukm.Entry.Metric metrics = 5;
_internal_metrics_size()608 inline int Entry::_internal_metrics_size() const {
609   return _impl_.metrics_.size();
610 }
metrics_size()611 inline int Entry::metrics_size() const {
612   return _internal_metrics_size();
613 }
clear_metrics()614 inline void Entry::clear_metrics() {
615   _impl_.metrics_.Clear();
616 }
mutable_metrics(int index)617 inline ::ukm::Entry_Metric* Entry::mutable_metrics(int index) {
618   // @@protoc_insertion_point(field_mutable:ukm.Entry.metrics)
619   return _impl_.metrics_.Mutable(index);
620 }
621 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ukm::Entry_Metric >*
mutable_metrics()622 Entry::mutable_metrics() {
623   // @@protoc_insertion_point(field_mutable_list:ukm.Entry.metrics)
624   return &_impl_.metrics_;
625 }
_internal_metrics(int index)626 inline const ::ukm::Entry_Metric& Entry::_internal_metrics(int index) const {
627   return _impl_.metrics_.Get(index);
628 }
metrics(int index)629 inline const ::ukm::Entry_Metric& Entry::metrics(int index) const {
630   // @@protoc_insertion_point(field_get:ukm.Entry.metrics)
631   return _internal_metrics(index);
632 }
_internal_add_metrics()633 inline ::ukm::Entry_Metric* Entry::_internal_add_metrics() {
634   return _impl_.metrics_.Add();
635 }
add_metrics()636 inline ::ukm::Entry_Metric* Entry::add_metrics() {
637   ::ukm::Entry_Metric* _add = _internal_add_metrics();
638   // @@protoc_insertion_point(field_add:ukm.Entry.metrics)
639   return _add;
640 }
641 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ukm::Entry_Metric >&
metrics()642 Entry::metrics() const {
643   // @@protoc_insertion_point(field_list:ukm.Entry.metrics)
644   return _impl_.metrics_;
645 }
646 
647 #ifdef __GNUC__
648   #pragma GCC diagnostic pop
649 #endif  // __GNUC__
650 // -------------------------------------------------------------------
651 
652 
653 // @@protoc_insertion_point(namespace_scope)
654 
655 }  // namespace ukm
656 
657 // @@protoc_insertion_point(global_scope)
658 
659 #include <google/protobuf/port_undef.inc>
660 #endif  // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_ukm_2fentry_2eproto
661