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