1 // Generated by the protocol buffer compiler.  DO NOT EDIT!
2 // source: perf_stat.proto
3 
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_perf_5fstat_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_perf_5fstat_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_5fstat_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_5fstat_2eproto {
42   static const uint32_t offsets[];
43 };
44 namespace metrics {
45 class PerfStatProto;
46 struct PerfStatProtoDefaultTypeInternal;
47 extern PerfStatProtoDefaultTypeInternal _PerfStatProto_default_instance_;
48 class PerfStatProto_PerfStatLine;
49 struct PerfStatProto_PerfStatLineDefaultTypeInternal;
50 extern PerfStatProto_PerfStatLineDefaultTypeInternal _PerfStatProto_PerfStatLine_default_instance_;
51 }  // namespace metrics
52 PROTOBUF_NAMESPACE_OPEN
53 template<> ::metrics::PerfStatProto* Arena::CreateMaybeMessage<::metrics::PerfStatProto>(Arena*);
54 template<> ::metrics::PerfStatProto_PerfStatLine* Arena::CreateMaybeMessage<::metrics::PerfStatProto_PerfStatLine>(Arena*);
55 PROTOBUF_NAMESPACE_CLOSE
56 namespace metrics {
57 
58 // ===================================================================
59 
60 class PerfStatProto_PerfStatLine final :
61     public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:metrics.PerfStatProto.PerfStatLine) */ {
62  public:
PerfStatProto_PerfStatLine()63   inline PerfStatProto_PerfStatLine() : PerfStatProto_PerfStatLine(nullptr) {}
64   ~PerfStatProto_PerfStatLine() override;
65   explicit PROTOBUF_CONSTEXPR PerfStatProto_PerfStatLine(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
66 
67   PerfStatProto_PerfStatLine(const PerfStatProto_PerfStatLine& from);
PerfStatProto_PerfStatLine(PerfStatProto_PerfStatLine && from)68   PerfStatProto_PerfStatLine(PerfStatProto_PerfStatLine&& from) noexcept
69     : PerfStatProto_PerfStatLine() {
70     *this = ::std::move(from);
71   }
72 
73   inline PerfStatProto_PerfStatLine& operator=(const PerfStatProto_PerfStatLine& from) {
74     CopyFrom(from);
75     return *this;
76   }
77   inline PerfStatProto_PerfStatLine& operator=(PerfStatProto_PerfStatLine&& from) noexcept {
78     if (this == &from) return *this;
79     if (GetOwningArena() == from.GetOwningArena()
80   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
81         && GetOwningArena() != nullptr
82   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
83     ) {
84       InternalSwap(&from);
85     } else {
86       CopyFrom(from);
87     }
88     return *this;
89   }
90 
unknown_fields()91   inline const std::string& unknown_fields() const {
92     return _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString);
93   }
mutable_unknown_fields()94   inline std::string* mutable_unknown_fields() {
95     return _internal_metadata_.mutable_unknown_fields<std::string>();
96   }
97 
default_instance()98   static const PerfStatProto_PerfStatLine& default_instance() {
99     return *internal_default_instance();
100   }
internal_default_instance()101   static inline const PerfStatProto_PerfStatLine* internal_default_instance() {
102     return reinterpret_cast<const PerfStatProto_PerfStatLine*>(
103                &_PerfStatProto_PerfStatLine_default_instance_);
104   }
105   static constexpr int kIndexInFileMessages =
106     0;
107 
swap(PerfStatProto_PerfStatLine & a,PerfStatProto_PerfStatLine & b)108   friend void swap(PerfStatProto_PerfStatLine& a, PerfStatProto_PerfStatLine& b) {
109     a.Swap(&b);
110   }
Swap(PerfStatProto_PerfStatLine * other)111   PROTOBUF_NOINLINE void Swap(PerfStatProto_PerfStatLine* other) {
112     if (other == this) return;
113   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
114     if (GetOwningArena() != nullptr &&
115         GetOwningArena() == other->GetOwningArena()) {
116    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
117     if (GetOwningArena() == other->GetOwningArena()) {
118   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
119       InternalSwap(other);
120     } else {
121       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
122     }
123   }
124   void UnsafeArenaSwap(PerfStatProto_PerfStatLine* other) {
125     if (other == this) return;
126     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
127     InternalSwap(other);
128   }
129 
130   // implements Message ----------------------------------------------
131 
132   PerfStatProto_PerfStatLine* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
133     return CreateMaybeMessage<PerfStatProto_PerfStatLine>(arena);
134   }
135   void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)  final;
136   void CopyFrom(const PerfStatProto_PerfStatLine& from);
137   void MergeFrom(const PerfStatProto_PerfStatLine& from);
138   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
139   bool IsInitialized() const final;
140 
141   size_t ByteSizeLong() const final;
142   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
143   uint8_t* _InternalSerialize(
144       uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
145   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
146 
147   private:
148   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
149   void SharedDtor();
150   void SetCachedSize(int size) const;
151   void InternalSwap(PerfStatProto_PerfStatLine* other);
152 
153   private:
154   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
155   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
156     return "metrics.PerfStatProto.PerfStatLine";
157   }
158   protected:
159   explicit PerfStatProto_PerfStatLine(::PROTOBUF_NAMESPACE_ID::Arena* arena,
160                        bool is_message_owned = false);
161   public:
162 
163   std::string GetTypeName() const final;
164 
165   // nested types ----------------------------------------------------
166 
167   // accessors -------------------------------------------------------
168 
169   enum : int {
170     kEventNameFieldNumber = 3,
171     kTimeMsFieldNumber = 1,
172     kCountFieldNumber = 2,
173   };
174   // optional string event_name = 3;
175   bool has_event_name() const;
176   private:
177   bool _internal_has_event_name() const;
178   public:
179   void clear_event_name();
180   const std::string& event_name() const;
181   template <typename ArgT0 = const std::string&, typename... ArgT>
182   void set_event_name(ArgT0&& arg0, ArgT... args);
183   std::string* mutable_event_name();
184   PROTOBUF_NODISCARD std::string* release_event_name();
185   void set_allocated_event_name(std::string* event_name);
186   private:
187   const std::string& _internal_event_name() const;
188   inline PROTOBUF_ALWAYS_INLINE void _internal_set_event_name(const std::string& value);
189   std::string* _internal_mutable_event_name();
190   public:
191 
192   // optional uint64 time_ms = 1;
193   bool has_time_ms() const;
194   private:
195   bool _internal_has_time_ms() const;
196   public:
197   void clear_time_ms();
198   uint64_t time_ms() const;
199   void set_time_ms(uint64_t value);
200   private:
201   uint64_t _internal_time_ms() const;
202   void _internal_set_time_ms(uint64_t value);
203   public:
204 
205   // optional uint64 count = 2;
206   bool has_count() const;
207   private:
208   bool _internal_has_count() const;
209   public:
210   void clear_count();
211   uint64_t count() const;
212   void set_count(uint64_t value);
213   private:
214   uint64_t _internal_count() const;
215   void _internal_set_count(uint64_t value);
216   public:
217 
218   // @@protoc_insertion_point(class_scope:metrics.PerfStatProto.PerfStatLine)
219  private:
220   class _Internal;
221 
222   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
223   typedef void InternalArenaConstructable_;
224   typedef void DestructorSkippable_;
225   struct Impl_ {
226     ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
227     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
228     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr event_name_;
229     uint64_t time_ms_;
230     uint64_t count_;
231   };
232   union { Impl_ _impl_; };
233   friend struct ::TableStruct_perf_5fstat_2eproto;
234 };
235 // -------------------------------------------------------------------
236 
237 class PerfStatProto final :
238     public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:metrics.PerfStatProto) */ {
239  public:
PerfStatProto()240   inline PerfStatProto() : PerfStatProto(nullptr) {}
241   ~PerfStatProto() override;
242   explicit PROTOBUF_CONSTEXPR PerfStatProto(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
243 
244   PerfStatProto(const PerfStatProto& from);
PerfStatProto(PerfStatProto && from)245   PerfStatProto(PerfStatProto&& from) noexcept
246     : PerfStatProto() {
247     *this = ::std::move(from);
248   }
249 
250   inline PerfStatProto& operator=(const PerfStatProto& from) {
251     CopyFrom(from);
252     return *this;
253   }
254   inline PerfStatProto& operator=(PerfStatProto&& from) noexcept {
255     if (this == &from) return *this;
256     if (GetOwningArena() == from.GetOwningArena()
257   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
258         && GetOwningArena() != nullptr
259   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
260     ) {
261       InternalSwap(&from);
262     } else {
263       CopyFrom(from);
264     }
265     return *this;
266   }
267 
unknown_fields()268   inline const std::string& unknown_fields() const {
269     return _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString);
270   }
mutable_unknown_fields()271   inline std::string* mutable_unknown_fields() {
272     return _internal_metadata_.mutable_unknown_fields<std::string>();
273   }
274 
default_instance()275   static const PerfStatProto& default_instance() {
276     return *internal_default_instance();
277   }
internal_default_instance()278   static inline const PerfStatProto* internal_default_instance() {
279     return reinterpret_cast<const PerfStatProto*>(
280                &_PerfStatProto_default_instance_);
281   }
282   static constexpr int kIndexInFileMessages =
283     1;
284 
swap(PerfStatProto & a,PerfStatProto & b)285   friend void swap(PerfStatProto& a, PerfStatProto& b) {
286     a.Swap(&b);
287   }
Swap(PerfStatProto * other)288   PROTOBUF_NOINLINE void Swap(PerfStatProto* other) {
289     if (other == this) return;
290   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
291     if (GetOwningArena() != nullptr &&
292         GetOwningArena() == other->GetOwningArena()) {
293    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
294     if (GetOwningArena() == other->GetOwningArena()) {
295   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
296       InternalSwap(other);
297     } else {
298       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
299     }
300   }
301   void UnsafeArenaSwap(PerfStatProto* other) {
302     if (other == this) return;
303     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
304     InternalSwap(other);
305   }
306 
307   // implements Message ----------------------------------------------
308 
309   PerfStatProto* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
310     return CreateMaybeMessage<PerfStatProto>(arena);
311   }
312   void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)  final;
313   void CopyFrom(const PerfStatProto& from);
314   void MergeFrom(const PerfStatProto& from);
315   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
316   bool IsInitialized() const final;
317 
318   size_t ByteSizeLong() const final;
319   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
320   uint8_t* _InternalSerialize(
321       uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
322   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
323 
324   private:
325   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
326   void SharedDtor();
327   void SetCachedSize(int size) const;
328   void InternalSwap(PerfStatProto* other);
329 
330   private:
331   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
332   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
333     return "metrics.PerfStatProto";
334   }
335   protected:
336   explicit PerfStatProto(::PROTOBUF_NAMESPACE_ID::Arena* arena,
337                        bool is_message_owned = false);
338   public:
339 
340   std::string GetTypeName() const final;
341 
342   // nested types ----------------------------------------------------
343 
344   typedef PerfStatProto_PerfStatLine PerfStatLine;
345 
346   // accessors -------------------------------------------------------
347 
348   enum : int {
349     kLineFieldNumber = 1,
350     kCommandLineFieldNumber = 2,
351   };
352   // repeated .metrics.PerfStatProto.PerfStatLine line = 1;
353   int line_size() const;
354   private:
355   int _internal_line_size() const;
356   public:
357   void clear_line();
358   ::metrics::PerfStatProto_PerfStatLine* mutable_line(int index);
359   ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::PerfStatProto_PerfStatLine >*
360       mutable_line();
361   private:
362   const ::metrics::PerfStatProto_PerfStatLine& _internal_line(int index) const;
363   ::metrics::PerfStatProto_PerfStatLine* _internal_add_line();
364   public:
365   const ::metrics::PerfStatProto_PerfStatLine& line(int index) const;
366   ::metrics::PerfStatProto_PerfStatLine* add_line();
367   const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::PerfStatProto_PerfStatLine >&
368       line() const;
369 
370   // optional string command_line = 2;
371   bool has_command_line() const;
372   private:
373   bool _internal_has_command_line() const;
374   public:
375   void clear_command_line();
376   const std::string& command_line() const;
377   template <typename ArgT0 = const std::string&, typename... ArgT>
378   void set_command_line(ArgT0&& arg0, ArgT... args);
379   std::string* mutable_command_line();
380   PROTOBUF_NODISCARD std::string* release_command_line();
381   void set_allocated_command_line(std::string* command_line);
382   private:
383   const std::string& _internal_command_line() const;
384   inline PROTOBUF_ALWAYS_INLINE void _internal_set_command_line(const std::string& value);
385   std::string* _internal_mutable_command_line();
386   public:
387 
388   // @@protoc_insertion_point(class_scope:metrics.PerfStatProto)
389  private:
390   class _Internal;
391 
392   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
393   typedef void InternalArenaConstructable_;
394   typedef void DestructorSkippable_;
395   struct Impl_ {
396     ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
397     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
398     ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::PerfStatProto_PerfStatLine > line_;
399     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr command_line_;
400   };
401   union { Impl_ _impl_; };
402   friend struct ::TableStruct_perf_5fstat_2eproto;
403 };
404 // ===================================================================
405 
406 
407 // ===================================================================
408 
409 #ifdef __GNUC__
410   #pragma GCC diagnostic push
411   #pragma GCC diagnostic ignored "-Wstrict-aliasing"
412 #endif  // __GNUC__
413 // PerfStatProto_PerfStatLine
414 
415 // optional uint64 time_ms = 1;
_internal_has_time_ms()416 inline bool PerfStatProto_PerfStatLine::_internal_has_time_ms() const {
417   bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
418   return value;
419 }
has_time_ms()420 inline bool PerfStatProto_PerfStatLine::has_time_ms() const {
421   return _internal_has_time_ms();
422 }
clear_time_ms()423 inline void PerfStatProto_PerfStatLine::clear_time_ms() {
424   _impl_.time_ms_ = uint64_t{0u};
425   _impl_._has_bits_[0] &= ~0x00000002u;
426 }
_internal_time_ms()427 inline uint64_t PerfStatProto_PerfStatLine::_internal_time_ms() const {
428   return _impl_.time_ms_;
429 }
time_ms()430 inline uint64_t PerfStatProto_PerfStatLine::time_ms() const {
431   // @@protoc_insertion_point(field_get:metrics.PerfStatProto.PerfStatLine.time_ms)
432   return _internal_time_ms();
433 }
_internal_set_time_ms(uint64_t value)434 inline void PerfStatProto_PerfStatLine::_internal_set_time_ms(uint64_t value) {
435   _impl_._has_bits_[0] |= 0x00000002u;
436   _impl_.time_ms_ = value;
437 }
set_time_ms(uint64_t value)438 inline void PerfStatProto_PerfStatLine::set_time_ms(uint64_t value) {
439   _internal_set_time_ms(value);
440   // @@protoc_insertion_point(field_set:metrics.PerfStatProto.PerfStatLine.time_ms)
441 }
442 
443 // optional uint64 count = 2;
_internal_has_count()444 inline bool PerfStatProto_PerfStatLine::_internal_has_count() const {
445   bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
446   return value;
447 }
has_count()448 inline bool PerfStatProto_PerfStatLine::has_count() const {
449   return _internal_has_count();
450 }
clear_count()451 inline void PerfStatProto_PerfStatLine::clear_count() {
452   _impl_.count_ = uint64_t{0u};
453   _impl_._has_bits_[0] &= ~0x00000004u;
454 }
_internal_count()455 inline uint64_t PerfStatProto_PerfStatLine::_internal_count() const {
456   return _impl_.count_;
457 }
count()458 inline uint64_t PerfStatProto_PerfStatLine::count() const {
459   // @@protoc_insertion_point(field_get:metrics.PerfStatProto.PerfStatLine.count)
460   return _internal_count();
461 }
_internal_set_count(uint64_t value)462 inline void PerfStatProto_PerfStatLine::_internal_set_count(uint64_t value) {
463   _impl_._has_bits_[0] |= 0x00000004u;
464   _impl_.count_ = value;
465 }
set_count(uint64_t value)466 inline void PerfStatProto_PerfStatLine::set_count(uint64_t value) {
467   _internal_set_count(value);
468   // @@protoc_insertion_point(field_set:metrics.PerfStatProto.PerfStatLine.count)
469 }
470 
471 // optional string event_name = 3;
_internal_has_event_name()472 inline bool PerfStatProto_PerfStatLine::_internal_has_event_name() const {
473   bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
474   return value;
475 }
has_event_name()476 inline bool PerfStatProto_PerfStatLine::has_event_name() const {
477   return _internal_has_event_name();
478 }
clear_event_name()479 inline void PerfStatProto_PerfStatLine::clear_event_name() {
480   _impl_.event_name_.ClearToEmpty();
481   _impl_._has_bits_[0] &= ~0x00000001u;
482 }
event_name()483 inline const std::string& PerfStatProto_PerfStatLine::event_name() const {
484   // @@protoc_insertion_point(field_get:metrics.PerfStatProto.PerfStatLine.event_name)
485   return _internal_event_name();
486 }
487 template <typename ArgT0, typename... ArgT>
488 inline PROTOBUF_ALWAYS_INLINE
set_event_name(ArgT0 && arg0,ArgT...args)489 void PerfStatProto_PerfStatLine::set_event_name(ArgT0&& arg0, ArgT... args) {
490  _impl_._has_bits_[0] |= 0x00000001u;
491  _impl_.event_name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
492   // @@protoc_insertion_point(field_set:metrics.PerfStatProto.PerfStatLine.event_name)
493 }
mutable_event_name()494 inline std::string* PerfStatProto_PerfStatLine::mutable_event_name() {
495   std::string* _s = _internal_mutable_event_name();
496   // @@protoc_insertion_point(field_mutable:metrics.PerfStatProto.PerfStatLine.event_name)
497   return _s;
498 }
_internal_event_name()499 inline const std::string& PerfStatProto_PerfStatLine::_internal_event_name() const {
500   return _impl_.event_name_.Get();
501 }
_internal_set_event_name(const std::string & value)502 inline void PerfStatProto_PerfStatLine::_internal_set_event_name(const std::string& value) {
503   _impl_._has_bits_[0] |= 0x00000001u;
504   _impl_.event_name_.Set(value, GetArenaForAllocation());
505 }
_internal_mutable_event_name()506 inline std::string* PerfStatProto_PerfStatLine::_internal_mutable_event_name() {
507   _impl_._has_bits_[0] |= 0x00000001u;
508   return _impl_.event_name_.Mutable(GetArenaForAllocation());
509 }
release_event_name()510 inline std::string* PerfStatProto_PerfStatLine::release_event_name() {
511   // @@protoc_insertion_point(field_release:metrics.PerfStatProto.PerfStatLine.event_name)
512   if (!_internal_has_event_name()) {
513     return nullptr;
514   }
515   _impl_._has_bits_[0] &= ~0x00000001u;
516   auto* p = _impl_.event_name_.Release();
517 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
518   if (_impl_.event_name_.IsDefault()) {
519     _impl_.event_name_.Set("", GetArenaForAllocation());
520   }
521 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
522   return p;
523 }
set_allocated_event_name(std::string * event_name)524 inline void PerfStatProto_PerfStatLine::set_allocated_event_name(std::string* event_name) {
525   if (event_name != nullptr) {
526     _impl_._has_bits_[0] |= 0x00000001u;
527   } else {
528     _impl_._has_bits_[0] &= ~0x00000001u;
529   }
530   _impl_.event_name_.SetAllocated(event_name, GetArenaForAllocation());
531 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
532   if (_impl_.event_name_.IsDefault()) {
533     _impl_.event_name_.Set("", GetArenaForAllocation());
534   }
535 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
536   // @@protoc_insertion_point(field_set_allocated:metrics.PerfStatProto.PerfStatLine.event_name)
537 }
538 
539 // -------------------------------------------------------------------
540 
541 // PerfStatProto
542 
543 // repeated .metrics.PerfStatProto.PerfStatLine line = 1;
_internal_line_size()544 inline int PerfStatProto::_internal_line_size() const {
545   return _impl_.line_.size();
546 }
line_size()547 inline int PerfStatProto::line_size() const {
548   return _internal_line_size();
549 }
clear_line()550 inline void PerfStatProto::clear_line() {
551   _impl_.line_.Clear();
552 }
mutable_line(int index)553 inline ::metrics::PerfStatProto_PerfStatLine* PerfStatProto::mutable_line(int index) {
554   // @@protoc_insertion_point(field_mutable:metrics.PerfStatProto.line)
555   return _impl_.line_.Mutable(index);
556 }
557 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::PerfStatProto_PerfStatLine >*
mutable_line()558 PerfStatProto::mutable_line() {
559   // @@protoc_insertion_point(field_mutable_list:metrics.PerfStatProto.line)
560   return &_impl_.line_;
561 }
_internal_line(int index)562 inline const ::metrics::PerfStatProto_PerfStatLine& PerfStatProto::_internal_line(int index) const {
563   return _impl_.line_.Get(index);
564 }
line(int index)565 inline const ::metrics::PerfStatProto_PerfStatLine& PerfStatProto::line(int index) const {
566   // @@protoc_insertion_point(field_get:metrics.PerfStatProto.line)
567   return _internal_line(index);
568 }
_internal_add_line()569 inline ::metrics::PerfStatProto_PerfStatLine* PerfStatProto::_internal_add_line() {
570   return _impl_.line_.Add();
571 }
add_line()572 inline ::metrics::PerfStatProto_PerfStatLine* PerfStatProto::add_line() {
573   ::metrics::PerfStatProto_PerfStatLine* _add = _internal_add_line();
574   // @@protoc_insertion_point(field_add:metrics.PerfStatProto.line)
575   return _add;
576 }
577 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::PerfStatProto_PerfStatLine >&
line()578 PerfStatProto::line() const {
579   // @@protoc_insertion_point(field_list:metrics.PerfStatProto.line)
580   return _impl_.line_;
581 }
582 
583 // optional string command_line = 2;
_internal_has_command_line()584 inline bool PerfStatProto::_internal_has_command_line() const {
585   bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
586   return value;
587 }
has_command_line()588 inline bool PerfStatProto::has_command_line() const {
589   return _internal_has_command_line();
590 }
clear_command_line()591 inline void PerfStatProto::clear_command_line() {
592   _impl_.command_line_.ClearToEmpty();
593   _impl_._has_bits_[0] &= ~0x00000001u;
594 }
command_line()595 inline const std::string& PerfStatProto::command_line() const {
596   // @@protoc_insertion_point(field_get:metrics.PerfStatProto.command_line)
597   return _internal_command_line();
598 }
599 template <typename ArgT0, typename... ArgT>
600 inline PROTOBUF_ALWAYS_INLINE
set_command_line(ArgT0 && arg0,ArgT...args)601 void PerfStatProto::set_command_line(ArgT0&& arg0, ArgT... args) {
602  _impl_._has_bits_[0] |= 0x00000001u;
603  _impl_.command_line_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
604   // @@protoc_insertion_point(field_set:metrics.PerfStatProto.command_line)
605 }
mutable_command_line()606 inline std::string* PerfStatProto::mutable_command_line() {
607   std::string* _s = _internal_mutable_command_line();
608   // @@protoc_insertion_point(field_mutable:metrics.PerfStatProto.command_line)
609   return _s;
610 }
_internal_command_line()611 inline const std::string& PerfStatProto::_internal_command_line() const {
612   return _impl_.command_line_.Get();
613 }
_internal_set_command_line(const std::string & value)614 inline void PerfStatProto::_internal_set_command_line(const std::string& value) {
615   _impl_._has_bits_[0] |= 0x00000001u;
616   _impl_.command_line_.Set(value, GetArenaForAllocation());
617 }
_internal_mutable_command_line()618 inline std::string* PerfStatProto::_internal_mutable_command_line() {
619   _impl_._has_bits_[0] |= 0x00000001u;
620   return _impl_.command_line_.Mutable(GetArenaForAllocation());
621 }
release_command_line()622 inline std::string* PerfStatProto::release_command_line() {
623   // @@protoc_insertion_point(field_release:metrics.PerfStatProto.command_line)
624   if (!_internal_has_command_line()) {
625     return nullptr;
626   }
627   _impl_._has_bits_[0] &= ~0x00000001u;
628   auto* p = _impl_.command_line_.Release();
629 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
630   if (_impl_.command_line_.IsDefault()) {
631     _impl_.command_line_.Set("", GetArenaForAllocation());
632   }
633 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
634   return p;
635 }
set_allocated_command_line(std::string * command_line)636 inline void PerfStatProto::set_allocated_command_line(std::string* command_line) {
637   if (command_line != nullptr) {
638     _impl_._has_bits_[0] |= 0x00000001u;
639   } else {
640     _impl_._has_bits_[0] &= ~0x00000001u;
641   }
642   _impl_.command_line_.SetAllocated(command_line, GetArenaForAllocation());
643 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
644   if (_impl_.command_line_.IsDefault()) {
645     _impl_.command_line_.Set("", GetArenaForAllocation());
646   }
647 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
648   // @@protoc_insertion_point(field_set_allocated:metrics.PerfStatProto.command_line)
649 }
650 
651 #ifdef __GNUC__
652   #pragma GCC diagnostic pop
653 #endif  // __GNUC__
654 // -------------------------------------------------------------------
655 
656 
657 // @@protoc_insertion_point(namespace_scope)
658 
659 }  // namespace metrics
660 
661 // @@protoc_insertion_point(global_scope)
662 
663 #include <google/protobuf/port_undef.inc>
664 #endif  // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_perf_5fstat_2eproto
665