1 // Generated by the protocol buffer compiler.  DO NOT EDIT!
2 // source: perf_data.proto
3 
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_perf_5fdata_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_perf_5fdata_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_perf_5fdata_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_perf_5fdata_2eproto {
42   static const uint32_t offsets[];
43 };
44 namespace metrics {
45 class PerfDataProto;
46 struct PerfDataProtoDefaultTypeInternal;
47 extern PerfDataProtoDefaultTypeInternal _PerfDataProto_default_instance_;
48 class PerfDataProto_BranchStackEntry;
49 struct PerfDataProto_BranchStackEntryDefaultTypeInternal;
50 extern PerfDataProto_BranchStackEntryDefaultTypeInternal _PerfDataProto_BranchStackEntry_default_instance_;
51 class PerfDataProto_CommEvent;
52 struct PerfDataProto_CommEventDefaultTypeInternal;
53 extern PerfDataProto_CommEventDefaultTypeInternal _PerfDataProto_CommEvent_default_instance_;
54 class PerfDataProto_EventHeader;
55 struct PerfDataProto_EventHeaderDefaultTypeInternal;
56 extern PerfDataProto_EventHeaderDefaultTypeInternal _PerfDataProto_EventHeader_default_instance_;
57 class PerfDataProto_ForkEvent;
58 struct PerfDataProto_ForkEventDefaultTypeInternal;
59 extern PerfDataProto_ForkEventDefaultTypeInternal _PerfDataProto_ForkEvent_default_instance_;
60 class PerfDataProto_LostEvent;
61 struct PerfDataProto_LostEventDefaultTypeInternal;
62 extern PerfDataProto_LostEventDefaultTypeInternal _PerfDataProto_LostEvent_default_instance_;
63 class PerfDataProto_MMapEvent;
64 struct PerfDataProto_MMapEventDefaultTypeInternal;
65 extern PerfDataProto_MMapEventDefaultTypeInternal _PerfDataProto_MMapEvent_default_instance_;
66 class PerfDataProto_PerfBuildID;
67 struct PerfDataProto_PerfBuildIDDefaultTypeInternal;
68 extern PerfDataProto_PerfBuildIDDefaultTypeInternal _PerfDataProto_PerfBuildID_default_instance_;
69 class PerfDataProto_PerfEvent;
70 struct PerfDataProto_PerfEventDefaultTypeInternal;
71 extern PerfDataProto_PerfEventDefaultTypeInternal _PerfDataProto_PerfEvent_default_instance_;
72 class PerfDataProto_PerfEventAttr;
73 struct PerfDataProto_PerfEventAttrDefaultTypeInternal;
74 extern PerfDataProto_PerfEventAttrDefaultTypeInternal _PerfDataProto_PerfEventAttr_default_instance_;
75 class PerfDataProto_PerfEventStats;
76 struct PerfDataProto_PerfEventStatsDefaultTypeInternal;
77 extern PerfDataProto_PerfEventStatsDefaultTypeInternal _PerfDataProto_PerfEventStats_default_instance_;
78 class PerfDataProto_PerfEventType;
79 struct PerfDataProto_PerfEventTypeDefaultTypeInternal;
80 extern PerfDataProto_PerfEventTypeDefaultTypeInternal _PerfDataProto_PerfEventType_default_instance_;
81 class PerfDataProto_PerfFileAttr;
82 struct PerfDataProto_PerfFileAttrDefaultTypeInternal;
83 extern PerfDataProto_PerfFileAttrDefaultTypeInternal _PerfDataProto_PerfFileAttr_default_instance_;
84 class PerfDataProto_PerfHybridTopologyMetadata;
85 struct PerfDataProto_PerfHybridTopologyMetadataDefaultTypeInternal;
86 extern PerfDataProto_PerfHybridTopologyMetadataDefaultTypeInternal _PerfDataProto_PerfHybridTopologyMetadata_default_instance_;
87 class PerfDataProto_PerfPMUMappingsMetadata;
88 struct PerfDataProto_PerfPMUMappingsMetadataDefaultTypeInternal;
89 extern PerfDataProto_PerfPMUMappingsMetadataDefaultTypeInternal _PerfDataProto_PerfPMUMappingsMetadata_default_instance_;
90 class PerfDataProto_SampleEvent;
91 struct PerfDataProto_SampleEventDefaultTypeInternal;
92 extern PerfDataProto_SampleEventDefaultTypeInternal _PerfDataProto_SampleEvent_default_instance_;
93 class PerfDataProto_SampleInfo;
94 struct PerfDataProto_SampleInfoDefaultTypeInternal;
95 extern PerfDataProto_SampleInfoDefaultTypeInternal _PerfDataProto_SampleInfo_default_instance_;
96 class PerfDataProto_StringMetadata;
97 struct PerfDataProto_StringMetadataDefaultTypeInternal;
98 extern PerfDataProto_StringMetadataDefaultTypeInternal _PerfDataProto_StringMetadata_default_instance_;
99 class PerfDataProto_StringMetadata_StringAndMd5sumPrefix;
100 struct PerfDataProto_StringMetadata_StringAndMd5sumPrefixDefaultTypeInternal;
101 extern PerfDataProto_StringMetadata_StringAndMd5sumPrefixDefaultTypeInternal _PerfDataProto_StringMetadata_StringAndMd5sumPrefix_default_instance_;
102 class PerfDataProto_ThrottleEvent;
103 struct PerfDataProto_ThrottleEventDefaultTypeInternal;
104 extern PerfDataProto_ThrottleEventDefaultTypeInternal _PerfDataProto_ThrottleEvent_default_instance_;
105 }  // namespace metrics
106 PROTOBUF_NAMESPACE_OPEN
107 template<> ::metrics::PerfDataProto* Arena::CreateMaybeMessage<::metrics::PerfDataProto>(Arena*);
108 template<> ::metrics::PerfDataProto_BranchStackEntry* Arena::CreateMaybeMessage<::metrics::PerfDataProto_BranchStackEntry>(Arena*);
109 template<> ::metrics::PerfDataProto_CommEvent* Arena::CreateMaybeMessage<::metrics::PerfDataProto_CommEvent>(Arena*);
110 template<> ::metrics::PerfDataProto_EventHeader* Arena::CreateMaybeMessage<::metrics::PerfDataProto_EventHeader>(Arena*);
111 template<> ::metrics::PerfDataProto_ForkEvent* Arena::CreateMaybeMessage<::metrics::PerfDataProto_ForkEvent>(Arena*);
112 template<> ::metrics::PerfDataProto_LostEvent* Arena::CreateMaybeMessage<::metrics::PerfDataProto_LostEvent>(Arena*);
113 template<> ::metrics::PerfDataProto_MMapEvent* Arena::CreateMaybeMessage<::metrics::PerfDataProto_MMapEvent>(Arena*);
114 template<> ::metrics::PerfDataProto_PerfBuildID* Arena::CreateMaybeMessage<::metrics::PerfDataProto_PerfBuildID>(Arena*);
115 template<> ::metrics::PerfDataProto_PerfEvent* Arena::CreateMaybeMessage<::metrics::PerfDataProto_PerfEvent>(Arena*);
116 template<> ::metrics::PerfDataProto_PerfEventAttr* Arena::CreateMaybeMessage<::metrics::PerfDataProto_PerfEventAttr>(Arena*);
117 template<> ::metrics::PerfDataProto_PerfEventStats* Arena::CreateMaybeMessage<::metrics::PerfDataProto_PerfEventStats>(Arena*);
118 template<> ::metrics::PerfDataProto_PerfEventType* Arena::CreateMaybeMessage<::metrics::PerfDataProto_PerfEventType>(Arena*);
119 template<> ::metrics::PerfDataProto_PerfFileAttr* Arena::CreateMaybeMessage<::metrics::PerfDataProto_PerfFileAttr>(Arena*);
120 template<> ::metrics::PerfDataProto_PerfHybridTopologyMetadata* Arena::CreateMaybeMessage<::metrics::PerfDataProto_PerfHybridTopologyMetadata>(Arena*);
121 template<> ::metrics::PerfDataProto_PerfPMUMappingsMetadata* Arena::CreateMaybeMessage<::metrics::PerfDataProto_PerfPMUMappingsMetadata>(Arena*);
122 template<> ::metrics::PerfDataProto_SampleEvent* Arena::CreateMaybeMessage<::metrics::PerfDataProto_SampleEvent>(Arena*);
123 template<> ::metrics::PerfDataProto_SampleInfo* Arena::CreateMaybeMessage<::metrics::PerfDataProto_SampleInfo>(Arena*);
124 template<> ::metrics::PerfDataProto_StringMetadata* Arena::CreateMaybeMessage<::metrics::PerfDataProto_StringMetadata>(Arena*);
125 template<> ::metrics::PerfDataProto_StringMetadata_StringAndMd5sumPrefix* Arena::CreateMaybeMessage<::metrics::PerfDataProto_StringMetadata_StringAndMd5sumPrefix>(Arena*);
126 template<> ::metrics::PerfDataProto_ThrottleEvent* Arena::CreateMaybeMessage<::metrics::PerfDataProto_ThrottleEvent>(Arena*);
127 PROTOBUF_NAMESPACE_CLOSE
128 namespace metrics {
129 
130 // ===================================================================
131 
132 class PerfDataProto_PerfEventAttr final :
133     public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:metrics.PerfDataProto.PerfEventAttr) */ {
134  public:
PerfDataProto_PerfEventAttr()135   inline PerfDataProto_PerfEventAttr() : PerfDataProto_PerfEventAttr(nullptr) {}
136   ~PerfDataProto_PerfEventAttr() override;
137   explicit PROTOBUF_CONSTEXPR PerfDataProto_PerfEventAttr(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
138 
139   PerfDataProto_PerfEventAttr(const PerfDataProto_PerfEventAttr& from);
PerfDataProto_PerfEventAttr(PerfDataProto_PerfEventAttr && from)140   PerfDataProto_PerfEventAttr(PerfDataProto_PerfEventAttr&& from) noexcept
141     : PerfDataProto_PerfEventAttr() {
142     *this = ::std::move(from);
143   }
144 
145   inline PerfDataProto_PerfEventAttr& operator=(const PerfDataProto_PerfEventAttr& from) {
146     CopyFrom(from);
147     return *this;
148   }
149   inline PerfDataProto_PerfEventAttr& operator=(PerfDataProto_PerfEventAttr&& from) noexcept {
150     if (this == &from) return *this;
151     if (GetOwningArena() == from.GetOwningArena()
152   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
153         && GetOwningArena() != nullptr
154   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
155     ) {
156       InternalSwap(&from);
157     } else {
158       CopyFrom(from);
159     }
160     return *this;
161   }
162 
unknown_fields()163   inline const std::string& unknown_fields() const {
164     return _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString);
165   }
mutable_unknown_fields()166   inline std::string* mutable_unknown_fields() {
167     return _internal_metadata_.mutable_unknown_fields<std::string>();
168   }
169 
default_instance()170   static const PerfDataProto_PerfEventAttr& default_instance() {
171     return *internal_default_instance();
172   }
internal_default_instance()173   static inline const PerfDataProto_PerfEventAttr* internal_default_instance() {
174     return reinterpret_cast<const PerfDataProto_PerfEventAttr*>(
175                &_PerfDataProto_PerfEventAttr_default_instance_);
176   }
177   static constexpr int kIndexInFileMessages =
178     0;
179 
swap(PerfDataProto_PerfEventAttr & a,PerfDataProto_PerfEventAttr & b)180   friend void swap(PerfDataProto_PerfEventAttr& a, PerfDataProto_PerfEventAttr& b) {
181     a.Swap(&b);
182   }
Swap(PerfDataProto_PerfEventAttr * other)183   PROTOBUF_NOINLINE void Swap(PerfDataProto_PerfEventAttr* other) {
184     if (other == this) return;
185   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
186     if (GetOwningArena() != nullptr &&
187         GetOwningArena() == other->GetOwningArena()) {
188    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
189     if (GetOwningArena() == other->GetOwningArena()) {
190   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
191       InternalSwap(other);
192     } else {
193       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
194     }
195   }
196   void UnsafeArenaSwap(PerfDataProto_PerfEventAttr* other) {
197     if (other == this) return;
198     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
199     InternalSwap(other);
200   }
201 
202   // implements Message ----------------------------------------------
203 
204   PerfDataProto_PerfEventAttr* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
205     return CreateMaybeMessage<PerfDataProto_PerfEventAttr>(arena);
206   }
207   void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)  final;
208   void CopyFrom(const PerfDataProto_PerfEventAttr& from);
209   void MergeFrom(const PerfDataProto_PerfEventAttr& from);
210   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
211   bool IsInitialized() const final;
212 
213   size_t ByteSizeLong() const final;
214   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
215   uint8_t* _InternalSerialize(
216       uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
217   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
218 
219   private:
220   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
221   void SharedDtor();
222   void SetCachedSize(int size) const;
223   void InternalSwap(PerfDataProto_PerfEventAttr* other);
224 
225   private:
226   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
227   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
228     return "metrics.PerfDataProto.PerfEventAttr";
229   }
230   protected:
231   explicit PerfDataProto_PerfEventAttr(::PROTOBUF_NAMESPACE_ID::Arena* arena,
232                        bool is_message_owned = false);
233   public:
234 
235   std::string GetTypeName() const final;
236 
237   // nested types ----------------------------------------------------
238 
239   // accessors -------------------------------------------------------
240 
241   enum : int {
242     kTypeFieldNumber = 1,
243     kSizeFieldNumber = 2,
244     kConfigFieldNumber = 3,
245     kSamplePeriodFieldNumber = 4,
246     kSampleFreqFieldNumber = 5,
247     kSampleTypeFieldNumber = 6,
248     kReadFormatFieldNumber = 7,
249     kDisabledFieldNumber = 8,
250     kInheritFieldNumber = 9,
251     kPinnedFieldNumber = 10,
252     kExclusiveFieldNumber = 11,
253     kExcludeUserFieldNumber = 12,
254     kExcludeKernelFieldNumber = 13,
255     kExcludeHvFieldNumber = 14,
256     kExcludeIdleFieldNumber = 15,
257     kMmapFieldNumber = 16,
258     kCommFieldNumber = 17,
259     kFreqFieldNumber = 18,
260     kInheritStatFieldNumber = 19,
261     kEnableOnExecFieldNumber = 20,
262     kTaskFieldNumber = 21,
263     kWatermarkFieldNumber = 22,
264     kMmapDataFieldNumber = 24,
265     kPreciseIpFieldNumber = 23,
266     kSampleIdAllFieldNumber = 25,
267     kExcludeHostFieldNumber = 26,
268     kExcludeGuestFieldNumber = 27,
269     kWakeupEventsFieldNumber = 28,
270     kWakeupWatermarkFieldNumber = 29,
271     kBpAddrFieldNumber = 31,
272     kConfig1FieldNumber = 32,
273     kBpLenFieldNumber = 33,
274     kConfig2FieldNumber = 34,
275     kBranchSampleTypeFieldNumber = 35,
276     kBpTypeFieldNumber = 30,
277   };
278   // optional uint32 type = 1;
279   bool has_type() const;
280   private:
281   bool _internal_has_type() const;
282   public:
283   void clear_type();
284   uint32_t type() const;
285   void set_type(uint32_t value);
286   private:
287   uint32_t _internal_type() const;
288   void _internal_set_type(uint32_t value);
289   public:
290 
291   // optional uint32 size = 2;
292   bool has_size() const;
293   private:
294   bool _internal_has_size() const;
295   public:
296   void clear_size();
297   uint32_t size() const;
298   void set_size(uint32_t value);
299   private:
300   uint32_t _internal_size() const;
301   void _internal_set_size(uint32_t value);
302   public:
303 
304   // optional uint64 config = 3;
305   bool has_config() const;
306   private:
307   bool _internal_has_config() const;
308   public:
309   void clear_config();
310   uint64_t config() const;
311   void set_config(uint64_t value);
312   private:
313   uint64_t _internal_config() const;
314   void _internal_set_config(uint64_t value);
315   public:
316 
317   // optional uint64 sample_period = 4;
318   bool has_sample_period() const;
319   private:
320   bool _internal_has_sample_period() const;
321   public:
322   void clear_sample_period();
323   uint64_t sample_period() const;
324   void set_sample_period(uint64_t value);
325   private:
326   uint64_t _internal_sample_period() const;
327   void _internal_set_sample_period(uint64_t value);
328   public:
329 
330   // optional uint64 sample_freq = 5;
331   bool has_sample_freq() const;
332   private:
333   bool _internal_has_sample_freq() const;
334   public:
335   void clear_sample_freq();
336   uint64_t sample_freq() const;
337   void set_sample_freq(uint64_t value);
338   private:
339   uint64_t _internal_sample_freq() const;
340   void _internal_set_sample_freq(uint64_t value);
341   public:
342 
343   // optional uint64 sample_type = 6;
344   bool has_sample_type() const;
345   private:
346   bool _internal_has_sample_type() const;
347   public:
348   void clear_sample_type();
349   uint64_t sample_type() const;
350   void set_sample_type(uint64_t value);
351   private:
352   uint64_t _internal_sample_type() const;
353   void _internal_set_sample_type(uint64_t value);
354   public:
355 
356   // optional uint64 read_format = 7;
357   bool has_read_format() const;
358   private:
359   bool _internal_has_read_format() const;
360   public:
361   void clear_read_format();
362   uint64_t read_format() const;
363   void set_read_format(uint64_t value);
364   private:
365   uint64_t _internal_read_format() const;
366   void _internal_set_read_format(uint64_t value);
367   public:
368 
369   // optional bool disabled = 8;
370   bool has_disabled() const;
371   private:
372   bool _internal_has_disabled() const;
373   public:
374   void clear_disabled();
375   bool disabled() const;
376   void set_disabled(bool value);
377   private:
378   bool _internal_disabled() const;
379   void _internal_set_disabled(bool value);
380   public:
381 
382   // optional bool inherit = 9;
383   bool has_inherit() const;
384   private:
385   bool _internal_has_inherit() const;
386   public:
387   void clear_inherit();
388   bool inherit() const;
389   void set_inherit(bool value);
390   private:
391   bool _internal_inherit() const;
392   void _internal_set_inherit(bool value);
393   public:
394 
395   // optional bool pinned = 10;
396   bool has_pinned() const;
397   private:
398   bool _internal_has_pinned() const;
399   public:
400   void clear_pinned();
401   bool pinned() const;
402   void set_pinned(bool value);
403   private:
404   bool _internal_pinned() const;
405   void _internal_set_pinned(bool value);
406   public:
407 
408   // optional bool exclusive = 11;
409   bool has_exclusive() const;
410   private:
411   bool _internal_has_exclusive() const;
412   public:
413   void clear_exclusive();
414   bool exclusive() const;
415   void set_exclusive(bool value);
416   private:
417   bool _internal_exclusive() const;
418   void _internal_set_exclusive(bool value);
419   public:
420 
421   // optional bool exclude_user = 12;
422   bool has_exclude_user() const;
423   private:
424   bool _internal_has_exclude_user() const;
425   public:
426   void clear_exclude_user();
427   bool exclude_user() const;
428   void set_exclude_user(bool value);
429   private:
430   bool _internal_exclude_user() const;
431   void _internal_set_exclude_user(bool value);
432   public:
433 
434   // optional bool exclude_kernel = 13;
435   bool has_exclude_kernel() const;
436   private:
437   bool _internal_has_exclude_kernel() const;
438   public:
439   void clear_exclude_kernel();
440   bool exclude_kernel() const;
441   void set_exclude_kernel(bool value);
442   private:
443   bool _internal_exclude_kernel() const;
444   void _internal_set_exclude_kernel(bool value);
445   public:
446 
447   // optional bool exclude_hv = 14;
448   bool has_exclude_hv() const;
449   private:
450   bool _internal_has_exclude_hv() const;
451   public:
452   void clear_exclude_hv();
453   bool exclude_hv() const;
454   void set_exclude_hv(bool value);
455   private:
456   bool _internal_exclude_hv() const;
457   void _internal_set_exclude_hv(bool value);
458   public:
459 
460   // optional bool exclude_idle = 15;
461   bool has_exclude_idle() const;
462   private:
463   bool _internal_has_exclude_idle() const;
464   public:
465   void clear_exclude_idle();
466   bool exclude_idle() const;
467   void set_exclude_idle(bool value);
468   private:
469   bool _internal_exclude_idle() const;
470   void _internal_set_exclude_idle(bool value);
471   public:
472 
473   // optional bool mmap = 16;
474   bool has_mmap() const;
475   private:
476   bool _internal_has_mmap() const;
477   public:
478   void clear_mmap();
479   bool mmap() const;
480   void set_mmap(bool value);
481   private:
482   bool _internal_mmap() const;
483   void _internal_set_mmap(bool value);
484   public:
485 
486   // optional bool comm = 17;
487   bool has_comm() const;
488   private:
489   bool _internal_has_comm() const;
490   public:
491   void clear_comm();
492   bool comm() const;
493   void set_comm(bool value);
494   private:
495   bool _internal_comm() const;
496   void _internal_set_comm(bool value);
497   public:
498 
499   // optional bool freq = 18;
500   bool has_freq() const;
501   private:
502   bool _internal_has_freq() const;
503   public:
504   void clear_freq();
505   bool freq() const;
506   void set_freq(bool value);
507   private:
508   bool _internal_freq() const;
509   void _internal_set_freq(bool value);
510   public:
511 
512   // optional bool inherit_stat = 19;
513   bool has_inherit_stat() const;
514   private:
515   bool _internal_has_inherit_stat() const;
516   public:
517   void clear_inherit_stat();
518   bool inherit_stat() const;
519   void set_inherit_stat(bool value);
520   private:
521   bool _internal_inherit_stat() const;
522   void _internal_set_inherit_stat(bool value);
523   public:
524 
525   // optional bool enable_on_exec = 20;
526   bool has_enable_on_exec() const;
527   private:
528   bool _internal_has_enable_on_exec() const;
529   public:
530   void clear_enable_on_exec();
531   bool enable_on_exec() const;
532   void set_enable_on_exec(bool value);
533   private:
534   bool _internal_enable_on_exec() const;
535   void _internal_set_enable_on_exec(bool value);
536   public:
537 
538   // optional bool task = 21;
539   bool has_task() const;
540   private:
541   bool _internal_has_task() const;
542   public:
543   void clear_task();
544   bool task() const;
545   void set_task(bool value);
546   private:
547   bool _internal_task() const;
548   void _internal_set_task(bool value);
549   public:
550 
551   // optional bool watermark = 22;
552   bool has_watermark() const;
553   private:
554   bool _internal_has_watermark() const;
555   public:
556   void clear_watermark();
557   bool watermark() const;
558   void set_watermark(bool value);
559   private:
560   bool _internal_watermark() const;
561   void _internal_set_watermark(bool value);
562   public:
563 
564   // optional bool mmap_data = 24;
565   bool has_mmap_data() const;
566   private:
567   bool _internal_has_mmap_data() const;
568   public:
569   void clear_mmap_data();
570   bool mmap_data() const;
571   void set_mmap_data(bool value);
572   private:
573   bool _internal_mmap_data() const;
574   void _internal_set_mmap_data(bool value);
575   public:
576 
577   // optional uint32 precise_ip = 23;
578   bool has_precise_ip() const;
579   private:
580   bool _internal_has_precise_ip() const;
581   public:
582   void clear_precise_ip();
583   uint32_t precise_ip() const;
584   void set_precise_ip(uint32_t value);
585   private:
586   uint32_t _internal_precise_ip() const;
587   void _internal_set_precise_ip(uint32_t value);
588   public:
589 
590   // optional bool sample_id_all = 25;
591   bool has_sample_id_all() const;
592   private:
593   bool _internal_has_sample_id_all() const;
594   public:
595   void clear_sample_id_all();
596   bool sample_id_all() const;
597   void set_sample_id_all(bool value);
598   private:
599   bool _internal_sample_id_all() const;
600   void _internal_set_sample_id_all(bool value);
601   public:
602 
603   // optional bool exclude_host = 26;
604   bool has_exclude_host() const;
605   private:
606   bool _internal_has_exclude_host() const;
607   public:
608   void clear_exclude_host();
609   bool exclude_host() const;
610   void set_exclude_host(bool value);
611   private:
612   bool _internal_exclude_host() const;
613   void _internal_set_exclude_host(bool value);
614   public:
615 
616   // optional bool exclude_guest = 27;
617   bool has_exclude_guest() const;
618   private:
619   bool _internal_has_exclude_guest() const;
620   public:
621   void clear_exclude_guest();
622   bool exclude_guest() const;
623   void set_exclude_guest(bool value);
624   private:
625   bool _internal_exclude_guest() const;
626   void _internal_set_exclude_guest(bool value);
627   public:
628 
629   // optional uint32 wakeup_events = 28;
630   bool has_wakeup_events() const;
631   private:
632   bool _internal_has_wakeup_events() const;
633   public:
634   void clear_wakeup_events();
635   uint32_t wakeup_events() const;
636   void set_wakeup_events(uint32_t value);
637   private:
638   uint32_t _internal_wakeup_events() const;
639   void _internal_set_wakeup_events(uint32_t value);
640   public:
641 
642   // optional uint32 wakeup_watermark = 29;
643   bool has_wakeup_watermark() const;
644   private:
645   bool _internal_has_wakeup_watermark() const;
646   public:
647   void clear_wakeup_watermark();
648   uint32_t wakeup_watermark() const;
649   void set_wakeup_watermark(uint32_t value);
650   private:
651   uint32_t _internal_wakeup_watermark() const;
652   void _internal_set_wakeup_watermark(uint32_t value);
653   public:
654 
655   // optional uint64 bp_addr = 31;
656   bool has_bp_addr() const;
657   private:
658   bool _internal_has_bp_addr() const;
659   public:
660   void clear_bp_addr();
661   uint64_t bp_addr() const;
662   void set_bp_addr(uint64_t value);
663   private:
664   uint64_t _internal_bp_addr() const;
665   void _internal_set_bp_addr(uint64_t value);
666   public:
667 
668   // optional uint64 config1 = 32;
669   bool has_config1() const;
670   private:
671   bool _internal_has_config1() const;
672   public:
673   void clear_config1();
674   uint64_t config1() const;
675   void set_config1(uint64_t value);
676   private:
677   uint64_t _internal_config1() const;
678   void _internal_set_config1(uint64_t value);
679   public:
680 
681   // optional uint64 bp_len = 33;
682   bool has_bp_len() const;
683   private:
684   bool _internal_has_bp_len() const;
685   public:
686   void clear_bp_len();
687   uint64_t bp_len() const;
688   void set_bp_len(uint64_t value);
689   private:
690   uint64_t _internal_bp_len() const;
691   void _internal_set_bp_len(uint64_t value);
692   public:
693 
694   // optional uint64 config2 = 34;
695   bool has_config2() const;
696   private:
697   bool _internal_has_config2() const;
698   public:
699   void clear_config2();
700   uint64_t config2() const;
701   void set_config2(uint64_t value);
702   private:
703   uint64_t _internal_config2() const;
704   void _internal_set_config2(uint64_t value);
705   public:
706 
707   // optional uint64 branch_sample_type = 35;
708   bool has_branch_sample_type() const;
709   private:
710   bool _internal_has_branch_sample_type() const;
711   public:
712   void clear_branch_sample_type();
713   uint64_t branch_sample_type() const;
714   void set_branch_sample_type(uint64_t value);
715   private:
716   uint64_t _internal_branch_sample_type() const;
717   void _internal_set_branch_sample_type(uint64_t value);
718   public:
719 
720   // optional uint32 bp_type = 30;
721   bool has_bp_type() const;
722   private:
723   bool _internal_has_bp_type() const;
724   public:
725   void clear_bp_type();
726   uint32_t bp_type() const;
727   void set_bp_type(uint32_t value);
728   private:
729   uint32_t _internal_bp_type() const;
730   void _internal_set_bp_type(uint32_t value);
731   public:
732 
733   // @@protoc_insertion_point(class_scope:metrics.PerfDataProto.PerfEventAttr)
734  private:
735   class _Internal;
736 
737   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
738   typedef void InternalArenaConstructable_;
739   typedef void DestructorSkippable_;
740   struct Impl_ {
741     ::PROTOBUF_NAMESPACE_ID::internal::HasBits<2> _has_bits_;
742     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
743     uint32_t type_;
744     uint32_t size_;
745     uint64_t config_;
746     uint64_t sample_period_;
747     uint64_t sample_freq_;
748     uint64_t sample_type_;
749     uint64_t read_format_;
750     bool disabled_;
751     bool inherit_;
752     bool pinned_;
753     bool exclusive_;
754     bool exclude_user_;
755     bool exclude_kernel_;
756     bool exclude_hv_;
757     bool exclude_idle_;
758     bool mmap_;
759     bool comm_;
760     bool freq_;
761     bool inherit_stat_;
762     bool enable_on_exec_;
763     bool task_;
764     bool watermark_;
765     bool mmap_data_;
766     uint32_t precise_ip_;
767     bool sample_id_all_;
768     bool exclude_host_;
769     bool exclude_guest_;
770     uint32_t wakeup_events_;
771     uint32_t wakeup_watermark_;
772     uint64_t bp_addr_;
773     uint64_t config1_;
774     uint64_t bp_len_;
775     uint64_t config2_;
776     uint64_t branch_sample_type_;
777     uint32_t bp_type_;
778   };
779   union { Impl_ _impl_; };
780   friend struct ::TableStruct_perf_5fdata_2eproto;
781 };
782 // -------------------------------------------------------------------
783 
784 class PerfDataProto_PerfFileAttr final :
785     public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:metrics.PerfDataProto.PerfFileAttr) */ {
786  public:
PerfDataProto_PerfFileAttr()787   inline PerfDataProto_PerfFileAttr() : PerfDataProto_PerfFileAttr(nullptr) {}
788   ~PerfDataProto_PerfFileAttr() override;
789   explicit PROTOBUF_CONSTEXPR PerfDataProto_PerfFileAttr(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
790 
791   PerfDataProto_PerfFileAttr(const PerfDataProto_PerfFileAttr& from);
PerfDataProto_PerfFileAttr(PerfDataProto_PerfFileAttr && from)792   PerfDataProto_PerfFileAttr(PerfDataProto_PerfFileAttr&& from) noexcept
793     : PerfDataProto_PerfFileAttr() {
794     *this = ::std::move(from);
795   }
796 
797   inline PerfDataProto_PerfFileAttr& operator=(const PerfDataProto_PerfFileAttr& from) {
798     CopyFrom(from);
799     return *this;
800   }
801   inline PerfDataProto_PerfFileAttr& operator=(PerfDataProto_PerfFileAttr&& from) noexcept {
802     if (this == &from) return *this;
803     if (GetOwningArena() == from.GetOwningArena()
804   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
805         && GetOwningArena() != nullptr
806   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
807     ) {
808       InternalSwap(&from);
809     } else {
810       CopyFrom(from);
811     }
812     return *this;
813   }
814 
unknown_fields()815   inline const std::string& unknown_fields() const {
816     return _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString);
817   }
mutable_unknown_fields()818   inline std::string* mutable_unknown_fields() {
819     return _internal_metadata_.mutable_unknown_fields<std::string>();
820   }
821 
default_instance()822   static const PerfDataProto_PerfFileAttr& default_instance() {
823     return *internal_default_instance();
824   }
internal_default_instance()825   static inline const PerfDataProto_PerfFileAttr* internal_default_instance() {
826     return reinterpret_cast<const PerfDataProto_PerfFileAttr*>(
827                &_PerfDataProto_PerfFileAttr_default_instance_);
828   }
829   static constexpr int kIndexInFileMessages =
830     1;
831 
swap(PerfDataProto_PerfFileAttr & a,PerfDataProto_PerfFileAttr & b)832   friend void swap(PerfDataProto_PerfFileAttr& a, PerfDataProto_PerfFileAttr& b) {
833     a.Swap(&b);
834   }
Swap(PerfDataProto_PerfFileAttr * other)835   PROTOBUF_NOINLINE void Swap(PerfDataProto_PerfFileAttr* other) {
836     if (other == this) return;
837   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
838     if (GetOwningArena() != nullptr &&
839         GetOwningArena() == other->GetOwningArena()) {
840    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
841     if (GetOwningArena() == other->GetOwningArena()) {
842   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
843       InternalSwap(other);
844     } else {
845       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
846     }
847   }
848   void UnsafeArenaSwap(PerfDataProto_PerfFileAttr* other) {
849     if (other == this) return;
850     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
851     InternalSwap(other);
852   }
853 
854   // implements Message ----------------------------------------------
855 
856   PerfDataProto_PerfFileAttr* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
857     return CreateMaybeMessage<PerfDataProto_PerfFileAttr>(arena);
858   }
859   void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)  final;
860   void CopyFrom(const PerfDataProto_PerfFileAttr& from);
861   void MergeFrom(const PerfDataProto_PerfFileAttr& from);
862   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
863   bool IsInitialized() const final;
864 
865   size_t ByteSizeLong() const final;
866   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
867   uint8_t* _InternalSerialize(
868       uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
869   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
870 
871   private:
872   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
873   void SharedDtor();
874   void SetCachedSize(int size) const;
875   void InternalSwap(PerfDataProto_PerfFileAttr* other);
876 
877   private:
878   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
879   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
880     return "metrics.PerfDataProto.PerfFileAttr";
881   }
882   protected:
883   explicit PerfDataProto_PerfFileAttr(::PROTOBUF_NAMESPACE_ID::Arena* arena,
884                        bool is_message_owned = false);
885   public:
886 
887   std::string GetTypeName() const final;
888 
889   // nested types ----------------------------------------------------
890 
891   // accessors -------------------------------------------------------
892 
893   enum : int {
894     kIdsFieldNumber = 2,
895     kAttrFieldNumber = 1,
896   };
897   // repeated uint64 ids = 2;
898   int ids_size() const;
899   private:
900   int _internal_ids_size() const;
901   public:
902   void clear_ids();
903   private:
904   uint64_t _internal_ids(int index) const;
905   const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >&
906       _internal_ids() const;
907   void _internal_add_ids(uint64_t value);
908   ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >*
909       _internal_mutable_ids();
910   public:
911   uint64_t ids(int index) const;
912   void set_ids(int index, uint64_t value);
913   void add_ids(uint64_t value);
914   const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >&
915       ids() const;
916   ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >*
917       mutable_ids();
918 
919   // optional .metrics.PerfDataProto.PerfEventAttr attr = 1;
920   bool has_attr() const;
921   private:
922   bool _internal_has_attr() const;
923   public:
924   void clear_attr();
925   const ::metrics::PerfDataProto_PerfEventAttr& attr() const;
926   PROTOBUF_NODISCARD ::metrics::PerfDataProto_PerfEventAttr* release_attr();
927   ::metrics::PerfDataProto_PerfEventAttr* mutable_attr();
928   void set_allocated_attr(::metrics::PerfDataProto_PerfEventAttr* attr);
929   private:
930   const ::metrics::PerfDataProto_PerfEventAttr& _internal_attr() const;
931   ::metrics::PerfDataProto_PerfEventAttr* _internal_mutable_attr();
932   public:
933   void unsafe_arena_set_allocated_attr(
934       ::metrics::PerfDataProto_PerfEventAttr* attr);
935   ::metrics::PerfDataProto_PerfEventAttr* unsafe_arena_release_attr();
936 
937   // @@protoc_insertion_point(class_scope:metrics.PerfDataProto.PerfFileAttr)
938  private:
939   class _Internal;
940 
941   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
942   typedef void InternalArenaConstructable_;
943   typedef void DestructorSkippable_;
944   struct Impl_ {
945     ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
946     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
947     ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t > ids_;
948     ::metrics::PerfDataProto_PerfEventAttr* attr_;
949   };
950   union { Impl_ _impl_; };
951   friend struct ::TableStruct_perf_5fdata_2eproto;
952 };
953 // -------------------------------------------------------------------
954 
955 class PerfDataProto_PerfEventType final :
956     public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:metrics.PerfDataProto.PerfEventType) */ {
957  public:
PerfDataProto_PerfEventType()958   inline PerfDataProto_PerfEventType() : PerfDataProto_PerfEventType(nullptr) {}
959   ~PerfDataProto_PerfEventType() override;
960   explicit PROTOBUF_CONSTEXPR PerfDataProto_PerfEventType(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
961 
962   PerfDataProto_PerfEventType(const PerfDataProto_PerfEventType& from);
PerfDataProto_PerfEventType(PerfDataProto_PerfEventType && from)963   PerfDataProto_PerfEventType(PerfDataProto_PerfEventType&& from) noexcept
964     : PerfDataProto_PerfEventType() {
965     *this = ::std::move(from);
966   }
967 
968   inline PerfDataProto_PerfEventType& operator=(const PerfDataProto_PerfEventType& from) {
969     CopyFrom(from);
970     return *this;
971   }
972   inline PerfDataProto_PerfEventType& operator=(PerfDataProto_PerfEventType&& from) noexcept {
973     if (this == &from) return *this;
974     if (GetOwningArena() == from.GetOwningArena()
975   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
976         && GetOwningArena() != nullptr
977   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
978     ) {
979       InternalSwap(&from);
980     } else {
981       CopyFrom(from);
982     }
983     return *this;
984   }
985 
unknown_fields()986   inline const std::string& unknown_fields() const {
987     return _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString);
988   }
mutable_unknown_fields()989   inline std::string* mutable_unknown_fields() {
990     return _internal_metadata_.mutable_unknown_fields<std::string>();
991   }
992 
default_instance()993   static const PerfDataProto_PerfEventType& default_instance() {
994     return *internal_default_instance();
995   }
internal_default_instance()996   static inline const PerfDataProto_PerfEventType* internal_default_instance() {
997     return reinterpret_cast<const PerfDataProto_PerfEventType*>(
998                &_PerfDataProto_PerfEventType_default_instance_);
999   }
1000   static constexpr int kIndexInFileMessages =
1001     2;
1002 
swap(PerfDataProto_PerfEventType & a,PerfDataProto_PerfEventType & b)1003   friend void swap(PerfDataProto_PerfEventType& a, PerfDataProto_PerfEventType& b) {
1004     a.Swap(&b);
1005   }
Swap(PerfDataProto_PerfEventType * other)1006   PROTOBUF_NOINLINE void Swap(PerfDataProto_PerfEventType* other) {
1007     if (other == this) return;
1008   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
1009     if (GetOwningArena() != nullptr &&
1010         GetOwningArena() == other->GetOwningArena()) {
1011    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
1012     if (GetOwningArena() == other->GetOwningArena()) {
1013   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
1014       InternalSwap(other);
1015     } else {
1016       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
1017     }
1018   }
1019   void UnsafeArenaSwap(PerfDataProto_PerfEventType* other) {
1020     if (other == this) return;
1021     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
1022     InternalSwap(other);
1023   }
1024 
1025   // implements Message ----------------------------------------------
1026 
1027   PerfDataProto_PerfEventType* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
1028     return CreateMaybeMessage<PerfDataProto_PerfEventType>(arena);
1029   }
1030   void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)  final;
1031   void CopyFrom(const PerfDataProto_PerfEventType& from);
1032   void MergeFrom(const PerfDataProto_PerfEventType& from);
1033   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1034   bool IsInitialized() const final;
1035 
1036   size_t ByteSizeLong() const final;
1037   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1038   uint8_t* _InternalSerialize(
1039       uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1040   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
1041 
1042   private:
1043   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
1044   void SharedDtor();
1045   void SetCachedSize(int size) const;
1046   void InternalSwap(PerfDataProto_PerfEventType* other);
1047 
1048   private:
1049   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1050   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1051     return "metrics.PerfDataProto.PerfEventType";
1052   }
1053   protected:
1054   explicit PerfDataProto_PerfEventType(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1055                        bool is_message_owned = false);
1056   public:
1057 
1058   std::string GetTypeName() const final;
1059 
1060   // nested types ----------------------------------------------------
1061 
1062   // accessors -------------------------------------------------------
1063 
1064   enum : int {
1065     kIdFieldNumber = 1,
1066     kNameMd5PrefixFieldNumber = 3,
1067   };
1068   // optional uint64 id = 1;
1069   bool has_id() const;
1070   private:
1071   bool _internal_has_id() const;
1072   public:
1073   void clear_id();
1074   uint64_t id() const;
1075   void set_id(uint64_t value);
1076   private:
1077   uint64_t _internal_id() const;
1078   void _internal_set_id(uint64_t value);
1079   public:
1080 
1081   // optional uint64 name_md5_prefix = 3;
1082   bool has_name_md5_prefix() const;
1083   private:
1084   bool _internal_has_name_md5_prefix() const;
1085   public:
1086   void clear_name_md5_prefix();
1087   uint64_t name_md5_prefix() const;
1088   void set_name_md5_prefix(uint64_t value);
1089   private:
1090   uint64_t _internal_name_md5_prefix() const;
1091   void _internal_set_name_md5_prefix(uint64_t value);
1092   public:
1093 
1094   // @@protoc_insertion_point(class_scope:metrics.PerfDataProto.PerfEventType)
1095  private:
1096   class _Internal;
1097 
1098   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1099   typedef void InternalArenaConstructable_;
1100   typedef void DestructorSkippable_;
1101   struct Impl_ {
1102     ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
1103     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1104     uint64_t id_;
1105     uint64_t name_md5_prefix_;
1106   };
1107   union { Impl_ _impl_; };
1108   friend struct ::TableStruct_perf_5fdata_2eproto;
1109 };
1110 // -------------------------------------------------------------------
1111 
1112 class PerfDataProto_SampleInfo final :
1113     public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:metrics.PerfDataProto.SampleInfo) */ {
1114  public:
PerfDataProto_SampleInfo()1115   inline PerfDataProto_SampleInfo() : PerfDataProto_SampleInfo(nullptr) {}
1116   ~PerfDataProto_SampleInfo() override;
1117   explicit PROTOBUF_CONSTEXPR PerfDataProto_SampleInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
1118 
1119   PerfDataProto_SampleInfo(const PerfDataProto_SampleInfo& from);
PerfDataProto_SampleInfo(PerfDataProto_SampleInfo && from)1120   PerfDataProto_SampleInfo(PerfDataProto_SampleInfo&& from) noexcept
1121     : PerfDataProto_SampleInfo() {
1122     *this = ::std::move(from);
1123   }
1124 
1125   inline PerfDataProto_SampleInfo& operator=(const PerfDataProto_SampleInfo& from) {
1126     CopyFrom(from);
1127     return *this;
1128   }
1129   inline PerfDataProto_SampleInfo& operator=(PerfDataProto_SampleInfo&& from) noexcept {
1130     if (this == &from) return *this;
1131     if (GetOwningArena() == from.GetOwningArena()
1132   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
1133         && GetOwningArena() != nullptr
1134   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
1135     ) {
1136       InternalSwap(&from);
1137     } else {
1138       CopyFrom(from);
1139     }
1140     return *this;
1141   }
1142 
unknown_fields()1143   inline const std::string& unknown_fields() const {
1144     return _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString);
1145   }
mutable_unknown_fields()1146   inline std::string* mutable_unknown_fields() {
1147     return _internal_metadata_.mutable_unknown_fields<std::string>();
1148   }
1149 
default_instance()1150   static const PerfDataProto_SampleInfo& default_instance() {
1151     return *internal_default_instance();
1152   }
internal_default_instance()1153   static inline const PerfDataProto_SampleInfo* internal_default_instance() {
1154     return reinterpret_cast<const PerfDataProto_SampleInfo*>(
1155                &_PerfDataProto_SampleInfo_default_instance_);
1156   }
1157   static constexpr int kIndexInFileMessages =
1158     3;
1159 
swap(PerfDataProto_SampleInfo & a,PerfDataProto_SampleInfo & b)1160   friend void swap(PerfDataProto_SampleInfo& a, PerfDataProto_SampleInfo& b) {
1161     a.Swap(&b);
1162   }
Swap(PerfDataProto_SampleInfo * other)1163   PROTOBUF_NOINLINE void Swap(PerfDataProto_SampleInfo* other) {
1164     if (other == this) return;
1165   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
1166     if (GetOwningArena() != nullptr &&
1167         GetOwningArena() == other->GetOwningArena()) {
1168    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
1169     if (GetOwningArena() == other->GetOwningArena()) {
1170   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
1171       InternalSwap(other);
1172     } else {
1173       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
1174     }
1175   }
1176   void UnsafeArenaSwap(PerfDataProto_SampleInfo* other) {
1177     if (other == this) return;
1178     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
1179     InternalSwap(other);
1180   }
1181 
1182   // implements Message ----------------------------------------------
1183 
1184   PerfDataProto_SampleInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
1185     return CreateMaybeMessage<PerfDataProto_SampleInfo>(arena);
1186   }
1187   void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)  final;
1188   void CopyFrom(const PerfDataProto_SampleInfo& from);
1189   void MergeFrom(const PerfDataProto_SampleInfo& from);
1190   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1191   bool IsInitialized() const final;
1192 
1193   size_t ByteSizeLong() const final;
1194   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1195   uint8_t* _InternalSerialize(
1196       uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1197   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
1198 
1199   private:
1200   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
1201   void SharedDtor();
1202   void SetCachedSize(int size) const;
1203   void InternalSwap(PerfDataProto_SampleInfo* other);
1204 
1205   private:
1206   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1207   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1208     return "metrics.PerfDataProto.SampleInfo";
1209   }
1210   protected:
1211   explicit PerfDataProto_SampleInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1212                        bool is_message_owned = false);
1213   public:
1214 
1215   std::string GetTypeName() const final;
1216 
1217   // nested types ----------------------------------------------------
1218 
1219   // accessors -------------------------------------------------------
1220 
1221   enum : int {
1222     kPidFieldNumber = 1,
1223     kTidFieldNumber = 2,
1224     kSampleTimeNsFieldNumber = 3,
1225     kIdFieldNumber = 4,
1226     kCpuFieldNumber = 5,
1227   };
1228   // optional uint32 pid = 1;
1229   bool has_pid() const;
1230   private:
1231   bool _internal_has_pid() const;
1232   public:
1233   void clear_pid();
1234   uint32_t pid() const;
1235   void set_pid(uint32_t value);
1236   private:
1237   uint32_t _internal_pid() const;
1238   void _internal_set_pid(uint32_t value);
1239   public:
1240 
1241   // optional uint32 tid = 2;
1242   bool has_tid() const;
1243   private:
1244   bool _internal_has_tid() const;
1245   public:
1246   void clear_tid();
1247   uint32_t tid() const;
1248   void set_tid(uint32_t value);
1249   private:
1250   uint32_t _internal_tid() const;
1251   void _internal_set_tid(uint32_t value);
1252   public:
1253 
1254   // optional uint64 sample_time_ns = 3;
1255   bool has_sample_time_ns() const;
1256   private:
1257   bool _internal_has_sample_time_ns() const;
1258   public:
1259   void clear_sample_time_ns();
1260   uint64_t sample_time_ns() const;
1261   void set_sample_time_ns(uint64_t value);
1262   private:
1263   uint64_t _internal_sample_time_ns() const;
1264   void _internal_set_sample_time_ns(uint64_t value);
1265   public:
1266 
1267   // optional uint64 id = 4;
1268   bool has_id() const;
1269   private:
1270   bool _internal_has_id() const;
1271   public:
1272   void clear_id();
1273   uint64_t id() const;
1274   void set_id(uint64_t value);
1275   private:
1276   uint64_t _internal_id() const;
1277   void _internal_set_id(uint64_t value);
1278   public:
1279 
1280   // optional uint32 cpu = 5;
1281   bool has_cpu() const;
1282   private:
1283   bool _internal_has_cpu() const;
1284   public:
1285   void clear_cpu();
1286   uint32_t cpu() const;
1287   void set_cpu(uint32_t value);
1288   private:
1289   uint32_t _internal_cpu() const;
1290   void _internal_set_cpu(uint32_t value);
1291   public:
1292 
1293   // @@protoc_insertion_point(class_scope:metrics.PerfDataProto.SampleInfo)
1294  private:
1295   class _Internal;
1296 
1297   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1298   typedef void InternalArenaConstructable_;
1299   typedef void DestructorSkippable_;
1300   struct Impl_ {
1301     ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
1302     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1303     uint32_t pid_;
1304     uint32_t tid_;
1305     uint64_t sample_time_ns_;
1306     uint64_t id_;
1307     uint32_t cpu_;
1308   };
1309   union { Impl_ _impl_; };
1310   friend struct ::TableStruct_perf_5fdata_2eproto;
1311 };
1312 // -------------------------------------------------------------------
1313 
1314 class PerfDataProto_CommEvent final :
1315     public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:metrics.PerfDataProto.CommEvent) */ {
1316  public:
PerfDataProto_CommEvent()1317   inline PerfDataProto_CommEvent() : PerfDataProto_CommEvent(nullptr) {}
1318   ~PerfDataProto_CommEvent() override;
1319   explicit PROTOBUF_CONSTEXPR PerfDataProto_CommEvent(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
1320 
1321   PerfDataProto_CommEvent(const PerfDataProto_CommEvent& from);
PerfDataProto_CommEvent(PerfDataProto_CommEvent && from)1322   PerfDataProto_CommEvent(PerfDataProto_CommEvent&& from) noexcept
1323     : PerfDataProto_CommEvent() {
1324     *this = ::std::move(from);
1325   }
1326 
1327   inline PerfDataProto_CommEvent& operator=(const PerfDataProto_CommEvent& from) {
1328     CopyFrom(from);
1329     return *this;
1330   }
1331   inline PerfDataProto_CommEvent& operator=(PerfDataProto_CommEvent&& from) noexcept {
1332     if (this == &from) return *this;
1333     if (GetOwningArena() == from.GetOwningArena()
1334   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
1335         && GetOwningArena() != nullptr
1336   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
1337     ) {
1338       InternalSwap(&from);
1339     } else {
1340       CopyFrom(from);
1341     }
1342     return *this;
1343   }
1344 
unknown_fields()1345   inline const std::string& unknown_fields() const {
1346     return _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString);
1347   }
mutable_unknown_fields()1348   inline std::string* mutable_unknown_fields() {
1349     return _internal_metadata_.mutable_unknown_fields<std::string>();
1350   }
1351 
default_instance()1352   static const PerfDataProto_CommEvent& default_instance() {
1353     return *internal_default_instance();
1354   }
internal_default_instance()1355   static inline const PerfDataProto_CommEvent* internal_default_instance() {
1356     return reinterpret_cast<const PerfDataProto_CommEvent*>(
1357                &_PerfDataProto_CommEvent_default_instance_);
1358   }
1359   static constexpr int kIndexInFileMessages =
1360     4;
1361 
swap(PerfDataProto_CommEvent & a,PerfDataProto_CommEvent & b)1362   friend void swap(PerfDataProto_CommEvent& a, PerfDataProto_CommEvent& b) {
1363     a.Swap(&b);
1364   }
Swap(PerfDataProto_CommEvent * other)1365   PROTOBUF_NOINLINE void Swap(PerfDataProto_CommEvent* other) {
1366     if (other == this) return;
1367   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
1368     if (GetOwningArena() != nullptr &&
1369         GetOwningArena() == other->GetOwningArena()) {
1370    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
1371     if (GetOwningArena() == other->GetOwningArena()) {
1372   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
1373       InternalSwap(other);
1374     } else {
1375       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
1376     }
1377   }
1378   void UnsafeArenaSwap(PerfDataProto_CommEvent* other) {
1379     if (other == this) return;
1380     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
1381     InternalSwap(other);
1382   }
1383 
1384   // implements Message ----------------------------------------------
1385 
1386   PerfDataProto_CommEvent* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
1387     return CreateMaybeMessage<PerfDataProto_CommEvent>(arena);
1388   }
1389   void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)  final;
1390   void CopyFrom(const PerfDataProto_CommEvent& from);
1391   void MergeFrom(const PerfDataProto_CommEvent& from);
1392   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1393   bool IsInitialized() const final;
1394 
1395   size_t ByteSizeLong() const final;
1396   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1397   uint8_t* _InternalSerialize(
1398       uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1399   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
1400 
1401   private:
1402   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
1403   void SharedDtor();
1404   void SetCachedSize(int size) const;
1405   void InternalSwap(PerfDataProto_CommEvent* other);
1406 
1407   private:
1408   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1409   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1410     return "metrics.PerfDataProto.CommEvent";
1411   }
1412   protected:
1413   explicit PerfDataProto_CommEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1414                        bool is_message_owned = false);
1415   public:
1416 
1417   std::string GetTypeName() const final;
1418 
1419   // nested types ----------------------------------------------------
1420 
1421   // accessors -------------------------------------------------------
1422 
1423   enum : int {
1424     kSampleInfoFieldNumber = 6,
1425     kPidFieldNumber = 1,
1426     kTidFieldNumber = 2,
1427     kCommMd5PrefixFieldNumber = 4,
1428     kSampleTimeFieldNumber = 5,
1429   };
1430   // optional .metrics.PerfDataProto.SampleInfo sample_info = 6;
1431   bool has_sample_info() const;
1432   private:
1433   bool _internal_has_sample_info() const;
1434   public:
1435   void clear_sample_info();
1436   const ::metrics::PerfDataProto_SampleInfo& sample_info() const;
1437   PROTOBUF_NODISCARD ::metrics::PerfDataProto_SampleInfo* release_sample_info();
1438   ::metrics::PerfDataProto_SampleInfo* mutable_sample_info();
1439   void set_allocated_sample_info(::metrics::PerfDataProto_SampleInfo* sample_info);
1440   private:
1441   const ::metrics::PerfDataProto_SampleInfo& _internal_sample_info() const;
1442   ::metrics::PerfDataProto_SampleInfo* _internal_mutable_sample_info();
1443   public:
1444   void unsafe_arena_set_allocated_sample_info(
1445       ::metrics::PerfDataProto_SampleInfo* sample_info);
1446   ::metrics::PerfDataProto_SampleInfo* unsafe_arena_release_sample_info();
1447 
1448   // optional uint32 pid = 1;
1449   bool has_pid() const;
1450   private:
1451   bool _internal_has_pid() const;
1452   public:
1453   void clear_pid();
1454   uint32_t pid() const;
1455   void set_pid(uint32_t value);
1456   private:
1457   uint32_t _internal_pid() const;
1458   void _internal_set_pid(uint32_t value);
1459   public:
1460 
1461   // optional uint32 tid = 2;
1462   bool has_tid() const;
1463   private:
1464   bool _internal_has_tid() const;
1465   public:
1466   void clear_tid();
1467   uint32_t tid() const;
1468   void set_tid(uint32_t value);
1469   private:
1470   uint32_t _internal_tid() const;
1471   void _internal_set_tid(uint32_t value);
1472   public:
1473 
1474   // optional uint64 comm_md5_prefix = 4;
1475   bool has_comm_md5_prefix() const;
1476   private:
1477   bool _internal_has_comm_md5_prefix() const;
1478   public:
1479   void clear_comm_md5_prefix();
1480   uint64_t comm_md5_prefix() const;
1481   void set_comm_md5_prefix(uint64_t value);
1482   private:
1483   uint64_t _internal_comm_md5_prefix() const;
1484   void _internal_set_comm_md5_prefix(uint64_t value);
1485   public:
1486 
1487   // optional uint64 sample_time = 5 [deprecated = true];
1488   PROTOBUF_DEPRECATED bool has_sample_time() const;
1489   private:
1490   bool _internal_has_sample_time() const;
1491   public:
1492   PROTOBUF_DEPRECATED void clear_sample_time();
1493   PROTOBUF_DEPRECATED uint64_t sample_time() const;
1494   PROTOBUF_DEPRECATED void set_sample_time(uint64_t value);
1495   private:
1496   uint64_t _internal_sample_time() const;
1497   void _internal_set_sample_time(uint64_t value);
1498   public:
1499 
1500   // @@protoc_insertion_point(class_scope:metrics.PerfDataProto.CommEvent)
1501  private:
1502   class _Internal;
1503 
1504   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1505   typedef void InternalArenaConstructable_;
1506   typedef void DestructorSkippable_;
1507   struct Impl_ {
1508     ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
1509     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1510     ::metrics::PerfDataProto_SampleInfo* sample_info_;
1511     uint32_t pid_;
1512     uint32_t tid_;
1513     uint64_t comm_md5_prefix_;
1514     uint64_t sample_time_;
1515   };
1516   union { Impl_ _impl_; };
1517   friend struct ::TableStruct_perf_5fdata_2eproto;
1518 };
1519 // -------------------------------------------------------------------
1520 
1521 class PerfDataProto_MMapEvent final :
1522     public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:metrics.PerfDataProto.MMapEvent) */ {
1523  public:
PerfDataProto_MMapEvent()1524   inline PerfDataProto_MMapEvent() : PerfDataProto_MMapEvent(nullptr) {}
1525   ~PerfDataProto_MMapEvent() override;
1526   explicit PROTOBUF_CONSTEXPR PerfDataProto_MMapEvent(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
1527 
1528   PerfDataProto_MMapEvent(const PerfDataProto_MMapEvent& from);
PerfDataProto_MMapEvent(PerfDataProto_MMapEvent && from)1529   PerfDataProto_MMapEvent(PerfDataProto_MMapEvent&& from) noexcept
1530     : PerfDataProto_MMapEvent() {
1531     *this = ::std::move(from);
1532   }
1533 
1534   inline PerfDataProto_MMapEvent& operator=(const PerfDataProto_MMapEvent& from) {
1535     CopyFrom(from);
1536     return *this;
1537   }
1538   inline PerfDataProto_MMapEvent& operator=(PerfDataProto_MMapEvent&& from) noexcept {
1539     if (this == &from) return *this;
1540     if (GetOwningArena() == from.GetOwningArena()
1541   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
1542         && GetOwningArena() != nullptr
1543   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
1544     ) {
1545       InternalSwap(&from);
1546     } else {
1547       CopyFrom(from);
1548     }
1549     return *this;
1550   }
1551 
unknown_fields()1552   inline const std::string& unknown_fields() const {
1553     return _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString);
1554   }
mutable_unknown_fields()1555   inline std::string* mutable_unknown_fields() {
1556     return _internal_metadata_.mutable_unknown_fields<std::string>();
1557   }
1558 
default_instance()1559   static const PerfDataProto_MMapEvent& default_instance() {
1560     return *internal_default_instance();
1561   }
internal_default_instance()1562   static inline const PerfDataProto_MMapEvent* internal_default_instance() {
1563     return reinterpret_cast<const PerfDataProto_MMapEvent*>(
1564                &_PerfDataProto_MMapEvent_default_instance_);
1565   }
1566   static constexpr int kIndexInFileMessages =
1567     5;
1568 
swap(PerfDataProto_MMapEvent & a,PerfDataProto_MMapEvent & b)1569   friend void swap(PerfDataProto_MMapEvent& a, PerfDataProto_MMapEvent& b) {
1570     a.Swap(&b);
1571   }
Swap(PerfDataProto_MMapEvent * other)1572   PROTOBUF_NOINLINE void Swap(PerfDataProto_MMapEvent* other) {
1573     if (other == this) return;
1574   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
1575     if (GetOwningArena() != nullptr &&
1576         GetOwningArena() == other->GetOwningArena()) {
1577    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
1578     if (GetOwningArena() == other->GetOwningArena()) {
1579   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
1580       InternalSwap(other);
1581     } else {
1582       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
1583     }
1584   }
1585   void UnsafeArenaSwap(PerfDataProto_MMapEvent* other) {
1586     if (other == this) return;
1587     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
1588     InternalSwap(other);
1589   }
1590 
1591   // implements Message ----------------------------------------------
1592 
1593   PerfDataProto_MMapEvent* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
1594     return CreateMaybeMessage<PerfDataProto_MMapEvent>(arena);
1595   }
1596   void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)  final;
1597   void CopyFrom(const PerfDataProto_MMapEvent& from);
1598   void MergeFrom(const PerfDataProto_MMapEvent& from);
1599   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1600   bool IsInitialized() const final;
1601 
1602   size_t ByteSizeLong() const final;
1603   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1604   uint8_t* _InternalSerialize(
1605       uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1606   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
1607 
1608   private:
1609   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
1610   void SharedDtor();
1611   void SetCachedSize(int size) const;
1612   void InternalSwap(PerfDataProto_MMapEvent* other);
1613 
1614   private:
1615   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1616   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1617     return "metrics.PerfDataProto.MMapEvent";
1618   }
1619   protected:
1620   explicit PerfDataProto_MMapEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1621                        bool is_message_owned = false);
1622   public:
1623 
1624   std::string GetTypeName() const final;
1625 
1626   // nested types ----------------------------------------------------
1627 
1628   // accessors -------------------------------------------------------
1629 
1630   enum : int {
1631     kSampleInfoFieldNumber = 8,
1632     kPidFieldNumber = 1,
1633     kTidFieldNumber = 2,
1634     kStartFieldNumber = 3,
1635     kLenFieldNumber = 4,
1636     kPgoffFieldNumber = 5,
1637     kFilenameMd5PrefixFieldNumber = 7,
1638     kRootPathMd5PrefixFieldNumber = 16,
1639   };
1640   // optional .metrics.PerfDataProto.SampleInfo sample_info = 8;
1641   bool has_sample_info() const;
1642   private:
1643   bool _internal_has_sample_info() const;
1644   public:
1645   void clear_sample_info();
1646   const ::metrics::PerfDataProto_SampleInfo& sample_info() const;
1647   PROTOBUF_NODISCARD ::metrics::PerfDataProto_SampleInfo* release_sample_info();
1648   ::metrics::PerfDataProto_SampleInfo* mutable_sample_info();
1649   void set_allocated_sample_info(::metrics::PerfDataProto_SampleInfo* sample_info);
1650   private:
1651   const ::metrics::PerfDataProto_SampleInfo& _internal_sample_info() const;
1652   ::metrics::PerfDataProto_SampleInfo* _internal_mutable_sample_info();
1653   public:
1654   void unsafe_arena_set_allocated_sample_info(
1655       ::metrics::PerfDataProto_SampleInfo* sample_info);
1656   ::metrics::PerfDataProto_SampleInfo* unsafe_arena_release_sample_info();
1657 
1658   // optional uint32 pid = 1;
1659   bool has_pid() const;
1660   private:
1661   bool _internal_has_pid() const;
1662   public:
1663   void clear_pid();
1664   uint32_t pid() const;
1665   void set_pid(uint32_t value);
1666   private:
1667   uint32_t _internal_pid() const;
1668   void _internal_set_pid(uint32_t value);
1669   public:
1670 
1671   // optional uint32 tid = 2;
1672   bool has_tid() const;
1673   private:
1674   bool _internal_has_tid() const;
1675   public:
1676   void clear_tid();
1677   uint32_t tid() const;
1678   void set_tid(uint32_t value);
1679   private:
1680   uint32_t _internal_tid() const;
1681   void _internal_set_tid(uint32_t value);
1682   public:
1683 
1684   // optional uint64 start = 3;
1685   bool has_start() const;
1686   private:
1687   bool _internal_has_start() const;
1688   public:
1689   void clear_start();
1690   uint64_t start() const;
1691   void set_start(uint64_t value);
1692   private:
1693   uint64_t _internal_start() const;
1694   void _internal_set_start(uint64_t value);
1695   public:
1696 
1697   // optional uint64 len = 4;
1698   bool has_len() const;
1699   private:
1700   bool _internal_has_len() const;
1701   public:
1702   void clear_len();
1703   uint64_t len() const;
1704   void set_len(uint64_t value);
1705   private:
1706   uint64_t _internal_len() const;
1707   void _internal_set_len(uint64_t value);
1708   public:
1709 
1710   // optional uint64 pgoff = 5;
1711   bool has_pgoff() const;
1712   private:
1713   bool _internal_has_pgoff() const;
1714   public:
1715   void clear_pgoff();
1716   uint64_t pgoff() const;
1717   void set_pgoff(uint64_t value);
1718   private:
1719   uint64_t _internal_pgoff() const;
1720   void _internal_set_pgoff(uint64_t value);
1721   public:
1722 
1723   // optional uint64 filename_md5_prefix = 7;
1724   bool has_filename_md5_prefix() const;
1725   private:
1726   bool _internal_has_filename_md5_prefix() const;
1727   public:
1728   void clear_filename_md5_prefix();
1729   uint64_t filename_md5_prefix() const;
1730   void set_filename_md5_prefix(uint64_t value);
1731   private:
1732   uint64_t _internal_filename_md5_prefix() const;
1733   void _internal_set_filename_md5_prefix(uint64_t value);
1734   public:
1735 
1736   // optional uint64 root_path_md5_prefix = 16;
1737   bool has_root_path_md5_prefix() const;
1738   private:
1739   bool _internal_has_root_path_md5_prefix() const;
1740   public:
1741   void clear_root_path_md5_prefix();
1742   uint64_t root_path_md5_prefix() const;
1743   void set_root_path_md5_prefix(uint64_t value);
1744   private:
1745   uint64_t _internal_root_path_md5_prefix() const;
1746   void _internal_set_root_path_md5_prefix(uint64_t value);
1747   public:
1748 
1749   // @@protoc_insertion_point(class_scope:metrics.PerfDataProto.MMapEvent)
1750  private:
1751   class _Internal;
1752 
1753   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1754   typedef void InternalArenaConstructable_;
1755   typedef void DestructorSkippable_;
1756   struct Impl_ {
1757     ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
1758     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1759     ::metrics::PerfDataProto_SampleInfo* sample_info_;
1760     uint32_t pid_;
1761     uint32_t tid_;
1762     uint64_t start_;
1763     uint64_t len_;
1764     uint64_t pgoff_;
1765     uint64_t filename_md5_prefix_;
1766     uint64_t root_path_md5_prefix_;
1767   };
1768   union { Impl_ _impl_; };
1769   friend struct ::TableStruct_perf_5fdata_2eproto;
1770 };
1771 // -------------------------------------------------------------------
1772 
1773 class PerfDataProto_LostEvent final :
1774     public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:metrics.PerfDataProto.LostEvent) */ {
1775  public:
PerfDataProto_LostEvent()1776   inline PerfDataProto_LostEvent() : PerfDataProto_LostEvent(nullptr) {}
1777   ~PerfDataProto_LostEvent() override;
1778   explicit PROTOBUF_CONSTEXPR PerfDataProto_LostEvent(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
1779 
1780   PerfDataProto_LostEvent(const PerfDataProto_LostEvent& from);
PerfDataProto_LostEvent(PerfDataProto_LostEvent && from)1781   PerfDataProto_LostEvent(PerfDataProto_LostEvent&& from) noexcept
1782     : PerfDataProto_LostEvent() {
1783     *this = ::std::move(from);
1784   }
1785 
1786   inline PerfDataProto_LostEvent& operator=(const PerfDataProto_LostEvent& from) {
1787     CopyFrom(from);
1788     return *this;
1789   }
1790   inline PerfDataProto_LostEvent& operator=(PerfDataProto_LostEvent&& from) noexcept {
1791     if (this == &from) return *this;
1792     if (GetOwningArena() == from.GetOwningArena()
1793   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
1794         && GetOwningArena() != nullptr
1795   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
1796     ) {
1797       InternalSwap(&from);
1798     } else {
1799       CopyFrom(from);
1800     }
1801     return *this;
1802   }
1803 
unknown_fields()1804   inline const std::string& unknown_fields() const {
1805     return _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString);
1806   }
mutable_unknown_fields()1807   inline std::string* mutable_unknown_fields() {
1808     return _internal_metadata_.mutable_unknown_fields<std::string>();
1809   }
1810 
default_instance()1811   static const PerfDataProto_LostEvent& default_instance() {
1812     return *internal_default_instance();
1813   }
internal_default_instance()1814   static inline const PerfDataProto_LostEvent* internal_default_instance() {
1815     return reinterpret_cast<const PerfDataProto_LostEvent*>(
1816                &_PerfDataProto_LostEvent_default_instance_);
1817   }
1818   static constexpr int kIndexInFileMessages =
1819     6;
1820 
swap(PerfDataProto_LostEvent & a,PerfDataProto_LostEvent & b)1821   friend void swap(PerfDataProto_LostEvent& a, PerfDataProto_LostEvent& b) {
1822     a.Swap(&b);
1823   }
Swap(PerfDataProto_LostEvent * other)1824   PROTOBUF_NOINLINE void Swap(PerfDataProto_LostEvent* other) {
1825     if (other == this) return;
1826   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
1827     if (GetOwningArena() != nullptr &&
1828         GetOwningArena() == other->GetOwningArena()) {
1829    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
1830     if (GetOwningArena() == other->GetOwningArena()) {
1831   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
1832       InternalSwap(other);
1833     } else {
1834       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
1835     }
1836   }
1837   void UnsafeArenaSwap(PerfDataProto_LostEvent* other) {
1838     if (other == this) return;
1839     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
1840     InternalSwap(other);
1841   }
1842 
1843   // implements Message ----------------------------------------------
1844 
1845   PerfDataProto_LostEvent* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
1846     return CreateMaybeMessage<PerfDataProto_LostEvent>(arena);
1847   }
1848   void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)  final;
1849   void CopyFrom(const PerfDataProto_LostEvent& from);
1850   void MergeFrom(const PerfDataProto_LostEvent& from);
1851   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1852   bool IsInitialized() const final;
1853 
1854   size_t ByteSizeLong() const final;
1855   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1856   uint8_t* _InternalSerialize(
1857       uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1858   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
1859 
1860   private:
1861   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
1862   void SharedDtor();
1863   void SetCachedSize(int size) const;
1864   void InternalSwap(PerfDataProto_LostEvent* other);
1865 
1866   private:
1867   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1868   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1869     return "metrics.PerfDataProto.LostEvent";
1870   }
1871   protected:
1872   explicit PerfDataProto_LostEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1873                        bool is_message_owned = false);
1874   public:
1875 
1876   std::string GetTypeName() const final;
1877 
1878   // nested types ----------------------------------------------------
1879 
1880   // accessors -------------------------------------------------------
1881 
1882   enum : int {
1883     kSampleInfoFieldNumber = 3,
1884     kIdFieldNumber = 1,
1885     kLostFieldNumber = 2,
1886   };
1887   // optional .metrics.PerfDataProto.SampleInfo sample_info = 3;
1888   bool has_sample_info() const;
1889   private:
1890   bool _internal_has_sample_info() const;
1891   public:
1892   void clear_sample_info();
1893   const ::metrics::PerfDataProto_SampleInfo& sample_info() const;
1894   PROTOBUF_NODISCARD ::metrics::PerfDataProto_SampleInfo* release_sample_info();
1895   ::metrics::PerfDataProto_SampleInfo* mutable_sample_info();
1896   void set_allocated_sample_info(::metrics::PerfDataProto_SampleInfo* sample_info);
1897   private:
1898   const ::metrics::PerfDataProto_SampleInfo& _internal_sample_info() const;
1899   ::metrics::PerfDataProto_SampleInfo* _internal_mutable_sample_info();
1900   public:
1901   void unsafe_arena_set_allocated_sample_info(
1902       ::metrics::PerfDataProto_SampleInfo* sample_info);
1903   ::metrics::PerfDataProto_SampleInfo* unsafe_arena_release_sample_info();
1904 
1905   // optional uint64 id = 1;
1906   bool has_id() const;
1907   private:
1908   bool _internal_has_id() const;
1909   public:
1910   void clear_id();
1911   uint64_t id() const;
1912   void set_id(uint64_t value);
1913   private:
1914   uint64_t _internal_id() const;
1915   void _internal_set_id(uint64_t value);
1916   public:
1917 
1918   // optional uint64 lost = 2;
1919   bool has_lost() const;
1920   private:
1921   bool _internal_has_lost() const;
1922   public:
1923   void clear_lost();
1924   uint64_t lost() const;
1925   void set_lost(uint64_t value);
1926   private:
1927   uint64_t _internal_lost() const;
1928   void _internal_set_lost(uint64_t value);
1929   public:
1930 
1931   // @@protoc_insertion_point(class_scope:metrics.PerfDataProto.LostEvent)
1932  private:
1933   class _Internal;
1934 
1935   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1936   typedef void InternalArenaConstructable_;
1937   typedef void DestructorSkippable_;
1938   struct Impl_ {
1939     ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
1940     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1941     ::metrics::PerfDataProto_SampleInfo* sample_info_;
1942     uint64_t id_;
1943     uint64_t lost_;
1944   };
1945   union { Impl_ _impl_; };
1946   friend struct ::TableStruct_perf_5fdata_2eproto;
1947 };
1948 // -------------------------------------------------------------------
1949 
1950 class PerfDataProto_ThrottleEvent final :
1951     public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:metrics.PerfDataProto.ThrottleEvent) */ {
1952  public:
PerfDataProto_ThrottleEvent()1953   inline PerfDataProto_ThrottleEvent() : PerfDataProto_ThrottleEvent(nullptr) {}
1954   ~PerfDataProto_ThrottleEvent() override;
1955   explicit PROTOBUF_CONSTEXPR PerfDataProto_ThrottleEvent(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
1956 
1957   PerfDataProto_ThrottleEvent(const PerfDataProto_ThrottleEvent& from);
PerfDataProto_ThrottleEvent(PerfDataProto_ThrottleEvent && from)1958   PerfDataProto_ThrottleEvent(PerfDataProto_ThrottleEvent&& from) noexcept
1959     : PerfDataProto_ThrottleEvent() {
1960     *this = ::std::move(from);
1961   }
1962 
1963   inline PerfDataProto_ThrottleEvent& operator=(const PerfDataProto_ThrottleEvent& from) {
1964     CopyFrom(from);
1965     return *this;
1966   }
1967   inline PerfDataProto_ThrottleEvent& operator=(PerfDataProto_ThrottleEvent&& from) noexcept {
1968     if (this == &from) return *this;
1969     if (GetOwningArena() == from.GetOwningArena()
1970   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
1971         && GetOwningArena() != nullptr
1972   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
1973     ) {
1974       InternalSwap(&from);
1975     } else {
1976       CopyFrom(from);
1977     }
1978     return *this;
1979   }
1980 
unknown_fields()1981   inline const std::string& unknown_fields() const {
1982     return _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString);
1983   }
mutable_unknown_fields()1984   inline std::string* mutable_unknown_fields() {
1985     return _internal_metadata_.mutable_unknown_fields<std::string>();
1986   }
1987 
default_instance()1988   static const PerfDataProto_ThrottleEvent& default_instance() {
1989     return *internal_default_instance();
1990   }
internal_default_instance()1991   static inline const PerfDataProto_ThrottleEvent* internal_default_instance() {
1992     return reinterpret_cast<const PerfDataProto_ThrottleEvent*>(
1993                &_PerfDataProto_ThrottleEvent_default_instance_);
1994   }
1995   static constexpr int kIndexInFileMessages =
1996     7;
1997 
swap(PerfDataProto_ThrottleEvent & a,PerfDataProto_ThrottleEvent & b)1998   friend void swap(PerfDataProto_ThrottleEvent& a, PerfDataProto_ThrottleEvent& b) {
1999     a.Swap(&b);
2000   }
Swap(PerfDataProto_ThrottleEvent * other)2001   PROTOBUF_NOINLINE void Swap(PerfDataProto_ThrottleEvent* other) {
2002     if (other == this) return;
2003   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
2004     if (GetOwningArena() != nullptr &&
2005         GetOwningArena() == other->GetOwningArena()) {
2006    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
2007     if (GetOwningArena() == other->GetOwningArena()) {
2008   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
2009       InternalSwap(other);
2010     } else {
2011       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
2012     }
2013   }
2014   void UnsafeArenaSwap(PerfDataProto_ThrottleEvent* other) {
2015     if (other == this) return;
2016     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
2017     InternalSwap(other);
2018   }
2019 
2020   // implements Message ----------------------------------------------
2021 
2022   PerfDataProto_ThrottleEvent* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
2023     return CreateMaybeMessage<PerfDataProto_ThrottleEvent>(arena);
2024   }
2025   void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)  final;
2026   void CopyFrom(const PerfDataProto_ThrottleEvent& from);
2027   void MergeFrom(const PerfDataProto_ThrottleEvent& from);
2028   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
2029   bool IsInitialized() const final;
2030 
2031   size_t ByteSizeLong() const final;
2032   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
2033   uint8_t* _InternalSerialize(
2034       uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
2035   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
2036 
2037   private:
2038   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
2039   void SharedDtor();
2040   void SetCachedSize(int size) const;
2041   void InternalSwap(PerfDataProto_ThrottleEvent* other);
2042 
2043   private:
2044   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
2045   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
2046     return "metrics.PerfDataProto.ThrottleEvent";
2047   }
2048   protected:
2049   explicit PerfDataProto_ThrottleEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
2050                        bool is_message_owned = false);
2051   public:
2052 
2053   std::string GetTypeName() const final;
2054 
2055   // nested types ----------------------------------------------------
2056 
2057   // accessors -------------------------------------------------------
2058 
2059   enum : int {
2060     kSampleInfoFieldNumber = 4,
2061     kTimeNsFieldNumber = 1,
2062     kIdFieldNumber = 2,
2063     kStreamIdFieldNumber = 3,
2064   };
2065   // optional .metrics.PerfDataProto.SampleInfo sample_info = 4;
2066   bool has_sample_info() const;
2067   private:
2068   bool _internal_has_sample_info() const;
2069   public:
2070   void clear_sample_info();
2071   const ::metrics::PerfDataProto_SampleInfo& sample_info() const;
2072   PROTOBUF_NODISCARD ::metrics::PerfDataProto_SampleInfo* release_sample_info();
2073   ::metrics::PerfDataProto_SampleInfo* mutable_sample_info();
2074   void set_allocated_sample_info(::metrics::PerfDataProto_SampleInfo* sample_info);
2075   private:
2076   const ::metrics::PerfDataProto_SampleInfo& _internal_sample_info() const;
2077   ::metrics::PerfDataProto_SampleInfo* _internal_mutable_sample_info();
2078   public:
2079   void unsafe_arena_set_allocated_sample_info(
2080       ::metrics::PerfDataProto_SampleInfo* sample_info);
2081   ::metrics::PerfDataProto_SampleInfo* unsafe_arena_release_sample_info();
2082 
2083   // optional uint64 time_ns = 1;
2084   bool has_time_ns() const;
2085   private:
2086   bool _internal_has_time_ns() const;
2087   public:
2088   void clear_time_ns();
2089   uint64_t time_ns() const;
2090   void set_time_ns(uint64_t value);
2091   private:
2092   uint64_t _internal_time_ns() const;
2093   void _internal_set_time_ns(uint64_t value);
2094   public:
2095 
2096   // optional uint64 id = 2;
2097   bool has_id() const;
2098   private:
2099   bool _internal_has_id() const;
2100   public:
2101   void clear_id();
2102   uint64_t id() const;
2103   void set_id(uint64_t value);
2104   private:
2105   uint64_t _internal_id() const;
2106   void _internal_set_id(uint64_t value);
2107   public:
2108 
2109   // optional uint64 stream_id = 3;
2110   bool has_stream_id() const;
2111   private:
2112   bool _internal_has_stream_id() const;
2113   public:
2114   void clear_stream_id();
2115   uint64_t stream_id() const;
2116   void set_stream_id(uint64_t value);
2117   private:
2118   uint64_t _internal_stream_id() const;
2119   void _internal_set_stream_id(uint64_t value);
2120   public:
2121 
2122   // @@protoc_insertion_point(class_scope:metrics.PerfDataProto.ThrottleEvent)
2123  private:
2124   class _Internal;
2125 
2126   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
2127   typedef void InternalArenaConstructable_;
2128   typedef void DestructorSkippable_;
2129   struct Impl_ {
2130     ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
2131     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
2132     ::metrics::PerfDataProto_SampleInfo* sample_info_;
2133     uint64_t time_ns_;
2134     uint64_t id_;
2135     uint64_t stream_id_;
2136   };
2137   union { Impl_ _impl_; };
2138   friend struct ::TableStruct_perf_5fdata_2eproto;
2139 };
2140 // -------------------------------------------------------------------
2141 
2142 class PerfDataProto_BranchStackEntry final :
2143     public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:metrics.PerfDataProto.BranchStackEntry) */ {
2144  public:
PerfDataProto_BranchStackEntry()2145   inline PerfDataProto_BranchStackEntry() : PerfDataProto_BranchStackEntry(nullptr) {}
2146   ~PerfDataProto_BranchStackEntry() override;
2147   explicit PROTOBUF_CONSTEXPR PerfDataProto_BranchStackEntry(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
2148 
2149   PerfDataProto_BranchStackEntry(const PerfDataProto_BranchStackEntry& from);
PerfDataProto_BranchStackEntry(PerfDataProto_BranchStackEntry && from)2150   PerfDataProto_BranchStackEntry(PerfDataProto_BranchStackEntry&& from) noexcept
2151     : PerfDataProto_BranchStackEntry() {
2152     *this = ::std::move(from);
2153   }
2154 
2155   inline PerfDataProto_BranchStackEntry& operator=(const PerfDataProto_BranchStackEntry& from) {
2156     CopyFrom(from);
2157     return *this;
2158   }
2159   inline PerfDataProto_BranchStackEntry& operator=(PerfDataProto_BranchStackEntry&& from) noexcept {
2160     if (this == &from) return *this;
2161     if (GetOwningArena() == from.GetOwningArena()
2162   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
2163         && GetOwningArena() != nullptr
2164   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
2165     ) {
2166       InternalSwap(&from);
2167     } else {
2168       CopyFrom(from);
2169     }
2170     return *this;
2171   }
2172 
unknown_fields()2173   inline const std::string& unknown_fields() const {
2174     return _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString);
2175   }
mutable_unknown_fields()2176   inline std::string* mutable_unknown_fields() {
2177     return _internal_metadata_.mutable_unknown_fields<std::string>();
2178   }
2179 
default_instance()2180   static const PerfDataProto_BranchStackEntry& default_instance() {
2181     return *internal_default_instance();
2182   }
internal_default_instance()2183   static inline const PerfDataProto_BranchStackEntry* internal_default_instance() {
2184     return reinterpret_cast<const PerfDataProto_BranchStackEntry*>(
2185                &_PerfDataProto_BranchStackEntry_default_instance_);
2186   }
2187   static constexpr int kIndexInFileMessages =
2188     8;
2189 
swap(PerfDataProto_BranchStackEntry & a,PerfDataProto_BranchStackEntry & b)2190   friend void swap(PerfDataProto_BranchStackEntry& a, PerfDataProto_BranchStackEntry& b) {
2191     a.Swap(&b);
2192   }
Swap(PerfDataProto_BranchStackEntry * other)2193   PROTOBUF_NOINLINE void Swap(PerfDataProto_BranchStackEntry* other) {
2194     if (other == this) return;
2195   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
2196     if (GetOwningArena() != nullptr &&
2197         GetOwningArena() == other->GetOwningArena()) {
2198    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
2199     if (GetOwningArena() == other->GetOwningArena()) {
2200   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
2201       InternalSwap(other);
2202     } else {
2203       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
2204     }
2205   }
2206   void UnsafeArenaSwap(PerfDataProto_BranchStackEntry* other) {
2207     if (other == this) return;
2208     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
2209     InternalSwap(other);
2210   }
2211 
2212   // implements Message ----------------------------------------------
2213 
2214   PerfDataProto_BranchStackEntry* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
2215     return CreateMaybeMessage<PerfDataProto_BranchStackEntry>(arena);
2216   }
2217   void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)  final;
2218   void CopyFrom(const PerfDataProto_BranchStackEntry& from);
2219   void MergeFrom(const PerfDataProto_BranchStackEntry& from);
2220   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
2221   bool IsInitialized() const final;
2222 
2223   size_t ByteSizeLong() const final;
2224   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
2225   uint8_t* _InternalSerialize(
2226       uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
2227   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
2228 
2229   private:
2230   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
2231   void SharedDtor();
2232   void SetCachedSize(int size) const;
2233   void InternalSwap(PerfDataProto_BranchStackEntry* other);
2234 
2235   private:
2236   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
2237   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
2238     return "metrics.PerfDataProto.BranchStackEntry";
2239   }
2240   protected:
2241   explicit PerfDataProto_BranchStackEntry(::PROTOBUF_NAMESPACE_ID::Arena* arena,
2242                        bool is_message_owned = false);
2243   public:
2244 
2245   std::string GetTypeName() const final;
2246 
2247   // nested types ----------------------------------------------------
2248 
2249   // accessors -------------------------------------------------------
2250 
2251   enum : int {
2252     kFromIpFieldNumber = 1,
2253     kToIpFieldNumber = 2,
2254     kMispredictedFieldNumber = 3,
2255     kPredictedFieldNumber = 4,
2256     kInTransactionFieldNumber = 5,
2257     kAbortFieldNumber = 6,
2258     kCyclesFieldNumber = 7,
2259   };
2260   // optional uint64 from_ip = 1;
2261   bool has_from_ip() const;
2262   private:
2263   bool _internal_has_from_ip() const;
2264   public:
2265   void clear_from_ip();
2266   uint64_t from_ip() const;
2267   void set_from_ip(uint64_t value);
2268   private:
2269   uint64_t _internal_from_ip() const;
2270   void _internal_set_from_ip(uint64_t value);
2271   public:
2272 
2273   // optional uint64 to_ip = 2;
2274   bool has_to_ip() const;
2275   private:
2276   bool _internal_has_to_ip() const;
2277   public:
2278   void clear_to_ip();
2279   uint64_t to_ip() const;
2280   void set_to_ip(uint64_t value);
2281   private:
2282   uint64_t _internal_to_ip() const;
2283   void _internal_set_to_ip(uint64_t value);
2284   public:
2285 
2286   // optional bool mispredicted = 3;
2287   bool has_mispredicted() const;
2288   private:
2289   bool _internal_has_mispredicted() const;
2290   public:
2291   void clear_mispredicted();
2292   bool mispredicted() const;
2293   void set_mispredicted(bool value);
2294   private:
2295   bool _internal_mispredicted() const;
2296   void _internal_set_mispredicted(bool value);
2297   public:
2298 
2299   // optional bool predicted = 4;
2300   bool has_predicted() const;
2301   private:
2302   bool _internal_has_predicted() const;
2303   public:
2304   void clear_predicted();
2305   bool predicted() const;
2306   void set_predicted(bool value);
2307   private:
2308   bool _internal_predicted() const;
2309   void _internal_set_predicted(bool value);
2310   public:
2311 
2312   // optional bool in_transaction = 5;
2313   bool has_in_transaction() const;
2314   private:
2315   bool _internal_has_in_transaction() const;
2316   public:
2317   void clear_in_transaction();
2318   bool in_transaction() const;
2319   void set_in_transaction(bool value);
2320   private:
2321   bool _internal_in_transaction() const;
2322   void _internal_set_in_transaction(bool value);
2323   public:
2324 
2325   // optional bool abort = 6;
2326   bool has_abort() const;
2327   private:
2328   bool _internal_has_abort() const;
2329   public:
2330   void clear_abort();
2331   bool abort() const;
2332   void set_abort(bool value);
2333   private:
2334   bool _internal_abort() const;
2335   void _internal_set_abort(bool value);
2336   public:
2337 
2338   // optional uint32 cycles = 7;
2339   bool has_cycles() const;
2340   private:
2341   bool _internal_has_cycles() const;
2342   public:
2343   void clear_cycles();
2344   uint32_t cycles() const;
2345   void set_cycles(uint32_t value);
2346   private:
2347   uint32_t _internal_cycles() const;
2348   void _internal_set_cycles(uint32_t value);
2349   public:
2350 
2351   // @@protoc_insertion_point(class_scope:metrics.PerfDataProto.BranchStackEntry)
2352  private:
2353   class _Internal;
2354 
2355   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
2356   typedef void InternalArenaConstructable_;
2357   typedef void DestructorSkippable_;
2358   struct Impl_ {
2359     ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
2360     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
2361     uint64_t from_ip_;
2362     uint64_t to_ip_;
2363     bool mispredicted_;
2364     bool predicted_;
2365     bool in_transaction_;
2366     bool abort_;
2367     uint32_t cycles_;
2368   };
2369   union { Impl_ _impl_; };
2370   friend struct ::TableStruct_perf_5fdata_2eproto;
2371 };
2372 // -------------------------------------------------------------------
2373 
2374 class PerfDataProto_SampleEvent final :
2375     public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:metrics.PerfDataProto.SampleEvent) */ {
2376  public:
PerfDataProto_SampleEvent()2377   inline PerfDataProto_SampleEvent() : PerfDataProto_SampleEvent(nullptr) {}
2378   ~PerfDataProto_SampleEvent() override;
2379   explicit PROTOBUF_CONSTEXPR PerfDataProto_SampleEvent(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
2380 
2381   PerfDataProto_SampleEvent(const PerfDataProto_SampleEvent& from);
PerfDataProto_SampleEvent(PerfDataProto_SampleEvent && from)2382   PerfDataProto_SampleEvent(PerfDataProto_SampleEvent&& from) noexcept
2383     : PerfDataProto_SampleEvent() {
2384     *this = ::std::move(from);
2385   }
2386 
2387   inline PerfDataProto_SampleEvent& operator=(const PerfDataProto_SampleEvent& from) {
2388     CopyFrom(from);
2389     return *this;
2390   }
2391   inline PerfDataProto_SampleEvent& operator=(PerfDataProto_SampleEvent&& from) noexcept {
2392     if (this == &from) return *this;
2393     if (GetOwningArena() == from.GetOwningArena()
2394   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
2395         && GetOwningArena() != nullptr
2396   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
2397     ) {
2398       InternalSwap(&from);
2399     } else {
2400       CopyFrom(from);
2401     }
2402     return *this;
2403   }
2404 
unknown_fields()2405   inline const std::string& unknown_fields() const {
2406     return _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString);
2407   }
mutable_unknown_fields()2408   inline std::string* mutable_unknown_fields() {
2409     return _internal_metadata_.mutable_unknown_fields<std::string>();
2410   }
2411 
default_instance()2412   static const PerfDataProto_SampleEvent& default_instance() {
2413     return *internal_default_instance();
2414   }
internal_default_instance()2415   static inline const PerfDataProto_SampleEvent* internal_default_instance() {
2416     return reinterpret_cast<const PerfDataProto_SampleEvent*>(
2417                &_PerfDataProto_SampleEvent_default_instance_);
2418   }
2419   static constexpr int kIndexInFileMessages =
2420     9;
2421 
swap(PerfDataProto_SampleEvent & a,PerfDataProto_SampleEvent & b)2422   friend void swap(PerfDataProto_SampleEvent& a, PerfDataProto_SampleEvent& b) {
2423     a.Swap(&b);
2424   }
Swap(PerfDataProto_SampleEvent * other)2425   PROTOBUF_NOINLINE void Swap(PerfDataProto_SampleEvent* other) {
2426     if (other == this) return;
2427   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
2428     if (GetOwningArena() != nullptr &&
2429         GetOwningArena() == other->GetOwningArena()) {
2430    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
2431     if (GetOwningArena() == other->GetOwningArena()) {
2432   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
2433       InternalSwap(other);
2434     } else {
2435       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
2436     }
2437   }
2438   void UnsafeArenaSwap(PerfDataProto_SampleEvent* other) {
2439     if (other == this) return;
2440     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
2441     InternalSwap(other);
2442   }
2443 
2444   // implements Message ----------------------------------------------
2445 
2446   PerfDataProto_SampleEvent* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
2447     return CreateMaybeMessage<PerfDataProto_SampleEvent>(arena);
2448   }
2449   void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)  final;
2450   void CopyFrom(const PerfDataProto_SampleEvent& from);
2451   void MergeFrom(const PerfDataProto_SampleEvent& from);
2452   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
2453   bool IsInitialized() const final;
2454 
2455   size_t ByteSizeLong() const final;
2456   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
2457   uint8_t* _InternalSerialize(
2458       uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
2459   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
2460 
2461   private:
2462   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
2463   void SharedDtor();
2464   void SetCachedSize(int size) const;
2465   void InternalSwap(PerfDataProto_SampleEvent* other);
2466 
2467   private:
2468   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
2469   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
2470     return "metrics.PerfDataProto.SampleEvent";
2471   }
2472   protected:
2473   explicit PerfDataProto_SampleEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
2474                        bool is_message_owned = false);
2475   public:
2476 
2477   std::string GetTypeName() const final;
2478 
2479   // nested types ----------------------------------------------------
2480 
2481   // accessors -------------------------------------------------------
2482 
2483   enum : int {
2484     kCallchainFieldNumber = 11,
2485     kBranchStackFieldNumber = 12,
2486     kIpFieldNumber = 1,
2487     kPidFieldNumber = 2,
2488     kTidFieldNumber = 3,
2489     kSampleTimeNsFieldNumber = 4,
2490     kAddrFieldNumber = 5,
2491     kIdFieldNumber = 6,
2492     kStreamIdFieldNumber = 7,
2493     kPeriodFieldNumber = 8,
2494     kCpuFieldNumber = 9,
2495     kRawSizeFieldNumber = 10,
2496     kWeightFieldNumber = 15,
2497     kDataSrcFieldNumber = 16,
2498     kTransactionFieldNumber = 17,
2499   };
2500   // repeated uint64 callchain = 11;
2501   int callchain_size() const;
2502   private:
2503   int _internal_callchain_size() const;
2504   public:
2505   void clear_callchain();
2506   private:
2507   uint64_t _internal_callchain(int index) const;
2508   const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >&
2509       _internal_callchain() const;
2510   void _internal_add_callchain(uint64_t value);
2511   ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >*
2512       _internal_mutable_callchain();
2513   public:
2514   uint64_t callchain(int index) const;
2515   void set_callchain(int index, uint64_t value);
2516   void add_callchain(uint64_t value);
2517   const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >&
2518       callchain() const;
2519   ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >*
2520       mutable_callchain();
2521 
2522   // repeated .metrics.PerfDataProto.BranchStackEntry branch_stack = 12;
2523   int branch_stack_size() const;
2524   private:
2525   int _internal_branch_stack_size() const;
2526   public:
2527   void clear_branch_stack();
2528   ::metrics::PerfDataProto_BranchStackEntry* mutable_branch_stack(int index);
2529   ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::PerfDataProto_BranchStackEntry >*
2530       mutable_branch_stack();
2531   private:
2532   const ::metrics::PerfDataProto_BranchStackEntry& _internal_branch_stack(int index) const;
2533   ::metrics::PerfDataProto_BranchStackEntry* _internal_add_branch_stack();
2534   public:
2535   const ::metrics::PerfDataProto_BranchStackEntry& branch_stack(int index) const;
2536   ::metrics::PerfDataProto_BranchStackEntry* add_branch_stack();
2537   const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::PerfDataProto_BranchStackEntry >&
2538       branch_stack() const;
2539 
2540   // optional uint64 ip = 1;
2541   bool has_ip() const;
2542   private:
2543   bool _internal_has_ip() const;
2544   public:
2545   void clear_ip();
2546   uint64_t ip() const;
2547   void set_ip(uint64_t value);
2548   private:
2549   uint64_t _internal_ip() const;
2550   void _internal_set_ip(uint64_t value);
2551   public:
2552 
2553   // optional uint32 pid = 2;
2554   bool has_pid() const;
2555   private:
2556   bool _internal_has_pid() const;
2557   public:
2558   void clear_pid();
2559   uint32_t pid() const;
2560   void set_pid(uint32_t value);
2561   private:
2562   uint32_t _internal_pid() const;
2563   void _internal_set_pid(uint32_t value);
2564   public:
2565 
2566   // optional uint32 tid = 3;
2567   bool has_tid() const;
2568   private:
2569   bool _internal_has_tid() const;
2570   public:
2571   void clear_tid();
2572   uint32_t tid() const;
2573   void set_tid(uint32_t value);
2574   private:
2575   uint32_t _internal_tid() const;
2576   void _internal_set_tid(uint32_t value);
2577   public:
2578 
2579   // optional uint64 sample_time_ns = 4;
2580   bool has_sample_time_ns() const;
2581   private:
2582   bool _internal_has_sample_time_ns() const;
2583   public:
2584   void clear_sample_time_ns();
2585   uint64_t sample_time_ns() const;
2586   void set_sample_time_ns(uint64_t value);
2587   private:
2588   uint64_t _internal_sample_time_ns() const;
2589   void _internal_set_sample_time_ns(uint64_t value);
2590   public:
2591 
2592   // optional uint64 addr = 5;
2593   bool has_addr() const;
2594   private:
2595   bool _internal_has_addr() const;
2596   public:
2597   void clear_addr();
2598   uint64_t addr() const;
2599   void set_addr(uint64_t value);
2600   private:
2601   uint64_t _internal_addr() const;
2602   void _internal_set_addr(uint64_t value);
2603   public:
2604 
2605   // optional uint64 id = 6;
2606   bool has_id() const;
2607   private:
2608   bool _internal_has_id() const;
2609   public:
2610   void clear_id();
2611   uint64_t id() const;
2612   void set_id(uint64_t value);
2613   private:
2614   uint64_t _internal_id() const;
2615   void _internal_set_id(uint64_t value);
2616   public:
2617 
2618   // optional uint64 stream_id = 7;
2619   bool has_stream_id() const;
2620   private:
2621   bool _internal_has_stream_id() const;
2622   public:
2623   void clear_stream_id();
2624   uint64_t stream_id() const;
2625   void set_stream_id(uint64_t value);
2626   private:
2627   uint64_t _internal_stream_id() const;
2628   void _internal_set_stream_id(uint64_t value);
2629   public:
2630 
2631   // optional uint64 period = 8;
2632   bool has_period() const;
2633   private:
2634   bool _internal_has_period() const;
2635   public:
2636   void clear_period();
2637   uint64_t period() const;
2638   void set_period(uint64_t value);
2639   private:
2640   uint64_t _internal_period() const;
2641   void _internal_set_period(uint64_t value);
2642   public:
2643 
2644   // optional uint32 cpu = 9;
2645   bool has_cpu() const;
2646   private:
2647   bool _internal_has_cpu() const;
2648   public:
2649   void clear_cpu();
2650   uint32_t cpu() const;
2651   void set_cpu(uint32_t value);
2652   private:
2653   uint32_t _internal_cpu() const;
2654   void _internal_set_cpu(uint32_t value);
2655   public:
2656 
2657   // optional uint32 raw_size = 10;
2658   bool has_raw_size() const;
2659   private:
2660   bool _internal_has_raw_size() const;
2661   public:
2662   void clear_raw_size();
2663   uint32_t raw_size() const;
2664   void set_raw_size(uint32_t value);
2665   private:
2666   uint32_t _internal_raw_size() const;
2667   void _internal_set_raw_size(uint32_t value);
2668   public:
2669 
2670   // optional uint64 weight = 15;
2671   bool has_weight() const;
2672   private:
2673   bool _internal_has_weight() const;
2674   public:
2675   void clear_weight();
2676   uint64_t weight() const;
2677   void set_weight(uint64_t value);
2678   private:
2679   uint64_t _internal_weight() const;
2680   void _internal_set_weight(uint64_t value);
2681   public:
2682 
2683   // optional uint64 data_src = 16;
2684   bool has_data_src() const;
2685   private:
2686   bool _internal_has_data_src() const;
2687   public:
2688   void clear_data_src();
2689   uint64_t data_src() const;
2690   void set_data_src(uint64_t value);
2691   private:
2692   uint64_t _internal_data_src() const;
2693   void _internal_set_data_src(uint64_t value);
2694   public:
2695 
2696   // optional uint64 transaction = 17;
2697   bool has_transaction() const;
2698   private:
2699   bool _internal_has_transaction() const;
2700   public:
2701   void clear_transaction();
2702   uint64_t transaction() const;
2703   void set_transaction(uint64_t value);
2704   private:
2705   uint64_t _internal_transaction() const;
2706   void _internal_set_transaction(uint64_t value);
2707   public:
2708 
2709   // @@protoc_insertion_point(class_scope:metrics.PerfDataProto.SampleEvent)
2710  private:
2711   class _Internal;
2712 
2713   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
2714   typedef void InternalArenaConstructable_;
2715   typedef void DestructorSkippable_;
2716   struct Impl_ {
2717     ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
2718     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
2719     ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t > callchain_;
2720     ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::PerfDataProto_BranchStackEntry > branch_stack_;
2721     uint64_t ip_;
2722     uint32_t pid_;
2723     uint32_t tid_;
2724     uint64_t sample_time_ns_;
2725     uint64_t addr_;
2726     uint64_t id_;
2727     uint64_t stream_id_;
2728     uint64_t period_;
2729     uint32_t cpu_;
2730     uint32_t raw_size_;
2731     uint64_t weight_;
2732     uint64_t data_src_;
2733     uint64_t transaction_;
2734   };
2735   union { Impl_ _impl_; };
2736   friend struct ::TableStruct_perf_5fdata_2eproto;
2737 };
2738 // -------------------------------------------------------------------
2739 
2740 class PerfDataProto_ForkEvent final :
2741     public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:metrics.PerfDataProto.ForkEvent) */ {
2742  public:
PerfDataProto_ForkEvent()2743   inline PerfDataProto_ForkEvent() : PerfDataProto_ForkEvent(nullptr) {}
2744   ~PerfDataProto_ForkEvent() override;
2745   explicit PROTOBUF_CONSTEXPR PerfDataProto_ForkEvent(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
2746 
2747   PerfDataProto_ForkEvent(const PerfDataProto_ForkEvent& from);
PerfDataProto_ForkEvent(PerfDataProto_ForkEvent && from)2748   PerfDataProto_ForkEvent(PerfDataProto_ForkEvent&& from) noexcept
2749     : PerfDataProto_ForkEvent() {
2750     *this = ::std::move(from);
2751   }
2752 
2753   inline PerfDataProto_ForkEvent& operator=(const PerfDataProto_ForkEvent& from) {
2754     CopyFrom(from);
2755     return *this;
2756   }
2757   inline PerfDataProto_ForkEvent& operator=(PerfDataProto_ForkEvent&& from) noexcept {
2758     if (this == &from) return *this;
2759     if (GetOwningArena() == from.GetOwningArena()
2760   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
2761         && GetOwningArena() != nullptr
2762   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
2763     ) {
2764       InternalSwap(&from);
2765     } else {
2766       CopyFrom(from);
2767     }
2768     return *this;
2769   }
2770 
unknown_fields()2771   inline const std::string& unknown_fields() const {
2772     return _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString);
2773   }
mutable_unknown_fields()2774   inline std::string* mutable_unknown_fields() {
2775     return _internal_metadata_.mutable_unknown_fields<std::string>();
2776   }
2777 
default_instance()2778   static const PerfDataProto_ForkEvent& default_instance() {
2779     return *internal_default_instance();
2780   }
internal_default_instance()2781   static inline const PerfDataProto_ForkEvent* internal_default_instance() {
2782     return reinterpret_cast<const PerfDataProto_ForkEvent*>(
2783                &_PerfDataProto_ForkEvent_default_instance_);
2784   }
2785   static constexpr int kIndexInFileMessages =
2786     10;
2787 
swap(PerfDataProto_ForkEvent & a,PerfDataProto_ForkEvent & b)2788   friend void swap(PerfDataProto_ForkEvent& a, PerfDataProto_ForkEvent& b) {
2789     a.Swap(&b);
2790   }
Swap(PerfDataProto_ForkEvent * other)2791   PROTOBUF_NOINLINE void Swap(PerfDataProto_ForkEvent* other) {
2792     if (other == this) return;
2793   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
2794     if (GetOwningArena() != nullptr &&
2795         GetOwningArena() == other->GetOwningArena()) {
2796    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
2797     if (GetOwningArena() == other->GetOwningArena()) {
2798   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
2799       InternalSwap(other);
2800     } else {
2801       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
2802     }
2803   }
2804   void UnsafeArenaSwap(PerfDataProto_ForkEvent* other) {
2805     if (other == this) return;
2806     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
2807     InternalSwap(other);
2808   }
2809 
2810   // implements Message ----------------------------------------------
2811 
2812   PerfDataProto_ForkEvent* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
2813     return CreateMaybeMessage<PerfDataProto_ForkEvent>(arena);
2814   }
2815   void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)  final;
2816   void CopyFrom(const PerfDataProto_ForkEvent& from);
2817   void MergeFrom(const PerfDataProto_ForkEvent& from);
2818   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
2819   bool IsInitialized() const final;
2820 
2821   size_t ByteSizeLong() const final;
2822   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
2823   uint8_t* _InternalSerialize(
2824       uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
2825   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
2826 
2827   private:
2828   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
2829   void SharedDtor();
2830   void SetCachedSize(int size) const;
2831   void InternalSwap(PerfDataProto_ForkEvent* other);
2832 
2833   private:
2834   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
2835   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
2836     return "metrics.PerfDataProto.ForkEvent";
2837   }
2838   protected:
2839   explicit PerfDataProto_ForkEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
2840                        bool is_message_owned = false);
2841   public:
2842 
2843   std::string GetTypeName() const final;
2844 
2845   // nested types ----------------------------------------------------
2846 
2847   // accessors -------------------------------------------------------
2848 
2849   enum : int {
2850     kSampleInfoFieldNumber = 11,
2851     kPidFieldNumber = 1,
2852     kPpidFieldNumber = 2,
2853     kTidFieldNumber = 3,
2854     kPtidFieldNumber = 4,
2855     kForkTimeNsFieldNumber = 5,
2856   };
2857   // optional .metrics.PerfDataProto.SampleInfo sample_info = 11;
2858   bool has_sample_info() const;
2859   private:
2860   bool _internal_has_sample_info() const;
2861   public:
2862   void clear_sample_info();
2863   const ::metrics::PerfDataProto_SampleInfo& sample_info() const;
2864   PROTOBUF_NODISCARD ::metrics::PerfDataProto_SampleInfo* release_sample_info();
2865   ::metrics::PerfDataProto_SampleInfo* mutable_sample_info();
2866   void set_allocated_sample_info(::metrics::PerfDataProto_SampleInfo* sample_info);
2867   private:
2868   const ::metrics::PerfDataProto_SampleInfo& _internal_sample_info() const;
2869   ::metrics::PerfDataProto_SampleInfo* _internal_mutable_sample_info();
2870   public:
2871   void unsafe_arena_set_allocated_sample_info(
2872       ::metrics::PerfDataProto_SampleInfo* sample_info);
2873   ::metrics::PerfDataProto_SampleInfo* unsafe_arena_release_sample_info();
2874 
2875   // optional uint32 pid = 1;
2876   bool has_pid() const;
2877   private:
2878   bool _internal_has_pid() const;
2879   public:
2880   void clear_pid();
2881   uint32_t pid() const;
2882   void set_pid(uint32_t value);
2883   private:
2884   uint32_t _internal_pid() const;
2885   void _internal_set_pid(uint32_t value);
2886   public:
2887 
2888   // optional uint32 ppid = 2;
2889   bool has_ppid() const;
2890   private:
2891   bool _internal_has_ppid() const;
2892   public:
2893   void clear_ppid();
2894   uint32_t ppid() const;
2895   void set_ppid(uint32_t value);
2896   private:
2897   uint32_t _internal_ppid() const;
2898   void _internal_set_ppid(uint32_t value);
2899   public:
2900 
2901   // optional uint32 tid = 3;
2902   bool has_tid() const;
2903   private:
2904   bool _internal_has_tid() const;
2905   public:
2906   void clear_tid();
2907   uint32_t tid() const;
2908   void set_tid(uint32_t value);
2909   private:
2910   uint32_t _internal_tid() const;
2911   void _internal_set_tid(uint32_t value);
2912   public:
2913 
2914   // optional uint32 ptid = 4;
2915   bool has_ptid() const;
2916   private:
2917   bool _internal_has_ptid() const;
2918   public:
2919   void clear_ptid();
2920   uint32_t ptid() const;
2921   void set_ptid(uint32_t value);
2922   private:
2923   uint32_t _internal_ptid() const;
2924   void _internal_set_ptid(uint32_t value);
2925   public:
2926 
2927   // optional uint64 fork_time_ns = 5;
2928   bool has_fork_time_ns() const;
2929   private:
2930   bool _internal_has_fork_time_ns() const;
2931   public:
2932   void clear_fork_time_ns();
2933   uint64_t fork_time_ns() const;
2934   void set_fork_time_ns(uint64_t value);
2935   private:
2936   uint64_t _internal_fork_time_ns() const;
2937   void _internal_set_fork_time_ns(uint64_t value);
2938   public:
2939 
2940   // @@protoc_insertion_point(class_scope:metrics.PerfDataProto.ForkEvent)
2941  private:
2942   class _Internal;
2943 
2944   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
2945   typedef void InternalArenaConstructable_;
2946   typedef void DestructorSkippable_;
2947   struct Impl_ {
2948     ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
2949     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
2950     ::metrics::PerfDataProto_SampleInfo* sample_info_;
2951     uint32_t pid_;
2952     uint32_t ppid_;
2953     uint32_t tid_;
2954     uint32_t ptid_;
2955     uint64_t fork_time_ns_;
2956   };
2957   union { Impl_ _impl_; };
2958   friend struct ::TableStruct_perf_5fdata_2eproto;
2959 };
2960 // -------------------------------------------------------------------
2961 
2962 class PerfDataProto_EventHeader final :
2963     public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:metrics.PerfDataProto.EventHeader) */ {
2964  public:
PerfDataProto_EventHeader()2965   inline PerfDataProto_EventHeader() : PerfDataProto_EventHeader(nullptr) {}
2966   ~PerfDataProto_EventHeader() override;
2967   explicit PROTOBUF_CONSTEXPR PerfDataProto_EventHeader(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
2968 
2969   PerfDataProto_EventHeader(const PerfDataProto_EventHeader& from);
PerfDataProto_EventHeader(PerfDataProto_EventHeader && from)2970   PerfDataProto_EventHeader(PerfDataProto_EventHeader&& from) noexcept
2971     : PerfDataProto_EventHeader() {
2972     *this = ::std::move(from);
2973   }
2974 
2975   inline PerfDataProto_EventHeader& operator=(const PerfDataProto_EventHeader& from) {
2976     CopyFrom(from);
2977     return *this;
2978   }
2979   inline PerfDataProto_EventHeader& operator=(PerfDataProto_EventHeader&& from) noexcept {
2980     if (this == &from) return *this;
2981     if (GetOwningArena() == from.GetOwningArena()
2982   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
2983         && GetOwningArena() != nullptr
2984   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
2985     ) {
2986       InternalSwap(&from);
2987     } else {
2988       CopyFrom(from);
2989     }
2990     return *this;
2991   }
2992 
unknown_fields()2993   inline const std::string& unknown_fields() const {
2994     return _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString);
2995   }
mutable_unknown_fields()2996   inline std::string* mutable_unknown_fields() {
2997     return _internal_metadata_.mutable_unknown_fields<std::string>();
2998   }
2999 
default_instance()3000   static const PerfDataProto_EventHeader& default_instance() {
3001     return *internal_default_instance();
3002   }
internal_default_instance()3003   static inline const PerfDataProto_EventHeader* internal_default_instance() {
3004     return reinterpret_cast<const PerfDataProto_EventHeader*>(
3005                &_PerfDataProto_EventHeader_default_instance_);
3006   }
3007   static constexpr int kIndexInFileMessages =
3008     11;
3009 
swap(PerfDataProto_EventHeader & a,PerfDataProto_EventHeader & b)3010   friend void swap(PerfDataProto_EventHeader& a, PerfDataProto_EventHeader& b) {
3011     a.Swap(&b);
3012   }
Swap(PerfDataProto_EventHeader * other)3013   PROTOBUF_NOINLINE void Swap(PerfDataProto_EventHeader* other) {
3014     if (other == this) return;
3015   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
3016     if (GetOwningArena() != nullptr &&
3017         GetOwningArena() == other->GetOwningArena()) {
3018    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
3019     if (GetOwningArena() == other->GetOwningArena()) {
3020   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
3021       InternalSwap(other);
3022     } else {
3023       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
3024     }
3025   }
3026   void UnsafeArenaSwap(PerfDataProto_EventHeader* other) {
3027     if (other == this) return;
3028     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
3029     InternalSwap(other);
3030   }
3031 
3032   // implements Message ----------------------------------------------
3033 
3034   PerfDataProto_EventHeader* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
3035     return CreateMaybeMessage<PerfDataProto_EventHeader>(arena);
3036   }
3037   void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)  final;
3038   void CopyFrom(const PerfDataProto_EventHeader& from);
3039   void MergeFrom(const PerfDataProto_EventHeader& from);
3040   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
3041   bool IsInitialized() const final;
3042 
3043   size_t ByteSizeLong() const final;
3044   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
3045   uint8_t* _InternalSerialize(
3046       uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
3047   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
3048 
3049   private:
3050   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
3051   void SharedDtor();
3052   void SetCachedSize(int size) const;
3053   void InternalSwap(PerfDataProto_EventHeader* other);
3054 
3055   private:
3056   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
3057   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
3058     return "metrics.PerfDataProto.EventHeader";
3059   }
3060   protected:
3061   explicit PerfDataProto_EventHeader(::PROTOBUF_NAMESPACE_ID::Arena* arena,
3062                        bool is_message_owned = false);
3063   public:
3064 
3065   std::string GetTypeName() const final;
3066 
3067   // nested types ----------------------------------------------------
3068 
3069   // accessors -------------------------------------------------------
3070 
3071   enum : int {
3072     kTypeFieldNumber = 1,
3073     kMiscFieldNumber = 2,
3074     kSizeFieldNumber = 3,
3075   };
3076   // optional uint32 type = 1;
3077   bool has_type() const;
3078   private:
3079   bool _internal_has_type() const;
3080   public:
3081   void clear_type();
3082   uint32_t type() const;
3083   void set_type(uint32_t value);
3084   private:
3085   uint32_t _internal_type() const;
3086   void _internal_set_type(uint32_t value);
3087   public:
3088 
3089   // optional uint32 misc = 2;
3090   bool has_misc() const;
3091   private:
3092   bool _internal_has_misc() const;
3093   public:
3094   void clear_misc();
3095   uint32_t misc() const;
3096   void set_misc(uint32_t value);
3097   private:
3098   uint32_t _internal_misc() const;
3099   void _internal_set_misc(uint32_t value);
3100   public:
3101 
3102   // optional uint32 size = 3;
3103   bool has_size() const;
3104   private:
3105   bool _internal_has_size() const;
3106   public:
3107   void clear_size();
3108   uint32_t size() const;
3109   void set_size(uint32_t value);
3110   private:
3111   uint32_t _internal_size() const;
3112   void _internal_set_size(uint32_t value);
3113   public:
3114 
3115   // @@protoc_insertion_point(class_scope:metrics.PerfDataProto.EventHeader)
3116  private:
3117   class _Internal;
3118 
3119   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
3120   typedef void InternalArenaConstructable_;
3121   typedef void DestructorSkippable_;
3122   struct Impl_ {
3123     ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
3124     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
3125     uint32_t type_;
3126     uint32_t misc_;
3127     uint32_t size_;
3128   };
3129   union { Impl_ _impl_; };
3130   friend struct ::TableStruct_perf_5fdata_2eproto;
3131 };
3132 // -------------------------------------------------------------------
3133 
3134 class PerfDataProto_PerfEvent final :
3135     public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:metrics.PerfDataProto.PerfEvent) */ {
3136  public:
PerfDataProto_PerfEvent()3137   inline PerfDataProto_PerfEvent() : PerfDataProto_PerfEvent(nullptr) {}
3138   ~PerfDataProto_PerfEvent() override;
3139   explicit PROTOBUF_CONSTEXPR PerfDataProto_PerfEvent(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
3140 
3141   PerfDataProto_PerfEvent(const PerfDataProto_PerfEvent& from);
PerfDataProto_PerfEvent(PerfDataProto_PerfEvent && from)3142   PerfDataProto_PerfEvent(PerfDataProto_PerfEvent&& from) noexcept
3143     : PerfDataProto_PerfEvent() {
3144     *this = ::std::move(from);
3145   }
3146 
3147   inline PerfDataProto_PerfEvent& operator=(const PerfDataProto_PerfEvent& from) {
3148     CopyFrom(from);
3149     return *this;
3150   }
3151   inline PerfDataProto_PerfEvent& operator=(PerfDataProto_PerfEvent&& from) noexcept {
3152     if (this == &from) return *this;
3153     if (GetOwningArena() == from.GetOwningArena()
3154   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
3155         && GetOwningArena() != nullptr
3156   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
3157     ) {
3158       InternalSwap(&from);
3159     } else {
3160       CopyFrom(from);
3161     }
3162     return *this;
3163   }
3164 
unknown_fields()3165   inline const std::string& unknown_fields() const {
3166     return _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString);
3167   }
mutable_unknown_fields()3168   inline std::string* mutable_unknown_fields() {
3169     return _internal_metadata_.mutable_unknown_fields<std::string>();
3170   }
3171 
default_instance()3172   static const PerfDataProto_PerfEvent& default_instance() {
3173     return *internal_default_instance();
3174   }
3175   enum EventTypeCase {
3176     kMmapEvent = 2,
3177     kSampleEvent = 3,
3178     kCommEvent = 4,
3179     kForkEvent = 5,
3180     kExitEvent = 9,
3181     kLostEvent = 6,
3182     kThrottleEvent = 7,
3183     EVENT_TYPE_NOT_SET = 0,
3184   };
3185 
internal_default_instance()3186   static inline const PerfDataProto_PerfEvent* internal_default_instance() {
3187     return reinterpret_cast<const PerfDataProto_PerfEvent*>(
3188                &_PerfDataProto_PerfEvent_default_instance_);
3189   }
3190   static constexpr int kIndexInFileMessages =
3191     12;
3192 
swap(PerfDataProto_PerfEvent & a,PerfDataProto_PerfEvent & b)3193   friend void swap(PerfDataProto_PerfEvent& a, PerfDataProto_PerfEvent& b) {
3194     a.Swap(&b);
3195   }
Swap(PerfDataProto_PerfEvent * other)3196   PROTOBUF_NOINLINE void Swap(PerfDataProto_PerfEvent* other) {
3197     if (other == this) return;
3198   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
3199     if (GetOwningArena() != nullptr &&
3200         GetOwningArena() == other->GetOwningArena()) {
3201    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
3202     if (GetOwningArena() == other->GetOwningArena()) {
3203   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
3204       InternalSwap(other);
3205     } else {
3206       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
3207     }
3208   }
3209   void UnsafeArenaSwap(PerfDataProto_PerfEvent* other) {
3210     if (other == this) return;
3211     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
3212     InternalSwap(other);
3213   }
3214 
3215   // implements Message ----------------------------------------------
3216 
3217   PerfDataProto_PerfEvent* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
3218     return CreateMaybeMessage<PerfDataProto_PerfEvent>(arena);
3219   }
3220   void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)  final;
3221   void CopyFrom(const PerfDataProto_PerfEvent& from);
3222   void MergeFrom(const PerfDataProto_PerfEvent& from);
3223   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
3224   bool IsInitialized() const final;
3225 
3226   size_t ByteSizeLong() const final;
3227   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
3228   uint8_t* _InternalSerialize(
3229       uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
3230   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
3231 
3232   private:
3233   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
3234   void SharedDtor();
3235   void SetCachedSize(int size) const;
3236   void InternalSwap(PerfDataProto_PerfEvent* other);
3237 
3238   private:
3239   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
3240   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
3241     return "metrics.PerfDataProto.PerfEvent";
3242   }
3243   protected:
3244   explicit PerfDataProto_PerfEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
3245                        bool is_message_owned = false);
3246   public:
3247 
3248   std::string GetTypeName() const final;
3249 
3250   // nested types ----------------------------------------------------
3251 
3252   // accessors -------------------------------------------------------
3253 
3254   enum : int {
3255     kHeaderFieldNumber = 1,
3256     kTimestampFieldNumber = 10,
3257     kMmapEventFieldNumber = 2,
3258     kSampleEventFieldNumber = 3,
3259     kCommEventFieldNumber = 4,
3260     kForkEventFieldNumber = 5,
3261     kExitEventFieldNumber = 9,
3262     kLostEventFieldNumber = 6,
3263     kThrottleEventFieldNumber = 7,
3264   };
3265   // optional .metrics.PerfDataProto.EventHeader header = 1;
3266   bool has_header() const;
3267   private:
3268   bool _internal_has_header() const;
3269   public:
3270   void clear_header();
3271   const ::metrics::PerfDataProto_EventHeader& header() const;
3272   PROTOBUF_NODISCARD ::metrics::PerfDataProto_EventHeader* release_header();
3273   ::metrics::PerfDataProto_EventHeader* mutable_header();
3274   void set_allocated_header(::metrics::PerfDataProto_EventHeader* header);
3275   private:
3276   const ::metrics::PerfDataProto_EventHeader& _internal_header() const;
3277   ::metrics::PerfDataProto_EventHeader* _internal_mutable_header();
3278   public:
3279   void unsafe_arena_set_allocated_header(
3280       ::metrics::PerfDataProto_EventHeader* header);
3281   ::metrics::PerfDataProto_EventHeader* unsafe_arena_release_header();
3282 
3283   // optional uint64 timestamp = 10;
3284   bool has_timestamp() const;
3285   private:
3286   bool _internal_has_timestamp() const;
3287   public:
3288   void clear_timestamp();
3289   uint64_t timestamp() const;
3290   void set_timestamp(uint64_t value);
3291   private:
3292   uint64_t _internal_timestamp() const;
3293   void _internal_set_timestamp(uint64_t value);
3294   public:
3295 
3296   // .metrics.PerfDataProto.MMapEvent mmap_event = 2;
3297   bool has_mmap_event() const;
3298   private:
3299   bool _internal_has_mmap_event() const;
3300   public:
3301   void clear_mmap_event();
3302   const ::metrics::PerfDataProto_MMapEvent& mmap_event() const;
3303   PROTOBUF_NODISCARD ::metrics::PerfDataProto_MMapEvent* release_mmap_event();
3304   ::metrics::PerfDataProto_MMapEvent* mutable_mmap_event();
3305   void set_allocated_mmap_event(::metrics::PerfDataProto_MMapEvent* mmap_event);
3306   private:
3307   const ::metrics::PerfDataProto_MMapEvent& _internal_mmap_event() const;
3308   ::metrics::PerfDataProto_MMapEvent* _internal_mutable_mmap_event();
3309   public:
3310   void unsafe_arena_set_allocated_mmap_event(
3311       ::metrics::PerfDataProto_MMapEvent* mmap_event);
3312   ::metrics::PerfDataProto_MMapEvent* unsafe_arena_release_mmap_event();
3313 
3314   // .metrics.PerfDataProto.SampleEvent sample_event = 3;
3315   bool has_sample_event() const;
3316   private:
3317   bool _internal_has_sample_event() const;
3318   public:
3319   void clear_sample_event();
3320   const ::metrics::PerfDataProto_SampleEvent& sample_event() const;
3321   PROTOBUF_NODISCARD ::metrics::PerfDataProto_SampleEvent* release_sample_event();
3322   ::metrics::PerfDataProto_SampleEvent* mutable_sample_event();
3323   void set_allocated_sample_event(::metrics::PerfDataProto_SampleEvent* sample_event);
3324   private:
3325   const ::metrics::PerfDataProto_SampleEvent& _internal_sample_event() const;
3326   ::metrics::PerfDataProto_SampleEvent* _internal_mutable_sample_event();
3327   public:
3328   void unsafe_arena_set_allocated_sample_event(
3329       ::metrics::PerfDataProto_SampleEvent* sample_event);
3330   ::metrics::PerfDataProto_SampleEvent* unsafe_arena_release_sample_event();
3331 
3332   // .metrics.PerfDataProto.CommEvent comm_event = 4;
3333   bool has_comm_event() const;
3334   private:
3335   bool _internal_has_comm_event() const;
3336   public:
3337   void clear_comm_event();
3338   const ::metrics::PerfDataProto_CommEvent& comm_event() const;
3339   PROTOBUF_NODISCARD ::metrics::PerfDataProto_CommEvent* release_comm_event();
3340   ::metrics::PerfDataProto_CommEvent* mutable_comm_event();
3341   void set_allocated_comm_event(::metrics::PerfDataProto_CommEvent* comm_event);
3342   private:
3343   const ::metrics::PerfDataProto_CommEvent& _internal_comm_event() const;
3344   ::metrics::PerfDataProto_CommEvent* _internal_mutable_comm_event();
3345   public:
3346   void unsafe_arena_set_allocated_comm_event(
3347       ::metrics::PerfDataProto_CommEvent* comm_event);
3348   ::metrics::PerfDataProto_CommEvent* unsafe_arena_release_comm_event();
3349 
3350   // .metrics.PerfDataProto.ForkEvent fork_event = 5;
3351   bool has_fork_event() const;
3352   private:
3353   bool _internal_has_fork_event() const;
3354   public:
3355   void clear_fork_event();
3356   const ::metrics::PerfDataProto_ForkEvent& fork_event() const;
3357   PROTOBUF_NODISCARD ::metrics::PerfDataProto_ForkEvent* release_fork_event();
3358   ::metrics::PerfDataProto_ForkEvent* mutable_fork_event();
3359   void set_allocated_fork_event(::metrics::PerfDataProto_ForkEvent* fork_event);
3360   private:
3361   const ::metrics::PerfDataProto_ForkEvent& _internal_fork_event() const;
3362   ::metrics::PerfDataProto_ForkEvent* _internal_mutable_fork_event();
3363   public:
3364   void unsafe_arena_set_allocated_fork_event(
3365       ::metrics::PerfDataProto_ForkEvent* fork_event);
3366   ::metrics::PerfDataProto_ForkEvent* unsafe_arena_release_fork_event();
3367 
3368   // .metrics.PerfDataProto.ForkEvent exit_event = 9;
3369   bool has_exit_event() const;
3370   private:
3371   bool _internal_has_exit_event() const;
3372   public:
3373   void clear_exit_event();
3374   const ::metrics::PerfDataProto_ForkEvent& exit_event() const;
3375   PROTOBUF_NODISCARD ::metrics::PerfDataProto_ForkEvent* release_exit_event();
3376   ::metrics::PerfDataProto_ForkEvent* mutable_exit_event();
3377   void set_allocated_exit_event(::metrics::PerfDataProto_ForkEvent* exit_event);
3378   private:
3379   const ::metrics::PerfDataProto_ForkEvent& _internal_exit_event() const;
3380   ::metrics::PerfDataProto_ForkEvent* _internal_mutable_exit_event();
3381   public:
3382   void unsafe_arena_set_allocated_exit_event(
3383       ::metrics::PerfDataProto_ForkEvent* exit_event);
3384   ::metrics::PerfDataProto_ForkEvent* unsafe_arena_release_exit_event();
3385 
3386   // .metrics.PerfDataProto.LostEvent lost_event = 6;
3387   bool has_lost_event() const;
3388   private:
3389   bool _internal_has_lost_event() const;
3390   public:
3391   void clear_lost_event();
3392   const ::metrics::PerfDataProto_LostEvent& lost_event() const;
3393   PROTOBUF_NODISCARD ::metrics::PerfDataProto_LostEvent* release_lost_event();
3394   ::metrics::PerfDataProto_LostEvent* mutable_lost_event();
3395   void set_allocated_lost_event(::metrics::PerfDataProto_LostEvent* lost_event);
3396   private:
3397   const ::metrics::PerfDataProto_LostEvent& _internal_lost_event() const;
3398   ::metrics::PerfDataProto_LostEvent* _internal_mutable_lost_event();
3399   public:
3400   void unsafe_arena_set_allocated_lost_event(
3401       ::metrics::PerfDataProto_LostEvent* lost_event);
3402   ::metrics::PerfDataProto_LostEvent* unsafe_arena_release_lost_event();
3403 
3404   // .metrics.PerfDataProto.ThrottleEvent throttle_event = 7;
3405   bool has_throttle_event() const;
3406   private:
3407   bool _internal_has_throttle_event() const;
3408   public:
3409   void clear_throttle_event();
3410   const ::metrics::PerfDataProto_ThrottleEvent& throttle_event() const;
3411   PROTOBUF_NODISCARD ::metrics::PerfDataProto_ThrottleEvent* release_throttle_event();
3412   ::metrics::PerfDataProto_ThrottleEvent* mutable_throttle_event();
3413   void set_allocated_throttle_event(::metrics::PerfDataProto_ThrottleEvent* throttle_event);
3414   private:
3415   const ::metrics::PerfDataProto_ThrottleEvent& _internal_throttle_event() const;
3416   ::metrics::PerfDataProto_ThrottleEvent* _internal_mutable_throttle_event();
3417   public:
3418   void unsafe_arena_set_allocated_throttle_event(
3419       ::metrics::PerfDataProto_ThrottleEvent* throttle_event);
3420   ::metrics::PerfDataProto_ThrottleEvent* unsafe_arena_release_throttle_event();
3421 
3422   void clear_event_type();
3423   EventTypeCase event_type_case() const;
3424   // @@protoc_insertion_point(class_scope:metrics.PerfDataProto.PerfEvent)
3425  private:
3426   class _Internal;
3427   void set_has_mmap_event();
3428   void set_has_sample_event();
3429   void set_has_comm_event();
3430   void set_has_fork_event();
3431   void set_has_exit_event();
3432   void set_has_lost_event();
3433   void set_has_throttle_event();
3434 
3435   inline bool has_event_type() const;
3436   inline void clear_has_event_type();
3437 
3438   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
3439   typedef void InternalArenaConstructable_;
3440   typedef void DestructorSkippable_;
3441   struct Impl_ {
3442     ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
3443     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
3444     ::metrics::PerfDataProto_EventHeader* header_;
3445     uint64_t timestamp_;
3446     union EventTypeUnion {
3447       constexpr EventTypeUnion() : _constinit_{} {}
3448         ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_;
3449       ::metrics::PerfDataProto_MMapEvent* mmap_event_;
3450       ::metrics::PerfDataProto_SampleEvent* sample_event_;
3451       ::metrics::PerfDataProto_CommEvent* comm_event_;
3452       ::metrics::PerfDataProto_ForkEvent* fork_event_;
3453       ::metrics::PerfDataProto_ForkEvent* exit_event_;
3454       ::metrics::PerfDataProto_LostEvent* lost_event_;
3455       ::metrics::PerfDataProto_ThrottleEvent* throttle_event_;
3456     } event_type_;
3457     uint32_t _oneof_case_[1];
3458 
3459   };
3460   union { Impl_ _impl_; };
3461   friend struct ::TableStruct_perf_5fdata_2eproto;
3462 };
3463 // -------------------------------------------------------------------
3464 
3465 class PerfDataProto_PerfEventStats final :
3466     public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:metrics.PerfDataProto.PerfEventStats) */ {
3467  public:
PerfDataProto_PerfEventStats()3468   inline PerfDataProto_PerfEventStats() : PerfDataProto_PerfEventStats(nullptr) {}
3469   ~PerfDataProto_PerfEventStats() override;
3470   explicit PROTOBUF_CONSTEXPR PerfDataProto_PerfEventStats(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
3471 
3472   PerfDataProto_PerfEventStats(const PerfDataProto_PerfEventStats& from);
PerfDataProto_PerfEventStats(PerfDataProto_PerfEventStats && from)3473   PerfDataProto_PerfEventStats(PerfDataProto_PerfEventStats&& from) noexcept
3474     : PerfDataProto_PerfEventStats() {
3475     *this = ::std::move(from);
3476   }
3477 
3478   inline PerfDataProto_PerfEventStats& operator=(const PerfDataProto_PerfEventStats& from) {
3479     CopyFrom(from);
3480     return *this;
3481   }
3482   inline PerfDataProto_PerfEventStats& operator=(PerfDataProto_PerfEventStats&& from) noexcept {
3483     if (this == &from) return *this;
3484     if (GetOwningArena() == from.GetOwningArena()
3485   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
3486         && GetOwningArena() != nullptr
3487   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
3488     ) {
3489       InternalSwap(&from);
3490     } else {
3491       CopyFrom(from);
3492     }
3493     return *this;
3494   }
3495 
unknown_fields()3496   inline const std::string& unknown_fields() const {
3497     return _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString);
3498   }
mutable_unknown_fields()3499   inline std::string* mutable_unknown_fields() {
3500     return _internal_metadata_.mutable_unknown_fields<std::string>();
3501   }
3502 
default_instance()3503   static const PerfDataProto_PerfEventStats& default_instance() {
3504     return *internal_default_instance();
3505   }
internal_default_instance()3506   static inline const PerfDataProto_PerfEventStats* internal_default_instance() {
3507     return reinterpret_cast<const PerfDataProto_PerfEventStats*>(
3508                &_PerfDataProto_PerfEventStats_default_instance_);
3509   }
3510   static constexpr int kIndexInFileMessages =
3511     13;
3512 
swap(PerfDataProto_PerfEventStats & a,PerfDataProto_PerfEventStats & b)3513   friend void swap(PerfDataProto_PerfEventStats& a, PerfDataProto_PerfEventStats& b) {
3514     a.Swap(&b);
3515   }
Swap(PerfDataProto_PerfEventStats * other)3516   PROTOBUF_NOINLINE void Swap(PerfDataProto_PerfEventStats* other) {
3517     if (other == this) return;
3518   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
3519     if (GetOwningArena() != nullptr &&
3520         GetOwningArena() == other->GetOwningArena()) {
3521    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
3522     if (GetOwningArena() == other->GetOwningArena()) {
3523   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
3524       InternalSwap(other);
3525     } else {
3526       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
3527     }
3528   }
3529   void UnsafeArenaSwap(PerfDataProto_PerfEventStats* other) {
3530     if (other == this) return;
3531     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
3532     InternalSwap(other);
3533   }
3534 
3535   // implements Message ----------------------------------------------
3536 
3537   PerfDataProto_PerfEventStats* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
3538     return CreateMaybeMessage<PerfDataProto_PerfEventStats>(arena);
3539   }
3540   void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)  final;
3541   void CopyFrom(const PerfDataProto_PerfEventStats& from);
3542   void MergeFrom(const PerfDataProto_PerfEventStats& from);
3543   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
3544   bool IsInitialized() const final;
3545 
3546   size_t ByteSizeLong() const final;
3547   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
3548   uint8_t* _InternalSerialize(
3549       uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
3550   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
3551 
3552   private:
3553   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
3554   void SharedDtor();
3555   void SetCachedSize(int size) const;
3556   void InternalSwap(PerfDataProto_PerfEventStats* other);
3557 
3558   private:
3559   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
3560   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
3561     return "metrics.PerfDataProto.PerfEventStats";
3562   }
3563   protected:
3564   explicit PerfDataProto_PerfEventStats(::PROTOBUF_NAMESPACE_ID::Arena* arena,
3565                        bool is_message_owned = false);
3566   public:
3567 
3568   std::string GetTypeName() const final;
3569 
3570   // nested types ----------------------------------------------------
3571 
3572   // accessors -------------------------------------------------------
3573 
3574   enum : int {
3575     kNumEventsReadFieldNumber = 1,
3576     kNumSampleEventsFieldNumber = 2,
3577     kNumMmapEventsFieldNumber = 3,
3578     kNumForkEventsFieldNumber = 4,
3579     kNumExitEventsFieldNumber = 5,
3580     kNumSampleEventsMappedFieldNumber = 6,
3581     kDidRemapFieldNumber = 7,
3582   };
3583   // optional uint32 num_events_read = 1;
3584   bool has_num_events_read() const;
3585   private:
3586   bool _internal_has_num_events_read() const;
3587   public:
3588   void clear_num_events_read();
3589   uint32_t num_events_read() const;
3590   void set_num_events_read(uint32_t value);
3591   private:
3592   uint32_t _internal_num_events_read() const;
3593   void _internal_set_num_events_read(uint32_t value);
3594   public:
3595 
3596   // optional uint32 num_sample_events = 2;
3597   bool has_num_sample_events() const;
3598   private:
3599   bool _internal_has_num_sample_events() const;
3600   public:
3601   void clear_num_sample_events();
3602   uint32_t num_sample_events() const;
3603   void set_num_sample_events(uint32_t value);
3604   private:
3605   uint32_t _internal_num_sample_events() const;
3606   void _internal_set_num_sample_events(uint32_t value);
3607   public:
3608 
3609   // optional uint32 num_mmap_events = 3;
3610   bool has_num_mmap_events() const;
3611   private:
3612   bool _internal_has_num_mmap_events() const;
3613   public:
3614   void clear_num_mmap_events();
3615   uint32_t num_mmap_events() const;
3616   void set_num_mmap_events(uint32_t value);
3617   private:
3618   uint32_t _internal_num_mmap_events() const;
3619   void _internal_set_num_mmap_events(uint32_t value);
3620   public:
3621 
3622   // optional uint32 num_fork_events = 4;
3623   bool has_num_fork_events() const;
3624   private:
3625   bool _internal_has_num_fork_events() const;
3626   public:
3627   void clear_num_fork_events();
3628   uint32_t num_fork_events() const;
3629   void set_num_fork_events(uint32_t value);
3630   private:
3631   uint32_t _internal_num_fork_events() const;
3632   void _internal_set_num_fork_events(uint32_t value);
3633   public:
3634 
3635   // optional uint32 num_exit_events = 5;
3636   bool has_num_exit_events() const;
3637   private:
3638   bool _internal_has_num_exit_events() const;
3639   public:
3640   void clear_num_exit_events();
3641   uint32_t num_exit_events() const;
3642   void set_num_exit_events(uint32_t value);
3643   private:
3644   uint32_t _internal_num_exit_events() const;
3645   void _internal_set_num_exit_events(uint32_t value);
3646   public:
3647 
3648   // optional uint32 num_sample_events_mapped = 6;
3649   bool has_num_sample_events_mapped() const;
3650   private:
3651   bool _internal_has_num_sample_events_mapped() const;
3652   public:
3653   void clear_num_sample_events_mapped();
3654   uint32_t num_sample_events_mapped() const;
3655   void set_num_sample_events_mapped(uint32_t value);
3656   private:
3657   uint32_t _internal_num_sample_events_mapped() const;
3658   void _internal_set_num_sample_events_mapped(uint32_t value);
3659   public:
3660 
3661   // optional bool did_remap = 7;
3662   bool has_did_remap() const;
3663   private:
3664   bool _internal_has_did_remap() const;
3665   public:
3666   void clear_did_remap();
3667   bool did_remap() const;
3668   void set_did_remap(bool value);
3669   private:
3670   bool _internal_did_remap() const;
3671   void _internal_set_did_remap(bool value);
3672   public:
3673 
3674   // @@protoc_insertion_point(class_scope:metrics.PerfDataProto.PerfEventStats)
3675  private:
3676   class _Internal;
3677 
3678   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
3679   typedef void InternalArenaConstructable_;
3680   typedef void DestructorSkippable_;
3681   struct Impl_ {
3682     ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
3683     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
3684     uint32_t num_events_read_;
3685     uint32_t num_sample_events_;
3686     uint32_t num_mmap_events_;
3687     uint32_t num_fork_events_;
3688     uint32_t num_exit_events_;
3689     uint32_t num_sample_events_mapped_;
3690     bool did_remap_;
3691   };
3692   union { Impl_ _impl_; };
3693   friend struct ::TableStruct_perf_5fdata_2eproto;
3694 };
3695 // -------------------------------------------------------------------
3696 
3697 class PerfDataProto_PerfBuildID final :
3698     public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:metrics.PerfDataProto.PerfBuildID) */ {
3699  public:
PerfDataProto_PerfBuildID()3700   inline PerfDataProto_PerfBuildID() : PerfDataProto_PerfBuildID(nullptr) {}
3701   ~PerfDataProto_PerfBuildID() override;
3702   explicit PROTOBUF_CONSTEXPR PerfDataProto_PerfBuildID(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
3703 
3704   PerfDataProto_PerfBuildID(const PerfDataProto_PerfBuildID& from);
PerfDataProto_PerfBuildID(PerfDataProto_PerfBuildID && from)3705   PerfDataProto_PerfBuildID(PerfDataProto_PerfBuildID&& from) noexcept
3706     : PerfDataProto_PerfBuildID() {
3707     *this = ::std::move(from);
3708   }
3709 
3710   inline PerfDataProto_PerfBuildID& operator=(const PerfDataProto_PerfBuildID& from) {
3711     CopyFrom(from);
3712     return *this;
3713   }
3714   inline PerfDataProto_PerfBuildID& operator=(PerfDataProto_PerfBuildID&& from) noexcept {
3715     if (this == &from) return *this;
3716     if (GetOwningArena() == from.GetOwningArena()
3717   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
3718         && GetOwningArena() != nullptr
3719   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
3720     ) {
3721       InternalSwap(&from);
3722     } else {
3723       CopyFrom(from);
3724     }
3725     return *this;
3726   }
3727 
unknown_fields()3728   inline const std::string& unknown_fields() const {
3729     return _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString);
3730   }
mutable_unknown_fields()3731   inline std::string* mutable_unknown_fields() {
3732     return _internal_metadata_.mutable_unknown_fields<std::string>();
3733   }
3734 
default_instance()3735   static const PerfDataProto_PerfBuildID& default_instance() {
3736     return *internal_default_instance();
3737   }
internal_default_instance()3738   static inline const PerfDataProto_PerfBuildID* internal_default_instance() {
3739     return reinterpret_cast<const PerfDataProto_PerfBuildID*>(
3740                &_PerfDataProto_PerfBuildID_default_instance_);
3741   }
3742   static constexpr int kIndexInFileMessages =
3743     14;
3744 
swap(PerfDataProto_PerfBuildID & a,PerfDataProto_PerfBuildID & b)3745   friend void swap(PerfDataProto_PerfBuildID& a, PerfDataProto_PerfBuildID& b) {
3746     a.Swap(&b);
3747   }
Swap(PerfDataProto_PerfBuildID * other)3748   PROTOBUF_NOINLINE void Swap(PerfDataProto_PerfBuildID* other) {
3749     if (other == this) return;
3750   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
3751     if (GetOwningArena() != nullptr &&
3752         GetOwningArena() == other->GetOwningArena()) {
3753    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
3754     if (GetOwningArena() == other->GetOwningArena()) {
3755   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
3756       InternalSwap(other);
3757     } else {
3758       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
3759     }
3760   }
3761   void UnsafeArenaSwap(PerfDataProto_PerfBuildID* other) {
3762     if (other == this) return;
3763     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
3764     InternalSwap(other);
3765   }
3766 
3767   // implements Message ----------------------------------------------
3768 
3769   PerfDataProto_PerfBuildID* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
3770     return CreateMaybeMessage<PerfDataProto_PerfBuildID>(arena);
3771   }
3772   void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)  final;
3773   void CopyFrom(const PerfDataProto_PerfBuildID& from);
3774   void MergeFrom(const PerfDataProto_PerfBuildID& from);
3775   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
3776   bool IsInitialized() const final;
3777 
3778   size_t ByteSizeLong() const final;
3779   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
3780   uint8_t* _InternalSerialize(
3781       uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
3782   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
3783 
3784   private:
3785   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
3786   void SharedDtor();
3787   void SetCachedSize(int size) const;
3788   void InternalSwap(PerfDataProto_PerfBuildID* other);
3789 
3790   private:
3791   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
3792   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
3793     return "metrics.PerfDataProto.PerfBuildID";
3794   }
3795   protected:
3796   explicit PerfDataProto_PerfBuildID(::PROTOBUF_NAMESPACE_ID::Arena* arena,
3797                        bool is_message_owned = false);
3798   public:
3799 
3800   std::string GetTypeName() const final;
3801 
3802   // nested types ----------------------------------------------------
3803 
3804   // accessors -------------------------------------------------------
3805 
3806   enum : int {
3807     kBuildIdHashFieldNumber = 3,
3808     kMiscFieldNumber = 1,
3809     kPidFieldNumber = 2,
3810     kFilenameMd5PrefixFieldNumber = 5,
3811   };
3812   // optional bytes build_id_hash = 3;
3813   bool has_build_id_hash() const;
3814   private:
3815   bool _internal_has_build_id_hash() const;
3816   public:
3817   void clear_build_id_hash();
3818   const std::string& build_id_hash() const;
3819   template <typename ArgT0 = const std::string&, typename... ArgT>
3820   void set_build_id_hash(ArgT0&& arg0, ArgT... args);
3821   std::string* mutable_build_id_hash();
3822   PROTOBUF_NODISCARD std::string* release_build_id_hash();
3823   void set_allocated_build_id_hash(std::string* build_id_hash);
3824   private:
3825   const std::string& _internal_build_id_hash() const;
3826   inline PROTOBUF_ALWAYS_INLINE void _internal_set_build_id_hash(const std::string& value);
3827   std::string* _internal_mutable_build_id_hash();
3828   public:
3829 
3830   // optional uint32 misc = 1;
3831   bool has_misc() const;
3832   private:
3833   bool _internal_has_misc() const;
3834   public:
3835   void clear_misc();
3836   uint32_t misc() const;
3837   void set_misc(uint32_t value);
3838   private:
3839   uint32_t _internal_misc() const;
3840   void _internal_set_misc(uint32_t value);
3841   public:
3842 
3843   // optional uint32 pid = 2;
3844   bool has_pid() const;
3845   private:
3846   bool _internal_has_pid() const;
3847   public:
3848   void clear_pid();
3849   uint32_t pid() const;
3850   void set_pid(uint32_t value);
3851   private:
3852   uint32_t _internal_pid() const;
3853   void _internal_set_pid(uint32_t value);
3854   public:
3855 
3856   // optional uint64 filename_md5_prefix = 5;
3857   bool has_filename_md5_prefix() const;
3858   private:
3859   bool _internal_has_filename_md5_prefix() const;
3860   public:
3861   void clear_filename_md5_prefix();
3862   uint64_t filename_md5_prefix() const;
3863   void set_filename_md5_prefix(uint64_t value);
3864   private:
3865   uint64_t _internal_filename_md5_prefix() const;
3866   void _internal_set_filename_md5_prefix(uint64_t value);
3867   public:
3868 
3869   // @@protoc_insertion_point(class_scope:metrics.PerfDataProto.PerfBuildID)
3870  private:
3871   class _Internal;
3872 
3873   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
3874   typedef void InternalArenaConstructable_;
3875   typedef void DestructorSkippable_;
3876   struct Impl_ {
3877     ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
3878     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
3879     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr build_id_hash_;
3880     uint32_t misc_;
3881     uint32_t pid_;
3882     uint64_t filename_md5_prefix_;
3883   };
3884   union { Impl_ _impl_; };
3885   friend struct ::TableStruct_perf_5fdata_2eproto;
3886 };
3887 // -------------------------------------------------------------------
3888 
3889 class PerfDataProto_PerfPMUMappingsMetadata final :
3890     public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:metrics.PerfDataProto.PerfPMUMappingsMetadata) */ {
3891  public:
PerfDataProto_PerfPMUMappingsMetadata()3892   inline PerfDataProto_PerfPMUMappingsMetadata() : PerfDataProto_PerfPMUMappingsMetadata(nullptr) {}
3893   ~PerfDataProto_PerfPMUMappingsMetadata() override;
3894   explicit PROTOBUF_CONSTEXPR PerfDataProto_PerfPMUMappingsMetadata(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
3895 
3896   PerfDataProto_PerfPMUMappingsMetadata(const PerfDataProto_PerfPMUMappingsMetadata& from);
PerfDataProto_PerfPMUMappingsMetadata(PerfDataProto_PerfPMUMappingsMetadata && from)3897   PerfDataProto_PerfPMUMappingsMetadata(PerfDataProto_PerfPMUMappingsMetadata&& from) noexcept
3898     : PerfDataProto_PerfPMUMappingsMetadata() {
3899     *this = ::std::move(from);
3900   }
3901 
3902   inline PerfDataProto_PerfPMUMappingsMetadata& operator=(const PerfDataProto_PerfPMUMappingsMetadata& from) {
3903     CopyFrom(from);
3904     return *this;
3905   }
3906   inline PerfDataProto_PerfPMUMappingsMetadata& operator=(PerfDataProto_PerfPMUMappingsMetadata&& from) noexcept {
3907     if (this == &from) return *this;
3908     if (GetOwningArena() == from.GetOwningArena()
3909   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
3910         && GetOwningArena() != nullptr
3911   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
3912     ) {
3913       InternalSwap(&from);
3914     } else {
3915       CopyFrom(from);
3916     }
3917     return *this;
3918   }
3919 
unknown_fields()3920   inline const std::string& unknown_fields() const {
3921     return _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString);
3922   }
mutable_unknown_fields()3923   inline std::string* mutable_unknown_fields() {
3924     return _internal_metadata_.mutable_unknown_fields<std::string>();
3925   }
3926 
default_instance()3927   static const PerfDataProto_PerfPMUMappingsMetadata& default_instance() {
3928     return *internal_default_instance();
3929   }
internal_default_instance()3930   static inline const PerfDataProto_PerfPMUMappingsMetadata* internal_default_instance() {
3931     return reinterpret_cast<const PerfDataProto_PerfPMUMappingsMetadata*>(
3932                &_PerfDataProto_PerfPMUMappingsMetadata_default_instance_);
3933   }
3934   static constexpr int kIndexInFileMessages =
3935     15;
3936 
swap(PerfDataProto_PerfPMUMappingsMetadata & a,PerfDataProto_PerfPMUMappingsMetadata & b)3937   friend void swap(PerfDataProto_PerfPMUMappingsMetadata& a, PerfDataProto_PerfPMUMappingsMetadata& b) {
3938     a.Swap(&b);
3939   }
Swap(PerfDataProto_PerfPMUMappingsMetadata * other)3940   PROTOBUF_NOINLINE void Swap(PerfDataProto_PerfPMUMappingsMetadata* other) {
3941     if (other == this) return;
3942   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
3943     if (GetOwningArena() != nullptr &&
3944         GetOwningArena() == other->GetOwningArena()) {
3945    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
3946     if (GetOwningArena() == other->GetOwningArena()) {
3947   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
3948       InternalSwap(other);
3949     } else {
3950       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
3951     }
3952   }
3953   void UnsafeArenaSwap(PerfDataProto_PerfPMUMappingsMetadata* other) {
3954     if (other == this) return;
3955     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
3956     InternalSwap(other);
3957   }
3958 
3959   // implements Message ----------------------------------------------
3960 
3961   PerfDataProto_PerfPMUMappingsMetadata* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
3962     return CreateMaybeMessage<PerfDataProto_PerfPMUMappingsMetadata>(arena);
3963   }
3964   void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)  final;
3965   void CopyFrom(const PerfDataProto_PerfPMUMappingsMetadata& from);
3966   void MergeFrom(const PerfDataProto_PerfPMUMappingsMetadata& from);
3967   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
3968   bool IsInitialized() const final;
3969 
3970   size_t ByteSizeLong() const final;
3971   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
3972   uint8_t* _InternalSerialize(
3973       uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
3974   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
3975 
3976   private:
3977   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
3978   void SharedDtor();
3979   void SetCachedSize(int size) const;
3980   void InternalSwap(PerfDataProto_PerfPMUMappingsMetadata* other);
3981 
3982   private:
3983   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
3984   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
3985     return "metrics.PerfDataProto.PerfPMUMappingsMetadata";
3986   }
3987   protected:
3988   explicit PerfDataProto_PerfPMUMappingsMetadata(::PROTOBUF_NAMESPACE_ID::Arena* arena,
3989                        bool is_message_owned = false);
3990   public:
3991 
3992   std::string GetTypeName() const final;
3993 
3994   // nested types ----------------------------------------------------
3995 
3996   // accessors -------------------------------------------------------
3997 
3998   enum : int {
3999     kNameMd5PrefixFieldNumber = 3,
4000     kTypeFieldNumber = 1,
4001   };
4002   // optional uint64 name_md5_prefix = 3;
4003   bool has_name_md5_prefix() const;
4004   private:
4005   bool _internal_has_name_md5_prefix() const;
4006   public:
4007   void clear_name_md5_prefix();
4008   uint64_t name_md5_prefix() const;
4009   void set_name_md5_prefix(uint64_t value);
4010   private:
4011   uint64_t _internal_name_md5_prefix() const;
4012   void _internal_set_name_md5_prefix(uint64_t value);
4013   public:
4014 
4015   // optional uint32 type = 1;
4016   bool has_type() const;
4017   private:
4018   bool _internal_has_type() const;
4019   public:
4020   void clear_type();
4021   uint32_t type() const;
4022   void set_type(uint32_t value);
4023   private:
4024   uint32_t _internal_type() const;
4025   void _internal_set_type(uint32_t value);
4026   public:
4027 
4028   // @@protoc_insertion_point(class_scope:metrics.PerfDataProto.PerfPMUMappingsMetadata)
4029  private:
4030   class _Internal;
4031 
4032   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
4033   typedef void InternalArenaConstructable_;
4034   typedef void DestructorSkippable_;
4035   struct Impl_ {
4036     ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
4037     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
4038     uint64_t name_md5_prefix_;
4039     uint32_t type_;
4040   };
4041   union { Impl_ _impl_; };
4042   friend struct ::TableStruct_perf_5fdata_2eproto;
4043 };
4044 // -------------------------------------------------------------------
4045 
4046 class PerfDataProto_PerfHybridTopologyMetadata final :
4047     public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:metrics.PerfDataProto.PerfHybridTopologyMetadata) */ {
4048  public:
PerfDataProto_PerfHybridTopologyMetadata()4049   inline PerfDataProto_PerfHybridTopologyMetadata() : PerfDataProto_PerfHybridTopologyMetadata(nullptr) {}
4050   ~PerfDataProto_PerfHybridTopologyMetadata() override;
4051   explicit PROTOBUF_CONSTEXPR PerfDataProto_PerfHybridTopologyMetadata(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
4052 
4053   PerfDataProto_PerfHybridTopologyMetadata(const PerfDataProto_PerfHybridTopologyMetadata& from);
PerfDataProto_PerfHybridTopologyMetadata(PerfDataProto_PerfHybridTopologyMetadata && from)4054   PerfDataProto_PerfHybridTopologyMetadata(PerfDataProto_PerfHybridTopologyMetadata&& from) noexcept
4055     : PerfDataProto_PerfHybridTopologyMetadata() {
4056     *this = ::std::move(from);
4057   }
4058 
4059   inline PerfDataProto_PerfHybridTopologyMetadata& operator=(const PerfDataProto_PerfHybridTopologyMetadata& from) {
4060     CopyFrom(from);
4061     return *this;
4062   }
4063   inline PerfDataProto_PerfHybridTopologyMetadata& operator=(PerfDataProto_PerfHybridTopologyMetadata&& from) noexcept {
4064     if (this == &from) return *this;
4065     if (GetOwningArena() == from.GetOwningArena()
4066   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
4067         && GetOwningArena() != nullptr
4068   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
4069     ) {
4070       InternalSwap(&from);
4071     } else {
4072       CopyFrom(from);
4073     }
4074     return *this;
4075   }
4076 
unknown_fields()4077   inline const std::string& unknown_fields() const {
4078     return _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString);
4079   }
mutable_unknown_fields()4080   inline std::string* mutable_unknown_fields() {
4081     return _internal_metadata_.mutable_unknown_fields<std::string>();
4082   }
4083 
default_instance()4084   static const PerfDataProto_PerfHybridTopologyMetadata& default_instance() {
4085     return *internal_default_instance();
4086   }
internal_default_instance()4087   static inline const PerfDataProto_PerfHybridTopologyMetadata* internal_default_instance() {
4088     return reinterpret_cast<const PerfDataProto_PerfHybridTopologyMetadata*>(
4089                &_PerfDataProto_PerfHybridTopologyMetadata_default_instance_);
4090   }
4091   static constexpr int kIndexInFileMessages =
4092     16;
4093 
swap(PerfDataProto_PerfHybridTopologyMetadata & a,PerfDataProto_PerfHybridTopologyMetadata & b)4094   friend void swap(PerfDataProto_PerfHybridTopologyMetadata& a, PerfDataProto_PerfHybridTopologyMetadata& b) {
4095     a.Swap(&b);
4096   }
Swap(PerfDataProto_PerfHybridTopologyMetadata * other)4097   PROTOBUF_NOINLINE void Swap(PerfDataProto_PerfHybridTopologyMetadata* other) {
4098     if (other == this) return;
4099   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
4100     if (GetOwningArena() != nullptr &&
4101         GetOwningArena() == other->GetOwningArena()) {
4102    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
4103     if (GetOwningArena() == other->GetOwningArena()) {
4104   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
4105       InternalSwap(other);
4106     } else {
4107       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
4108     }
4109   }
4110   void UnsafeArenaSwap(PerfDataProto_PerfHybridTopologyMetadata* other) {
4111     if (other == this) return;
4112     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
4113     InternalSwap(other);
4114   }
4115 
4116   // implements Message ----------------------------------------------
4117 
4118   PerfDataProto_PerfHybridTopologyMetadata* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
4119     return CreateMaybeMessage<PerfDataProto_PerfHybridTopologyMetadata>(arena);
4120   }
4121   void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)  final;
4122   void CopyFrom(const PerfDataProto_PerfHybridTopologyMetadata& from);
4123   void MergeFrom(const PerfDataProto_PerfHybridTopologyMetadata& from);
4124   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
4125   bool IsInitialized() const final;
4126 
4127   size_t ByteSizeLong() const final;
4128   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
4129   uint8_t* _InternalSerialize(
4130       uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
4131   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
4132 
4133   private:
4134   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
4135   void SharedDtor();
4136   void SetCachedSize(int size) const;
4137   void InternalSwap(PerfDataProto_PerfHybridTopologyMetadata* other);
4138 
4139   private:
4140   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
4141   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
4142     return "metrics.PerfDataProto.PerfHybridTopologyMetadata";
4143   }
4144   protected:
4145   explicit PerfDataProto_PerfHybridTopologyMetadata(::PROTOBUF_NAMESPACE_ID::Arena* arena,
4146                        bool is_message_owned = false);
4147   public:
4148 
4149   std::string GetTypeName() const final;
4150 
4151   // nested types ----------------------------------------------------
4152 
4153   // accessors -------------------------------------------------------
4154 
4155   enum : int {
4156     kCpuListFieldNumber = 4,
4157     kPmuNameMd5PrefixFieldNumber = 2,
4158   };
4159   // repeated uint32 cpu_list = 4 [packed = true];
4160   int cpu_list_size() const;
4161   private:
4162   int _internal_cpu_list_size() const;
4163   public:
4164   void clear_cpu_list();
4165   private:
4166   uint32_t _internal_cpu_list(int index) const;
4167   const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >&
4168       _internal_cpu_list() const;
4169   void _internal_add_cpu_list(uint32_t value);
4170   ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >*
4171       _internal_mutable_cpu_list();
4172   public:
4173   uint32_t cpu_list(int index) const;
4174   void set_cpu_list(int index, uint32_t value);
4175   void add_cpu_list(uint32_t value);
4176   const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >&
4177       cpu_list() const;
4178   ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >*
4179       mutable_cpu_list();
4180 
4181   // optional uint64 pmu_name_md5_prefix = 2;
4182   bool has_pmu_name_md5_prefix() const;
4183   private:
4184   bool _internal_has_pmu_name_md5_prefix() const;
4185   public:
4186   void clear_pmu_name_md5_prefix();
4187   uint64_t pmu_name_md5_prefix() const;
4188   void set_pmu_name_md5_prefix(uint64_t value);
4189   private:
4190   uint64_t _internal_pmu_name_md5_prefix() const;
4191   void _internal_set_pmu_name_md5_prefix(uint64_t value);
4192   public:
4193 
4194   // @@protoc_insertion_point(class_scope:metrics.PerfDataProto.PerfHybridTopologyMetadata)
4195  private:
4196   class _Internal;
4197 
4198   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
4199   typedef void InternalArenaConstructable_;
4200   typedef void DestructorSkippable_;
4201   struct Impl_ {
4202     ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
4203     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
4204     ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > cpu_list_;
4205     mutable std::atomic<int> _cpu_list_cached_byte_size_;
4206     uint64_t pmu_name_md5_prefix_;
4207   };
4208   union { Impl_ _impl_; };
4209   friend struct ::TableStruct_perf_5fdata_2eproto;
4210 };
4211 // -------------------------------------------------------------------
4212 
4213 class PerfDataProto_StringMetadata_StringAndMd5sumPrefix final :
4214     public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:metrics.PerfDataProto.StringMetadata.StringAndMd5sumPrefix) */ {
4215  public:
PerfDataProto_StringMetadata_StringAndMd5sumPrefix()4216   inline PerfDataProto_StringMetadata_StringAndMd5sumPrefix() : PerfDataProto_StringMetadata_StringAndMd5sumPrefix(nullptr) {}
4217   ~PerfDataProto_StringMetadata_StringAndMd5sumPrefix() override;
4218   explicit PROTOBUF_CONSTEXPR PerfDataProto_StringMetadata_StringAndMd5sumPrefix(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
4219 
4220   PerfDataProto_StringMetadata_StringAndMd5sumPrefix(const PerfDataProto_StringMetadata_StringAndMd5sumPrefix& from);
PerfDataProto_StringMetadata_StringAndMd5sumPrefix(PerfDataProto_StringMetadata_StringAndMd5sumPrefix && from)4221   PerfDataProto_StringMetadata_StringAndMd5sumPrefix(PerfDataProto_StringMetadata_StringAndMd5sumPrefix&& from) noexcept
4222     : PerfDataProto_StringMetadata_StringAndMd5sumPrefix() {
4223     *this = ::std::move(from);
4224   }
4225 
4226   inline PerfDataProto_StringMetadata_StringAndMd5sumPrefix& operator=(const PerfDataProto_StringMetadata_StringAndMd5sumPrefix& from) {
4227     CopyFrom(from);
4228     return *this;
4229   }
4230   inline PerfDataProto_StringMetadata_StringAndMd5sumPrefix& operator=(PerfDataProto_StringMetadata_StringAndMd5sumPrefix&& from) noexcept {
4231     if (this == &from) return *this;
4232     if (GetOwningArena() == from.GetOwningArena()
4233   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
4234         && GetOwningArena() != nullptr
4235   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
4236     ) {
4237       InternalSwap(&from);
4238     } else {
4239       CopyFrom(from);
4240     }
4241     return *this;
4242   }
4243 
unknown_fields()4244   inline const std::string& unknown_fields() const {
4245     return _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString);
4246   }
mutable_unknown_fields()4247   inline std::string* mutable_unknown_fields() {
4248     return _internal_metadata_.mutable_unknown_fields<std::string>();
4249   }
4250 
default_instance()4251   static const PerfDataProto_StringMetadata_StringAndMd5sumPrefix& default_instance() {
4252     return *internal_default_instance();
4253   }
internal_default_instance()4254   static inline const PerfDataProto_StringMetadata_StringAndMd5sumPrefix* internal_default_instance() {
4255     return reinterpret_cast<const PerfDataProto_StringMetadata_StringAndMd5sumPrefix*>(
4256                &_PerfDataProto_StringMetadata_StringAndMd5sumPrefix_default_instance_);
4257   }
4258   static constexpr int kIndexInFileMessages =
4259     17;
4260 
swap(PerfDataProto_StringMetadata_StringAndMd5sumPrefix & a,PerfDataProto_StringMetadata_StringAndMd5sumPrefix & b)4261   friend void swap(PerfDataProto_StringMetadata_StringAndMd5sumPrefix& a, PerfDataProto_StringMetadata_StringAndMd5sumPrefix& b) {
4262     a.Swap(&b);
4263   }
Swap(PerfDataProto_StringMetadata_StringAndMd5sumPrefix * other)4264   PROTOBUF_NOINLINE void Swap(PerfDataProto_StringMetadata_StringAndMd5sumPrefix* other) {
4265     if (other == this) return;
4266   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
4267     if (GetOwningArena() != nullptr &&
4268         GetOwningArena() == other->GetOwningArena()) {
4269    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
4270     if (GetOwningArena() == other->GetOwningArena()) {
4271   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
4272       InternalSwap(other);
4273     } else {
4274       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
4275     }
4276   }
4277   void UnsafeArenaSwap(PerfDataProto_StringMetadata_StringAndMd5sumPrefix* other) {
4278     if (other == this) return;
4279     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
4280     InternalSwap(other);
4281   }
4282 
4283   // implements Message ----------------------------------------------
4284 
4285   PerfDataProto_StringMetadata_StringAndMd5sumPrefix* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
4286     return CreateMaybeMessage<PerfDataProto_StringMetadata_StringAndMd5sumPrefix>(arena);
4287   }
4288   void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)  final;
4289   void CopyFrom(const PerfDataProto_StringMetadata_StringAndMd5sumPrefix& from);
4290   void MergeFrom(const PerfDataProto_StringMetadata_StringAndMd5sumPrefix& from);
4291   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
4292   bool IsInitialized() const final;
4293 
4294   size_t ByteSizeLong() const final;
4295   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
4296   uint8_t* _InternalSerialize(
4297       uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
4298   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
4299 
4300   private:
4301   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
4302   void SharedDtor();
4303   void SetCachedSize(int size) const;
4304   void InternalSwap(PerfDataProto_StringMetadata_StringAndMd5sumPrefix* other);
4305 
4306   private:
4307   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
4308   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
4309     return "metrics.PerfDataProto.StringMetadata.StringAndMd5sumPrefix";
4310   }
4311   protected:
4312   explicit PerfDataProto_StringMetadata_StringAndMd5sumPrefix(::PROTOBUF_NAMESPACE_ID::Arena* arena,
4313                        bool is_message_owned = false);
4314   public:
4315 
4316   std::string GetTypeName() const final;
4317 
4318   // nested types ----------------------------------------------------
4319 
4320   // accessors -------------------------------------------------------
4321 
4322   enum : int {
4323     kValueMd5PrefixFieldNumber = 2,
4324   };
4325   // optional uint64 value_md5_prefix = 2;
4326   bool has_value_md5_prefix() const;
4327   private:
4328   bool _internal_has_value_md5_prefix() const;
4329   public:
4330   void clear_value_md5_prefix();
4331   uint64_t value_md5_prefix() const;
4332   void set_value_md5_prefix(uint64_t value);
4333   private:
4334   uint64_t _internal_value_md5_prefix() const;
4335   void _internal_set_value_md5_prefix(uint64_t value);
4336   public:
4337 
4338   // @@protoc_insertion_point(class_scope:metrics.PerfDataProto.StringMetadata.StringAndMd5sumPrefix)
4339  private:
4340   class _Internal;
4341 
4342   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
4343   typedef void InternalArenaConstructable_;
4344   typedef void DestructorSkippable_;
4345   struct Impl_ {
4346     ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
4347     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
4348     uint64_t value_md5_prefix_;
4349   };
4350   union { Impl_ _impl_; };
4351   friend struct ::TableStruct_perf_5fdata_2eproto;
4352 };
4353 // -------------------------------------------------------------------
4354 
4355 class PerfDataProto_StringMetadata final :
4356     public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:metrics.PerfDataProto.StringMetadata) */ {
4357  public:
PerfDataProto_StringMetadata()4358   inline PerfDataProto_StringMetadata() : PerfDataProto_StringMetadata(nullptr) {}
4359   ~PerfDataProto_StringMetadata() override;
4360   explicit PROTOBUF_CONSTEXPR PerfDataProto_StringMetadata(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
4361 
4362   PerfDataProto_StringMetadata(const PerfDataProto_StringMetadata& from);
PerfDataProto_StringMetadata(PerfDataProto_StringMetadata && from)4363   PerfDataProto_StringMetadata(PerfDataProto_StringMetadata&& from) noexcept
4364     : PerfDataProto_StringMetadata() {
4365     *this = ::std::move(from);
4366   }
4367 
4368   inline PerfDataProto_StringMetadata& operator=(const PerfDataProto_StringMetadata& from) {
4369     CopyFrom(from);
4370     return *this;
4371   }
4372   inline PerfDataProto_StringMetadata& operator=(PerfDataProto_StringMetadata&& from) noexcept {
4373     if (this == &from) return *this;
4374     if (GetOwningArena() == from.GetOwningArena()
4375   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
4376         && GetOwningArena() != nullptr
4377   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
4378     ) {
4379       InternalSwap(&from);
4380     } else {
4381       CopyFrom(from);
4382     }
4383     return *this;
4384   }
4385 
unknown_fields()4386   inline const std::string& unknown_fields() const {
4387     return _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString);
4388   }
mutable_unknown_fields()4389   inline std::string* mutable_unknown_fields() {
4390     return _internal_metadata_.mutable_unknown_fields<std::string>();
4391   }
4392 
default_instance()4393   static const PerfDataProto_StringMetadata& default_instance() {
4394     return *internal_default_instance();
4395   }
internal_default_instance()4396   static inline const PerfDataProto_StringMetadata* internal_default_instance() {
4397     return reinterpret_cast<const PerfDataProto_StringMetadata*>(
4398                &_PerfDataProto_StringMetadata_default_instance_);
4399   }
4400   static constexpr int kIndexInFileMessages =
4401     18;
4402 
swap(PerfDataProto_StringMetadata & a,PerfDataProto_StringMetadata & b)4403   friend void swap(PerfDataProto_StringMetadata& a, PerfDataProto_StringMetadata& b) {
4404     a.Swap(&b);
4405   }
Swap(PerfDataProto_StringMetadata * other)4406   PROTOBUF_NOINLINE void Swap(PerfDataProto_StringMetadata* other) {
4407     if (other == this) return;
4408   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
4409     if (GetOwningArena() != nullptr &&
4410         GetOwningArena() == other->GetOwningArena()) {
4411    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
4412     if (GetOwningArena() == other->GetOwningArena()) {
4413   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
4414       InternalSwap(other);
4415     } else {
4416       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
4417     }
4418   }
4419   void UnsafeArenaSwap(PerfDataProto_StringMetadata* other) {
4420     if (other == this) return;
4421     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
4422     InternalSwap(other);
4423   }
4424 
4425   // implements Message ----------------------------------------------
4426 
4427   PerfDataProto_StringMetadata* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
4428     return CreateMaybeMessage<PerfDataProto_StringMetadata>(arena);
4429   }
4430   void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)  final;
4431   void CopyFrom(const PerfDataProto_StringMetadata& from);
4432   void MergeFrom(const PerfDataProto_StringMetadata& from);
4433   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
4434   bool IsInitialized() const final;
4435 
4436   size_t ByteSizeLong() const final;
4437   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
4438   uint8_t* _InternalSerialize(
4439       uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
4440   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
4441 
4442   private:
4443   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
4444   void SharedDtor();
4445   void SetCachedSize(int size) const;
4446   void InternalSwap(PerfDataProto_StringMetadata* other);
4447 
4448   private:
4449   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
4450   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
4451     return "metrics.PerfDataProto.StringMetadata";
4452   }
4453   protected:
4454   explicit PerfDataProto_StringMetadata(::PROTOBUF_NAMESPACE_ID::Arena* arena,
4455                        bool is_message_owned = false);
4456   public:
4457 
4458   std::string GetTypeName() const final;
4459 
4460   // nested types ----------------------------------------------------
4461 
4462   typedef PerfDataProto_StringMetadata_StringAndMd5sumPrefix StringAndMd5sumPrefix;
4463 
4464   // accessors -------------------------------------------------------
4465 
4466   enum : int {
4467     kPerfCommandLineWholeFieldNumber = 8,
4468   };
4469   // optional .metrics.PerfDataProto.StringMetadata.StringAndMd5sumPrefix perf_command_line_whole = 8;
4470   bool has_perf_command_line_whole() const;
4471   private:
4472   bool _internal_has_perf_command_line_whole() const;
4473   public:
4474   void clear_perf_command_line_whole();
4475   const ::metrics::PerfDataProto_StringMetadata_StringAndMd5sumPrefix& perf_command_line_whole() const;
4476   PROTOBUF_NODISCARD ::metrics::PerfDataProto_StringMetadata_StringAndMd5sumPrefix* release_perf_command_line_whole();
4477   ::metrics::PerfDataProto_StringMetadata_StringAndMd5sumPrefix* mutable_perf_command_line_whole();
4478   void set_allocated_perf_command_line_whole(::metrics::PerfDataProto_StringMetadata_StringAndMd5sumPrefix* perf_command_line_whole);
4479   private:
4480   const ::metrics::PerfDataProto_StringMetadata_StringAndMd5sumPrefix& _internal_perf_command_line_whole() const;
4481   ::metrics::PerfDataProto_StringMetadata_StringAndMd5sumPrefix* _internal_mutable_perf_command_line_whole();
4482   public:
4483   void unsafe_arena_set_allocated_perf_command_line_whole(
4484       ::metrics::PerfDataProto_StringMetadata_StringAndMd5sumPrefix* perf_command_line_whole);
4485   ::metrics::PerfDataProto_StringMetadata_StringAndMd5sumPrefix* unsafe_arena_release_perf_command_line_whole();
4486 
4487   // @@protoc_insertion_point(class_scope:metrics.PerfDataProto.StringMetadata)
4488  private:
4489   class _Internal;
4490 
4491   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
4492   typedef void InternalArenaConstructable_;
4493   typedef void DestructorSkippable_;
4494   struct Impl_ {
4495     ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
4496     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
4497     ::metrics::PerfDataProto_StringMetadata_StringAndMd5sumPrefix* perf_command_line_whole_;
4498   };
4499   union { Impl_ _impl_; };
4500   friend struct ::TableStruct_perf_5fdata_2eproto;
4501 };
4502 // -------------------------------------------------------------------
4503 
4504 class PerfDataProto final :
4505     public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:metrics.PerfDataProto) */ {
4506  public:
PerfDataProto()4507   inline PerfDataProto() : PerfDataProto(nullptr) {}
4508   ~PerfDataProto() override;
4509   explicit PROTOBUF_CONSTEXPR PerfDataProto(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
4510 
4511   PerfDataProto(const PerfDataProto& from);
PerfDataProto(PerfDataProto && from)4512   PerfDataProto(PerfDataProto&& from) noexcept
4513     : PerfDataProto() {
4514     *this = ::std::move(from);
4515   }
4516 
4517   inline PerfDataProto& operator=(const PerfDataProto& from) {
4518     CopyFrom(from);
4519     return *this;
4520   }
4521   inline PerfDataProto& operator=(PerfDataProto&& from) noexcept {
4522     if (this == &from) return *this;
4523     if (GetOwningArena() == from.GetOwningArena()
4524   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
4525         && GetOwningArena() != nullptr
4526   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
4527     ) {
4528       InternalSwap(&from);
4529     } else {
4530       CopyFrom(from);
4531     }
4532     return *this;
4533   }
4534 
unknown_fields()4535   inline const std::string& unknown_fields() const {
4536     return _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString);
4537   }
mutable_unknown_fields()4538   inline std::string* mutable_unknown_fields() {
4539     return _internal_metadata_.mutable_unknown_fields<std::string>();
4540   }
4541 
default_instance()4542   static const PerfDataProto& default_instance() {
4543     return *internal_default_instance();
4544   }
internal_default_instance()4545   static inline const PerfDataProto* internal_default_instance() {
4546     return reinterpret_cast<const PerfDataProto*>(
4547                &_PerfDataProto_default_instance_);
4548   }
4549   static constexpr int kIndexInFileMessages =
4550     19;
4551 
swap(PerfDataProto & a,PerfDataProto & b)4552   friend void swap(PerfDataProto& a, PerfDataProto& b) {
4553     a.Swap(&b);
4554   }
Swap(PerfDataProto * other)4555   PROTOBUF_NOINLINE void Swap(PerfDataProto* other) {
4556     if (other == this) return;
4557   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
4558     if (GetOwningArena() != nullptr &&
4559         GetOwningArena() == other->GetOwningArena()) {
4560    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
4561     if (GetOwningArena() == other->GetOwningArena()) {
4562   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
4563       InternalSwap(other);
4564     } else {
4565       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
4566     }
4567   }
4568   void UnsafeArenaSwap(PerfDataProto* other) {
4569     if (other == this) return;
4570     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
4571     InternalSwap(other);
4572   }
4573 
4574   // implements Message ----------------------------------------------
4575 
4576   PerfDataProto* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
4577     return CreateMaybeMessage<PerfDataProto>(arena);
4578   }
4579   void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)  final;
4580   void CopyFrom(const PerfDataProto& from);
4581   void MergeFrom(const PerfDataProto& from);
4582   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
4583   bool IsInitialized() const final;
4584 
4585   size_t ByteSizeLong() const final;
4586   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
4587   uint8_t* _InternalSerialize(
4588       uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
4589   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
4590 
4591   private:
4592   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
4593   void SharedDtor();
4594   void SetCachedSize(int size) const;
4595   void InternalSwap(PerfDataProto* other);
4596 
4597   private:
4598   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
4599   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
4600     return "metrics.PerfDataProto";
4601   }
4602   protected:
4603   explicit PerfDataProto(::PROTOBUF_NAMESPACE_ID::Arena* arena,
4604                        bool is_message_owned = false);
4605   public:
4606 
4607   std::string GetTypeName() const final;
4608 
4609   // nested types ----------------------------------------------------
4610 
4611   typedef PerfDataProto_PerfEventAttr PerfEventAttr;
4612   typedef PerfDataProto_PerfFileAttr PerfFileAttr;
4613   typedef PerfDataProto_PerfEventType PerfEventType;
4614   typedef PerfDataProto_SampleInfo SampleInfo;
4615   typedef PerfDataProto_CommEvent CommEvent;
4616   typedef PerfDataProto_MMapEvent MMapEvent;
4617   typedef PerfDataProto_LostEvent LostEvent;
4618   typedef PerfDataProto_ThrottleEvent ThrottleEvent;
4619   typedef PerfDataProto_BranchStackEntry BranchStackEntry;
4620   typedef PerfDataProto_SampleEvent SampleEvent;
4621   typedef PerfDataProto_ForkEvent ForkEvent;
4622   typedef PerfDataProto_EventHeader EventHeader;
4623   typedef PerfDataProto_PerfEvent PerfEvent;
4624   typedef PerfDataProto_PerfEventStats PerfEventStats;
4625   typedef PerfDataProto_PerfBuildID PerfBuildID;
4626   typedef PerfDataProto_PerfPMUMappingsMetadata PerfPMUMappingsMetadata;
4627   typedef PerfDataProto_PerfHybridTopologyMetadata PerfHybridTopologyMetadata;
4628   typedef PerfDataProto_StringMetadata StringMetadata;
4629 
4630   // accessors -------------------------------------------------------
4631 
4632   enum : int {
4633     kFileAttrsFieldNumber = 1,
4634     kEventsFieldNumber = 2,
4635     kBuildIdsFieldNumber = 7,
4636     kEventTypesFieldNumber = 10,
4637     kPmuMappingsFieldNumber = 15,
4638     kHybridTopologyFieldNumber = 17,
4639     kStatsFieldNumber = 4,
4640     kStringMetadataFieldNumber = 13,
4641     kTimestampSecFieldNumber = 3,
4642   };
4643   // repeated .metrics.PerfDataProto.PerfFileAttr file_attrs = 1;
4644   int file_attrs_size() const;
4645   private:
4646   int _internal_file_attrs_size() const;
4647   public:
4648   void clear_file_attrs();
4649   ::metrics::PerfDataProto_PerfFileAttr* mutable_file_attrs(int index);
4650   ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::PerfDataProto_PerfFileAttr >*
4651       mutable_file_attrs();
4652   private:
4653   const ::metrics::PerfDataProto_PerfFileAttr& _internal_file_attrs(int index) const;
4654   ::metrics::PerfDataProto_PerfFileAttr* _internal_add_file_attrs();
4655   public:
4656   const ::metrics::PerfDataProto_PerfFileAttr& file_attrs(int index) const;
4657   ::metrics::PerfDataProto_PerfFileAttr* add_file_attrs();
4658   const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::PerfDataProto_PerfFileAttr >&
4659       file_attrs() const;
4660 
4661   // repeated .metrics.PerfDataProto.PerfEvent events = 2;
4662   int events_size() const;
4663   private:
4664   int _internal_events_size() const;
4665   public:
4666   void clear_events();
4667   ::metrics::PerfDataProto_PerfEvent* mutable_events(int index);
4668   ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::PerfDataProto_PerfEvent >*
4669       mutable_events();
4670   private:
4671   const ::metrics::PerfDataProto_PerfEvent& _internal_events(int index) const;
4672   ::metrics::PerfDataProto_PerfEvent* _internal_add_events();
4673   public:
4674   const ::metrics::PerfDataProto_PerfEvent& events(int index) const;
4675   ::metrics::PerfDataProto_PerfEvent* add_events();
4676   const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::PerfDataProto_PerfEvent >&
4677       events() const;
4678 
4679   // repeated .metrics.PerfDataProto.PerfBuildID build_ids = 7;
4680   int build_ids_size() const;
4681   private:
4682   int _internal_build_ids_size() const;
4683   public:
4684   void clear_build_ids();
4685   ::metrics::PerfDataProto_PerfBuildID* mutable_build_ids(int index);
4686   ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::PerfDataProto_PerfBuildID >*
4687       mutable_build_ids();
4688   private:
4689   const ::metrics::PerfDataProto_PerfBuildID& _internal_build_ids(int index) const;
4690   ::metrics::PerfDataProto_PerfBuildID* _internal_add_build_ids();
4691   public:
4692   const ::metrics::PerfDataProto_PerfBuildID& build_ids(int index) const;
4693   ::metrics::PerfDataProto_PerfBuildID* add_build_ids();
4694   const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::PerfDataProto_PerfBuildID >&
4695       build_ids() const;
4696 
4697   // repeated .metrics.PerfDataProto.PerfEventType event_types = 10;
4698   int event_types_size() const;
4699   private:
4700   int _internal_event_types_size() const;
4701   public:
4702   void clear_event_types();
4703   ::metrics::PerfDataProto_PerfEventType* mutable_event_types(int index);
4704   ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::PerfDataProto_PerfEventType >*
4705       mutable_event_types();
4706   private:
4707   const ::metrics::PerfDataProto_PerfEventType& _internal_event_types(int index) const;
4708   ::metrics::PerfDataProto_PerfEventType* _internal_add_event_types();
4709   public:
4710   const ::metrics::PerfDataProto_PerfEventType& event_types(int index) const;
4711   ::metrics::PerfDataProto_PerfEventType* add_event_types();
4712   const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::PerfDataProto_PerfEventType >&
4713       event_types() const;
4714 
4715   // repeated .metrics.PerfDataProto.PerfPMUMappingsMetadata pmu_mappings = 15;
4716   int pmu_mappings_size() const;
4717   private:
4718   int _internal_pmu_mappings_size() const;
4719   public:
4720   void clear_pmu_mappings();
4721   ::metrics::PerfDataProto_PerfPMUMappingsMetadata* mutable_pmu_mappings(int index);
4722   ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::PerfDataProto_PerfPMUMappingsMetadata >*
4723       mutable_pmu_mappings();
4724   private:
4725   const ::metrics::PerfDataProto_PerfPMUMappingsMetadata& _internal_pmu_mappings(int index) const;
4726   ::metrics::PerfDataProto_PerfPMUMappingsMetadata* _internal_add_pmu_mappings();
4727   public:
4728   const ::metrics::PerfDataProto_PerfPMUMappingsMetadata& pmu_mappings(int index) const;
4729   ::metrics::PerfDataProto_PerfPMUMappingsMetadata* add_pmu_mappings();
4730   const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::PerfDataProto_PerfPMUMappingsMetadata >&
4731       pmu_mappings() const;
4732 
4733   // repeated .metrics.PerfDataProto.PerfHybridTopologyMetadata hybrid_topology = 17;
4734   int hybrid_topology_size() const;
4735   private:
4736   int _internal_hybrid_topology_size() const;
4737   public:
4738   void clear_hybrid_topology();
4739   ::metrics::PerfDataProto_PerfHybridTopologyMetadata* mutable_hybrid_topology(int index);
4740   ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::PerfDataProto_PerfHybridTopologyMetadata >*
4741       mutable_hybrid_topology();
4742   private:
4743   const ::metrics::PerfDataProto_PerfHybridTopologyMetadata& _internal_hybrid_topology(int index) const;
4744   ::metrics::PerfDataProto_PerfHybridTopologyMetadata* _internal_add_hybrid_topology();
4745   public:
4746   const ::metrics::PerfDataProto_PerfHybridTopologyMetadata& hybrid_topology(int index) const;
4747   ::metrics::PerfDataProto_PerfHybridTopologyMetadata* add_hybrid_topology();
4748   const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::PerfDataProto_PerfHybridTopologyMetadata >&
4749       hybrid_topology() const;
4750 
4751   // optional .metrics.PerfDataProto.PerfEventStats stats = 4;
4752   bool has_stats() const;
4753   private:
4754   bool _internal_has_stats() const;
4755   public:
4756   void clear_stats();
4757   const ::metrics::PerfDataProto_PerfEventStats& stats() const;
4758   PROTOBUF_NODISCARD ::metrics::PerfDataProto_PerfEventStats* release_stats();
4759   ::metrics::PerfDataProto_PerfEventStats* mutable_stats();
4760   void set_allocated_stats(::metrics::PerfDataProto_PerfEventStats* stats);
4761   private:
4762   const ::metrics::PerfDataProto_PerfEventStats& _internal_stats() const;
4763   ::metrics::PerfDataProto_PerfEventStats* _internal_mutable_stats();
4764   public:
4765   void unsafe_arena_set_allocated_stats(
4766       ::metrics::PerfDataProto_PerfEventStats* stats);
4767   ::metrics::PerfDataProto_PerfEventStats* unsafe_arena_release_stats();
4768 
4769   // optional .metrics.PerfDataProto.StringMetadata string_metadata = 13;
4770   bool has_string_metadata() const;
4771   private:
4772   bool _internal_has_string_metadata() const;
4773   public:
4774   void clear_string_metadata();
4775   const ::metrics::PerfDataProto_StringMetadata& string_metadata() const;
4776   PROTOBUF_NODISCARD ::metrics::PerfDataProto_StringMetadata* release_string_metadata();
4777   ::metrics::PerfDataProto_StringMetadata* mutable_string_metadata();
4778   void set_allocated_string_metadata(::metrics::PerfDataProto_StringMetadata* string_metadata);
4779   private:
4780   const ::metrics::PerfDataProto_StringMetadata& _internal_string_metadata() const;
4781   ::metrics::PerfDataProto_StringMetadata* _internal_mutable_string_metadata();
4782   public:
4783   void unsafe_arena_set_allocated_string_metadata(
4784       ::metrics::PerfDataProto_StringMetadata* string_metadata);
4785   ::metrics::PerfDataProto_StringMetadata* unsafe_arena_release_string_metadata();
4786 
4787   // optional uint64 timestamp_sec = 3;
4788   bool has_timestamp_sec() const;
4789   private:
4790   bool _internal_has_timestamp_sec() const;
4791   public:
4792   void clear_timestamp_sec();
4793   uint64_t timestamp_sec() const;
4794   void set_timestamp_sec(uint64_t value);
4795   private:
4796   uint64_t _internal_timestamp_sec() const;
4797   void _internal_set_timestamp_sec(uint64_t value);
4798   public:
4799 
4800   // @@protoc_insertion_point(class_scope:metrics.PerfDataProto)
4801  private:
4802   class _Internal;
4803 
4804   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
4805   typedef void InternalArenaConstructable_;
4806   typedef void DestructorSkippable_;
4807   struct Impl_ {
4808     ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
4809     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
4810     ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::PerfDataProto_PerfFileAttr > file_attrs_;
4811     ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::PerfDataProto_PerfEvent > events_;
4812     ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::PerfDataProto_PerfBuildID > build_ids_;
4813     ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::PerfDataProto_PerfEventType > event_types_;
4814     ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::PerfDataProto_PerfPMUMappingsMetadata > pmu_mappings_;
4815     ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::PerfDataProto_PerfHybridTopologyMetadata > hybrid_topology_;
4816     ::metrics::PerfDataProto_PerfEventStats* stats_;
4817     ::metrics::PerfDataProto_StringMetadata* string_metadata_;
4818     uint64_t timestamp_sec_;
4819   };
4820   union { Impl_ _impl_; };
4821   friend struct ::TableStruct_perf_5fdata_2eproto;
4822 };
4823 // ===================================================================
4824 
4825 
4826 // ===================================================================
4827 
4828 #ifdef __GNUC__
4829   #pragma GCC diagnostic push
4830   #pragma GCC diagnostic ignored "-Wstrict-aliasing"
4831 #endif  // __GNUC__
4832 // PerfDataProto_PerfEventAttr
4833 
4834 // optional uint32 type = 1;
_internal_has_type()4835 inline bool PerfDataProto_PerfEventAttr::_internal_has_type() const {
4836   bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
4837   return value;
4838 }
has_type()4839 inline bool PerfDataProto_PerfEventAttr::has_type() const {
4840   return _internal_has_type();
4841 }
clear_type()4842 inline void PerfDataProto_PerfEventAttr::clear_type() {
4843   _impl_.type_ = 0u;
4844   _impl_._has_bits_[0] &= ~0x00000001u;
4845 }
_internal_type()4846 inline uint32_t PerfDataProto_PerfEventAttr::_internal_type() const {
4847   return _impl_.type_;
4848 }
type()4849 inline uint32_t PerfDataProto_PerfEventAttr::type() const {
4850   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.PerfEventAttr.type)
4851   return _internal_type();
4852 }
_internal_set_type(uint32_t value)4853 inline void PerfDataProto_PerfEventAttr::_internal_set_type(uint32_t value) {
4854   _impl_._has_bits_[0] |= 0x00000001u;
4855   _impl_.type_ = value;
4856 }
set_type(uint32_t value)4857 inline void PerfDataProto_PerfEventAttr::set_type(uint32_t value) {
4858   _internal_set_type(value);
4859   // @@protoc_insertion_point(field_set:metrics.PerfDataProto.PerfEventAttr.type)
4860 }
4861 
4862 // optional uint32 size = 2;
_internal_has_size()4863 inline bool PerfDataProto_PerfEventAttr::_internal_has_size() const {
4864   bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
4865   return value;
4866 }
has_size()4867 inline bool PerfDataProto_PerfEventAttr::has_size() const {
4868   return _internal_has_size();
4869 }
clear_size()4870 inline void PerfDataProto_PerfEventAttr::clear_size() {
4871   _impl_.size_ = 0u;
4872   _impl_._has_bits_[0] &= ~0x00000002u;
4873 }
_internal_size()4874 inline uint32_t PerfDataProto_PerfEventAttr::_internal_size() const {
4875   return _impl_.size_;
4876 }
size()4877 inline uint32_t PerfDataProto_PerfEventAttr::size() const {
4878   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.PerfEventAttr.size)
4879   return _internal_size();
4880 }
_internal_set_size(uint32_t value)4881 inline void PerfDataProto_PerfEventAttr::_internal_set_size(uint32_t value) {
4882   _impl_._has_bits_[0] |= 0x00000002u;
4883   _impl_.size_ = value;
4884 }
set_size(uint32_t value)4885 inline void PerfDataProto_PerfEventAttr::set_size(uint32_t value) {
4886   _internal_set_size(value);
4887   // @@protoc_insertion_point(field_set:metrics.PerfDataProto.PerfEventAttr.size)
4888 }
4889 
4890 // optional uint64 config = 3;
_internal_has_config()4891 inline bool PerfDataProto_PerfEventAttr::_internal_has_config() const {
4892   bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
4893   return value;
4894 }
has_config()4895 inline bool PerfDataProto_PerfEventAttr::has_config() const {
4896   return _internal_has_config();
4897 }
clear_config()4898 inline void PerfDataProto_PerfEventAttr::clear_config() {
4899   _impl_.config_ = uint64_t{0u};
4900   _impl_._has_bits_[0] &= ~0x00000004u;
4901 }
_internal_config()4902 inline uint64_t PerfDataProto_PerfEventAttr::_internal_config() const {
4903   return _impl_.config_;
4904 }
config()4905 inline uint64_t PerfDataProto_PerfEventAttr::config() const {
4906   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.PerfEventAttr.config)
4907   return _internal_config();
4908 }
_internal_set_config(uint64_t value)4909 inline void PerfDataProto_PerfEventAttr::_internal_set_config(uint64_t value) {
4910   _impl_._has_bits_[0] |= 0x00000004u;
4911   _impl_.config_ = value;
4912 }
set_config(uint64_t value)4913 inline void PerfDataProto_PerfEventAttr::set_config(uint64_t value) {
4914   _internal_set_config(value);
4915   // @@protoc_insertion_point(field_set:metrics.PerfDataProto.PerfEventAttr.config)
4916 }
4917 
4918 // optional uint64 sample_period = 4;
_internal_has_sample_period()4919 inline bool PerfDataProto_PerfEventAttr::_internal_has_sample_period() const {
4920   bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
4921   return value;
4922 }
has_sample_period()4923 inline bool PerfDataProto_PerfEventAttr::has_sample_period() const {
4924   return _internal_has_sample_period();
4925 }
clear_sample_period()4926 inline void PerfDataProto_PerfEventAttr::clear_sample_period() {
4927   _impl_.sample_period_ = uint64_t{0u};
4928   _impl_._has_bits_[0] &= ~0x00000008u;
4929 }
_internal_sample_period()4930 inline uint64_t PerfDataProto_PerfEventAttr::_internal_sample_period() const {
4931   return _impl_.sample_period_;
4932 }
sample_period()4933 inline uint64_t PerfDataProto_PerfEventAttr::sample_period() const {
4934   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.PerfEventAttr.sample_period)
4935   return _internal_sample_period();
4936 }
_internal_set_sample_period(uint64_t value)4937 inline void PerfDataProto_PerfEventAttr::_internal_set_sample_period(uint64_t value) {
4938   _impl_._has_bits_[0] |= 0x00000008u;
4939   _impl_.sample_period_ = value;
4940 }
set_sample_period(uint64_t value)4941 inline void PerfDataProto_PerfEventAttr::set_sample_period(uint64_t value) {
4942   _internal_set_sample_period(value);
4943   // @@protoc_insertion_point(field_set:metrics.PerfDataProto.PerfEventAttr.sample_period)
4944 }
4945 
4946 // optional uint64 sample_freq = 5;
_internal_has_sample_freq()4947 inline bool PerfDataProto_PerfEventAttr::_internal_has_sample_freq() const {
4948   bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
4949   return value;
4950 }
has_sample_freq()4951 inline bool PerfDataProto_PerfEventAttr::has_sample_freq() const {
4952   return _internal_has_sample_freq();
4953 }
clear_sample_freq()4954 inline void PerfDataProto_PerfEventAttr::clear_sample_freq() {
4955   _impl_.sample_freq_ = uint64_t{0u};
4956   _impl_._has_bits_[0] &= ~0x00000010u;
4957 }
_internal_sample_freq()4958 inline uint64_t PerfDataProto_PerfEventAttr::_internal_sample_freq() const {
4959   return _impl_.sample_freq_;
4960 }
sample_freq()4961 inline uint64_t PerfDataProto_PerfEventAttr::sample_freq() const {
4962   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.PerfEventAttr.sample_freq)
4963   return _internal_sample_freq();
4964 }
_internal_set_sample_freq(uint64_t value)4965 inline void PerfDataProto_PerfEventAttr::_internal_set_sample_freq(uint64_t value) {
4966   _impl_._has_bits_[0] |= 0x00000010u;
4967   _impl_.sample_freq_ = value;
4968 }
set_sample_freq(uint64_t value)4969 inline void PerfDataProto_PerfEventAttr::set_sample_freq(uint64_t value) {
4970   _internal_set_sample_freq(value);
4971   // @@protoc_insertion_point(field_set:metrics.PerfDataProto.PerfEventAttr.sample_freq)
4972 }
4973 
4974 // optional uint64 sample_type = 6;
_internal_has_sample_type()4975 inline bool PerfDataProto_PerfEventAttr::_internal_has_sample_type() const {
4976   bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
4977   return value;
4978 }
has_sample_type()4979 inline bool PerfDataProto_PerfEventAttr::has_sample_type() const {
4980   return _internal_has_sample_type();
4981 }
clear_sample_type()4982 inline void PerfDataProto_PerfEventAttr::clear_sample_type() {
4983   _impl_.sample_type_ = uint64_t{0u};
4984   _impl_._has_bits_[0] &= ~0x00000020u;
4985 }
_internal_sample_type()4986 inline uint64_t PerfDataProto_PerfEventAttr::_internal_sample_type() const {
4987   return _impl_.sample_type_;
4988 }
sample_type()4989 inline uint64_t PerfDataProto_PerfEventAttr::sample_type() const {
4990   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.PerfEventAttr.sample_type)
4991   return _internal_sample_type();
4992 }
_internal_set_sample_type(uint64_t value)4993 inline void PerfDataProto_PerfEventAttr::_internal_set_sample_type(uint64_t value) {
4994   _impl_._has_bits_[0] |= 0x00000020u;
4995   _impl_.sample_type_ = value;
4996 }
set_sample_type(uint64_t value)4997 inline void PerfDataProto_PerfEventAttr::set_sample_type(uint64_t value) {
4998   _internal_set_sample_type(value);
4999   // @@protoc_insertion_point(field_set:metrics.PerfDataProto.PerfEventAttr.sample_type)
5000 }
5001 
5002 // optional uint64 read_format = 7;
_internal_has_read_format()5003 inline bool PerfDataProto_PerfEventAttr::_internal_has_read_format() const {
5004   bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0;
5005   return value;
5006 }
has_read_format()5007 inline bool PerfDataProto_PerfEventAttr::has_read_format() const {
5008   return _internal_has_read_format();
5009 }
clear_read_format()5010 inline void PerfDataProto_PerfEventAttr::clear_read_format() {
5011   _impl_.read_format_ = uint64_t{0u};
5012   _impl_._has_bits_[0] &= ~0x00000040u;
5013 }
_internal_read_format()5014 inline uint64_t PerfDataProto_PerfEventAttr::_internal_read_format() const {
5015   return _impl_.read_format_;
5016 }
read_format()5017 inline uint64_t PerfDataProto_PerfEventAttr::read_format() const {
5018   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.PerfEventAttr.read_format)
5019   return _internal_read_format();
5020 }
_internal_set_read_format(uint64_t value)5021 inline void PerfDataProto_PerfEventAttr::_internal_set_read_format(uint64_t value) {
5022   _impl_._has_bits_[0] |= 0x00000040u;
5023   _impl_.read_format_ = value;
5024 }
set_read_format(uint64_t value)5025 inline void PerfDataProto_PerfEventAttr::set_read_format(uint64_t value) {
5026   _internal_set_read_format(value);
5027   // @@protoc_insertion_point(field_set:metrics.PerfDataProto.PerfEventAttr.read_format)
5028 }
5029 
5030 // optional bool disabled = 8;
_internal_has_disabled()5031 inline bool PerfDataProto_PerfEventAttr::_internal_has_disabled() const {
5032   bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0;
5033   return value;
5034 }
has_disabled()5035 inline bool PerfDataProto_PerfEventAttr::has_disabled() const {
5036   return _internal_has_disabled();
5037 }
clear_disabled()5038 inline void PerfDataProto_PerfEventAttr::clear_disabled() {
5039   _impl_.disabled_ = false;
5040   _impl_._has_bits_[0] &= ~0x00000080u;
5041 }
_internal_disabled()5042 inline bool PerfDataProto_PerfEventAttr::_internal_disabled() const {
5043   return _impl_.disabled_;
5044 }
disabled()5045 inline bool PerfDataProto_PerfEventAttr::disabled() const {
5046   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.PerfEventAttr.disabled)
5047   return _internal_disabled();
5048 }
_internal_set_disabled(bool value)5049 inline void PerfDataProto_PerfEventAttr::_internal_set_disabled(bool value) {
5050   _impl_._has_bits_[0] |= 0x00000080u;
5051   _impl_.disabled_ = value;
5052 }
set_disabled(bool value)5053 inline void PerfDataProto_PerfEventAttr::set_disabled(bool value) {
5054   _internal_set_disabled(value);
5055   // @@protoc_insertion_point(field_set:metrics.PerfDataProto.PerfEventAttr.disabled)
5056 }
5057 
5058 // optional bool inherit = 9;
_internal_has_inherit()5059 inline bool PerfDataProto_PerfEventAttr::_internal_has_inherit() const {
5060   bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0;
5061   return value;
5062 }
has_inherit()5063 inline bool PerfDataProto_PerfEventAttr::has_inherit() const {
5064   return _internal_has_inherit();
5065 }
clear_inherit()5066 inline void PerfDataProto_PerfEventAttr::clear_inherit() {
5067   _impl_.inherit_ = false;
5068   _impl_._has_bits_[0] &= ~0x00000100u;
5069 }
_internal_inherit()5070 inline bool PerfDataProto_PerfEventAttr::_internal_inherit() const {
5071   return _impl_.inherit_;
5072 }
inherit()5073 inline bool PerfDataProto_PerfEventAttr::inherit() const {
5074   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.PerfEventAttr.inherit)
5075   return _internal_inherit();
5076 }
_internal_set_inherit(bool value)5077 inline void PerfDataProto_PerfEventAttr::_internal_set_inherit(bool value) {
5078   _impl_._has_bits_[0] |= 0x00000100u;
5079   _impl_.inherit_ = value;
5080 }
set_inherit(bool value)5081 inline void PerfDataProto_PerfEventAttr::set_inherit(bool value) {
5082   _internal_set_inherit(value);
5083   // @@protoc_insertion_point(field_set:metrics.PerfDataProto.PerfEventAttr.inherit)
5084 }
5085 
5086 // optional bool pinned = 10;
_internal_has_pinned()5087 inline bool PerfDataProto_PerfEventAttr::_internal_has_pinned() const {
5088   bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0;
5089   return value;
5090 }
has_pinned()5091 inline bool PerfDataProto_PerfEventAttr::has_pinned() const {
5092   return _internal_has_pinned();
5093 }
clear_pinned()5094 inline void PerfDataProto_PerfEventAttr::clear_pinned() {
5095   _impl_.pinned_ = false;
5096   _impl_._has_bits_[0] &= ~0x00000200u;
5097 }
_internal_pinned()5098 inline bool PerfDataProto_PerfEventAttr::_internal_pinned() const {
5099   return _impl_.pinned_;
5100 }
pinned()5101 inline bool PerfDataProto_PerfEventAttr::pinned() const {
5102   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.PerfEventAttr.pinned)
5103   return _internal_pinned();
5104 }
_internal_set_pinned(bool value)5105 inline void PerfDataProto_PerfEventAttr::_internal_set_pinned(bool value) {
5106   _impl_._has_bits_[0] |= 0x00000200u;
5107   _impl_.pinned_ = value;
5108 }
set_pinned(bool value)5109 inline void PerfDataProto_PerfEventAttr::set_pinned(bool value) {
5110   _internal_set_pinned(value);
5111   // @@protoc_insertion_point(field_set:metrics.PerfDataProto.PerfEventAttr.pinned)
5112 }
5113 
5114 // optional bool exclusive = 11;
_internal_has_exclusive()5115 inline bool PerfDataProto_PerfEventAttr::_internal_has_exclusive() const {
5116   bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0;
5117   return value;
5118 }
has_exclusive()5119 inline bool PerfDataProto_PerfEventAttr::has_exclusive() const {
5120   return _internal_has_exclusive();
5121 }
clear_exclusive()5122 inline void PerfDataProto_PerfEventAttr::clear_exclusive() {
5123   _impl_.exclusive_ = false;
5124   _impl_._has_bits_[0] &= ~0x00000400u;
5125 }
_internal_exclusive()5126 inline bool PerfDataProto_PerfEventAttr::_internal_exclusive() const {
5127   return _impl_.exclusive_;
5128 }
exclusive()5129 inline bool PerfDataProto_PerfEventAttr::exclusive() const {
5130   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.PerfEventAttr.exclusive)
5131   return _internal_exclusive();
5132 }
_internal_set_exclusive(bool value)5133 inline void PerfDataProto_PerfEventAttr::_internal_set_exclusive(bool value) {
5134   _impl_._has_bits_[0] |= 0x00000400u;
5135   _impl_.exclusive_ = value;
5136 }
set_exclusive(bool value)5137 inline void PerfDataProto_PerfEventAttr::set_exclusive(bool value) {
5138   _internal_set_exclusive(value);
5139   // @@protoc_insertion_point(field_set:metrics.PerfDataProto.PerfEventAttr.exclusive)
5140 }
5141 
5142 // optional bool exclude_user = 12;
_internal_has_exclude_user()5143 inline bool PerfDataProto_PerfEventAttr::_internal_has_exclude_user() const {
5144   bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0;
5145   return value;
5146 }
has_exclude_user()5147 inline bool PerfDataProto_PerfEventAttr::has_exclude_user() const {
5148   return _internal_has_exclude_user();
5149 }
clear_exclude_user()5150 inline void PerfDataProto_PerfEventAttr::clear_exclude_user() {
5151   _impl_.exclude_user_ = false;
5152   _impl_._has_bits_[0] &= ~0x00000800u;
5153 }
_internal_exclude_user()5154 inline bool PerfDataProto_PerfEventAttr::_internal_exclude_user() const {
5155   return _impl_.exclude_user_;
5156 }
exclude_user()5157 inline bool PerfDataProto_PerfEventAttr::exclude_user() const {
5158   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.PerfEventAttr.exclude_user)
5159   return _internal_exclude_user();
5160 }
_internal_set_exclude_user(bool value)5161 inline void PerfDataProto_PerfEventAttr::_internal_set_exclude_user(bool value) {
5162   _impl_._has_bits_[0] |= 0x00000800u;
5163   _impl_.exclude_user_ = value;
5164 }
set_exclude_user(bool value)5165 inline void PerfDataProto_PerfEventAttr::set_exclude_user(bool value) {
5166   _internal_set_exclude_user(value);
5167   // @@protoc_insertion_point(field_set:metrics.PerfDataProto.PerfEventAttr.exclude_user)
5168 }
5169 
5170 // optional bool exclude_kernel = 13;
_internal_has_exclude_kernel()5171 inline bool PerfDataProto_PerfEventAttr::_internal_has_exclude_kernel() const {
5172   bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0;
5173   return value;
5174 }
has_exclude_kernel()5175 inline bool PerfDataProto_PerfEventAttr::has_exclude_kernel() const {
5176   return _internal_has_exclude_kernel();
5177 }
clear_exclude_kernel()5178 inline void PerfDataProto_PerfEventAttr::clear_exclude_kernel() {
5179   _impl_.exclude_kernel_ = false;
5180   _impl_._has_bits_[0] &= ~0x00001000u;
5181 }
_internal_exclude_kernel()5182 inline bool PerfDataProto_PerfEventAttr::_internal_exclude_kernel() const {
5183   return _impl_.exclude_kernel_;
5184 }
exclude_kernel()5185 inline bool PerfDataProto_PerfEventAttr::exclude_kernel() const {
5186   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.PerfEventAttr.exclude_kernel)
5187   return _internal_exclude_kernel();
5188 }
_internal_set_exclude_kernel(bool value)5189 inline void PerfDataProto_PerfEventAttr::_internal_set_exclude_kernel(bool value) {
5190   _impl_._has_bits_[0] |= 0x00001000u;
5191   _impl_.exclude_kernel_ = value;
5192 }
set_exclude_kernel(bool value)5193 inline void PerfDataProto_PerfEventAttr::set_exclude_kernel(bool value) {
5194   _internal_set_exclude_kernel(value);
5195   // @@protoc_insertion_point(field_set:metrics.PerfDataProto.PerfEventAttr.exclude_kernel)
5196 }
5197 
5198 // optional bool exclude_hv = 14;
_internal_has_exclude_hv()5199 inline bool PerfDataProto_PerfEventAttr::_internal_has_exclude_hv() const {
5200   bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0;
5201   return value;
5202 }
has_exclude_hv()5203 inline bool PerfDataProto_PerfEventAttr::has_exclude_hv() const {
5204   return _internal_has_exclude_hv();
5205 }
clear_exclude_hv()5206 inline void PerfDataProto_PerfEventAttr::clear_exclude_hv() {
5207   _impl_.exclude_hv_ = false;
5208   _impl_._has_bits_[0] &= ~0x00002000u;
5209 }
_internal_exclude_hv()5210 inline bool PerfDataProto_PerfEventAttr::_internal_exclude_hv() const {
5211   return _impl_.exclude_hv_;
5212 }
exclude_hv()5213 inline bool PerfDataProto_PerfEventAttr::exclude_hv() const {
5214   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.PerfEventAttr.exclude_hv)
5215   return _internal_exclude_hv();
5216 }
_internal_set_exclude_hv(bool value)5217 inline void PerfDataProto_PerfEventAttr::_internal_set_exclude_hv(bool value) {
5218   _impl_._has_bits_[0] |= 0x00002000u;
5219   _impl_.exclude_hv_ = value;
5220 }
set_exclude_hv(bool value)5221 inline void PerfDataProto_PerfEventAttr::set_exclude_hv(bool value) {
5222   _internal_set_exclude_hv(value);
5223   // @@protoc_insertion_point(field_set:metrics.PerfDataProto.PerfEventAttr.exclude_hv)
5224 }
5225 
5226 // optional bool exclude_idle = 15;
_internal_has_exclude_idle()5227 inline bool PerfDataProto_PerfEventAttr::_internal_has_exclude_idle() const {
5228   bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0;
5229   return value;
5230 }
has_exclude_idle()5231 inline bool PerfDataProto_PerfEventAttr::has_exclude_idle() const {
5232   return _internal_has_exclude_idle();
5233 }
clear_exclude_idle()5234 inline void PerfDataProto_PerfEventAttr::clear_exclude_idle() {
5235   _impl_.exclude_idle_ = false;
5236   _impl_._has_bits_[0] &= ~0x00004000u;
5237 }
_internal_exclude_idle()5238 inline bool PerfDataProto_PerfEventAttr::_internal_exclude_idle() const {
5239   return _impl_.exclude_idle_;
5240 }
exclude_idle()5241 inline bool PerfDataProto_PerfEventAttr::exclude_idle() const {
5242   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.PerfEventAttr.exclude_idle)
5243   return _internal_exclude_idle();
5244 }
_internal_set_exclude_idle(bool value)5245 inline void PerfDataProto_PerfEventAttr::_internal_set_exclude_idle(bool value) {
5246   _impl_._has_bits_[0] |= 0x00004000u;
5247   _impl_.exclude_idle_ = value;
5248 }
set_exclude_idle(bool value)5249 inline void PerfDataProto_PerfEventAttr::set_exclude_idle(bool value) {
5250   _internal_set_exclude_idle(value);
5251   // @@protoc_insertion_point(field_set:metrics.PerfDataProto.PerfEventAttr.exclude_idle)
5252 }
5253 
5254 // optional bool mmap = 16;
_internal_has_mmap()5255 inline bool PerfDataProto_PerfEventAttr::_internal_has_mmap() const {
5256   bool value = (_impl_._has_bits_[0] & 0x00008000u) != 0;
5257   return value;
5258 }
has_mmap()5259 inline bool PerfDataProto_PerfEventAttr::has_mmap() const {
5260   return _internal_has_mmap();
5261 }
clear_mmap()5262 inline void PerfDataProto_PerfEventAttr::clear_mmap() {
5263   _impl_.mmap_ = false;
5264   _impl_._has_bits_[0] &= ~0x00008000u;
5265 }
_internal_mmap()5266 inline bool PerfDataProto_PerfEventAttr::_internal_mmap() const {
5267   return _impl_.mmap_;
5268 }
mmap()5269 inline bool PerfDataProto_PerfEventAttr::mmap() const {
5270   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.PerfEventAttr.mmap)
5271   return _internal_mmap();
5272 }
_internal_set_mmap(bool value)5273 inline void PerfDataProto_PerfEventAttr::_internal_set_mmap(bool value) {
5274   _impl_._has_bits_[0] |= 0x00008000u;
5275   _impl_.mmap_ = value;
5276 }
set_mmap(bool value)5277 inline void PerfDataProto_PerfEventAttr::set_mmap(bool value) {
5278   _internal_set_mmap(value);
5279   // @@protoc_insertion_point(field_set:metrics.PerfDataProto.PerfEventAttr.mmap)
5280 }
5281 
5282 // optional bool comm = 17;
_internal_has_comm()5283 inline bool PerfDataProto_PerfEventAttr::_internal_has_comm() const {
5284   bool value = (_impl_._has_bits_[0] & 0x00010000u) != 0;
5285   return value;
5286 }
has_comm()5287 inline bool PerfDataProto_PerfEventAttr::has_comm() const {
5288   return _internal_has_comm();
5289 }
clear_comm()5290 inline void PerfDataProto_PerfEventAttr::clear_comm() {
5291   _impl_.comm_ = false;
5292   _impl_._has_bits_[0] &= ~0x00010000u;
5293 }
_internal_comm()5294 inline bool PerfDataProto_PerfEventAttr::_internal_comm() const {
5295   return _impl_.comm_;
5296 }
comm()5297 inline bool PerfDataProto_PerfEventAttr::comm() const {
5298   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.PerfEventAttr.comm)
5299   return _internal_comm();
5300 }
_internal_set_comm(bool value)5301 inline void PerfDataProto_PerfEventAttr::_internal_set_comm(bool value) {
5302   _impl_._has_bits_[0] |= 0x00010000u;
5303   _impl_.comm_ = value;
5304 }
set_comm(bool value)5305 inline void PerfDataProto_PerfEventAttr::set_comm(bool value) {
5306   _internal_set_comm(value);
5307   // @@protoc_insertion_point(field_set:metrics.PerfDataProto.PerfEventAttr.comm)
5308 }
5309 
5310 // optional bool freq = 18;
_internal_has_freq()5311 inline bool PerfDataProto_PerfEventAttr::_internal_has_freq() const {
5312   bool value = (_impl_._has_bits_[0] & 0x00020000u) != 0;
5313   return value;
5314 }
has_freq()5315 inline bool PerfDataProto_PerfEventAttr::has_freq() const {
5316   return _internal_has_freq();
5317 }
clear_freq()5318 inline void PerfDataProto_PerfEventAttr::clear_freq() {
5319   _impl_.freq_ = false;
5320   _impl_._has_bits_[0] &= ~0x00020000u;
5321 }
_internal_freq()5322 inline bool PerfDataProto_PerfEventAttr::_internal_freq() const {
5323   return _impl_.freq_;
5324 }
freq()5325 inline bool PerfDataProto_PerfEventAttr::freq() const {
5326   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.PerfEventAttr.freq)
5327   return _internal_freq();
5328 }
_internal_set_freq(bool value)5329 inline void PerfDataProto_PerfEventAttr::_internal_set_freq(bool value) {
5330   _impl_._has_bits_[0] |= 0x00020000u;
5331   _impl_.freq_ = value;
5332 }
set_freq(bool value)5333 inline void PerfDataProto_PerfEventAttr::set_freq(bool value) {
5334   _internal_set_freq(value);
5335   // @@protoc_insertion_point(field_set:metrics.PerfDataProto.PerfEventAttr.freq)
5336 }
5337 
5338 // optional bool inherit_stat = 19;
_internal_has_inherit_stat()5339 inline bool PerfDataProto_PerfEventAttr::_internal_has_inherit_stat() const {
5340   bool value = (_impl_._has_bits_[0] & 0x00040000u) != 0;
5341   return value;
5342 }
has_inherit_stat()5343 inline bool PerfDataProto_PerfEventAttr::has_inherit_stat() const {
5344   return _internal_has_inherit_stat();
5345 }
clear_inherit_stat()5346 inline void PerfDataProto_PerfEventAttr::clear_inherit_stat() {
5347   _impl_.inherit_stat_ = false;
5348   _impl_._has_bits_[0] &= ~0x00040000u;
5349 }
_internal_inherit_stat()5350 inline bool PerfDataProto_PerfEventAttr::_internal_inherit_stat() const {
5351   return _impl_.inherit_stat_;
5352 }
inherit_stat()5353 inline bool PerfDataProto_PerfEventAttr::inherit_stat() const {
5354   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.PerfEventAttr.inherit_stat)
5355   return _internal_inherit_stat();
5356 }
_internal_set_inherit_stat(bool value)5357 inline void PerfDataProto_PerfEventAttr::_internal_set_inherit_stat(bool value) {
5358   _impl_._has_bits_[0] |= 0x00040000u;
5359   _impl_.inherit_stat_ = value;
5360 }
set_inherit_stat(bool value)5361 inline void PerfDataProto_PerfEventAttr::set_inherit_stat(bool value) {
5362   _internal_set_inherit_stat(value);
5363   // @@protoc_insertion_point(field_set:metrics.PerfDataProto.PerfEventAttr.inherit_stat)
5364 }
5365 
5366 // optional bool enable_on_exec = 20;
_internal_has_enable_on_exec()5367 inline bool PerfDataProto_PerfEventAttr::_internal_has_enable_on_exec() const {
5368   bool value = (_impl_._has_bits_[0] & 0x00080000u) != 0;
5369   return value;
5370 }
has_enable_on_exec()5371 inline bool PerfDataProto_PerfEventAttr::has_enable_on_exec() const {
5372   return _internal_has_enable_on_exec();
5373 }
clear_enable_on_exec()5374 inline void PerfDataProto_PerfEventAttr::clear_enable_on_exec() {
5375   _impl_.enable_on_exec_ = false;
5376   _impl_._has_bits_[0] &= ~0x00080000u;
5377 }
_internal_enable_on_exec()5378 inline bool PerfDataProto_PerfEventAttr::_internal_enable_on_exec() const {
5379   return _impl_.enable_on_exec_;
5380 }
enable_on_exec()5381 inline bool PerfDataProto_PerfEventAttr::enable_on_exec() const {
5382   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.PerfEventAttr.enable_on_exec)
5383   return _internal_enable_on_exec();
5384 }
_internal_set_enable_on_exec(bool value)5385 inline void PerfDataProto_PerfEventAttr::_internal_set_enable_on_exec(bool value) {
5386   _impl_._has_bits_[0] |= 0x00080000u;
5387   _impl_.enable_on_exec_ = value;
5388 }
set_enable_on_exec(bool value)5389 inline void PerfDataProto_PerfEventAttr::set_enable_on_exec(bool value) {
5390   _internal_set_enable_on_exec(value);
5391   // @@protoc_insertion_point(field_set:metrics.PerfDataProto.PerfEventAttr.enable_on_exec)
5392 }
5393 
5394 // optional bool task = 21;
_internal_has_task()5395 inline bool PerfDataProto_PerfEventAttr::_internal_has_task() const {
5396   bool value = (_impl_._has_bits_[0] & 0x00100000u) != 0;
5397   return value;
5398 }
has_task()5399 inline bool PerfDataProto_PerfEventAttr::has_task() const {
5400   return _internal_has_task();
5401 }
clear_task()5402 inline void PerfDataProto_PerfEventAttr::clear_task() {
5403   _impl_.task_ = false;
5404   _impl_._has_bits_[0] &= ~0x00100000u;
5405 }
_internal_task()5406 inline bool PerfDataProto_PerfEventAttr::_internal_task() const {
5407   return _impl_.task_;
5408 }
task()5409 inline bool PerfDataProto_PerfEventAttr::task() const {
5410   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.PerfEventAttr.task)
5411   return _internal_task();
5412 }
_internal_set_task(bool value)5413 inline void PerfDataProto_PerfEventAttr::_internal_set_task(bool value) {
5414   _impl_._has_bits_[0] |= 0x00100000u;
5415   _impl_.task_ = value;
5416 }
set_task(bool value)5417 inline void PerfDataProto_PerfEventAttr::set_task(bool value) {
5418   _internal_set_task(value);
5419   // @@protoc_insertion_point(field_set:metrics.PerfDataProto.PerfEventAttr.task)
5420 }
5421 
5422 // optional bool watermark = 22;
_internal_has_watermark()5423 inline bool PerfDataProto_PerfEventAttr::_internal_has_watermark() const {
5424   bool value = (_impl_._has_bits_[0] & 0x00200000u) != 0;
5425   return value;
5426 }
has_watermark()5427 inline bool PerfDataProto_PerfEventAttr::has_watermark() const {
5428   return _internal_has_watermark();
5429 }
clear_watermark()5430 inline void PerfDataProto_PerfEventAttr::clear_watermark() {
5431   _impl_.watermark_ = false;
5432   _impl_._has_bits_[0] &= ~0x00200000u;
5433 }
_internal_watermark()5434 inline bool PerfDataProto_PerfEventAttr::_internal_watermark() const {
5435   return _impl_.watermark_;
5436 }
watermark()5437 inline bool PerfDataProto_PerfEventAttr::watermark() const {
5438   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.PerfEventAttr.watermark)
5439   return _internal_watermark();
5440 }
_internal_set_watermark(bool value)5441 inline void PerfDataProto_PerfEventAttr::_internal_set_watermark(bool value) {
5442   _impl_._has_bits_[0] |= 0x00200000u;
5443   _impl_.watermark_ = value;
5444 }
set_watermark(bool value)5445 inline void PerfDataProto_PerfEventAttr::set_watermark(bool value) {
5446   _internal_set_watermark(value);
5447   // @@protoc_insertion_point(field_set:metrics.PerfDataProto.PerfEventAttr.watermark)
5448 }
5449 
5450 // optional uint32 precise_ip = 23;
_internal_has_precise_ip()5451 inline bool PerfDataProto_PerfEventAttr::_internal_has_precise_ip() const {
5452   bool value = (_impl_._has_bits_[0] & 0x00800000u) != 0;
5453   return value;
5454 }
has_precise_ip()5455 inline bool PerfDataProto_PerfEventAttr::has_precise_ip() const {
5456   return _internal_has_precise_ip();
5457 }
clear_precise_ip()5458 inline void PerfDataProto_PerfEventAttr::clear_precise_ip() {
5459   _impl_.precise_ip_ = 0u;
5460   _impl_._has_bits_[0] &= ~0x00800000u;
5461 }
_internal_precise_ip()5462 inline uint32_t PerfDataProto_PerfEventAttr::_internal_precise_ip() const {
5463   return _impl_.precise_ip_;
5464 }
precise_ip()5465 inline uint32_t PerfDataProto_PerfEventAttr::precise_ip() const {
5466   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.PerfEventAttr.precise_ip)
5467   return _internal_precise_ip();
5468 }
_internal_set_precise_ip(uint32_t value)5469 inline void PerfDataProto_PerfEventAttr::_internal_set_precise_ip(uint32_t value) {
5470   _impl_._has_bits_[0] |= 0x00800000u;
5471   _impl_.precise_ip_ = value;
5472 }
set_precise_ip(uint32_t value)5473 inline void PerfDataProto_PerfEventAttr::set_precise_ip(uint32_t value) {
5474   _internal_set_precise_ip(value);
5475   // @@protoc_insertion_point(field_set:metrics.PerfDataProto.PerfEventAttr.precise_ip)
5476 }
5477 
5478 // optional bool mmap_data = 24;
_internal_has_mmap_data()5479 inline bool PerfDataProto_PerfEventAttr::_internal_has_mmap_data() const {
5480   bool value = (_impl_._has_bits_[0] & 0x00400000u) != 0;
5481   return value;
5482 }
has_mmap_data()5483 inline bool PerfDataProto_PerfEventAttr::has_mmap_data() const {
5484   return _internal_has_mmap_data();
5485 }
clear_mmap_data()5486 inline void PerfDataProto_PerfEventAttr::clear_mmap_data() {
5487   _impl_.mmap_data_ = false;
5488   _impl_._has_bits_[0] &= ~0x00400000u;
5489 }
_internal_mmap_data()5490 inline bool PerfDataProto_PerfEventAttr::_internal_mmap_data() const {
5491   return _impl_.mmap_data_;
5492 }
mmap_data()5493 inline bool PerfDataProto_PerfEventAttr::mmap_data() const {
5494   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.PerfEventAttr.mmap_data)
5495   return _internal_mmap_data();
5496 }
_internal_set_mmap_data(bool value)5497 inline void PerfDataProto_PerfEventAttr::_internal_set_mmap_data(bool value) {
5498   _impl_._has_bits_[0] |= 0x00400000u;
5499   _impl_.mmap_data_ = value;
5500 }
set_mmap_data(bool value)5501 inline void PerfDataProto_PerfEventAttr::set_mmap_data(bool value) {
5502   _internal_set_mmap_data(value);
5503   // @@protoc_insertion_point(field_set:metrics.PerfDataProto.PerfEventAttr.mmap_data)
5504 }
5505 
5506 // optional bool sample_id_all = 25;
_internal_has_sample_id_all()5507 inline bool PerfDataProto_PerfEventAttr::_internal_has_sample_id_all() const {
5508   bool value = (_impl_._has_bits_[0] & 0x01000000u) != 0;
5509   return value;
5510 }
has_sample_id_all()5511 inline bool PerfDataProto_PerfEventAttr::has_sample_id_all() const {
5512   return _internal_has_sample_id_all();
5513 }
clear_sample_id_all()5514 inline void PerfDataProto_PerfEventAttr::clear_sample_id_all() {
5515   _impl_.sample_id_all_ = false;
5516   _impl_._has_bits_[0] &= ~0x01000000u;
5517 }
_internal_sample_id_all()5518 inline bool PerfDataProto_PerfEventAttr::_internal_sample_id_all() const {
5519   return _impl_.sample_id_all_;
5520 }
sample_id_all()5521 inline bool PerfDataProto_PerfEventAttr::sample_id_all() const {
5522   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.PerfEventAttr.sample_id_all)
5523   return _internal_sample_id_all();
5524 }
_internal_set_sample_id_all(bool value)5525 inline void PerfDataProto_PerfEventAttr::_internal_set_sample_id_all(bool value) {
5526   _impl_._has_bits_[0] |= 0x01000000u;
5527   _impl_.sample_id_all_ = value;
5528 }
set_sample_id_all(bool value)5529 inline void PerfDataProto_PerfEventAttr::set_sample_id_all(bool value) {
5530   _internal_set_sample_id_all(value);
5531   // @@protoc_insertion_point(field_set:metrics.PerfDataProto.PerfEventAttr.sample_id_all)
5532 }
5533 
5534 // optional bool exclude_host = 26;
_internal_has_exclude_host()5535 inline bool PerfDataProto_PerfEventAttr::_internal_has_exclude_host() const {
5536   bool value = (_impl_._has_bits_[0] & 0x02000000u) != 0;
5537   return value;
5538 }
has_exclude_host()5539 inline bool PerfDataProto_PerfEventAttr::has_exclude_host() const {
5540   return _internal_has_exclude_host();
5541 }
clear_exclude_host()5542 inline void PerfDataProto_PerfEventAttr::clear_exclude_host() {
5543   _impl_.exclude_host_ = false;
5544   _impl_._has_bits_[0] &= ~0x02000000u;
5545 }
_internal_exclude_host()5546 inline bool PerfDataProto_PerfEventAttr::_internal_exclude_host() const {
5547   return _impl_.exclude_host_;
5548 }
exclude_host()5549 inline bool PerfDataProto_PerfEventAttr::exclude_host() const {
5550   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.PerfEventAttr.exclude_host)
5551   return _internal_exclude_host();
5552 }
_internal_set_exclude_host(bool value)5553 inline void PerfDataProto_PerfEventAttr::_internal_set_exclude_host(bool value) {
5554   _impl_._has_bits_[0] |= 0x02000000u;
5555   _impl_.exclude_host_ = value;
5556 }
set_exclude_host(bool value)5557 inline void PerfDataProto_PerfEventAttr::set_exclude_host(bool value) {
5558   _internal_set_exclude_host(value);
5559   // @@protoc_insertion_point(field_set:metrics.PerfDataProto.PerfEventAttr.exclude_host)
5560 }
5561 
5562 // optional bool exclude_guest = 27;
_internal_has_exclude_guest()5563 inline bool PerfDataProto_PerfEventAttr::_internal_has_exclude_guest() const {
5564   bool value = (_impl_._has_bits_[0] & 0x04000000u) != 0;
5565   return value;
5566 }
has_exclude_guest()5567 inline bool PerfDataProto_PerfEventAttr::has_exclude_guest() const {
5568   return _internal_has_exclude_guest();
5569 }
clear_exclude_guest()5570 inline void PerfDataProto_PerfEventAttr::clear_exclude_guest() {
5571   _impl_.exclude_guest_ = false;
5572   _impl_._has_bits_[0] &= ~0x04000000u;
5573 }
_internal_exclude_guest()5574 inline bool PerfDataProto_PerfEventAttr::_internal_exclude_guest() const {
5575   return _impl_.exclude_guest_;
5576 }
exclude_guest()5577 inline bool PerfDataProto_PerfEventAttr::exclude_guest() const {
5578   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.PerfEventAttr.exclude_guest)
5579   return _internal_exclude_guest();
5580 }
_internal_set_exclude_guest(bool value)5581 inline void PerfDataProto_PerfEventAttr::_internal_set_exclude_guest(bool value) {
5582   _impl_._has_bits_[0] |= 0x04000000u;
5583   _impl_.exclude_guest_ = value;
5584 }
set_exclude_guest(bool value)5585 inline void PerfDataProto_PerfEventAttr::set_exclude_guest(bool value) {
5586   _internal_set_exclude_guest(value);
5587   // @@protoc_insertion_point(field_set:metrics.PerfDataProto.PerfEventAttr.exclude_guest)
5588 }
5589 
5590 // optional uint32 wakeup_events = 28;
_internal_has_wakeup_events()5591 inline bool PerfDataProto_PerfEventAttr::_internal_has_wakeup_events() const {
5592   bool value = (_impl_._has_bits_[0] & 0x08000000u) != 0;
5593   return value;
5594 }
has_wakeup_events()5595 inline bool PerfDataProto_PerfEventAttr::has_wakeup_events() const {
5596   return _internal_has_wakeup_events();
5597 }
clear_wakeup_events()5598 inline void PerfDataProto_PerfEventAttr::clear_wakeup_events() {
5599   _impl_.wakeup_events_ = 0u;
5600   _impl_._has_bits_[0] &= ~0x08000000u;
5601 }
_internal_wakeup_events()5602 inline uint32_t PerfDataProto_PerfEventAttr::_internal_wakeup_events() const {
5603   return _impl_.wakeup_events_;
5604 }
wakeup_events()5605 inline uint32_t PerfDataProto_PerfEventAttr::wakeup_events() const {
5606   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.PerfEventAttr.wakeup_events)
5607   return _internal_wakeup_events();
5608 }
_internal_set_wakeup_events(uint32_t value)5609 inline void PerfDataProto_PerfEventAttr::_internal_set_wakeup_events(uint32_t value) {
5610   _impl_._has_bits_[0] |= 0x08000000u;
5611   _impl_.wakeup_events_ = value;
5612 }
set_wakeup_events(uint32_t value)5613 inline void PerfDataProto_PerfEventAttr::set_wakeup_events(uint32_t value) {
5614   _internal_set_wakeup_events(value);
5615   // @@protoc_insertion_point(field_set:metrics.PerfDataProto.PerfEventAttr.wakeup_events)
5616 }
5617 
5618 // optional uint32 wakeup_watermark = 29;
_internal_has_wakeup_watermark()5619 inline bool PerfDataProto_PerfEventAttr::_internal_has_wakeup_watermark() const {
5620   bool value = (_impl_._has_bits_[0] & 0x10000000u) != 0;
5621   return value;
5622 }
has_wakeup_watermark()5623 inline bool PerfDataProto_PerfEventAttr::has_wakeup_watermark() const {
5624   return _internal_has_wakeup_watermark();
5625 }
clear_wakeup_watermark()5626 inline void PerfDataProto_PerfEventAttr::clear_wakeup_watermark() {
5627   _impl_.wakeup_watermark_ = 0u;
5628   _impl_._has_bits_[0] &= ~0x10000000u;
5629 }
_internal_wakeup_watermark()5630 inline uint32_t PerfDataProto_PerfEventAttr::_internal_wakeup_watermark() const {
5631   return _impl_.wakeup_watermark_;
5632 }
wakeup_watermark()5633 inline uint32_t PerfDataProto_PerfEventAttr::wakeup_watermark() const {
5634   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.PerfEventAttr.wakeup_watermark)
5635   return _internal_wakeup_watermark();
5636 }
_internal_set_wakeup_watermark(uint32_t value)5637 inline void PerfDataProto_PerfEventAttr::_internal_set_wakeup_watermark(uint32_t value) {
5638   _impl_._has_bits_[0] |= 0x10000000u;
5639   _impl_.wakeup_watermark_ = value;
5640 }
set_wakeup_watermark(uint32_t value)5641 inline void PerfDataProto_PerfEventAttr::set_wakeup_watermark(uint32_t value) {
5642   _internal_set_wakeup_watermark(value);
5643   // @@protoc_insertion_point(field_set:metrics.PerfDataProto.PerfEventAttr.wakeup_watermark)
5644 }
5645 
5646 // optional uint32 bp_type = 30;
_internal_has_bp_type()5647 inline bool PerfDataProto_PerfEventAttr::_internal_has_bp_type() const {
5648   bool value = (_impl_._has_bits_[1] & 0x00000004u) != 0;
5649   return value;
5650 }
has_bp_type()5651 inline bool PerfDataProto_PerfEventAttr::has_bp_type() const {
5652   return _internal_has_bp_type();
5653 }
clear_bp_type()5654 inline void PerfDataProto_PerfEventAttr::clear_bp_type() {
5655   _impl_.bp_type_ = 0u;
5656   _impl_._has_bits_[1] &= ~0x00000004u;
5657 }
_internal_bp_type()5658 inline uint32_t PerfDataProto_PerfEventAttr::_internal_bp_type() const {
5659   return _impl_.bp_type_;
5660 }
bp_type()5661 inline uint32_t PerfDataProto_PerfEventAttr::bp_type() const {
5662   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.PerfEventAttr.bp_type)
5663   return _internal_bp_type();
5664 }
_internal_set_bp_type(uint32_t value)5665 inline void PerfDataProto_PerfEventAttr::_internal_set_bp_type(uint32_t value) {
5666   _impl_._has_bits_[1] |= 0x00000004u;
5667   _impl_.bp_type_ = value;
5668 }
set_bp_type(uint32_t value)5669 inline void PerfDataProto_PerfEventAttr::set_bp_type(uint32_t value) {
5670   _internal_set_bp_type(value);
5671   // @@protoc_insertion_point(field_set:metrics.PerfDataProto.PerfEventAttr.bp_type)
5672 }
5673 
5674 // optional uint64 bp_addr = 31;
_internal_has_bp_addr()5675 inline bool PerfDataProto_PerfEventAttr::_internal_has_bp_addr() const {
5676   bool value = (_impl_._has_bits_[0] & 0x20000000u) != 0;
5677   return value;
5678 }
has_bp_addr()5679 inline bool PerfDataProto_PerfEventAttr::has_bp_addr() const {
5680   return _internal_has_bp_addr();
5681 }
clear_bp_addr()5682 inline void PerfDataProto_PerfEventAttr::clear_bp_addr() {
5683   _impl_.bp_addr_ = uint64_t{0u};
5684   _impl_._has_bits_[0] &= ~0x20000000u;
5685 }
_internal_bp_addr()5686 inline uint64_t PerfDataProto_PerfEventAttr::_internal_bp_addr() const {
5687   return _impl_.bp_addr_;
5688 }
bp_addr()5689 inline uint64_t PerfDataProto_PerfEventAttr::bp_addr() const {
5690   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.PerfEventAttr.bp_addr)
5691   return _internal_bp_addr();
5692 }
_internal_set_bp_addr(uint64_t value)5693 inline void PerfDataProto_PerfEventAttr::_internal_set_bp_addr(uint64_t value) {
5694   _impl_._has_bits_[0] |= 0x20000000u;
5695   _impl_.bp_addr_ = value;
5696 }
set_bp_addr(uint64_t value)5697 inline void PerfDataProto_PerfEventAttr::set_bp_addr(uint64_t value) {
5698   _internal_set_bp_addr(value);
5699   // @@protoc_insertion_point(field_set:metrics.PerfDataProto.PerfEventAttr.bp_addr)
5700 }
5701 
5702 // optional uint64 config1 = 32;
_internal_has_config1()5703 inline bool PerfDataProto_PerfEventAttr::_internal_has_config1() const {
5704   bool value = (_impl_._has_bits_[0] & 0x40000000u) != 0;
5705   return value;
5706 }
has_config1()5707 inline bool PerfDataProto_PerfEventAttr::has_config1() const {
5708   return _internal_has_config1();
5709 }
clear_config1()5710 inline void PerfDataProto_PerfEventAttr::clear_config1() {
5711   _impl_.config1_ = uint64_t{0u};
5712   _impl_._has_bits_[0] &= ~0x40000000u;
5713 }
_internal_config1()5714 inline uint64_t PerfDataProto_PerfEventAttr::_internal_config1() const {
5715   return _impl_.config1_;
5716 }
config1()5717 inline uint64_t PerfDataProto_PerfEventAttr::config1() const {
5718   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.PerfEventAttr.config1)
5719   return _internal_config1();
5720 }
_internal_set_config1(uint64_t value)5721 inline void PerfDataProto_PerfEventAttr::_internal_set_config1(uint64_t value) {
5722   _impl_._has_bits_[0] |= 0x40000000u;
5723   _impl_.config1_ = value;
5724 }
set_config1(uint64_t value)5725 inline void PerfDataProto_PerfEventAttr::set_config1(uint64_t value) {
5726   _internal_set_config1(value);
5727   // @@protoc_insertion_point(field_set:metrics.PerfDataProto.PerfEventAttr.config1)
5728 }
5729 
5730 // optional uint64 bp_len = 33;
_internal_has_bp_len()5731 inline bool PerfDataProto_PerfEventAttr::_internal_has_bp_len() const {
5732   bool value = (_impl_._has_bits_[0] & 0x80000000u) != 0;
5733   return value;
5734 }
has_bp_len()5735 inline bool PerfDataProto_PerfEventAttr::has_bp_len() const {
5736   return _internal_has_bp_len();
5737 }
clear_bp_len()5738 inline void PerfDataProto_PerfEventAttr::clear_bp_len() {
5739   _impl_.bp_len_ = uint64_t{0u};
5740   _impl_._has_bits_[0] &= ~0x80000000u;
5741 }
_internal_bp_len()5742 inline uint64_t PerfDataProto_PerfEventAttr::_internal_bp_len() const {
5743   return _impl_.bp_len_;
5744 }
bp_len()5745 inline uint64_t PerfDataProto_PerfEventAttr::bp_len() const {
5746   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.PerfEventAttr.bp_len)
5747   return _internal_bp_len();
5748 }
_internal_set_bp_len(uint64_t value)5749 inline void PerfDataProto_PerfEventAttr::_internal_set_bp_len(uint64_t value) {
5750   _impl_._has_bits_[0] |= 0x80000000u;
5751   _impl_.bp_len_ = value;
5752 }
set_bp_len(uint64_t value)5753 inline void PerfDataProto_PerfEventAttr::set_bp_len(uint64_t value) {
5754   _internal_set_bp_len(value);
5755   // @@protoc_insertion_point(field_set:metrics.PerfDataProto.PerfEventAttr.bp_len)
5756 }
5757 
5758 // optional uint64 config2 = 34;
_internal_has_config2()5759 inline bool PerfDataProto_PerfEventAttr::_internal_has_config2() const {
5760   bool value = (_impl_._has_bits_[1] & 0x00000001u) != 0;
5761   return value;
5762 }
has_config2()5763 inline bool PerfDataProto_PerfEventAttr::has_config2() const {
5764   return _internal_has_config2();
5765 }
clear_config2()5766 inline void PerfDataProto_PerfEventAttr::clear_config2() {
5767   _impl_.config2_ = uint64_t{0u};
5768   _impl_._has_bits_[1] &= ~0x00000001u;
5769 }
_internal_config2()5770 inline uint64_t PerfDataProto_PerfEventAttr::_internal_config2() const {
5771   return _impl_.config2_;
5772 }
config2()5773 inline uint64_t PerfDataProto_PerfEventAttr::config2() const {
5774   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.PerfEventAttr.config2)
5775   return _internal_config2();
5776 }
_internal_set_config2(uint64_t value)5777 inline void PerfDataProto_PerfEventAttr::_internal_set_config2(uint64_t value) {
5778   _impl_._has_bits_[1] |= 0x00000001u;
5779   _impl_.config2_ = value;
5780 }
set_config2(uint64_t value)5781 inline void PerfDataProto_PerfEventAttr::set_config2(uint64_t value) {
5782   _internal_set_config2(value);
5783   // @@protoc_insertion_point(field_set:metrics.PerfDataProto.PerfEventAttr.config2)
5784 }
5785 
5786 // optional uint64 branch_sample_type = 35;
_internal_has_branch_sample_type()5787 inline bool PerfDataProto_PerfEventAttr::_internal_has_branch_sample_type() const {
5788   bool value = (_impl_._has_bits_[1] & 0x00000002u) != 0;
5789   return value;
5790 }
has_branch_sample_type()5791 inline bool PerfDataProto_PerfEventAttr::has_branch_sample_type() const {
5792   return _internal_has_branch_sample_type();
5793 }
clear_branch_sample_type()5794 inline void PerfDataProto_PerfEventAttr::clear_branch_sample_type() {
5795   _impl_.branch_sample_type_ = uint64_t{0u};
5796   _impl_._has_bits_[1] &= ~0x00000002u;
5797 }
_internal_branch_sample_type()5798 inline uint64_t PerfDataProto_PerfEventAttr::_internal_branch_sample_type() const {
5799   return _impl_.branch_sample_type_;
5800 }
branch_sample_type()5801 inline uint64_t PerfDataProto_PerfEventAttr::branch_sample_type() const {
5802   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.PerfEventAttr.branch_sample_type)
5803   return _internal_branch_sample_type();
5804 }
_internal_set_branch_sample_type(uint64_t value)5805 inline void PerfDataProto_PerfEventAttr::_internal_set_branch_sample_type(uint64_t value) {
5806   _impl_._has_bits_[1] |= 0x00000002u;
5807   _impl_.branch_sample_type_ = value;
5808 }
set_branch_sample_type(uint64_t value)5809 inline void PerfDataProto_PerfEventAttr::set_branch_sample_type(uint64_t value) {
5810   _internal_set_branch_sample_type(value);
5811   // @@protoc_insertion_point(field_set:metrics.PerfDataProto.PerfEventAttr.branch_sample_type)
5812 }
5813 
5814 // -------------------------------------------------------------------
5815 
5816 // PerfDataProto_PerfFileAttr
5817 
5818 // optional .metrics.PerfDataProto.PerfEventAttr attr = 1;
_internal_has_attr()5819 inline bool PerfDataProto_PerfFileAttr::_internal_has_attr() const {
5820   bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
5821   PROTOBUF_ASSUME(!value || _impl_.attr_ != nullptr);
5822   return value;
5823 }
has_attr()5824 inline bool PerfDataProto_PerfFileAttr::has_attr() const {
5825   return _internal_has_attr();
5826 }
clear_attr()5827 inline void PerfDataProto_PerfFileAttr::clear_attr() {
5828   if (_impl_.attr_ != nullptr) _impl_.attr_->Clear();
5829   _impl_._has_bits_[0] &= ~0x00000001u;
5830 }
_internal_attr()5831 inline const ::metrics::PerfDataProto_PerfEventAttr& PerfDataProto_PerfFileAttr::_internal_attr() const {
5832   const ::metrics::PerfDataProto_PerfEventAttr* p = _impl_.attr_;
5833   return p != nullptr ? *p : reinterpret_cast<const ::metrics::PerfDataProto_PerfEventAttr&>(
5834       ::metrics::_PerfDataProto_PerfEventAttr_default_instance_);
5835 }
attr()5836 inline const ::metrics::PerfDataProto_PerfEventAttr& PerfDataProto_PerfFileAttr::attr() const {
5837   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.PerfFileAttr.attr)
5838   return _internal_attr();
5839 }
unsafe_arena_set_allocated_attr(::metrics::PerfDataProto_PerfEventAttr * attr)5840 inline void PerfDataProto_PerfFileAttr::unsafe_arena_set_allocated_attr(
5841     ::metrics::PerfDataProto_PerfEventAttr* attr) {
5842   if (GetArenaForAllocation() == nullptr) {
5843     delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.attr_);
5844   }
5845   _impl_.attr_ = attr;
5846   if (attr) {
5847     _impl_._has_bits_[0] |= 0x00000001u;
5848   } else {
5849     _impl_._has_bits_[0] &= ~0x00000001u;
5850   }
5851   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:metrics.PerfDataProto.PerfFileAttr.attr)
5852 }
release_attr()5853 inline ::metrics::PerfDataProto_PerfEventAttr* PerfDataProto_PerfFileAttr::release_attr() {
5854   _impl_._has_bits_[0] &= ~0x00000001u;
5855   ::metrics::PerfDataProto_PerfEventAttr* temp = _impl_.attr_;
5856   _impl_.attr_ = nullptr;
5857 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
5858   auto* old =  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
5859   temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
5860   if (GetArenaForAllocation() == nullptr) { delete old; }
5861 #else  // PROTOBUF_FORCE_COPY_IN_RELEASE
5862   if (GetArenaForAllocation() != nullptr) {
5863     temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
5864   }
5865 #endif  // !PROTOBUF_FORCE_COPY_IN_RELEASE
5866   return temp;
5867 }
unsafe_arena_release_attr()5868 inline ::metrics::PerfDataProto_PerfEventAttr* PerfDataProto_PerfFileAttr::unsafe_arena_release_attr() {
5869   // @@protoc_insertion_point(field_release:metrics.PerfDataProto.PerfFileAttr.attr)
5870   _impl_._has_bits_[0] &= ~0x00000001u;
5871   ::metrics::PerfDataProto_PerfEventAttr* temp = _impl_.attr_;
5872   _impl_.attr_ = nullptr;
5873   return temp;
5874 }
_internal_mutable_attr()5875 inline ::metrics::PerfDataProto_PerfEventAttr* PerfDataProto_PerfFileAttr::_internal_mutable_attr() {
5876   _impl_._has_bits_[0] |= 0x00000001u;
5877   if (_impl_.attr_ == nullptr) {
5878     auto* p = CreateMaybeMessage<::metrics::PerfDataProto_PerfEventAttr>(GetArenaForAllocation());
5879     _impl_.attr_ = p;
5880   }
5881   return _impl_.attr_;
5882 }
mutable_attr()5883 inline ::metrics::PerfDataProto_PerfEventAttr* PerfDataProto_PerfFileAttr::mutable_attr() {
5884   ::metrics::PerfDataProto_PerfEventAttr* _msg = _internal_mutable_attr();
5885   // @@protoc_insertion_point(field_mutable:metrics.PerfDataProto.PerfFileAttr.attr)
5886   return _msg;
5887 }
set_allocated_attr(::metrics::PerfDataProto_PerfEventAttr * attr)5888 inline void PerfDataProto_PerfFileAttr::set_allocated_attr(::metrics::PerfDataProto_PerfEventAttr* attr) {
5889   ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
5890   if (message_arena == nullptr) {
5891     delete _impl_.attr_;
5892   }
5893   if (attr) {
5894     ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
5895         ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(attr);
5896     if (message_arena != submessage_arena) {
5897       attr = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
5898           message_arena, attr, submessage_arena);
5899     }
5900     _impl_._has_bits_[0] |= 0x00000001u;
5901   } else {
5902     _impl_._has_bits_[0] &= ~0x00000001u;
5903   }
5904   _impl_.attr_ = attr;
5905   // @@protoc_insertion_point(field_set_allocated:metrics.PerfDataProto.PerfFileAttr.attr)
5906 }
5907 
5908 // repeated uint64 ids = 2;
_internal_ids_size()5909 inline int PerfDataProto_PerfFileAttr::_internal_ids_size() const {
5910   return _impl_.ids_.size();
5911 }
ids_size()5912 inline int PerfDataProto_PerfFileAttr::ids_size() const {
5913   return _internal_ids_size();
5914 }
clear_ids()5915 inline void PerfDataProto_PerfFileAttr::clear_ids() {
5916   _impl_.ids_.Clear();
5917 }
_internal_ids(int index)5918 inline uint64_t PerfDataProto_PerfFileAttr::_internal_ids(int index) const {
5919   return _impl_.ids_.Get(index);
5920 }
ids(int index)5921 inline uint64_t PerfDataProto_PerfFileAttr::ids(int index) const {
5922   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.PerfFileAttr.ids)
5923   return _internal_ids(index);
5924 }
set_ids(int index,uint64_t value)5925 inline void PerfDataProto_PerfFileAttr::set_ids(int index, uint64_t value) {
5926   _impl_.ids_.Set(index, value);
5927   // @@protoc_insertion_point(field_set:metrics.PerfDataProto.PerfFileAttr.ids)
5928 }
_internal_add_ids(uint64_t value)5929 inline void PerfDataProto_PerfFileAttr::_internal_add_ids(uint64_t value) {
5930   _impl_.ids_.Add(value);
5931 }
add_ids(uint64_t value)5932 inline void PerfDataProto_PerfFileAttr::add_ids(uint64_t value) {
5933   _internal_add_ids(value);
5934   // @@protoc_insertion_point(field_add:metrics.PerfDataProto.PerfFileAttr.ids)
5935 }
5936 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >&
_internal_ids()5937 PerfDataProto_PerfFileAttr::_internal_ids() const {
5938   return _impl_.ids_;
5939 }
5940 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >&
ids()5941 PerfDataProto_PerfFileAttr::ids() const {
5942   // @@protoc_insertion_point(field_list:metrics.PerfDataProto.PerfFileAttr.ids)
5943   return _internal_ids();
5944 }
5945 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >*
_internal_mutable_ids()5946 PerfDataProto_PerfFileAttr::_internal_mutable_ids() {
5947   return &_impl_.ids_;
5948 }
5949 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >*
mutable_ids()5950 PerfDataProto_PerfFileAttr::mutable_ids() {
5951   // @@protoc_insertion_point(field_mutable_list:metrics.PerfDataProto.PerfFileAttr.ids)
5952   return _internal_mutable_ids();
5953 }
5954 
5955 // -------------------------------------------------------------------
5956 
5957 // PerfDataProto_PerfEventType
5958 
5959 // optional uint64 id = 1;
_internal_has_id()5960 inline bool PerfDataProto_PerfEventType::_internal_has_id() const {
5961   bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
5962   return value;
5963 }
has_id()5964 inline bool PerfDataProto_PerfEventType::has_id() const {
5965   return _internal_has_id();
5966 }
clear_id()5967 inline void PerfDataProto_PerfEventType::clear_id() {
5968   _impl_.id_ = uint64_t{0u};
5969   _impl_._has_bits_[0] &= ~0x00000001u;
5970 }
_internal_id()5971 inline uint64_t PerfDataProto_PerfEventType::_internal_id() const {
5972   return _impl_.id_;
5973 }
id()5974 inline uint64_t PerfDataProto_PerfEventType::id() const {
5975   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.PerfEventType.id)
5976   return _internal_id();
5977 }
_internal_set_id(uint64_t value)5978 inline void PerfDataProto_PerfEventType::_internal_set_id(uint64_t value) {
5979   _impl_._has_bits_[0] |= 0x00000001u;
5980   _impl_.id_ = value;
5981 }
set_id(uint64_t value)5982 inline void PerfDataProto_PerfEventType::set_id(uint64_t value) {
5983   _internal_set_id(value);
5984   // @@protoc_insertion_point(field_set:metrics.PerfDataProto.PerfEventType.id)
5985 }
5986 
5987 // optional uint64 name_md5_prefix = 3;
_internal_has_name_md5_prefix()5988 inline bool PerfDataProto_PerfEventType::_internal_has_name_md5_prefix() const {
5989   bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
5990   return value;
5991 }
has_name_md5_prefix()5992 inline bool PerfDataProto_PerfEventType::has_name_md5_prefix() const {
5993   return _internal_has_name_md5_prefix();
5994 }
clear_name_md5_prefix()5995 inline void PerfDataProto_PerfEventType::clear_name_md5_prefix() {
5996   _impl_.name_md5_prefix_ = uint64_t{0u};
5997   _impl_._has_bits_[0] &= ~0x00000002u;
5998 }
_internal_name_md5_prefix()5999 inline uint64_t PerfDataProto_PerfEventType::_internal_name_md5_prefix() const {
6000   return _impl_.name_md5_prefix_;
6001 }
name_md5_prefix()6002 inline uint64_t PerfDataProto_PerfEventType::name_md5_prefix() const {
6003   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.PerfEventType.name_md5_prefix)
6004   return _internal_name_md5_prefix();
6005 }
_internal_set_name_md5_prefix(uint64_t value)6006 inline void PerfDataProto_PerfEventType::_internal_set_name_md5_prefix(uint64_t value) {
6007   _impl_._has_bits_[0] |= 0x00000002u;
6008   _impl_.name_md5_prefix_ = value;
6009 }
set_name_md5_prefix(uint64_t value)6010 inline void PerfDataProto_PerfEventType::set_name_md5_prefix(uint64_t value) {
6011   _internal_set_name_md5_prefix(value);
6012   // @@protoc_insertion_point(field_set:metrics.PerfDataProto.PerfEventType.name_md5_prefix)
6013 }
6014 
6015 // -------------------------------------------------------------------
6016 
6017 // PerfDataProto_SampleInfo
6018 
6019 // optional uint32 pid = 1;
_internal_has_pid()6020 inline bool PerfDataProto_SampleInfo::_internal_has_pid() const {
6021   bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
6022   return value;
6023 }
has_pid()6024 inline bool PerfDataProto_SampleInfo::has_pid() const {
6025   return _internal_has_pid();
6026 }
clear_pid()6027 inline void PerfDataProto_SampleInfo::clear_pid() {
6028   _impl_.pid_ = 0u;
6029   _impl_._has_bits_[0] &= ~0x00000001u;
6030 }
_internal_pid()6031 inline uint32_t PerfDataProto_SampleInfo::_internal_pid() const {
6032   return _impl_.pid_;
6033 }
pid()6034 inline uint32_t PerfDataProto_SampleInfo::pid() const {
6035   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.SampleInfo.pid)
6036   return _internal_pid();
6037 }
_internal_set_pid(uint32_t value)6038 inline void PerfDataProto_SampleInfo::_internal_set_pid(uint32_t value) {
6039   _impl_._has_bits_[0] |= 0x00000001u;
6040   _impl_.pid_ = value;
6041 }
set_pid(uint32_t value)6042 inline void PerfDataProto_SampleInfo::set_pid(uint32_t value) {
6043   _internal_set_pid(value);
6044   // @@protoc_insertion_point(field_set:metrics.PerfDataProto.SampleInfo.pid)
6045 }
6046 
6047 // optional uint32 tid = 2;
_internal_has_tid()6048 inline bool PerfDataProto_SampleInfo::_internal_has_tid() const {
6049   bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
6050   return value;
6051 }
has_tid()6052 inline bool PerfDataProto_SampleInfo::has_tid() const {
6053   return _internal_has_tid();
6054 }
clear_tid()6055 inline void PerfDataProto_SampleInfo::clear_tid() {
6056   _impl_.tid_ = 0u;
6057   _impl_._has_bits_[0] &= ~0x00000002u;
6058 }
_internal_tid()6059 inline uint32_t PerfDataProto_SampleInfo::_internal_tid() const {
6060   return _impl_.tid_;
6061 }
tid()6062 inline uint32_t PerfDataProto_SampleInfo::tid() const {
6063   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.SampleInfo.tid)
6064   return _internal_tid();
6065 }
_internal_set_tid(uint32_t value)6066 inline void PerfDataProto_SampleInfo::_internal_set_tid(uint32_t value) {
6067   _impl_._has_bits_[0] |= 0x00000002u;
6068   _impl_.tid_ = value;
6069 }
set_tid(uint32_t value)6070 inline void PerfDataProto_SampleInfo::set_tid(uint32_t value) {
6071   _internal_set_tid(value);
6072   // @@protoc_insertion_point(field_set:metrics.PerfDataProto.SampleInfo.tid)
6073 }
6074 
6075 // optional uint64 sample_time_ns = 3;
_internal_has_sample_time_ns()6076 inline bool PerfDataProto_SampleInfo::_internal_has_sample_time_ns() const {
6077   bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
6078   return value;
6079 }
has_sample_time_ns()6080 inline bool PerfDataProto_SampleInfo::has_sample_time_ns() const {
6081   return _internal_has_sample_time_ns();
6082 }
clear_sample_time_ns()6083 inline void PerfDataProto_SampleInfo::clear_sample_time_ns() {
6084   _impl_.sample_time_ns_ = uint64_t{0u};
6085   _impl_._has_bits_[0] &= ~0x00000004u;
6086 }
_internal_sample_time_ns()6087 inline uint64_t PerfDataProto_SampleInfo::_internal_sample_time_ns() const {
6088   return _impl_.sample_time_ns_;
6089 }
sample_time_ns()6090 inline uint64_t PerfDataProto_SampleInfo::sample_time_ns() const {
6091   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.SampleInfo.sample_time_ns)
6092   return _internal_sample_time_ns();
6093 }
_internal_set_sample_time_ns(uint64_t value)6094 inline void PerfDataProto_SampleInfo::_internal_set_sample_time_ns(uint64_t value) {
6095   _impl_._has_bits_[0] |= 0x00000004u;
6096   _impl_.sample_time_ns_ = value;
6097 }
set_sample_time_ns(uint64_t value)6098 inline void PerfDataProto_SampleInfo::set_sample_time_ns(uint64_t value) {
6099   _internal_set_sample_time_ns(value);
6100   // @@protoc_insertion_point(field_set:metrics.PerfDataProto.SampleInfo.sample_time_ns)
6101 }
6102 
6103 // optional uint64 id = 4;
_internal_has_id()6104 inline bool PerfDataProto_SampleInfo::_internal_has_id() const {
6105   bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
6106   return value;
6107 }
has_id()6108 inline bool PerfDataProto_SampleInfo::has_id() const {
6109   return _internal_has_id();
6110 }
clear_id()6111 inline void PerfDataProto_SampleInfo::clear_id() {
6112   _impl_.id_ = uint64_t{0u};
6113   _impl_._has_bits_[0] &= ~0x00000008u;
6114 }
_internal_id()6115 inline uint64_t PerfDataProto_SampleInfo::_internal_id() const {
6116   return _impl_.id_;
6117 }
id()6118 inline uint64_t PerfDataProto_SampleInfo::id() const {
6119   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.SampleInfo.id)
6120   return _internal_id();
6121 }
_internal_set_id(uint64_t value)6122 inline void PerfDataProto_SampleInfo::_internal_set_id(uint64_t value) {
6123   _impl_._has_bits_[0] |= 0x00000008u;
6124   _impl_.id_ = value;
6125 }
set_id(uint64_t value)6126 inline void PerfDataProto_SampleInfo::set_id(uint64_t value) {
6127   _internal_set_id(value);
6128   // @@protoc_insertion_point(field_set:metrics.PerfDataProto.SampleInfo.id)
6129 }
6130 
6131 // optional uint32 cpu = 5;
_internal_has_cpu()6132 inline bool PerfDataProto_SampleInfo::_internal_has_cpu() const {
6133   bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
6134   return value;
6135 }
has_cpu()6136 inline bool PerfDataProto_SampleInfo::has_cpu() const {
6137   return _internal_has_cpu();
6138 }
clear_cpu()6139 inline void PerfDataProto_SampleInfo::clear_cpu() {
6140   _impl_.cpu_ = 0u;
6141   _impl_._has_bits_[0] &= ~0x00000010u;
6142 }
_internal_cpu()6143 inline uint32_t PerfDataProto_SampleInfo::_internal_cpu() const {
6144   return _impl_.cpu_;
6145 }
cpu()6146 inline uint32_t PerfDataProto_SampleInfo::cpu() const {
6147   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.SampleInfo.cpu)
6148   return _internal_cpu();
6149 }
_internal_set_cpu(uint32_t value)6150 inline void PerfDataProto_SampleInfo::_internal_set_cpu(uint32_t value) {
6151   _impl_._has_bits_[0] |= 0x00000010u;
6152   _impl_.cpu_ = value;
6153 }
set_cpu(uint32_t value)6154 inline void PerfDataProto_SampleInfo::set_cpu(uint32_t value) {
6155   _internal_set_cpu(value);
6156   // @@protoc_insertion_point(field_set:metrics.PerfDataProto.SampleInfo.cpu)
6157 }
6158 
6159 // -------------------------------------------------------------------
6160 
6161 // PerfDataProto_CommEvent
6162 
6163 // optional uint32 pid = 1;
_internal_has_pid()6164 inline bool PerfDataProto_CommEvent::_internal_has_pid() const {
6165   bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
6166   return value;
6167 }
has_pid()6168 inline bool PerfDataProto_CommEvent::has_pid() const {
6169   return _internal_has_pid();
6170 }
clear_pid()6171 inline void PerfDataProto_CommEvent::clear_pid() {
6172   _impl_.pid_ = 0u;
6173   _impl_._has_bits_[0] &= ~0x00000002u;
6174 }
_internal_pid()6175 inline uint32_t PerfDataProto_CommEvent::_internal_pid() const {
6176   return _impl_.pid_;
6177 }
pid()6178 inline uint32_t PerfDataProto_CommEvent::pid() const {
6179   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.CommEvent.pid)
6180   return _internal_pid();
6181 }
_internal_set_pid(uint32_t value)6182 inline void PerfDataProto_CommEvent::_internal_set_pid(uint32_t value) {
6183   _impl_._has_bits_[0] |= 0x00000002u;
6184   _impl_.pid_ = value;
6185 }
set_pid(uint32_t value)6186 inline void PerfDataProto_CommEvent::set_pid(uint32_t value) {
6187   _internal_set_pid(value);
6188   // @@protoc_insertion_point(field_set:metrics.PerfDataProto.CommEvent.pid)
6189 }
6190 
6191 // optional uint32 tid = 2;
_internal_has_tid()6192 inline bool PerfDataProto_CommEvent::_internal_has_tid() const {
6193   bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
6194   return value;
6195 }
has_tid()6196 inline bool PerfDataProto_CommEvent::has_tid() const {
6197   return _internal_has_tid();
6198 }
clear_tid()6199 inline void PerfDataProto_CommEvent::clear_tid() {
6200   _impl_.tid_ = 0u;
6201   _impl_._has_bits_[0] &= ~0x00000004u;
6202 }
_internal_tid()6203 inline uint32_t PerfDataProto_CommEvent::_internal_tid() const {
6204   return _impl_.tid_;
6205 }
tid()6206 inline uint32_t PerfDataProto_CommEvent::tid() const {
6207   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.CommEvent.tid)
6208   return _internal_tid();
6209 }
_internal_set_tid(uint32_t value)6210 inline void PerfDataProto_CommEvent::_internal_set_tid(uint32_t value) {
6211   _impl_._has_bits_[0] |= 0x00000004u;
6212   _impl_.tid_ = value;
6213 }
set_tid(uint32_t value)6214 inline void PerfDataProto_CommEvent::set_tid(uint32_t value) {
6215   _internal_set_tid(value);
6216   // @@protoc_insertion_point(field_set:metrics.PerfDataProto.CommEvent.tid)
6217 }
6218 
6219 // optional uint64 comm_md5_prefix = 4;
_internal_has_comm_md5_prefix()6220 inline bool PerfDataProto_CommEvent::_internal_has_comm_md5_prefix() const {
6221   bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
6222   return value;
6223 }
has_comm_md5_prefix()6224 inline bool PerfDataProto_CommEvent::has_comm_md5_prefix() const {
6225   return _internal_has_comm_md5_prefix();
6226 }
clear_comm_md5_prefix()6227 inline void PerfDataProto_CommEvent::clear_comm_md5_prefix() {
6228   _impl_.comm_md5_prefix_ = uint64_t{0u};
6229   _impl_._has_bits_[0] &= ~0x00000008u;
6230 }
_internal_comm_md5_prefix()6231 inline uint64_t PerfDataProto_CommEvent::_internal_comm_md5_prefix() const {
6232   return _impl_.comm_md5_prefix_;
6233 }
comm_md5_prefix()6234 inline uint64_t PerfDataProto_CommEvent::comm_md5_prefix() const {
6235   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.CommEvent.comm_md5_prefix)
6236   return _internal_comm_md5_prefix();
6237 }
_internal_set_comm_md5_prefix(uint64_t value)6238 inline void PerfDataProto_CommEvent::_internal_set_comm_md5_prefix(uint64_t value) {
6239   _impl_._has_bits_[0] |= 0x00000008u;
6240   _impl_.comm_md5_prefix_ = value;
6241 }
set_comm_md5_prefix(uint64_t value)6242 inline void PerfDataProto_CommEvent::set_comm_md5_prefix(uint64_t value) {
6243   _internal_set_comm_md5_prefix(value);
6244   // @@protoc_insertion_point(field_set:metrics.PerfDataProto.CommEvent.comm_md5_prefix)
6245 }
6246 
6247 // optional uint64 sample_time = 5 [deprecated = true];
_internal_has_sample_time()6248 inline bool PerfDataProto_CommEvent::_internal_has_sample_time() const {
6249   bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
6250   return value;
6251 }
has_sample_time()6252 inline bool PerfDataProto_CommEvent::has_sample_time() const {
6253   return _internal_has_sample_time();
6254 }
clear_sample_time()6255 inline void PerfDataProto_CommEvent::clear_sample_time() {
6256   _impl_.sample_time_ = uint64_t{0u};
6257   _impl_._has_bits_[0] &= ~0x00000010u;
6258 }
_internal_sample_time()6259 inline uint64_t PerfDataProto_CommEvent::_internal_sample_time() const {
6260   return _impl_.sample_time_;
6261 }
sample_time()6262 inline uint64_t PerfDataProto_CommEvent::sample_time() const {
6263   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.CommEvent.sample_time)
6264   return _internal_sample_time();
6265 }
_internal_set_sample_time(uint64_t value)6266 inline void PerfDataProto_CommEvent::_internal_set_sample_time(uint64_t value) {
6267   _impl_._has_bits_[0] |= 0x00000010u;
6268   _impl_.sample_time_ = value;
6269 }
set_sample_time(uint64_t value)6270 inline void PerfDataProto_CommEvent::set_sample_time(uint64_t value) {
6271   _internal_set_sample_time(value);
6272   // @@protoc_insertion_point(field_set:metrics.PerfDataProto.CommEvent.sample_time)
6273 }
6274 
6275 // optional .metrics.PerfDataProto.SampleInfo sample_info = 6;
_internal_has_sample_info()6276 inline bool PerfDataProto_CommEvent::_internal_has_sample_info() const {
6277   bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
6278   PROTOBUF_ASSUME(!value || _impl_.sample_info_ != nullptr);
6279   return value;
6280 }
has_sample_info()6281 inline bool PerfDataProto_CommEvent::has_sample_info() const {
6282   return _internal_has_sample_info();
6283 }
clear_sample_info()6284 inline void PerfDataProto_CommEvent::clear_sample_info() {
6285   if (_impl_.sample_info_ != nullptr) _impl_.sample_info_->Clear();
6286   _impl_._has_bits_[0] &= ~0x00000001u;
6287 }
_internal_sample_info()6288 inline const ::metrics::PerfDataProto_SampleInfo& PerfDataProto_CommEvent::_internal_sample_info() const {
6289   const ::metrics::PerfDataProto_SampleInfo* p = _impl_.sample_info_;
6290   return p != nullptr ? *p : reinterpret_cast<const ::metrics::PerfDataProto_SampleInfo&>(
6291       ::metrics::_PerfDataProto_SampleInfo_default_instance_);
6292 }
sample_info()6293 inline const ::metrics::PerfDataProto_SampleInfo& PerfDataProto_CommEvent::sample_info() const {
6294   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.CommEvent.sample_info)
6295   return _internal_sample_info();
6296 }
unsafe_arena_set_allocated_sample_info(::metrics::PerfDataProto_SampleInfo * sample_info)6297 inline void PerfDataProto_CommEvent::unsafe_arena_set_allocated_sample_info(
6298     ::metrics::PerfDataProto_SampleInfo* sample_info) {
6299   if (GetArenaForAllocation() == nullptr) {
6300     delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.sample_info_);
6301   }
6302   _impl_.sample_info_ = sample_info;
6303   if (sample_info) {
6304     _impl_._has_bits_[0] |= 0x00000001u;
6305   } else {
6306     _impl_._has_bits_[0] &= ~0x00000001u;
6307   }
6308   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:metrics.PerfDataProto.CommEvent.sample_info)
6309 }
release_sample_info()6310 inline ::metrics::PerfDataProto_SampleInfo* PerfDataProto_CommEvent::release_sample_info() {
6311   _impl_._has_bits_[0] &= ~0x00000001u;
6312   ::metrics::PerfDataProto_SampleInfo* temp = _impl_.sample_info_;
6313   _impl_.sample_info_ = nullptr;
6314 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
6315   auto* old =  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
6316   temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
6317   if (GetArenaForAllocation() == nullptr) { delete old; }
6318 #else  // PROTOBUF_FORCE_COPY_IN_RELEASE
6319   if (GetArenaForAllocation() != nullptr) {
6320     temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
6321   }
6322 #endif  // !PROTOBUF_FORCE_COPY_IN_RELEASE
6323   return temp;
6324 }
unsafe_arena_release_sample_info()6325 inline ::metrics::PerfDataProto_SampleInfo* PerfDataProto_CommEvent::unsafe_arena_release_sample_info() {
6326   // @@protoc_insertion_point(field_release:metrics.PerfDataProto.CommEvent.sample_info)
6327   _impl_._has_bits_[0] &= ~0x00000001u;
6328   ::metrics::PerfDataProto_SampleInfo* temp = _impl_.sample_info_;
6329   _impl_.sample_info_ = nullptr;
6330   return temp;
6331 }
_internal_mutable_sample_info()6332 inline ::metrics::PerfDataProto_SampleInfo* PerfDataProto_CommEvent::_internal_mutable_sample_info() {
6333   _impl_._has_bits_[0] |= 0x00000001u;
6334   if (_impl_.sample_info_ == nullptr) {
6335     auto* p = CreateMaybeMessage<::metrics::PerfDataProto_SampleInfo>(GetArenaForAllocation());
6336     _impl_.sample_info_ = p;
6337   }
6338   return _impl_.sample_info_;
6339 }
mutable_sample_info()6340 inline ::metrics::PerfDataProto_SampleInfo* PerfDataProto_CommEvent::mutable_sample_info() {
6341   ::metrics::PerfDataProto_SampleInfo* _msg = _internal_mutable_sample_info();
6342   // @@protoc_insertion_point(field_mutable:metrics.PerfDataProto.CommEvent.sample_info)
6343   return _msg;
6344 }
set_allocated_sample_info(::metrics::PerfDataProto_SampleInfo * sample_info)6345 inline void PerfDataProto_CommEvent::set_allocated_sample_info(::metrics::PerfDataProto_SampleInfo* sample_info) {
6346   ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
6347   if (message_arena == nullptr) {
6348     delete _impl_.sample_info_;
6349   }
6350   if (sample_info) {
6351     ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
6352         ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(sample_info);
6353     if (message_arena != submessage_arena) {
6354       sample_info = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
6355           message_arena, sample_info, submessage_arena);
6356     }
6357     _impl_._has_bits_[0] |= 0x00000001u;
6358   } else {
6359     _impl_._has_bits_[0] &= ~0x00000001u;
6360   }
6361   _impl_.sample_info_ = sample_info;
6362   // @@protoc_insertion_point(field_set_allocated:metrics.PerfDataProto.CommEvent.sample_info)
6363 }
6364 
6365 // -------------------------------------------------------------------
6366 
6367 // PerfDataProto_MMapEvent
6368 
6369 // optional uint32 pid = 1;
_internal_has_pid()6370 inline bool PerfDataProto_MMapEvent::_internal_has_pid() const {
6371   bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
6372   return value;
6373 }
has_pid()6374 inline bool PerfDataProto_MMapEvent::has_pid() const {
6375   return _internal_has_pid();
6376 }
clear_pid()6377 inline void PerfDataProto_MMapEvent::clear_pid() {
6378   _impl_.pid_ = 0u;
6379   _impl_._has_bits_[0] &= ~0x00000002u;
6380 }
_internal_pid()6381 inline uint32_t PerfDataProto_MMapEvent::_internal_pid() const {
6382   return _impl_.pid_;
6383 }
pid()6384 inline uint32_t PerfDataProto_MMapEvent::pid() const {
6385   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.MMapEvent.pid)
6386   return _internal_pid();
6387 }
_internal_set_pid(uint32_t value)6388 inline void PerfDataProto_MMapEvent::_internal_set_pid(uint32_t value) {
6389   _impl_._has_bits_[0] |= 0x00000002u;
6390   _impl_.pid_ = value;
6391 }
set_pid(uint32_t value)6392 inline void PerfDataProto_MMapEvent::set_pid(uint32_t value) {
6393   _internal_set_pid(value);
6394   // @@protoc_insertion_point(field_set:metrics.PerfDataProto.MMapEvent.pid)
6395 }
6396 
6397 // optional uint32 tid = 2;
_internal_has_tid()6398 inline bool PerfDataProto_MMapEvent::_internal_has_tid() const {
6399   bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
6400   return value;
6401 }
has_tid()6402 inline bool PerfDataProto_MMapEvent::has_tid() const {
6403   return _internal_has_tid();
6404 }
clear_tid()6405 inline void PerfDataProto_MMapEvent::clear_tid() {
6406   _impl_.tid_ = 0u;
6407   _impl_._has_bits_[0] &= ~0x00000004u;
6408 }
_internal_tid()6409 inline uint32_t PerfDataProto_MMapEvent::_internal_tid() const {
6410   return _impl_.tid_;
6411 }
tid()6412 inline uint32_t PerfDataProto_MMapEvent::tid() const {
6413   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.MMapEvent.tid)
6414   return _internal_tid();
6415 }
_internal_set_tid(uint32_t value)6416 inline void PerfDataProto_MMapEvent::_internal_set_tid(uint32_t value) {
6417   _impl_._has_bits_[0] |= 0x00000004u;
6418   _impl_.tid_ = value;
6419 }
set_tid(uint32_t value)6420 inline void PerfDataProto_MMapEvent::set_tid(uint32_t value) {
6421   _internal_set_tid(value);
6422   // @@protoc_insertion_point(field_set:metrics.PerfDataProto.MMapEvent.tid)
6423 }
6424 
6425 // optional uint64 start = 3;
_internal_has_start()6426 inline bool PerfDataProto_MMapEvent::_internal_has_start() const {
6427   bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
6428   return value;
6429 }
has_start()6430 inline bool PerfDataProto_MMapEvent::has_start() const {
6431   return _internal_has_start();
6432 }
clear_start()6433 inline void PerfDataProto_MMapEvent::clear_start() {
6434   _impl_.start_ = uint64_t{0u};
6435   _impl_._has_bits_[0] &= ~0x00000008u;
6436 }
_internal_start()6437 inline uint64_t PerfDataProto_MMapEvent::_internal_start() const {
6438   return _impl_.start_;
6439 }
start()6440 inline uint64_t PerfDataProto_MMapEvent::start() const {
6441   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.MMapEvent.start)
6442   return _internal_start();
6443 }
_internal_set_start(uint64_t value)6444 inline void PerfDataProto_MMapEvent::_internal_set_start(uint64_t value) {
6445   _impl_._has_bits_[0] |= 0x00000008u;
6446   _impl_.start_ = value;
6447 }
set_start(uint64_t value)6448 inline void PerfDataProto_MMapEvent::set_start(uint64_t value) {
6449   _internal_set_start(value);
6450   // @@protoc_insertion_point(field_set:metrics.PerfDataProto.MMapEvent.start)
6451 }
6452 
6453 // optional uint64 len = 4;
_internal_has_len()6454 inline bool PerfDataProto_MMapEvent::_internal_has_len() const {
6455   bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
6456   return value;
6457 }
has_len()6458 inline bool PerfDataProto_MMapEvent::has_len() const {
6459   return _internal_has_len();
6460 }
clear_len()6461 inline void PerfDataProto_MMapEvent::clear_len() {
6462   _impl_.len_ = uint64_t{0u};
6463   _impl_._has_bits_[0] &= ~0x00000010u;
6464 }
_internal_len()6465 inline uint64_t PerfDataProto_MMapEvent::_internal_len() const {
6466   return _impl_.len_;
6467 }
len()6468 inline uint64_t PerfDataProto_MMapEvent::len() const {
6469   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.MMapEvent.len)
6470   return _internal_len();
6471 }
_internal_set_len(uint64_t value)6472 inline void PerfDataProto_MMapEvent::_internal_set_len(uint64_t value) {
6473   _impl_._has_bits_[0] |= 0x00000010u;
6474   _impl_.len_ = value;
6475 }
set_len(uint64_t value)6476 inline void PerfDataProto_MMapEvent::set_len(uint64_t value) {
6477   _internal_set_len(value);
6478   // @@protoc_insertion_point(field_set:metrics.PerfDataProto.MMapEvent.len)
6479 }
6480 
6481 // optional uint64 pgoff = 5;
_internal_has_pgoff()6482 inline bool PerfDataProto_MMapEvent::_internal_has_pgoff() const {
6483   bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
6484   return value;
6485 }
has_pgoff()6486 inline bool PerfDataProto_MMapEvent::has_pgoff() const {
6487   return _internal_has_pgoff();
6488 }
clear_pgoff()6489 inline void PerfDataProto_MMapEvent::clear_pgoff() {
6490   _impl_.pgoff_ = uint64_t{0u};
6491   _impl_._has_bits_[0] &= ~0x00000020u;
6492 }
_internal_pgoff()6493 inline uint64_t PerfDataProto_MMapEvent::_internal_pgoff() const {
6494   return _impl_.pgoff_;
6495 }
pgoff()6496 inline uint64_t PerfDataProto_MMapEvent::pgoff() const {
6497   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.MMapEvent.pgoff)
6498   return _internal_pgoff();
6499 }
_internal_set_pgoff(uint64_t value)6500 inline void PerfDataProto_MMapEvent::_internal_set_pgoff(uint64_t value) {
6501   _impl_._has_bits_[0] |= 0x00000020u;
6502   _impl_.pgoff_ = value;
6503 }
set_pgoff(uint64_t value)6504 inline void PerfDataProto_MMapEvent::set_pgoff(uint64_t value) {
6505   _internal_set_pgoff(value);
6506   // @@protoc_insertion_point(field_set:metrics.PerfDataProto.MMapEvent.pgoff)
6507 }
6508 
6509 // optional uint64 filename_md5_prefix = 7;
_internal_has_filename_md5_prefix()6510 inline bool PerfDataProto_MMapEvent::_internal_has_filename_md5_prefix() const {
6511   bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0;
6512   return value;
6513 }
has_filename_md5_prefix()6514 inline bool PerfDataProto_MMapEvent::has_filename_md5_prefix() const {
6515   return _internal_has_filename_md5_prefix();
6516 }
clear_filename_md5_prefix()6517 inline void PerfDataProto_MMapEvent::clear_filename_md5_prefix() {
6518   _impl_.filename_md5_prefix_ = uint64_t{0u};
6519   _impl_._has_bits_[0] &= ~0x00000040u;
6520 }
_internal_filename_md5_prefix()6521 inline uint64_t PerfDataProto_MMapEvent::_internal_filename_md5_prefix() const {
6522   return _impl_.filename_md5_prefix_;
6523 }
filename_md5_prefix()6524 inline uint64_t PerfDataProto_MMapEvent::filename_md5_prefix() const {
6525   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.MMapEvent.filename_md5_prefix)
6526   return _internal_filename_md5_prefix();
6527 }
_internal_set_filename_md5_prefix(uint64_t value)6528 inline void PerfDataProto_MMapEvent::_internal_set_filename_md5_prefix(uint64_t value) {
6529   _impl_._has_bits_[0] |= 0x00000040u;
6530   _impl_.filename_md5_prefix_ = value;
6531 }
set_filename_md5_prefix(uint64_t value)6532 inline void PerfDataProto_MMapEvent::set_filename_md5_prefix(uint64_t value) {
6533   _internal_set_filename_md5_prefix(value);
6534   // @@protoc_insertion_point(field_set:metrics.PerfDataProto.MMapEvent.filename_md5_prefix)
6535 }
6536 
6537 // optional uint64 root_path_md5_prefix = 16;
_internal_has_root_path_md5_prefix()6538 inline bool PerfDataProto_MMapEvent::_internal_has_root_path_md5_prefix() const {
6539   bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0;
6540   return value;
6541 }
has_root_path_md5_prefix()6542 inline bool PerfDataProto_MMapEvent::has_root_path_md5_prefix() const {
6543   return _internal_has_root_path_md5_prefix();
6544 }
clear_root_path_md5_prefix()6545 inline void PerfDataProto_MMapEvent::clear_root_path_md5_prefix() {
6546   _impl_.root_path_md5_prefix_ = uint64_t{0u};
6547   _impl_._has_bits_[0] &= ~0x00000080u;
6548 }
_internal_root_path_md5_prefix()6549 inline uint64_t PerfDataProto_MMapEvent::_internal_root_path_md5_prefix() const {
6550   return _impl_.root_path_md5_prefix_;
6551 }
root_path_md5_prefix()6552 inline uint64_t PerfDataProto_MMapEvent::root_path_md5_prefix() const {
6553   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.MMapEvent.root_path_md5_prefix)
6554   return _internal_root_path_md5_prefix();
6555 }
_internal_set_root_path_md5_prefix(uint64_t value)6556 inline void PerfDataProto_MMapEvent::_internal_set_root_path_md5_prefix(uint64_t value) {
6557   _impl_._has_bits_[0] |= 0x00000080u;
6558   _impl_.root_path_md5_prefix_ = value;
6559 }
set_root_path_md5_prefix(uint64_t value)6560 inline void PerfDataProto_MMapEvent::set_root_path_md5_prefix(uint64_t value) {
6561   _internal_set_root_path_md5_prefix(value);
6562   // @@protoc_insertion_point(field_set:metrics.PerfDataProto.MMapEvent.root_path_md5_prefix)
6563 }
6564 
6565 // optional .metrics.PerfDataProto.SampleInfo sample_info = 8;
_internal_has_sample_info()6566 inline bool PerfDataProto_MMapEvent::_internal_has_sample_info() const {
6567   bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
6568   PROTOBUF_ASSUME(!value || _impl_.sample_info_ != nullptr);
6569   return value;
6570 }
has_sample_info()6571 inline bool PerfDataProto_MMapEvent::has_sample_info() const {
6572   return _internal_has_sample_info();
6573 }
clear_sample_info()6574 inline void PerfDataProto_MMapEvent::clear_sample_info() {
6575   if (_impl_.sample_info_ != nullptr) _impl_.sample_info_->Clear();
6576   _impl_._has_bits_[0] &= ~0x00000001u;
6577 }
_internal_sample_info()6578 inline const ::metrics::PerfDataProto_SampleInfo& PerfDataProto_MMapEvent::_internal_sample_info() const {
6579   const ::metrics::PerfDataProto_SampleInfo* p = _impl_.sample_info_;
6580   return p != nullptr ? *p : reinterpret_cast<const ::metrics::PerfDataProto_SampleInfo&>(
6581       ::metrics::_PerfDataProto_SampleInfo_default_instance_);
6582 }
sample_info()6583 inline const ::metrics::PerfDataProto_SampleInfo& PerfDataProto_MMapEvent::sample_info() const {
6584   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.MMapEvent.sample_info)
6585   return _internal_sample_info();
6586 }
unsafe_arena_set_allocated_sample_info(::metrics::PerfDataProto_SampleInfo * sample_info)6587 inline void PerfDataProto_MMapEvent::unsafe_arena_set_allocated_sample_info(
6588     ::metrics::PerfDataProto_SampleInfo* sample_info) {
6589   if (GetArenaForAllocation() == nullptr) {
6590     delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.sample_info_);
6591   }
6592   _impl_.sample_info_ = sample_info;
6593   if (sample_info) {
6594     _impl_._has_bits_[0] |= 0x00000001u;
6595   } else {
6596     _impl_._has_bits_[0] &= ~0x00000001u;
6597   }
6598   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:metrics.PerfDataProto.MMapEvent.sample_info)
6599 }
release_sample_info()6600 inline ::metrics::PerfDataProto_SampleInfo* PerfDataProto_MMapEvent::release_sample_info() {
6601   _impl_._has_bits_[0] &= ~0x00000001u;
6602   ::metrics::PerfDataProto_SampleInfo* temp = _impl_.sample_info_;
6603   _impl_.sample_info_ = nullptr;
6604 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
6605   auto* old =  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
6606   temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
6607   if (GetArenaForAllocation() == nullptr) { delete old; }
6608 #else  // PROTOBUF_FORCE_COPY_IN_RELEASE
6609   if (GetArenaForAllocation() != nullptr) {
6610     temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
6611   }
6612 #endif  // !PROTOBUF_FORCE_COPY_IN_RELEASE
6613   return temp;
6614 }
unsafe_arena_release_sample_info()6615 inline ::metrics::PerfDataProto_SampleInfo* PerfDataProto_MMapEvent::unsafe_arena_release_sample_info() {
6616   // @@protoc_insertion_point(field_release:metrics.PerfDataProto.MMapEvent.sample_info)
6617   _impl_._has_bits_[0] &= ~0x00000001u;
6618   ::metrics::PerfDataProto_SampleInfo* temp = _impl_.sample_info_;
6619   _impl_.sample_info_ = nullptr;
6620   return temp;
6621 }
_internal_mutable_sample_info()6622 inline ::metrics::PerfDataProto_SampleInfo* PerfDataProto_MMapEvent::_internal_mutable_sample_info() {
6623   _impl_._has_bits_[0] |= 0x00000001u;
6624   if (_impl_.sample_info_ == nullptr) {
6625     auto* p = CreateMaybeMessage<::metrics::PerfDataProto_SampleInfo>(GetArenaForAllocation());
6626     _impl_.sample_info_ = p;
6627   }
6628   return _impl_.sample_info_;
6629 }
mutable_sample_info()6630 inline ::metrics::PerfDataProto_SampleInfo* PerfDataProto_MMapEvent::mutable_sample_info() {
6631   ::metrics::PerfDataProto_SampleInfo* _msg = _internal_mutable_sample_info();
6632   // @@protoc_insertion_point(field_mutable:metrics.PerfDataProto.MMapEvent.sample_info)
6633   return _msg;
6634 }
set_allocated_sample_info(::metrics::PerfDataProto_SampleInfo * sample_info)6635 inline void PerfDataProto_MMapEvent::set_allocated_sample_info(::metrics::PerfDataProto_SampleInfo* sample_info) {
6636   ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
6637   if (message_arena == nullptr) {
6638     delete _impl_.sample_info_;
6639   }
6640   if (sample_info) {
6641     ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
6642         ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(sample_info);
6643     if (message_arena != submessage_arena) {
6644       sample_info = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
6645           message_arena, sample_info, submessage_arena);
6646     }
6647     _impl_._has_bits_[0] |= 0x00000001u;
6648   } else {
6649     _impl_._has_bits_[0] &= ~0x00000001u;
6650   }
6651   _impl_.sample_info_ = sample_info;
6652   // @@protoc_insertion_point(field_set_allocated:metrics.PerfDataProto.MMapEvent.sample_info)
6653 }
6654 
6655 // -------------------------------------------------------------------
6656 
6657 // PerfDataProto_LostEvent
6658 
6659 // optional uint64 id = 1;
_internal_has_id()6660 inline bool PerfDataProto_LostEvent::_internal_has_id() const {
6661   bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
6662   return value;
6663 }
has_id()6664 inline bool PerfDataProto_LostEvent::has_id() const {
6665   return _internal_has_id();
6666 }
clear_id()6667 inline void PerfDataProto_LostEvent::clear_id() {
6668   _impl_.id_ = uint64_t{0u};
6669   _impl_._has_bits_[0] &= ~0x00000002u;
6670 }
_internal_id()6671 inline uint64_t PerfDataProto_LostEvent::_internal_id() const {
6672   return _impl_.id_;
6673 }
id()6674 inline uint64_t PerfDataProto_LostEvent::id() const {
6675   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.LostEvent.id)
6676   return _internal_id();
6677 }
_internal_set_id(uint64_t value)6678 inline void PerfDataProto_LostEvent::_internal_set_id(uint64_t value) {
6679   _impl_._has_bits_[0] |= 0x00000002u;
6680   _impl_.id_ = value;
6681 }
set_id(uint64_t value)6682 inline void PerfDataProto_LostEvent::set_id(uint64_t value) {
6683   _internal_set_id(value);
6684   // @@protoc_insertion_point(field_set:metrics.PerfDataProto.LostEvent.id)
6685 }
6686 
6687 // optional uint64 lost = 2;
_internal_has_lost()6688 inline bool PerfDataProto_LostEvent::_internal_has_lost() const {
6689   bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
6690   return value;
6691 }
has_lost()6692 inline bool PerfDataProto_LostEvent::has_lost() const {
6693   return _internal_has_lost();
6694 }
clear_lost()6695 inline void PerfDataProto_LostEvent::clear_lost() {
6696   _impl_.lost_ = uint64_t{0u};
6697   _impl_._has_bits_[0] &= ~0x00000004u;
6698 }
_internal_lost()6699 inline uint64_t PerfDataProto_LostEvent::_internal_lost() const {
6700   return _impl_.lost_;
6701 }
lost()6702 inline uint64_t PerfDataProto_LostEvent::lost() const {
6703   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.LostEvent.lost)
6704   return _internal_lost();
6705 }
_internal_set_lost(uint64_t value)6706 inline void PerfDataProto_LostEvent::_internal_set_lost(uint64_t value) {
6707   _impl_._has_bits_[0] |= 0x00000004u;
6708   _impl_.lost_ = value;
6709 }
set_lost(uint64_t value)6710 inline void PerfDataProto_LostEvent::set_lost(uint64_t value) {
6711   _internal_set_lost(value);
6712   // @@protoc_insertion_point(field_set:metrics.PerfDataProto.LostEvent.lost)
6713 }
6714 
6715 // optional .metrics.PerfDataProto.SampleInfo sample_info = 3;
_internal_has_sample_info()6716 inline bool PerfDataProto_LostEvent::_internal_has_sample_info() const {
6717   bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
6718   PROTOBUF_ASSUME(!value || _impl_.sample_info_ != nullptr);
6719   return value;
6720 }
has_sample_info()6721 inline bool PerfDataProto_LostEvent::has_sample_info() const {
6722   return _internal_has_sample_info();
6723 }
clear_sample_info()6724 inline void PerfDataProto_LostEvent::clear_sample_info() {
6725   if (_impl_.sample_info_ != nullptr) _impl_.sample_info_->Clear();
6726   _impl_._has_bits_[0] &= ~0x00000001u;
6727 }
_internal_sample_info()6728 inline const ::metrics::PerfDataProto_SampleInfo& PerfDataProto_LostEvent::_internal_sample_info() const {
6729   const ::metrics::PerfDataProto_SampleInfo* p = _impl_.sample_info_;
6730   return p != nullptr ? *p : reinterpret_cast<const ::metrics::PerfDataProto_SampleInfo&>(
6731       ::metrics::_PerfDataProto_SampleInfo_default_instance_);
6732 }
sample_info()6733 inline const ::metrics::PerfDataProto_SampleInfo& PerfDataProto_LostEvent::sample_info() const {
6734   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.LostEvent.sample_info)
6735   return _internal_sample_info();
6736 }
unsafe_arena_set_allocated_sample_info(::metrics::PerfDataProto_SampleInfo * sample_info)6737 inline void PerfDataProto_LostEvent::unsafe_arena_set_allocated_sample_info(
6738     ::metrics::PerfDataProto_SampleInfo* sample_info) {
6739   if (GetArenaForAllocation() == nullptr) {
6740     delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.sample_info_);
6741   }
6742   _impl_.sample_info_ = sample_info;
6743   if (sample_info) {
6744     _impl_._has_bits_[0] |= 0x00000001u;
6745   } else {
6746     _impl_._has_bits_[0] &= ~0x00000001u;
6747   }
6748   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:metrics.PerfDataProto.LostEvent.sample_info)
6749 }
release_sample_info()6750 inline ::metrics::PerfDataProto_SampleInfo* PerfDataProto_LostEvent::release_sample_info() {
6751   _impl_._has_bits_[0] &= ~0x00000001u;
6752   ::metrics::PerfDataProto_SampleInfo* temp = _impl_.sample_info_;
6753   _impl_.sample_info_ = nullptr;
6754 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
6755   auto* old =  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
6756   temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
6757   if (GetArenaForAllocation() == nullptr) { delete old; }
6758 #else  // PROTOBUF_FORCE_COPY_IN_RELEASE
6759   if (GetArenaForAllocation() != nullptr) {
6760     temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
6761   }
6762 #endif  // !PROTOBUF_FORCE_COPY_IN_RELEASE
6763   return temp;
6764 }
unsafe_arena_release_sample_info()6765 inline ::metrics::PerfDataProto_SampleInfo* PerfDataProto_LostEvent::unsafe_arena_release_sample_info() {
6766   // @@protoc_insertion_point(field_release:metrics.PerfDataProto.LostEvent.sample_info)
6767   _impl_._has_bits_[0] &= ~0x00000001u;
6768   ::metrics::PerfDataProto_SampleInfo* temp = _impl_.sample_info_;
6769   _impl_.sample_info_ = nullptr;
6770   return temp;
6771 }
_internal_mutable_sample_info()6772 inline ::metrics::PerfDataProto_SampleInfo* PerfDataProto_LostEvent::_internal_mutable_sample_info() {
6773   _impl_._has_bits_[0] |= 0x00000001u;
6774   if (_impl_.sample_info_ == nullptr) {
6775     auto* p = CreateMaybeMessage<::metrics::PerfDataProto_SampleInfo>(GetArenaForAllocation());
6776     _impl_.sample_info_ = p;
6777   }
6778   return _impl_.sample_info_;
6779 }
mutable_sample_info()6780 inline ::metrics::PerfDataProto_SampleInfo* PerfDataProto_LostEvent::mutable_sample_info() {
6781   ::metrics::PerfDataProto_SampleInfo* _msg = _internal_mutable_sample_info();
6782   // @@protoc_insertion_point(field_mutable:metrics.PerfDataProto.LostEvent.sample_info)
6783   return _msg;
6784 }
set_allocated_sample_info(::metrics::PerfDataProto_SampleInfo * sample_info)6785 inline void PerfDataProto_LostEvent::set_allocated_sample_info(::metrics::PerfDataProto_SampleInfo* sample_info) {
6786   ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
6787   if (message_arena == nullptr) {
6788     delete _impl_.sample_info_;
6789   }
6790   if (sample_info) {
6791     ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
6792         ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(sample_info);
6793     if (message_arena != submessage_arena) {
6794       sample_info = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
6795           message_arena, sample_info, submessage_arena);
6796     }
6797     _impl_._has_bits_[0] |= 0x00000001u;
6798   } else {
6799     _impl_._has_bits_[0] &= ~0x00000001u;
6800   }
6801   _impl_.sample_info_ = sample_info;
6802   // @@protoc_insertion_point(field_set_allocated:metrics.PerfDataProto.LostEvent.sample_info)
6803 }
6804 
6805 // -------------------------------------------------------------------
6806 
6807 // PerfDataProto_ThrottleEvent
6808 
6809 // optional uint64 time_ns = 1;
_internal_has_time_ns()6810 inline bool PerfDataProto_ThrottleEvent::_internal_has_time_ns() const {
6811   bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
6812   return value;
6813 }
has_time_ns()6814 inline bool PerfDataProto_ThrottleEvent::has_time_ns() const {
6815   return _internal_has_time_ns();
6816 }
clear_time_ns()6817 inline void PerfDataProto_ThrottleEvent::clear_time_ns() {
6818   _impl_.time_ns_ = uint64_t{0u};
6819   _impl_._has_bits_[0] &= ~0x00000002u;
6820 }
_internal_time_ns()6821 inline uint64_t PerfDataProto_ThrottleEvent::_internal_time_ns() const {
6822   return _impl_.time_ns_;
6823 }
time_ns()6824 inline uint64_t PerfDataProto_ThrottleEvent::time_ns() const {
6825   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.ThrottleEvent.time_ns)
6826   return _internal_time_ns();
6827 }
_internal_set_time_ns(uint64_t value)6828 inline void PerfDataProto_ThrottleEvent::_internal_set_time_ns(uint64_t value) {
6829   _impl_._has_bits_[0] |= 0x00000002u;
6830   _impl_.time_ns_ = value;
6831 }
set_time_ns(uint64_t value)6832 inline void PerfDataProto_ThrottleEvent::set_time_ns(uint64_t value) {
6833   _internal_set_time_ns(value);
6834   // @@protoc_insertion_point(field_set:metrics.PerfDataProto.ThrottleEvent.time_ns)
6835 }
6836 
6837 // optional uint64 id = 2;
_internal_has_id()6838 inline bool PerfDataProto_ThrottleEvent::_internal_has_id() const {
6839   bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
6840   return value;
6841 }
has_id()6842 inline bool PerfDataProto_ThrottleEvent::has_id() const {
6843   return _internal_has_id();
6844 }
clear_id()6845 inline void PerfDataProto_ThrottleEvent::clear_id() {
6846   _impl_.id_ = uint64_t{0u};
6847   _impl_._has_bits_[0] &= ~0x00000004u;
6848 }
_internal_id()6849 inline uint64_t PerfDataProto_ThrottleEvent::_internal_id() const {
6850   return _impl_.id_;
6851 }
id()6852 inline uint64_t PerfDataProto_ThrottleEvent::id() const {
6853   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.ThrottleEvent.id)
6854   return _internal_id();
6855 }
_internal_set_id(uint64_t value)6856 inline void PerfDataProto_ThrottleEvent::_internal_set_id(uint64_t value) {
6857   _impl_._has_bits_[0] |= 0x00000004u;
6858   _impl_.id_ = value;
6859 }
set_id(uint64_t value)6860 inline void PerfDataProto_ThrottleEvent::set_id(uint64_t value) {
6861   _internal_set_id(value);
6862   // @@protoc_insertion_point(field_set:metrics.PerfDataProto.ThrottleEvent.id)
6863 }
6864 
6865 // optional uint64 stream_id = 3;
_internal_has_stream_id()6866 inline bool PerfDataProto_ThrottleEvent::_internal_has_stream_id() const {
6867   bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
6868   return value;
6869 }
has_stream_id()6870 inline bool PerfDataProto_ThrottleEvent::has_stream_id() const {
6871   return _internal_has_stream_id();
6872 }
clear_stream_id()6873 inline void PerfDataProto_ThrottleEvent::clear_stream_id() {
6874   _impl_.stream_id_ = uint64_t{0u};
6875   _impl_._has_bits_[0] &= ~0x00000008u;
6876 }
_internal_stream_id()6877 inline uint64_t PerfDataProto_ThrottleEvent::_internal_stream_id() const {
6878   return _impl_.stream_id_;
6879 }
stream_id()6880 inline uint64_t PerfDataProto_ThrottleEvent::stream_id() const {
6881   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.ThrottleEvent.stream_id)
6882   return _internal_stream_id();
6883 }
_internal_set_stream_id(uint64_t value)6884 inline void PerfDataProto_ThrottleEvent::_internal_set_stream_id(uint64_t value) {
6885   _impl_._has_bits_[0] |= 0x00000008u;
6886   _impl_.stream_id_ = value;
6887 }
set_stream_id(uint64_t value)6888 inline void PerfDataProto_ThrottleEvent::set_stream_id(uint64_t value) {
6889   _internal_set_stream_id(value);
6890   // @@protoc_insertion_point(field_set:metrics.PerfDataProto.ThrottleEvent.stream_id)
6891 }
6892 
6893 // optional .metrics.PerfDataProto.SampleInfo sample_info = 4;
_internal_has_sample_info()6894 inline bool PerfDataProto_ThrottleEvent::_internal_has_sample_info() const {
6895   bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
6896   PROTOBUF_ASSUME(!value || _impl_.sample_info_ != nullptr);
6897   return value;
6898 }
has_sample_info()6899 inline bool PerfDataProto_ThrottleEvent::has_sample_info() const {
6900   return _internal_has_sample_info();
6901 }
clear_sample_info()6902 inline void PerfDataProto_ThrottleEvent::clear_sample_info() {
6903   if (_impl_.sample_info_ != nullptr) _impl_.sample_info_->Clear();
6904   _impl_._has_bits_[0] &= ~0x00000001u;
6905 }
_internal_sample_info()6906 inline const ::metrics::PerfDataProto_SampleInfo& PerfDataProto_ThrottleEvent::_internal_sample_info() const {
6907   const ::metrics::PerfDataProto_SampleInfo* p = _impl_.sample_info_;
6908   return p != nullptr ? *p : reinterpret_cast<const ::metrics::PerfDataProto_SampleInfo&>(
6909       ::metrics::_PerfDataProto_SampleInfo_default_instance_);
6910 }
sample_info()6911 inline const ::metrics::PerfDataProto_SampleInfo& PerfDataProto_ThrottleEvent::sample_info() const {
6912   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.ThrottleEvent.sample_info)
6913   return _internal_sample_info();
6914 }
unsafe_arena_set_allocated_sample_info(::metrics::PerfDataProto_SampleInfo * sample_info)6915 inline void PerfDataProto_ThrottleEvent::unsafe_arena_set_allocated_sample_info(
6916     ::metrics::PerfDataProto_SampleInfo* sample_info) {
6917   if (GetArenaForAllocation() == nullptr) {
6918     delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.sample_info_);
6919   }
6920   _impl_.sample_info_ = sample_info;
6921   if (sample_info) {
6922     _impl_._has_bits_[0] |= 0x00000001u;
6923   } else {
6924     _impl_._has_bits_[0] &= ~0x00000001u;
6925   }
6926   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:metrics.PerfDataProto.ThrottleEvent.sample_info)
6927 }
release_sample_info()6928 inline ::metrics::PerfDataProto_SampleInfo* PerfDataProto_ThrottleEvent::release_sample_info() {
6929   _impl_._has_bits_[0] &= ~0x00000001u;
6930   ::metrics::PerfDataProto_SampleInfo* temp = _impl_.sample_info_;
6931   _impl_.sample_info_ = nullptr;
6932 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
6933   auto* old =  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
6934   temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
6935   if (GetArenaForAllocation() == nullptr) { delete old; }
6936 #else  // PROTOBUF_FORCE_COPY_IN_RELEASE
6937   if (GetArenaForAllocation() != nullptr) {
6938     temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
6939   }
6940 #endif  // !PROTOBUF_FORCE_COPY_IN_RELEASE
6941   return temp;
6942 }
unsafe_arena_release_sample_info()6943 inline ::metrics::PerfDataProto_SampleInfo* PerfDataProto_ThrottleEvent::unsafe_arena_release_sample_info() {
6944   // @@protoc_insertion_point(field_release:metrics.PerfDataProto.ThrottleEvent.sample_info)
6945   _impl_._has_bits_[0] &= ~0x00000001u;
6946   ::metrics::PerfDataProto_SampleInfo* temp = _impl_.sample_info_;
6947   _impl_.sample_info_ = nullptr;
6948   return temp;
6949 }
_internal_mutable_sample_info()6950 inline ::metrics::PerfDataProto_SampleInfo* PerfDataProto_ThrottleEvent::_internal_mutable_sample_info() {
6951   _impl_._has_bits_[0] |= 0x00000001u;
6952   if (_impl_.sample_info_ == nullptr) {
6953     auto* p = CreateMaybeMessage<::metrics::PerfDataProto_SampleInfo>(GetArenaForAllocation());
6954     _impl_.sample_info_ = p;
6955   }
6956   return _impl_.sample_info_;
6957 }
mutable_sample_info()6958 inline ::metrics::PerfDataProto_SampleInfo* PerfDataProto_ThrottleEvent::mutable_sample_info() {
6959   ::metrics::PerfDataProto_SampleInfo* _msg = _internal_mutable_sample_info();
6960   // @@protoc_insertion_point(field_mutable:metrics.PerfDataProto.ThrottleEvent.sample_info)
6961   return _msg;
6962 }
set_allocated_sample_info(::metrics::PerfDataProto_SampleInfo * sample_info)6963 inline void PerfDataProto_ThrottleEvent::set_allocated_sample_info(::metrics::PerfDataProto_SampleInfo* sample_info) {
6964   ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
6965   if (message_arena == nullptr) {
6966     delete _impl_.sample_info_;
6967   }
6968   if (sample_info) {
6969     ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
6970         ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(sample_info);
6971     if (message_arena != submessage_arena) {
6972       sample_info = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
6973           message_arena, sample_info, submessage_arena);
6974     }
6975     _impl_._has_bits_[0] |= 0x00000001u;
6976   } else {
6977     _impl_._has_bits_[0] &= ~0x00000001u;
6978   }
6979   _impl_.sample_info_ = sample_info;
6980   // @@protoc_insertion_point(field_set_allocated:metrics.PerfDataProto.ThrottleEvent.sample_info)
6981 }
6982 
6983 // -------------------------------------------------------------------
6984 
6985 // PerfDataProto_BranchStackEntry
6986 
6987 // optional uint64 from_ip = 1;
_internal_has_from_ip()6988 inline bool PerfDataProto_BranchStackEntry::_internal_has_from_ip() const {
6989   bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
6990   return value;
6991 }
has_from_ip()6992 inline bool PerfDataProto_BranchStackEntry::has_from_ip() const {
6993   return _internal_has_from_ip();
6994 }
clear_from_ip()6995 inline void PerfDataProto_BranchStackEntry::clear_from_ip() {
6996   _impl_.from_ip_ = uint64_t{0u};
6997   _impl_._has_bits_[0] &= ~0x00000001u;
6998 }
_internal_from_ip()6999 inline uint64_t PerfDataProto_BranchStackEntry::_internal_from_ip() const {
7000   return _impl_.from_ip_;
7001 }
from_ip()7002 inline uint64_t PerfDataProto_BranchStackEntry::from_ip() const {
7003   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.BranchStackEntry.from_ip)
7004   return _internal_from_ip();
7005 }
_internal_set_from_ip(uint64_t value)7006 inline void PerfDataProto_BranchStackEntry::_internal_set_from_ip(uint64_t value) {
7007   _impl_._has_bits_[0] |= 0x00000001u;
7008   _impl_.from_ip_ = value;
7009 }
set_from_ip(uint64_t value)7010 inline void PerfDataProto_BranchStackEntry::set_from_ip(uint64_t value) {
7011   _internal_set_from_ip(value);
7012   // @@protoc_insertion_point(field_set:metrics.PerfDataProto.BranchStackEntry.from_ip)
7013 }
7014 
7015 // optional uint64 to_ip = 2;
_internal_has_to_ip()7016 inline bool PerfDataProto_BranchStackEntry::_internal_has_to_ip() const {
7017   bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
7018   return value;
7019 }
has_to_ip()7020 inline bool PerfDataProto_BranchStackEntry::has_to_ip() const {
7021   return _internal_has_to_ip();
7022 }
clear_to_ip()7023 inline void PerfDataProto_BranchStackEntry::clear_to_ip() {
7024   _impl_.to_ip_ = uint64_t{0u};
7025   _impl_._has_bits_[0] &= ~0x00000002u;
7026 }
_internal_to_ip()7027 inline uint64_t PerfDataProto_BranchStackEntry::_internal_to_ip() const {
7028   return _impl_.to_ip_;
7029 }
to_ip()7030 inline uint64_t PerfDataProto_BranchStackEntry::to_ip() const {
7031   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.BranchStackEntry.to_ip)
7032   return _internal_to_ip();
7033 }
_internal_set_to_ip(uint64_t value)7034 inline void PerfDataProto_BranchStackEntry::_internal_set_to_ip(uint64_t value) {
7035   _impl_._has_bits_[0] |= 0x00000002u;
7036   _impl_.to_ip_ = value;
7037 }
set_to_ip(uint64_t value)7038 inline void PerfDataProto_BranchStackEntry::set_to_ip(uint64_t value) {
7039   _internal_set_to_ip(value);
7040   // @@protoc_insertion_point(field_set:metrics.PerfDataProto.BranchStackEntry.to_ip)
7041 }
7042 
7043 // optional bool mispredicted = 3;
_internal_has_mispredicted()7044 inline bool PerfDataProto_BranchStackEntry::_internal_has_mispredicted() const {
7045   bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
7046   return value;
7047 }
has_mispredicted()7048 inline bool PerfDataProto_BranchStackEntry::has_mispredicted() const {
7049   return _internal_has_mispredicted();
7050 }
clear_mispredicted()7051 inline void PerfDataProto_BranchStackEntry::clear_mispredicted() {
7052   _impl_.mispredicted_ = false;
7053   _impl_._has_bits_[0] &= ~0x00000004u;
7054 }
_internal_mispredicted()7055 inline bool PerfDataProto_BranchStackEntry::_internal_mispredicted() const {
7056   return _impl_.mispredicted_;
7057 }
mispredicted()7058 inline bool PerfDataProto_BranchStackEntry::mispredicted() const {
7059   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.BranchStackEntry.mispredicted)
7060   return _internal_mispredicted();
7061 }
_internal_set_mispredicted(bool value)7062 inline void PerfDataProto_BranchStackEntry::_internal_set_mispredicted(bool value) {
7063   _impl_._has_bits_[0] |= 0x00000004u;
7064   _impl_.mispredicted_ = value;
7065 }
set_mispredicted(bool value)7066 inline void PerfDataProto_BranchStackEntry::set_mispredicted(bool value) {
7067   _internal_set_mispredicted(value);
7068   // @@protoc_insertion_point(field_set:metrics.PerfDataProto.BranchStackEntry.mispredicted)
7069 }
7070 
7071 // optional bool predicted = 4;
_internal_has_predicted()7072 inline bool PerfDataProto_BranchStackEntry::_internal_has_predicted() const {
7073   bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
7074   return value;
7075 }
has_predicted()7076 inline bool PerfDataProto_BranchStackEntry::has_predicted() const {
7077   return _internal_has_predicted();
7078 }
clear_predicted()7079 inline void PerfDataProto_BranchStackEntry::clear_predicted() {
7080   _impl_.predicted_ = false;
7081   _impl_._has_bits_[0] &= ~0x00000008u;
7082 }
_internal_predicted()7083 inline bool PerfDataProto_BranchStackEntry::_internal_predicted() const {
7084   return _impl_.predicted_;
7085 }
predicted()7086 inline bool PerfDataProto_BranchStackEntry::predicted() const {
7087   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.BranchStackEntry.predicted)
7088   return _internal_predicted();
7089 }
_internal_set_predicted(bool value)7090 inline void PerfDataProto_BranchStackEntry::_internal_set_predicted(bool value) {
7091   _impl_._has_bits_[0] |= 0x00000008u;
7092   _impl_.predicted_ = value;
7093 }
set_predicted(bool value)7094 inline void PerfDataProto_BranchStackEntry::set_predicted(bool value) {
7095   _internal_set_predicted(value);
7096   // @@protoc_insertion_point(field_set:metrics.PerfDataProto.BranchStackEntry.predicted)
7097 }
7098 
7099 // optional bool in_transaction = 5;
_internal_has_in_transaction()7100 inline bool PerfDataProto_BranchStackEntry::_internal_has_in_transaction() const {
7101   bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
7102   return value;
7103 }
has_in_transaction()7104 inline bool PerfDataProto_BranchStackEntry::has_in_transaction() const {
7105   return _internal_has_in_transaction();
7106 }
clear_in_transaction()7107 inline void PerfDataProto_BranchStackEntry::clear_in_transaction() {
7108   _impl_.in_transaction_ = false;
7109   _impl_._has_bits_[0] &= ~0x00000010u;
7110 }
_internal_in_transaction()7111 inline bool PerfDataProto_BranchStackEntry::_internal_in_transaction() const {
7112   return _impl_.in_transaction_;
7113 }
in_transaction()7114 inline bool PerfDataProto_BranchStackEntry::in_transaction() const {
7115   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.BranchStackEntry.in_transaction)
7116   return _internal_in_transaction();
7117 }
_internal_set_in_transaction(bool value)7118 inline void PerfDataProto_BranchStackEntry::_internal_set_in_transaction(bool value) {
7119   _impl_._has_bits_[0] |= 0x00000010u;
7120   _impl_.in_transaction_ = value;
7121 }
set_in_transaction(bool value)7122 inline void PerfDataProto_BranchStackEntry::set_in_transaction(bool value) {
7123   _internal_set_in_transaction(value);
7124   // @@protoc_insertion_point(field_set:metrics.PerfDataProto.BranchStackEntry.in_transaction)
7125 }
7126 
7127 // optional bool abort = 6;
_internal_has_abort()7128 inline bool PerfDataProto_BranchStackEntry::_internal_has_abort() const {
7129   bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
7130   return value;
7131 }
has_abort()7132 inline bool PerfDataProto_BranchStackEntry::has_abort() const {
7133   return _internal_has_abort();
7134 }
clear_abort()7135 inline void PerfDataProto_BranchStackEntry::clear_abort() {
7136   _impl_.abort_ = false;
7137   _impl_._has_bits_[0] &= ~0x00000020u;
7138 }
_internal_abort()7139 inline bool PerfDataProto_BranchStackEntry::_internal_abort() const {
7140   return _impl_.abort_;
7141 }
abort()7142 inline bool PerfDataProto_BranchStackEntry::abort() const {
7143   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.BranchStackEntry.abort)
7144   return _internal_abort();
7145 }
_internal_set_abort(bool value)7146 inline void PerfDataProto_BranchStackEntry::_internal_set_abort(bool value) {
7147   _impl_._has_bits_[0] |= 0x00000020u;
7148   _impl_.abort_ = value;
7149 }
set_abort(bool value)7150 inline void PerfDataProto_BranchStackEntry::set_abort(bool value) {
7151   _internal_set_abort(value);
7152   // @@protoc_insertion_point(field_set:metrics.PerfDataProto.BranchStackEntry.abort)
7153 }
7154 
7155 // optional uint32 cycles = 7;
_internal_has_cycles()7156 inline bool PerfDataProto_BranchStackEntry::_internal_has_cycles() const {
7157   bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0;
7158   return value;
7159 }
has_cycles()7160 inline bool PerfDataProto_BranchStackEntry::has_cycles() const {
7161   return _internal_has_cycles();
7162 }
clear_cycles()7163 inline void PerfDataProto_BranchStackEntry::clear_cycles() {
7164   _impl_.cycles_ = 0u;
7165   _impl_._has_bits_[0] &= ~0x00000040u;
7166 }
_internal_cycles()7167 inline uint32_t PerfDataProto_BranchStackEntry::_internal_cycles() const {
7168   return _impl_.cycles_;
7169 }
cycles()7170 inline uint32_t PerfDataProto_BranchStackEntry::cycles() const {
7171   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.BranchStackEntry.cycles)
7172   return _internal_cycles();
7173 }
_internal_set_cycles(uint32_t value)7174 inline void PerfDataProto_BranchStackEntry::_internal_set_cycles(uint32_t value) {
7175   _impl_._has_bits_[0] |= 0x00000040u;
7176   _impl_.cycles_ = value;
7177 }
set_cycles(uint32_t value)7178 inline void PerfDataProto_BranchStackEntry::set_cycles(uint32_t value) {
7179   _internal_set_cycles(value);
7180   // @@protoc_insertion_point(field_set:metrics.PerfDataProto.BranchStackEntry.cycles)
7181 }
7182 
7183 // -------------------------------------------------------------------
7184 
7185 // PerfDataProto_SampleEvent
7186 
7187 // optional uint64 ip = 1;
_internal_has_ip()7188 inline bool PerfDataProto_SampleEvent::_internal_has_ip() const {
7189   bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
7190   return value;
7191 }
has_ip()7192 inline bool PerfDataProto_SampleEvent::has_ip() const {
7193   return _internal_has_ip();
7194 }
clear_ip()7195 inline void PerfDataProto_SampleEvent::clear_ip() {
7196   _impl_.ip_ = uint64_t{0u};
7197   _impl_._has_bits_[0] &= ~0x00000001u;
7198 }
_internal_ip()7199 inline uint64_t PerfDataProto_SampleEvent::_internal_ip() const {
7200   return _impl_.ip_;
7201 }
ip()7202 inline uint64_t PerfDataProto_SampleEvent::ip() const {
7203   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.SampleEvent.ip)
7204   return _internal_ip();
7205 }
_internal_set_ip(uint64_t value)7206 inline void PerfDataProto_SampleEvent::_internal_set_ip(uint64_t value) {
7207   _impl_._has_bits_[0] |= 0x00000001u;
7208   _impl_.ip_ = value;
7209 }
set_ip(uint64_t value)7210 inline void PerfDataProto_SampleEvent::set_ip(uint64_t value) {
7211   _internal_set_ip(value);
7212   // @@protoc_insertion_point(field_set:metrics.PerfDataProto.SampleEvent.ip)
7213 }
7214 
7215 // optional uint32 pid = 2;
_internal_has_pid()7216 inline bool PerfDataProto_SampleEvent::_internal_has_pid() const {
7217   bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
7218   return value;
7219 }
has_pid()7220 inline bool PerfDataProto_SampleEvent::has_pid() const {
7221   return _internal_has_pid();
7222 }
clear_pid()7223 inline void PerfDataProto_SampleEvent::clear_pid() {
7224   _impl_.pid_ = 0u;
7225   _impl_._has_bits_[0] &= ~0x00000002u;
7226 }
_internal_pid()7227 inline uint32_t PerfDataProto_SampleEvent::_internal_pid() const {
7228   return _impl_.pid_;
7229 }
pid()7230 inline uint32_t PerfDataProto_SampleEvent::pid() const {
7231   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.SampleEvent.pid)
7232   return _internal_pid();
7233 }
_internal_set_pid(uint32_t value)7234 inline void PerfDataProto_SampleEvent::_internal_set_pid(uint32_t value) {
7235   _impl_._has_bits_[0] |= 0x00000002u;
7236   _impl_.pid_ = value;
7237 }
set_pid(uint32_t value)7238 inline void PerfDataProto_SampleEvent::set_pid(uint32_t value) {
7239   _internal_set_pid(value);
7240   // @@protoc_insertion_point(field_set:metrics.PerfDataProto.SampleEvent.pid)
7241 }
7242 
7243 // optional uint32 tid = 3;
_internal_has_tid()7244 inline bool PerfDataProto_SampleEvent::_internal_has_tid() const {
7245   bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
7246   return value;
7247 }
has_tid()7248 inline bool PerfDataProto_SampleEvent::has_tid() const {
7249   return _internal_has_tid();
7250 }
clear_tid()7251 inline void PerfDataProto_SampleEvent::clear_tid() {
7252   _impl_.tid_ = 0u;
7253   _impl_._has_bits_[0] &= ~0x00000004u;
7254 }
_internal_tid()7255 inline uint32_t PerfDataProto_SampleEvent::_internal_tid() const {
7256   return _impl_.tid_;
7257 }
tid()7258 inline uint32_t PerfDataProto_SampleEvent::tid() const {
7259   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.SampleEvent.tid)
7260   return _internal_tid();
7261 }
_internal_set_tid(uint32_t value)7262 inline void PerfDataProto_SampleEvent::_internal_set_tid(uint32_t value) {
7263   _impl_._has_bits_[0] |= 0x00000004u;
7264   _impl_.tid_ = value;
7265 }
set_tid(uint32_t value)7266 inline void PerfDataProto_SampleEvent::set_tid(uint32_t value) {
7267   _internal_set_tid(value);
7268   // @@protoc_insertion_point(field_set:metrics.PerfDataProto.SampleEvent.tid)
7269 }
7270 
7271 // optional uint64 sample_time_ns = 4;
_internal_has_sample_time_ns()7272 inline bool PerfDataProto_SampleEvent::_internal_has_sample_time_ns() const {
7273   bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
7274   return value;
7275 }
has_sample_time_ns()7276 inline bool PerfDataProto_SampleEvent::has_sample_time_ns() const {
7277   return _internal_has_sample_time_ns();
7278 }
clear_sample_time_ns()7279 inline void PerfDataProto_SampleEvent::clear_sample_time_ns() {
7280   _impl_.sample_time_ns_ = uint64_t{0u};
7281   _impl_._has_bits_[0] &= ~0x00000008u;
7282 }
_internal_sample_time_ns()7283 inline uint64_t PerfDataProto_SampleEvent::_internal_sample_time_ns() const {
7284   return _impl_.sample_time_ns_;
7285 }
sample_time_ns()7286 inline uint64_t PerfDataProto_SampleEvent::sample_time_ns() const {
7287   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.SampleEvent.sample_time_ns)
7288   return _internal_sample_time_ns();
7289 }
_internal_set_sample_time_ns(uint64_t value)7290 inline void PerfDataProto_SampleEvent::_internal_set_sample_time_ns(uint64_t value) {
7291   _impl_._has_bits_[0] |= 0x00000008u;
7292   _impl_.sample_time_ns_ = value;
7293 }
set_sample_time_ns(uint64_t value)7294 inline void PerfDataProto_SampleEvent::set_sample_time_ns(uint64_t value) {
7295   _internal_set_sample_time_ns(value);
7296   // @@protoc_insertion_point(field_set:metrics.PerfDataProto.SampleEvent.sample_time_ns)
7297 }
7298 
7299 // optional uint64 addr = 5;
_internal_has_addr()7300 inline bool PerfDataProto_SampleEvent::_internal_has_addr() const {
7301   bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
7302   return value;
7303 }
has_addr()7304 inline bool PerfDataProto_SampleEvent::has_addr() const {
7305   return _internal_has_addr();
7306 }
clear_addr()7307 inline void PerfDataProto_SampleEvent::clear_addr() {
7308   _impl_.addr_ = uint64_t{0u};
7309   _impl_._has_bits_[0] &= ~0x00000010u;
7310 }
_internal_addr()7311 inline uint64_t PerfDataProto_SampleEvent::_internal_addr() const {
7312   return _impl_.addr_;
7313 }
addr()7314 inline uint64_t PerfDataProto_SampleEvent::addr() const {
7315   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.SampleEvent.addr)
7316   return _internal_addr();
7317 }
_internal_set_addr(uint64_t value)7318 inline void PerfDataProto_SampleEvent::_internal_set_addr(uint64_t value) {
7319   _impl_._has_bits_[0] |= 0x00000010u;
7320   _impl_.addr_ = value;
7321 }
set_addr(uint64_t value)7322 inline void PerfDataProto_SampleEvent::set_addr(uint64_t value) {
7323   _internal_set_addr(value);
7324   // @@protoc_insertion_point(field_set:metrics.PerfDataProto.SampleEvent.addr)
7325 }
7326 
7327 // optional uint64 id = 6;
_internal_has_id()7328 inline bool PerfDataProto_SampleEvent::_internal_has_id() const {
7329   bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
7330   return value;
7331 }
has_id()7332 inline bool PerfDataProto_SampleEvent::has_id() const {
7333   return _internal_has_id();
7334 }
clear_id()7335 inline void PerfDataProto_SampleEvent::clear_id() {
7336   _impl_.id_ = uint64_t{0u};
7337   _impl_._has_bits_[0] &= ~0x00000020u;
7338 }
_internal_id()7339 inline uint64_t PerfDataProto_SampleEvent::_internal_id() const {
7340   return _impl_.id_;
7341 }
id()7342 inline uint64_t PerfDataProto_SampleEvent::id() const {
7343   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.SampleEvent.id)
7344   return _internal_id();
7345 }
_internal_set_id(uint64_t value)7346 inline void PerfDataProto_SampleEvent::_internal_set_id(uint64_t value) {
7347   _impl_._has_bits_[0] |= 0x00000020u;
7348   _impl_.id_ = value;
7349 }
set_id(uint64_t value)7350 inline void PerfDataProto_SampleEvent::set_id(uint64_t value) {
7351   _internal_set_id(value);
7352   // @@protoc_insertion_point(field_set:metrics.PerfDataProto.SampleEvent.id)
7353 }
7354 
7355 // optional uint64 stream_id = 7;
_internal_has_stream_id()7356 inline bool PerfDataProto_SampleEvent::_internal_has_stream_id() const {
7357   bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0;
7358   return value;
7359 }
has_stream_id()7360 inline bool PerfDataProto_SampleEvent::has_stream_id() const {
7361   return _internal_has_stream_id();
7362 }
clear_stream_id()7363 inline void PerfDataProto_SampleEvent::clear_stream_id() {
7364   _impl_.stream_id_ = uint64_t{0u};
7365   _impl_._has_bits_[0] &= ~0x00000040u;
7366 }
_internal_stream_id()7367 inline uint64_t PerfDataProto_SampleEvent::_internal_stream_id() const {
7368   return _impl_.stream_id_;
7369 }
stream_id()7370 inline uint64_t PerfDataProto_SampleEvent::stream_id() const {
7371   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.SampleEvent.stream_id)
7372   return _internal_stream_id();
7373 }
_internal_set_stream_id(uint64_t value)7374 inline void PerfDataProto_SampleEvent::_internal_set_stream_id(uint64_t value) {
7375   _impl_._has_bits_[0] |= 0x00000040u;
7376   _impl_.stream_id_ = value;
7377 }
set_stream_id(uint64_t value)7378 inline void PerfDataProto_SampleEvent::set_stream_id(uint64_t value) {
7379   _internal_set_stream_id(value);
7380   // @@protoc_insertion_point(field_set:metrics.PerfDataProto.SampleEvent.stream_id)
7381 }
7382 
7383 // optional uint64 period = 8;
_internal_has_period()7384 inline bool PerfDataProto_SampleEvent::_internal_has_period() const {
7385   bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0;
7386   return value;
7387 }
has_period()7388 inline bool PerfDataProto_SampleEvent::has_period() const {
7389   return _internal_has_period();
7390 }
clear_period()7391 inline void PerfDataProto_SampleEvent::clear_period() {
7392   _impl_.period_ = uint64_t{0u};
7393   _impl_._has_bits_[0] &= ~0x00000080u;
7394 }
_internal_period()7395 inline uint64_t PerfDataProto_SampleEvent::_internal_period() const {
7396   return _impl_.period_;
7397 }
period()7398 inline uint64_t PerfDataProto_SampleEvent::period() const {
7399   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.SampleEvent.period)
7400   return _internal_period();
7401 }
_internal_set_period(uint64_t value)7402 inline void PerfDataProto_SampleEvent::_internal_set_period(uint64_t value) {
7403   _impl_._has_bits_[0] |= 0x00000080u;
7404   _impl_.period_ = value;
7405 }
set_period(uint64_t value)7406 inline void PerfDataProto_SampleEvent::set_period(uint64_t value) {
7407   _internal_set_period(value);
7408   // @@protoc_insertion_point(field_set:metrics.PerfDataProto.SampleEvent.period)
7409 }
7410 
7411 // optional uint32 cpu = 9;
_internal_has_cpu()7412 inline bool PerfDataProto_SampleEvent::_internal_has_cpu() const {
7413   bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0;
7414   return value;
7415 }
has_cpu()7416 inline bool PerfDataProto_SampleEvent::has_cpu() const {
7417   return _internal_has_cpu();
7418 }
clear_cpu()7419 inline void PerfDataProto_SampleEvent::clear_cpu() {
7420   _impl_.cpu_ = 0u;
7421   _impl_._has_bits_[0] &= ~0x00000100u;
7422 }
_internal_cpu()7423 inline uint32_t PerfDataProto_SampleEvent::_internal_cpu() const {
7424   return _impl_.cpu_;
7425 }
cpu()7426 inline uint32_t PerfDataProto_SampleEvent::cpu() const {
7427   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.SampleEvent.cpu)
7428   return _internal_cpu();
7429 }
_internal_set_cpu(uint32_t value)7430 inline void PerfDataProto_SampleEvent::_internal_set_cpu(uint32_t value) {
7431   _impl_._has_bits_[0] |= 0x00000100u;
7432   _impl_.cpu_ = value;
7433 }
set_cpu(uint32_t value)7434 inline void PerfDataProto_SampleEvent::set_cpu(uint32_t value) {
7435   _internal_set_cpu(value);
7436   // @@protoc_insertion_point(field_set:metrics.PerfDataProto.SampleEvent.cpu)
7437 }
7438 
7439 // optional uint32 raw_size = 10;
_internal_has_raw_size()7440 inline bool PerfDataProto_SampleEvent::_internal_has_raw_size() const {
7441   bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0;
7442   return value;
7443 }
has_raw_size()7444 inline bool PerfDataProto_SampleEvent::has_raw_size() const {
7445   return _internal_has_raw_size();
7446 }
clear_raw_size()7447 inline void PerfDataProto_SampleEvent::clear_raw_size() {
7448   _impl_.raw_size_ = 0u;
7449   _impl_._has_bits_[0] &= ~0x00000200u;
7450 }
_internal_raw_size()7451 inline uint32_t PerfDataProto_SampleEvent::_internal_raw_size() const {
7452   return _impl_.raw_size_;
7453 }
raw_size()7454 inline uint32_t PerfDataProto_SampleEvent::raw_size() const {
7455   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.SampleEvent.raw_size)
7456   return _internal_raw_size();
7457 }
_internal_set_raw_size(uint32_t value)7458 inline void PerfDataProto_SampleEvent::_internal_set_raw_size(uint32_t value) {
7459   _impl_._has_bits_[0] |= 0x00000200u;
7460   _impl_.raw_size_ = value;
7461 }
set_raw_size(uint32_t value)7462 inline void PerfDataProto_SampleEvent::set_raw_size(uint32_t value) {
7463   _internal_set_raw_size(value);
7464   // @@protoc_insertion_point(field_set:metrics.PerfDataProto.SampleEvent.raw_size)
7465 }
7466 
7467 // repeated uint64 callchain = 11;
_internal_callchain_size()7468 inline int PerfDataProto_SampleEvent::_internal_callchain_size() const {
7469   return _impl_.callchain_.size();
7470 }
callchain_size()7471 inline int PerfDataProto_SampleEvent::callchain_size() const {
7472   return _internal_callchain_size();
7473 }
clear_callchain()7474 inline void PerfDataProto_SampleEvent::clear_callchain() {
7475   _impl_.callchain_.Clear();
7476 }
_internal_callchain(int index)7477 inline uint64_t PerfDataProto_SampleEvent::_internal_callchain(int index) const {
7478   return _impl_.callchain_.Get(index);
7479 }
callchain(int index)7480 inline uint64_t PerfDataProto_SampleEvent::callchain(int index) const {
7481   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.SampleEvent.callchain)
7482   return _internal_callchain(index);
7483 }
set_callchain(int index,uint64_t value)7484 inline void PerfDataProto_SampleEvent::set_callchain(int index, uint64_t value) {
7485   _impl_.callchain_.Set(index, value);
7486   // @@protoc_insertion_point(field_set:metrics.PerfDataProto.SampleEvent.callchain)
7487 }
_internal_add_callchain(uint64_t value)7488 inline void PerfDataProto_SampleEvent::_internal_add_callchain(uint64_t value) {
7489   _impl_.callchain_.Add(value);
7490 }
add_callchain(uint64_t value)7491 inline void PerfDataProto_SampleEvent::add_callchain(uint64_t value) {
7492   _internal_add_callchain(value);
7493   // @@protoc_insertion_point(field_add:metrics.PerfDataProto.SampleEvent.callchain)
7494 }
7495 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >&
_internal_callchain()7496 PerfDataProto_SampleEvent::_internal_callchain() const {
7497   return _impl_.callchain_;
7498 }
7499 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >&
callchain()7500 PerfDataProto_SampleEvent::callchain() const {
7501   // @@protoc_insertion_point(field_list:metrics.PerfDataProto.SampleEvent.callchain)
7502   return _internal_callchain();
7503 }
7504 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >*
_internal_mutable_callchain()7505 PerfDataProto_SampleEvent::_internal_mutable_callchain() {
7506   return &_impl_.callchain_;
7507 }
7508 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >*
mutable_callchain()7509 PerfDataProto_SampleEvent::mutable_callchain() {
7510   // @@protoc_insertion_point(field_mutable_list:metrics.PerfDataProto.SampleEvent.callchain)
7511   return _internal_mutable_callchain();
7512 }
7513 
7514 // repeated .metrics.PerfDataProto.BranchStackEntry branch_stack = 12;
_internal_branch_stack_size()7515 inline int PerfDataProto_SampleEvent::_internal_branch_stack_size() const {
7516   return _impl_.branch_stack_.size();
7517 }
branch_stack_size()7518 inline int PerfDataProto_SampleEvent::branch_stack_size() const {
7519   return _internal_branch_stack_size();
7520 }
clear_branch_stack()7521 inline void PerfDataProto_SampleEvent::clear_branch_stack() {
7522   _impl_.branch_stack_.Clear();
7523 }
mutable_branch_stack(int index)7524 inline ::metrics::PerfDataProto_BranchStackEntry* PerfDataProto_SampleEvent::mutable_branch_stack(int index) {
7525   // @@protoc_insertion_point(field_mutable:metrics.PerfDataProto.SampleEvent.branch_stack)
7526   return _impl_.branch_stack_.Mutable(index);
7527 }
7528 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::PerfDataProto_BranchStackEntry >*
mutable_branch_stack()7529 PerfDataProto_SampleEvent::mutable_branch_stack() {
7530   // @@protoc_insertion_point(field_mutable_list:metrics.PerfDataProto.SampleEvent.branch_stack)
7531   return &_impl_.branch_stack_;
7532 }
_internal_branch_stack(int index)7533 inline const ::metrics::PerfDataProto_BranchStackEntry& PerfDataProto_SampleEvent::_internal_branch_stack(int index) const {
7534   return _impl_.branch_stack_.Get(index);
7535 }
branch_stack(int index)7536 inline const ::metrics::PerfDataProto_BranchStackEntry& PerfDataProto_SampleEvent::branch_stack(int index) const {
7537   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.SampleEvent.branch_stack)
7538   return _internal_branch_stack(index);
7539 }
_internal_add_branch_stack()7540 inline ::metrics::PerfDataProto_BranchStackEntry* PerfDataProto_SampleEvent::_internal_add_branch_stack() {
7541   return _impl_.branch_stack_.Add();
7542 }
add_branch_stack()7543 inline ::metrics::PerfDataProto_BranchStackEntry* PerfDataProto_SampleEvent::add_branch_stack() {
7544   ::metrics::PerfDataProto_BranchStackEntry* _add = _internal_add_branch_stack();
7545   // @@protoc_insertion_point(field_add:metrics.PerfDataProto.SampleEvent.branch_stack)
7546   return _add;
7547 }
7548 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::PerfDataProto_BranchStackEntry >&
branch_stack()7549 PerfDataProto_SampleEvent::branch_stack() const {
7550   // @@protoc_insertion_point(field_list:metrics.PerfDataProto.SampleEvent.branch_stack)
7551   return _impl_.branch_stack_;
7552 }
7553 
7554 // optional uint64 weight = 15;
_internal_has_weight()7555 inline bool PerfDataProto_SampleEvent::_internal_has_weight() const {
7556   bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0;
7557   return value;
7558 }
has_weight()7559 inline bool PerfDataProto_SampleEvent::has_weight() const {
7560   return _internal_has_weight();
7561 }
clear_weight()7562 inline void PerfDataProto_SampleEvent::clear_weight() {
7563   _impl_.weight_ = uint64_t{0u};
7564   _impl_._has_bits_[0] &= ~0x00000400u;
7565 }
_internal_weight()7566 inline uint64_t PerfDataProto_SampleEvent::_internal_weight() const {
7567   return _impl_.weight_;
7568 }
weight()7569 inline uint64_t PerfDataProto_SampleEvent::weight() const {
7570   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.SampleEvent.weight)
7571   return _internal_weight();
7572 }
_internal_set_weight(uint64_t value)7573 inline void PerfDataProto_SampleEvent::_internal_set_weight(uint64_t value) {
7574   _impl_._has_bits_[0] |= 0x00000400u;
7575   _impl_.weight_ = value;
7576 }
set_weight(uint64_t value)7577 inline void PerfDataProto_SampleEvent::set_weight(uint64_t value) {
7578   _internal_set_weight(value);
7579   // @@protoc_insertion_point(field_set:metrics.PerfDataProto.SampleEvent.weight)
7580 }
7581 
7582 // optional uint64 data_src = 16;
_internal_has_data_src()7583 inline bool PerfDataProto_SampleEvent::_internal_has_data_src() const {
7584   bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0;
7585   return value;
7586 }
has_data_src()7587 inline bool PerfDataProto_SampleEvent::has_data_src() const {
7588   return _internal_has_data_src();
7589 }
clear_data_src()7590 inline void PerfDataProto_SampleEvent::clear_data_src() {
7591   _impl_.data_src_ = uint64_t{0u};
7592   _impl_._has_bits_[0] &= ~0x00000800u;
7593 }
_internal_data_src()7594 inline uint64_t PerfDataProto_SampleEvent::_internal_data_src() const {
7595   return _impl_.data_src_;
7596 }
data_src()7597 inline uint64_t PerfDataProto_SampleEvent::data_src() const {
7598   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.SampleEvent.data_src)
7599   return _internal_data_src();
7600 }
_internal_set_data_src(uint64_t value)7601 inline void PerfDataProto_SampleEvent::_internal_set_data_src(uint64_t value) {
7602   _impl_._has_bits_[0] |= 0x00000800u;
7603   _impl_.data_src_ = value;
7604 }
set_data_src(uint64_t value)7605 inline void PerfDataProto_SampleEvent::set_data_src(uint64_t value) {
7606   _internal_set_data_src(value);
7607   // @@protoc_insertion_point(field_set:metrics.PerfDataProto.SampleEvent.data_src)
7608 }
7609 
7610 // optional uint64 transaction = 17;
_internal_has_transaction()7611 inline bool PerfDataProto_SampleEvent::_internal_has_transaction() const {
7612   bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0;
7613   return value;
7614 }
has_transaction()7615 inline bool PerfDataProto_SampleEvent::has_transaction() const {
7616   return _internal_has_transaction();
7617 }
clear_transaction()7618 inline void PerfDataProto_SampleEvent::clear_transaction() {
7619   _impl_.transaction_ = uint64_t{0u};
7620   _impl_._has_bits_[0] &= ~0x00001000u;
7621 }
_internal_transaction()7622 inline uint64_t PerfDataProto_SampleEvent::_internal_transaction() const {
7623   return _impl_.transaction_;
7624 }
transaction()7625 inline uint64_t PerfDataProto_SampleEvent::transaction() const {
7626   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.SampleEvent.transaction)
7627   return _internal_transaction();
7628 }
_internal_set_transaction(uint64_t value)7629 inline void PerfDataProto_SampleEvent::_internal_set_transaction(uint64_t value) {
7630   _impl_._has_bits_[0] |= 0x00001000u;
7631   _impl_.transaction_ = value;
7632 }
set_transaction(uint64_t value)7633 inline void PerfDataProto_SampleEvent::set_transaction(uint64_t value) {
7634   _internal_set_transaction(value);
7635   // @@protoc_insertion_point(field_set:metrics.PerfDataProto.SampleEvent.transaction)
7636 }
7637 
7638 // -------------------------------------------------------------------
7639 
7640 // PerfDataProto_ForkEvent
7641 
7642 // optional uint32 pid = 1;
_internal_has_pid()7643 inline bool PerfDataProto_ForkEvent::_internal_has_pid() const {
7644   bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
7645   return value;
7646 }
has_pid()7647 inline bool PerfDataProto_ForkEvent::has_pid() const {
7648   return _internal_has_pid();
7649 }
clear_pid()7650 inline void PerfDataProto_ForkEvent::clear_pid() {
7651   _impl_.pid_ = 0u;
7652   _impl_._has_bits_[0] &= ~0x00000002u;
7653 }
_internal_pid()7654 inline uint32_t PerfDataProto_ForkEvent::_internal_pid() const {
7655   return _impl_.pid_;
7656 }
pid()7657 inline uint32_t PerfDataProto_ForkEvent::pid() const {
7658   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.ForkEvent.pid)
7659   return _internal_pid();
7660 }
_internal_set_pid(uint32_t value)7661 inline void PerfDataProto_ForkEvent::_internal_set_pid(uint32_t value) {
7662   _impl_._has_bits_[0] |= 0x00000002u;
7663   _impl_.pid_ = value;
7664 }
set_pid(uint32_t value)7665 inline void PerfDataProto_ForkEvent::set_pid(uint32_t value) {
7666   _internal_set_pid(value);
7667   // @@protoc_insertion_point(field_set:metrics.PerfDataProto.ForkEvent.pid)
7668 }
7669 
7670 // optional uint32 ppid = 2;
_internal_has_ppid()7671 inline bool PerfDataProto_ForkEvent::_internal_has_ppid() const {
7672   bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
7673   return value;
7674 }
has_ppid()7675 inline bool PerfDataProto_ForkEvent::has_ppid() const {
7676   return _internal_has_ppid();
7677 }
clear_ppid()7678 inline void PerfDataProto_ForkEvent::clear_ppid() {
7679   _impl_.ppid_ = 0u;
7680   _impl_._has_bits_[0] &= ~0x00000004u;
7681 }
_internal_ppid()7682 inline uint32_t PerfDataProto_ForkEvent::_internal_ppid() const {
7683   return _impl_.ppid_;
7684 }
ppid()7685 inline uint32_t PerfDataProto_ForkEvent::ppid() const {
7686   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.ForkEvent.ppid)
7687   return _internal_ppid();
7688 }
_internal_set_ppid(uint32_t value)7689 inline void PerfDataProto_ForkEvent::_internal_set_ppid(uint32_t value) {
7690   _impl_._has_bits_[0] |= 0x00000004u;
7691   _impl_.ppid_ = value;
7692 }
set_ppid(uint32_t value)7693 inline void PerfDataProto_ForkEvent::set_ppid(uint32_t value) {
7694   _internal_set_ppid(value);
7695   // @@protoc_insertion_point(field_set:metrics.PerfDataProto.ForkEvent.ppid)
7696 }
7697 
7698 // optional uint32 tid = 3;
_internal_has_tid()7699 inline bool PerfDataProto_ForkEvent::_internal_has_tid() const {
7700   bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
7701   return value;
7702 }
has_tid()7703 inline bool PerfDataProto_ForkEvent::has_tid() const {
7704   return _internal_has_tid();
7705 }
clear_tid()7706 inline void PerfDataProto_ForkEvent::clear_tid() {
7707   _impl_.tid_ = 0u;
7708   _impl_._has_bits_[0] &= ~0x00000008u;
7709 }
_internal_tid()7710 inline uint32_t PerfDataProto_ForkEvent::_internal_tid() const {
7711   return _impl_.tid_;
7712 }
tid()7713 inline uint32_t PerfDataProto_ForkEvent::tid() const {
7714   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.ForkEvent.tid)
7715   return _internal_tid();
7716 }
_internal_set_tid(uint32_t value)7717 inline void PerfDataProto_ForkEvent::_internal_set_tid(uint32_t value) {
7718   _impl_._has_bits_[0] |= 0x00000008u;
7719   _impl_.tid_ = value;
7720 }
set_tid(uint32_t value)7721 inline void PerfDataProto_ForkEvent::set_tid(uint32_t value) {
7722   _internal_set_tid(value);
7723   // @@protoc_insertion_point(field_set:metrics.PerfDataProto.ForkEvent.tid)
7724 }
7725 
7726 // optional uint32 ptid = 4;
_internal_has_ptid()7727 inline bool PerfDataProto_ForkEvent::_internal_has_ptid() const {
7728   bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
7729   return value;
7730 }
has_ptid()7731 inline bool PerfDataProto_ForkEvent::has_ptid() const {
7732   return _internal_has_ptid();
7733 }
clear_ptid()7734 inline void PerfDataProto_ForkEvent::clear_ptid() {
7735   _impl_.ptid_ = 0u;
7736   _impl_._has_bits_[0] &= ~0x00000010u;
7737 }
_internal_ptid()7738 inline uint32_t PerfDataProto_ForkEvent::_internal_ptid() const {
7739   return _impl_.ptid_;
7740 }
ptid()7741 inline uint32_t PerfDataProto_ForkEvent::ptid() const {
7742   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.ForkEvent.ptid)
7743   return _internal_ptid();
7744 }
_internal_set_ptid(uint32_t value)7745 inline void PerfDataProto_ForkEvent::_internal_set_ptid(uint32_t value) {
7746   _impl_._has_bits_[0] |= 0x00000010u;
7747   _impl_.ptid_ = value;
7748 }
set_ptid(uint32_t value)7749 inline void PerfDataProto_ForkEvent::set_ptid(uint32_t value) {
7750   _internal_set_ptid(value);
7751   // @@protoc_insertion_point(field_set:metrics.PerfDataProto.ForkEvent.ptid)
7752 }
7753 
7754 // optional uint64 fork_time_ns = 5;
_internal_has_fork_time_ns()7755 inline bool PerfDataProto_ForkEvent::_internal_has_fork_time_ns() const {
7756   bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
7757   return value;
7758 }
has_fork_time_ns()7759 inline bool PerfDataProto_ForkEvent::has_fork_time_ns() const {
7760   return _internal_has_fork_time_ns();
7761 }
clear_fork_time_ns()7762 inline void PerfDataProto_ForkEvent::clear_fork_time_ns() {
7763   _impl_.fork_time_ns_ = uint64_t{0u};
7764   _impl_._has_bits_[0] &= ~0x00000020u;
7765 }
_internal_fork_time_ns()7766 inline uint64_t PerfDataProto_ForkEvent::_internal_fork_time_ns() const {
7767   return _impl_.fork_time_ns_;
7768 }
fork_time_ns()7769 inline uint64_t PerfDataProto_ForkEvent::fork_time_ns() const {
7770   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.ForkEvent.fork_time_ns)
7771   return _internal_fork_time_ns();
7772 }
_internal_set_fork_time_ns(uint64_t value)7773 inline void PerfDataProto_ForkEvent::_internal_set_fork_time_ns(uint64_t value) {
7774   _impl_._has_bits_[0] |= 0x00000020u;
7775   _impl_.fork_time_ns_ = value;
7776 }
set_fork_time_ns(uint64_t value)7777 inline void PerfDataProto_ForkEvent::set_fork_time_ns(uint64_t value) {
7778   _internal_set_fork_time_ns(value);
7779   // @@protoc_insertion_point(field_set:metrics.PerfDataProto.ForkEvent.fork_time_ns)
7780 }
7781 
7782 // optional .metrics.PerfDataProto.SampleInfo sample_info = 11;
_internal_has_sample_info()7783 inline bool PerfDataProto_ForkEvent::_internal_has_sample_info() const {
7784   bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
7785   PROTOBUF_ASSUME(!value || _impl_.sample_info_ != nullptr);
7786   return value;
7787 }
has_sample_info()7788 inline bool PerfDataProto_ForkEvent::has_sample_info() const {
7789   return _internal_has_sample_info();
7790 }
clear_sample_info()7791 inline void PerfDataProto_ForkEvent::clear_sample_info() {
7792   if (_impl_.sample_info_ != nullptr) _impl_.sample_info_->Clear();
7793   _impl_._has_bits_[0] &= ~0x00000001u;
7794 }
_internal_sample_info()7795 inline const ::metrics::PerfDataProto_SampleInfo& PerfDataProto_ForkEvent::_internal_sample_info() const {
7796   const ::metrics::PerfDataProto_SampleInfo* p = _impl_.sample_info_;
7797   return p != nullptr ? *p : reinterpret_cast<const ::metrics::PerfDataProto_SampleInfo&>(
7798       ::metrics::_PerfDataProto_SampleInfo_default_instance_);
7799 }
sample_info()7800 inline const ::metrics::PerfDataProto_SampleInfo& PerfDataProto_ForkEvent::sample_info() const {
7801   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.ForkEvent.sample_info)
7802   return _internal_sample_info();
7803 }
unsafe_arena_set_allocated_sample_info(::metrics::PerfDataProto_SampleInfo * sample_info)7804 inline void PerfDataProto_ForkEvent::unsafe_arena_set_allocated_sample_info(
7805     ::metrics::PerfDataProto_SampleInfo* sample_info) {
7806   if (GetArenaForAllocation() == nullptr) {
7807     delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.sample_info_);
7808   }
7809   _impl_.sample_info_ = sample_info;
7810   if (sample_info) {
7811     _impl_._has_bits_[0] |= 0x00000001u;
7812   } else {
7813     _impl_._has_bits_[0] &= ~0x00000001u;
7814   }
7815   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:metrics.PerfDataProto.ForkEvent.sample_info)
7816 }
release_sample_info()7817 inline ::metrics::PerfDataProto_SampleInfo* PerfDataProto_ForkEvent::release_sample_info() {
7818   _impl_._has_bits_[0] &= ~0x00000001u;
7819   ::metrics::PerfDataProto_SampleInfo* temp = _impl_.sample_info_;
7820   _impl_.sample_info_ = nullptr;
7821 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
7822   auto* old =  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
7823   temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
7824   if (GetArenaForAllocation() == nullptr) { delete old; }
7825 #else  // PROTOBUF_FORCE_COPY_IN_RELEASE
7826   if (GetArenaForAllocation() != nullptr) {
7827     temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
7828   }
7829 #endif  // !PROTOBUF_FORCE_COPY_IN_RELEASE
7830   return temp;
7831 }
unsafe_arena_release_sample_info()7832 inline ::metrics::PerfDataProto_SampleInfo* PerfDataProto_ForkEvent::unsafe_arena_release_sample_info() {
7833   // @@protoc_insertion_point(field_release:metrics.PerfDataProto.ForkEvent.sample_info)
7834   _impl_._has_bits_[0] &= ~0x00000001u;
7835   ::metrics::PerfDataProto_SampleInfo* temp = _impl_.sample_info_;
7836   _impl_.sample_info_ = nullptr;
7837   return temp;
7838 }
_internal_mutable_sample_info()7839 inline ::metrics::PerfDataProto_SampleInfo* PerfDataProto_ForkEvent::_internal_mutable_sample_info() {
7840   _impl_._has_bits_[0] |= 0x00000001u;
7841   if (_impl_.sample_info_ == nullptr) {
7842     auto* p = CreateMaybeMessage<::metrics::PerfDataProto_SampleInfo>(GetArenaForAllocation());
7843     _impl_.sample_info_ = p;
7844   }
7845   return _impl_.sample_info_;
7846 }
mutable_sample_info()7847 inline ::metrics::PerfDataProto_SampleInfo* PerfDataProto_ForkEvent::mutable_sample_info() {
7848   ::metrics::PerfDataProto_SampleInfo* _msg = _internal_mutable_sample_info();
7849   // @@protoc_insertion_point(field_mutable:metrics.PerfDataProto.ForkEvent.sample_info)
7850   return _msg;
7851 }
set_allocated_sample_info(::metrics::PerfDataProto_SampleInfo * sample_info)7852 inline void PerfDataProto_ForkEvent::set_allocated_sample_info(::metrics::PerfDataProto_SampleInfo* sample_info) {
7853   ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
7854   if (message_arena == nullptr) {
7855     delete _impl_.sample_info_;
7856   }
7857   if (sample_info) {
7858     ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
7859         ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(sample_info);
7860     if (message_arena != submessage_arena) {
7861       sample_info = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
7862           message_arena, sample_info, submessage_arena);
7863     }
7864     _impl_._has_bits_[0] |= 0x00000001u;
7865   } else {
7866     _impl_._has_bits_[0] &= ~0x00000001u;
7867   }
7868   _impl_.sample_info_ = sample_info;
7869   // @@protoc_insertion_point(field_set_allocated:metrics.PerfDataProto.ForkEvent.sample_info)
7870 }
7871 
7872 // -------------------------------------------------------------------
7873 
7874 // PerfDataProto_EventHeader
7875 
7876 // optional uint32 type = 1;
_internal_has_type()7877 inline bool PerfDataProto_EventHeader::_internal_has_type() const {
7878   bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
7879   return value;
7880 }
has_type()7881 inline bool PerfDataProto_EventHeader::has_type() const {
7882   return _internal_has_type();
7883 }
clear_type()7884 inline void PerfDataProto_EventHeader::clear_type() {
7885   _impl_.type_ = 0u;
7886   _impl_._has_bits_[0] &= ~0x00000001u;
7887 }
_internal_type()7888 inline uint32_t PerfDataProto_EventHeader::_internal_type() const {
7889   return _impl_.type_;
7890 }
type()7891 inline uint32_t PerfDataProto_EventHeader::type() const {
7892   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.EventHeader.type)
7893   return _internal_type();
7894 }
_internal_set_type(uint32_t value)7895 inline void PerfDataProto_EventHeader::_internal_set_type(uint32_t value) {
7896   _impl_._has_bits_[0] |= 0x00000001u;
7897   _impl_.type_ = value;
7898 }
set_type(uint32_t value)7899 inline void PerfDataProto_EventHeader::set_type(uint32_t value) {
7900   _internal_set_type(value);
7901   // @@protoc_insertion_point(field_set:metrics.PerfDataProto.EventHeader.type)
7902 }
7903 
7904 // optional uint32 misc = 2;
_internal_has_misc()7905 inline bool PerfDataProto_EventHeader::_internal_has_misc() const {
7906   bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
7907   return value;
7908 }
has_misc()7909 inline bool PerfDataProto_EventHeader::has_misc() const {
7910   return _internal_has_misc();
7911 }
clear_misc()7912 inline void PerfDataProto_EventHeader::clear_misc() {
7913   _impl_.misc_ = 0u;
7914   _impl_._has_bits_[0] &= ~0x00000002u;
7915 }
_internal_misc()7916 inline uint32_t PerfDataProto_EventHeader::_internal_misc() const {
7917   return _impl_.misc_;
7918 }
misc()7919 inline uint32_t PerfDataProto_EventHeader::misc() const {
7920   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.EventHeader.misc)
7921   return _internal_misc();
7922 }
_internal_set_misc(uint32_t value)7923 inline void PerfDataProto_EventHeader::_internal_set_misc(uint32_t value) {
7924   _impl_._has_bits_[0] |= 0x00000002u;
7925   _impl_.misc_ = value;
7926 }
set_misc(uint32_t value)7927 inline void PerfDataProto_EventHeader::set_misc(uint32_t value) {
7928   _internal_set_misc(value);
7929   // @@protoc_insertion_point(field_set:metrics.PerfDataProto.EventHeader.misc)
7930 }
7931 
7932 // optional uint32 size = 3;
_internal_has_size()7933 inline bool PerfDataProto_EventHeader::_internal_has_size() const {
7934   bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
7935   return value;
7936 }
has_size()7937 inline bool PerfDataProto_EventHeader::has_size() const {
7938   return _internal_has_size();
7939 }
clear_size()7940 inline void PerfDataProto_EventHeader::clear_size() {
7941   _impl_.size_ = 0u;
7942   _impl_._has_bits_[0] &= ~0x00000004u;
7943 }
_internal_size()7944 inline uint32_t PerfDataProto_EventHeader::_internal_size() const {
7945   return _impl_.size_;
7946 }
size()7947 inline uint32_t PerfDataProto_EventHeader::size() const {
7948   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.EventHeader.size)
7949   return _internal_size();
7950 }
_internal_set_size(uint32_t value)7951 inline void PerfDataProto_EventHeader::_internal_set_size(uint32_t value) {
7952   _impl_._has_bits_[0] |= 0x00000004u;
7953   _impl_.size_ = value;
7954 }
set_size(uint32_t value)7955 inline void PerfDataProto_EventHeader::set_size(uint32_t value) {
7956   _internal_set_size(value);
7957   // @@protoc_insertion_point(field_set:metrics.PerfDataProto.EventHeader.size)
7958 }
7959 
7960 // -------------------------------------------------------------------
7961 
7962 // PerfDataProto_PerfEvent
7963 
7964 // optional .metrics.PerfDataProto.EventHeader header = 1;
_internal_has_header()7965 inline bool PerfDataProto_PerfEvent::_internal_has_header() const {
7966   bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
7967   PROTOBUF_ASSUME(!value || _impl_.header_ != nullptr);
7968   return value;
7969 }
has_header()7970 inline bool PerfDataProto_PerfEvent::has_header() const {
7971   return _internal_has_header();
7972 }
clear_header()7973 inline void PerfDataProto_PerfEvent::clear_header() {
7974   if (_impl_.header_ != nullptr) _impl_.header_->Clear();
7975   _impl_._has_bits_[0] &= ~0x00000001u;
7976 }
_internal_header()7977 inline const ::metrics::PerfDataProto_EventHeader& PerfDataProto_PerfEvent::_internal_header() const {
7978   const ::metrics::PerfDataProto_EventHeader* p = _impl_.header_;
7979   return p != nullptr ? *p : reinterpret_cast<const ::metrics::PerfDataProto_EventHeader&>(
7980       ::metrics::_PerfDataProto_EventHeader_default_instance_);
7981 }
header()7982 inline const ::metrics::PerfDataProto_EventHeader& PerfDataProto_PerfEvent::header() const {
7983   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.PerfEvent.header)
7984   return _internal_header();
7985 }
unsafe_arena_set_allocated_header(::metrics::PerfDataProto_EventHeader * header)7986 inline void PerfDataProto_PerfEvent::unsafe_arena_set_allocated_header(
7987     ::metrics::PerfDataProto_EventHeader* header) {
7988   if (GetArenaForAllocation() == nullptr) {
7989     delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.header_);
7990   }
7991   _impl_.header_ = header;
7992   if (header) {
7993     _impl_._has_bits_[0] |= 0x00000001u;
7994   } else {
7995     _impl_._has_bits_[0] &= ~0x00000001u;
7996   }
7997   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:metrics.PerfDataProto.PerfEvent.header)
7998 }
release_header()7999 inline ::metrics::PerfDataProto_EventHeader* PerfDataProto_PerfEvent::release_header() {
8000   _impl_._has_bits_[0] &= ~0x00000001u;
8001   ::metrics::PerfDataProto_EventHeader* temp = _impl_.header_;
8002   _impl_.header_ = nullptr;
8003 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
8004   auto* old =  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
8005   temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
8006   if (GetArenaForAllocation() == nullptr) { delete old; }
8007 #else  // PROTOBUF_FORCE_COPY_IN_RELEASE
8008   if (GetArenaForAllocation() != nullptr) {
8009     temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
8010   }
8011 #endif  // !PROTOBUF_FORCE_COPY_IN_RELEASE
8012   return temp;
8013 }
unsafe_arena_release_header()8014 inline ::metrics::PerfDataProto_EventHeader* PerfDataProto_PerfEvent::unsafe_arena_release_header() {
8015   // @@protoc_insertion_point(field_release:metrics.PerfDataProto.PerfEvent.header)
8016   _impl_._has_bits_[0] &= ~0x00000001u;
8017   ::metrics::PerfDataProto_EventHeader* temp = _impl_.header_;
8018   _impl_.header_ = nullptr;
8019   return temp;
8020 }
_internal_mutable_header()8021 inline ::metrics::PerfDataProto_EventHeader* PerfDataProto_PerfEvent::_internal_mutable_header() {
8022   _impl_._has_bits_[0] |= 0x00000001u;
8023   if (_impl_.header_ == nullptr) {
8024     auto* p = CreateMaybeMessage<::metrics::PerfDataProto_EventHeader>(GetArenaForAllocation());
8025     _impl_.header_ = p;
8026   }
8027   return _impl_.header_;
8028 }
mutable_header()8029 inline ::metrics::PerfDataProto_EventHeader* PerfDataProto_PerfEvent::mutable_header() {
8030   ::metrics::PerfDataProto_EventHeader* _msg = _internal_mutable_header();
8031   // @@protoc_insertion_point(field_mutable:metrics.PerfDataProto.PerfEvent.header)
8032   return _msg;
8033 }
set_allocated_header(::metrics::PerfDataProto_EventHeader * header)8034 inline void PerfDataProto_PerfEvent::set_allocated_header(::metrics::PerfDataProto_EventHeader* header) {
8035   ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
8036   if (message_arena == nullptr) {
8037     delete _impl_.header_;
8038   }
8039   if (header) {
8040     ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
8041         ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(header);
8042     if (message_arena != submessage_arena) {
8043       header = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
8044           message_arena, header, submessage_arena);
8045     }
8046     _impl_._has_bits_[0] |= 0x00000001u;
8047   } else {
8048     _impl_._has_bits_[0] &= ~0x00000001u;
8049   }
8050   _impl_.header_ = header;
8051   // @@protoc_insertion_point(field_set_allocated:metrics.PerfDataProto.PerfEvent.header)
8052 }
8053 
8054 // .metrics.PerfDataProto.MMapEvent mmap_event = 2;
_internal_has_mmap_event()8055 inline bool PerfDataProto_PerfEvent::_internal_has_mmap_event() const {
8056   return event_type_case() == kMmapEvent;
8057 }
has_mmap_event()8058 inline bool PerfDataProto_PerfEvent::has_mmap_event() const {
8059   return _internal_has_mmap_event();
8060 }
set_has_mmap_event()8061 inline void PerfDataProto_PerfEvent::set_has_mmap_event() {
8062   _impl_._oneof_case_[0] = kMmapEvent;
8063 }
clear_mmap_event()8064 inline void PerfDataProto_PerfEvent::clear_mmap_event() {
8065   if (_internal_has_mmap_event()) {
8066     if (GetArenaForAllocation() == nullptr) {
8067       delete _impl_.event_type_.mmap_event_;
8068     }
8069     clear_has_event_type();
8070   }
8071 }
release_mmap_event()8072 inline ::metrics::PerfDataProto_MMapEvent* PerfDataProto_PerfEvent::release_mmap_event() {
8073   // @@protoc_insertion_point(field_release:metrics.PerfDataProto.PerfEvent.mmap_event)
8074   if (_internal_has_mmap_event()) {
8075     clear_has_event_type();
8076     ::metrics::PerfDataProto_MMapEvent* temp = _impl_.event_type_.mmap_event_;
8077     if (GetArenaForAllocation() != nullptr) {
8078       temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
8079     }
8080     _impl_.event_type_.mmap_event_ = nullptr;
8081     return temp;
8082   } else {
8083     return nullptr;
8084   }
8085 }
_internal_mmap_event()8086 inline const ::metrics::PerfDataProto_MMapEvent& PerfDataProto_PerfEvent::_internal_mmap_event() const {
8087   return _internal_has_mmap_event()
8088       ? *_impl_.event_type_.mmap_event_
8089       : reinterpret_cast< ::metrics::PerfDataProto_MMapEvent&>(::metrics::_PerfDataProto_MMapEvent_default_instance_);
8090 }
mmap_event()8091 inline const ::metrics::PerfDataProto_MMapEvent& PerfDataProto_PerfEvent::mmap_event() const {
8092   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.PerfEvent.mmap_event)
8093   return _internal_mmap_event();
8094 }
unsafe_arena_release_mmap_event()8095 inline ::metrics::PerfDataProto_MMapEvent* PerfDataProto_PerfEvent::unsafe_arena_release_mmap_event() {
8096   // @@protoc_insertion_point(field_unsafe_arena_release:metrics.PerfDataProto.PerfEvent.mmap_event)
8097   if (_internal_has_mmap_event()) {
8098     clear_has_event_type();
8099     ::metrics::PerfDataProto_MMapEvent* temp = _impl_.event_type_.mmap_event_;
8100     _impl_.event_type_.mmap_event_ = nullptr;
8101     return temp;
8102   } else {
8103     return nullptr;
8104   }
8105 }
unsafe_arena_set_allocated_mmap_event(::metrics::PerfDataProto_MMapEvent * mmap_event)8106 inline void PerfDataProto_PerfEvent::unsafe_arena_set_allocated_mmap_event(::metrics::PerfDataProto_MMapEvent* mmap_event) {
8107   clear_event_type();
8108   if (mmap_event) {
8109     set_has_mmap_event();
8110     _impl_.event_type_.mmap_event_ = mmap_event;
8111   }
8112   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:metrics.PerfDataProto.PerfEvent.mmap_event)
8113 }
_internal_mutable_mmap_event()8114 inline ::metrics::PerfDataProto_MMapEvent* PerfDataProto_PerfEvent::_internal_mutable_mmap_event() {
8115   if (!_internal_has_mmap_event()) {
8116     clear_event_type();
8117     set_has_mmap_event();
8118     _impl_.event_type_.mmap_event_ = CreateMaybeMessage< ::metrics::PerfDataProto_MMapEvent >(GetArenaForAllocation());
8119   }
8120   return _impl_.event_type_.mmap_event_;
8121 }
mutable_mmap_event()8122 inline ::metrics::PerfDataProto_MMapEvent* PerfDataProto_PerfEvent::mutable_mmap_event() {
8123   ::metrics::PerfDataProto_MMapEvent* _msg = _internal_mutable_mmap_event();
8124   // @@protoc_insertion_point(field_mutable:metrics.PerfDataProto.PerfEvent.mmap_event)
8125   return _msg;
8126 }
8127 
8128 // .metrics.PerfDataProto.SampleEvent sample_event = 3;
_internal_has_sample_event()8129 inline bool PerfDataProto_PerfEvent::_internal_has_sample_event() const {
8130   return event_type_case() == kSampleEvent;
8131 }
has_sample_event()8132 inline bool PerfDataProto_PerfEvent::has_sample_event() const {
8133   return _internal_has_sample_event();
8134 }
set_has_sample_event()8135 inline void PerfDataProto_PerfEvent::set_has_sample_event() {
8136   _impl_._oneof_case_[0] = kSampleEvent;
8137 }
clear_sample_event()8138 inline void PerfDataProto_PerfEvent::clear_sample_event() {
8139   if (_internal_has_sample_event()) {
8140     if (GetArenaForAllocation() == nullptr) {
8141       delete _impl_.event_type_.sample_event_;
8142     }
8143     clear_has_event_type();
8144   }
8145 }
release_sample_event()8146 inline ::metrics::PerfDataProto_SampleEvent* PerfDataProto_PerfEvent::release_sample_event() {
8147   // @@protoc_insertion_point(field_release:metrics.PerfDataProto.PerfEvent.sample_event)
8148   if (_internal_has_sample_event()) {
8149     clear_has_event_type();
8150     ::metrics::PerfDataProto_SampleEvent* temp = _impl_.event_type_.sample_event_;
8151     if (GetArenaForAllocation() != nullptr) {
8152       temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
8153     }
8154     _impl_.event_type_.sample_event_ = nullptr;
8155     return temp;
8156   } else {
8157     return nullptr;
8158   }
8159 }
_internal_sample_event()8160 inline const ::metrics::PerfDataProto_SampleEvent& PerfDataProto_PerfEvent::_internal_sample_event() const {
8161   return _internal_has_sample_event()
8162       ? *_impl_.event_type_.sample_event_
8163       : reinterpret_cast< ::metrics::PerfDataProto_SampleEvent&>(::metrics::_PerfDataProto_SampleEvent_default_instance_);
8164 }
sample_event()8165 inline const ::metrics::PerfDataProto_SampleEvent& PerfDataProto_PerfEvent::sample_event() const {
8166   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.PerfEvent.sample_event)
8167   return _internal_sample_event();
8168 }
unsafe_arena_release_sample_event()8169 inline ::metrics::PerfDataProto_SampleEvent* PerfDataProto_PerfEvent::unsafe_arena_release_sample_event() {
8170   // @@protoc_insertion_point(field_unsafe_arena_release:metrics.PerfDataProto.PerfEvent.sample_event)
8171   if (_internal_has_sample_event()) {
8172     clear_has_event_type();
8173     ::metrics::PerfDataProto_SampleEvent* temp = _impl_.event_type_.sample_event_;
8174     _impl_.event_type_.sample_event_ = nullptr;
8175     return temp;
8176   } else {
8177     return nullptr;
8178   }
8179 }
unsafe_arena_set_allocated_sample_event(::metrics::PerfDataProto_SampleEvent * sample_event)8180 inline void PerfDataProto_PerfEvent::unsafe_arena_set_allocated_sample_event(::metrics::PerfDataProto_SampleEvent* sample_event) {
8181   clear_event_type();
8182   if (sample_event) {
8183     set_has_sample_event();
8184     _impl_.event_type_.sample_event_ = sample_event;
8185   }
8186   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:metrics.PerfDataProto.PerfEvent.sample_event)
8187 }
_internal_mutable_sample_event()8188 inline ::metrics::PerfDataProto_SampleEvent* PerfDataProto_PerfEvent::_internal_mutable_sample_event() {
8189   if (!_internal_has_sample_event()) {
8190     clear_event_type();
8191     set_has_sample_event();
8192     _impl_.event_type_.sample_event_ = CreateMaybeMessage< ::metrics::PerfDataProto_SampleEvent >(GetArenaForAllocation());
8193   }
8194   return _impl_.event_type_.sample_event_;
8195 }
mutable_sample_event()8196 inline ::metrics::PerfDataProto_SampleEvent* PerfDataProto_PerfEvent::mutable_sample_event() {
8197   ::metrics::PerfDataProto_SampleEvent* _msg = _internal_mutable_sample_event();
8198   // @@protoc_insertion_point(field_mutable:metrics.PerfDataProto.PerfEvent.sample_event)
8199   return _msg;
8200 }
8201 
8202 // .metrics.PerfDataProto.CommEvent comm_event = 4;
_internal_has_comm_event()8203 inline bool PerfDataProto_PerfEvent::_internal_has_comm_event() const {
8204   return event_type_case() == kCommEvent;
8205 }
has_comm_event()8206 inline bool PerfDataProto_PerfEvent::has_comm_event() const {
8207   return _internal_has_comm_event();
8208 }
set_has_comm_event()8209 inline void PerfDataProto_PerfEvent::set_has_comm_event() {
8210   _impl_._oneof_case_[0] = kCommEvent;
8211 }
clear_comm_event()8212 inline void PerfDataProto_PerfEvent::clear_comm_event() {
8213   if (_internal_has_comm_event()) {
8214     if (GetArenaForAllocation() == nullptr) {
8215       delete _impl_.event_type_.comm_event_;
8216     }
8217     clear_has_event_type();
8218   }
8219 }
release_comm_event()8220 inline ::metrics::PerfDataProto_CommEvent* PerfDataProto_PerfEvent::release_comm_event() {
8221   // @@protoc_insertion_point(field_release:metrics.PerfDataProto.PerfEvent.comm_event)
8222   if (_internal_has_comm_event()) {
8223     clear_has_event_type();
8224     ::metrics::PerfDataProto_CommEvent* temp = _impl_.event_type_.comm_event_;
8225     if (GetArenaForAllocation() != nullptr) {
8226       temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
8227     }
8228     _impl_.event_type_.comm_event_ = nullptr;
8229     return temp;
8230   } else {
8231     return nullptr;
8232   }
8233 }
_internal_comm_event()8234 inline const ::metrics::PerfDataProto_CommEvent& PerfDataProto_PerfEvent::_internal_comm_event() const {
8235   return _internal_has_comm_event()
8236       ? *_impl_.event_type_.comm_event_
8237       : reinterpret_cast< ::metrics::PerfDataProto_CommEvent&>(::metrics::_PerfDataProto_CommEvent_default_instance_);
8238 }
comm_event()8239 inline const ::metrics::PerfDataProto_CommEvent& PerfDataProto_PerfEvent::comm_event() const {
8240   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.PerfEvent.comm_event)
8241   return _internal_comm_event();
8242 }
unsafe_arena_release_comm_event()8243 inline ::metrics::PerfDataProto_CommEvent* PerfDataProto_PerfEvent::unsafe_arena_release_comm_event() {
8244   // @@protoc_insertion_point(field_unsafe_arena_release:metrics.PerfDataProto.PerfEvent.comm_event)
8245   if (_internal_has_comm_event()) {
8246     clear_has_event_type();
8247     ::metrics::PerfDataProto_CommEvent* temp = _impl_.event_type_.comm_event_;
8248     _impl_.event_type_.comm_event_ = nullptr;
8249     return temp;
8250   } else {
8251     return nullptr;
8252   }
8253 }
unsafe_arena_set_allocated_comm_event(::metrics::PerfDataProto_CommEvent * comm_event)8254 inline void PerfDataProto_PerfEvent::unsafe_arena_set_allocated_comm_event(::metrics::PerfDataProto_CommEvent* comm_event) {
8255   clear_event_type();
8256   if (comm_event) {
8257     set_has_comm_event();
8258     _impl_.event_type_.comm_event_ = comm_event;
8259   }
8260   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:metrics.PerfDataProto.PerfEvent.comm_event)
8261 }
_internal_mutable_comm_event()8262 inline ::metrics::PerfDataProto_CommEvent* PerfDataProto_PerfEvent::_internal_mutable_comm_event() {
8263   if (!_internal_has_comm_event()) {
8264     clear_event_type();
8265     set_has_comm_event();
8266     _impl_.event_type_.comm_event_ = CreateMaybeMessage< ::metrics::PerfDataProto_CommEvent >(GetArenaForAllocation());
8267   }
8268   return _impl_.event_type_.comm_event_;
8269 }
mutable_comm_event()8270 inline ::metrics::PerfDataProto_CommEvent* PerfDataProto_PerfEvent::mutable_comm_event() {
8271   ::metrics::PerfDataProto_CommEvent* _msg = _internal_mutable_comm_event();
8272   // @@protoc_insertion_point(field_mutable:metrics.PerfDataProto.PerfEvent.comm_event)
8273   return _msg;
8274 }
8275 
8276 // .metrics.PerfDataProto.ForkEvent fork_event = 5;
_internal_has_fork_event()8277 inline bool PerfDataProto_PerfEvent::_internal_has_fork_event() const {
8278   return event_type_case() == kForkEvent;
8279 }
has_fork_event()8280 inline bool PerfDataProto_PerfEvent::has_fork_event() const {
8281   return _internal_has_fork_event();
8282 }
set_has_fork_event()8283 inline void PerfDataProto_PerfEvent::set_has_fork_event() {
8284   _impl_._oneof_case_[0] = kForkEvent;
8285 }
clear_fork_event()8286 inline void PerfDataProto_PerfEvent::clear_fork_event() {
8287   if (_internal_has_fork_event()) {
8288     if (GetArenaForAllocation() == nullptr) {
8289       delete _impl_.event_type_.fork_event_;
8290     }
8291     clear_has_event_type();
8292   }
8293 }
release_fork_event()8294 inline ::metrics::PerfDataProto_ForkEvent* PerfDataProto_PerfEvent::release_fork_event() {
8295   // @@protoc_insertion_point(field_release:metrics.PerfDataProto.PerfEvent.fork_event)
8296   if (_internal_has_fork_event()) {
8297     clear_has_event_type();
8298     ::metrics::PerfDataProto_ForkEvent* temp = _impl_.event_type_.fork_event_;
8299     if (GetArenaForAllocation() != nullptr) {
8300       temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
8301     }
8302     _impl_.event_type_.fork_event_ = nullptr;
8303     return temp;
8304   } else {
8305     return nullptr;
8306   }
8307 }
_internal_fork_event()8308 inline const ::metrics::PerfDataProto_ForkEvent& PerfDataProto_PerfEvent::_internal_fork_event() const {
8309   return _internal_has_fork_event()
8310       ? *_impl_.event_type_.fork_event_
8311       : reinterpret_cast< ::metrics::PerfDataProto_ForkEvent&>(::metrics::_PerfDataProto_ForkEvent_default_instance_);
8312 }
fork_event()8313 inline const ::metrics::PerfDataProto_ForkEvent& PerfDataProto_PerfEvent::fork_event() const {
8314   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.PerfEvent.fork_event)
8315   return _internal_fork_event();
8316 }
unsafe_arena_release_fork_event()8317 inline ::metrics::PerfDataProto_ForkEvent* PerfDataProto_PerfEvent::unsafe_arena_release_fork_event() {
8318   // @@protoc_insertion_point(field_unsafe_arena_release:metrics.PerfDataProto.PerfEvent.fork_event)
8319   if (_internal_has_fork_event()) {
8320     clear_has_event_type();
8321     ::metrics::PerfDataProto_ForkEvent* temp = _impl_.event_type_.fork_event_;
8322     _impl_.event_type_.fork_event_ = nullptr;
8323     return temp;
8324   } else {
8325     return nullptr;
8326   }
8327 }
unsafe_arena_set_allocated_fork_event(::metrics::PerfDataProto_ForkEvent * fork_event)8328 inline void PerfDataProto_PerfEvent::unsafe_arena_set_allocated_fork_event(::metrics::PerfDataProto_ForkEvent* fork_event) {
8329   clear_event_type();
8330   if (fork_event) {
8331     set_has_fork_event();
8332     _impl_.event_type_.fork_event_ = fork_event;
8333   }
8334   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:metrics.PerfDataProto.PerfEvent.fork_event)
8335 }
_internal_mutable_fork_event()8336 inline ::metrics::PerfDataProto_ForkEvent* PerfDataProto_PerfEvent::_internal_mutable_fork_event() {
8337   if (!_internal_has_fork_event()) {
8338     clear_event_type();
8339     set_has_fork_event();
8340     _impl_.event_type_.fork_event_ = CreateMaybeMessage< ::metrics::PerfDataProto_ForkEvent >(GetArenaForAllocation());
8341   }
8342   return _impl_.event_type_.fork_event_;
8343 }
mutable_fork_event()8344 inline ::metrics::PerfDataProto_ForkEvent* PerfDataProto_PerfEvent::mutable_fork_event() {
8345   ::metrics::PerfDataProto_ForkEvent* _msg = _internal_mutable_fork_event();
8346   // @@protoc_insertion_point(field_mutable:metrics.PerfDataProto.PerfEvent.fork_event)
8347   return _msg;
8348 }
8349 
8350 // .metrics.PerfDataProto.ForkEvent exit_event = 9;
_internal_has_exit_event()8351 inline bool PerfDataProto_PerfEvent::_internal_has_exit_event() const {
8352   return event_type_case() == kExitEvent;
8353 }
has_exit_event()8354 inline bool PerfDataProto_PerfEvent::has_exit_event() const {
8355   return _internal_has_exit_event();
8356 }
set_has_exit_event()8357 inline void PerfDataProto_PerfEvent::set_has_exit_event() {
8358   _impl_._oneof_case_[0] = kExitEvent;
8359 }
clear_exit_event()8360 inline void PerfDataProto_PerfEvent::clear_exit_event() {
8361   if (_internal_has_exit_event()) {
8362     if (GetArenaForAllocation() == nullptr) {
8363       delete _impl_.event_type_.exit_event_;
8364     }
8365     clear_has_event_type();
8366   }
8367 }
release_exit_event()8368 inline ::metrics::PerfDataProto_ForkEvent* PerfDataProto_PerfEvent::release_exit_event() {
8369   // @@protoc_insertion_point(field_release:metrics.PerfDataProto.PerfEvent.exit_event)
8370   if (_internal_has_exit_event()) {
8371     clear_has_event_type();
8372     ::metrics::PerfDataProto_ForkEvent* temp = _impl_.event_type_.exit_event_;
8373     if (GetArenaForAllocation() != nullptr) {
8374       temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
8375     }
8376     _impl_.event_type_.exit_event_ = nullptr;
8377     return temp;
8378   } else {
8379     return nullptr;
8380   }
8381 }
_internal_exit_event()8382 inline const ::metrics::PerfDataProto_ForkEvent& PerfDataProto_PerfEvent::_internal_exit_event() const {
8383   return _internal_has_exit_event()
8384       ? *_impl_.event_type_.exit_event_
8385       : reinterpret_cast< ::metrics::PerfDataProto_ForkEvent&>(::metrics::_PerfDataProto_ForkEvent_default_instance_);
8386 }
exit_event()8387 inline const ::metrics::PerfDataProto_ForkEvent& PerfDataProto_PerfEvent::exit_event() const {
8388   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.PerfEvent.exit_event)
8389   return _internal_exit_event();
8390 }
unsafe_arena_release_exit_event()8391 inline ::metrics::PerfDataProto_ForkEvent* PerfDataProto_PerfEvent::unsafe_arena_release_exit_event() {
8392   // @@protoc_insertion_point(field_unsafe_arena_release:metrics.PerfDataProto.PerfEvent.exit_event)
8393   if (_internal_has_exit_event()) {
8394     clear_has_event_type();
8395     ::metrics::PerfDataProto_ForkEvent* temp = _impl_.event_type_.exit_event_;
8396     _impl_.event_type_.exit_event_ = nullptr;
8397     return temp;
8398   } else {
8399     return nullptr;
8400   }
8401 }
unsafe_arena_set_allocated_exit_event(::metrics::PerfDataProto_ForkEvent * exit_event)8402 inline void PerfDataProto_PerfEvent::unsafe_arena_set_allocated_exit_event(::metrics::PerfDataProto_ForkEvent* exit_event) {
8403   clear_event_type();
8404   if (exit_event) {
8405     set_has_exit_event();
8406     _impl_.event_type_.exit_event_ = exit_event;
8407   }
8408   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:metrics.PerfDataProto.PerfEvent.exit_event)
8409 }
_internal_mutable_exit_event()8410 inline ::metrics::PerfDataProto_ForkEvent* PerfDataProto_PerfEvent::_internal_mutable_exit_event() {
8411   if (!_internal_has_exit_event()) {
8412     clear_event_type();
8413     set_has_exit_event();
8414     _impl_.event_type_.exit_event_ = CreateMaybeMessage< ::metrics::PerfDataProto_ForkEvent >(GetArenaForAllocation());
8415   }
8416   return _impl_.event_type_.exit_event_;
8417 }
mutable_exit_event()8418 inline ::metrics::PerfDataProto_ForkEvent* PerfDataProto_PerfEvent::mutable_exit_event() {
8419   ::metrics::PerfDataProto_ForkEvent* _msg = _internal_mutable_exit_event();
8420   // @@protoc_insertion_point(field_mutable:metrics.PerfDataProto.PerfEvent.exit_event)
8421   return _msg;
8422 }
8423 
8424 // .metrics.PerfDataProto.LostEvent lost_event = 6;
_internal_has_lost_event()8425 inline bool PerfDataProto_PerfEvent::_internal_has_lost_event() const {
8426   return event_type_case() == kLostEvent;
8427 }
has_lost_event()8428 inline bool PerfDataProto_PerfEvent::has_lost_event() const {
8429   return _internal_has_lost_event();
8430 }
set_has_lost_event()8431 inline void PerfDataProto_PerfEvent::set_has_lost_event() {
8432   _impl_._oneof_case_[0] = kLostEvent;
8433 }
clear_lost_event()8434 inline void PerfDataProto_PerfEvent::clear_lost_event() {
8435   if (_internal_has_lost_event()) {
8436     if (GetArenaForAllocation() == nullptr) {
8437       delete _impl_.event_type_.lost_event_;
8438     }
8439     clear_has_event_type();
8440   }
8441 }
release_lost_event()8442 inline ::metrics::PerfDataProto_LostEvent* PerfDataProto_PerfEvent::release_lost_event() {
8443   // @@protoc_insertion_point(field_release:metrics.PerfDataProto.PerfEvent.lost_event)
8444   if (_internal_has_lost_event()) {
8445     clear_has_event_type();
8446     ::metrics::PerfDataProto_LostEvent* temp = _impl_.event_type_.lost_event_;
8447     if (GetArenaForAllocation() != nullptr) {
8448       temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
8449     }
8450     _impl_.event_type_.lost_event_ = nullptr;
8451     return temp;
8452   } else {
8453     return nullptr;
8454   }
8455 }
_internal_lost_event()8456 inline const ::metrics::PerfDataProto_LostEvent& PerfDataProto_PerfEvent::_internal_lost_event() const {
8457   return _internal_has_lost_event()
8458       ? *_impl_.event_type_.lost_event_
8459       : reinterpret_cast< ::metrics::PerfDataProto_LostEvent&>(::metrics::_PerfDataProto_LostEvent_default_instance_);
8460 }
lost_event()8461 inline const ::metrics::PerfDataProto_LostEvent& PerfDataProto_PerfEvent::lost_event() const {
8462   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.PerfEvent.lost_event)
8463   return _internal_lost_event();
8464 }
unsafe_arena_release_lost_event()8465 inline ::metrics::PerfDataProto_LostEvent* PerfDataProto_PerfEvent::unsafe_arena_release_lost_event() {
8466   // @@protoc_insertion_point(field_unsafe_arena_release:metrics.PerfDataProto.PerfEvent.lost_event)
8467   if (_internal_has_lost_event()) {
8468     clear_has_event_type();
8469     ::metrics::PerfDataProto_LostEvent* temp = _impl_.event_type_.lost_event_;
8470     _impl_.event_type_.lost_event_ = nullptr;
8471     return temp;
8472   } else {
8473     return nullptr;
8474   }
8475 }
unsafe_arena_set_allocated_lost_event(::metrics::PerfDataProto_LostEvent * lost_event)8476 inline void PerfDataProto_PerfEvent::unsafe_arena_set_allocated_lost_event(::metrics::PerfDataProto_LostEvent* lost_event) {
8477   clear_event_type();
8478   if (lost_event) {
8479     set_has_lost_event();
8480     _impl_.event_type_.lost_event_ = lost_event;
8481   }
8482   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:metrics.PerfDataProto.PerfEvent.lost_event)
8483 }
_internal_mutable_lost_event()8484 inline ::metrics::PerfDataProto_LostEvent* PerfDataProto_PerfEvent::_internal_mutable_lost_event() {
8485   if (!_internal_has_lost_event()) {
8486     clear_event_type();
8487     set_has_lost_event();
8488     _impl_.event_type_.lost_event_ = CreateMaybeMessage< ::metrics::PerfDataProto_LostEvent >(GetArenaForAllocation());
8489   }
8490   return _impl_.event_type_.lost_event_;
8491 }
mutable_lost_event()8492 inline ::metrics::PerfDataProto_LostEvent* PerfDataProto_PerfEvent::mutable_lost_event() {
8493   ::metrics::PerfDataProto_LostEvent* _msg = _internal_mutable_lost_event();
8494   // @@protoc_insertion_point(field_mutable:metrics.PerfDataProto.PerfEvent.lost_event)
8495   return _msg;
8496 }
8497 
8498 // .metrics.PerfDataProto.ThrottleEvent throttle_event = 7;
_internal_has_throttle_event()8499 inline bool PerfDataProto_PerfEvent::_internal_has_throttle_event() const {
8500   return event_type_case() == kThrottleEvent;
8501 }
has_throttle_event()8502 inline bool PerfDataProto_PerfEvent::has_throttle_event() const {
8503   return _internal_has_throttle_event();
8504 }
set_has_throttle_event()8505 inline void PerfDataProto_PerfEvent::set_has_throttle_event() {
8506   _impl_._oneof_case_[0] = kThrottleEvent;
8507 }
clear_throttle_event()8508 inline void PerfDataProto_PerfEvent::clear_throttle_event() {
8509   if (_internal_has_throttle_event()) {
8510     if (GetArenaForAllocation() == nullptr) {
8511       delete _impl_.event_type_.throttle_event_;
8512     }
8513     clear_has_event_type();
8514   }
8515 }
release_throttle_event()8516 inline ::metrics::PerfDataProto_ThrottleEvent* PerfDataProto_PerfEvent::release_throttle_event() {
8517   // @@protoc_insertion_point(field_release:metrics.PerfDataProto.PerfEvent.throttle_event)
8518   if (_internal_has_throttle_event()) {
8519     clear_has_event_type();
8520     ::metrics::PerfDataProto_ThrottleEvent* temp = _impl_.event_type_.throttle_event_;
8521     if (GetArenaForAllocation() != nullptr) {
8522       temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
8523     }
8524     _impl_.event_type_.throttle_event_ = nullptr;
8525     return temp;
8526   } else {
8527     return nullptr;
8528   }
8529 }
_internal_throttle_event()8530 inline const ::metrics::PerfDataProto_ThrottleEvent& PerfDataProto_PerfEvent::_internal_throttle_event() const {
8531   return _internal_has_throttle_event()
8532       ? *_impl_.event_type_.throttle_event_
8533       : reinterpret_cast< ::metrics::PerfDataProto_ThrottleEvent&>(::metrics::_PerfDataProto_ThrottleEvent_default_instance_);
8534 }
throttle_event()8535 inline const ::metrics::PerfDataProto_ThrottleEvent& PerfDataProto_PerfEvent::throttle_event() const {
8536   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.PerfEvent.throttle_event)
8537   return _internal_throttle_event();
8538 }
unsafe_arena_release_throttle_event()8539 inline ::metrics::PerfDataProto_ThrottleEvent* PerfDataProto_PerfEvent::unsafe_arena_release_throttle_event() {
8540   // @@protoc_insertion_point(field_unsafe_arena_release:metrics.PerfDataProto.PerfEvent.throttle_event)
8541   if (_internal_has_throttle_event()) {
8542     clear_has_event_type();
8543     ::metrics::PerfDataProto_ThrottleEvent* temp = _impl_.event_type_.throttle_event_;
8544     _impl_.event_type_.throttle_event_ = nullptr;
8545     return temp;
8546   } else {
8547     return nullptr;
8548   }
8549 }
unsafe_arena_set_allocated_throttle_event(::metrics::PerfDataProto_ThrottleEvent * throttle_event)8550 inline void PerfDataProto_PerfEvent::unsafe_arena_set_allocated_throttle_event(::metrics::PerfDataProto_ThrottleEvent* throttle_event) {
8551   clear_event_type();
8552   if (throttle_event) {
8553     set_has_throttle_event();
8554     _impl_.event_type_.throttle_event_ = throttle_event;
8555   }
8556   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:metrics.PerfDataProto.PerfEvent.throttle_event)
8557 }
_internal_mutable_throttle_event()8558 inline ::metrics::PerfDataProto_ThrottleEvent* PerfDataProto_PerfEvent::_internal_mutable_throttle_event() {
8559   if (!_internal_has_throttle_event()) {
8560     clear_event_type();
8561     set_has_throttle_event();
8562     _impl_.event_type_.throttle_event_ = CreateMaybeMessage< ::metrics::PerfDataProto_ThrottleEvent >(GetArenaForAllocation());
8563   }
8564   return _impl_.event_type_.throttle_event_;
8565 }
mutable_throttle_event()8566 inline ::metrics::PerfDataProto_ThrottleEvent* PerfDataProto_PerfEvent::mutable_throttle_event() {
8567   ::metrics::PerfDataProto_ThrottleEvent* _msg = _internal_mutable_throttle_event();
8568   // @@protoc_insertion_point(field_mutable:metrics.PerfDataProto.PerfEvent.throttle_event)
8569   return _msg;
8570 }
8571 
8572 // optional uint64 timestamp = 10;
_internal_has_timestamp()8573 inline bool PerfDataProto_PerfEvent::_internal_has_timestamp() const {
8574   bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
8575   return value;
8576 }
has_timestamp()8577 inline bool PerfDataProto_PerfEvent::has_timestamp() const {
8578   return _internal_has_timestamp();
8579 }
clear_timestamp()8580 inline void PerfDataProto_PerfEvent::clear_timestamp() {
8581   _impl_.timestamp_ = uint64_t{0u};
8582   _impl_._has_bits_[0] &= ~0x00000002u;
8583 }
_internal_timestamp()8584 inline uint64_t PerfDataProto_PerfEvent::_internal_timestamp() const {
8585   return _impl_.timestamp_;
8586 }
timestamp()8587 inline uint64_t PerfDataProto_PerfEvent::timestamp() const {
8588   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.PerfEvent.timestamp)
8589   return _internal_timestamp();
8590 }
_internal_set_timestamp(uint64_t value)8591 inline void PerfDataProto_PerfEvent::_internal_set_timestamp(uint64_t value) {
8592   _impl_._has_bits_[0] |= 0x00000002u;
8593   _impl_.timestamp_ = value;
8594 }
set_timestamp(uint64_t value)8595 inline void PerfDataProto_PerfEvent::set_timestamp(uint64_t value) {
8596   _internal_set_timestamp(value);
8597   // @@protoc_insertion_point(field_set:metrics.PerfDataProto.PerfEvent.timestamp)
8598 }
8599 
has_event_type()8600 inline bool PerfDataProto_PerfEvent::has_event_type() const {
8601   return event_type_case() != EVENT_TYPE_NOT_SET;
8602 }
clear_has_event_type()8603 inline void PerfDataProto_PerfEvent::clear_has_event_type() {
8604   _impl_._oneof_case_[0] = EVENT_TYPE_NOT_SET;
8605 }
event_type_case()8606 inline PerfDataProto_PerfEvent::EventTypeCase PerfDataProto_PerfEvent::event_type_case() const {
8607   return PerfDataProto_PerfEvent::EventTypeCase(_impl_._oneof_case_[0]);
8608 }
8609 // -------------------------------------------------------------------
8610 
8611 // PerfDataProto_PerfEventStats
8612 
8613 // optional uint32 num_events_read = 1;
_internal_has_num_events_read()8614 inline bool PerfDataProto_PerfEventStats::_internal_has_num_events_read() const {
8615   bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
8616   return value;
8617 }
has_num_events_read()8618 inline bool PerfDataProto_PerfEventStats::has_num_events_read() const {
8619   return _internal_has_num_events_read();
8620 }
clear_num_events_read()8621 inline void PerfDataProto_PerfEventStats::clear_num_events_read() {
8622   _impl_.num_events_read_ = 0u;
8623   _impl_._has_bits_[0] &= ~0x00000001u;
8624 }
_internal_num_events_read()8625 inline uint32_t PerfDataProto_PerfEventStats::_internal_num_events_read() const {
8626   return _impl_.num_events_read_;
8627 }
num_events_read()8628 inline uint32_t PerfDataProto_PerfEventStats::num_events_read() const {
8629   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.PerfEventStats.num_events_read)
8630   return _internal_num_events_read();
8631 }
_internal_set_num_events_read(uint32_t value)8632 inline void PerfDataProto_PerfEventStats::_internal_set_num_events_read(uint32_t value) {
8633   _impl_._has_bits_[0] |= 0x00000001u;
8634   _impl_.num_events_read_ = value;
8635 }
set_num_events_read(uint32_t value)8636 inline void PerfDataProto_PerfEventStats::set_num_events_read(uint32_t value) {
8637   _internal_set_num_events_read(value);
8638   // @@protoc_insertion_point(field_set:metrics.PerfDataProto.PerfEventStats.num_events_read)
8639 }
8640 
8641 // optional uint32 num_sample_events = 2;
_internal_has_num_sample_events()8642 inline bool PerfDataProto_PerfEventStats::_internal_has_num_sample_events() const {
8643   bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
8644   return value;
8645 }
has_num_sample_events()8646 inline bool PerfDataProto_PerfEventStats::has_num_sample_events() const {
8647   return _internal_has_num_sample_events();
8648 }
clear_num_sample_events()8649 inline void PerfDataProto_PerfEventStats::clear_num_sample_events() {
8650   _impl_.num_sample_events_ = 0u;
8651   _impl_._has_bits_[0] &= ~0x00000002u;
8652 }
_internal_num_sample_events()8653 inline uint32_t PerfDataProto_PerfEventStats::_internal_num_sample_events() const {
8654   return _impl_.num_sample_events_;
8655 }
num_sample_events()8656 inline uint32_t PerfDataProto_PerfEventStats::num_sample_events() const {
8657   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.PerfEventStats.num_sample_events)
8658   return _internal_num_sample_events();
8659 }
_internal_set_num_sample_events(uint32_t value)8660 inline void PerfDataProto_PerfEventStats::_internal_set_num_sample_events(uint32_t value) {
8661   _impl_._has_bits_[0] |= 0x00000002u;
8662   _impl_.num_sample_events_ = value;
8663 }
set_num_sample_events(uint32_t value)8664 inline void PerfDataProto_PerfEventStats::set_num_sample_events(uint32_t value) {
8665   _internal_set_num_sample_events(value);
8666   // @@protoc_insertion_point(field_set:metrics.PerfDataProto.PerfEventStats.num_sample_events)
8667 }
8668 
8669 // optional uint32 num_mmap_events = 3;
_internal_has_num_mmap_events()8670 inline bool PerfDataProto_PerfEventStats::_internal_has_num_mmap_events() const {
8671   bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
8672   return value;
8673 }
has_num_mmap_events()8674 inline bool PerfDataProto_PerfEventStats::has_num_mmap_events() const {
8675   return _internal_has_num_mmap_events();
8676 }
clear_num_mmap_events()8677 inline void PerfDataProto_PerfEventStats::clear_num_mmap_events() {
8678   _impl_.num_mmap_events_ = 0u;
8679   _impl_._has_bits_[0] &= ~0x00000004u;
8680 }
_internal_num_mmap_events()8681 inline uint32_t PerfDataProto_PerfEventStats::_internal_num_mmap_events() const {
8682   return _impl_.num_mmap_events_;
8683 }
num_mmap_events()8684 inline uint32_t PerfDataProto_PerfEventStats::num_mmap_events() const {
8685   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.PerfEventStats.num_mmap_events)
8686   return _internal_num_mmap_events();
8687 }
_internal_set_num_mmap_events(uint32_t value)8688 inline void PerfDataProto_PerfEventStats::_internal_set_num_mmap_events(uint32_t value) {
8689   _impl_._has_bits_[0] |= 0x00000004u;
8690   _impl_.num_mmap_events_ = value;
8691 }
set_num_mmap_events(uint32_t value)8692 inline void PerfDataProto_PerfEventStats::set_num_mmap_events(uint32_t value) {
8693   _internal_set_num_mmap_events(value);
8694   // @@protoc_insertion_point(field_set:metrics.PerfDataProto.PerfEventStats.num_mmap_events)
8695 }
8696 
8697 // optional uint32 num_fork_events = 4;
_internal_has_num_fork_events()8698 inline bool PerfDataProto_PerfEventStats::_internal_has_num_fork_events() const {
8699   bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
8700   return value;
8701 }
has_num_fork_events()8702 inline bool PerfDataProto_PerfEventStats::has_num_fork_events() const {
8703   return _internal_has_num_fork_events();
8704 }
clear_num_fork_events()8705 inline void PerfDataProto_PerfEventStats::clear_num_fork_events() {
8706   _impl_.num_fork_events_ = 0u;
8707   _impl_._has_bits_[0] &= ~0x00000008u;
8708 }
_internal_num_fork_events()8709 inline uint32_t PerfDataProto_PerfEventStats::_internal_num_fork_events() const {
8710   return _impl_.num_fork_events_;
8711 }
num_fork_events()8712 inline uint32_t PerfDataProto_PerfEventStats::num_fork_events() const {
8713   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.PerfEventStats.num_fork_events)
8714   return _internal_num_fork_events();
8715 }
_internal_set_num_fork_events(uint32_t value)8716 inline void PerfDataProto_PerfEventStats::_internal_set_num_fork_events(uint32_t value) {
8717   _impl_._has_bits_[0] |= 0x00000008u;
8718   _impl_.num_fork_events_ = value;
8719 }
set_num_fork_events(uint32_t value)8720 inline void PerfDataProto_PerfEventStats::set_num_fork_events(uint32_t value) {
8721   _internal_set_num_fork_events(value);
8722   // @@protoc_insertion_point(field_set:metrics.PerfDataProto.PerfEventStats.num_fork_events)
8723 }
8724 
8725 // optional uint32 num_exit_events = 5;
_internal_has_num_exit_events()8726 inline bool PerfDataProto_PerfEventStats::_internal_has_num_exit_events() const {
8727   bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
8728   return value;
8729 }
has_num_exit_events()8730 inline bool PerfDataProto_PerfEventStats::has_num_exit_events() const {
8731   return _internal_has_num_exit_events();
8732 }
clear_num_exit_events()8733 inline void PerfDataProto_PerfEventStats::clear_num_exit_events() {
8734   _impl_.num_exit_events_ = 0u;
8735   _impl_._has_bits_[0] &= ~0x00000010u;
8736 }
_internal_num_exit_events()8737 inline uint32_t PerfDataProto_PerfEventStats::_internal_num_exit_events() const {
8738   return _impl_.num_exit_events_;
8739 }
num_exit_events()8740 inline uint32_t PerfDataProto_PerfEventStats::num_exit_events() const {
8741   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.PerfEventStats.num_exit_events)
8742   return _internal_num_exit_events();
8743 }
_internal_set_num_exit_events(uint32_t value)8744 inline void PerfDataProto_PerfEventStats::_internal_set_num_exit_events(uint32_t value) {
8745   _impl_._has_bits_[0] |= 0x00000010u;
8746   _impl_.num_exit_events_ = value;
8747 }
set_num_exit_events(uint32_t value)8748 inline void PerfDataProto_PerfEventStats::set_num_exit_events(uint32_t value) {
8749   _internal_set_num_exit_events(value);
8750   // @@protoc_insertion_point(field_set:metrics.PerfDataProto.PerfEventStats.num_exit_events)
8751 }
8752 
8753 // optional uint32 num_sample_events_mapped = 6;
_internal_has_num_sample_events_mapped()8754 inline bool PerfDataProto_PerfEventStats::_internal_has_num_sample_events_mapped() const {
8755   bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
8756   return value;
8757 }
has_num_sample_events_mapped()8758 inline bool PerfDataProto_PerfEventStats::has_num_sample_events_mapped() const {
8759   return _internal_has_num_sample_events_mapped();
8760 }
clear_num_sample_events_mapped()8761 inline void PerfDataProto_PerfEventStats::clear_num_sample_events_mapped() {
8762   _impl_.num_sample_events_mapped_ = 0u;
8763   _impl_._has_bits_[0] &= ~0x00000020u;
8764 }
_internal_num_sample_events_mapped()8765 inline uint32_t PerfDataProto_PerfEventStats::_internal_num_sample_events_mapped() const {
8766   return _impl_.num_sample_events_mapped_;
8767 }
num_sample_events_mapped()8768 inline uint32_t PerfDataProto_PerfEventStats::num_sample_events_mapped() const {
8769   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.PerfEventStats.num_sample_events_mapped)
8770   return _internal_num_sample_events_mapped();
8771 }
_internal_set_num_sample_events_mapped(uint32_t value)8772 inline void PerfDataProto_PerfEventStats::_internal_set_num_sample_events_mapped(uint32_t value) {
8773   _impl_._has_bits_[0] |= 0x00000020u;
8774   _impl_.num_sample_events_mapped_ = value;
8775 }
set_num_sample_events_mapped(uint32_t value)8776 inline void PerfDataProto_PerfEventStats::set_num_sample_events_mapped(uint32_t value) {
8777   _internal_set_num_sample_events_mapped(value);
8778   // @@protoc_insertion_point(field_set:metrics.PerfDataProto.PerfEventStats.num_sample_events_mapped)
8779 }
8780 
8781 // optional bool did_remap = 7;
_internal_has_did_remap()8782 inline bool PerfDataProto_PerfEventStats::_internal_has_did_remap() const {
8783   bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0;
8784   return value;
8785 }
has_did_remap()8786 inline bool PerfDataProto_PerfEventStats::has_did_remap() const {
8787   return _internal_has_did_remap();
8788 }
clear_did_remap()8789 inline void PerfDataProto_PerfEventStats::clear_did_remap() {
8790   _impl_.did_remap_ = false;
8791   _impl_._has_bits_[0] &= ~0x00000040u;
8792 }
_internal_did_remap()8793 inline bool PerfDataProto_PerfEventStats::_internal_did_remap() const {
8794   return _impl_.did_remap_;
8795 }
did_remap()8796 inline bool PerfDataProto_PerfEventStats::did_remap() const {
8797   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.PerfEventStats.did_remap)
8798   return _internal_did_remap();
8799 }
_internal_set_did_remap(bool value)8800 inline void PerfDataProto_PerfEventStats::_internal_set_did_remap(bool value) {
8801   _impl_._has_bits_[0] |= 0x00000040u;
8802   _impl_.did_remap_ = value;
8803 }
set_did_remap(bool value)8804 inline void PerfDataProto_PerfEventStats::set_did_remap(bool value) {
8805   _internal_set_did_remap(value);
8806   // @@protoc_insertion_point(field_set:metrics.PerfDataProto.PerfEventStats.did_remap)
8807 }
8808 
8809 // -------------------------------------------------------------------
8810 
8811 // PerfDataProto_PerfBuildID
8812 
8813 // optional uint32 misc = 1;
_internal_has_misc()8814 inline bool PerfDataProto_PerfBuildID::_internal_has_misc() const {
8815   bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
8816   return value;
8817 }
has_misc()8818 inline bool PerfDataProto_PerfBuildID::has_misc() const {
8819   return _internal_has_misc();
8820 }
clear_misc()8821 inline void PerfDataProto_PerfBuildID::clear_misc() {
8822   _impl_.misc_ = 0u;
8823   _impl_._has_bits_[0] &= ~0x00000002u;
8824 }
_internal_misc()8825 inline uint32_t PerfDataProto_PerfBuildID::_internal_misc() const {
8826   return _impl_.misc_;
8827 }
misc()8828 inline uint32_t PerfDataProto_PerfBuildID::misc() const {
8829   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.PerfBuildID.misc)
8830   return _internal_misc();
8831 }
_internal_set_misc(uint32_t value)8832 inline void PerfDataProto_PerfBuildID::_internal_set_misc(uint32_t value) {
8833   _impl_._has_bits_[0] |= 0x00000002u;
8834   _impl_.misc_ = value;
8835 }
set_misc(uint32_t value)8836 inline void PerfDataProto_PerfBuildID::set_misc(uint32_t value) {
8837   _internal_set_misc(value);
8838   // @@protoc_insertion_point(field_set:metrics.PerfDataProto.PerfBuildID.misc)
8839 }
8840 
8841 // optional uint32 pid = 2;
_internal_has_pid()8842 inline bool PerfDataProto_PerfBuildID::_internal_has_pid() const {
8843   bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
8844   return value;
8845 }
has_pid()8846 inline bool PerfDataProto_PerfBuildID::has_pid() const {
8847   return _internal_has_pid();
8848 }
clear_pid()8849 inline void PerfDataProto_PerfBuildID::clear_pid() {
8850   _impl_.pid_ = 0u;
8851   _impl_._has_bits_[0] &= ~0x00000004u;
8852 }
_internal_pid()8853 inline uint32_t PerfDataProto_PerfBuildID::_internal_pid() const {
8854   return _impl_.pid_;
8855 }
pid()8856 inline uint32_t PerfDataProto_PerfBuildID::pid() const {
8857   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.PerfBuildID.pid)
8858   return _internal_pid();
8859 }
_internal_set_pid(uint32_t value)8860 inline void PerfDataProto_PerfBuildID::_internal_set_pid(uint32_t value) {
8861   _impl_._has_bits_[0] |= 0x00000004u;
8862   _impl_.pid_ = value;
8863 }
set_pid(uint32_t value)8864 inline void PerfDataProto_PerfBuildID::set_pid(uint32_t value) {
8865   _internal_set_pid(value);
8866   // @@protoc_insertion_point(field_set:metrics.PerfDataProto.PerfBuildID.pid)
8867 }
8868 
8869 // optional bytes build_id_hash = 3;
_internal_has_build_id_hash()8870 inline bool PerfDataProto_PerfBuildID::_internal_has_build_id_hash() const {
8871   bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
8872   return value;
8873 }
has_build_id_hash()8874 inline bool PerfDataProto_PerfBuildID::has_build_id_hash() const {
8875   return _internal_has_build_id_hash();
8876 }
clear_build_id_hash()8877 inline void PerfDataProto_PerfBuildID::clear_build_id_hash() {
8878   _impl_.build_id_hash_.ClearToEmpty();
8879   _impl_._has_bits_[0] &= ~0x00000001u;
8880 }
build_id_hash()8881 inline const std::string& PerfDataProto_PerfBuildID::build_id_hash() const {
8882   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.PerfBuildID.build_id_hash)
8883   return _internal_build_id_hash();
8884 }
8885 template <typename ArgT0, typename... ArgT>
8886 inline PROTOBUF_ALWAYS_INLINE
set_build_id_hash(ArgT0 && arg0,ArgT...args)8887 void PerfDataProto_PerfBuildID::set_build_id_hash(ArgT0&& arg0, ArgT... args) {
8888  _impl_._has_bits_[0] |= 0x00000001u;
8889  _impl_.build_id_hash_.SetBytes(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
8890   // @@protoc_insertion_point(field_set:metrics.PerfDataProto.PerfBuildID.build_id_hash)
8891 }
mutable_build_id_hash()8892 inline std::string* PerfDataProto_PerfBuildID::mutable_build_id_hash() {
8893   std::string* _s = _internal_mutable_build_id_hash();
8894   // @@protoc_insertion_point(field_mutable:metrics.PerfDataProto.PerfBuildID.build_id_hash)
8895   return _s;
8896 }
_internal_build_id_hash()8897 inline const std::string& PerfDataProto_PerfBuildID::_internal_build_id_hash() const {
8898   return _impl_.build_id_hash_.Get();
8899 }
_internal_set_build_id_hash(const std::string & value)8900 inline void PerfDataProto_PerfBuildID::_internal_set_build_id_hash(const std::string& value) {
8901   _impl_._has_bits_[0] |= 0x00000001u;
8902   _impl_.build_id_hash_.Set(value, GetArenaForAllocation());
8903 }
_internal_mutable_build_id_hash()8904 inline std::string* PerfDataProto_PerfBuildID::_internal_mutable_build_id_hash() {
8905   _impl_._has_bits_[0] |= 0x00000001u;
8906   return _impl_.build_id_hash_.Mutable(GetArenaForAllocation());
8907 }
release_build_id_hash()8908 inline std::string* PerfDataProto_PerfBuildID::release_build_id_hash() {
8909   // @@protoc_insertion_point(field_release:metrics.PerfDataProto.PerfBuildID.build_id_hash)
8910   if (!_internal_has_build_id_hash()) {
8911     return nullptr;
8912   }
8913   _impl_._has_bits_[0] &= ~0x00000001u;
8914   auto* p = _impl_.build_id_hash_.Release();
8915 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
8916   if (_impl_.build_id_hash_.IsDefault()) {
8917     _impl_.build_id_hash_.Set("", GetArenaForAllocation());
8918   }
8919 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
8920   return p;
8921 }
set_allocated_build_id_hash(std::string * build_id_hash)8922 inline void PerfDataProto_PerfBuildID::set_allocated_build_id_hash(std::string* build_id_hash) {
8923   if (build_id_hash != nullptr) {
8924     _impl_._has_bits_[0] |= 0x00000001u;
8925   } else {
8926     _impl_._has_bits_[0] &= ~0x00000001u;
8927   }
8928   _impl_.build_id_hash_.SetAllocated(build_id_hash, GetArenaForAllocation());
8929 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
8930   if (_impl_.build_id_hash_.IsDefault()) {
8931     _impl_.build_id_hash_.Set("", GetArenaForAllocation());
8932   }
8933 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
8934   // @@protoc_insertion_point(field_set_allocated:metrics.PerfDataProto.PerfBuildID.build_id_hash)
8935 }
8936 
8937 // optional uint64 filename_md5_prefix = 5;
_internal_has_filename_md5_prefix()8938 inline bool PerfDataProto_PerfBuildID::_internal_has_filename_md5_prefix() const {
8939   bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
8940   return value;
8941 }
has_filename_md5_prefix()8942 inline bool PerfDataProto_PerfBuildID::has_filename_md5_prefix() const {
8943   return _internal_has_filename_md5_prefix();
8944 }
clear_filename_md5_prefix()8945 inline void PerfDataProto_PerfBuildID::clear_filename_md5_prefix() {
8946   _impl_.filename_md5_prefix_ = uint64_t{0u};
8947   _impl_._has_bits_[0] &= ~0x00000008u;
8948 }
_internal_filename_md5_prefix()8949 inline uint64_t PerfDataProto_PerfBuildID::_internal_filename_md5_prefix() const {
8950   return _impl_.filename_md5_prefix_;
8951 }
filename_md5_prefix()8952 inline uint64_t PerfDataProto_PerfBuildID::filename_md5_prefix() const {
8953   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.PerfBuildID.filename_md5_prefix)
8954   return _internal_filename_md5_prefix();
8955 }
_internal_set_filename_md5_prefix(uint64_t value)8956 inline void PerfDataProto_PerfBuildID::_internal_set_filename_md5_prefix(uint64_t value) {
8957   _impl_._has_bits_[0] |= 0x00000008u;
8958   _impl_.filename_md5_prefix_ = value;
8959 }
set_filename_md5_prefix(uint64_t value)8960 inline void PerfDataProto_PerfBuildID::set_filename_md5_prefix(uint64_t value) {
8961   _internal_set_filename_md5_prefix(value);
8962   // @@protoc_insertion_point(field_set:metrics.PerfDataProto.PerfBuildID.filename_md5_prefix)
8963 }
8964 
8965 // -------------------------------------------------------------------
8966 
8967 // PerfDataProto_PerfPMUMappingsMetadata
8968 
8969 // optional uint32 type = 1;
_internal_has_type()8970 inline bool PerfDataProto_PerfPMUMappingsMetadata::_internal_has_type() const {
8971   bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
8972   return value;
8973 }
has_type()8974 inline bool PerfDataProto_PerfPMUMappingsMetadata::has_type() const {
8975   return _internal_has_type();
8976 }
clear_type()8977 inline void PerfDataProto_PerfPMUMappingsMetadata::clear_type() {
8978   _impl_.type_ = 0u;
8979   _impl_._has_bits_[0] &= ~0x00000002u;
8980 }
_internal_type()8981 inline uint32_t PerfDataProto_PerfPMUMappingsMetadata::_internal_type() const {
8982   return _impl_.type_;
8983 }
type()8984 inline uint32_t PerfDataProto_PerfPMUMappingsMetadata::type() const {
8985   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.PerfPMUMappingsMetadata.type)
8986   return _internal_type();
8987 }
_internal_set_type(uint32_t value)8988 inline void PerfDataProto_PerfPMUMappingsMetadata::_internal_set_type(uint32_t value) {
8989   _impl_._has_bits_[0] |= 0x00000002u;
8990   _impl_.type_ = value;
8991 }
set_type(uint32_t value)8992 inline void PerfDataProto_PerfPMUMappingsMetadata::set_type(uint32_t value) {
8993   _internal_set_type(value);
8994   // @@protoc_insertion_point(field_set:metrics.PerfDataProto.PerfPMUMappingsMetadata.type)
8995 }
8996 
8997 // optional uint64 name_md5_prefix = 3;
_internal_has_name_md5_prefix()8998 inline bool PerfDataProto_PerfPMUMappingsMetadata::_internal_has_name_md5_prefix() const {
8999   bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
9000   return value;
9001 }
has_name_md5_prefix()9002 inline bool PerfDataProto_PerfPMUMappingsMetadata::has_name_md5_prefix() const {
9003   return _internal_has_name_md5_prefix();
9004 }
clear_name_md5_prefix()9005 inline void PerfDataProto_PerfPMUMappingsMetadata::clear_name_md5_prefix() {
9006   _impl_.name_md5_prefix_ = uint64_t{0u};
9007   _impl_._has_bits_[0] &= ~0x00000001u;
9008 }
_internal_name_md5_prefix()9009 inline uint64_t PerfDataProto_PerfPMUMappingsMetadata::_internal_name_md5_prefix() const {
9010   return _impl_.name_md5_prefix_;
9011 }
name_md5_prefix()9012 inline uint64_t PerfDataProto_PerfPMUMappingsMetadata::name_md5_prefix() const {
9013   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.PerfPMUMappingsMetadata.name_md5_prefix)
9014   return _internal_name_md5_prefix();
9015 }
_internal_set_name_md5_prefix(uint64_t value)9016 inline void PerfDataProto_PerfPMUMappingsMetadata::_internal_set_name_md5_prefix(uint64_t value) {
9017   _impl_._has_bits_[0] |= 0x00000001u;
9018   _impl_.name_md5_prefix_ = value;
9019 }
set_name_md5_prefix(uint64_t value)9020 inline void PerfDataProto_PerfPMUMappingsMetadata::set_name_md5_prefix(uint64_t value) {
9021   _internal_set_name_md5_prefix(value);
9022   // @@protoc_insertion_point(field_set:metrics.PerfDataProto.PerfPMUMappingsMetadata.name_md5_prefix)
9023 }
9024 
9025 // -------------------------------------------------------------------
9026 
9027 // PerfDataProto_PerfHybridTopologyMetadata
9028 
9029 // optional uint64 pmu_name_md5_prefix = 2;
_internal_has_pmu_name_md5_prefix()9030 inline bool PerfDataProto_PerfHybridTopologyMetadata::_internal_has_pmu_name_md5_prefix() const {
9031   bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
9032   return value;
9033 }
has_pmu_name_md5_prefix()9034 inline bool PerfDataProto_PerfHybridTopologyMetadata::has_pmu_name_md5_prefix() const {
9035   return _internal_has_pmu_name_md5_prefix();
9036 }
clear_pmu_name_md5_prefix()9037 inline void PerfDataProto_PerfHybridTopologyMetadata::clear_pmu_name_md5_prefix() {
9038   _impl_.pmu_name_md5_prefix_ = uint64_t{0u};
9039   _impl_._has_bits_[0] &= ~0x00000001u;
9040 }
_internal_pmu_name_md5_prefix()9041 inline uint64_t PerfDataProto_PerfHybridTopologyMetadata::_internal_pmu_name_md5_prefix() const {
9042   return _impl_.pmu_name_md5_prefix_;
9043 }
pmu_name_md5_prefix()9044 inline uint64_t PerfDataProto_PerfHybridTopologyMetadata::pmu_name_md5_prefix() const {
9045   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.PerfHybridTopologyMetadata.pmu_name_md5_prefix)
9046   return _internal_pmu_name_md5_prefix();
9047 }
_internal_set_pmu_name_md5_prefix(uint64_t value)9048 inline void PerfDataProto_PerfHybridTopologyMetadata::_internal_set_pmu_name_md5_prefix(uint64_t value) {
9049   _impl_._has_bits_[0] |= 0x00000001u;
9050   _impl_.pmu_name_md5_prefix_ = value;
9051 }
set_pmu_name_md5_prefix(uint64_t value)9052 inline void PerfDataProto_PerfHybridTopologyMetadata::set_pmu_name_md5_prefix(uint64_t value) {
9053   _internal_set_pmu_name_md5_prefix(value);
9054   // @@protoc_insertion_point(field_set:metrics.PerfDataProto.PerfHybridTopologyMetadata.pmu_name_md5_prefix)
9055 }
9056 
9057 // repeated uint32 cpu_list = 4 [packed = true];
_internal_cpu_list_size()9058 inline int PerfDataProto_PerfHybridTopologyMetadata::_internal_cpu_list_size() const {
9059   return _impl_.cpu_list_.size();
9060 }
cpu_list_size()9061 inline int PerfDataProto_PerfHybridTopologyMetadata::cpu_list_size() const {
9062   return _internal_cpu_list_size();
9063 }
clear_cpu_list()9064 inline void PerfDataProto_PerfHybridTopologyMetadata::clear_cpu_list() {
9065   _impl_.cpu_list_.Clear();
9066 }
_internal_cpu_list(int index)9067 inline uint32_t PerfDataProto_PerfHybridTopologyMetadata::_internal_cpu_list(int index) const {
9068   return _impl_.cpu_list_.Get(index);
9069 }
cpu_list(int index)9070 inline uint32_t PerfDataProto_PerfHybridTopologyMetadata::cpu_list(int index) const {
9071   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.PerfHybridTopologyMetadata.cpu_list)
9072   return _internal_cpu_list(index);
9073 }
set_cpu_list(int index,uint32_t value)9074 inline void PerfDataProto_PerfHybridTopologyMetadata::set_cpu_list(int index, uint32_t value) {
9075   _impl_.cpu_list_.Set(index, value);
9076   // @@protoc_insertion_point(field_set:metrics.PerfDataProto.PerfHybridTopologyMetadata.cpu_list)
9077 }
_internal_add_cpu_list(uint32_t value)9078 inline void PerfDataProto_PerfHybridTopologyMetadata::_internal_add_cpu_list(uint32_t value) {
9079   _impl_.cpu_list_.Add(value);
9080 }
add_cpu_list(uint32_t value)9081 inline void PerfDataProto_PerfHybridTopologyMetadata::add_cpu_list(uint32_t value) {
9082   _internal_add_cpu_list(value);
9083   // @@protoc_insertion_point(field_add:metrics.PerfDataProto.PerfHybridTopologyMetadata.cpu_list)
9084 }
9085 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >&
_internal_cpu_list()9086 PerfDataProto_PerfHybridTopologyMetadata::_internal_cpu_list() const {
9087   return _impl_.cpu_list_;
9088 }
9089 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >&
cpu_list()9090 PerfDataProto_PerfHybridTopologyMetadata::cpu_list() const {
9091   // @@protoc_insertion_point(field_list:metrics.PerfDataProto.PerfHybridTopologyMetadata.cpu_list)
9092   return _internal_cpu_list();
9093 }
9094 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >*
_internal_mutable_cpu_list()9095 PerfDataProto_PerfHybridTopologyMetadata::_internal_mutable_cpu_list() {
9096   return &_impl_.cpu_list_;
9097 }
9098 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >*
mutable_cpu_list()9099 PerfDataProto_PerfHybridTopologyMetadata::mutable_cpu_list() {
9100   // @@protoc_insertion_point(field_mutable_list:metrics.PerfDataProto.PerfHybridTopologyMetadata.cpu_list)
9101   return _internal_mutable_cpu_list();
9102 }
9103 
9104 // -------------------------------------------------------------------
9105 
9106 // PerfDataProto_StringMetadata_StringAndMd5sumPrefix
9107 
9108 // optional uint64 value_md5_prefix = 2;
_internal_has_value_md5_prefix()9109 inline bool PerfDataProto_StringMetadata_StringAndMd5sumPrefix::_internal_has_value_md5_prefix() const {
9110   bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
9111   return value;
9112 }
has_value_md5_prefix()9113 inline bool PerfDataProto_StringMetadata_StringAndMd5sumPrefix::has_value_md5_prefix() const {
9114   return _internal_has_value_md5_prefix();
9115 }
clear_value_md5_prefix()9116 inline void PerfDataProto_StringMetadata_StringAndMd5sumPrefix::clear_value_md5_prefix() {
9117   _impl_.value_md5_prefix_ = uint64_t{0u};
9118   _impl_._has_bits_[0] &= ~0x00000001u;
9119 }
_internal_value_md5_prefix()9120 inline uint64_t PerfDataProto_StringMetadata_StringAndMd5sumPrefix::_internal_value_md5_prefix() const {
9121   return _impl_.value_md5_prefix_;
9122 }
value_md5_prefix()9123 inline uint64_t PerfDataProto_StringMetadata_StringAndMd5sumPrefix::value_md5_prefix() const {
9124   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.StringMetadata.StringAndMd5sumPrefix.value_md5_prefix)
9125   return _internal_value_md5_prefix();
9126 }
_internal_set_value_md5_prefix(uint64_t value)9127 inline void PerfDataProto_StringMetadata_StringAndMd5sumPrefix::_internal_set_value_md5_prefix(uint64_t value) {
9128   _impl_._has_bits_[0] |= 0x00000001u;
9129   _impl_.value_md5_prefix_ = value;
9130 }
set_value_md5_prefix(uint64_t value)9131 inline void PerfDataProto_StringMetadata_StringAndMd5sumPrefix::set_value_md5_prefix(uint64_t value) {
9132   _internal_set_value_md5_prefix(value);
9133   // @@protoc_insertion_point(field_set:metrics.PerfDataProto.StringMetadata.StringAndMd5sumPrefix.value_md5_prefix)
9134 }
9135 
9136 // -------------------------------------------------------------------
9137 
9138 // PerfDataProto_StringMetadata
9139 
9140 // optional .metrics.PerfDataProto.StringMetadata.StringAndMd5sumPrefix perf_command_line_whole = 8;
_internal_has_perf_command_line_whole()9141 inline bool PerfDataProto_StringMetadata::_internal_has_perf_command_line_whole() const {
9142   bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
9143   PROTOBUF_ASSUME(!value || _impl_.perf_command_line_whole_ != nullptr);
9144   return value;
9145 }
has_perf_command_line_whole()9146 inline bool PerfDataProto_StringMetadata::has_perf_command_line_whole() const {
9147   return _internal_has_perf_command_line_whole();
9148 }
clear_perf_command_line_whole()9149 inline void PerfDataProto_StringMetadata::clear_perf_command_line_whole() {
9150   if (_impl_.perf_command_line_whole_ != nullptr) _impl_.perf_command_line_whole_->Clear();
9151   _impl_._has_bits_[0] &= ~0x00000001u;
9152 }
_internal_perf_command_line_whole()9153 inline const ::metrics::PerfDataProto_StringMetadata_StringAndMd5sumPrefix& PerfDataProto_StringMetadata::_internal_perf_command_line_whole() const {
9154   const ::metrics::PerfDataProto_StringMetadata_StringAndMd5sumPrefix* p = _impl_.perf_command_line_whole_;
9155   return p != nullptr ? *p : reinterpret_cast<const ::metrics::PerfDataProto_StringMetadata_StringAndMd5sumPrefix&>(
9156       ::metrics::_PerfDataProto_StringMetadata_StringAndMd5sumPrefix_default_instance_);
9157 }
perf_command_line_whole()9158 inline const ::metrics::PerfDataProto_StringMetadata_StringAndMd5sumPrefix& PerfDataProto_StringMetadata::perf_command_line_whole() const {
9159   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.StringMetadata.perf_command_line_whole)
9160   return _internal_perf_command_line_whole();
9161 }
unsafe_arena_set_allocated_perf_command_line_whole(::metrics::PerfDataProto_StringMetadata_StringAndMd5sumPrefix * perf_command_line_whole)9162 inline void PerfDataProto_StringMetadata::unsafe_arena_set_allocated_perf_command_line_whole(
9163     ::metrics::PerfDataProto_StringMetadata_StringAndMd5sumPrefix* perf_command_line_whole) {
9164   if (GetArenaForAllocation() == nullptr) {
9165     delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.perf_command_line_whole_);
9166   }
9167   _impl_.perf_command_line_whole_ = perf_command_line_whole;
9168   if (perf_command_line_whole) {
9169     _impl_._has_bits_[0] |= 0x00000001u;
9170   } else {
9171     _impl_._has_bits_[0] &= ~0x00000001u;
9172   }
9173   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:metrics.PerfDataProto.StringMetadata.perf_command_line_whole)
9174 }
release_perf_command_line_whole()9175 inline ::metrics::PerfDataProto_StringMetadata_StringAndMd5sumPrefix* PerfDataProto_StringMetadata::release_perf_command_line_whole() {
9176   _impl_._has_bits_[0] &= ~0x00000001u;
9177   ::metrics::PerfDataProto_StringMetadata_StringAndMd5sumPrefix* temp = _impl_.perf_command_line_whole_;
9178   _impl_.perf_command_line_whole_ = nullptr;
9179 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
9180   auto* old =  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
9181   temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
9182   if (GetArenaForAllocation() == nullptr) { delete old; }
9183 #else  // PROTOBUF_FORCE_COPY_IN_RELEASE
9184   if (GetArenaForAllocation() != nullptr) {
9185     temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
9186   }
9187 #endif  // !PROTOBUF_FORCE_COPY_IN_RELEASE
9188   return temp;
9189 }
unsafe_arena_release_perf_command_line_whole()9190 inline ::metrics::PerfDataProto_StringMetadata_StringAndMd5sumPrefix* PerfDataProto_StringMetadata::unsafe_arena_release_perf_command_line_whole() {
9191   // @@protoc_insertion_point(field_release:metrics.PerfDataProto.StringMetadata.perf_command_line_whole)
9192   _impl_._has_bits_[0] &= ~0x00000001u;
9193   ::metrics::PerfDataProto_StringMetadata_StringAndMd5sumPrefix* temp = _impl_.perf_command_line_whole_;
9194   _impl_.perf_command_line_whole_ = nullptr;
9195   return temp;
9196 }
_internal_mutable_perf_command_line_whole()9197 inline ::metrics::PerfDataProto_StringMetadata_StringAndMd5sumPrefix* PerfDataProto_StringMetadata::_internal_mutable_perf_command_line_whole() {
9198   _impl_._has_bits_[0] |= 0x00000001u;
9199   if (_impl_.perf_command_line_whole_ == nullptr) {
9200     auto* p = CreateMaybeMessage<::metrics::PerfDataProto_StringMetadata_StringAndMd5sumPrefix>(GetArenaForAllocation());
9201     _impl_.perf_command_line_whole_ = p;
9202   }
9203   return _impl_.perf_command_line_whole_;
9204 }
mutable_perf_command_line_whole()9205 inline ::metrics::PerfDataProto_StringMetadata_StringAndMd5sumPrefix* PerfDataProto_StringMetadata::mutable_perf_command_line_whole() {
9206   ::metrics::PerfDataProto_StringMetadata_StringAndMd5sumPrefix* _msg = _internal_mutable_perf_command_line_whole();
9207   // @@protoc_insertion_point(field_mutable:metrics.PerfDataProto.StringMetadata.perf_command_line_whole)
9208   return _msg;
9209 }
set_allocated_perf_command_line_whole(::metrics::PerfDataProto_StringMetadata_StringAndMd5sumPrefix * perf_command_line_whole)9210 inline void PerfDataProto_StringMetadata::set_allocated_perf_command_line_whole(::metrics::PerfDataProto_StringMetadata_StringAndMd5sumPrefix* perf_command_line_whole) {
9211   ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
9212   if (message_arena == nullptr) {
9213     delete _impl_.perf_command_line_whole_;
9214   }
9215   if (perf_command_line_whole) {
9216     ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
9217         ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(perf_command_line_whole);
9218     if (message_arena != submessage_arena) {
9219       perf_command_line_whole = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
9220           message_arena, perf_command_line_whole, submessage_arena);
9221     }
9222     _impl_._has_bits_[0] |= 0x00000001u;
9223   } else {
9224     _impl_._has_bits_[0] &= ~0x00000001u;
9225   }
9226   _impl_.perf_command_line_whole_ = perf_command_line_whole;
9227   // @@protoc_insertion_point(field_set_allocated:metrics.PerfDataProto.StringMetadata.perf_command_line_whole)
9228 }
9229 
9230 // -------------------------------------------------------------------
9231 
9232 // PerfDataProto
9233 
9234 // repeated .metrics.PerfDataProto.PerfFileAttr file_attrs = 1;
_internal_file_attrs_size()9235 inline int PerfDataProto::_internal_file_attrs_size() const {
9236   return _impl_.file_attrs_.size();
9237 }
file_attrs_size()9238 inline int PerfDataProto::file_attrs_size() const {
9239   return _internal_file_attrs_size();
9240 }
clear_file_attrs()9241 inline void PerfDataProto::clear_file_attrs() {
9242   _impl_.file_attrs_.Clear();
9243 }
mutable_file_attrs(int index)9244 inline ::metrics::PerfDataProto_PerfFileAttr* PerfDataProto::mutable_file_attrs(int index) {
9245   // @@protoc_insertion_point(field_mutable:metrics.PerfDataProto.file_attrs)
9246   return _impl_.file_attrs_.Mutable(index);
9247 }
9248 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::PerfDataProto_PerfFileAttr >*
mutable_file_attrs()9249 PerfDataProto::mutable_file_attrs() {
9250   // @@protoc_insertion_point(field_mutable_list:metrics.PerfDataProto.file_attrs)
9251   return &_impl_.file_attrs_;
9252 }
_internal_file_attrs(int index)9253 inline const ::metrics::PerfDataProto_PerfFileAttr& PerfDataProto::_internal_file_attrs(int index) const {
9254   return _impl_.file_attrs_.Get(index);
9255 }
file_attrs(int index)9256 inline const ::metrics::PerfDataProto_PerfFileAttr& PerfDataProto::file_attrs(int index) const {
9257   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.file_attrs)
9258   return _internal_file_attrs(index);
9259 }
_internal_add_file_attrs()9260 inline ::metrics::PerfDataProto_PerfFileAttr* PerfDataProto::_internal_add_file_attrs() {
9261   return _impl_.file_attrs_.Add();
9262 }
add_file_attrs()9263 inline ::metrics::PerfDataProto_PerfFileAttr* PerfDataProto::add_file_attrs() {
9264   ::metrics::PerfDataProto_PerfFileAttr* _add = _internal_add_file_attrs();
9265   // @@protoc_insertion_point(field_add:metrics.PerfDataProto.file_attrs)
9266   return _add;
9267 }
9268 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::PerfDataProto_PerfFileAttr >&
file_attrs()9269 PerfDataProto::file_attrs() const {
9270   // @@protoc_insertion_point(field_list:metrics.PerfDataProto.file_attrs)
9271   return _impl_.file_attrs_;
9272 }
9273 
9274 // repeated .metrics.PerfDataProto.PerfEvent events = 2;
_internal_events_size()9275 inline int PerfDataProto::_internal_events_size() const {
9276   return _impl_.events_.size();
9277 }
events_size()9278 inline int PerfDataProto::events_size() const {
9279   return _internal_events_size();
9280 }
clear_events()9281 inline void PerfDataProto::clear_events() {
9282   _impl_.events_.Clear();
9283 }
mutable_events(int index)9284 inline ::metrics::PerfDataProto_PerfEvent* PerfDataProto::mutable_events(int index) {
9285   // @@protoc_insertion_point(field_mutable:metrics.PerfDataProto.events)
9286   return _impl_.events_.Mutable(index);
9287 }
9288 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::PerfDataProto_PerfEvent >*
mutable_events()9289 PerfDataProto::mutable_events() {
9290   // @@protoc_insertion_point(field_mutable_list:metrics.PerfDataProto.events)
9291   return &_impl_.events_;
9292 }
_internal_events(int index)9293 inline const ::metrics::PerfDataProto_PerfEvent& PerfDataProto::_internal_events(int index) const {
9294   return _impl_.events_.Get(index);
9295 }
events(int index)9296 inline const ::metrics::PerfDataProto_PerfEvent& PerfDataProto::events(int index) const {
9297   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.events)
9298   return _internal_events(index);
9299 }
_internal_add_events()9300 inline ::metrics::PerfDataProto_PerfEvent* PerfDataProto::_internal_add_events() {
9301   return _impl_.events_.Add();
9302 }
add_events()9303 inline ::metrics::PerfDataProto_PerfEvent* PerfDataProto::add_events() {
9304   ::metrics::PerfDataProto_PerfEvent* _add = _internal_add_events();
9305   // @@protoc_insertion_point(field_add:metrics.PerfDataProto.events)
9306   return _add;
9307 }
9308 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::PerfDataProto_PerfEvent >&
events()9309 PerfDataProto::events() const {
9310   // @@protoc_insertion_point(field_list:metrics.PerfDataProto.events)
9311   return _impl_.events_;
9312 }
9313 
9314 // repeated .metrics.PerfDataProto.PerfEventType event_types = 10;
_internal_event_types_size()9315 inline int PerfDataProto::_internal_event_types_size() const {
9316   return _impl_.event_types_.size();
9317 }
event_types_size()9318 inline int PerfDataProto::event_types_size() const {
9319   return _internal_event_types_size();
9320 }
clear_event_types()9321 inline void PerfDataProto::clear_event_types() {
9322   _impl_.event_types_.Clear();
9323 }
mutable_event_types(int index)9324 inline ::metrics::PerfDataProto_PerfEventType* PerfDataProto::mutable_event_types(int index) {
9325   // @@protoc_insertion_point(field_mutable:metrics.PerfDataProto.event_types)
9326   return _impl_.event_types_.Mutable(index);
9327 }
9328 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::PerfDataProto_PerfEventType >*
mutable_event_types()9329 PerfDataProto::mutable_event_types() {
9330   // @@protoc_insertion_point(field_mutable_list:metrics.PerfDataProto.event_types)
9331   return &_impl_.event_types_;
9332 }
_internal_event_types(int index)9333 inline const ::metrics::PerfDataProto_PerfEventType& PerfDataProto::_internal_event_types(int index) const {
9334   return _impl_.event_types_.Get(index);
9335 }
event_types(int index)9336 inline const ::metrics::PerfDataProto_PerfEventType& PerfDataProto::event_types(int index) const {
9337   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.event_types)
9338   return _internal_event_types(index);
9339 }
_internal_add_event_types()9340 inline ::metrics::PerfDataProto_PerfEventType* PerfDataProto::_internal_add_event_types() {
9341   return _impl_.event_types_.Add();
9342 }
add_event_types()9343 inline ::metrics::PerfDataProto_PerfEventType* PerfDataProto::add_event_types() {
9344   ::metrics::PerfDataProto_PerfEventType* _add = _internal_add_event_types();
9345   // @@protoc_insertion_point(field_add:metrics.PerfDataProto.event_types)
9346   return _add;
9347 }
9348 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::PerfDataProto_PerfEventType >&
event_types()9349 PerfDataProto::event_types() const {
9350   // @@protoc_insertion_point(field_list:metrics.PerfDataProto.event_types)
9351   return _impl_.event_types_;
9352 }
9353 
9354 // optional uint64 timestamp_sec = 3;
_internal_has_timestamp_sec()9355 inline bool PerfDataProto::_internal_has_timestamp_sec() const {
9356   bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
9357   return value;
9358 }
has_timestamp_sec()9359 inline bool PerfDataProto::has_timestamp_sec() const {
9360   return _internal_has_timestamp_sec();
9361 }
clear_timestamp_sec()9362 inline void PerfDataProto::clear_timestamp_sec() {
9363   _impl_.timestamp_sec_ = uint64_t{0u};
9364   _impl_._has_bits_[0] &= ~0x00000004u;
9365 }
_internal_timestamp_sec()9366 inline uint64_t PerfDataProto::_internal_timestamp_sec() const {
9367   return _impl_.timestamp_sec_;
9368 }
timestamp_sec()9369 inline uint64_t PerfDataProto::timestamp_sec() const {
9370   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.timestamp_sec)
9371   return _internal_timestamp_sec();
9372 }
_internal_set_timestamp_sec(uint64_t value)9373 inline void PerfDataProto::_internal_set_timestamp_sec(uint64_t value) {
9374   _impl_._has_bits_[0] |= 0x00000004u;
9375   _impl_.timestamp_sec_ = value;
9376 }
set_timestamp_sec(uint64_t value)9377 inline void PerfDataProto::set_timestamp_sec(uint64_t value) {
9378   _internal_set_timestamp_sec(value);
9379   // @@protoc_insertion_point(field_set:metrics.PerfDataProto.timestamp_sec)
9380 }
9381 
9382 // optional .metrics.PerfDataProto.PerfEventStats stats = 4;
_internal_has_stats()9383 inline bool PerfDataProto::_internal_has_stats() const {
9384   bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
9385   PROTOBUF_ASSUME(!value || _impl_.stats_ != nullptr);
9386   return value;
9387 }
has_stats()9388 inline bool PerfDataProto::has_stats() const {
9389   return _internal_has_stats();
9390 }
clear_stats()9391 inline void PerfDataProto::clear_stats() {
9392   if (_impl_.stats_ != nullptr) _impl_.stats_->Clear();
9393   _impl_._has_bits_[0] &= ~0x00000001u;
9394 }
_internal_stats()9395 inline const ::metrics::PerfDataProto_PerfEventStats& PerfDataProto::_internal_stats() const {
9396   const ::metrics::PerfDataProto_PerfEventStats* p = _impl_.stats_;
9397   return p != nullptr ? *p : reinterpret_cast<const ::metrics::PerfDataProto_PerfEventStats&>(
9398       ::metrics::_PerfDataProto_PerfEventStats_default_instance_);
9399 }
stats()9400 inline const ::metrics::PerfDataProto_PerfEventStats& PerfDataProto::stats() const {
9401   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.stats)
9402   return _internal_stats();
9403 }
unsafe_arena_set_allocated_stats(::metrics::PerfDataProto_PerfEventStats * stats)9404 inline void PerfDataProto::unsafe_arena_set_allocated_stats(
9405     ::metrics::PerfDataProto_PerfEventStats* stats) {
9406   if (GetArenaForAllocation() == nullptr) {
9407     delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.stats_);
9408   }
9409   _impl_.stats_ = stats;
9410   if (stats) {
9411     _impl_._has_bits_[0] |= 0x00000001u;
9412   } else {
9413     _impl_._has_bits_[0] &= ~0x00000001u;
9414   }
9415   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:metrics.PerfDataProto.stats)
9416 }
release_stats()9417 inline ::metrics::PerfDataProto_PerfEventStats* PerfDataProto::release_stats() {
9418   _impl_._has_bits_[0] &= ~0x00000001u;
9419   ::metrics::PerfDataProto_PerfEventStats* temp = _impl_.stats_;
9420   _impl_.stats_ = nullptr;
9421 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
9422   auto* old =  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
9423   temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
9424   if (GetArenaForAllocation() == nullptr) { delete old; }
9425 #else  // PROTOBUF_FORCE_COPY_IN_RELEASE
9426   if (GetArenaForAllocation() != nullptr) {
9427     temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
9428   }
9429 #endif  // !PROTOBUF_FORCE_COPY_IN_RELEASE
9430   return temp;
9431 }
unsafe_arena_release_stats()9432 inline ::metrics::PerfDataProto_PerfEventStats* PerfDataProto::unsafe_arena_release_stats() {
9433   // @@protoc_insertion_point(field_release:metrics.PerfDataProto.stats)
9434   _impl_._has_bits_[0] &= ~0x00000001u;
9435   ::metrics::PerfDataProto_PerfEventStats* temp = _impl_.stats_;
9436   _impl_.stats_ = nullptr;
9437   return temp;
9438 }
_internal_mutable_stats()9439 inline ::metrics::PerfDataProto_PerfEventStats* PerfDataProto::_internal_mutable_stats() {
9440   _impl_._has_bits_[0] |= 0x00000001u;
9441   if (_impl_.stats_ == nullptr) {
9442     auto* p = CreateMaybeMessage<::metrics::PerfDataProto_PerfEventStats>(GetArenaForAllocation());
9443     _impl_.stats_ = p;
9444   }
9445   return _impl_.stats_;
9446 }
mutable_stats()9447 inline ::metrics::PerfDataProto_PerfEventStats* PerfDataProto::mutable_stats() {
9448   ::metrics::PerfDataProto_PerfEventStats* _msg = _internal_mutable_stats();
9449   // @@protoc_insertion_point(field_mutable:metrics.PerfDataProto.stats)
9450   return _msg;
9451 }
set_allocated_stats(::metrics::PerfDataProto_PerfEventStats * stats)9452 inline void PerfDataProto::set_allocated_stats(::metrics::PerfDataProto_PerfEventStats* stats) {
9453   ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
9454   if (message_arena == nullptr) {
9455     delete _impl_.stats_;
9456   }
9457   if (stats) {
9458     ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
9459         ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(stats);
9460     if (message_arena != submessage_arena) {
9461       stats = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
9462           message_arena, stats, submessage_arena);
9463     }
9464     _impl_._has_bits_[0] |= 0x00000001u;
9465   } else {
9466     _impl_._has_bits_[0] &= ~0x00000001u;
9467   }
9468   _impl_.stats_ = stats;
9469   // @@protoc_insertion_point(field_set_allocated:metrics.PerfDataProto.stats)
9470 }
9471 
9472 // repeated .metrics.PerfDataProto.PerfBuildID build_ids = 7;
_internal_build_ids_size()9473 inline int PerfDataProto::_internal_build_ids_size() const {
9474   return _impl_.build_ids_.size();
9475 }
build_ids_size()9476 inline int PerfDataProto::build_ids_size() const {
9477   return _internal_build_ids_size();
9478 }
clear_build_ids()9479 inline void PerfDataProto::clear_build_ids() {
9480   _impl_.build_ids_.Clear();
9481 }
mutable_build_ids(int index)9482 inline ::metrics::PerfDataProto_PerfBuildID* PerfDataProto::mutable_build_ids(int index) {
9483   // @@protoc_insertion_point(field_mutable:metrics.PerfDataProto.build_ids)
9484   return _impl_.build_ids_.Mutable(index);
9485 }
9486 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::PerfDataProto_PerfBuildID >*
mutable_build_ids()9487 PerfDataProto::mutable_build_ids() {
9488   // @@protoc_insertion_point(field_mutable_list:metrics.PerfDataProto.build_ids)
9489   return &_impl_.build_ids_;
9490 }
_internal_build_ids(int index)9491 inline const ::metrics::PerfDataProto_PerfBuildID& PerfDataProto::_internal_build_ids(int index) const {
9492   return _impl_.build_ids_.Get(index);
9493 }
build_ids(int index)9494 inline const ::metrics::PerfDataProto_PerfBuildID& PerfDataProto::build_ids(int index) const {
9495   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.build_ids)
9496   return _internal_build_ids(index);
9497 }
_internal_add_build_ids()9498 inline ::metrics::PerfDataProto_PerfBuildID* PerfDataProto::_internal_add_build_ids() {
9499   return _impl_.build_ids_.Add();
9500 }
add_build_ids()9501 inline ::metrics::PerfDataProto_PerfBuildID* PerfDataProto::add_build_ids() {
9502   ::metrics::PerfDataProto_PerfBuildID* _add = _internal_add_build_ids();
9503   // @@protoc_insertion_point(field_add:metrics.PerfDataProto.build_ids)
9504   return _add;
9505 }
9506 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::PerfDataProto_PerfBuildID >&
build_ids()9507 PerfDataProto::build_ids() const {
9508   // @@protoc_insertion_point(field_list:metrics.PerfDataProto.build_ids)
9509   return _impl_.build_ids_;
9510 }
9511 
9512 // repeated .metrics.PerfDataProto.PerfPMUMappingsMetadata pmu_mappings = 15;
_internal_pmu_mappings_size()9513 inline int PerfDataProto::_internal_pmu_mappings_size() const {
9514   return _impl_.pmu_mappings_.size();
9515 }
pmu_mappings_size()9516 inline int PerfDataProto::pmu_mappings_size() const {
9517   return _internal_pmu_mappings_size();
9518 }
clear_pmu_mappings()9519 inline void PerfDataProto::clear_pmu_mappings() {
9520   _impl_.pmu_mappings_.Clear();
9521 }
mutable_pmu_mappings(int index)9522 inline ::metrics::PerfDataProto_PerfPMUMappingsMetadata* PerfDataProto::mutable_pmu_mappings(int index) {
9523   // @@protoc_insertion_point(field_mutable:metrics.PerfDataProto.pmu_mappings)
9524   return _impl_.pmu_mappings_.Mutable(index);
9525 }
9526 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::PerfDataProto_PerfPMUMappingsMetadata >*
mutable_pmu_mappings()9527 PerfDataProto::mutable_pmu_mappings() {
9528   // @@protoc_insertion_point(field_mutable_list:metrics.PerfDataProto.pmu_mappings)
9529   return &_impl_.pmu_mappings_;
9530 }
_internal_pmu_mappings(int index)9531 inline const ::metrics::PerfDataProto_PerfPMUMappingsMetadata& PerfDataProto::_internal_pmu_mappings(int index) const {
9532   return _impl_.pmu_mappings_.Get(index);
9533 }
pmu_mappings(int index)9534 inline const ::metrics::PerfDataProto_PerfPMUMappingsMetadata& PerfDataProto::pmu_mappings(int index) const {
9535   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.pmu_mappings)
9536   return _internal_pmu_mappings(index);
9537 }
_internal_add_pmu_mappings()9538 inline ::metrics::PerfDataProto_PerfPMUMappingsMetadata* PerfDataProto::_internal_add_pmu_mappings() {
9539   return _impl_.pmu_mappings_.Add();
9540 }
add_pmu_mappings()9541 inline ::metrics::PerfDataProto_PerfPMUMappingsMetadata* PerfDataProto::add_pmu_mappings() {
9542   ::metrics::PerfDataProto_PerfPMUMappingsMetadata* _add = _internal_add_pmu_mappings();
9543   // @@protoc_insertion_point(field_add:metrics.PerfDataProto.pmu_mappings)
9544   return _add;
9545 }
9546 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::PerfDataProto_PerfPMUMappingsMetadata >&
pmu_mappings()9547 PerfDataProto::pmu_mappings() const {
9548   // @@protoc_insertion_point(field_list:metrics.PerfDataProto.pmu_mappings)
9549   return _impl_.pmu_mappings_;
9550 }
9551 
9552 // repeated .metrics.PerfDataProto.PerfHybridTopologyMetadata hybrid_topology = 17;
_internal_hybrid_topology_size()9553 inline int PerfDataProto::_internal_hybrid_topology_size() const {
9554   return _impl_.hybrid_topology_.size();
9555 }
hybrid_topology_size()9556 inline int PerfDataProto::hybrid_topology_size() const {
9557   return _internal_hybrid_topology_size();
9558 }
clear_hybrid_topology()9559 inline void PerfDataProto::clear_hybrid_topology() {
9560   _impl_.hybrid_topology_.Clear();
9561 }
mutable_hybrid_topology(int index)9562 inline ::metrics::PerfDataProto_PerfHybridTopologyMetadata* PerfDataProto::mutable_hybrid_topology(int index) {
9563   // @@protoc_insertion_point(field_mutable:metrics.PerfDataProto.hybrid_topology)
9564   return _impl_.hybrid_topology_.Mutable(index);
9565 }
9566 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::PerfDataProto_PerfHybridTopologyMetadata >*
mutable_hybrid_topology()9567 PerfDataProto::mutable_hybrid_topology() {
9568   // @@protoc_insertion_point(field_mutable_list:metrics.PerfDataProto.hybrid_topology)
9569   return &_impl_.hybrid_topology_;
9570 }
_internal_hybrid_topology(int index)9571 inline const ::metrics::PerfDataProto_PerfHybridTopologyMetadata& PerfDataProto::_internal_hybrid_topology(int index) const {
9572   return _impl_.hybrid_topology_.Get(index);
9573 }
hybrid_topology(int index)9574 inline const ::metrics::PerfDataProto_PerfHybridTopologyMetadata& PerfDataProto::hybrid_topology(int index) const {
9575   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.hybrid_topology)
9576   return _internal_hybrid_topology(index);
9577 }
_internal_add_hybrid_topology()9578 inline ::metrics::PerfDataProto_PerfHybridTopologyMetadata* PerfDataProto::_internal_add_hybrid_topology() {
9579   return _impl_.hybrid_topology_.Add();
9580 }
add_hybrid_topology()9581 inline ::metrics::PerfDataProto_PerfHybridTopologyMetadata* PerfDataProto::add_hybrid_topology() {
9582   ::metrics::PerfDataProto_PerfHybridTopologyMetadata* _add = _internal_add_hybrid_topology();
9583   // @@protoc_insertion_point(field_add:metrics.PerfDataProto.hybrid_topology)
9584   return _add;
9585 }
9586 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::PerfDataProto_PerfHybridTopologyMetadata >&
hybrid_topology()9587 PerfDataProto::hybrid_topology() const {
9588   // @@protoc_insertion_point(field_list:metrics.PerfDataProto.hybrid_topology)
9589   return _impl_.hybrid_topology_;
9590 }
9591 
9592 // optional .metrics.PerfDataProto.StringMetadata string_metadata = 13;
_internal_has_string_metadata()9593 inline bool PerfDataProto::_internal_has_string_metadata() const {
9594   bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
9595   PROTOBUF_ASSUME(!value || _impl_.string_metadata_ != nullptr);
9596   return value;
9597 }
has_string_metadata()9598 inline bool PerfDataProto::has_string_metadata() const {
9599   return _internal_has_string_metadata();
9600 }
clear_string_metadata()9601 inline void PerfDataProto::clear_string_metadata() {
9602   if (_impl_.string_metadata_ != nullptr) _impl_.string_metadata_->Clear();
9603   _impl_._has_bits_[0] &= ~0x00000002u;
9604 }
_internal_string_metadata()9605 inline const ::metrics::PerfDataProto_StringMetadata& PerfDataProto::_internal_string_metadata() const {
9606   const ::metrics::PerfDataProto_StringMetadata* p = _impl_.string_metadata_;
9607   return p != nullptr ? *p : reinterpret_cast<const ::metrics::PerfDataProto_StringMetadata&>(
9608       ::metrics::_PerfDataProto_StringMetadata_default_instance_);
9609 }
string_metadata()9610 inline const ::metrics::PerfDataProto_StringMetadata& PerfDataProto::string_metadata() const {
9611   // @@protoc_insertion_point(field_get:metrics.PerfDataProto.string_metadata)
9612   return _internal_string_metadata();
9613 }
unsafe_arena_set_allocated_string_metadata(::metrics::PerfDataProto_StringMetadata * string_metadata)9614 inline void PerfDataProto::unsafe_arena_set_allocated_string_metadata(
9615     ::metrics::PerfDataProto_StringMetadata* string_metadata) {
9616   if (GetArenaForAllocation() == nullptr) {
9617     delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.string_metadata_);
9618   }
9619   _impl_.string_metadata_ = string_metadata;
9620   if (string_metadata) {
9621     _impl_._has_bits_[0] |= 0x00000002u;
9622   } else {
9623     _impl_._has_bits_[0] &= ~0x00000002u;
9624   }
9625   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:metrics.PerfDataProto.string_metadata)
9626 }
release_string_metadata()9627 inline ::metrics::PerfDataProto_StringMetadata* PerfDataProto::release_string_metadata() {
9628   _impl_._has_bits_[0] &= ~0x00000002u;
9629   ::metrics::PerfDataProto_StringMetadata* temp = _impl_.string_metadata_;
9630   _impl_.string_metadata_ = nullptr;
9631 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
9632   auto* old =  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
9633   temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
9634   if (GetArenaForAllocation() == nullptr) { delete old; }
9635 #else  // PROTOBUF_FORCE_COPY_IN_RELEASE
9636   if (GetArenaForAllocation() != nullptr) {
9637     temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
9638   }
9639 #endif  // !PROTOBUF_FORCE_COPY_IN_RELEASE
9640   return temp;
9641 }
unsafe_arena_release_string_metadata()9642 inline ::metrics::PerfDataProto_StringMetadata* PerfDataProto::unsafe_arena_release_string_metadata() {
9643   // @@protoc_insertion_point(field_release:metrics.PerfDataProto.string_metadata)
9644   _impl_._has_bits_[0] &= ~0x00000002u;
9645   ::metrics::PerfDataProto_StringMetadata* temp = _impl_.string_metadata_;
9646   _impl_.string_metadata_ = nullptr;
9647   return temp;
9648 }
_internal_mutable_string_metadata()9649 inline ::metrics::PerfDataProto_StringMetadata* PerfDataProto::_internal_mutable_string_metadata() {
9650   _impl_._has_bits_[0] |= 0x00000002u;
9651   if (_impl_.string_metadata_ == nullptr) {
9652     auto* p = CreateMaybeMessage<::metrics::PerfDataProto_StringMetadata>(GetArenaForAllocation());
9653     _impl_.string_metadata_ = p;
9654   }
9655   return _impl_.string_metadata_;
9656 }
mutable_string_metadata()9657 inline ::metrics::PerfDataProto_StringMetadata* PerfDataProto::mutable_string_metadata() {
9658   ::metrics::PerfDataProto_StringMetadata* _msg = _internal_mutable_string_metadata();
9659   // @@protoc_insertion_point(field_mutable:metrics.PerfDataProto.string_metadata)
9660   return _msg;
9661 }
set_allocated_string_metadata(::metrics::PerfDataProto_StringMetadata * string_metadata)9662 inline void PerfDataProto::set_allocated_string_metadata(::metrics::PerfDataProto_StringMetadata* string_metadata) {
9663   ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
9664   if (message_arena == nullptr) {
9665     delete _impl_.string_metadata_;
9666   }
9667   if (string_metadata) {
9668     ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
9669         ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(string_metadata);
9670     if (message_arena != submessage_arena) {
9671       string_metadata = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
9672           message_arena, string_metadata, submessage_arena);
9673     }
9674     _impl_._has_bits_[0] |= 0x00000002u;
9675   } else {
9676     _impl_._has_bits_[0] &= ~0x00000002u;
9677   }
9678   _impl_.string_metadata_ = string_metadata;
9679   // @@protoc_insertion_point(field_set_allocated:metrics.PerfDataProto.string_metadata)
9680 }
9681 
9682 #ifdef __GNUC__
9683   #pragma GCC diagnostic pop
9684 #endif  // __GNUC__
9685 // -------------------------------------------------------------------
9686 
9687 // -------------------------------------------------------------------
9688 
9689 // -------------------------------------------------------------------
9690 
9691 // -------------------------------------------------------------------
9692 
9693 // -------------------------------------------------------------------
9694 
9695 // -------------------------------------------------------------------
9696 
9697 // -------------------------------------------------------------------
9698 
9699 // -------------------------------------------------------------------
9700 
9701 // -------------------------------------------------------------------
9702 
9703 // -------------------------------------------------------------------
9704 
9705 // -------------------------------------------------------------------
9706 
9707 // -------------------------------------------------------------------
9708 
9709 // -------------------------------------------------------------------
9710 
9711 // -------------------------------------------------------------------
9712 
9713 // -------------------------------------------------------------------
9714 
9715 // -------------------------------------------------------------------
9716 
9717 // -------------------------------------------------------------------
9718 
9719 // -------------------------------------------------------------------
9720 
9721 // -------------------------------------------------------------------
9722 
9723 
9724 // @@protoc_insertion_point(namespace_scope)
9725 
9726 }  // namespace metrics
9727 
9728 // @@protoc_insertion_point(global_scope)
9729 
9730 #include <google/protobuf/port_undef.inc>
9731 #endif  // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_perf_5fdata_2eproto
9732