1 // Generated by the protocol buffer compiler.  DO NOT EDIT!
2 // source: protos/perfetto/trace/ftrace/f2fs.proto
3 
4 #include "protos/perfetto/trace/ftrace/f2fs.pb.h"
5 
6 #include <algorithm>
7 #include <cstdint>
8 
9 #include <google/protobuf/io/coded_stream.h>
10 #include <google/protobuf/extension_set.h>
11 #include <google/protobuf/wire_format_lite.h>
12 #include <google/protobuf/io/zero_copy_stream_impl_lite.h>
13 // @@protoc_insertion_point(includes)
14 #include <google/protobuf/port_def.inc>
15 
16 PROTOBUF_PRAGMA_INIT_SEG
17 
18 namespace _pb = ::PROTOBUF_NAMESPACE_ID;
19 namespace _pbi = _pb::internal;
20 
21 namespace perfetto {
22 namespace protos {
F2fsDoSubmitBioFtraceEvent(::_pbi::ConstantInitialized)23 PROTOBUF_CONSTEXPR F2fsDoSubmitBioFtraceEvent::F2fsDoSubmitBioFtraceEvent(
24     ::_pbi::ConstantInitialized): _impl_{
25     /*decltype(_impl_._has_bits_)*/{}
26   , /*decltype(_impl_._cached_size_)*/{}
27   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
28   , /*decltype(_impl_.btype_)*/0
29   , /*decltype(_impl_.sync_)*/0u
30   , /*decltype(_impl_.sector_)*/::uint64_t{0u}
31   , /*decltype(_impl_.size_)*/0u} {}
32 struct F2fsDoSubmitBioFtraceEventDefaultTypeInternal {
F2fsDoSubmitBioFtraceEventDefaultTypeInternalperfetto::protos::F2fsDoSubmitBioFtraceEventDefaultTypeInternal33   PROTOBUF_CONSTEXPR F2fsDoSubmitBioFtraceEventDefaultTypeInternal()
34       : _instance(::_pbi::ConstantInitialized{}) {}
~F2fsDoSubmitBioFtraceEventDefaultTypeInternalperfetto::protos::F2fsDoSubmitBioFtraceEventDefaultTypeInternal35   ~F2fsDoSubmitBioFtraceEventDefaultTypeInternal() {}
36   union {  // NOLINT(misc-non-private-member-variables-in-classes)
37     F2fsDoSubmitBioFtraceEvent _instance;
38   };
39 };
40 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 F2fsDoSubmitBioFtraceEventDefaultTypeInternal _F2fsDoSubmitBioFtraceEvent_default_instance_;
F2fsEvictInodeFtraceEvent(::_pbi::ConstantInitialized)41 PROTOBUF_CONSTEXPR F2fsEvictInodeFtraceEvent::F2fsEvictInodeFtraceEvent(
42     ::_pbi::ConstantInitialized): _impl_{
43     /*decltype(_impl_._has_bits_)*/{}
44   , /*decltype(_impl_._cached_size_)*/{}
45   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
46   , /*decltype(_impl_.ino_)*/::uint64_t{0u}
47   , /*decltype(_impl_.pino_)*/::uint64_t{0u}
48   , /*decltype(_impl_.size_)*/::int64_t{0}
49   , /*decltype(_impl_.mode_)*/0u
50   , /*decltype(_impl_.nlink_)*/0u
51   , /*decltype(_impl_.blocks_)*/::uint64_t{0u}
52   , /*decltype(_impl_.advise_)*/0u} {}
53 struct F2fsEvictInodeFtraceEventDefaultTypeInternal {
F2fsEvictInodeFtraceEventDefaultTypeInternalperfetto::protos::F2fsEvictInodeFtraceEventDefaultTypeInternal54   PROTOBUF_CONSTEXPR F2fsEvictInodeFtraceEventDefaultTypeInternal()
55       : _instance(::_pbi::ConstantInitialized{}) {}
~F2fsEvictInodeFtraceEventDefaultTypeInternalperfetto::protos::F2fsEvictInodeFtraceEventDefaultTypeInternal56   ~F2fsEvictInodeFtraceEventDefaultTypeInternal() {}
57   union {  // NOLINT(misc-non-private-member-variables-in-classes)
58     F2fsEvictInodeFtraceEvent _instance;
59   };
60 };
61 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 F2fsEvictInodeFtraceEventDefaultTypeInternal _F2fsEvictInodeFtraceEvent_default_instance_;
F2fsFallocateFtraceEvent(::_pbi::ConstantInitialized)62 PROTOBUF_CONSTEXPR F2fsFallocateFtraceEvent::F2fsFallocateFtraceEvent(
63     ::_pbi::ConstantInitialized): _impl_{
64     /*decltype(_impl_._has_bits_)*/{}
65   , /*decltype(_impl_._cached_size_)*/{}
66   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
67   , /*decltype(_impl_.ino_)*/::uint64_t{0u}
68   , /*decltype(_impl_.offset_)*/::int64_t{0}
69   , /*decltype(_impl_.len_)*/::int64_t{0}
70   , /*decltype(_impl_.mode_)*/0
71   , /*decltype(_impl_.ret_)*/0
72   , /*decltype(_impl_.size_)*/::int64_t{0}
73   , /*decltype(_impl_.blocks_)*/::uint64_t{0u}} {}
74 struct F2fsFallocateFtraceEventDefaultTypeInternal {
F2fsFallocateFtraceEventDefaultTypeInternalperfetto::protos::F2fsFallocateFtraceEventDefaultTypeInternal75   PROTOBUF_CONSTEXPR F2fsFallocateFtraceEventDefaultTypeInternal()
76       : _instance(::_pbi::ConstantInitialized{}) {}
~F2fsFallocateFtraceEventDefaultTypeInternalperfetto::protos::F2fsFallocateFtraceEventDefaultTypeInternal77   ~F2fsFallocateFtraceEventDefaultTypeInternal() {}
78   union {  // NOLINT(misc-non-private-member-variables-in-classes)
79     F2fsFallocateFtraceEvent _instance;
80   };
81 };
82 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 F2fsFallocateFtraceEventDefaultTypeInternal _F2fsFallocateFtraceEvent_default_instance_;
F2fsGetDataBlockFtraceEvent(::_pbi::ConstantInitialized)83 PROTOBUF_CONSTEXPR F2fsGetDataBlockFtraceEvent::F2fsGetDataBlockFtraceEvent(
84     ::_pbi::ConstantInitialized): _impl_{
85     /*decltype(_impl_._has_bits_)*/{}
86   , /*decltype(_impl_._cached_size_)*/{}
87   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
88   , /*decltype(_impl_.ino_)*/::uint64_t{0u}
89   , /*decltype(_impl_.iblock_)*/::uint64_t{0u}
90   , /*decltype(_impl_.bh_start_)*/::uint64_t{0u}
91   , /*decltype(_impl_.bh_size_)*/::uint64_t{0u}
92   , /*decltype(_impl_.ret_)*/0} {}
93 struct F2fsGetDataBlockFtraceEventDefaultTypeInternal {
F2fsGetDataBlockFtraceEventDefaultTypeInternalperfetto::protos::F2fsGetDataBlockFtraceEventDefaultTypeInternal94   PROTOBUF_CONSTEXPR F2fsGetDataBlockFtraceEventDefaultTypeInternal()
95       : _instance(::_pbi::ConstantInitialized{}) {}
~F2fsGetDataBlockFtraceEventDefaultTypeInternalperfetto::protos::F2fsGetDataBlockFtraceEventDefaultTypeInternal96   ~F2fsGetDataBlockFtraceEventDefaultTypeInternal() {}
97   union {  // NOLINT(misc-non-private-member-variables-in-classes)
98     F2fsGetDataBlockFtraceEvent _instance;
99   };
100 };
101 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 F2fsGetDataBlockFtraceEventDefaultTypeInternal _F2fsGetDataBlockFtraceEvent_default_instance_;
F2fsGetVictimFtraceEvent(::_pbi::ConstantInitialized)102 PROTOBUF_CONSTEXPR F2fsGetVictimFtraceEvent::F2fsGetVictimFtraceEvent(
103     ::_pbi::ConstantInitialized): _impl_{
104     /*decltype(_impl_._has_bits_)*/{}
105   , /*decltype(_impl_._cached_size_)*/{}
106   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
107   , /*decltype(_impl_.type_)*/0
108   , /*decltype(_impl_.gc_type_)*/0
109   , /*decltype(_impl_.alloc_mode_)*/0
110   , /*decltype(_impl_.gc_mode_)*/0
111   , /*decltype(_impl_.victim_)*/0u
112   , /*decltype(_impl_.ofs_unit_)*/0u
113   , /*decltype(_impl_.pre_victim_)*/0u
114   , /*decltype(_impl_.prefree_)*/0u
115   , /*decltype(_impl_.free_)*/0u
116   , /*decltype(_impl_.cost_)*/0u} {}
117 struct F2fsGetVictimFtraceEventDefaultTypeInternal {
F2fsGetVictimFtraceEventDefaultTypeInternalperfetto::protos::F2fsGetVictimFtraceEventDefaultTypeInternal118   PROTOBUF_CONSTEXPR F2fsGetVictimFtraceEventDefaultTypeInternal()
119       : _instance(::_pbi::ConstantInitialized{}) {}
~F2fsGetVictimFtraceEventDefaultTypeInternalperfetto::protos::F2fsGetVictimFtraceEventDefaultTypeInternal120   ~F2fsGetVictimFtraceEventDefaultTypeInternal() {}
121   union {  // NOLINT(misc-non-private-member-variables-in-classes)
122     F2fsGetVictimFtraceEvent _instance;
123   };
124 };
125 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 F2fsGetVictimFtraceEventDefaultTypeInternal _F2fsGetVictimFtraceEvent_default_instance_;
F2fsIgetFtraceEvent(::_pbi::ConstantInitialized)126 PROTOBUF_CONSTEXPR F2fsIgetFtraceEvent::F2fsIgetFtraceEvent(
127     ::_pbi::ConstantInitialized): _impl_{
128     /*decltype(_impl_._has_bits_)*/{}
129   , /*decltype(_impl_._cached_size_)*/{}
130   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
131   , /*decltype(_impl_.ino_)*/::uint64_t{0u}
132   , /*decltype(_impl_.pino_)*/::uint64_t{0u}
133   , /*decltype(_impl_.size_)*/::int64_t{0}
134   , /*decltype(_impl_.mode_)*/0u
135   , /*decltype(_impl_.nlink_)*/0u
136   , /*decltype(_impl_.blocks_)*/::uint64_t{0u}
137   , /*decltype(_impl_.advise_)*/0u} {}
138 struct F2fsIgetFtraceEventDefaultTypeInternal {
F2fsIgetFtraceEventDefaultTypeInternalperfetto::protos::F2fsIgetFtraceEventDefaultTypeInternal139   PROTOBUF_CONSTEXPR F2fsIgetFtraceEventDefaultTypeInternal()
140       : _instance(::_pbi::ConstantInitialized{}) {}
~F2fsIgetFtraceEventDefaultTypeInternalperfetto::protos::F2fsIgetFtraceEventDefaultTypeInternal141   ~F2fsIgetFtraceEventDefaultTypeInternal() {}
142   union {  // NOLINT(misc-non-private-member-variables-in-classes)
143     F2fsIgetFtraceEvent _instance;
144   };
145 };
146 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 F2fsIgetFtraceEventDefaultTypeInternal _F2fsIgetFtraceEvent_default_instance_;
F2fsIgetExitFtraceEvent(::_pbi::ConstantInitialized)147 PROTOBUF_CONSTEXPR F2fsIgetExitFtraceEvent::F2fsIgetExitFtraceEvent(
148     ::_pbi::ConstantInitialized): _impl_{
149     /*decltype(_impl_._has_bits_)*/{}
150   , /*decltype(_impl_._cached_size_)*/{}
151   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
152   , /*decltype(_impl_.ino_)*/::uint64_t{0u}
153   , /*decltype(_impl_.ret_)*/0} {}
154 struct F2fsIgetExitFtraceEventDefaultTypeInternal {
F2fsIgetExitFtraceEventDefaultTypeInternalperfetto::protos::F2fsIgetExitFtraceEventDefaultTypeInternal155   PROTOBUF_CONSTEXPR F2fsIgetExitFtraceEventDefaultTypeInternal()
156       : _instance(::_pbi::ConstantInitialized{}) {}
~F2fsIgetExitFtraceEventDefaultTypeInternalperfetto::protos::F2fsIgetExitFtraceEventDefaultTypeInternal157   ~F2fsIgetExitFtraceEventDefaultTypeInternal() {}
158   union {  // NOLINT(misc-non-private-member-variables-in-classes)
159     F2fsIgetExitFtraceEvent _instance;
160   };
161 };
162 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 F2fsIgetExitFtraceEventDefaultTypeInternal _F2fsIgetExitFtraceEvent_default_instance_;
F2fsNewInodeFtraceEvent(::_pbi::ConstantInitialized)163 PROTOBUF_CONSTEXPR F2fsNewInodeFtraceEvent::F2fsNewInodeFtraceEvent(
164     ::_pbi::ConstantInitialized): _impl_{
165     /*decltype(_impl_._has_bits_)*/{}
166   , /*decltype(_impl_._cached_size_)*/{}
167   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
168   , /*decltype(_impl_.ino_)*/::uint64_t{0u}
169   , /*decltype(_impl_.ret_)*/0} {}
170 struct F2fsNewInodeFtraceEventDefaultTypeInternal {
F2fsNewInodeFtraceEventDefaultTypeInternalperfetto::protos::F2fsNewInodeFtraceEventDefaultTypeInternal171   PROTOBUF_CONSTEXPR F2fsNewInodeFtraceEventDefaultTypeInternal()
172       : _instance(::_pbi::ConstantInitialized{}) {}
~F2fsNewInodeFtraceEventDefaultTypeInternalperfetto::protos::F2fsNewInodeFtraceEventDefaultTypeInternal173   ~F2fsNewInodeFtraceEventDefaultTypeInternal() {}
174   union {  // NOLINT(misc-non-private-member-variables-in-classes)
175     F2fsNewInodeFtraceEvent _instance;
176   };
177 };
178 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 F2fsNewInodeFtraceEventDefaultTypeInternal _F2fsNewInodeFtraceEvent_default_instance_;
F2fsReadpageFtraceEvent(::_pbi::ConstantInitialized)179 PROTOBUF_CONSTEXPR F2fsReadpageFtraceEvent::F2fsReadpageFtraceEvent(
180     ::_pbi::ConstantInitialized): _impl_{
181     /*decltype(_impl_._has_bits_)*/{}
182   , /*decltype(_impl_._cached_size_)*/{}
183   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
184   , /*decltype(_impl_.ino_)*/::uint64_t{0u}
185   , /*decltype(_impl_.index_)*/::uint64_t{0u}
186   , /*decltype(_impl_.blkaddr_)*/::uint64_t{0u}
187   , /*decltype(_impl_.type_)*/0
188   , /*decltype(_impl_.dir_)*/0
189   , /*decltype(_impl_.dirty_)*/0
190   , /*decltype(_impl_.uptodate_)*/0} {}
191 struct F2fsReadpageFtraceEventDefaultTypeInternal {
F2fsReadpageFtraceEventDefaultTypeInternalperfetto::protos::F2fsReadpageFtraceEventDefaultTypeInternal192   PROTOBUF_CONSTEXPR F2fsReadpageFtraceEventDefaultTypeInternal()
193       : _instance(::_pbi::ConstantInitialized{}) {}
~F2fsReadpageFtraceEventDefaultTypeInternalperfetto::protos::F2fsReadpageFtraceEventDefaultTypeInternal194   ~F2fsReadpageFtraceEventDefaultTypeInternal() {}
195   union {  // NOLINT(misc-non-private-member-variables-in-classes)
196     F2fsReadpageFtraceEvent _instance;
197   };
198 };
199 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 F2fsReadpageFtraceEventDefaultTypeInternal _F2fsReadpageFtraceEvent_default_instance_;
F2fsReserveNewBlockFtraceEvent(::_pbi::ConstantInitialized)200 PROTOBUF_CONSTEXPR F2fsReserveNewBlockFtraceEvent::F2fsReserveNewBlockFtraceEvent(
201     ::_pbi::ConstantInitialized): _impl_{
202     /*decltype(_impl_._has_bits_)*/{}
203   , /*decltype(_impl_._cached_size_)*/{}
204   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
205   , /*decltype(_impl_.nid_)*/0u
206   , /*decltype(_impl_.ofs_in_node_)*/0u} {}
207 struct F2fsReserveNewBlockFtraceEventDefaultTypeInternal {
F2fsReserveNewBlockFtraceEventDefaultTypeInternalperfetto::protos::F2fsReserveNewBlockFtraceEventDefaultTypeInternal208   PROTOBUF_CONSTEXPR F2fsReserveNewBlockFtraceEventDefaultTypeInternal()
209       : _instance(::_pbi::ConstantInitialized{}) {}
~F2fsReserveNewBlockFtraceEventDefaultTypeInternalperfetto::protos::F2fsReserveNewBlockFtraceEventDefaultTypeInternal210   ~F2fsReserveNewBlockFtraceEventDefaultTypeInternal() {}
211   union {  // NOLINT(misc-non-private-member-variables-in-classes)
212     F2fsReserveNewBlockFtraceEvent _instance;
213   };
214 };
215 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 F2fsReserveNewBlockFtraceEventDefaultTypeInternal _F2fsReserveNewBlockFtraceEvent_default_instance_;
F2fsSetPageDirtyFtraceEvent(::_pbi::ConstantInitialized)216 PROTOBUF_CONSTEXPR F2fsSetPageDirtyFtraceEvent::F2fsSetPageDirtyFtraceEvent(
217     ::_pbi::ConstantInitialized): _impl_{
218     /*decltype(_impl_._has_bits_)*/{}
219   , /*decltype(_impl_._cached_size_)*/{}
220   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
221   , /*decltype(_impl_.ino_)*/::uint64_t{0u}
222   , /*decltype(_impl_.type_)*/0
223   , /*decltype(_impl_.dir_)*/0
224   , /*decltype(_impl_.index_)*/::uint64_t{0u}
225   , /*decltype(_impl_.dirty_)*/0
226   , /*decltype(_impl_.uptodate_)*/0} {}
227 struct F2fsSetPageDirtyFtraceEventDefaultTypeInternal {
F2fsSetPageDirtyFtraceEventDefaultTypeInternalperfetto::protos::F2fsSetPageDirtyFtraceEventDefaultTypeInternal228   PROTOBUF_CONSTEXPR F2fsSetPageDirtyFtraceEventDefaultTypeInternal()
229       : _instance(::_pbi::ConstantInitialized{}) {}
~F2fsSetPageDirtyFtraceEventDefaultTypeInternalperfetto::protos::F2fsSetPageDirtyFtraceEventDefaultTypeInternal230   ~F2fsSetPageDirtyFtraceEventDefaultTypeInternal() {}
231   union {  // NOLINT(misc-non-private-member-variables-in-classes)
232     F2fsSetPageDirtyFtraceEvent _instance;
233   };
234 };
235 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 F2fsSetPageDirtyFtraceEventDefaultTypeInternal _F2fsSetPageDirtyFtraceEvent_default_instance_;
F2fsSubmitWritePageFtraceEvent(::_pbi::ConstantInitialized)236 PROTOBUF_CONSTEXPR F2fsSubmitWritePageFtraceEvent::F2fsSubmitWritePageFtraceEvent(
237     ::_pbi::ConstantInitialized): _impl_{
238     /*decltype(_impl_._has_bits_)*/{}
239   , /*decltype(_impl_._cached_size_)*/{}
240   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
241   , /*decltype(_impl_.ino_)*/::uint64_t{0u}
242   , /*decltype(_impl_.index_)*/::uint64_t{0u}
243   , /*decltype(_impl_.type_)*/0
244   , /*decltype(_impl_.block_)*/0u} {}
245 struct F2fsSubmitWritePageFtraceEventDefaultTypeInternal {
F2fsSubmitWritePageFtraceEventDefaultTypeInternalperfetto::protos::F2fsSubmitWritePageFtraceEventDefaultTypeInternal246   PROTOBUF_CONSTEXPR F2fsSubmitWritePageFtraceEventDefaultTypeInternal()
247       : _instance(::_pbi::ConstantInitialized{}) {}
~F2fsSubmitWritePageFtraceEventDefaultTypeInternalperfetto::protos::F2fsSubmitWritePageFtraceEventDefaultTypeInternal248   ~F2fsSubmitWritePageFtraceEventDefaultTypeInternal() {}
249   union {  // NOLINT(misc-non-private-member-variables-in-classes)
250     F2fsSubmitWritePageFtraceEvent _instance;
251   };
252 };
253 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 F2fsSubmitWritePageFtraceEventDefaultTypeInternal _F2fsSubmitWritePageFtraceEvent_default_instance_;
F2fsSyncFileEnterFtraceEvent(::_pbi::ConstantInitialized)254 PROTOBUF_CONSTEXPR F2fsSyncFileEnterFtraceEvent::F2fsSyncFileEnterFtraceEvent(
255     ::_pbi::ConstantInitialized): _impl_{
256     /*decltype(_impl_._has_bits_)*/{}
257   , /*decltype(_impl_._cached_size_)*/{}
258   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
259   , /*decltype(_impl_.ino_)*/::uint64_t{0u}
260   , /*decltype(_impl_.pino_)*/::uint64_t{0u}
261   , /*decltype(_impl_.size_)*/::int64_t{0}
262   , /*decltype(_impl_.mode_)*/0u
263   , /*decltype(_impl_.nlink_)*/0u
264   , /*decltype(_impl_.blocks_)*/::uint64_t{0u}
265   , /*decltype(_impl_.advise_)*/0u} {}
266 struct F2fsSyncFileEnterFtraceEventDefaultTypeInternal {
F2fsSyncFileEnterFtraceEventDefaultTypeInternalperfetto::protos::F2fsSyncFileEnterFtraceEventDefaultTypeInternal267   PROTOBUF_CONSTEXPR F2fsSyncFileEnterFtraceEventDefaultTypeInternal()
268       : _instance(::_pbi::ConstantInitialized{}) {}
~F2fsSyncFileEnterFtraceEventDefaultTypeInternalperfetto::protos::F2fsSyncFileEnterFtraceEventDefaultTypeInternal269   ~F2fsSyncFileEnterFtraceEventDefaultTypeInternal() {}
270   union {  // NOLINT(misc-non-private-member-variables-in-classes)
271     F2fsSyncFileEnterFtraceEvent _instance;
272   };
273 };
274 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 F2fsSyncFileEnterFtraceEventDefaultTypeInternal _F2fsSyncFileEnterFtraceEvent_default_instance_;
F2fsSyncFileExitFtraceEvent(::_pbi::ConstantInitialized)275 PROTOBUF_CONSTEXPR F2fsSyncFileExitFtraceEvent::F2fsSyncFileExitFtraceEvent(
276     ::_pbi::ConstantInitialized): _impl_{
277     /*decltype(_impl_._has_bits_)*/{}
278   , /*decltype(_impl_._cached_size_)*/{}
279   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
280   , /*decltype(_impl_.ino_)*/::uint64_t{0u}
281   , /*decltype(_impl_.need_cp_)*/0u
282   , /*decltype(_impl_.datasync_)*/0
283   , /*decltype(_impl_.ret_)*/0
284   , /*decltype(_impl_.cp_reason_)*/0} {}
285 struct F2fsSyncFileExitFtraceEventDefaultTypeInternal {
F2fsSyncFileExitFtraceEventDefaultTypeInternalperfetto::protos::F2fsSyncFileExitFtraceEventDefaultTypeInternal286   PROTOBUF_CONSTEXPR F2fsSyncFileExitFtraceEventDefaultTypeInternal()
287       : _instance(::_pbi::ConstantInitialized{}) {}
~F2fsSyncFileExitFtraceEventDefaultTypeInternalperfetto::protos::F2fsSyncFileExitFtraceEventDefaultTypeInternal288   ~F2fsSyncFileExitFtraceEventDefaultTypeInternal() {}
289   union {  // NOLINT(misc-non-private-member-variables-in-classes)
290     F2fsSyncFileExitFtraceEvent _instance;
291   };
292 };
293 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 F2fsSyncFileExitFtraceEventDefaultTypeInternal _F2fsSyncFileExitFtraceEvent_default_instance_;
F2fsSyncFsFtraceEvent(::_pbi::ConstantInitialized)294 PROTOBUF_CONSTEXPR F2fsSyncFsFtraceEvent::F2fsSyncFsFtraceEvent(
295     ::_pbi::ConstantInitialized): _impl_{
296     /*decltype(_impl_._has_bits_)*/{}
297   , /*decltype(_impl_._cached_size_)*/{}
298   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
299   , /*decltype(_impl_.dirty_)*/0
300   , /*decltype(_impl_.wait_)*/0} {}
301 struct F2fsSyncFsFtraceEventDefaultTypeInternal {
F2fsSyncFsFtraceEventDefaultTypeInternalperfetto::protos::F2fsSyncFsFtraceEventDefaultTypeInternal302   PROTOBUF_CONSTEXPR F2fsSyncFsFtraceEventDefaultTypeInternal()
303       : _instance(::_pbi::ConstantInitialized{}) {}
~F2fsSyncFsFtraceEventDefaultTypeInternalperfetto::protos::F2fsSyncFsFtraceEventDefaultTypeInternal304   ~F2fsSyncFsFtraceEventDefaultTypeInternal() {}
305   union {  // NOLINT(misc-non-private-member-variables-in-classes)
306     F2fsSyncFsFtraceEvent _instance;
307   };
308 };
309 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 F2fsSyncFsFtraceEventDefaultTypeInternal _F2fsSyncFsFtraceEvent_default_instance_;
F2fsTruncateFtraceEvent(::_pbi::ConstantInitialized)310 PROTOBUF_CONSTEXPR F2fsTruncateFtraceEvent::F2fsTruncateFtraceEvent(
311     ::_pbi::ConstantInitialized): _impl_{
312     /*decltype(_impl_._has_bits_)*/{}
313   , /*decltype(_impl_._cached_size_)*/{}
314   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
315   , /*decltype(_impl_.ino_)*/::uint64_t{0u}
316   , /*decltype(_impl_.pino_)*/::uint64_t{0u}
317   , /*decltype(_impl_.size_)*/::int64_t{0}
318   , /*decltype(_impl_.mode_)*/0u
319   , /*decltype(_impl_.nlink_)*/0u
320   , /*decltype(_impl_.blocks_)*/::uint64_t{0u}
321   , /*decltype(_impl_.advise_)*/0u} {}
322 struct F2fsTruncateFtraceEventDefaultTypeInternal {
F2fsTruncateFtraceEventDefaultTypeInternalperfetto::protos::F2fsTruncateFtraceEventDefaultTypeInternal323   PROTOBUF_CONSTEXPR F2fsTruncateFtraceEventDefaultTypeInternal()
324       : _instance(::_pbi::ConstantInitialized{}) {}
~F2fsTruncateFtraceEventDefaultTypeInternalperfetto::protos::F2fsTruncateFtraceEventDefaultTypeInternal325   ~F2fsTruncateFtraceEventDefaultTypeInternal() {}
326   union {  // NOLINT(misc-non-private-member-variables-in-classes)
327     F2fsTruncateFtraceEvent _instance;
328   };
329 };
330 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 F2fsTruncateFtraceEventDefaultTypeInternal _F2fsTruncateFtraceEvent_default_instance_;
F2fsTruncateBlocksEnterFtraceEvent(::_pbi::ConstantInitialized)331 PROTOBUF_CONSTEXPR F2fsTruncateBlocksEnterFtraceEvent::F2fsTruncateBlocksEnterFtraceEvent(
332     ::_pbi::ConstantInitialized): _impl_{
333     /*decltype(_impl_._has_bits_)*/{}
334   , /*decltype(_impl_._cached_size_)*/{}
335   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
336   , /*decltype(_impl_.ino_)*/::uint64_t{0u}
337   , /*decltype(_impl_.size_)*/::int64_t{0}
338   , /*decltype(_impl_.blocks_)*/::uint64_t{0u}
339   , /*decltype(_impl_.from_)*/::uint64_t{0u}} {}
340 struct F2fsTruncateBlocksEnterFtraceEventDefaultTypeInternal {
F2fsTruncateBlocksEnterFtraceEventDefaultTypeInternalperfetto::protos::F2fsTruncateBlocksEnterFtraceEventDefaultTypeInternal341   PROTOBUF_CONSTEXPR F2fsTruncateBlocksEnterFtraceEventDefaultTypeInternal()
342       : _instance(::_pbi::ConstantInitialized{}) {}
~F2fsTruncateBlocksEnterFtraceEventDefaultTypeInternalperfetto::protos::F2fsTruncateBlocksEnterFtraceEventDefaultTypeInternal343   ~F2fsTruncateBlocksEnterFtraceEventDefaultTypeInternal() {}
344   union {  // NOLINT(misc-non-private-member-variables-in-classes)
345     F2fsTruncateBlocksEnterFtraceEvent _instance;
346   };
347 };
348 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 F2fsTruncateBlocksEnterFtraceEventDefaultTypeInternal _F2fsTruncateBlocksEnterFtraceEvent_default_instance_;
F2fsTruncateBlocksExitFtraceEvent(::_pbi::ConstantInitialized)349 PROTOBUF_CONSTEXPR F2fsTruncateBlocksExitFtraceEvent::F2fsTruncateBlocksExitFtraceEvent(
350     ::_pbi::ConstantInitialized): _impl_{
351     /*decltype(_impl_._has_bits_)*/{}
352   , /*decltype(_impl_._cached_size_)*/{}
353   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
354   , /*decltype(_impl_.ino_)*/::uint64_t{0u}
355   , /*decltype(_impl_.ret_)*/0} {}
356 struct F2fsTruncateBlocksExitFtraceEventDefaultTypeInternal {
F2fsTruncateBlocksExitFtraceEventDefaultTypeInternalperfetto::protos::F2fsTruncateBlocksExitFtraceEventDefaultTypeInternal357   PROTOBUF_CONSTEXPR F2fsTruncateBlocksExitFtraceEventDefaultTypeInternal()
358       : _instance(::_pbi::ConstantInitialized{}) {}
~F2fsTruncateBlocksExitFtraceEventDefaultTypeInternalperfetto::protos::F2fsTruncateBlocksExitFtraceEventDefaultTypeInternal359   ~F2fsTruncateBlocksExitFtraceEventDefaultTypeInternal() {}
360   union {  // NOLINT(misc-non-private-member-variables-in-classes)
361     F2fsTruncateBlocksExitFtraceEvent _instance;
362   };
363 };
364 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 F2fsTruncateBlocksExitFtraceEventDefaultTypeInternal _F2fsTruncateBlocksExitFtraceEvent_default_instance_;
F2fsTruncateDataBlocksRangeFtraceEvent(::_pbi::ConstantInitialized)365 PROTOBUF_CONSTEXPR F2fsTruncateDataBlocksRangeFtraceEvent::F2fsTruncateDataBlocksRangeFtraceEvent(
366     ::_pbi::ConstantInitialized): _impl_{
367     /*decltype(_impl_._has_bits_)*/{}
368   , /*decltype(_impl_._cached_size_)*/{}
369   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
370   , /*decltype(_impl_.ino_)*/::uint64_t{0u}
371   , /*decltype(_impl_.nid_)*/0u
372   , /*decltype(_impl_.ofs_)*/0u
373   , /*decltype(_impl_.free_)*/0} {}
374 struct F2fsTruncateDataBlocksRangeFtraceEventDefaultTypeInternal {
F2fsTruncateDataBlocksRangeFtraceEventDefaultTypeInternalperfetto::protos::F2fsTruncateDataBlocksRangeFtraceEventDefaultTypeInternal375   PROTOBUF_CONSTEXPR F2fsTruncateDataBlocksRangeFtraceEventDefaultTypeInternal()
376       : _instance(::_pbi::ConstantInitialized{}) {}
~F2fsTruncateDataBlocksRangeFtraceEventDefaultTypeInternalperfetto::protos::F2fsTruncateDataBlocksRangeFtraceEventDefaultTypeInternal377   ~F2fsTruncateDataBlocksRangeFtraceEventDefaultTypeInternal() {}
378   union {  // NOLINT(misc-non-private-member-variables-in-classes)
379     F2fsTruncateDataBlocksRangeFtraceEvent _instance;
380   };
381 };
382 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 F2fsTruncateDataBlocksRangeFtraceEventDefaultTypeInternal _F2fsTruncateDataBlocksRangeFtraceEvent_default_instance_;
F2fsTruncateInodeBlocksEnterFtraceEvent(::_pbi::ConstantInitialized)383 PROTOBUF_CONSTEXPR F2fsTruncateInodeBlocksEnterFtraceEvent::F2fsTruncateInodeBlocksEnterFtraceEvent(
384     ::_pbi::ConstantInitialized): _impl_{
385     /*decltype(_impl_._has_bits_)*/{}
386   , /*decltype(_impl_._cached_size_)*/{}
387   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
388   , /*decltype(_impl_.ino_)*/::uint64_t{0u}
389   , /*decltype(_impl_.size_)*/::int64_t{0}
390   , /*decltype(_impl_.blocks_)*/::uint64_t{0u}
391   , /*decltype(_impl_.from_)*/::uint64_t{0u}} {}
392 struct F2fsTruncateInodeBlocksEnterFtraceEventDefaultTypeInternal {
F2fsTruncateInodeBlocksEnterFtraceEventDefaultTypeInternalperfetto::protos::F2fsTruncateInodeBlocksEnterFtraceEventDefaultTypeInternal393   PROTOBUF_CONSTEXPR F2fsTruncateInodeBlocksEnterFtraceEventDefaultTypeInternal()
394       : _instance(::_pbi::ConstantInitialized{}) {}
~F2fsTruncateInodeBlocksEnterFtraceEventDefaultTypeInternalperfetto::protos::F2fsTruncateInodeBlocksEnterFtraceEventDefaultTypeInternal395   ~F2fsTruncateInodeBlocksEnterFtraceEventDefaultTypeInternal() {}
396   union {  // NOLINT(misc-non-private-member-variables-in-classes)
397     F2fsTruncateInodeBlocksEnterFtraceEvent _instance;
398   };
399 };
400 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 F2fsTruncateInodeBlocksEnterFtraceEventDefaultTypeInternal _F2fsTruncateInodeBlocksEnterFtraceEvent_default_instance_;
F2fsTruncateInodeBlocksExitFtraceEvent(::_pbi::ConstantInitialized)401 PROTOBUF_CONSTEXPR F2fsTruncateInodeBlocksExitFtraceEvent::F2fsTruncateInodeBlocksExitFtraceEvent(
402     ::_pbi::ConstantInitialized): _impl_{
403     /*decltype(_impl_._has_bits_)*/{}
404   , /*decltype(_impl_._cached_size_)*/{}
405   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
406   , /*decltype(_impl_.ino_)*/::uint64_t{0u}
407   , /*decltype(_impl_.ret_)*/0} {}
408 struct F2fsTruncateInodeBlocksExitFtraceEventDefaultTypeInternal {
F2fsTruncateInodeBlocksExitFtraceEventDefaultTypeInternalperfetto::protos::F2fsTruncateInodeBlocksExitFtraceEventDefaultTypeInternal409   PROTOBUF_CONSTEXPR F2fsTruncateInodeBlocksExitFtraceEventDefaultTypeInternal()
410       : _instance(::_pbi::ConstantInitialized{}) {}
~F2fsTruncateInodeBlocksExitFtraceEventDefaultTypeInternalperfetto::protos::F2fsTruncateInodeBlocksExitFtraceEventDefaultTypeInternal411   ~F2fsTruncateInodeBlocksExitFtraceEventDefaultTypeInternal() {}
412   union {  // NOLINT(misc-non-private-member-variables-in-classes)
413     F2fsTruncateInodeBlocksExitFtraceEvent _instance;
414   };
415 };
416 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 F2fsTruncateInodeBlocksExitFtraceEventDefaultTypeInternal _F2fsTruncateInodeBlocksExitFtraceEvent_default_instance_;
F2fsTruncateNodeFtraceEvent(::_pbi::ConstantInitialized)417 PROTOBUF_CONSTEXPR F2fsTruncateNodeFtraceEvent::F2fsTruncateNodeFtraceEvent(
418     ::_pbi::ConstantInitialized): _impl_{
419     /*decltype(_impl_._has_bits_)*/{}
420   , /*decltype(_impl_._cached_size_)*/{}
421   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
422   , /*decltype(_impl_.ino_)*/::uint64_t{0u}
423   , /*decltype(_impl_.nid_)*/0u
424   , /*decltype(_impl_.blk_addr_)*/0u} {}
425 struct F2fsTruncateNodeFtraceEventDefaultTypeInternal {
F2fsTruncateNodeFtraceEventDefaultTypeInternalperfetto::protos::F2fsTruncateNodeFtraceEventDefaultTypeInternal426   PROTOBUF_CONSTEXPR F2fsTruncateNodeFtraceEventDefaultTypeInternal()
427       : _instance(::_pbi::ConstantInitialized{}) {}
~F2fsTruncateNodeFtraceEventDefaultTypeInternalperfetto::protos::F2fsTruncateNodeFtraceEventDefaultTypeInternal428   ~F2fsTruncateNodeFtraceEventDefaultTypeInternal() {}
429   union {  // NOLINT(misc-non-private-member-variables-in-classes)
430     F2fsTruncateNodeFtraceEvent _instance;
431   };
432 };
433 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 F2fsTruncateNodeFtraceEventDefaultTypeInternal _F2fsTruncateNodeFtraceEvent_default_instance_;
F2fsTruncateNodesEnterFtraceEvent(::_pbi::ConstantInitialized)434 PROTOBUF_CONSTEXPR F2fsTruncateNodesEnterFtraceEvent::F2fsTruncateNodesEnterFtraceEvent(
435     ::_pbi::ConstantInitialized): _impl_{
436     /*decltype(_impl_._has_bits_)*/{}
437   , /*decltype(_impl_._cached_size_)*/{}
438   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
439   , /*decltype(_impl_.ino_)*/::uint64_t{0u}
440   , /*decltype(_impl_.nid_)*/0u
441   , /*decltype(_impl_.blk_addr_)*/0u} {}
442 struct F2fsTruncateNodesEnterFtraceEventDefaultTypeInternal {
F2fsTruncateNodesEnterFtraceEventDefaultTypeInternalperfetto::protos::F2fsTruncateNodesEnterFtraceEventDefaultTypeInternal443   PROTOBUF_CONSTEXPR F2fsTruncateNodesEnterFtraceEventDefaultTypeInternal()
444       : _instance(::_pbi::ConstantInitialized{}) {}
~F2fsTruncateNodesEnterFtraceEventDefaultTypeInternalperfetto::protos::F2fsTruncateNodesEnterFtraceEventDefaultTypeInternal445   ~F2fsTruncateNodesEnterFtraceEventDefaultTypeInternal() {}
446   union {  // NOLINT(misc-non-private-member-variables-in-classes)
447     F2fsTruncateNodesEnterFtraceEvent _instance;
448   };
449 };
450 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 F2fsTruncateNodesEnterFtraceEventDefaultTypeInternal _F2fsTruncateNodesEnterFtraceEvent_default_instance_;
F2fsTruncateNodesExitFtraceEvent(::_pbi::ConstantInitialized)451 PROTOBUF_CONSTEXPR F2fsTruncateNodesExitFtraceEvent::F2fsTruncateNodesExitFtraceEvent(
452     ::_pbi::ConstantInitialized): _impl_{
453     /*decltype(_impl_._has_bits_)*/{}
454   , /*decltype(_impl_._cached_size_)*/{}
455   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
456   , /*decltype(_impl_.ino_)*/::uint64_t{0u}
457   , /*decltype(_impl_.ret_)*/0} {}
458 struct F2fsTruncateNodesExitFtraceEventDefaultTypeInternal {
F2fsTruncateNodesExitFtraceEventDefaultTypeInternalperfetto::protos::F2fsTruncateNodesExitFtraceEventDefaultTypeInternal459   PROTOBUF_CONSTEXPR F2fsTruncateNodesExitFtraceEventDefaultTypeInternal()
460       : _instance(::_pbi::ConstantInitialized{}) {}
~F2fsTruncateNodesExitFtraceEventDefaultTypeInternalperfetto::protos::F2fsTruncateNodesExitFtraceEventDefaultTypeInternal461   ~F2fsTruncateNodesExitFtraceEventDefaultTypeInternal() {}
462   union {  // NOLINT(misc-non-private-member-variables-in-classes)
463     F2fsTruncateNodesExitFtraceEvent _instance;
464   };
465 };
466 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 F2fsTruncateNodesExitFtraceEventDefaultTypeInternal _F2fsTruncateNodesExitFtraceEvent_default_instance_;
F2fsTruncatePartialNodesFtraceEvent(::_pbi::ConstantInitialized)467 PROTOBUF_CONSTEXPR F2fsTruncatePartialNodesFtraceEvent::F2fsTruncatePartialNodesFtraceEvent(
468     ::_pbi::ConstantInitialized): _impl_{
469     /*decltype(_impl_._has_bits_)*/{}
470   , /*decltype(_impl_._cached_size_)*/{}
471   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
472   , /*decltype(_impl_.ino_)*/::uint64_t{0u}
473   , /*decltype(_impl_.nid_)*/0u
474   , /*decltype(_impl_.depth_)*/0
475   , /*decltype(_impl_.err_)*/0} {}
476 struct F2fsTruncatePartialNodesFtraceEventDefaultTypeInternal {
F2fsTruncatePartialNodesFtraceEventDefaultTypeInternalperfetto::protos::F2fsTruncatePartialNodesFtraceEventDefaultTypeInternal477   PROTOBUF_CONSTEXPR F2fsTruncatePartialNodesFtraceEventDefaultTypeInternal()
478       : _instance(::_pbi::ConstantInitialized{}) {}
~F2fsTruncatePartialNodesFtraceEventDefaultTypeInternalperfetto::protos::F2fsTruncatePartialNodesFtraceEventDefaultTypeInternal479   ~F2fsTruncatePartialNodesFtraceEventDefaultTypeInternal() {}
480   union {  // NOLINT(misc-non-private-member-variables-in-classes)
481     F2fsTruncatePartialNodesFtraceEvent _instance;
482   };
483 };
484 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 F2fsTruncatePartialNodesFtraceEventDefaultTypeInternal _F2fsTruncatePartialNodesFtraceEvent_default_instance_;
F2fsUnlinkEnterFtraceEvent(::_pbi::ConstantInitialized)485 PROTOBUF_CONSTEXPR F2fsUnlinkEnterFtraceEvent::F2fsUnlinkEnterFtraceEvent(
486     ::_pbi::ConstantInitialized): _impl_{
487     /*decltype(_impl_._has_bits_)*/{}
488   , /*decltype(_impl_._cached_size_)*/{}
489   , /*decltype(_impl_.name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
490   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
491   , /*decltype(_impl_.ino_)*/::uint64_t{0u}
492   , /*decltype(_impl_.size_)*/::int64_t{0}
493   , /*decltype(_impl_.blocks_)*/::uint64_t{0u}} {}
494 struct F2fsUnlinkEnterFtraceEventDefaultTypeInternal {
F2fsUnlinkEnterFtraceEventDefaultTypeInternalperfetto::protos::F2fsUnlinkEnterFtraceEventDefaultTypeInternal495   PROTOBUF_CONSTEXPR F2fsUnlinkEnterFtraceEventDefaultTypeInternal()
496       : _instance(::_pbi::ConstantInitialized{}) {}
~F2fsUnlinkEnterFtraceEventDefaultTypeInternalperfetto::protos::F2fsUnlinkEnterFtraceEventDefaultTypeInternal497   ~F2fsUnlinkEnterFtraceEventDefaultTypeInternal() {}
498   union {  // NOLINT(misc-non-private-member-variables-in-classes)
499     F2fsUnlinkEnterFtraceEvent _instance;
500   };
501 };
502 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 F2fsUnlinkEnterFtraceEventDefaultTypeInternal _F2fsUnlinkEnterFtraceEvent_default_instance_;
F2fsUnlinkExitFtraceEvent(::_pbi::ConstantInitialized)503 PROTOBUF_CONSTEXPR F2fsUnlinkExitFtraceEvent::F2fsUnlinkExitFtraceEvent(
504     ::_pbi::ConstantInitialized): _impl_{
505     /*decltype(_impl_._has_bits_)*/{}
506   , /*decltype(_impl_._cached_size_)*/{}
507   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
508   , /*decltype(_impl_.ino_)*/::uint64_t{0u}
509   , /*decltype(_impl_.ret_)*/0} {}
510 struct F2fsUnlinkExitFtraceEventDefaultTypeInternal {
F2fsUnlinkExitFtraceEventDefaultTypeInternalperfetto::protos::F2fsUnlinkExitFtraceEventDefaultTypeInternal511   PROTOBUF_CONSTEXPR F2fsUnlinkExitFtraceEventDefaultTypeInternal()
512       : _instance(::_pbi::ConstantInitialized{}) {}
~F2fsUnlinkExitFtraceEventDefaultTypeInternalperfetto::protos::F2fsUnlinkExitFtraceEventDefaultTypeInternal513   ~F2fsUnlinkExitFtraceEventDefaultTypeInternal() {}
514   union {  // NOLINT(misc-non-private-member-variables-in-classes)
515     F2fsUnlinkExitFtraceEvent _instance;
516   };
517 };
518 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 F2fsUnlinkExitFtraceEventDefaultTypeInternal _F2fsUnlinkExitFtraceEvent_default_instance_;
F2fsVmPageMkwriteFtraceEvent(::_pbi::ConstantInitialized)519 PROTOBUF_CONSTEXPR F2fsVmPageMkwriteFtraceEvent::F2fsVmPageMkwriteFtraceEvent(
520     ::_pbi::ConstantInitialized): _impl_{
521     /*decltype(_impl_._has_bits_)*/{}
522   , /*decltype(_impl_._cached_size_)*/{}
523   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
524   , /*decltype(_impl_.ino_)*/::uint64_t{0u}
525   , /*decltype(_impl_.type_)*/0
526   , /*decltype(_impl_.dir_)*/0
527   , /*decltype(_impl_.index_)*/::uint64_t{0u}
528   , /*decltype(_impl_.dirty_)*/0
529   , /*decltype(_impl_.uptodate_)*/0} {}
530 struct F2fsVmPageMkwriteFtraceEventDefaultTypeInternal {
F2fsVmPageMkwriteFtraceEventDefaultTypeInternalperfetto::protos::F2fsVmPageMkwriteFtraceEventDefaultTypeInternal531   PROTOBUF_CONSTEXPR F2fsVmPageMkwriteFtraceEventDefaultTypeInternal()
532       : _instance(::_pbi::ConstantInitialized{}) {}
~F2fsVmPageMkwriteFtraceEventDefaultTypeInternalperfetto::protos::F2fsVmPageMkwriteFtraceEventDefaultTypeInternal533   ~F2fsVmPageMkwriteFtraceEventDefaultTypeInternal() {}
534   union {  // NOLINT(misc-non-private-member-variables-in-classes)
535     F2fsVmPageMkwriteFtraceEvent _instance;
536   };
537 };
538 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 F2fsVmPageMkwriteFtraceEventDefaultTypeInternal _F2fsVmPageMkwriteFtraceEvent_default_instance_;
F2fsWriteBeginFtraceEvent(::_pbi::ConstantInitialized)539 PROTOBUF_CONSTEXPR F2fsWriteBeginFtraceEvent::F2fsWriteBeginFtraceEvent(
540     ::_pbi::ConstantInitialized): _impl_{
541     /*decltype(_impl_._has_bits_)*/{}
542   , /*decltype(_impl_._cached_size_)*/{}
543   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
544   , /*decltype(_impl_.ino_)*/::uint64_t{0u}
545   , /*decltype(_impl_.pos_)*/::int64_t{0}
546   , /*decltype(_impl_.len_)*/0u
547   , /*decltype(_impl_.flags_)*/0u} {}
548 struct F2fsWriteBeginFtraceEventDefaultTypeInternal {
F2fsWriteBeginFtraceEventDefaultTypeInternalperfetto::protos::F2fsWriteBeginFtraceEventDefaultTypeInternal549   PROTOBUF_CONSTEXPR F2fsWriteBeginFtraceEventDefaultTypeInternal()
550       : _instance(::_pbi::ConstantInitialized{}) {}
~F2fsWriteBeginFtraceEventDefaultTypeInternalperfetto::protos::F2fsWriteBeginFtraceEventDefaultTypeInternal551   ~F2fsWriteBeginFtraceEventDefaultTypeInternal() {}
552   union {  // NOLINT(misc-non-private-member-variables-in-classes)
553     F2fsWriteBeginFtraceEvent _instance;
554   };
555 };
556 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 F2fsWriteBeginFtraceEventDefaultTypeInternal _F2fsWriteBeginFtraceEvent_default_instance_;
F2fsWriteCheckpointFtraceEvent(::_pbi::ConstantInitialized)557 PROTOBUF_CONSTEXPR F2fsWriteCheckpointFtraceEvent::F2fsWriteCheckpointFtraceEvent(
558     ::_pbi::ConstantInitialized): _impl_{
559     /*decltype(_impl_._has_bits_)*/{}
560   , /*decltype(_impl_._cached_size_)*/{}
561   , /*decltype(_impl_.msg_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
562   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
563   , /*decltype(_impl_.is_umount_)*/0u
564   , /*decltype(_impl_.reason_)*/0} {}
565 struct F2fsWriteCheckpointFtraceEventDefaultTypeInternal {
F2fsWriteCheckpointFtraceEventDefaultTypeInternalperfetto::protos::F2fsWriteCheckpointFtraceEventDefaultTypeInternal566   PROTOBUF_CONSTEXPR F2fsWriteCheckpointFtraceEventDefaultTypeInternal()
567       : _instance(::_pbi::ConstantInitialized{}) {}
~F2fsWriteCheckpointFtraceEventDefaultTypeInternalperfetto::protos::F2fsWriteCheckpointFtraceEventDefaultTypeInternal568   ~F2fsWriteCheckpointFtraceEventDefaultTypeInternal() {}
569   union {  // NOLINT(misc-non-private-member-variables-in-classes)
570     F2fsWriteCheckpointFtraceEvent _instance;
571   };
572 };
573 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 F2fsWriteCheckpointFtraceEventDefaultTypeInternal _F2fsWriteCheckpointFtraceEvent_default_instance_;
F2fsWriteEndFtraceEvent(::_pbi::ConstantInitialized)574 PROTOBUF_CONSTEXPR F2fsWriteEndFtraceEvent::F2fsWriteEndFtraceEvent(
575     ::_pbi::ConstantInitialized): _impl_{
576     /*decltype(_impl_._has_bits_)*/{}
577   , /*decltype(_impl_._cached_size_)*/{}
578   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
579   , /*decltype(_impl_.ino_)*/::uint64_t{0u}
580   , /*decltype(_impl_.pos_)*/::int64_t{0}
581   , /*decltype(_impl_.len_)*/0u
582   , /*decltype(_impl_.copied_)*/0u} {}
583 struct F2fsWriteEndFtraceEventDefaultTypeInternal {
F2fsWriteEndFtraceEventDefaultTypeInternalperfetto::protos::F2fsWriteEndFtraceEventDefaultTypeInternal584   PROTOBUF_CONSTEXPR F2fsWriteEndFtraceEventDefaultTypeInternal()
585       : _instance(::_pbi::ConstantInitialized{}) {}
~F2fsWriteEndFtraceEventDefaultTypeInternalperfetto::protos::F2fsWriteEndFtraceEventDefaultTypeInternal586   ~F2fsWriteEndFtraceEventDefaultTypeInternal() {}
587   union {  // NOLINT(misc-non-private-member-variables-in-classes)
588     F2fsWriteEndFtraceEvent _instance;
589   };
590 };
591 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 F2fsWriteEndFtraceEventDefaultTypeInternal _F2fsWriteEndFtraceEvent_default_instance_;
F2fsIostatFtraceEvent(::_pbi::ConstantInitialized)592 PROTOBUF_CONSTEXPR F2fsIostatFtraceEvent::F2fsIostatFtraceEvent(
593     ::_pbi::ConstantInitialized): _impl_{
594     /*decltype(_impl_._has_bits_)*/{}
595   , /*decltype(_impl_._cached_size_)*/{}
596   , /*decltype(_impl_.app_bio_)*/::uint64_t{0u}
597   , /*decltype(_impl_.app_brio_)*/::uint64_t{0u}
598   , /*decltype(_impl_.app_dio_)*/::uint64_t{0u}
599   , /*decltype(_impl_.app_drio_)*/::uint64_t{0u}
600   , /*decltype(_impl_.app_mio_)*/::uint64_t{0u}
601   , /*decltype(_impl_.app_mrio_)*/::uint64_t{0u}
602   , /*decltype(_impl_.app_rio_)*/::uint64_t{0u}
603   , /*decltype(_impl_.app_wio_)*/::uint64_t{0u}
604   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
605   , /*decltype(_impl_.fs_cdrio_)*/::uint64_t{0u}
606   , /*decltype(_impl_.fs_cp_dio_)*/::uint64_t{0u}
607   , /*decltype(_impl_.fs_cp_mio_)*/::uint64_t{0u}
608   , /*decltype(_impl_.fs_cp_nio_)*/::uint64_t{0u}
609   , /*decltype(_impl_.fs_dio_)*/::uint64_t{0u}
610   , /*decltype(_impl_.fs_discard_)*/::uint64_t{0u}
611   , /*decltype(_impl_.fs_drio_)*/::uint64_t{0u}
612   , /*decltype(_impl_.fs_gc_dio_)*/::uint64_t{0u}
613   , /*decltype(_impl_.fs_gc_nio_)*/::uint64_t{0u}
614   , /*decltype(_impl_.fs_gdrio_)*/::uint64_t{0u}
615   , /*decltype(_impl_.fs_mio_)*/::uint64_t{0u}
616   , /*decltype(_impl_.fs_mrio_)*/::uint64_t{0u}
617   , /*decltype(_impl_.fs_nio_)*/::uint64_t{0u}
618   , /*decltype(_impl_.fs_nrio_)*/::uint64_t{0u}} {}
619 struct F2fsIostatFtraceEventDefaultTypeInternal {
F2fsIostatFtraceEventDefaultTypeInternalperfetto::protos::F2fsIostatFtraceEventDefaultTypeInternal620   PROTOBUF_CONSTEXPR F2fsIostatFtraceEventDefaultTypeInternal()
621       : _instance(::_pbi::ConstantInitialized{}) {}
~F2fsIostatFtraceEventDefaultTypeInternalperfetto::protos::F2fsIostatFtraceEventDefaultTypeInternal622   ~F2fsIostatFtraceEventDefaultTypeInternal() {}
623   union {  // NOLINT(misc-non-private-member-variables-in-classes)
624     F2fsIostatFtraceEvent _instance;
625   };
626 };
627 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 F2fsIostatFtraceEventDefaultTypeInternal _F2fsIostatFtraceEvent_default_instance_;
F2fsIostatLatencyFtraceEvent(::_pbi::ConstantInitialized)628 PROTOBUF_CONSTEXPR F2fsIostatLatencyFtraceEvent::F2fsIostatLatencyFtraceEvent(
629     ::_pbi::ConstantInitialized): _impl_{
630     /*decltype(_impl_._has_bits_)*/{}
631   , /*decltype(_impl_._cached_size_)*/{}
632   , /*decltype(_impl_.d_rd_avg_)*/0u
633   , /*decltype(_impl_.d_rd_cnt_)*/0u
634   , /*decltype(_impl_.d_rd_peak_)*/0u
635   , /*decltype(_impl_.d_wr_as_avg_)*/0u
636   , /*decltype(_impl_.d_wr_as_cnt_)*/0u
637   , /*decltype(_impl_.d_wr_as_peak_)*/0u
638   , /*decltype(_impl_.d_wr_s_avg_)*/0u
639   , /*decltype(_impl_.d_wr_s_cnt_)*/0u
640   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
641   , /*decltype(_impl_.d_wr_s_peak_)*/0u
642   , /*decltype(_impl_.m_rd_avg_)*/0u
643   , /*decltype(_impl_.m_rd_cnt_)*/0u
644   , /*decltype(_impl_.m_rd_peak_)*/0u
645   , /*decltype(_impl_.m_wr_as_avg_)*/0u
646   , /*decltype(_impl_.m_wr_as_cnt_)*/0u
647   , /*decltype(_impl_.m_wr_as_peak_)*/0u
648   , /*decltype(_impl_.m_wr_s_avg_)*/0u
649   , /*decltype(_impl_.m_wr_s_cnt_)*/0u
650   , /*decltype(_impl_.m_wr_s_peak_)*/0u
651   , /*decltype(_impl_.n_rd_avg_)*/0u
652   , /*decltype(_impl_.n_rd_cnt_)*/0u
653   , /*decltype(_impl_.n_rd_peak_)*/0u
654   , /*decltype(_impl_.n_wr_as_avg_)*/0u
655   , /*decltype(_impl_.n_wr_as_cnt_)*/0u
656   , /*decltype(_impl_.n_wr_as_peak_)*/0u
657   , /*decltype(_impl_.n_wr_s_avg_)*/0u
658   , /*decltype(_impl_.n_wr_s_cnt_)*/0u
659   , /*decltype(_impl_.n_wr_s_peak_)*/0u} {}
660 struct F2fsIostatLatencyFtraceEventDefaultTypeInternal {
F2fsIostatLatencyFtraceEventDefaultTypeInternalperfetto::protos::F2fsIostatLatencyFtraceEventDefaultTypeInternal661   PROTOBUF_CONSTEXPR F2fsIostatLatencyFtraceEventDefaultTypeInternal()
662       : _instance(::_pbi::ConstantInitialized{}) {}
~F2fsIostatLatencyFtraceEventDefaultTypeInternalperfetto::protos::F2fsIostatLatencyFtraceEventDefaultTypeInternal663   ~F2fsIostatLatencyFtraceEventDefaultTypeInternal() {}
664   union {  // NOLINT(misc-non-private-member-variables-in-classes)
665     F2fsIostatLatencyFtraceEvent _instance;
666   };
667 };
668 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 F2fsIostatLatencyFtraceEventDefaultTypeInternal _F2fsIostatLatencyFtraceEvent_default_instance_;
F2fsBackgroundGcFtraceEvent(::_pbi::ConstantInitialized)669 PROTOBUF_CONSTEXPR F2fsBackgroundGcFtraceEvent::F2fsBackgroundGcFtraceEvent(
670     ::_pbi::ConstantInitialized): _impl_{
671     /*decltype(_impl_._has_bits_)*/{}
672   , /*decltype(_impl_._cached_size_)*/{}
673   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
674   , /*decltype(_impl_.wait_ms_)*/0u
675   , /*decltype(_impl_.prefree_)*/0u
676   , /*decltype(_impl_.free_)*/0u} {}
677 struct F2fsBackgroundGcFtraceEventDefaultTypeInternal {
F2fsBackgroundGcFtraceEventDefaultTypeInternalperfetto::protos::F2fsBackgroundGcFtraceEventDefaultTypeInternal678   PROTOBUF_CONSTEXPR F2fsBackgroundGcFtraceEventDefaultTypeInternal()
679       : _instance(::_pbi::ConstantInitialized{}) {}
~F2fsBackgroundGcFtraceEventDefaultTypeInternalperfetto::protos::F2fsBackgroundGcFtraceEventDefaultTypeInternal680   ~F2fsBackgroundGcFtraceEventDefaultTypeInternal() {}
681   union {  // NOLINT(misc-non-private-member-variables-in-classes)
682     F2fsBackgroundGcFtraceEvent _instance;
683   };
684 };
685 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 F2fsBackgroundGcFtraceEventDefaultTypeInternal _F2fsBackgroundGcFtraceEvent_default_instance_;
F2fsGcBeginFtraceEvent(::_pbi::ConstantInitialized)686 PROTOBUF_CONSTEXPR F2fsGcBeginFtraceEvent::F2fsGcBeginFtraceEvent(
687     ::_pbi::ConstantInitialized): _impl_{
688     /*decltype(_impl_._has_bits_)*/{}
689   , /*decltype(_impl_._cached_size_)*/{}
690   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
691   , /*decltype(_impl_.sync_)*/0u
692   , /*decltype(_impl_.background_)*/0u
693   , /*decltype(_impl_.dirty_nodes_)*/::int64_t{0}
694   , /*decltype(_impl_.dirty_dents_)*/::int64_t{0}
695   , /*decltype(_impl_.dirty_imeta_)*/::int64_t{0}
696   , /*decltype(_impl_.free_sec_)*/0u
697   , /*decltype(_impl_.free_seg_)*/0u
698   , /*decltype(_impl_.reserved_seg_)*/0
699   , /*decltype(_impl_.prefree_seg_)*/0u
700   , /*decltype(_impl_.gc_type_)*/0
701   , /*decltype(_impl_.no_bg_gc_)*/0u
702   , /*decltype(_impl_.nr_free_secs_)*/0u} {}
703 struct F2fsGcBeginFtraceEventDefaultTypeInternal {
F2fsGcBeginFtraceEventDefaultTypeInternalperfetto::protos::F2fsGcBeginFtraceEventDefaultTypeInternal704   PROTOBUF_CONSTEXPR F2fsGcBeginFtraceEventDefaultTypeInternal()
705       : _instance(::_pbi::ConstantInitialized{}) {}
~F2fsGcBeginFtraceEventDefaultTypeInternalperfetto::protos::F2fsGcBeginFtraceEventDefaultTypeInternal706   ~F2fsGcBeginFtraceEventDefaultTypeInternal() {}
707   union {  // NOLINT(misc-non-private-member-variables-in-classes)
708     F2fsGcBeginFtraceEvent _instance;
709   };
710 };
711 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 F2fsGcBeginFtraceEventDefaultTypeInternal _F2fsGcBeginFtraceEvent_default_instance_;
F2fsGcEndFtraceEvent(::_pbi::ConstantInitialized)712 PROTOBUF_CONSTEXPR F2fsGcEndFtraceEvent::F2fsGcEndFtraceEvent(
713     ::_pbi::ConstantInitialized): _impl_{
714     /*decltype(_impl_._has_bits_)*/{}
715   , /*decltype(_impl_._cached_size_)*/{}
716   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
717   , /*decltype(_impl_.ret_)*/0
718   , /*decltype(_impl_.seg_freed_)*/0
719   , /*decltype(_impl_.dirty_nodes_)*/::int64_t{0}
720   , /*decltype(_impl_.dirty_dents_)*/::int64_t{0}
721   , /*decltype(_impl_.sec_freed_)*/0
722   , /*decltype(_impl_.free_sec_)*/0u
723   , /*decltype(_impl_.dirty_imeta_)*/::int64_t{0}
724   , /*decltype(_impl_.free_seg_)*/0u
725   , /*decltype(_impl_.reserved_seg_)*/0
726   , /*decltype(_impl_.prefree_seg_)*/0u} {}
727 struct F2fsGcEndFtraceEventDefaultTypeInternal {
F2fsGcEndFtraceEventDefaultTypeInternalperfetto::protos::F2fsGcEndFtraceEventDefaultTypeInternal728   PROTOBUF_CONSTEXPR F2fsGcEndFtraceEventDefaultTypeInternal()
729       : _instance(::_pbi::ConstantInitialized{}) {}
~F2fsGcEndFtraceEventDefaultTypeInternalperfetto::protos::F2fsGcEndFtraceEventDefaultTypeInternal730   ~F2fsGcEndFtraceEventDefaultTypeInternal() {}
731   union {  // NOLINT(misc-non-private-member-variables-in-classes)
732     F2fsGcEndFtraceEvent _instance;
733   };
734 };
735 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 F2fsGcEndFtraceEventDefaultTypeInternal _F2fsGcEndFtraceEvent_default_instance_;
736 }  // namespace protos
737 }  // namespace perfetto
738 namespace perfetto {
739 namespace protos {
740 
741 // ===================================================================
742 
743 class F2fsDoSubmitBioFtraceEvent::_Internal {
744  public:
745   using HasBits = decltype(std::declval<F2fsDoSubmitBioFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)746   static void set_has_dev(HasBits* has_bits) {
747     (*has_bits)[0] |= 1u;
748   }
set_has_btype(HasBits * has_bits)749   static void set_has_btype(HasBits* has_bits) {
750     (*has_bits)[0] |= 2u;
751   }
set_has_sync(HasBits * has_bits)752   static void set_has_sync(HasBits* has_bits) {
753     (*has_bits)[0] |= 4u;
754   }
set_has_sector(HasBits * has_bits)755   static void set_has_sector(HasBits* has_bits) {
756     (*has_bits)[0] |= 8u;
757   }
set_has_size(HasBits * has_bits)758   static void set_has_size(HasBits* has_bits) {
759     (*has_bits)[0] |= 16u;
760   }
761 };
762 
F2fsDoSubmitBioFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)763 F2fsDoSubmitBioFtraceEvent::F2fsDoSubmitBioFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
764                          bool is_message_owned)
765   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
766   SharedCtor(arena, is_message_owned);
767   // @@protoc_insertion_point(arena_constructor:perfetto.protos.F2fsDoSubmitBioFtraceEvent)
768 }
F2fsDoSubmitBioFtraceEvent(const F2fsDoSubmitBioFtraceEvent & from)769 F2fsDoSubmitBioFtraceEvent::F2fsDoSubmitBioFtraceEvent(const F2fsDoSubmitBioFtraceEvent& from)
770   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
771   F2fsDoSubmitBioFtraceEvent* const _this = this; (void)_this;
772   new (&_impl_) Impl_{
773       decltype(_impl_._has_bits_){from._impl_._has_bits_}
774     , /*decltype(_impl_._cached_size_)*/{}
775     , decltype(_impl_.dev_){}
776     , decltype(_impl_.btype_){}
777     , decltype(_impl_.sync_){}
778     , decltype(_impl_.sector_){}
779     , decltype(_impl_.size_){}};
780 
781   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
782   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
783     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.size_) -
784     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.size_));
785   // @@protoc_insertion_point(copy_constructor:perfetto.protos.F2fsDoSubmitBioFtraceEvent)
786 }
787 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)788 inline void F2fsDoSubmitBioFtraceEvent::SharedCtor(
789     ::_pb::Arena* arena, bool is_message_owned) {
790   (void)arena;
791   (void)is_message_owned;
792   new (&_impl_) Impl_{
793       decltype(_impl_._has_bits_){}
794     , /*decltype(_impl_._cached_size_)*/{}
795     , decltype(_impl_.dev_){::uint64_t{0u}}
796     , decltype(_impl_.btype_){0}
797     , decltype(_impl_.sync_){0u}
798     , decltype(_impl_.sector_){::uint64_t{0u}}
799     , decltype(_impl_.size_){0u}
800   };
801 }
802 
~F2fsDoSubmitBioFtraceEvent()803 F2fsDoSubmitBioFtraceEvent::~F2fsDoSubmitBioFtraceEvent() {
804   // @@protoc_insertion_point(destructor:perfetto.protos.F2fsDoSubmitBioFtraceEvent)
805   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
806   (void)arena;
807     return;
808   }
809   SharedDtor();
810 }
811 
SharedDtor()812 inline void F2fsDoSubmitBioFtraceEvent::SharedDtor() {
813   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
814 }
815 
SetCachedSize(int size) const816 void F2fsDoSubmitBioFtraceEvent::SetCachedSize(int size) const {
817   _impl_._cached_size_.Set(size);
818 }
819 
Clear()820 void F2fsDoSubmitBioFtraceEvent::Clear() {
821 // @@protoc_insertion_point(message_clear_start:perfetto.protos.F2fsDoSubmitBioFtraceEvent)
822   ::uint32_t cached_has_bits = 0;
823   // Prevent compiler warnings about cached_has_bits being unused
824   (void) cached_has_bits;
825 
826   cached_has_bits = _impl_._has_bits_[0];
827   if (cached_has_bits & 0x0000001fu) {
828     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
829         reinterpret_cast<char*>(&_impl_.size_) -
830         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.size_));
831   }
832   _impl_._has_bits_.Clear();
833   _internal_metadata_.Clear<std::string>();
834 }
835 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)836 const char* F2fsDoSubmitBioFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
837 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
838   _Internal::HasBits has_bits{};
839   while (!ctx->Done(&ptr)) {
840     ::uint32_t tag;
841     ptr = ::_pbi::ReadTag(ptr, &tag);
842     switch (tag >> 3) {
843       // optional uint64 dev = 1;
844       case 1:
845         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
846           _Internal::set_has_dev(&has_bits);
847           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
848           CHK_(ptr);
849         } else {
850           goto handle_unusual;
851         }
852         continue;
853       // optional int32 btype = 2;
854       case 2:
855         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
856           _Internal::set_has_btype(&has_bits);
857           _impl_.btype_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
858           CHK_(ptr);
859         } else {
860           goto handle_unusual;
861         }
862         continue;
863       // optional uint32 sync = 3;
864       case 3:
865         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
866           _Internal::set_has_sync(&has_bits);
867           _impl_.sync_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
868           CHK_(ptr);
869         } else {
870           goto handle_unusual;
871         }
872         continue;
873       // optional uint64 sector = 4;
874       case 4:
875         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
876           _Internal::set_has_sector(&has_bits);
877           _impl_.sector_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
878           CHK_(ptr);
879         } else {
880           goto handle_unusual;
881         }
882         continue;
883       // optional uint32 size = 5;
884       case 5:
885         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) {
886           _Internal::set_has_size(&has_bits);
887           _impl_.size_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
888           CHK_(ptr);
889         } else {
890           goto handle_unusual;
891         }
892         continue;
893       default:
894         goto handle_unusual;
895     }  // switch
896   handle_unusual:
897     if ((tag == 0) || ((tag & 7) == 4)) {
898       CHK_(ptr);
899       ctx->SetLastTag(tag);
900       goto message_done;
901     }
902     ptr = UnknownFieldParse(
903         tag,
904         _internal_metadata_.mutable_unknown_fields<std::string>(),
905         ptr, ctx);
906     CHK_(ptr != nullptr);
907   }  // while
908 message_done:
909   _impl_._has_bits_.Or(has_bits);
910   return ptr;
911 failure:
912   ptr = nullptr;
913   goto message_done;
914 #undef CHK_
915 }
916 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const917 ::uint8_t* F2fsDoSubmitBioFtraceEvent::_InternalSerialize(
918     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
919   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.F2fsDoSubmitBioFtraceEvent)
920   ::uint32_t cached_has_bits = 0;
921   (void) cached_has_bits;
922 
923   cached_has_bits = _impl_._has_bits_[0];
924   // optional uint64 dev = 1;
925   if (cached_has_bits & 0x00000001u) {
926     target = stream->EnsureSpace(target);
927     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
928   }
929 
930   // optional int32 btype = 2;
931   if (cached_has_bits & 0x00000002u) {
932     target = stream->EnsureSpace(target);
933     target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_btype(), target);
934   }
935 
936   // optional uint32 sync = 3;
937   if (cached_has_bits & 0x00000004u) {
938     target = stream->EnsureSpace(target);
939     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_sync(), target);
940   }
941 
942   // optional uint64 sector = 4;
943   if (cached_has_bits & 0x00000008u) {
944     target = stream->EnsureSpace(target);
945     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(4, this->_internal_sector(), target);
946   }
947 
948   // optional uint32 size = 5;
949   if (cached_has_bits & 0x00000010u) {
950     target = stream->EnsureSpace(target);
951     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_size(), target);
952   }
953 
954   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
955     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
956         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
957   }
958   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.F2fsDoSubmitBioFtraceEvent)
959   return target;
960 }
961 
ByteSizeLong() const962 size_t F2fsDoSubmitBioFtraceEvent::ByteSizeLong() const {
963 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.F2fsDoSubmitBioFtraceEvent)
964   size_t total_size = 0;
965 
966   ::uint32_t cached_has_bits = 0;
967   // Prevent compiler warnings about cached_has_bits being unused
968   (void) cached_has_bits;
969 
970   cached_has_bits = _impl_._has_bits_[0];
971   if (cached_has_bits & 0x0000001fu) {
972     // optional uint64 dev = 1;
973     if (cached_has_bits & 0x00000001u) {
974       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
975     }
976 
977     // optional int32 btype = 2;
978     if (cached_has_bits & 0x00000002u) {
979       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_btype());
980     }
981 
982     // optional uint32 sync = 3;
983     if (cached_has_bits & 0x00000004u) {
984       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_sync());
985     }
986 
987     // optional uint64 sector = 4;
988     if (cached_has_bits & 0x00000008u) {
989       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_sector());
990     }
991 
992     // optional uint32 size = 5;
993     if (cached_has_bits & 0x00000010u) {
994       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_size());
995     }
996 
997   }
998   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
999     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
1000   }
1001   int cached_size = ::_pbi::ToCachedSize(total_size);
1002   SetCachedSize(cached_size);
1003   return total_size;
1004 }
1005 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)1006 void F2fsDoSubmitBioFtraceEvent::CheckTypeAndMergeFrom(
1007     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
1008   MergeFrom(*::_pbi::DownCast<const F2fsDoSubmitBioFtraceEvent*>(
1009       &from));
1010 }
1011 
MergeFrom(const F2fsDoSubmitBioFtraceEvent & from)1012 void F2fsDoSubmitBioFtraceEvent::MergeFrom(const F2fsDoSubmitBioFtraceEvent& from) {
1013   F2fsDoSubmitBioFtraceEvent* const _this = this;
1014   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.F2fsDoSubmitBioFtraceEvent)
1015   GOOGLE_DCHECK_NE(&from, _this);
1016   ::uint32_t cached_has_bits = 0;
1017   (void) cached_has_bits;
1018 
1019   cached_has_bits = from._impl_._has_bits_[0];
1020   if (cached_has_bits & 0x0000001fu) {
1021     if (cached_has_bits & 0x00000001u) {
1022       _this->_impl_.dev_ = from._impl_.dev_;
1023     }
1024     if (cached_has_bits & 0x00000002u) {
1025       _this->_impl_.btype_ = from._impl_.btype_;
1026     }
1027     if (cached_has_bits & 0x00000004u) {
1028       _this->_impl_.sync_ = from._impl_.sync_;
1029     }
1030     if (cached_has_bits & 0x00000008u) {
1031       _this->_impl_.sector_ = from._impl_.sector_;
1032     }
1033     if (cached_has_bits & 0x00000010u) {
1034       _this->_impl_.size_ = from._impl_.size_;
1035     }
1036     _this->_impl_._has_bits_[0] |= cached_has_bits;
1037   }
1038   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
1039 }
1040 
CopyFrom(const F2fsDoSubmitBioFtraceEvent & from)1041 void F2fsDoSubmitBioFtraceEvent::CopyFrom(const F2fsDoSubmitBioFtraceEvent& from) {
1042 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.F2fsDoSubmitBioFtraceEvent)
1043   if (&from == this) return;
1044   Clear();
1045   MergeFrom(from);
1046 }
1047 
IsInitialized() const1048 bool F2fsDoSubmitBioFtraceEvent::IsInitialized() const {
1049   return true;
1050 }
1051 
InternalSwap(F2fsDoSubmitBioFtraceEvent * other)1052 void F2fsDoSubmitBioFtraceEvent::InternalSwap(F2fsDoSubmitBioFtraceEvent* other) {
1053   using std::swap;
1054   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1055   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
1056   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
1057       PROTOBUF_FIELD_OFFSET(F2fsDoSubmitBioFtraceEvent, _impl_.size_)
1058       + sizeof(F2fsDoSubmitBioFtraceEvent::_impl_.size_)  // NOLINT
1059       - PROTOBUF_FIELD_OFFSET(F2fsDoSubmitBioFtraceEvent, _impl_.dev_)>(
1060           reinterpret_cast<char*>(&_impl_.dev_),
1061           reinterpret_cast<char*>(&other->_impl_.dev_));
1062 }
1063 
GetTypeName() const1064 std::string F2fsDoSubmitBioFtraceEvent::GetTypeName() const {
1065   return "perfetto.protos.F2fsDoSubmitBioFtraceEvent";
1066 }
1067 
1068 
1069 // ===================================================================
1070 
1071 class F2fsEvictInodeFtraceEvent::_Internal {
1072  public:
1073   using HasBits = decltype(std::declval<F2fsEvictInodeFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)1074   static void set_has_dev(HasBits* has_bits) {
1075     (*has_bits)[0] |= 1u;
1076   }
set_has_ino(HasBits * has_bits)1077   static void set_has_ino(HasBits* has_bits) {
1078     (*has_bits)[0] |= 2u;
1079   }
set_has_pino(HasBits * has_bits)1080   static void set_has_pino(HasBits* has_bits) {
1081     (*has_bits)[0] |= 4u;
1082   }
set_has_mode(HasBits * has_bits)1083   static void set_has_mode(HasBits* has_bits) {
1084     (*has_bits)[0] |= 16u;
1085   }
set_has_size(HasBits * has_bits)1086   static void set_has_size(HasBits* has_bits) {
1087     (*has_bits)[0] |= 8u;
1088   }
set_has_nlink(HasBits * has_bits)1089   static void set_has_nlink(HasBits* has_bits) {
1090     (*has_bits)[0] |= 32u;
1091   }
set_has_blocks(HasBits * has_bits)1092   static void set_has_blocks(HasBits* has_bits) {
1093     (*has_bits)[0] |= 64u;
1094   }
set_has_advise(HasBits * has_bits)1095   static void set_has_advise(HasBits* has_bits) {
1096     (*has_bits)[0] |= 128u;
1097   }
1098 };
1099 
F2fsEvictInodeFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)1100 F2fsEvictInodeFtraceEvent::F2fsEvictInodeFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1101                          bool is_message_owned)
1102   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
1103   SharedCtor(arena, is_message_owned);
1104   // @@protoc_insertion_point(arena_constructor:perfetto.protos.F2fsEvictInodeFtraceEvent)
1105 }
F2fsEvictInodeFtraceEvent(const F2fsEvictInodeFtraceEvent & from)1106 F2fsEvictInodeFtraceEvent::F2fsEvictInodeFtraceEvent(const F2fsEvictInodeFtraceEvent& from)
1107   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
1108   F2fsEvictInodeFtraceEvent* const _this = this; (void)_this;
1109   new (&_impl_) Impl_{
1110       decltype(_impl_._has_bits_){from._impl_._has_bits_}
1111     , /*decltype(_impl_._cached_size_)*/{}
1112     , decltype(_impl_.dev_){}
1113     , decltype(_impl_.ino_){}
1114     , decltype(_impl_.pino_){}
1115     , decltype(_impl_.size_){}
1116     , decltype(_impl_.mode_){}
1117     , decltype(_impl_.nlink_){}
1118     , decltype(_impl_.blocks_){}
1119     , decltype(_impl_.advise_){}};
1120 
1121   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
1122   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
1123     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.advise_) -
1124     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.advise_));
1125   // @@protoc_insertion_point(copy_constructor:perfetto.protos.F2fsEvictInodeFtraceEvent)
1126 }
1127 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)1128 inline void F2fsEvictInodeFtraceEvent::SharedCtor(
1129     ::_pb::Arena* arena, bool is_message_owned) {
1130   (void)arena;
1131   (void)is_message_owned;
1132   new (&_impl_) Impl_{
1133       decltype(_impl_._has_bits_){}
1134     , /*decltype(_impl_._cached_size_)*/{}
1135     , decltype(_impl_.dev_){::uint64_t{0u}}
1136     , decltype(_impl_.ino_){::uint64_t{0u}}
1137     , decltype(_impl_.pino_){::uint64_t{0u}}
1138     , decltype(_impl_.size_){::int64_t{0}}
1139     , decltype(_impl_.mode_){0u}
1140     , decltype(_impl_.nlink_){0u}
1141     , decltype(_impl_.blocks_){::uint64_t{0u}}
1142     , decltype(_impl_.advise_){0u}
1143   };
1144 }
1145 
~F2fsEvictInodeFtraceEvent()1146 F2fsEvictInodeFtraceEvent::~F2fsEvictInodeFtraceEvent() {
1147   // @@protoc_insertion_point(destructor:perfetto.protos.F2fsEvictInodeFtraceEvent)
1148   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
1149   (void)arena;
1150     return;
1151   }
1152   SharedDtor();
1153 }
1154 
SharedDtor()1155 inline void F2fsEvictInodeFtraceEvent::SharedDtor() {
1156   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
1157 }
1158 
SetCachedSize(int size) const1159 void F2fsEvictInodeFtraceEvent::SetCachedSize(int size) const {
1160   _impl_._cached_size_.Set(size);
1161 }
1162 
Clear()1163 void F2fsEvictInodeFtraceEvent::Clear() {
1164 // @@protoc_insertion_point(message_clear_start:perfetto.protos.F2fsEvictInodeFtraceEvent)
1165   ::uint32_t cached_has_bits = 0;
1166   // Prevent compiler warnings about cached_has_bits being unused
1167   (void) cached_has_bits;
1168 
1169   cached_has_bits = _impl_._has_bits_[0];
1170   if (cached_has_bits & 0x000000ffu) {
1171     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
1172         reinterpret_cast<char*>(&_impl_.advise_) -
1173         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.advise_));
1174   }
1175   _impl_._has_bits_.Clear();
1176   _internal_metadata_.Clear<std::string>();
1177 }
1178 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)1179 const char* F2fsEvictInodeFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
1180 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
1181   _Internal::HasBits has_bits{};
1182   while (!ctx->Done(&ptr)) {
1183     ::uint32_t tag;
1184     ptr = ::_pbi::ReadTag(ptr, &tag);
1185     switch (tag >> 3) {
1186       // optional uint64 dev = 1;
1187       case 1:
1188         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
1189           _Internal::set_has_dev(&has_bits);
1190           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
1191           CHK_(ptr);
1192         } else {
1193           goto handle_unusual;
1194         }
1195         continue;
1196       // optional uint64 ino = 2;
1197       case 2:
1198         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
1199           _Internal::set_has_ino(&has_bits);
1200           _impl_.ino_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
1201           CHK_(ptr);
1202         } else {
1203           goto handle_unusual;
1204         }
1205         continue;
1206       // optional uint64 pino = 3;
1207       case 3:
1208         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
1209           _Internal::set_has_pino(&has_bits);
1210           _impl_.pino_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
1211           CHK_(ptr);
1212         } else {
1213           goto handle_unusual;
1214         }
1215         continue;
1216       // optional uint32 mode = 4;
1217       case 4:
1218         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
1219           _Internal::set_has_mode(&has_bits);
1220           _impl_.mode_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
1221           CHK_(ptr);
1222         } else {
1223           goto handle_unusual;
1224         }
1225         continue;
1226       // optional int64 size = 5;
1227       case 5:
1228         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) {
1229           _Internal::set_has_size(&has_bits);
1230           _impl_.size_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
1231           CHK_(ptr);
1232         } else {
1233           goto handle_unusual;
1234         }
1235         continue;
1236       // optional uint32 nlink = 6;
1237       case 6:
1238         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 48)) {
1239           _Internal::set_has_nlink(&has_bits);
1240           _impl_.nlink_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
1241           CHK_(ptr);
1242         } else {
1243           goto handle_unusual;
1244         }
1245         continue;
1246       // optional uint64 blocks = 7;
1247       case 7:
1248         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 56)) {
1249           _Internal::set_has_blocks(&has_bits);
1250           _impl_.blocks_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
1251           CHK_(ptr);
1252         } else {
1253           goto handle_unusual;
1254         }
1255         continue;
1256       // optional uint32 advise = 8;
1257       case 8:
1258         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 64)) {
1259           _Internal::set_has_advise(&has_bits);
1260           _impl_.advise_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
1261           CHK_(ptr);
1262         } else {
1263           goto handle_unusual;
1264         }
1265         continue;
1266       default:
1267         goto handle_unusual;
1268     }  // switch
1269   handle_unusual:
1270     if ((tag == 0) || ((tag & 7) == 4)) {
1271       CHK_(ptr);
1272       ctx->SetLastTag(tag);
1273       goto message_done;
1274     }
1275     ptr = UnknownFieldParse(
1276         tag,
1277         _internal_metadata_.mutable_unknown_fields<std::string>(),
1278         ptr, ctx);
1279     CHK_(ptr != nullptr);
1280   }  // while
1281 message_done:
1282   _impl_._has_bits_.Or(has_bits);
1283   return ptr;
1284 failure:
1285   ptr = nullptr;
1286   goto message_done;
1287 #undef CHK_
1288 }
1289 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const1290 ::uint8_t* F2fsEvictInodeFtraceEvent::_InternalSerialize(
1291     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
1292   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.F2fsEvictInodeFtraceEvent)
1293   ::uint32_t cached_has_bits = 0;
1294   (void) cached_has_bits;
1295 
1296   cached_has_bits = _impl_._has_bits_[0];
1297   // optional uint64 dev = 1;
1298   if (cached_has_bits & 0x00000001u) {
1299     target = stream->EnsureSpace(target);
1300     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
1301   }
1302 
1303   // optional uint64 ino = 2;
1304   if (cached_has_bits & 0x00000002u) {
1305     target = stream->EnsureSpace(target);
1306     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_ino(), target);
1307   }
1308 
1309   // optional uint64 pino = 3;
1310   if (cached_has_bits & 0x00000004u) {
1311     target = stream->EnsureSpace(target);
1312     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(3, this->_internal_pino(), target);
1313   }
1314 
1315   // optional uint32 mode = 4;
1316   if (cached_has_bits & 0x00000010u) {
1317     target = stream->EnsureSpace(target);
1318     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_mode(), target);
1319   }
1320 
1321   // optional int64 size = 5;
1322   if (cached_has_bits & 0x00000008u) {
1323     target = stream->EnsureSpace(target);
1324     target = ::_pbi::WireFormatLite::WriteInt64ToArray(5, this->_internal_size(), target);
1325   }
1326 
1327   // optional uint32 nlink = 6;
1328   if (cached_has_bits & 0x00000020u) {
1329     target = stream->EnsureSpace(target);
1330     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_nlink(), target);
1331   }
1332 
1333   // optional uint64 blocks = 7;
1334   if (cached_has_bits & 0x00000040u) {
1335     target = stream->EnsureSpace(target);
1336     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(7, this->_internal_blocks(), target);
1337   }
1338 
1339   // optional uint32 advise = 8;
1340   if (cached_has_bits & 0x00000080u) {
1341     target = stream->EnsureSpace(target);
1342     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(8, this->_internal_advise(), target);
1343   }
1344 
1345   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
1346     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
1347         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
1348   }
1349   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.F2fsEvictInodeFtraceEvent)
1350   return target;
1351 }
1352 
ByteSizeLong() const1353 size_t F2fsEvictInodeFtraceEvent::ByteSizeLong() const {
1354 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.F2fsEvictInodeFtraceEvent)
1355   size_t total_size = 0;
1356 
1357   ::uint32_t cached_has_bits = 0;
1358   // Prevent compiler warnings about cached_has_bits being unused
1359   (void) cached_has_bits;
1360 
1361   cached_has_bits = _impl_._has_bits_[0];
1362   if (cached_has_bits & 0x000000ffu) {
1363     // optional uint64 dev = 1;
1364     if (cached_has_bits & 0x00000001u) {
1365       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
1366     }
1367 
1368     // optional uint64 ino = 2;
1369     if (cached_has_bits & 0x00000002u) {
1370       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ino());
1371     }
1372 
1373     // optional uint64 pino = 3;
1374     if (cached_has_bits & 0x00000004u) {
1375       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_pino());
1376     }
1377 
1378     // optional int64 size = 5;
1379     if (cached_has_bits & 0x00000008u) {
1380       total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_size());
1381     }
1382 
1383     // optional uint32 mode = 4;
1384     if (cached_has_bits & 0x00000010u) {
1385       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_mode());
1386     }
1387 
1388     // optional uint32 nlink = 6;
1389     if (cached_has_bits & 0x00000020u) {
1390       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_nlink());
1391     }
1392 
1393     // optional uint64 blocks = 7;
1394     if (cached_has_bits & 0x00000040u) {
1395       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_blocks());
1396     }
1397 
1398     // optional uint32 advise = 8;
1399     if (cached_has_bits & 0x00000080u) {
1400       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_advise());
1401     }
1402 
1403   }
1404   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
1405     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
1406   }
1407   int cached_size = ::_pbi::ToCachedSize(total_size);
1408   SetCachedSize(cached_size);
1409   return total_size;
1410 }
1411 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)1412 void F2fsEvictInodeFtraceEvent::CheckTypeAndMergeFrom(
1413     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
1414   MergeFrom(*::_pbi::DownCast<const F2fsEvictInodeFtraceEvent*>(
1415       &from));
1416 }
1417 
MergeFrom(const F2fsEvictInodeFtraceEvent & from)1418 void F2fsEvictInodeFtraceEvent::MergeFrom(const F2fsEvictInodeFtraceEvent& from) {
1419   F2fsEvictInodeFtraceEvent* const _this = this;
1420   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.F2fsEvictInodeFtraceEvent)
1421   GOOGLE_DCHECK_NE(&from, _this);
1422   ::uint32_t cached_has_bits = 0;
1423   (void) cached_has_bits;
1424 
1425   cached_has_bits = from._impl_._has_bits_[0];
1426   if (cached_has_bits & 0x000000ffu) {
1427     if (cached_has_bits & 0x00000001u) {
1428       _this->_impl_.dev_ = from._impl_.dev_;
1429     }
1430     if (cached_has_bits & 0x00000002u) {
1431       _this->_impl_.ino_ = from._impl_.ino_;
1432     }
1433     if (cached_has_bits & 0x00000004u) {
1434       _this->_impl_.pino_ = from._impl_.pino_;
1435     }
1436     if (cached_has_bits & 0x00000008u) {
1437       _this->_impl_.size_ = from._impl_.size_;
1438     }
1439     if (cached_has_bits & 0x00000010u) {
1440       _this->_impl_.mode_ = from._impl_.mode_;
1441     }
1442     if (cached_has_bits & 0x00000020u) {
1443       _this->_impl_.nlink_ = from._impl_.nlink_;
1444     }
1445     if (cached_has_bits & 0x00000040u) {
1446       _this->_impl_.blocks_ = from._impl_.blocks_;
1447     }
1448     if (cached_has_bits & 0x00000080u) {
1449       _this->_impl_.advise_ = from._impl_.advise_;
1450     }
1451     _this->_impl_._has_bits_[0] |= cached_has_bits;
1452   }
1453   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
1454 }
1455 
CopyFrom(const F2fsEvictInodeFtraceEvent & from)1456 void F2fsEvictInodeFtraceEvent::CopyFrom(const F2fsEvictInodeFtraceEvent& from) {
1457 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.F2fsEvictInodeFtraceEvent)
1458   if (&from == this) return;
1459   Clear();
1460   MergeFrom(from);
1461 }
1462 
IsInitialized() const1463 bool F2fsEvictInodeFtraceEvent::IsInitialized() const {
1464   return true;
1465 }
1466 
InternalSwap(F2fsEvictInodeFtraceEvent * other)1467 void F2fsEvictInodeFtraceEvent::InternalSwap(F2fsEvictInodeFtraceEvent* other) {
1468   using std::swap;
1469   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1470   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
1471   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
1472       PROTOBUF_FIELD_OFFSET(F2fsEvictInodeFtraceEvent, _impl_.advise_)
1473       + sizeof(F2fsEvictInodeFtraceEvent::_impl_.advise_)  // NOLINT
1474       - PROTOBUF_FIELD_OFFSET(F2fsEvictInodeFtraceEvent, _impl_.dev_)>(
1475           reinterpret_cast<char*>(&_impl_.dev_),
1476           reinterpret_cast<char*>(&other->_impl_.dev_));
1477 }
1478 
GetTypeName() const1479 std::string F2fsEvictInodeFtraceEvent::GetTypeName() const {
1480   return "perfetto.protos.F2fsEvictInodeFtraceEvent";
1481 }
1482 
1483 
1484 // ===================================================================
1485 
1486 class F2fsFallocateFtraceEvent::_Internal {
1487  public:
1488   using HasBits = decltype(std::declval<F2fsFallocateFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)1489   static void set_has_dev(HasBits* has_bits) {
1490     (*has_bits)[0] |= 1u;
1491   }
set_has_ino(HasBits * has_bits)1492   static void set_has_ino(HasBits* has_bits) {
1493     (*has_bits)[0] |= 2u;
1494   }
set_has_mode(HasBits * has_bits)1495   static void set_has_mode(HasBits* has_bits) {
1496     (*has_bits)[0] |= 16u;
1497   }
set_has_offset(HasBits * has_bits)1498   static void set_has_offset(HasBits* has_bits) {
1499     (*has_bits)[0] |= 4u;
1500   }
set_has_len(HasBits * has_bits)1501   static void set_has_len(HasBits* has_bits) {
1502     (*has_bits)[0] |= 8u;
1503   }
set_has_size(HasBits * has_bits)1504   static void set_has_size(HasBits* has_bits) {
1505     (*has_bits)[0] |= 64u;
1506   }
set_has_blocks(HasBits * has_bits)1507   static void set_has_blocks(HasBits* has_bits) {
1508     (*has_bits)[0] |= 128u;
1509   }
set_has_ret(HasBits * has_bits)1510   static void set_has_ret(HasBits* has_bits) {
1511     (*has_bits)[0] |= 32u;
1512   }
1513 };
1514 
F2fsFallocateFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)1515 F2fsFallocateFtraceEvent::F2fsFallocateFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1516                          bool is_message_owned)
1517   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
1518   SharedCtor(arena, is_message_owned);
1519   // @@protoc_insertion_point(arena_constructor:perfetto.protos.F2fsFallocateFtraceEvent)
1520 }
F2fsFallocateFtraceEvent(const F2fsFallocateFtraceEvent & from)1521 F2fsFallocateFtraceEvent::F2fsFallocateFtraceEvent(const F2fsFallocateFtraceEvent& from)
1522   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
1523   F2fsFallocateFtraceEvent* const _this = this; (void)_this;
1524   new (&_impl_) Impl_{
1525       decltype(_impl_._has_bits_){from._impl_._has_bits_}
1526     , /*decltype(_impl_._cached_size_)*/{}
1527     , decltype(_impl_.dev_){}
1528     , decltype(_impl_.ino_){}
1529     , decltype(_impl_.offset_){}
1530     , decltype(_impl_.len_){}
1531     , decltype(_impl_.mode_){}
1532     , decltype(_impl_.ret_){}
1533     , decltype(_impl_.size_){}
1534     , decltype(_impl_.blocks_){}};
1535 
1536   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
1537   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
1538     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.blocks_) -
1539     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.blocks_));
1540   // @@protoc_insertion_point(copy_constructor:perfetto.protos.F2fsFallocateFtraceEvent)
1541 }
1542 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)1543 inline void F2fsFallocateFtraceEvent::SharedCtor(
1544     ::_pb::Arena* arena, bool is_message_owned) {
1545   (void)arena;
1546   (void)is_message_owned;
1547   new (&_impl_) Impl_{
1548       decltype(_impl_._has_bits_){}
1549     , /*decltype(_impl_._cached_size_)*/{}
1550     , decltype(_impl_.dev_){::uint64_t{0u}}
1551     , decltype(_impl_.ino_){::uint64_t{0u}}
1552     , decltype(_impl_.offset_){::int64_t{0}}
1553     , decltype(_impl_.len_){::int64_t{0}}
1554     , decltype(_impl_.mode_){0}
1555     , decltype(_impl_.ret_){0}
1556     , decltype(_impl_.size_){::int64_t{0}}
1557     , decltype(_impl_.blocks_){::uint64_t{0u}}
1558   };
1559 }
1560 
~F2fsFallocateFtraceEvent()1561 F2fsFallocateFtraceEvent::~F2fsFallocateFtraceEvent() {
1562   // @@protoc_insertion_point(destructor:perfetto.protos.F2fsFallocateFtraceEvent)
1563   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
1564   (void)arena;
1565     return;
1566   }
1567   SharedDtor();
1568 }
1569 
SharedDtor()1570 inline void F2fsFallocateFtraceEvent::SharedDtor() {
1571   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
1572 }
1573 
SetCachedSize(int size) const1574 void F2fsFallocateFtraceEvent::SetCachedSize(int size) const {
1575   _impl_._cached_size_.Set(size);
1576 }
1577 
Clear()1578 void F2fsFallocateFtraceEvent::Clear() {
1579 // @@protoc_insertion_point(message_clear_start:perfetto.protos.F2fsFallocateFtraceEvent)
1580   ::uint32_t cached_has_bits = 0;
1581   // Prevent compiler warnings about cached_has_bits being unused
1582   (void) cached_has_bits;
1583 
1584   cached_has_bits = _impl_._has_bits_[0];
1585   if (cached_has_bits & 0x000000ffu) {
1586     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
1587         reinterpret_cast<char*>(&_impl_.blocks_) -
1588         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.blocks_));
1589   }
1590   _impl_._has_bits_.Clear();
1591   _internal_metadata_.Clear<std::string>();
1592 }
1593 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)1594 const char* F2fsFallocateFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
1595 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
1596   _Internal::HasBits has_bits{};
1597   while (!ctx->Done(&ptr)) {
1598     ::uint32_t tag;
1599     ptr = ::_pbi::ReadTag(ptr, &tag);
1600     switch (tag >> 3) {
1601       // optional uint64 dev = 1;
1602       case 1:
1603         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
1604           _Internal::set_has_dev(&has_bits);
1605           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
1606           CHK_(ptr);
1607         } else {
1608           goto handle_unusual;
1609         }
1610         continue;
1611       // optional uint64 ino = 2;
1612       case 2:
1613         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
1614           _Internal::set_has_ino(&has_bits);
1615           _impl_.ino_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
1616           CHK_(ptr);
1617         } else {
1618           goto handle_unusual;
1619         }
1620         continue;
1621       // optional int32 mode = 3;
1622       case 3:
1623         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
1624           _Internal::set_has_mode(&has_bits);
1625           _impl_.mode_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
1626           CHK_(ptr);
1627         } else {
1628           goto handle_unusual;
1629         }
1630         continue;
1631       // optional int64 offset = 4;
1632       case 4:
1633         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
1634           _Internal::set_has_offset(&has_bits);
1635           _impl_.offset_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
1636           CHK_(ptr);
1637         } else {
1638           goto handle_unusual;
1639         }
1640         continue;
1641       // optional int64 len = 5;
1642       case 5:
1643         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) {
1644           _Internal::set_has_len(&has_bits);
1645           _impl_.len_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
1646           CHK_(ptr);
1647         } else {
1648           goto handle_unusual;
1649         }
1650         continue;
1651       // optional int64 size = 6;
1652       case 6:
1653         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 48)) {
1654           _Internal::set_has_size(&has_bits);
1655           _impl_.size_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
1656           CHK_(ptr);
1657         } else {
1658           goto handle_unusual;
1659         }
1660         continue;
1661       // optional uint64 blocks = 7;
1662       case 7:
1663         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 56)) {
1664           _Internal::set_has_blocks(&has_bits);
1665           _impl_.blocks_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
1666           CHK_(ptr);
1667         } else {
1668           goto handle_unusual;
1669         }
1670         continue;
1671       // optional int32 ret = 8;
1672       case 8:
1673         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 64)) {
1674           _Internal::set_has_ret(&has_bits);
1675           _impl_.ret_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
1676           CHK_(ptr);
1677         } else {
1678           goto handle_unusual;
1679         }
1680         continue;
1681       default:
1682         goto handle_unusual;
1683     }  // switch
1684   handle_unusual:
1685     if ((tag == 0) || ((tag & 7) == 4)) {
1686       CHK_(ptr);
1687       ctx->SetLastTag(tag);
1688       goto message_done;
1689     }
1690     ptr = UnknownFieldParse(
1691         tag,
1692         _internal_metadata_.mutable_unknown_fields<std::string>(),
1693         ptr, ctx);
1694     CHK_(ptr != nullptr);
1695   }  // while
1696 message_done:
1697   _impl_._has_bits_.Or(has_bits);
1698   return ptr;
1699 failure:
1700   ptr = nullptr;
1701   goto message_done;
1702 #undef CHK_
1703 }
1704 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const1705 ::uint8_t* F2fsFallocateFtraceEvent::_InternalSerialize(
1706     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
1707   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.F2fsFallocateFtraceEvent)
1708   ::uint32_t cached_has_bits = 0;
1709   (void) cached_has_bits;
1710 
1711   cached_has_bits = _impl_._has_bits_[0];
1712   // optional uint64 dev = 1;
1713   if (cached_has_bits & 0x00000001u) {
1714     target = stream->EnsureSpace(target);
1715     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
1716   }
1717 
1718   // optional uint64 ino = 2;
1719   if (cached_has_bits & 0x00000002u) {
1720     target = stream->EnsureSpace(target);
1721     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_ino(), target);
1722   }
1723 
1724   // optional int32 mode = 3;
1725   if (cached_has_bits & 0x00000010u) {
1726     target = stream->EnsureSpace(target);
1727     target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_mode(), target);
1728   }
1729 
1730   // optional int64 offset = 4;
1731   if (cached_has_bits & 0x00000004u) {
1732     target = stream->EnsureSpace(target);
1733     target = ::_pbi::WireFormatLite::WriteInt64ToArray(4, this->_internal_offset(), target);
1734   }
1735 
1736   // optional int64 len = 5;
1737   if (cached_has_bits & 0x00000008u) {
1738     target = stream->EnsureSpace(target);
1739     target = ::_pbi::WireFormatLite::WriteInt64ToArray(5, this->_internal_len(), target);
1740   }
1741 
1742   // optional int64 size = 6;
1743   if (cached_has_bits & 0x00000040u) {
1744     target = stream->EnsureSpace(target);
1745     target = ::_pbi::WireFormatLite::WriteInt64ToArray(6, this->_internal_size(), target);
1746   }
1747 
1748   // optional uint64 blocks = 7;
1749   if (cached_has_bits & 0x00000080u) {
1750     target = stream->EnsureSpace(target);
1751     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(7, this->_internal_blocks(), target);
1752   }
1753 
1754   // optional int32 ret = 8;
1755   if (cached_has_bits & 0x00000020u) {
1756     target = stream->EnsureSpace(target);
1757     target = ::_pbi::WireFormatLite::WriteInt32ToArray(8, this->_internal_ret(), target);
1758   }
1759 
1760   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
1761     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
1762         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
1763   }
1764   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.F2fsFallocateFtraceEvent)
1765   return target;
1766 }
1767 
ByteSizeLong() const1768 size_t F2fsFallocateFtraceEvent::ByteSizeLong() const {
1769 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.F2fsFallocateFtraceEvent)
1770   size_t total_size = 0;
1771 
1772   ::uint32_t cached_has_bits = 0;
1773   // Prevent compiler warnings about cached_has_bits being unused
1774   (void) cached_has_bits;
1775 
1776   cached_has_bits = _impl_._has_bits_[0];
1777   if (cached_has_bits & 0x000000ffu) {
1778     // optional uint64 dev = 1;
1779     if (cached_has_bits & 0x00000001u) {
1780       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
1781     }
1782 
1783     // optional uint64 ino = 2;
1784     if (cached_has_bits & 0x00000002u) {
1785       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ino());
1786     }
1787 
1788     // optional int64 offset = 4;
1789     if (cached_has_bits & 0x00000004u) {
1790       total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_offset());
1791     }
1792 
1793     // optional int64 len = 5;
1794     if (cached_has_bits & 0x00000008u) {
1795       total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_len());
1796     }
1797 
1798     // optional int32 mode = 3;
1799     if (cached_has_bits & 0x00000010u) {
1800       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_mode());
1801     }
1802 
1803     // optional int32 ret = 8;
1804     if (cached_has_bits & 0x00000020u) {
1805       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_ret());
1806     }
1807 
1808     // optional int64 size = 6;
1809     if (cached_has_bits & 0x00000040u) {
1810       total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_size());
1811     }
1812 
1813     // optional uint64 blocks = 7;
1814     if (cached_has_bits & 0x00000080u) {
1815       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_blocks());
1816     }
1817 
1818   }
1819   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
1820     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
1821   }
1822   int cached_size = ::_pbi::ToCachedSize(total_size);
1823   SetCachedSize(cached_size);
1824   return total_size;
1825 }
1826 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)1827 void F2fsFallocateFtraceEvent::CheckTypeAndMergeFrom(
1828     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
1829   MergeFrom(*::_pbi::DownCast<const F2fsFallocateFtraceEvent*>(
1830       &from));
1831 }
1832 
MergeFrom(const F2fsFallocateFtraceEvent & from)1833 void F2fsFallocateFtraceEvent::MergeFrom(const F2fsFallocateFtraceEvent& from) {
1834   F2fsFallocateFtraceEvent* const _this = this;
1835   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.F2fsFallocateFtraceEvent)
1836   GOOGLE_DCHECK_NE(&from, _this);
1837   ::uint32_t cached_has_bits = 0;
1838   (void) cached_has_bits;
1839 
1840   cached_has_bits = from._impl_._has_bits_[0];
1841   if (cached_has_bits & 0x000000ffu) {
1842     if (cached_has_bits & 0x00000001u) {
1843       _this->_impl_.dev_ = from._impl_.dev_;
1844     }
1845     if (cached_has_bits & 0x00000002u) {
1846       _this->_impl_.ino_ = from._impl_.ino_;
1847     }
1848     if (cached_has_bits & 0x00000004u) {
1849       _this->_impl_.offset_ = from._impl_.offset_;
1850     }
1851     if (cached_has_bits & 0x00000008u) {
1852       _this->_impl_.len_ = from._impl_.len_;
1853     }
1854     if (cached_has_bits & 0x00000010u) {
1855       _this->_impl_.mode_ = from._impl_.mode_;
1856     }
1857     if (cached_has_bits & 0x00000020u) {
1858       _this->_impl_.ret_ = from._impl_.ret_;
1859     }
1860     if (cached_has_bits & 0x00000040u) {
1861       _this->_impl_.size_ = from._impl_.size_;
1862     }
1863     if (cached_has_bits & 0x00000080u) {
1864       _this->_impl_.blocks_ = from._impl_.blocks_;
1865     }
1866     _this->_impl_._has_bits_[0] |= cached_has_bits;
1867   }
1868   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
1869 }
1870 
CopyFrom(const F2fsFallocateFtraceEvent & from)1871 void F2fsFallocateFtraceEvent::CopyFrom(const F2fsFallocateFtraceEvent& from) {
1872 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.F2fsFallocateFtraceEvent)
1873   if (&from == this) return;
1874   Clear();
1875   MergeFrom(from);
1876 }
1877 
IsInitialized() const1878 bool F2fsFallocateFtraceEvent::IsInitialized() const {
1879   return true;
1880 }
1881 
InternalSwap(F2fsFallocateFtraceEvent * other)1882 void F2fsFallocateFtraceEvent::InternalSwap(F2fsFallocateFtraceEvent* other) {
1883   using std::swap;
1884   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1885   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
1886   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
1887       PROTOBUF_FIELD_OFFSET(F2fsFallocateFtraceEvent, _impl_.blocks_)
1888       + sizeof(F2fsFallocateFtraceEvent::_impl_.blocks_)  // NOLINT
1889       - PROTOBUF_FIELD_OFFSET(F2fsFallocateFtraceEvent, _impl_.dev_)>(
1890           reinterpret_cast<char*>(&_impl_.dev_),
1891           reinterpret_cast<char*>(&other->_impl_.dev_));
1892 }
1893 
GetTypeName() const1894 std::string F2fsFallocateFtraceEvent::GetTypeName() const {
1895   return "perfetto.protos.F2fsFallocateFtraceEvent";
1896 }
1897 
1898 
1899 // ===================================================================
1900 
1901 class F2fsGetDataBlockFtraceEvent::_Internal {
1902  public:
1903   using HasBits = decltype(std::declval<F2fsGetDataBlockFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)1904   static void set_has_dev(HasBits* has_bits) {
1905     (*has_bits)[0] |= 1u;
1906   }
set_has_ino(HasBits * has_bits)1907   static void set_has_ino(HasBits* has_bits) {
1908     (*has_bits)[0] |= 2u;
1909   }
set_has_iblock(HasBits * has_bits)1910   static void set_has_iblock(HasBits* has_bits) {
1911     (*has_bits)[0] |= 4u;
1912   }
set_has_bh_start(HasBits * has_bits)1913   static void set_has_bh_start(HasBits* has_bits) {
1914     (*has_bits)[0] |= 8u;
1915   }
set_has_bh_size(HasBits * has_bits)1916   static void set_has_bh_size(HasBits* has_bits) {
1917     (*has_bits)[0] |= 16u;
1918   }
set_has_ret(HasBits * has_bits)1919   static void set_has_ret(HasBits* has_bits) {
1920     (*has_bits)[0] |= 32u;
1921   }
1922 };
1923 
F2fsGetDataBlockFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)1924 F2fsGetDataBlockFtraceEvent::F2fsGetDataBlockFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1925                          bool is_message_owned)
1926   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
1927   SharedCtor(arena, is_message_owned);
1928   // @@protoc_insertion_point(arena_constructor:perfetto.protos.F2fsGetDataBlockFtraceEvent)
1929 }
F2fsGetDataBlockFtraceEvent(const F2fsGetDataBlockFtraceEvent & from)1930 F2fsGetDataBlockFtraceEvent::F2fsGetDataBlockFtraceEvent(const F2fsGetDataBlockFtraceEvent& from)
1931   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
1932   F2fsGetDataBlockFtraceEvent* const _this = this; (void)_this;
1933   new (&_impl_) Impl_{
1934       decltype(_impl_._has_bits_){from._impl_._has_bits_}
1935     , /*decltype(_impl_._cached_size_)*/{}
1936     , decltype(_impl_.dev_){}
1937     , decltype(_impl_.ino_){}
1938     , decltype(_impl_.iblock_){}
1939     , decltype(_impl_.bh_start_){}
1940     , decltype(_impl_.bh_size_){}
1941     , decltype(_impl_.ret_){}};
1942 
1943   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
1944   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
1945     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.ret_) -
1946     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.ret_));
1947   // @@protoc_insertion_point(copy_constructor:perfetto.protos.F2fsGetDataBlockFtraceEvent)
1948 }
1949 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)1950 inline void F2fsGetDataBlockFtraceEvent::SharedCtor(
1951     ::_pb::Arena* arena, bool is_message_owned) {
1952   (void)arena;
1953   (void)is_message_owned;
1954   new (&_impl_) Impl_{
1955       decltype(_impl_._has_bits_){}
1956     , /*decltype(_impl_._cached_size_)*/{}
1957     , decltype(_impl_.dev_){::uint64_t{0u}}
1958     , decltype(_impl_.ino_){::uint64_t{0u}}
1959     , decltype(_impl_.iblock_){::uint64_t{0u}}
1960     , decltype(_impl_.bh_start_){::uint64_t{0u}}
1961     , decltype(_impl_.bh_size_){::uint64_t{0u}}
1962     , decltype(_impl_.ret_){0}
1963   };
1964 }
1965 
~F2fsGetDataBlockFtraceEvent()1966 F2fsGetDataBlockFtraceEvent::~F2fsGetDataBlockFtraceEvent() {
1967   // @@protoc_insertion_point(destructor:perfetto.protos.F2fsGetDataBlockFtraceEvent)
1968   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
1969   (void)arena;
1970     return;
1971   }
1972   SharedDtor();
1973 }
1974 
SharedDtor()1975 inline void F2fsGetDataBlockFtraceEvent::SharedDtor() {
1976   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
1977 }
1978 
SetCachedSize(int size) const1979 void F2fsGetDataBlockFtraceEvent::SetCachedSize(int size) const {
1980   _impl_._cached_size_.Set(size);
1981 }
1982 
Clear()1983 void F2fsGetDataBlockFtraceEvent::Clear() {
1984 // @@protoc_insertion_point(message_clear_start:perfetto.protos.F2fsGetDataBlockFtraceEvent)
1985   ::uint32_t cached_has_bits = 0;
1986   // Prevent compiler warnings about cached_has_bits being unused
1987   (void) cached_has_bits;
1988 
1989   cached_has_bits = _impl_._has_bits_[0];
1990   if (cached_has_bits & 0x0000003fu) {
1991     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
1992         reinterpret_cast<char*>(&_impl_.ret_) -
1993         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.ret_));
1994   }
1995   _impl_._has_bits_.Clear();
1996   _internal_metadata_.Clear<std::string>();
1997 }
1998 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)1999 const char* F2fsGetDataBlockFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
2000 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
2001   _Internal::HasBits has_bits{};
2002   while (!ctx->Done(&ptr)) {
2003     ::uint32_t tag;
2004     ptr = ::_pbi::ReadTag(ptr, &tag);
2005     switch (tag >> 3) {
2006       // optional uint64 dev = 1;
2007       case 1:
2008         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
2009           _Internal::set_has_dev(&has_bits);
2010           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
2011           CHK_(ptr);
2012         } else {
2013           goto handle_unusual;
2014         }
2015         continue;
2016       // optional uint64 ino = 2;
2017       case 2:
2018         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
2019           _Internal::set_has_ino(&has_bits);
2020           _impl_.ino_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
2021           CHK_(ptr);
2022         } else {
2023           goto handle_unusual;
2024         }
2025         continue;
2026       // optional uint64 iblock = 3;
2027       case 3:
2028         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
2029           _Internal::set_has_iblock(&has_bits);
2030           _impl_.iblock_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
2031           CHK_(ptr);
2032         } else {
2033           goto handle_unusual;
2034         }
2035         continue;
2036       // optional uint64 bh_start = 4;
2037       case 4:
2038         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
2039           _Internal::set_has_bh_start(&has_bits);
2040           _impl_.bh_start_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
2041           CHK_(ptr);
2042         } else {
2043           goto handle_unusual;
2044         }
2045         continue;
2046       // optional uint64 bh_size = 5;
2047       case 5:
2048         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) {
2049           _Internal::set_has_bh_size(&has_bits);
2050           _impl_.bh_size_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
2051           CHK_(ptr);
2052         } else {
2053           goto handle_unusual;
2054         }
2055         continue;
2056       // optional int32 ret = 6;
2057       case 6:
2058         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 48)) {
2059           _Internal::set_has_ret(&has_bits);
2060           _impl_.ret_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
2061           CHK_(ptr);
2062         } else {
2063           goto handle_unusual;
2064         }
2065         continue;
2066       default:
2067         goto handle_unusual;
2068     }  // switch
2069   handle_unusual:
2070     if ((tag == 0) || ((tag & 7) == 4)) {
2071       CHK_(ptr);
2072       ctx->SetLastTag(tag);
2073       goto message_done;
2074     }
2075     ptr = UnknownFieldParse(
2076         tag,
2077         _internal_metadata_.mutable_unknown_fields<std::string>(),
2078         ptr, ctx);
2079     CHK_(ptr != nullptr);
2080   }  // while
2081 message_done:
2082   _impl_._has_bits_.Or(has_bits);
2083   return ptr;
2084 failure:
2085   ptr = nullptr;
2086   goto message_done;
2087 #undef CHK_
2088 }
2089 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const2090 ::uint8_t* F2fsGetDataBlockFtraceEvent::_InternalSerialize(
2091     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
2092   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.F2fsGetDataBlockFtraceEvent)
2093   ::uint32_t cached_has_bits = 0;
2094   (void) cached_has_bits;
2095 
2096   cached_has_bits = _impl_._has_bits_[0];
2097   // optional uint64 dev = 1;
2098   if (cached_has_bits & 0x00000001u) {
2099     target = stream->EnsureSpace(target);
2100     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
2101   }
2102 
2103   // optional uint64 ino = 2;
2104   if (cached_has_bits & 0x00000002u) {
2105     target = stream->EnsureSpace(target);
2106     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_ino(), target);
2107   }
2108 
2109   // optional uint64 iblock = 3;
2110   if (cached_has_bits & 0x00000004u) {
2111     target = stream->EnsureSpace(target);
2112     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(3, this->_internal_iblock(), target);
2113   }
2114 
2115   // optional uint64 bh_start = 4;
2116   if (cached_has_bits & 0x00000008u) {
2117     target = stream->EnsureSpace(target);
2118     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(4, this->_internal_bh_start(), target);
2119   }
2120 
2121   // optional uint64 bh_size = 5;
2122   if (cached_has_bits & 0x00000010u) {
2123     target = stream->EnsureSpace(target);
2124     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(5, this->_internal_bh_size(), target);
2125   }
2126 
2127   // optional int32 ret = 6;
2128   if (cached_has_bits & 0x00000020u) {
2129     target = stream->EnsureSpace(target);
2130     target = ::_pbi::WireFormatLite::WriteInt32ToArray(6, this->_internal_ret(), target);
2131   }
2132 
2133   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
2134     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
2135         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
2136   }
2137   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.F2fsGetDataBlockFtraceEvent)
2138   return target;
2139 }
2140 
ByteSizeLong() const2141 size_t F2fsGetDataBlockFtraceEvent::ByteSizeLong() const {
2142 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.F2fsGetDataBlockFtraceEvent)
2143   size_t total_size = 0;
2144 
2145   ::uint32_t cached_has_bits = 0;
2146   // Prevent compiler warnings about cached_has_bits being unused
2147   (void) cached_has_bits;
2148 
2149   cached_has_bits = _impl_._has_bits_[0];
2150   if (cached_has_bits & 0x0000003fu) {
2151     // optional uint64 dev = 1;
2152     if (cached_has_bits & 0x00000001u) {
2153       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
2154     }
2155 
2156     // optional uint64 ino = 2;
2157     if (cached_has_bits & 0x00000002u) {
2158       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ino());
2159     }
2160 
2161     // optional uint64 iblock = 3;
2162     if (cached_has_bits & 0x00000004u) {
2163       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_iblock());
2164     }
2165 
2166     // optional uint64 bh_start = 4;
2167     if (cached_has_bits & 0x00000008u) {
2168       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_bh_start());
2169     }
2170 
2171     // optional uint64 bh_size = 5;
2172     if (cached_has_bits & 0x00000010u) {
2173       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_bh_size());
2174     }
2175 
2176     // optional int32 ret = 6;
2177     if (cached_has_bits & 0x00000020u) {
2178       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_ret());
2179     }
2180 
2181   }
2182   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
2183     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
2184   }
2185   int cached_size = ::_pbi::ToCachedSize(total_size);
2186   SetCachedSize(cached_size);
2187   return total_size;
2188 }
2189 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)2190 void F2fsGetDataBlockFtraceEvent::CheckTypeAndMergeFrom(
2191     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
2192   MergeFrom(*::_pbi::DownCast<const F2fsGetDataBlockFtraceEvent*>(
2193       &from));
2194 }
2195 
MergeFrom(const F2fsGetDataBlockFtraceEvent & from)2196 void F2fsGetDataBlockFtraceEvent::MergeFrom(const F2fsGetDataBlockFtraceEvent& from) {
2197   F2fsGetDataBlockFtraceEvent* const _this = this;
2198   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.F2fsGetDataBlockFtraceEvent)
2199   GOOGLE_DCHECK_NE(&from, _this);
2200   ::uint32_t cached_has_bits = 0;
2201   (void) cached_has_bits;
2202 
2203   cached_has_bits = from._impl_._has_bits_[0];
2204   if (cached_has_bits & 0x0000003fu) {
2205     if (cached_has_bits & 0x00000001u) {
2206       _this->_impl_.dev_ = from._impl_.dev_;
2207     }
2208     if (cached_has_bits & 0x00000002u) {
2209       _this->_impl_.ino_ = from._impl_.ino_;
2210     }
2211     if (cached_has_bits & 0x00000004u) {
2212       _this->_impl_.iblock_ = from._impl_.iblock_;
2213     }
2214     if (cached_has_bits & 0x00000008u) {
2215       _this->_impl_.bh_start_ = from._impl_.bh_start_;
2216     }
2217     if (cached_has_bits & 0x00000010u) {
2218       _this->_impl_.bh_size_ = from._impl_.bh_size_;
2219     }
2220     if (cached_has_bits & 0x00000020u) {
2221       _this->_impl_.ret_ = from._impl_.ret_;
2222     }
2223     _this->_impl_._has_bits_[0] |= cached_has_bits;
2224   }
2225   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
2226 }
2227 
CopyFrom(const F2fsGetDataBlockFtraceEvent & from)2228 void F2fsGetDataBlockFtraceEvent::CopyFrom(const F2fsGetDataBlockFtraceEvent& from) {
2229 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.F2fsGetDataBlockFtraceEvent)
2230   if (&from == this) return;
2231   Clear();
2232   MergeFrom(from);
2233 }
2234 
IsInitialized() const2235 bool F2fsGetDataBlockFtraceEvent::IsInitialized() const {
2236   return true;
2237 }
2238 
InternalSwap(F2fsGetDataBlockFtraceEvent * other)2239 void F2fsGetDataBlockFtraceEvent::InternalSwap(F2fsGetDataBlockFtraceEvent* other) {
2240   using std::swap;
2241   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
2242   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
2243   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
2244       PROTOBUF_FIELD_OFFSET(F2fsGetDataBlockFtraceEvent, _impl_.ret_)
2245       + sizeof(F2fsGetDataBlockFtraceEvent::_impl_.ret_)  // NOLINT
2246       - PROTOBUF_FIELD_OFFSET(F2fsGetDataBlockFtraceEvent, _impl_.dev_)>(
2247           reinterpret_cast<char*>(&_impl_.dev_),
2248           reinterpret_cast<char*>(&other->_impl_.dev_));
2249 }
2250 
GetTypeName() const2251 std::string F2fsGetDataBlockFtraceEvent::GetTypeName() const {
2252   return "perfetto.protos.F2fsGetDataBlockFtraceEvent";
2253 }
2254 
2255 
2256 // ===================================================================
2257 
2258 class F2fsGetVictimFtraceEvent::_Internal {
2259  public:
2260   using HasBits = decltype(std::declval<F2fsGetVictimFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)2261   static void set_has_dev(HasBits* has_bits) {
2262     (*has_bits)[0] |= 1u;
2263   }
set_has_type(HasBits * has_bits)2264   static void set_has_type(HasBits* has_bits) {
2265     (*has_bits)[0] |= 2u;
2266   }
set_has_gc_type(HasBits * has_bits)2267   static void set_has_gc_type(HasBits* has_bits) {
2268     (*has_bits)[0] |= 4u;
2269   }
set_has_alloc_mode(HasBits * has_bits)2270   static void set_has_alloc_mode(HasBits* has_bits) {
2271     (*has_bits)[0] |= 8u;
2272   }
set_has_gc_mode(HasBits * has_bits)2273   static void set_has_gc_mode(HasBits* has_bits) {
2274     (*has_bits)[0] |= 16u;
2275   }
set_has_victim(HasBits * has_bits)2276   static void set_has_victim(HasBits* has_bits) {
2277     (*has_bits)[0] |= 32u;
2278   }
set_has_ofs_unit(HasBits * has_bits)2279   static void set_has_ofs_unit(HasBits* has_bits) {
2280     (*has_bits)[0] |= 64u;
2281   }
set_has_pre_victim(HasBits * has_bits)2282   static void set_has_pre_victim(HasBits* has_bits) {
2283     (*has_bits)[0] |= 128u;
2284   }
set_has_prefree(HasBits * has_bits)2285   static void set_has_prefree(HasBits* has_bits) {
2286     (*has_bits)[0] |= 256u;
2287   }
set_has_free(HasBits * has_bits)2288   static void set_has_free(HasBits* has_bits) {
2289     (*has_bits)[0] |= 512u;
2290   }
set_has_cost(HasBits * has_bits)2291   static void set_has_cost(HasBits* has_bits) {
2292     (*has_bits)[0] |= 1024u;
2293   }
2294 };
2295 
F2fsGetVictimFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)2296 F2fsGetVictimFtraceEvent::F2fsGetVictimFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
2297                          bool is_message_owned)
2298   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
2299   SharedCtor(arena, is_message_owned);
2300   // @@protoc_insertion_point(arena_constructor:perfetto.protos.F2fsGetVictimFtraceEvent)
2301 }
F2fsGetVictimFtraceEvent(const F2fsGetVictimFtraceEvent & from)2302 F2fsGetVictimFtraceEvent::F2fsGetVictimFtraceEvent(const F2fsGetVictimFtraceEvent& from)
2303   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
2304   F2fsGetVictimFtraceEvent* const _this = this; (void)_this;
2305   new (&_impl_) Impl_{
2306       decltype(_impl_._has_bits_){from._impl_._has_bits_}
2307     , /*decltype(_impl_._cached_size_)*/{}
2308     , decltype(_impl_.dev_){}
2309     , decltype(_impl_.type_){}
2310     , decltype(_impl_.gc_type_){}
2311     , decltype(_impl_.alloc_mode_){}
2312     , decltype(_impl_.gc_mode_){}
2313     , decltype(_impl_.victim_){}
2314     , decltype(_impl_.ofs_unit_){}
2315     , decltype(_impl_.pre_victim_){}
2316     , decltype(_impl_.prefree_){}
2317     , decltype(_impl_.free_){}
2318     , decltype(_impl_.cost_){}};
2319 
2320   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
2321   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
2322     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.cost_) -
2323     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.cost_));
2324   // @@protoc_insertion_point(copy_constructor:perfetto.protos.F2fsGetVictimFtraceEvent)
2325 }
2326 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)2327 inline void F2fsGetVictimFtraceEvent::SharedCtor(
2328     ::_pb::Arena* arena, bool is_message_owned) {
2329   (void)arena;
2330   (void)is_message_owned;
2331   new (&_impl_) Impl_{
2332       decltype(_impl_._has_bits_){}
2333     , /*decltype(_impl_._cached_size_)*/{}
2334     , decltype(_impl_.dev_){::uint64_t{0u}}
2335     , decltype(_impl_.type_){0}
2336     , decltype(_impl_.gc_type_){0}
2337     , decltype(_impl_.alloc_mode_){0}
2338     , decltype(_impl_.gc_mode_){0}
2339     , decltype(_impl_.victim_){0u}
2340     , decltype(_impl_.ofs_unit_){0u}
2341     , decltype(_impl_.pre_victim_){0u}
2342     , decltype(_impl_.prefree_){0u}
2343     , decltype(_impl_.free_){0u}
2344     , decltype(_impl_.cost_){0u}
2345   };
2346 }
2347 
~F2fsGetVictimFtraceEvent()2348 F2fsGetVictimFtraceEvent::~F2fsGetVictimFtraceEvent() {
2349   // @@protoc_insertion_point(destructor:perfetto.protos.F2fsGetVictimFtraceEvent)
2350   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
2351   (void)arena;
2352     return;
2353   }
2354   SharedDtor();
2355 }
2356 
SharedDtor()2357 inline void F2fsGetVictimFtraceEvent::SharedDtor() {
2358   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
2359 }
2360 
SetCachedSize(int size) const2361 void F2fsGetVictimFtraceEvent::SetCachedSize(int size) const {
2362   _impl_._cached_size_.Set(size);
2363 }
2364 
Clear()2365 void F2fsGetVictimFtraceEvent::Clear() {
2366 // @@protoc_insertion_point(message_clear_start:perfetto.protos.F2fsGetVictimFtraceEvent)
2367   ::uint32_t cached_has_bits = 0;
2368   // Prevent compiler warnings about cached_has_bits being unused
2369   (void) cached_has_bits;
2370 
2371   cached_has_bits = _impl_._has_bits_[0];
2372   if (cached_has_bits & 0x000000ffu) {
2373     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
2374         reinterpret_cast<char*>(&_impl_.pre_victim_) -
2375         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.pre_victim_));
2376   }
2377   if (cached_has_bits & 0x00000700u) {
2378     ::memset(&_impl_.prefree_, 0, static_cast<size_t>(
2379         reinterpret_cast<char*>(&_impl_.cost_) -
2380         reinterpret_cast<char*>(&_impl_.prefree_)) + sizeof(_impl_.cost_));
2381   }
2382   _impl_._has_bits_.Clear();
2383   _internal_metadata_.Clear<std::string>();
2384 }
2385 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)2386 const char* F2fsGetVictimFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
2387 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
2388   _Internal::HasBits has_bits{};
2389   while (!ctx->Done(&ptr)) {
2390     ::uint32_t tag;
2391     ptr = ::_pbi::ReadTag(ptr, &tag);
2392     switch (tag >> 3) {
2393       // optional uint64 dev = 1;
2394       case 1:
2395         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
2396           _Internal::set_has_dev(&has_bits);
2397           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
2398           CHK_(ptr);
2399         } else {
2400           goto handle_unusual;
2401         }
2402         continue;
2403       // optional int32 type = 2;
2404       case 2:
2405         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
2406           _Internal::set_has_type(&has_bits);
2407           _impl_.type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
2408           CHK_(ptr);
2409         } else {
2410           goto handle_unusual;
2411         }
2412         continue;
2413       // optional int32 gc_type = 3;
2414       case 3:
2415         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
2416           _Internal::set_has_gc_type(&has_bits);
2417           _impl_.gc_type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
2418           CHK_(ptr);
2419         } else {
2420           goto handle_unusual;
2421         }
2422         continue;
2423       // optional int32 alloc_mode = 4;
2424       case 4:
2425         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
2426           _Internal::set_has_alloc_mode(&has_bits);
2427           _impl_.alloc_mode_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
2428           CHK_(ptr);
2429         } else {
2430           goto handle_unusual;
2431         }
2432         continue;
2433       // optional int32 gc_mode = 5;
2434       case 5:
2435         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) {
2436           _Internal::set_has_gc_mode(&has_bits);
2437           _impl_.gc_mode_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
2438           CHK_(ptr);
2439         } else {
2440           goto handle_unusual;
2441         }
2442         continue;
2443       // optional uint32 victim = 6;
2444       case 6:
2445         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 48)) {
2446           _Internal::set_has_victim(&has_bits);
2447           _impl_.victim_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
2448           CHK_(ptr);
2449         } else {
2450           goto handle_unusual;
2451         }
2452         continue;
2453       // optional uint32 ofs_unit = 7;
2454       case 7:
2455         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 56)) {
2456           _Internal::set_has_ofs_unit(&has_bits);
2457           _impl_.ofs_unit_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
2458           CHK_(ptr);
2459         } else {
2460           goto handle_unusual;
2461         }
2462         continue;
2463       // optional uint32 pre_victim = 8;
2464       case 8:
2465         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 64)) {
2466           _Internal::set_has_pre_victim(&has_bits);
2467           _impl_.pre_victim_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
2468           CHK_(ptr);
2469         } else {
2470           goto handle_unusual;
2471         }
2472         continue;
2473       // optional uint32 prefree = 9;
2474       case 9:
2475         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 72)) {
2476           _Internal::set_has_prefree(&has_bits);
2477           _impl_.prefree_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
2478           CHK_(ptr);
2479         } else {
2480           goto handle_unusual;
2481         }
2482         continue;
2483       // optional uint32 free = 10;
2484       case 10:
2485         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 80)) {
2486           _Internal::set_has_free(&has_bits);
2487           _impl_.free_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
2488           CHK_(ptr);
2489         } else {
2490           goto handle_unusual;
2491         }
2492         continue;
2493       // optional uint32 cost = 11;
2494       case 11:
2495         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 88)) {
2496           _Internal::set_has_cost(&has_bits);
2497           _impl_.cost_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
2498           CHK_(ptr);
2499         } else {
2500           goto handle_unusual;
2501         }
2502         continue;
2503       default:
2504         goto handle_unusual;
2505     }  // switch
2506   handle_unusual:
2507     if ((tag == 0) || ((tag & 7) == 4)) {
2508       CHK_(ptr);
2509       ctx->SetLastTag(tag);
2510       goto message_done;
2511     }
2512     ptr = UnknownFieldParse(
2513         tag,
2514         _internal_metadata_.mutable_unknown_fields<std::string>(),
2515         ptr, ctx);
2516     CHK_(ptr != nullptr);
2517   }  // while
2518 message_done:
2519   _impl_._has_bits_.Or(has_bits);
2520   return ptr;
2521 failure:
2522   ptr = nullptr;
2523   goto message_done;
2524 #undef CHK_
2525 }
2526 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const2527 ::uint8_t* F2fsGetVictimFtraceEvent::_InternalSerialize(
2528     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
2529   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.F2fsGetVictimFtraceEvent)
2530   ::uint32_t cached_has_bits = 0;
2531   (void) cached_has_bits;
2532 
2533   cached_has_bits = _impl_._has_bits_[0];
2534   // optional uint64 dev = 1;
2535   if (cached_has_bits & 0x00000001u) {
2536     target = stream->EnsureSpace(target);
2537     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
2538   }
2539 
2540   // optional int32 type = 2;
2541   if (cached_has_bits & 0x00000002u) {
2542     target = stream->EnsureSpace(target);
2543     target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_type(), target);
2544   }
2545 
2546   // optional int32 gc_type = 3;
2547   if (cached_has_bits & 0x00000004u) {
2548     target = stream->EnsureSpace(target);
2549     target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_gc_type(), target);
2550   }
2551 
2552   // optional int32 alloc_mode = 4;
2553   if (cached_has_bits & 0x00000008u) {
2554     target = stream->EnsureSpace(target);
2555     target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_alloc_mode(), target);
2556   }
2557 
2558   // optional int32 gc_mode = 5;
2559   if (cached_has_bits & 0x00000010u) {
2560     target = stream->EnsureSpace(target);
2561     target = ::_pbi::WireFormatLite::WriteInt32ToArray(5, this->_internal_gc_mode(), target);
2562   }
2563 
2564   // optional uint32 victim = 6;
2565   if (cached_has_bits & 0x00000020u) {
2566     target = stream->EnsureSpace(target);
2567     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_victim(), target);
2568   }
2569 
2570   // optional uint32 ofs_unit = 7;
2571   if (cached_has_bits & 0x00000040u) {
2572     target = stream->EnsureSpace(target);
2573     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(7, this->_internal_ofs_unit(), target);
2574   }
2575 
2576   // optional uint32 pre_victim = 8;
2577   if (cached_has_bits & 0x00000080u) {
2578     target = stream->EnsureSpace(target);
2579     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(8, this->_internal_pre_victim(), target);
2580   }
2581 
2582   // optional uint32 prefree = 9;
2583   if (cached_has_bits & 0x00000100u) {
2584     target = stream->EnsureSpace(target);
2585     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(9, this->_internal_prefree(), target);
2586   }
2587 
2588   // optional uint32 free = 10;
2589   if (cached_has_bits & 0x00000200u) {
2590     target = stream->EnsureSpace(target);
2591     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(10, this->_internal_free(), target);
2592   }
2593 
2594   // optional uint32 cost = 11;
2595   if (cached_has_bits & 0x00000400u) {
2596     target = stream->EnsureSpace(target);
2597     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(11, this->_internal_cost(), target);
2598   }
2599 
2600   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
2601     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
2602         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
2603   }
2604   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.F2fsGetVictimFtraceEvent)
2605   return target;
2606 }
2607 
ByteSizeLong() const2608 size_t F2fsGetVictimFtraceEvent::ByteSizeLong() const {
2609 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.F2fsGetVictimFtraceEvent)
2610   size_t total_size = 0;
2611 
2612   ::uint32_t cached_has_bits = 0;
2613   // Prevent compiler warnings about cached_has_bits being unused
2614   (void) cached_has_bits;
2615 
2616   cached_has_bits = _impl_._has_bits_[0];
2617   if (cached_has_bits & 0x000000ffu) {
2618     // optional uint64 dev = 1;
2619     if (cached_has_bits & 0x00000001u) {
2620       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
2621     }
2622 
2623     // optional int32 type = 2;
2624     if (cached_has_bits & 0x00000002u) {
2625       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_type());
2626     }
2627 
2628     // optional int32 gc_type = 3;
2629     if (cached_has_bits & 0x00000004u) {
2630       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_gc_type());
2631     }
2632 
2633     // optional int32 alloc_mode = 4;
2634     if (cached_has_bits & 0x00000008u) {
2635       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_alloc_mode());
2636     }
2637 
2638     // optional int32 gc_mode = 5;
2639     if (cached_has_bits & 0x00000010u) {
2640       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_gc_mode());
2641     }
2642 
2643     // optional uint32 victim = 6;
2644     if (cached_has_bits & 0x00000020u) {
2645       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_victim());
2646     }
2647 
2648     // optional uint32 ofs_unit = 7;
2649     if (cached_has_bits & 0x00000040u) {
2650       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_ofs_unit());
2651     }
2652 
2653     // optional uint32 pre_victim = 8;
2654     if (cached_has_bits & 0x00000080u) {
2655       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_pre_victim());
2656     }
2657 
2658   }
2659   if (cached_has_bits & 0x00000700u) {
2660     // optional uint32 prefree = 9;
2661     if (cached_has_bits & 0x00000100u) {
2662       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_prefree());
2663     }
2664 
2665     // optional uint32 free = 10;
2666     if (cached_has_bits & 0x00000200u) {
2667       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_free());
2668     }
2669 
2670     // optional uint32 cost = 11;
2671     if (cached_has_bits & 0x00000400u) {
2672       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_cost());
2673     }
2674 
2675   }
2676   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
2677     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
2678   }
2679   int cached_size = ::_pbi::ToCachedSize(total_size);
2680   SetCachedSize(cached_size);
2681   return total_size;
2682 }
2683 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)2684 void F2fsGetVictimFtraceEvent::CheckTypeAndMergeFrom(
2685     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
2686   MergeFrom(*::_pbi::DownCast<const F2fsGetVictimFtraceEvent*>(
2687       &from));
2688 }
2689 
MergeFrom(const F2fsGetVictimFtraceEvent & from)2690 void F2fsGetVictimFtraceEvent::MergeFrom(const F2fsGetVictimFtraceEvent& from) {
2691   F2fsGetVictimFtraceEvent* const _this = this;
2692   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.F2fsGetVictimFtraceEvent)
2693   GOOGLE_DCHECK_NE(&from, _this);
2694   ::uint32_t cached_has_bits = 0;
2695   (void) cached_has_bits;
2696 
2697   cached_has_bits = from._impl_._has_bits_[0];
2698   if (cached_has_bits & 0x000000ffu) {
2699     if (cached_has_bits & 0x00000001u) {
2700       _this->_impl_.dev_ = from._impl_.dev_;
2701     }
2702     if (cached_has_bits & 0x00000002u) {
2703       _this->_impl_.type_ = from._impl_.type_;
2704     }
2705     if (cached_has_bits & 0x00000004u) {
2706       _this->_impl_.gc_type_ = from._impl_.gc_type_;
2707     }
2708     if (cached_has_bits & 0x00000008u) {
2709       _this->_impl_.alloc_mode_ = from._impl_.alloc_mode_;
2710     }
2711     if (cached_has_bits & 0x00000010u) {
2712       _this->_impl_.gc_mode_ = from._impl_.gc_mode_;
2713     }
2714     if (cached_has_bits & 0x00000020u) {
2715       _this->_impl_.victim_ = from._impl_.victim_;
2716     }
2717     if (cached_has_bits & 0x00000040u) {
2718       _this->_impl_.ofs_unit_ = from._impl_.ofs_unit_;
2719     }
2720     if (cached_has_bits & 0x00000080u) {
2721       _this->_impl_.pre_victim_ = from._impl_.pre_victim_;
2722     }
2723     _this->_impl_._has_bits_[0] |= cached_has_bits;
2724   }
2725   if (cached_has_bits & 0x00000700u) {
2726     if (cached_has_bits & 0x00000100u) {
2727       _this->_impl_.prefree_ = from._impl_.prefree_;
2728     }
2729     if (cached_has_bits & 0x00000200u) {
2730       _this->_impl_.free_ = from._impl_.free_;
2731     }
2732     if (cached_has_bits & 0x00000400u) {
2733       _this->_impl_.cost_ = from._impl_.cost_;
2734     }
2735     _this->_impl_._has_bits_[0] |= cached_has_bits;
2736   }
2737   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
2738 }
2739 
CopyFrom(const F2fsGetVictimFtraceEvent & from)2740 void F2fsGetVictimFtraceEvent::CopyFrom(const F2fsGetVictimFtraceEvent& from) {
2741 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.F2fsGetVictimFtraceEvent)
2742   if (&from == this) return;
2743   Clear();
2744   MergeFrom(from);
2745 }
2746 
IsInitialized() const2747 bool F2fsGetVictimFtraceEvent::IsInitialized() const {
2748   return true;
2749 }
2750 
InternalSwap(F2fsGetVictimFtraceEvent * other)2751 void F2fsGetVictimFtraceEvent::InternalSwap(F2fsGetVictimFtraceEvent* other) {
2752   using std::swap;
2753   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
2754   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
2755   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
2756       PROTOBUF_FIELD_OFFSET(F2fsGetVictimFtraceEvent, _impl_.cost_)
2757       + sizeof(F2fsGetVictimFtraceEvent::_impl_.cost_)  // NOLINT
2758       - PROTOBUF_FIELD_OFFSET(F2fsGetVictimFtraceEvent, _impl_.dev_)>(
2759           reinterpret_cast<char*>(&_impl_.dev_),
2760           reinterpret_cast<char*>(&other->_impl_.dev_));
2761 }
2762 
GetTypeName() const2763 std::string F2fsGetVictimFtraceEvent::GetTypeName() const {
2764   return "perfetto.protos.F2fsGetVictimFtraceEvent";
2765 }
2766 
2767 
2768 // ===================================================================
2769 
2770 class F2fsIgetFtraceEvent::_Internal {
2771  public:
2772   using HasBits = decltype(std::declval<F2fsIgetFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)2773   static void set_has_dev(HasBits* has_bits) {
2774     (*has_bits)[0] |= 1u;
2775   }
set_has_ino(HasBits * has_bits)2776   static void set_has_ino(HasBits* has_bits) {
2777     (*has_bits)[0] |= 2u;
2778   }
set_has_pino(HasBits * has_bits)2779   static void set_has_pino(HasBits* has_bits) {
2780     (*has_bits)[0] |= 4u;
2781   }
set_has_mode(HasBits * has_bits)2782   static void set_has_mode(HasBits* has_bits) {
2783     (*has_bits)[0] |= 16u;
2784   }
set_has_size(HasBits * has_bits)2785   static void set_has_size(HasBits* has_bits) {
2786     (*has_bits)[0] |= 8u;
2787   }
set_has_nlink(HasBits * has_bits)2788   static void set_has_nlink(HasBits* has_bits) {
2789     (*has_bits)[0] |= 32u;
2790   }
set_has_blocks(HasBits * has_bits)2791   static void set_has_blocks(HasBits* has_bits) {
2792     (*has_bits)[0] |= 64u;
2793   }
set_has_advise(HasBits * has_bits)2794   static void set_has_advise(HasBits* has_bits) {
2795     (*has_bits)[0] |= 128u;
2796   }
2797 };
2798 
F2fsIgetFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)2799 F2fsIgetFtraceEvent::F2fsIgetFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
2800                          bool is_message_owned)
2801   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
2802   SharedCtor(arena, is_message_owned);
2803   // @@protoc_insertion_point(arena_constructor:perfetto.protos.F2fsIgetFtraceEvent)
2804 }
F2fsIgetFtraceEvent(const F2fsIgetFtraceEvent & from)2805 F2fsIgetFtraceEvent::F2fsIgetFtraceEvent(const F2fsIgetFtraceEvent& from)
2806   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
2807   F2fsIgetFtraceEvent* const _this = this; (void)_this;
2808   new (&_impl_) Impl_{
2809       decltype(_impl_._has_bits_){from._impl_._has_bits_}
2810     , /*decltype(_impl_._cached_size_)*/{}
2811     , decltype(_impl_.dev_){}
2812     , decltype(_impl_.ino_){}
2813     , decltype(_impl_.pino_){}
2814     , decltype(_impl_.size_){}
2815     , decltype(_impl_.mode_){}
2816     , decltype(_impl_.nlink_){}
2817     , decltype(_impl_.blocks_){}
2818     , decltype(_impl_.advise_){}};
2819 
2820   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
2821   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
2822     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.advise_) -
2823     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.advise_));
2824   // @@protoc_insertion_point(copy_constructor:perfetto.protos.F2fsIgetFtraceEvent)
2825 }
2826 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)2827 inline void F2fsIgetFtraceEvent::SharedCtor(
2828     ::_pb::Arena* arena, bool is_message_owned) {
2829   (void)arena;
2830   (void)is_message_owned;
2831   new (&_impl_) Impl_{
2832       decltype(_impl_._has_bits_){}
2833     , /*decltype(_impl_._cached_size_)*/{}
2834     , decltype(_impl_.dev_){::uint64_t{0u}}
2835     , decltype(_impl_.ino_){::uint64_t{0u}}
2836     , decltype(_impl_.pino_){::uint64_t{0u}}
2837     , decltype(_impl_.size_){::int64_t{0}}
2838     , decltype(_impl_.mode_){0u}
2839     , decltype(_impl_.nlink_){0u}
2840     , decltype(_impl_.blocks_){::uint64_t{0u}}
2841     , decltype(_impl_.advise_){0u}
2842   };
2843 }
2844 
~F2fsIgetFtraceEvent()2845 F2fsIgetFtraceEvent::~F2fsIgetFtraceEvent() {
2846   // @@protoc_insertion_point(destructor:perfetto.protos.F2fsIgetFtraceEvent)
2847   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
2848   (void)arena;
2849     return;
2850   }
2851   SharedDtor();
2852 }
2853 
SharedDtor()2854 inline void F2fsIgetFtraceEvent::SharedDtor() {
2855   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
2856 }
2857 
SetCachedSize(int size) const2858 void F2fsIgetFtraceEvent::SetCachedSize(int size) const {
2859   _impl_._cached_size_.Set(size);
2860 }
2861 
Clear()2862 void F2fsIgetFtraceEvent::Clear() {
2863 // @@protoc_insertion_point(message_clear_start:perfetto.protos.F2fsIgetFtraceEvent)
2864   ::uint32_t cached_has_bits = 0;
2865   // Prevent compiler warnings about cached_has_bits being unused
2866   (void) cached_has_bits;
2867 
2868   cached_has_bits = _impl_._has_bits_[0];
2869   if (cached_has_bits & 0x000000ffu) {
2870     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
2871         reinterpret_cast<char*>(&_impl_.advise_) -
2872         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.advise_));
2873   }
2874   _impl_._has_bits_.Clear();
2875   _internal_metadata_.Clear<std::string>();
2876 }
2877 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)2878 const char* F2fsIgetFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
2879 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
2880   _Internal::HasBits has_bits{};
2881   while (!ctx->Done(&ptr)) {
2882     ::uint32_t tag;
2883     ptr = ::_pbi::ReadTag(ptr, &tag);
2884     switch (tag >> 3) {
2885       // optional uint64 dev = 1;
2886       case 1:
2887         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
2888           _Internal::set_has_dev(&has_bits);
2889           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
2890           CHK_(ptr);
2891         } else {
2892           goto handle_unusual;
2893         }
2894         continue;
2895       // optional uint64 ino = 2;
2896       case 2:
2897         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
2898           _Internal::set_has_ino(&has_bits);
2899           _impl_.ino_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
2900           CHK_(ptr);
2901         } else {
2902           goto handle_unusual;
2903         }
2904         continue;
2905       // optional uint64 pino = 3;
2906       case 3:
2907         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
2908           _Internal::set_has_pino(&has_bits);
2909           _impl_.pino_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
2910           CHK_(ptr);
2911         } else {
2912           goto handle_unusual;
2913         }
2914         continue;
2915       // optional uint32 mode = 4;
2916       case 4:
2917         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
2918           _Internal::set_has_mode(&has_bits);
2919           _impl_.mode_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
2920           CHK_(ptr);
2921         } else {
2922           goto handle_unusual;
2923         }
2924         continue;
2925       // optional int64 size = 5;
2926       case 5:
2927         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) {
2928           _Internal::set_has_size(&has_bits);
2929           _impl_.size_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
2930           CHK_(ptr);
2931         } else {
2932           goto handle_unusual;
2933         }
2934         continue;
2935       // optional uint32 nlink = 6;
2936       case 6:
2937         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 48)) {
2938           _Internal::set_has_nlink(&has_bits);
2939           _impl_.nlink_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
2940           CHK_(ptr);
2941         } else {
2942           goto handle_unusual;
2943         }
2944         continue;
2945       // optional uint64 blocks = 7;
2946       case 7:
2947         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 56)) {
2948           _Internal::set_has_blocks(&has_bits);
2949           _impl_.blocks_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
2950           CHK_(ptr);
2951         } else {
2952           goto handle_unusual;
2953         }
2954         continue;
2955       // optional uint32 advise = 8;
2956       case 8:
2957         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 64)) {
2958           _Internal::set_has_advise(&has_bits);
2959           _impl_.advise_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
2960           CHK_(ptr);
2961         } else {
2962           goto handle_unusual;
2963         }
2964         continue;
2965       default:
2966         goto handle_unusual;
2967     }  // switch
2968   handle_unusual:
2969     if ((tag == 0) || ((tag & 7) == 4)) {
2970       CHK_(ptr);
2971       ctx->SetLastTag(tag);
2972       goto message_done;
2973     }
2974     ptr = UnknownFieldParse(
2975         tag,
2976         _internal_metadata_.mutable_unknown_fields<std::string>(),
2977         ptr, ctx);
2978     CHK_(ptr != nullptr);
2979   }  // while
2980 message_done:
2981   _impl_._has_bits_.Or(has_bits);
2982   return ptr;
2983 failure:
2984   ptr = nullptr;
2985   goto message_done;
2986 #undef CHK_
2987 }
2988 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const2989 ::uint8_t* F2fsIgetFtraceEvent::_InternalSerialize(
2990     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
2991   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.F2fsIgetFtraceEvent)
2992   ::uint32_t cached_has_bits = 0;
2993   (void) cached_has_bits;
2994 
2995   cached_has_bits = _impl_._has_bits_[0];
2996   // optional uint64 dev = 1;
2997   if (cached_has_bits & 0x00000001u) {
2998     target = stream->EnsureSpace(target);
2999     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
3000   }
3001 
3002   // optional uint64 ino = 2;
3003   if (cached_has_bits & 0x00000002u) {
3004     target = stream->EnsureSpace(target);
3005     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_ino(), target);
3006   }
3007 
3008   // optional uint64 pino = 3;
3009   if (cached_has_bits & 0x00000004u) {
3010     target = stream->EnsureSpace(target);
3011     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(3, this->_internal_pino(), target);
3012   }
3013 
3014   // optional uint32 mode = 4;
3015   if (cached_has_bits & 0x00000010u) {
3016     target = stream->EnsureSpace(target);
3017     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_mode(), target);
3018   }
3019 
3020   // optional int64 size = 5;
3021   if (cached_has_bits & 0x00000008u) {
3022     target = stream->EnsureSpace(target);
3023     target = ::_pbi::WireFormatLite::WriteInt64ToArray(5, this->_internal_size(), target);
3024   }
3025 
3026   // optional uint32 nlink = 6;
3027   if (cached_has_bits & 0x00000020u) {
3028     target = stream->EnsureSpace(target);
3029     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_nlink(), target);
3030   }
3031 
3032   // optional uint64 blocks = 7;
3033   if (cached_has_bits & 0x00000040u) {
3034     target = stream->EnsureSpace(target);
3035     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(7, this->_internal_blocks(), target);
3036   }
3037 
3038   // optional uint32 advise = 8;
3039   if (cached_has_bits & 0x00000080u) {
3040     target = stream->EnsureSpace(target);
3041     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(8, this->_internal_advise(), target);
3042   }
3043 
3044   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
3045     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
3046         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
3047   }
3048   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.F2fsIgetFtraceEvent)
3049   return target;
3050 }
3051 
ByteSizeLong() const3052 size_t F2fsIgetFtraceEvent::ByteSizeLong() const {
3053 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.F2fsIgetFtraceEvent)
3054   size_t total_size = 0;
3055 
3056   ::uint32_t cached_has_bits = 0;
3057   // Prevent compiler warnings about cached_has_bits being unused
3058   (void) cached_has_bits;
3059 
3060   cached_has_bits = _impl_._has_bits_[0];
3061   if (cached_has_bits & 0x000000ffu) {
3062     // optional uint64 dev = 1;
3063     if (cached_has_bits & 0x00000001u) {
3064       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
3065     }
3066 
3067     // optional uint64 ino = 2;
3068     if (cached_has_bits & 0x00000002u) {
3069       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ino());
3070     }
3071 
3072     // optional uint64 pino = 3;
3073     if (cached_has_bits & 0x00000004u) {
3074       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_pino());
3075     }
3076 
3077     // optional int64 size = 5;
3078     if (cached_has_bits & 0x00000008u) {
3079       total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_size());
3080     }
3081 
3082     // optional uint32 mode = 4;
3083     if (cached_has_bits & 0x00000010u) {
3084       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_mode());
3085     }
3086 
3087     // optional uint32 nlink = 6;
3088     if (cached_has_bits & 0x00000020u) {
3089       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_nlink());
3090     }
3091 
3092     // optional uint64 blocks = 7;
3093     if (cached_has_bits & 0x00000040u) {
3094       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_blocks());
3095     }
3096 
3097     // optional uint32 advise = 8;
3098     if (cached_has_bits & 0x00000080u) {
3099       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_advise());
3100     }
3101 
3102   }
3103   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
3104     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
3105   }
3106   int cached_size = ::_pbi::ToCachedSize(total_size);
3107   SetCachedSize(cached_size);
3108   return total_size;
3109 }
3110 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)3111 void F2fsIgetFtraceEvent::CheckTypeAndMergeFrom(
3112     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
3113   MergeFrom(*::_pbi::DownCast<const F2fsIgetFtraceEvent*>(
3114       &from));
3115 }
3116 
MergeFrom(const F2fsIgetFtraceEvent & from)3117 void F2fsIgetFtraceEvent::MergeFrom(const F2fsIgetFtraceEvent& from) {
3118   F2fsIgetFtraceEvent* const _this = this;
3119   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.F2fsIgetFtraceEvent)
3120   GOOGLE_DCHECK_NE(&from, _this);
3121   ::uint32_t cached_has_bits = 0;
3122   (void) cached_has_bits;
3123 
3124   cached_has_bits = from._impl_._has_bits_[0];
3125   if (cached_has_bits & 0x000000ffu) {
3126     if (cached_has_bits & 0x00000001u) {
3127       _this->_impl_.dev_ = from._impl_.dev_;
3128     }
3129     if (cached_has_bits & 0x00000002u) {
3130       _this->_impl_.ino_ = from._impl_.ino_;
3131     }
3132     if (cached_has_bits & 0x00000004u) {
3133       _this->_impl_.pino_ = from._impl_.pino_;
3134     }
3135     if (cached_has_bits & 0x00000008u) {
3136       _this->_impl_.size_ = from._impl_.size_;
3137     }
3138     if (cached_has_bits & 0x00000010u) {
3139       _this->_impl_.mode_ = from._impl_.mode_;
3140     }
3141     if (cached_has_bits & 0x00000020u) {
3142       _this->_impl_.nlink_ = from._impl_.nlink_;
3143     }
3144     if (cached_has_bits & 0x00000040u) {
3145       _this->_impl_.blocks_ = from._impl_.blocks_;
3146     }
3147     if (cached_has_bits & 0x00000080u) {
3148       _this->_impl_.advise_ = from._impl_.advise_;
3149     }
3150     _this->_impl_._has_bits_[0] |= cached_has_bits;
3151   }
3152   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
3153 }
3154 
CopyFrom(const F2fsIgetFtraceEvent & from)3155 void F2fsIgetFtraceEvent::CopyFrom(const F2fsIgetFtraceEvent& from) {
3156 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.F2fsIgetFtraceEvent)
3157   if (&from == this) return;
3158   Clear();
3159   MergeFrom(from);
3160 }
3161 
IsInitialized() const3162 bool F2fsIgetFtraceEvent::IsInitialized() const {
3163   return true;
3164 }
3165 
InternalSwap(F2fsIgetFtraceEvent * other)3166 void F2fsIgetFtraceEvent::InternalSwap(F2fsIgetFtraceEvent* other) {
3167   using std::swap;
3168   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
3169   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
3170   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
3171       PROTOBUF_FIELD_OFFSET(F2fsIgetFtraceEvent, _impl_.advise_)
3172       + sizeof(F2fsIgetFtraceEvent::_impl_.advise_)  // NOLINT
3173       - PROTOBUF_FIELD_OFFSET(F2fsIgetFtraceEvent, _impl_.dev_)>(
3174           reinterpret_cast<char*>(&_impl_.dev_),
3175           reinterpret_cast<char*>(&other->_impl_.dev_));
3176 }
3177 
GetTypeName() const3178 std::string F2fsIgetFtraceEvent::GetTypeName() const {
3179   return "perfetto.protos.F2fsIgetFtraceEvent";
3180 }
3181 
3182 
3183 // ===================================================================
3184 
3185 class F2fsIgetExitFtraceEvent::_Internal {
3186  public:
3187   using HasBits = decltype(std::declval<F2fsIgetExitFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)3188   static void set_has_dev(HasBits* has_bits) {
3189     (*has_bits)[0] |= 1u;
3190   }
set_has_ino(HasBits * has_bits)3191   static void set_has_ino(HasBits* has_bits) {
3192     (*has_bits)[0] |= 2u;
3193   }
set_has_ret(HasBits * has_bits)3194   static void set_has_ret(HasBits* has_bits) {
3195     (*has_bits)[0] |= 4u;
3196   }
3197 };
3198 
F2fsIgetExitFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)3199 F2fsIgetExitFtraceEvent::F2fsIgetExitFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
3200                          bool is_message_owned)
3201   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
3202   SharedCtor(arena, is_message_owned);
3203   // @@protoc_insertion_point(arena_constructor:perfetto.protos.F2fsIgetExitFtraceEvent)
3204 }
F2fsIgetExitFtraceEvent(const F2fsIgetExitFtraceEvent & from)3205 F2fsIgetExitFtraceEvent::F2fsIgetExitFtraceEvent(const F2fsIgetExitFtraceEvent& from)
3206   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
3207   F2fsIgetExitFtraceEvent* const _this = this; (void)_this;
3208   new (&_impl_) Impl_{
3209       decltype(_impl_._has_bits_){from._impl_._has_bits_}
3210     , /*decltype(_impl_._cached_size_)*/{}
3211     , decltype(_impl_.dev_){}
3212     , decltype(_impl_.ino_){}
3213     , decltype(_impl_.ret_){}};
3214 
3215   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
3216   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
3217     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.ret_) -
3218     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.ret_));
3219   // @@protoc_insertion_point(copy_constructor:perfetto.protos.F2fsIgetExitFtraceEvent)
3220 }
3221 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)3222 inline void F2fsIgetExitFtraceEvent::SharedCtor(
3223     ::_pb::Arena* arena, bool is_message_owned) {
3224   (void)arena;
3225   (void)is_message_owned;
3226   new (&_impl_) Impl_{
3227       decltype(_impl_._has_bits_){}
3228     , /*decltype(_impl_._cached_size_)*/{}
3229     , decltype(_impl_.dev_){::uint64_t{0u}}
3230     , decltype(_impl_.ino_){::uint64_t{0u}}
3231     , decltype(_impl_.ret_){0}
3232   };
3233 }
3234 
~F2fsIgetExitFtraceEvent()3235 F2fsIgetExitFtraceEvent::~F2fsIgetExitFtraceEvent() {
3236   // @@protoc_insertion_point(destructor:perfetto.protos.F2fsIgetExitFtraceEvent)
3237   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
3238   (void)arena;
3239     return;
3240   }
3241   SharedDtor();
3242 }
3243 
SharedDtor()3244 inline void F2fsIgetExitFtraceEvent::SharedDtor() {
3245   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
3246 }
3247 
SetCachedSize(int size) const3248 void F2fsIgetExitFtraceEvent::SetCachedSize(int size) const {
3249   _impl_._cached_size_.Set(size);
3250 }
3251 
Clear()3252 void F2fsIgetExitFtraceEvent::Clear() {
3253 // @@protoc_insertion_point(message_clear_start:perfetto.protos.F2fsIgetExitFtraceEvent)
3254   ::uint32_t cached_has_bits = 0;
3255   // Prevent compiler warnings about cached_has_bits being unused
3256   (void) cached_has_bits;
3257 
3258   cached_has_bits = _impl_._has_bits_[0];
3259   if (cached_has_bits & 0x00000007u) {
3260     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
3261         reinterpret_cast<char*>(&_impl_.ret_) -
3262         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.ret_));
3263   }
3264   _impl_._has_bits_.Clear();
3265   _internal_metadata_.Clear<std::string>();
3266 }
3267 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)3268 const char* F2fsIgetExitFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
3269 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
3270   _Internal::HasBits has_bits{};
3271   while (!ctx->Done(&ptr)) {
3272     ::uint32_t tag;
3273     ptr = ::_pbi::ReadTag(ptr, &tag);
3274     switch (tag >> 3) {
3275       // optional uint64 dev = 1;
3276       case 1:
3277         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
3278           _Internal::set_has_dev(&has_bits);
3279           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
3280           CHK_(ptr);
3281         } else {
3282           goto handle_unusual;
3283         }
3284         continue;
3285       // optional uint64 ino = 2;
3286       case 2:
3287         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
3288           _Internal::set_has_ino(&has_bits);
3289           _impl_.ino_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
3290           CHK_(ptr);
3291         } else {
3292           goto handle_unusual;
3293         }
3294         continue;
3295       // optional int32 ret = 3;
3296       case 3:
3297         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
3298           _Internal::set_has_ret(&has_bits);
3299           _impl_.ret_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
3300           CHK_(ptr);
3301         } else {
3302           goto handle_unusual;
3303         }
3304         continue;
3305       default:
3306         goto handle_unusual;
3307     }  // switch
3308   handle_unusual:
3309     if ((tag == 0) || ((tag & 7) == 4)) {
3310       CHK_(ptr);
3311       ctx->SetLastTag(tag);
3312       goto message_done;
3313     }
3314     ptr = UnknownFieldParse(
3315         tag,
3316         _internal_metadata_.mutable_unknown_fields<std::string>(),
3317         ptr, ctx);
3318     CHK_(ptr != nullptr);
3319   }  // while
3320 message_done:
3321   _impl_._has_bits_.Or(has_bits);
3322   return ptr;
3323 failure:
3324   ptr = nullptr;
3325   goto message_done;
3326 #undef CHK_
3327 }
3328 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const3329 ::uint8_t* F2fsIgetExitFtraceEvent::_InternalSerialize(
3330     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
3331   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.F2fsIgetExitFtraceEvent)
3332   ::uint32_t cached_has_bits = 0;
3333   (void) cached_has_bits;
3334 
3335   cached_has_bits = _impl_._has_bits_[0];
3336   // optional uint64 dev = 1;
3337   if (cached_has_bits & 0x00000001u) {
3338     target = stream->EnsureSpace(target);
3339     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
3340   }
3341 
3342   // optional uint64 ino = 2;
3343   if (cached_has_bits & 0x00000002u) {
3344     target = stream->EnsureSpace(target);
3345     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_ino(), target);
3346   }
3347 
3348   // optional int32 ret = 3;
3349   if (cached_has_bits & 0x00000004u) {
3350     target = stream->EnsureSpace(target);
3351     target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_ret(), target);
3352   }
3353 
3354   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
3355     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
3356         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
3357   }
3358   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.F2fsIgetExitFtraceEvent)
3359   return target;
3360 }
3361 
ByteSizeLong() const3362 size_t F2fsIgetExitFtraceEvent::ByteSizeLong() const {
3363 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.F2fsIgetExitFtraceEvent)
3364   size_t total_size = 0;
3365 
3366   ::uint32_t cached_has_bits = 0;
3367   // Prevent compiler warnings about cached_has_bits being unused
3368   (void) cached_has_bits;
3369 
3370   cached_has_bits = _impl_._has_bits_[0];
3371   if (cached_has_bits & 0x00000007u) {
3372     // optional uint64 dev = 1;
3373     if (cached_has_bits & 0x00000001u) {
3374       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
3375     }
3376 
3377     // optional uint64 ino = 2;
3378     if (cached_has_bits & 0x00000002u) {
3379       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ino());
3380     }
3381 
3382     // optional int32 ret = 3;
3383     if (cached_has_bits & 0x00000004u) {
3384       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_ret());
3385     }
3386 
3387   }
3388   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
3389     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
3390   }
3391   int cached_size = ::_pbi::ToCachedSize(total_size);
3392   SetCachedSize(cached_size);
3393   return total_size;
3394 }
3395 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)3396 void F2fsIgetExitFtraceEvent::CheckTypeAndMergeFrom(
3397     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
3398   MergeFrom(*::_pbi::DownCast<const F2fsIgetExitFtraceEvent*>(
3399       &from));
3400 }
3401 
MergeFrom(const F2fsIgetExitFtraceEvent & from)3402 void F2fsIgetExitFtraceEvent::MergeFrom(const F2fsIgetExitFtraceEvent& from) {
3403   F2fsIgetExitFtraceEvent* const _this = this;
3404   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.F2fsIgetExitFtraceEvent)
3405   GOOGLE_DCHECK_NE(&from, _this);
3406   ::uint32_t cached_has_bits = 0;
3407   (void) cached_has_bits;
3408 
3409   cached_has_bits = from._impl_._has_bits_[0];
3410   if (cached_has_bits & 0x00000007u) {
3411     if (cached_has_bits & 0x00000001u) {
3412       _this->_impl_.dev_ = from._impl_.dev_;
3413     }
3414     if (cached_has_bits & 0x00000002u) {
3415       _this->_impl_.ino_ = from._impl_.ino_;
3416     }
3417     if (cached_has_bits & 0x00000004u) {
3418       _this->_impl_.ret_ = from._impl_.ret_;
3419     }
3420     _this->_impl_._has_bits_[0] |= cached_has_bits;
3421   }
3422   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
3423 }
3424 
CopyFrom(const F2fsIgetExitFtraceEvent & from)3425 void F2fsIgetExitFtraceEvent::CopyFrom(const F2fsIgetExitFtraceEvent& from) {
3426 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.F2fsIgetExitFtraceEvent)
3427   if (&from == this) return;
3428   Clear();
3429   MergeFrom(from);
3430 }
3431 
IsInitialized() const3432 bool F2fsIgetExitFtraceEvent::IsInitialized() const {
3433   return true;
3434 }
3435 
InternalSwap(F2fsIgetExitFtraceEvent * other)3436 void F2fsIgetExitFtraceEvent::InternalSwap(F2fsIgetExitFtraceEvent* other) {
3437   using std::swap;
3438   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
3439   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
3440   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
3441       PROTOBUF_FIELD_OFFSET(F2fsIgetExitFtraceEvent, _impl_.ret_)
3442       + sizeof(F2fsIgetExitFtraceEvent::_impl_.ret_)  // NOLINT
3443       - PROTOBUF_FIELD_OFFSET(F2fsIgetExitFtraceEvent, _impl_.dev_)>(
3444           reinterpret_cast<char*>(&_impl_.dev_),
3445           reinterpret_cast<char*>(&other->_impl_.dev_));
3446 }
3447 
GetTypeName() const3448 std::string F2fsIgetExitFtraceEvent::GetTypeName() const {
3449   return "perfetto.protos.F2fsIgetExitFtraceEvent";
3450 }
3451 
3452 
3453 // ===================================================================
3454 
3455 class F2fsNewInodeFtraceEvent::_Internal {
3456  public:
3457   using HasBits = decltype(std::declval<F2fsNewInodeFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)3458   static void set_has_dev(HasBits* has_bits) {
3459     (*has_bits)[0] |= 1u;
3460   }
set_has_ino(HasBits * has_bits)3461   static void set_has_ino(HasBits* has_bits) {
3462     (*has_bits)[0] |= 2u;
3463   }
set_has_ret(HasBits * has_bits)3464   static void set_has_ret(HasBits* has_bits) {
3465     (*has_bits)[0] |= 4u;
3466   }
3467 };
3468 
F2fsNewInodeFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)3469 F2fsNewInodeFtraceEvent::F2fsNewInodeFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
3470                          bool is_message_owned)
3471   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
3472   SharedCtor(arena, is_message_owned);
3473   // @@protoc_insertion_point(arena_constructor:perfetto.protos.F2fsNewInodeFtraceEvent)
3474 }
F2fsNewInodeFtraceEvent(const F2fsNewInodeFtraceEvent & from)3475 F2fsNewInodeFtraceEvent::F2fsNewInodeFtraceEvent(const F2fsNewInodeFtraceEvent& from)
3476   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
3477   F2fsNewInodeFtraceEvent* const _this = this; (void)_this;
3478   new (&_impl_) Impl_{
3479       decltype(_impl_._has_bits_){from._impl_._has_bits_}
3480     , /*decltype(_impl_._cached_size_)*/{}
3481     , decltype(_impl_.dev_){}
3482     , decltype(_impl_.ino_){}
3483     , decltype(_impl_.ret_){}};
3484 
3485   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
3486   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
3487     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.ret_) -
3488     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.ret_));
3489   // @@protoc_insertion_point(copy_constructor:perfetto.protos.F2fsNewInodeFtraceEvent)
3490 }
3491 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)3492 inline void F2fsNewInodeFtraceEvent::SharedCtor(
3493     ::_pb::Arena* arena, bool is_message_owned) {
3494   (void)arena;
3495   (void)is_message_owned;
3496   new (&_impl_) Impl_{
3497       decltype(_impl_._has_bits_){}
3498     , /*decltype(_impl_._cached_size_)*/{}
3499     , decltype(_impl_.dev_){::uint64_t{0u}}
3500     , decltype(_impl_.ino_){::uint64_t{0u}}
3501     , decltype(_impl_.ret_){0}
3502   };
3503 }
3504 
~F2fsNewInodeFtraceEvent()3505 F2fsNewInodeFtraceEvent::~F2fsNewInodeFtraceEvent() {
3506   // @@protoc_insertion_point(destructor:perfetto.protos.F2fsNewInodeFtraceEvent)
3507   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
3508   (void)arena;
3509     return;
3510   }
3511   SharedDtor();
3512 }
3513 
SharedDtor()3514 inline void F2fsNewInodeFtraceEvent::SharedDtor() {
3515   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
3516 }
3517 
SetCachedSize(int size) const3518 void F2fsNewInodeFtraceEvent::SetCachedSize(int size) const {
3519   _impl_._cached_size_.Set(size);
3520 }
3521 
Clear()3522 void F2fsNewInodeFtraceEvent::Clear() {
3523 // @@protoc_insertion_point(message_clear_start:perfetto.protos.F2fsNewInodeFtraceEvent)
3524   ::uint32_t cached_has_bits = 0;
3525   // Prevent compiler warnings about cached_has_bits being unused
3526   (void) cached_has_bits;
3527 
3528   cached_has_bits = _impl_._has_bits_[0];
3529   if (cached_has_bits & 0x00000007u) {
3530     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
3531         reinterpret_cast<char*>(&_impl_.ret_) -
3532         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.ret_));
3533   }
3534   _impl_._has_bits_.Clear();
3535   _internal_metadata_.Clear<std::string>();
3536 }
3537 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)3538 const char* F2fsNewInodeFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
3539 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
3540   _Internal::HasBits has_bits{};
3541   while (!ctx->Done(&ptr)) {
3542     ::uint32_t tag;
3543     ptr = ::_pbi::ReadTag(ptr, &tag);
3544     switch (tag >> 3) {
3545       // optional uint64 dev = 1;
3546       case 1:
3547         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
3548           _Internal::set_has_dev(&has_bits);
3549           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
3550           CHK_(ptr);
3551         } else {
3552           goto handle_unusual;
3553         }
3554         continue;
3555       // optional uint64 ino = 2;
3556       case 2:
3557         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
3558           _Internal::set_has_ino(&has_bits);
3559           _impl_.ino_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
3560           CHK_(ptr);
3561         } else {
3562           goto handle_unusual;
3563         }
3564         continue;
3565       // optional int32 ret = 3;
3566       case 3:
3567         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
3568           _Internal::set_has_ret(&has_bits);
3569           _impl_.ret_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
3570           CHK_(ptr);
3571         } else {
3572           goto handle_unusual;
3573         }
3574         continue;
3575       default:
3576         goto handle_unusual;
3577     }  // switch
3578   handle_unusual:
3579     if ((tag == 0) || ((tag & 7) == 4)) {
3580       CHK_(ptr);
3581       ctx->SetLastTag(tag);
3582       goto message_done;
3583     }
3584     ptr = UnknownFieldParse(
3585         tag,
3586         _internal_metadata_.mutable_unknown_fields<std::string>(),
3587         ptr, ctx);
3588     CHK_(ptr != nullptr);
3589   }  // while
3590 message_done:
3591   _impl_._has_bits_.Or(has_bits);
3592   return ptr;
3593 failure:
3594   ptr = nullptr;
3595   goto message_done;
3596 #undef CHK_
3597 }
3598 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const3599 ::uint8_t* F2fsNewInodeFtraceEvent::_InternalSerialize(
3600     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
3601   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.F2fsNewInodeFtraceEvent)
3602   ::uint32_t cached_has_bits = 0;
3603   (void) cached_has_bits;
3604 
3605   cached_has_bits = _impl_._has_bits_[0];
3606   // optional uint64 dev = 1;
3607   if (cached_has_bits & 0x00000001u) {
3608     target = stream->EnsureSpace(target);
3609     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
3610   }
3611 
3612   // optional uint64 ino = 2;
3613   if (cached_has_bits & 0x00000002u) {
3614     target = stream->EnsureSpace(target);
3615     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_ino(), target);
3616   }
3617 
3618   // optional int32 ret = 3;
3619   if (cached_has_bits & 0x00000004u) {
3620     target = stream->EnsureSpace(target);
3621     target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_ret(), target);
3622   }
3623 
3624   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
3625     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
3626         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
3627   }
3628   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.F2fsNewInodeFtraceEvent)
3629   return target;
3630 }
3631 
ByteSizeLong() const3632 size_t F2fsNewInodeFtraceEvent::ByteSizeLong() const {
3633 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.F2fsNewInodeFtraceEvent)
3634   size_t total_size = 0;
3635 
3636   ::uint32_t cached_has_bits = 0;
3637   // Prevent compiler warnings about cached_has_bits being unused
3638   (void) cached_has_bits;
3639 
3640   cached_has_bits = _impl_._has_bits_[0];
3641   if (cached_has_bits & 0x00000007u) {
3642     // optional uint64 dev = 1;
3643     if (cached_has_bits & 0x00000001u) {
3644       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
3645     }
3646 
3647     // optional uint64 ino = 2;
3648     if (cached_has_bits & 0x00000002u) {
3649       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ino());
3650     }
3651 
3652     // optional int32 ret = 3;
3653     if (cached_has_bits & 0x00000004u) {
3654       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_ret());
3655     }
3656 
3657   }
3658   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
3659     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
3660   }
3661   int cached_size = ::_pbi::ToCachedSize(total_size);
3662   SetCachedSize(cached_size);
3663   return total_size;
3664 }
3665 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)3666 void F2fsNewInodeFtraceEvent::CheckTypeAndMergeFrom(
3667     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
3668   MergeFrom(*::_pbi::DownCast<const F2fsNewInodeFtraceEvent*>(
3669       &from));
3670 }
3671 
MergeFrom(const F2fsNewInodeFtraceEvent & from)3672 void F2fsNewInodeFtraceEvent::MergeFrom(const F2fsNewInodeFtraceEvent& from) {
3673   F2fsNewInodeFtraceEvent* const _this = this;
3674   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.F2fsNewInodeFtraceEvent)
3675   GOOGLE_DCHECK_NE(&from, _this);
3676   ::uint32_t cached_has_bits = 0;
3677   (void) cached_has_bits;
3678 
3679   cached_has_bits = from._impl_._has_bits_[0];
3680   if (cached_has_bits & 0x00000007u) {
3681     if (cached_has_bits & 0x00000001u) {
3682       _this->_impl_.dev_ = from._impl_.dev_;
3683     }
3684     if (cached_has_bits & 0x00000002u) {
3685       _this->_impl_.ino_ = from._impl_.ino_;
3686     }
3687     if (cached_has_bits & 0x00000004u) {
3688       _this->_impl_.ret_ = from._impl_.ret_;
3689     }
3690     _this->_impl_._has_bits_[0] |= cached_has_bits;
3691   }
3692   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
3693 }
3694 
CopyFrom(const F2fsNewInodeFtraceEvent & from)3695 void F2fsNewInodeFtraceEvent::CopyFrom(const F2fsNewInodeFtraceEvent& from) {
3696 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.F2fsNewInodeFtraceEvent)
3697   if (&from == this) return;
3698   Clear();
3699   MergeFrom(from);
3700 }
3701 
IsInitialized() const3702 bool F2fsNewInodeFtraceEvent::IsInitialized() const {
3703   return true;
3704 }
3705 
InternalSwap(F2fsNewInodeFtraceEvent * other)3706 void F2fsNewInodeFtraceEvent::InternalSwap(F2fsNewInodeFtraceEvent* other) {
3707   using std::swap;
3708   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
3709   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
3710   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
3711       PROTOBUF_FIELD_OFFSET(F2fsNewInodeFtraceEvent, _impl_.ret_)
3712       + sizeof(F2fsNewInodeFtraceEvent::_impl_.ret_)  // NOLINT
3713       - PROTOBUF_FIELD_OFFSET(F2fsNewInodeFtraceEvent, _impl_.dev_)>(
3714           reinterpret_cast<char*>(&_impl_.dev_),
3715           reinterpret_cast<char*>(&other->_impl_.dev_));
3716 }
3717 
GetTypeName() const3718 std::string F2fsNewInodeFtraceEvent::GetTypeName() const {
3719   return "perfetto.protos.F2fsNewInodeFtraceEvent";
3720 }
3721 
3722 
3723 // ===================================================================
3724 
3725 class F2fsReadpageFtraceEvent::_Internal {
3726  public:
3727   using HasBits = decltype(std::declval<F2fsReadpageFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)3728   static void set_has_dev(HasBits* has_bits) {
3729     (*has_bits)[0] |= 1u;
3730   }
set_has_ino(HasBits * has_bits)3731   static void set_has_ino(HasBits* has_bits) {
3732     (*has_bits)[0] |= 2u;
3733   }
set_has_index(HasBits * has_bits)3734   static void set_has_index(HasBits* has_bits) {
3735     (*has_bits)[0] |= 4u;
3736   }
set_has_blkaddr(HasBits * has_bits)3737   static void set_has_blkaddr(HasBits* has_bits) {
3738     (*has_bits)[0] |= 8u;
3739   }
set_has_type(HasBits * has_bits)3740   static void set_has_type(HasBits* has_bits) {
3741     (*has_bits)[0] |= 16u;
3742   }
set_has_dir(HasBits * has_bits)3743   static void set_has_dir(HasBits* has_bits) {
3744     (*has_bits)[0] |= 32u;
3745   }
set_has_dirty(HasBits * has_bits)3746   static void set_has_dirty(HasBits* has_bits) {
3747     (*has_bits)[0] |= 64u;
3748   }
set_has_uptodate(HasBits * has_bits)3749   static void set_has_uptodate(HasBits* has_bits) {
3750     (*has_bits)[0] |= 128u;
3751   }
3752 };
3753 
F2fsReadpageFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)3754 F2fsReadpageFtraceEvent::F2fsReadpageFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
3755                          bool is_message_owned)
3756   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
3757   SharedCtor(arena, is_message_owned);
3758   // @@protoc_insertion_point(arena_constructor:perfetto.protos.F2fsReadpageFtraceEvent)
3759 }
F2fsReadpageFtraceEvent(const F2fsReadpageFtraceEvent & from)3760 F2fsReadpageFtraceEvent::F2fsReadpageFtraceEvent(const F2fsReadpageFtraceEvent& from)
3761   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
3762   F2fsReadpageFtraceEvent* const _this = this; (void)_this;
3763   new (&_impl_) Impl_{
3764       decltype(_impl_._has_bits_){from._impl_._has_bits_}
3765     , /*decltype(_impl_._cached_size_)*/{}
3766     , decltype(_impl_.dev_){}
3767     , decltype(_impl_.ino_){}
3768     , decltype(_impl_.index_){}
3769     , decltype(_impl_.blkaddr_){}
3770     , decltype(_impl_.type_){}
3771     , decltype(_impl_.dir_){}
3772     , decltype(_impl_.dirty_){}
3773     , decltype(_impl_.uptodate_){}};
3774 
3775   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
3776   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
3777     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.uptodate_) -
3778     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.uptodate_));
3779   // @@protoc_insertion_point(copy_constructor:perfetto.protos.F2fsReadpageFtraceEvent)
3780 }
3781 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)3782 inline void F2fsReadpageFtraceEvent::SharedCtor(
3783     ::_pb::Arena* arena, bool is_message_owned) {
3784   (void)arena;
3785   (void)is_message_owned;
3786   new (&_impl_) Impl_{
3787       decltype(_impl_._has_bits_){}
3788     , /*decltype(_impl_._cached_size_)*/{}
3789     , decltype(_impl_.dev_){::uint64_t{0u}}
3790     , decltype(_impl_.ino_){::uint64_t{0u}}
3791     , decltype(_impl_.index_){::uint64_t{0u}}
3792     , decltype(_impl_.blkaddr_){::uint64_t{0u}}
3793     , decltype(_impl_.type_){0}
3794     , decltype(_impl_.dir_){0}
3795     , decltype(_impl_.dirty_){0}
3796     , decltype(_impl_.uptodate_){0}
3797   };
3798 }
3799 
~F2fsReadpageFtraceEvent()3800 F2fsReadpageFtraceEvent::~F2fsReadpageFtraceEvent() {
3801   // @@protoc_insertion_point(destructor:perfetto.protos.F2fsReadpageFtraceEvent)
3802   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
3803   (void)arena;
3804     return;
3805   }
3806   SharedDtor();
3807 }
3808 
SharedDtor()3809 inline void F2fsReadpageFtraceEvent::SharedDtor() {
3810   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
3811 }
3812 
SetCachedSize(int size) const3813 void F2fsReadpageFtraceEvent::SetCachedSize(int size) const {
3814   _impl_._cached_size_.Set(size);
3815 }
3816 
Clear()3817 void F2fsReadpageFtraceEvent::Clear() {
3818 // @@protoc_insertion_point(message_clear_start:perfetto.protos.F2fsReadpageFtraceEvent)
3819   ::uint32_t cached_has_bits = 0;
3820   // Prevent compiler warnings about cached_has_bits being unused
3821   (void) cached_has_bits;
3822 
3823   cached_has_bits = _impl_._has_bits_[0];
3824   if (cached_has_bits & 0x000000ffu) {
3825     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
3826         reinterpret_cast<char*>(&_impl_.uptodate_) -
3827         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.uptodate_));
3828   }
3829   _impl_._has_bits_.Clear();
3830   _internal_metadata_.Clear<std::string>();
3831 }
3832 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)3833 const char* F2fsReadpageFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
3834 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
3835   _Internal::HasBits has_bits{};
3836   while (!ctx->Done(&ptr)) {
3837     ::uint32_t tag;
3838     ptr = ::_pbi::ReadTag(ptr, &tag);
3839     switch (tag >> 3) {
3840       // optional uint64 dev = 1;
3841       case 1:
3842         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
3843           _Internal::set_has_dev(&has_bits);
3844           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
3845           CHK_(ptr);
3846         } else {
3847           goto handle_unusual;
3848         }
3849         continue;
3850       // optional uint64 ino = 2;
3851       case 2:
3852         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
3853           _Internal::set_has_ino(&has_bits);
3854           _impl_.ino_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
3855           CHK_(ptr);
3856         } else {
3857           goto handle_unusual;
3858         }
3859         continue;
3860       // optional uint64 index = 3;
3861       case 3:
3862         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
3863           _Internal::set_has_index(&has_bits);
3864           _impl_.index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
3865           CHK_(ptr);
3866         } else {
3867           goto handle_unusual;
3868         }
3869         continue;
3870       // optional uint64 blkaddr = 4;
3871       case 4:
3872         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
3873           _Internal::set_has_blkaddr(&has_bits);
3874           _impl_.blkaddr_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
3875           CHK_(ptr);
3876         } else {
3877           goto handle_unusual;
3878         }
3879         continue;
3880       // optional int32 type = 5;
3881       case 5:
3882         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) {
3883           _Internal::set_has_type(&has_bits);
3884           _impl_.type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
3885           CHK_(ptr);
3886         } else {
3887           goto handle_unusual;
3888         }
3889         continue;
3890       // optional int32 dir = 6;
3891       case 6:
3892         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 48)) {
3893           _Internal::set_has_dir(&has_bits);
3894           _impl_.dir_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
3895           CHK_(ptr);
3896         } else {
3897           goto handle_unusual;
3898         }
3899         continue;
3900       // optional int32 dirty = 7;
3901       case 7:
3902         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 56)) {
3903           _Internal::set_has_dirty(&has_bits);
3904           _impl_.dirty_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
3905           CHK_(ptr);
3906         } else {
3907           goto handle_unusual;
3908         }
3909         continue;
3910       // optional int32 uptodate = 8;
3911       case 8:
3912         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 64)) {
3913           _Internal::set_has_uptodate(&has_bits);
3914           _impl_.uptodate_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
3915           CHK_(ptr);
3916         } else {
3917           goto handle_unusual;
3918         }
3919         continue;
3920       default:
3921         goto handle_unusual;
3922     }  // switch
3923   handle_unusual:
3924     if ((tag == 0) || ((tag & 7) == 4)) {
3925       CHK_(ptr);
3926       ctx->SetLastTag(tag);
3927       goto message_done;
3928     }
3929     ptr = UnknownFieldParse(
3930         tag,
3931         _internal_metadata_.mutable_unknown_fields<std::string>(),
3932         ptr, ctx);
3933     CHK_(ptr != nullptr);
3934   }  // while
3935 message_done:
3936   _impl_._has_bits_.Or(has_bits);
3937   return ptr;
3938 failure:
3939   ptr = nullptr;
3940   goto message_done;
3941 #undef CHK_
3942 }
3943 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const3944 ::uint8_t* F2fsReadpageFtraceEvent::_InternalSerialize(
3945     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
3946   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.F2fsReadpageFtraceEvent)
3947   ::uint32_t cached_has_bits = 0;
3948   (void) cached_has_bits;
3949 
3950   cached_has_bits = _impl_._has_bits_[0];
3951   // optional uint64 dev = 1;
3952   if (cached_has_bits & 0x00000001u) {
3953     target = stream->EnsureSpace(target);
3954     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
3955   }
3956 
3957   // optional uint64 ino = 2;
3958   if (cached_has_bits & 0x00000002u) {
3959     target = stream->EnsureSpace(target);
3960     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_ino(), target);
3961   }
3962 
3963   // optional uint64 index = 3;
3964   if (cached_has_bits & 0x00000004u) {
3965     target = stream->EnsureSpace(target);
3966     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(3, this->_internal_index(), target);
3967   }
3968 
3969   // optional uint64 blkaddr = 4;
3970   if (cached_has_bits & 0x00000008u) {
3971     target = stream->EnsureSpace(target);
3972     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(4, this->_internal_blkaddr(), target);
3973   }
3974 
3975   // optional int32 type = 5;
3976   if (cached_has_bits & 0x00000010u) {
3977     target = stream->EnsureSpace(target);
3978     target = ::_pbi::WireFormatLite::WriteInt32ToArray(5, this->_internal_type(), target);
3979   }
3980 
3981   // optional int32 dir = 6;
3982   if (cached_has_bits & 0x00000020u) {
3983     target = stream->EnsureSpace(target);
3984     target = ::_pbi::WireFormatLite::WriteInt32ToArray(6, this->_internal_dir(), target);
3985   }
3986 
3987   // optional int32 dirty = 7;
3988   if (cached_has_bits & 0x00000040u) {
3989     target = stream->EnsureSpace(target);
3990     target = ::_pbi::WireFormatLite::WriteInt32ToArray(7, this->_internal_dirty(), target);
3991   }
3992 
3993   // optional int32 uptodate = 8;
3994   if (cached_has_bits & 0x00000080u) {
3995     target = stream->EnsureSpace(target);
3996     target = ::_pbi::WireFormatLite::WriteInt32ToArray(8, this->_internal_uptodate(), target);
3997   }
3998 
3999   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
4000     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
4001         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
4002   }
4003   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.F2fsReadpageFtraceEvent)
4004   return target;
4005 }
4006 
ByteSizeLong() const4007 size_t F2fsReadpageFtraceEvent::ByteSizeLong() const {
4008 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.F2fsReadpageFtraceEvent)
4009   size_t total_size = 0;
4010 
4011   ::uint32_t cached_has_bits = 0;
4012   // Prevent compiler warnings about cached_has_bits being unused
4013   (void) cached_has_bits;
4014 
4015   cached_has_bits = _impl_._has_bits_[0];
4016   if (cached_has_bits & 0x000000ffu) {
4017     // optional uint64 dev = 1;
4018     if (cached_has_bits & 0x00000001u) {
4019       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
4020     }
4021 
4022     // optional uint64 ino = 2;
4023     if (cached_has_bits & 0x00000002u) {
4024       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ino());
4025     }
4026 
4027     // optional uint64 index = 3;
4028     if (cached_has_bits & 0x00000004u) {
4029       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_index());
4030     }
4031 
4032     // optional uint64 blkaddr = 4;
4033     if (cached_has_bits & 0x00000008u) {
4034       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_blkaddr());
4035     }
4036 
4037     // optional int32 type = 5;
4038     if (cached_has_bits & 0x00000010u) {
4039       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_type());
4040     }
4041 
4042     // optional int32 dir = 6;
4043     if (cached_has_bits & 0x00000020u) {
4044       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_dir());
4045     }
4046 
4047     // optional int32 dirty = 7;
4048     if (cached_has_bits & 0x00000040u) {
4049       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_dirty());
4050     }
4051 
4052     // optional int32 uptodate = 8;
4053     if (cached_has_bits & 0x00000080u) {
4054       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_uptodate());
4055     }
4056 
4057   }
4058   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
4059     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
4060   }
4061   int cached_size = ::_pbi::ToCachedSize(total_size);
4062   SetCachedSize(cached_size);
4063   return total_size;
4064 }
4065 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)4066 void F2fsReadpageFtraceEvent::CheckTypeAndMergeFrom(
4067     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
4068   MergeFrom(*::_pbi::DownCast<const F2fsReadpageFtraceEvent*>(
4069       &from));
4070 }
4071 
MergeFrom(const F2fsReadpageFtraceEvent & from)4072 void F2fsReadpageFtraceEvent::MergeFrom(const F2fsReadpageFtraceEvent& from) {
4073   F2fsReadpageFtraceEvent* const _this = this;
4074   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.F2fsReadpageFtraceEvent)
4075   GOOGLE_DCHECK_NE(&from, _this);
4076   ::uint32_t cached_has_bits = 0;
4077   (void) cached_has_bits;
4078 
4079   cached_has_bits = from._impl_._has_bits_[0];
4080   if (cached_has_bits & 0x000000ffu) {
4081     if (cached_has_bits & 0x00000001u) {
4082       _this->_impl_.dev_ = from._impl_.dev_;
4083     }
4084     if (cached_has_bits & 0x00000002u) {
4085       _this->_impl_.ino_ = from._impl_.ino_;
4086     }
4087     if (cached_has_bits & 0x00000004u) {
4088       _this->_impl_.index_ = from._impl_.index_;
4089     }
4090     if (cached_has_bits & 0x00000008u) {
4091       _this->_impl_.blkaddr_ = from._impl_.blkaddr_;
4092     }
4093     if (cached_has_bits & 0x00000010u) {
4094       _this->_impl_.type_ = from._impl_.type_;
4095     }
4096     if (cached_has_bits & 0x00000020u) {
4097       _this->_impl_.dir_ = from._impl_.dir_;
4098     }
4099     if (cached_has_bits & 0x00000040u) {
4100       _this->_impl_.dirty_ = from._impl_.dirty_;
4101     }
4102     if (cached_has_bits & 0x00000080u) {
4103       _this->_impl_.uptodate_ = from._impl_.uptodate_;
4104     }
4105     _this->_impl_._has_bits_[0] |= cached_has_bits;
4106   }
4107   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
4108 }
4109 
CopyFrom(const F2fsReadpageFtraceEvent & from)4110 void F2fsReadpageFtraceEvent::CopyFrom(const F2fsReadpageFtraceEvent& from) {
4111 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.F2fsReadpageFtraceEvent)
4112   if (&from == this) return;
4113   Clear();
4114   MergeFrom(from);
4115 }
4116 
IsInitialized() const4117 bool F2fsReadpageFtraceEvent::IsInitialized() const {
4118   return true;
4119 }
4120 
InternalSwap(F2fsReadpageFtraceEvent * other)4121 void F2fsReadpageFtraceEvent::InternalSwap(F2fsReadpageFtraceEvent* other) {
4122   using std::swap;
4123   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
4124   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
4125   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
4126       PROTOBUF_FIELD_OFFSET(F2fsReadpageFtraceEvent, _impl_.uptodate_)
4127       + sizeof(F2fsReadpageFtraceEvent::_impl_.uptodate_)  // NOLINT
4128       - PROTOBUF_FIELD_OFFSET(F2fsReadpageFtraceEvent, _impl_.dev_)>(
4129           reinterpret_cast<char*>(&_impl_.dev_),
4130           reinterpret_cast<char*>(&other->_impl_.dev_));
4131 }
4132 
GetTypeName() const4133 std::string F2fsReadpageFtraceEvent::GetTypeName() const {
4134   return "perfetto.protos.F2fsReadpageFtraceEvent";
4135 }
4136 
4137 
4138 // ===================================================================
4139 
4140 class F2fsReserveNewBlockFtraceEvent::_Internal {
4141  public:
4142   using HasBits = decltype(std::declval<F2fsReserveNewBlockFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)4143   static void set_has_dev(HasBits* has_bits) {
4144     (*has_bits)[0] |= 1u;
4145   }
set_has_nid(HasBits * has_bits)4146   static void set_has_nid(HasBits* has_bits) {
4147     (*has_bits)[0] |= 2u;
4148   }
set_has_ofs_in_node(HasBits * has_bits)4149   static void set_has_ofs_in_node(HasBits* has_bits) {
4150     (*has_bits)[0] |= 4u;
4151   }
4152 };
4153 
F2fsReserveNewBlockFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)4154 F2fsReserveNewBlockFtraceEvent::F2fsReserveNewBlockFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
4155                          bool is_message_owned)
4156   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
4157   SharedCtor(arena, is_message_owned);
4158   // @@protoc_insertion_point(arena_constructor:perfetto.protos.F2fsReserveNewBlockFtraceEvent)
4159 }
F2fsReserveNewBlockFtraceEvent(const F2fsReserveNewBlockFtraceEvent & from)4160 F2fsReserveNewBlockFtraceEvent::F2fsReserveNewBlockFtraceEvent(const F2fsReserveNewBlockFtraceEvent& from)
4161   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
4162   F2fsReserveNewBlockFtraceEvent* const _this = this; (void)_this;
4163   new (&_impl_) Impl_{
4164       decltype(_impl_._has_bits_){from._impl_._has_bits_}
4165     , /*decltype(_impl_._cached_size_)*/{}
4166     , decltype(_impl_.dev_){}
4167     , decltype(_impl_.nid_){}
4168     , decltype(_impl_.ofs_in_node_){}};
4169 
4170   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
4171   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
4172     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.ofs_in_node_) -
4173     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.ofs_in_node_));
4174   // @@protoc_insertion_point(copy_constructor:perfetto.protos.F2fsReserveNewBlockFtraceEvent)
4175 }
4176 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)4177 inline void F2fsReserveNewBlockFtraceEvent::SharedCtor(
4178     ::_pb::Arena* arena, bool is_message_owned) {
4179   (void)arena;
4180   (void)is_message_owned;
4181   new (&_impl_) Impl_{
4182       decltype(_impl_._has_bits_){}
4183     , /*decltype(_impl_._cached_size_)*/{}
4184     , decltype(_impl_.dev_){::uint64_t{0u}}
4185     , decltype(_impl_.nid_){0u}
4186     , decltype(_impl_.ofs_in_node_){0u}
4187   };
4188 }
4189 
~F2fsReserveNewBlockFtraceEvent()4190 F2fsReserveNewBlockFtraceEvent::~F2fsReserveNewBlockFtraceEvent() {
4191   // @@protoc_insertion_point(destructor:perfetto.protos.F2fsReserveNewBlockFtraceEvent)
4192   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
4193   (void)arena;
4194     return;
4195   }
4196   SharedDtor();
4197 }
4198 
SharedDtor()4199 inline void F2fsReserveNewBlockFtraceEvent::SharedDtor() {
4200   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
4201 }
4202 
SetCachedSize(int size) const4203 void F2fsReserveNewBlockFtraceEvent::SetCachedSize(int size) const {
4204   _impl_._cached_size_.Set(size);
4205 }
4206 
Clear()4207 void F2fsReserveNewBlockFtraceEvent::Clear() {
4208 // @@protoc_insertion_point(message_clear_start:perfetto.protos.F2fsReserveNewBlockFtraceEvent)
4209   ::uint32_t cached_has_bits = 0;
4210   // Prevent compiler warnings about cached_has_bits being unused
4211   (void) cached_has_bits;
4212 
4213   cached_has_bits = _impl_._has_bits_[0];
4214   if (cached_has_bits & 0x00000007u) {
4215     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
4216         reinterpret_cast<char*>(&_impl_.ofs_in_node_) -
4217         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.ofs_in_node_));
4218   }
4219   _impl_._has_bits_.Clear();
4220   _internal_metadata_.Clear<std::string>();
4221 }
4222 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)4223 const char* F2fsReserveNewBlockFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
4224 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
4225   _Internal::HasBits has_bits{};
4226   while (!ctx->Done(&ptr)) {
4227     ::uint32_t tag;
4228     ptr = ::_pbi::ReadTag(ptr, &tag);
4229     switch (tag >> 3) {
4230       // optional uint64 dev = 1;
4231       case 1:
4232         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
4233           _Internal::set_has_dev(&has_bits);
4234           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
4235           CHK_(ptr);
4236         } else {
4237           goto handle_unusual;
4238         }
4239         continue;
4240       // optional uint32 nid = 2;
4241       case 2:
4242         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
4243           _Internal::set_has_nid(&has_bits);
4244           _impl_.nid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
4245           CHK_(ptr);
4246         } else {
4247           goto handle_unusual;
4248         }
4249         continue;
4250       // optional uint32 ofs_in_node = 3;
4251       case 3:
4252         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
4253           _Internal::set_has_ofs_in_node(&has_bits);
4254           _impl_.ofs_in_node_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
4255           CHK_(ptr);
4256         } else {
4257           goto handle_unusual;
4258         }
4259         continue;
4260       default:
4261         goto handle_unusual;
4262     }  // switch
4263   handle_unusual:
4264     if ((tag == 0) || ((tag & 7) == 4)) {
4265       CHK_(ptr);
4266       ctx->SetLastTag(tag);
4267       goto message_done;
4268     }
4269     ptr = UnknownFieldParse(
4270         tag,
4271         _internal_metadata_.mutable_unknown_fields<std::string>(),
4272         ptr, ctx);
4273     CHK_(ptr != nullptr);
4274   }  // while
4275 message_done:
4276   _impl_._has_bits_.Or(has_bits);
4277   return ptr;
4278 failure:
4279   ptr = nullptr;
4280   goto message_done;
4281 #undef CHK_
4282 }
4283 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const4284 ::uint8_t* F2fsReserveNewBlockFtraceEvent::_InternalSerialize(
4285     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
4286   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.F2fsReserveNewBlockFtraceEvent)
4287   ::uint32_t cached_has_bits = 0;
4288   (void) cached_has_bits;
4289 
4290   cached_has_bits = _impl_._has_bits_[0];
4291   // optional uint64 dev = 1;
4292   if (cached_has_bits & 0x00000001u) {
4293     target = stream->EnsureSpace(target);
4294     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
4295   }
4296 
4297   // optional uint32 nid = 2;
4298   if (cached_has_bits & 0x00000002u) {
4299     target = stream->EnsureSpace(target);
4300     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_nid(), target);
4301   }
4302 
4303   // optional uint32 ofs_in_node = 3;
4304   if (cached_has_bits & 0x00000004u) {
4305     target = stream->EnsureSpace(target);
4306     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_ofs_in_node(), target);
4307   }
4308 
4309   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
4310     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
4311         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
4312   }
4313   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.F2fsReserveNewBlockFtraceEvent)
4314   return target;
4315 }
4316 
ByteSizeLong() const4317 size_t F2fsReserveNewBlockFtraceEvent::ByteSizeLong() const {
4318 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.F2fsReserveNewBlockFtraceEvent)
4319   size_t total_size = 0;
4320 
4321   ::uint32_t cached_has_bits = 0;
4322   // Prevent compiler warnings about cached_has_bits being unused
4323   (void) cached_has_bits;
4324 
4325   cached_has_bits = _impl_._has_bits_[0];
4326   if (cached_has_bits & 0x00000007u) {
4327     // optional uint64 dev = 1;
4328     if (cached_has_bits & 0x00000001u) {
4329       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
4330     }
4331 
4332     // optional uint32 nid = 2;
4333     if (cached_has_bits & 0x00000002u) {
4334       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_nid());
4335     }
4336 
4337     // optional uint32 ofs_in_node = 3;
4338     if (cached_has_bits & 0x00000004u) {
4339       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_ofs_in_node());
4340     }
4341 
4342   }
4343   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
4344     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
4345   }
4346   int cached_size = ::_pbi::ToCachedSize(total_size);
4347   SetCachedSize(cached_size);
4348   return total_size;
4349 }
4350 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)4351 void F2fsReserveNewBlockFtraceEvent::CheckTypeAndMergeFrom(
4352     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
4353   MergeFrom(*::_pbi::DownCast<const F2fsReserveNewBlockFtraceEvent*>(
4354       &from));
4355 }
4356 
MergeFrom(const F2fsReserveNewBlockFtraceEvent & from)4357 void F2fsReserveNewBlockFtraceEvent::MergeFrom(const F2fsReserveNewBlockFtraceEvent& from) {
4358   F2fsReserveNewBlockFtraceEvent* const _this = this;
4359   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.F2fsReserveNewBlockFtraceEvent)
4360   GOOGLE_DCHECK_NE(&from, _this);
4361   ::uint32_t cached_has_bits = 0;
4362   (void) cached_has_bits;
4363 
4364   cached_has_bits = from._impl_._has_bits_[0];
4365   if (cached_has_bits & 0x00000007u) {
4366     if (cached_has_bits & 0x00000001u) {
4367       _this->_impl_.dev_ = from._impl_.dev_;
4368     }
4369     if (cached_has_bits & 0x00000002u) {
4370       _this->_impl_.nid_ = from._impl_.nid_;
4371     }
4372     if (cached_has_bits & 0x00000004u) {
4373       _this->_impl_.ofs_in_node_ = from._impl_.ofs_in_node_;
4374     }
4375     _this->_impl_._has_bits_[0] |= cached_has_bits;
4376   }
4377   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
4378 }
4379 
CopyFrom(const F2fsReserveNewBlockFtraceEvent & from)4380 void F2fsReserveNewBlockFtraceEvent::CopyFrom(const F2fsReserveNewBlockFtraceEvent& from) {
4381 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.F2fsReserveNewBlockFtraceEvent)
4382   if (&from == this) return;
4383   Clear();
4384   MergeFrom(from);
4385 }
4386 
IsInitialized() const4387 bool F2fsReserveNewBlockFtraceEvent::IsInitialized() const {
4388   return true;
4389 }
4390 
InternalSwap(F2fsReserveNewBlockFtraceEvent * other)4391 void F2fsReserveNewBlockFtraceEvent::InternalSwap(F2fsReserveNewBlockFtraceEvent* other) {
4392   using std::swap;
4393   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
4394   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
4395   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
4396       PROTOBUF_FIELD_OFFSET(F2fsReserveNewBlockFtraceEvent, _impl_.ofs_in_node_)
4397       + sizeof(F2fsReserveNewBlockFtraceEvent::_impl_.ofs_in_node_)  // NOLINT
4398       - PROTOBUF_FIELD_OFFSET(F2fsReserveNewBlockFtraceEvent, _impl_.dev_)>(
4399           reinterpret_cast<char*>(&_impl_.dev_),
4400           reinterpret_cast<char*>(&other->_impl_.dev_));
4401 }
4402 
GetTypeName() const4403 std::string F2fsReserveNewBlockFtraceEvent::GetTypeName() const {
4404   return "perfetto.protos.F2fsReserveNewBlockFtraceEvent";
4405 }
4406 
4407 
4408 // ===================================================================
4409 
4410 class F2fsSetPageDirtyFtraceEvent::_Internal {
4411  public:
4412   using HasBits = decltype(std::declval<F2fsSetPageDirtyFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)4413   static void set_has_dev(HasBits* has_bits) {
4414     (*has_bits)[0] |= 1u;
4415   }
set_has_ino(HasBits * has_bits)4416   static void set_has_ino(HasBits* has_bits) {
4417     (*has_bits)[0] |= 2u;
4418   }
set_has_type(HasBits * has_bits)4419   static void set_has_type(HasBits* has_bits) {
4420     (*has_bits)[0] |= 4u;
4421   }
set_has_dir(HasBits * has_bits)4422   static void set_has_dir(HasBits* has_bits) {
4423     (*has_bits)[0] |= 8u;
4424   }
set_has_index(HasBits * has_bits)4425   static void set_has_index(HasBits* has_bits) {
4426     (*has_bits)[0] |= 16u;
4427   }
set_has_dirty(HasBits * has_bits)4428   static void set_has_dirty(HasBits* has_bits) {
4429     (*has_bits)[0] |= 32u;
4430   }
set_has_uptodate(HasBits * has_bits)4431   static void set_has_uptodate(HasBits* has_bits) {
4432     (*has_bits)[0] |= 64u;
4433   }
4434 };
4435 
F2fsSetPageDirtyFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)4436 F2fsSetPageDirtyFtraceEvent::F2fsSetPageDirtyFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
4437                          bool is_message_owned)
4438   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
4439   SharedCtor(arena, is_message_owned);
4440   // @@protoc_insertion_point(arena_constructor:perfetto.protos.F2fsSetPageDirtyFtraceEvent)
4441 }
F2fsSetPageDirtyFtraceEvent(const F2fsSetPageDirtyFtraceEvent & from)4442 F2fsSetPageDirtyFtraceEvent::F2fsSetPageDirtyFtraceEvent(const F2fsSetPageDirtyFtraceEvent& from)
4443   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
4444   F2fsSetPageDirtyFtraceEvent* const _this = this; (void)_this;
4445   new (&_impl_) Impl_{
4446       decltype(_impl_._has_bits_){from._impl_._has_bits_}
4447     , /*decltype(_impl_._cached_size_)*/{}
4448     , decltype(_impl_.dev_){}
4449     , decltype(_impl_.ino_){}
4450     , decltype(_impl_.type_){}
4451     , decltype(_impl_.dir_){}
4452     , decltype(_impl_.index_){}
4453     , decltype(_impl_.dirty_){}
4454     , decltype(_impl_.uptodate_){}};
4455 
4456   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
4457   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
4458     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.uptodate_) -
4459     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.uptodate_));
4460   // @@protoc_insertion_point(copy_constructor:perfetto.protos.F2fsSetPageDirtyFtraceEvent)
4461 }
4462 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)4463 inline void F2fsSetPageDirtyFtraceEvent::SharedCtor(
4464     ::_pb::Arena* arena, bool is_message_owned) {
4465   (void)arena;
4466   (void)is_message_owned;
4467   new (&_impl_) Impl_{
4468       decltype(_impl_._has_bits_){}
4469     , /*decltype(_impl_._cached_size_)*/{}
4470     , decltype(_impl_.dev_){::uint64_t{0u}}
4471     , decltype(_impl_.ino_){::uint64_t{0u}}
4472     , decltype(_impl_.type_){0}
4473     , decltype(_impl_.dir_){0}
4474     , decltype(_impl_.index_){::uint64_t{0u}}
4475     , decltype(_impl_.dirty_){0}
4476     , decltype(_impl_.uptodate_){0}
4477   };
4478 }
4479 
~F2fsSetPageDirtyFtraceEvent()4480 F2fsSetPageDirtyFtraceEvent::~F2fsSetPageDirtyFtraceEvent() {
4481   // @@protoc_insertion_point(destructor:perfetto.protos.F2fsSetPageDirtyFtraceEvent)
4482   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
4483   (void)arena;
4484     return;
4485   }
4486   SharedDtor();
4487 }
4488 
SharedDtor()4489 inline void F2fsSetPageDirtyFtraceEvent::SharedDtor() {
4490   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
4491 }
4492 
SetCachedSize(int size) const4493 void F2fsSetPageDirtyFtraceEvent::SetCachedSize(int size) const {
4494   _impl_._cached_size_.Set(size);
4495 }
4496 
Clear()4497 void F2fsSetPageDirtyFtraceEvent::Clear() {
4498 // @@protoc_insertion_point(message_clear_start:perfetto.protos.F2fsSetPageDirtyFtraceEvent)
4499   ::uint32_t cached_has_bits = 0;
4500   // Prevent compiler warnings about cached_has_bits being unused
4501   (void) cached_has_bits;
4502 
4503   cached_has_bits = _impl_._has_bits_[0];
4504   if (cached_has_bits & 0x0000007fu) {
4505     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
4506         reinterpret_cast<char*>(&_impl_.uptodate_) -
4507         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.uptodate_));
4508   }
4509   _impl_._has_bits_.Clear();
4510   _internal_metadata_.Clear<std::string>();
4511 }
4512 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)4513 const char* F2fsSetPageDirtyFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
4514 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
4515   _Internal::HasBits has_bits{};
4516   while (!ctx->Done(&ptr)) {
4517     ::uint32_t tag;
4518     ptr = ::_pbi::ReadTag(ptr, &tag);
4519     switch (tag >> 3) {
4520       // optional uint64 dev = 1;
4521       case 1:
4522         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
4523           _Internal::set_has_dev(&has_bits);
4524           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
4525           CHK_(ptr);
4526         } else {
4527           goto handle_unusual;
4528         }
4529         continue;
4530       // optional uint64 ino = 2;
4531       case 2:
4532         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
4533           _Internal::set_has_ino(&has_bits);
4534           _impl_.ino_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
4535           CHK_(ptr);
4536         } else {
4537           goto handle_unusual;
4538         }
4539         continue;
4540       // optional int32 type = 3;
4541       case 3:
4542         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
4543           _Internal::set_has_type(&has_bits);
4544           _impl_.type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
4545           CHK_(ptr);
4546         } else {
4547           goto handle_unusual;
4548         }
4549         continue;
4550       // optional int32 dir = 4;
4551       case 4:
4552         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
4553           _Internal::set_has_dir(&has_bits);
4554           _impl_.dir_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
4555           CHK_(ptr);
4556         } else {
4557           goto handle_unusual;
4558         }
4559         continue;
4560       // optional uint64 index = 5;
4561       case 5:
4562         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) {
4563           _Internal::set_has_index(&has_bits);
4564           _impl_.index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
4565           CHK_(ptr);
4566         } else {
4567           goto handle_unusual;
4568         }
4569         continue;
4570       // optional int32 dirty = 6;
4571       case 6:
4572         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 48)) {
4573           _Internal::set_has_dirty(&has_bits);
4574           _impl_.dirty_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
4575           CHK_(ptr);
4576         } else {
4577           goto handle_unusual;
4578         }
4579         continue;
4580       // optional int32 uptodate = 7;
4581       case 7:
4582         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 56)) {
4583           _Internal::set_has_uptodate(&has_bits);
4584           _impl_.uptodate_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
4585           CHK_(ptr);
4586         } else {
4587           goto handle_unusual;
4588         }
4589         continue;
4590       default:
4591         goto handle_unusual;
4592     }  // switch
4593   handle_unusual:
4594     if ((tag == 0) || ((tag & 7) == 4)) {
4595       CHK_(ptr);
4596       ctx->SetLastTag(tag);
4597       goto message_done;
4598     }
4599     ptr = UnknownFieldParse(
4600         tag,
4601         _internal_metadata_.mutable_unknown_fields<std::string>(),
4602         ptr, ctx);
4603     CHK_(ptr != nullptr);
4604   }  // while
4605 message_done:
4606   _impl_._has_bits_.Or(has_bits);
4607   return ptr;
4608 failure:
4609   ptr = nullptr;
4610   goto message_done;
4611 #undef CHK_
4612 }
4613 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const4614 ::uint8_t* F2fsSetPageDirtyFtraceEvent::_InternalSerialize(
4615     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
4616   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.F2fsSetPageDirtyFtraceEvent)
4617   ::uint32_t cached_has_bits = 0;
4618   (void) cached_has_bits;
4619 
4620   cached_has_bits = _impl_._has_bits_[0];
4621   // optional uint64 dev = 1;
4622   if (cached_has_bits & 0x00000001u) {
4623     target = stream->EnsureSpace(target);
4624     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
4625   }
4626 
4627   // optional uint64 ino = 2;
4628   if (cached_has_bits & 0x00000002u) {
4629     target = stream->EnsureSpace(target);
4630     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_ino(), target);
4631   }
4632 
4633   // optional int32 type = 3;
4634   if (cached_has_bits & 0x00000004u) {
4635     target = stream->EnsureSpace(target);
4636     target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_type(), target);
4637   }
4638 
4639   // optional int32 dir = 4;
4640   if (cached_has_bits & 0x00000008u) {
4641     target = stream->EnsureSpace(target);
4642     target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_dir(), target);
4643   }
4644 
4645   // optional uint64 index = 5;
4646   if (cached_has_bits & 0x00000010u) {
4647     target = stream->EnsureSpace(target);
4648     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(5, this->_internal_index(), target);
4649   }
4650 
4651   // optional int32 dirty = 6;
4652   if (cached_has_bits & 0x00000020u) {
4653     target = stream->EnsureSpace(target);
4654     target = ::_pbi::WireFormatLite::WriteInt32ToArray(6, this->_internal_dirty(), target);
4655   }
4656 
4657   // optional int32 uptodate = 7;
4658   if (cached_has_bits & 0x00000040u) {
4659     target = stream->EnsureSpace(target);
4660     target = ::_pbi::WireFormatLite::WriteInt32ToArray(7, this->_internal_uptodate(), target);
4661   }
4662 
4663   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
4664     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
4665         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
4666   }
4667   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.F2fsSetPageDirtyFtraceEvent)
4668   return target;
4669 }
4670 
ByteSizeLong() const4671 size_t F2fsSetPageDirtyFtraceEvent::ByteSizeLong() const {
4672 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.F2fsSetPageDirtyFtraceEvent)
4673   size_t total_size = 0;
4674 
4675   ::uint32_t cached_has_bits = 0;
4676   // Prevent compiler warnings about cached_has_bits being unused
4677   (void) cached_has_bits;
4678 
4679   cached_has_bits = _impl_._has_bits_[0];
4680   if (cached_has_bits & 0x0000007fu) {
4681     // optional uint64 dev = 1;
4682     if (cached_has_bits & 0x00000001u) {
4683       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
4684     }
4685 
4686     // optional uint64 ino = 2;
4687     if (cached_has_bits & 0x00000002u) {
4688       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ino());
4689     }
4690 
4691     // optional int32 type = 3;
4692     if (cached_has_bits & 0x00000004u) {
4693       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_type());
4694     }
4695 
4696     // optional int32 dir = 4;
4697     if (cached_has_bits & 0x00000008u) {
4698       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_dir());
4699     }
4700 
4701     // optional uint64 index = 5;
4702     if (cached_has_bits & 0x00000010u) {
4703       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_index());
4704     }
4705 
4706     // optional int32 dirty = 6;
4707     if (cached_has_bits & 0x00000020u) {
4708       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_dirty());
4709     }
4710 
4711     // optional int32 uptodate = 7;
4712     if (cached_has_bits & 0x00000040u) {
4713       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_uptodate());
4714     }
4715 
4716   }
4717   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
4718     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
4719   }
4720   int cached_size = ::_pbi::ToCachedSize(total_size);
4721   SetCachedSize(cached_size);
4722   return total_size;
4723 }
4724 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)4725 void F2fsSetPageDirtyFtraceEvent::CheckTypeAndMergeFrom(
4726     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
4727   MergeFrom(*::_pbi::DownCast<const F2fsSetPageDirtyFtraceEvent*>(
4728       &from));
4729 }
4730 
MergeFrom(const F2fsSetPageDirtyFtraceEvent & from)4731 void F2fsSetPageDirtyFtraceEvent::MergeFrom(const F2fsSetPageDirtyFtraceEvent& from) {
4732   F2fsSetPageDirtyFtraceEvent* const _this = this;
4733   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.F2fsSetPageDirtyFtraceEvent)
4734   GOOGLE_DCHECK_NE(&from, _this);
4735   ::uint32_t cached_has_bits = 0;
4736   (void) cached_has_bits;
4737 
4738   cached_has_bits = from._impl_._has_bits_[0];
4739   if (cached_has_bits & 0x0000007fu) {
4740     if (cached_has_bits & 0x00000001u) {
4741       _this->_impl_.dev_ = from._impl_.dev_;
4742     }
4743     if (cached_has_bits & 0x00000002u) {
4744       _this->_impl_.ino_ = from._impl_.ino_;
4745     }
4746     if (cached_has_bits & 0x00000004u) {
4747       _this->_impl_.type_ = from._impl_.type_;
4748     }
4749     if (cached_has_bits & 0x00000008u) {
4750       _this->_impl_.dir_ = from._impl_.dir_;
4751     }
4752     if (cached_has_bits & 0x00000010u) {
4753       _this->_impl_.index_ = from._impl_.index_;
4754     }
4755     if (cached_has_bits & 0x00000020u) {
4756       _this->_impl_.dirty_ = from._impl_.dirty_;
4757     }
4758     if (cached_has_bits & 0x00000040u) {
4759       _this->_impl_.uptodate_ = from._impl_.uptodate_;
4760     }
4761     _this->_impl_._has_bits_[0] |= cached_has_bits;
4762   }
4763   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
4764 }
4765 
CopyFrom(const F2fsSetPageDirtyFtraceEvent & from)4766 void F2fsSetPageDirtyFtraceEvent::CopyFrom(const F2fsSetPageDirtyFtraceEvent& from) {
4767 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.F2fsSetPageDirtyFtraceEvent)
4768   if (&from == this) return;
4769   Clear();
4770   MergeFrom(from);
4771 }
4772 
IsInitialized() const4773 bool F2fsSetPageDirtyFtraceEvent::IsInitialized() const {
4774   return true;
4775 }
4776 
InternalSwap(F2fsSetPageDirtyFtraceEvent * other)4777 void F2fsSetPageDirtyFtraceEvent::InternalSwap(F2fsSetPageDirtyFtraceEvent* other) {
4778   using std::swap;
4779   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
4780   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
4781   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
4782       PROTOBUF_FIELD_OFFSET(F2fsSetPageDirtyFtraceEvent, _impl_.uptodate_)
4783       + sizeof(F2fsSetPageDirtyFtraceEvent::_impl_.uptodate_)  // NOLINT
4784       - PROTOBUF_FIELD_OFFSET(F2fsSetPageDirtyFtraceEvent, _impl_.dev_)>(
4785           reinterpret_cast<char*>(&_impl_.dev_),
4786           reinterpret_cast<char*>(&other->_impl_.dev_));
4787 }
4788 
GetTypeName() const4789 std::string F2fsSetPageDirtyFtraceEvent::GetTypeName() const {
4790   return "perfetto.protos.F2fsSetPageDirtyFtraceEvent";
4791 }
4792 
4793 
4794 // ===================================================================
4795 
4796 class F2fsSubmitWritePageFtraceEvent::_Internal {
4797  public:
4798   using HasBits = decltype(std::declval<F2fsSubmitWritePageFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)4799   static void set_has_dev(HasBits* has_bits) {
4800     (*has_bits)[0] |= 1u;
4801   }
set_has_ino(HasBits * has_bits)4802   static void set_has_ino(HasBits* has_bits) {
4803     (*has_bits)[0] |= 2u;
4804   }
set_has_type(HasBits * has_bits)4805   static void set_has_type(HasBits* has_bits) {
4806     (*has_bits)[0] |= 8u;
4807   }
set_has_index(HasBits * has_bits)4808   static void set_has_index(HasBits* has_bits) {
4809     (*has_bits)[0] |= 4u;
4810   }
set_has_block(HasBits * has_bits)4811   static void set_has_block(HasBits* has_bits) {
4812     (*has_bits)[0] |= 16u;
4813   }
4814 };
4815 
F2fsSubmitWritePageFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)4816 F2fsSubmitWritePageFtraceEvent::F2fsSubmitWritePageFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
4817                          bool is_message_owned)
4818   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
4819   SharedCtor(arena, is_message_owned);
4820   // @@protoc_insertion_point(arena_constructor:perfetto.protos.F2fsSubmitWritePageFtraceEvent)
4821 }
F2fsSubmitWritePageFtraceEvent(const F2fsSubmitWritePageFtraceEvent & from)4822 F2fsSubmitWritePageFtraceEvent::F2fsSubmitWritePageFtraceEvent(const F2fsSubmitWritePageFtraceEvent& from)
4823   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
4824   F2fsSubmitWritePageFtraceEvent* const _this = this; (void)_this;
4825   new (&_impl_) Impl_{
4826       decltype(_impl_._has_bits_){from._impl_._has_bits_}
4827     , /*decltype(_impl_._cached_size_)*/{}
4828     , decltype(_impl_.dev_){}
4829     , decltype(_impl_.ino_){}
4830     , decltype(_impl_.index_){}
4831     , decltype(_impl_.type_){}
4832     , decltype(_impl_.block_){}};
4833 
4834   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
4835   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
4836     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.block_) -
4837     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.block_));
4838   // @@protoc_insertion_point(copy_constructor:perfetto.protos.F2fsSubmitWritePageFtraceEvent)
4839 }
4840 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)4841 inline void F2fsSubmitWritePageFtraceEvent::SharedCtor(
4842     ::_pb::Arena* arena, bool is_message_owned) {
4843   (void)arena;
4844   (void)is_message_owned;
4845   new (&_impl_) Impl_{
4846       decltype(_impl_._has_bits_){}
4847     , /*decltype(_impl_._cached_size_)*/{}
4848     , decltype(_impl_.dev_){::uint64_t{0u}}
4849     , decltype(_impl_.ino_){::uint64_t{0u}}
4850     , decltype(_impl_.index_){::uint64_t{0u}}
4851     , decltype(_impl_.type_){0}
4852     , decltype(_impl_.block_){0u}
4853   };
4854 }
4855 
~F2fsSubmitWritePageFtraceEvent()4856 F2fsSubmitWritePageFtraceEvent::~F2fsSubmitWritePageFtraceEvent() {
4857   // @@protoc_insertion_point(destructor:perfetto.protos.F2fsSubmitWritePageFtraceEvent)
4858   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
4859   (void)arena;
4860     return;
4861   }
4862   SharedDtor();
4863 }
4864 
SharedDtor()4865 inline void F2fsSubmitWritePageFtraceEvent::SharedDtor() {
4866   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
4867 }
4868 
SetCachedSize(int size) const4869 void F2fsSubmitWritePageFtraceEvent::SetCachedSize(int size) const {
4870   _impl_._cached_size_.Set(size);
4871 }
4872 
Clear()4873 void F2fsSubmitWritePageFtraceEvent::Clear() {
4874 // @@protoc_insertion_point(message_clear_start:perfetto.protos.F2fsSubmitWritePageFtraceEvent)
4875   ::uint32_t cached_has_bits = 0;
4876   // Prevent compiler warnings about cached_has_bits being unused
4877   (void) cached_has_bits;
4878 
4879   cached_has_bits = _impl_._has_bits_[0];
4880   if (cached_has_bits & 0x0000001fu) {
4881     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
4882         reinterpret_cast<char*>(&_impl_.block_) -
4883         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.block_));
4884   }
4885   _impl_._has_bits_.Clear();
4886   _internal_metadata_.Clear<std::string>();
4887 }
4888 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)4889 const char* F2fsSubmitWritePageFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
4890 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
4891   _Internal::HasBits has_bits{};
4892   while (!ctx->Done(&ptr)) {
4893     ::uint32_t tag;
4894     ptr = ::_pbi::ReadTag(ptr, &tag);
4895     switch (tag >> 3) {
4896       // optional uint64 dev = 1;
4897       case 1:
4898         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
4899           _Internal::set_has_dev(&has_bits);
4900           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
4901           CHK_(ptr);
4902         } else {
4903           goto handle_unusual;
4904         }
4905         continue;
4906       // optional uint64 ino = 2;
4907       case 2:
4908         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
4909           _Internal::set_has_ino(&has_bits);
4910           _impl_.ino_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
4911           CHK_(ptr);
4912         } else {
4913           goto handle_unusual;
4914         }
4915         continue;
4916       // optional int32 type = 3;
4917       case 3:
4918         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
4919           _Internal::set_has_type(&has_bits);
4920           _impl_.type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
4921           CHK_(ptr);
4922         } else {
4923           goto handle_unusual;
4924         }
4925         continue;
4926       // optional uint64 index = 4;
4927       case 4:
4928         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
4929           _Internal::set_has_index(&has_bits);
4930           _impl_.index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
4931           CHK_(ptr);
4932         } else {
4933           goto handle_unusual;
4934         }
4935         continue;
4936       // optional uint32 block = 5;
4937       case 5:
4938         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) {
4939           _Internal::set_has_block(&has_bits);
4940           _impl_.block_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
4941           CHK_(ptr);
4942         } else {
4943           goto handle_unusual;
4944         }
4945         continue;
4946       default:
4947         goto handle_unusual;
4948     }  // switch
4949   handle_unusual:
4950     if ((tag == 0) || ((tag & 7) == 4)) {
4951       CHK_(ptr);
4952       ctx->SetLastTag(tag);
4953       goto message_done;
4954     }
4955     ptr = UnknownFieldParse(
4956         tag,
4957         _internal_metadata_.mutable_unknown_fields<std::string>(),
4958         ptr, ctx);
4959     CHK_(ptr != nullptr);
4960   }  // while
4961 message_done:
4962   _impl_._has_bits_.Or(has_bits);
4963   return ptr;
4964 failure:
4965   ptr = nullptr;
4966   goto message_done;
4967 #undef CHK_
4968 }
4969 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const4970 ::uint8_t* F2fsSubmitWritePageFtraceEvent::_InternalSerialize(
4971     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
4972   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.F2fsSubmitWritePageFtraceEvent)
4973   ::uint32_t cached_has_bits = 0;
4974   (void) cached_has_bits;
4975 
4976   cached_has_bits = _impl_._has_bits_[0];
4977   // optional uint64 dev = 1;
4978   if (cached_has_bits & 0x00000001u) {
4979     target = stream->EnsureSpace(target);
4980     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
4981   }
4982 
4983   // optional uint64 ino = 2;
4984   if (cached_has_bits & 0x00000002u) {
4985     target = stream->EnsureSpace(target);
4986     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_ino(), target);
4987   }
4988 
4989   // optional int32 type = 3;
4990   if (cached_has_bits & 0x00000008u) {
4991     target = stream->EnsureSpace(target);
4992     target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_type(), target);
4993   }
4994 
4995   // optional uint64 index = 4;
4996   if (cached_has_bits & 0x00000004u) {
4997     target = stream->EnsureSpace(target);
4998     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(4, this->_internal_index(), target);
4999   }
5000 
5001   // optional uint32 block = 5;
5002   if (cached_has_bits & 0x00000010u) {
5003     target = stream->EnsureSpace(target);
5004     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_block(), target);
5005   }
5006 
5007   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
5008     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
5009         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
5010   }
5011   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.F2fsSubmitWritePageFtraceEvent)
5012   return target;
5013 }
5014 
ByteSizeLong() const5015 size_t F2fsSubmitWritePageFtraceEvent::ByteSizeLong() const {
5016 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.F2fsSubmitWritePageFtraceEvent)
5017   size_t total_size = 0;
5018 
5019   ::uint32_t cached_has_bits = 0;
5020   // Prevent compiler warnings about cached_has_bits being unused
5021   (void) cached_has_bits;
5022 
5023   cached_has_bits = _impl_._has_bits_[0];
5024   if (cached_has_bits & 0x0000001fu) {
5025     // optional uint64 dev = 1;
5026     if (cached_has_bits & 0x00000001u) {
5027       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
5028     }
5029 
5030     // optional uint64 ino = 2;
5031     if (cached_has_bits & 0x00000002u) {
5032       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ino());
5033     }
5034 
5035     // optional uint64 index = 4;
5036     if (cached_has_bits & 0x00000004u) {
5037       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_index());
5038     }
5039 
5040     // optional int32 type = 3;
5041     if (cached_has_bits & 0x00000008u) {
5042       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_type());
5043     }
5044 
5045     // optional uint32 block = 5;
5046     if (cached_has_bits & 0x00000010u) {
5047       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_block());
5048     }
5049 
5050   }
5051   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
5052     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
5053   }
5054   int cached_size = ::_pbi::ToCachedSize(total_size);
5055   SetCachedSize(cached_size);
5056   return total_size;
5057 }
5058 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)5059 void F2fsSubmitWritePageFtraceEvent::CheckTypeAndMergeFrom(
5060     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
5061   MergeFrom(*::_pbi::DownCast<const F2fsSubmitWritePageFtraceEvent*>(
5062       &from));
5063 }
5064 
MergeFrom(const F2fsSubmitWritePageFtraceEvent & from)5065 void F2fsSubmitWritePageFtraceEvent::MergeFrom(const F2fsSubmitWritePageFtraceEvent& from) {
5066   F2fsSubmitWritePageFtraceEvent* const _this = this;
5067   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.F2fsSubmitWritePageFtraceEvent)
5068   GOOGLE_DCHECK_NE(&from, _this);
5069   ::uint32_t cached_has_bits = 0;
5070   (void) cached_has_bits;
5071 
5072   cached_has_bits = from._impl_._has_bits_[0];
5073   if (cached_has_bits & 0x0000001fu) {
5074     if (cached_has_bits & 0x00000001u) {
5075       _this->_impl_.dev_ = from._impl_.dev_;
5076     }
5077     if (cached_has_bits & 0x00000002u) {
5078       _this->_impl_.ino_ = from._impl_.ino_;
5079     }
5080     if (cached_has_bits & 0x00000004u) {
5081       _this->_impl_.index_ = from._impl_.index_;
5082     }
5083     if (cached_has_bits & 0x00000008u) {
5084       _this->_impl_.type_ = from._impl_.type_;
5085     }
5086     if (cached_has_bits & 0x00000010u) {
5087       _this->_impl_.block_ = from._impl_.block_;
5088     }
5089     _this->_impl_._has_bits_[0] |= cached_has_bits;
5090   }
5091   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
5092 }
5093 
CopyFrom(const F2fsSubmitWritePageFtraceEvent & from)5094 void F2fsSubmitWritePageFtraceEvent::CopyFrom(const F2fsSubmitWritePageFtraceEvent& from) {
5095 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.F2fsSubmitWritePageFtraceEvent)
5096   if (&from == this) return;
5097   Clear();
5098   MergeFrom(from);
5099 }
5100 
IsInitialized() const5101 bool F2fsSubmitWritePageFtraceEvent::IsInitialized() const {
5102   return true;
5103 }
5104 
InternalSwap(F2fsSubmitWritePageFtraceEvent * other)5105 void F2fsSubmitWritePageFtraceEvent::InternalSwap(F2fsSubmitWritePageFtraceEvent* other) {
5106   using std::swap;
5107   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
5108   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
5109   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
5110       PROTOBUF_FIELD_OFFSET(F2fsSubmitWritePageFtraceEvent, _impl_.block_)
5111       + sizeof(F2fsSubmitWritePageFtraceEvent::_impl_.block_)  // NOLINT
5112       - PROTOBUF_FIELD_OFFSET(F2fsSubmitWritePageFtraceEvent, _impl_.dev_)>(
5113           reinterpret_cast<char*>(&_impl_.dev_),
5114           reinterpret_cast<char*>(&other->_impl_.dev_));
5115 }
5116 
GetTypeName() const5117 std::string F2fsSubmitWritePageFtraceEvent::GetTypeName() const {
5118   return "perfetto.protos.F2fsSubmitWritePageFtraceEvent";
5119 }
5120 
5121 
5122 // ===================================================================
5123 
5124 class F2fsSyncFileEnterFtraceEvent::_Internal {
5125  public:
5126   using HasBits = decltype(std::declval<F2fsSyncFileEnterFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)5127   static void set_has_dev(HasBits* has_bits) {
5128     (*has_bits)[0] |= 1u;
5129   }
set_has_ino(HasBits * has_bits)5130   static void set_has_ino(HasBits* has_bits) {
5131     (*has_bits)[0] |= 2u;
5132   }
set_has_pino(HasBits * has_bits)5133   static void set_has_pino(HasBits* has_bits) {
5134     (*has_bits)[0] |= 4u;
5135   }
set_has_mode(HasBits * has_bits)5136   static void set_has_mode(HasBits* has_bits) {
5137     (*has_bits)[0] |= 16u;
5138   }
set_has_size(HasBits * has_bits)5139   static void set_has_size(HasBits* has_bits) {
5140     (*has_bits)[0] |= 8u;
5141   }
set_has_nlink(HasBits * has_bits)5142   static void set_has_nlink(HasBits* has_bits) {
5143     (*has_bits)[0] |= 32u;
5144   }
set_has_blocks(HasBits * has_bits)5145   static void set_has_blocks(HasBits* has_bits) {
5146     (*has_bits)[0] |= 64u;
5147   }
set_has_advise(HasBits * has_bits)5148   static void set_has_advise(HasBits* has_bits) {
5149     (*has_bits)[0] |= 128u;
5150   }
5151 };
5152 
F2fsSyncFileEnterFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)5153 F2fsSyncFileEnterFtraceEvent::F2fsSyncFileEnterFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
5154                          bool is_message_owned)
5155   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
5156   SharedCtor(arena, is_message_owned);
5157   // @@protoc_insertion_point(arena_constructor:perfetto.protos.F2fsSyncFileEnterFtraceEvent)
5158 }
F2fsSyncFileEnterFtraceEvent(const F2fsSyncFileEnterFtraceEvent & from)5159 F2fsSyncFileEnterFtraceEvent::F2fsSyncFileEnterFtraceEvent(const F2fsSyncFileEnterFtraceEvent& from)
5160   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
5161   F2fsSyncFileEnterFtraceEvent* const _this = this; (void)_this;
5162   new (&_impl_) Impl_{
5163       decltype(_impl_._has_bits_){from._impl_._has_bits_}
5164     , /*decltype(_impl_._cached_size_)*/{}
5165     , decltype(_impl_.dev_){}
5166     , decltype(_impl_.ino_){}
5167     , decltype(_impl_.pino_){}
5168     , decltype(_impl_.size_){}
5169     , decltype(_impl_.mode_){}
5170     , decltype(_impl_.nlink_){}
5171     , decltype(_impl_.blocks_){}
5172     , decltype(_impl_.advise_){}};
5173 
5174   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
5175   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
5176     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.advise_) -
5177     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.advise_));
5178   // @@protoc_insertion_point(copy_constructor:perfetto.protos.F2fsSyncFileEnterFtraceEvent)
5179 }
5180 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)5181 inline void F2fsSyncFileEnterFtraceEvent::SharedCtor(
5182     ::_pb::Arena* arena, bool is_message_owned) {
5183   (void)arena;
5184   (void)is_message_owned;
5185   new (&_impl_) Impl_{
5186       decltype(_impl_._has_bits_){}
5187     , /*decltype(_impl_._cached_size_)*/{}
5188     , decltype(_impl_.dev_){::uint64_t{0u}}
5189     , decltype(_impl_.ino_){::uint64_t{0u}}
5190     , decltype(_impl_.pino_){::uint64_t{0u}}
5191     , decltype(_impl_.size_){::int64_t{0}}
5192     , decltype(_impl_.mode_){0u}
5193     , decltype(_impl_.nlink_){0u}
5194     , decltype(_impl_.blocks_){::uint64_t{0u}}
5195     , decltype(_impl_.advise_){0u}
5196   };
5197 }
5198 
~F2fsSyncFileEnterFtraceEvent()5199 F2fsSyncFileEnterFtraceEvent::~F2fsSyncFileEnterFtraceEvent() {
5200   // @@protoc_insertion_point(destructor:perfetto.protos.F2fsSyncFileEnterFtraceEvent)
5201   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
5202   (void)arena;
5203     return;
5204   }
5205   SharedDtor();
5206 }
5207 
SharedDtor()5208 inline void F2fsSyncFileEnterFtraceEvent::SharedDtor() {
5209   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
5210 }
5211 
SetCachedSize(int size) const5212 void F2fsSyncFileEnterFtraceEvent::SetCachedSize(int size) const {
5213   _impl_._cached_size_.Set(size);
5214 }
5215 
Clear()5216 void F2fsSyncFileEnterFtraceEvent::Clear() {
5217 // @@protoc_insertion_point(message_clear_start:perfetto.protos.F2fsSyncFileEnterFtraceEvent)
5218   ::uint32_t cached_has_bits = 0;
5219   // Prevent compiler warnings about cached_has_bits being unused
5220   (void) cached_has_bits;
5221 
5222   cached_has_bits = _impl_._has_bits_[0];
5223   if (cached_has_bits & 0x000000ffu) {
5224     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
5225         reinterpret_cast<char*>(&_impl_.advise_) -
5226         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.advise_));
5227   }
5228   _impl_._has_bits_.Clear();
5229   _internal_metadata_.Clear<std::string>();
5230 }
5231 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)5232 const char* F2fsSyncFileEnterFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
5233 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
5234   _Internal::HasBits has_bits{};
5235   while (!ctx->Done(&ptr)) {
5236     ::uint32_t tag;
5237     ptr = ::_pbi::ReadTag(ptr, &tag);
5238     switch (tag >> 3) {
5239       // optional uint64 dev = 1;
5240       case 1:
5241         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
5242           _Internal::set_has_dev(&has_bits);
5243           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
5244           CHK_(ptr);
5245         } else {
5246           goto handle_unusual;
5247         }
5248         continue;
5249       // optional uint64 ino = 2;
5250       case 2:
5251         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
5252           _Internal::set_has_ino(&has_bits);
5253           _impl_.ino_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
5254           CHK_(ptr);
5255         } else {
5256           goto handle_unusual;
5257         }
5258         continue;
5259       // optional uint64 pino = 3;
5260       case 3:
5261         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
5262           _Internal::set_has_pino(&has_bits);
5263           _impl_.pino_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
5264           CHK_(ptr);
5265         } else {
5266           goto handle_unusual;
5267         }
5268         continue;
5269       // optional uint32 mode = 4;
5270       case 4:
5271         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
5272           _Internal::set_has_mode(&has_bits);
5273           _impl_.mode_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
5274           CHK_(ptr);
5275         } else {
5276           goto handle_unusual;
5277         }
5278         continue;
5279       // optional int64 size = 5;
5280       case 5:
5281         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) {
5282           _Internal::set_has_size(&has_bits);
5283           _impl_.size_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
5284           CHK_(ptr);
5285         } else {
5286           goto handle_unusual;
5287         }
5288         continue;
5289       // optional uint32 nlink = 6;
5290       case 6:
5291         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 48)) {
5292           _Internal::set_has_nlink(&has_bits);
5293           _impl_.nlink_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
5294           CHK_(ptr);
5295         } else {
5296           goto handle_unusual;
5297         }
5298         continue;
5299       // optional uint64 blocks = 7;
5300       case 7:
5301         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 56)) {
5302           _Internal::set_has_blocks(&has_bits);
5303           _impl_.blocks_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
5304           CHK_(ptr);
5305         } else {
5306           goto handle_unusual;
5307         }
5308         continue;
5309       // optional uint32 advise = 8;
5310       case 8:
5311         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 64)) {
5312           _Internal::set_has_advise(&has_bits);
5313           _impl_.advise_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
5314           CHK_(ptr);
5315         } else {
5316           goto handle_unusual;
5317         }
5318         continue;
5319       default:
5320         goto handle_unusual;
5321     }  // switch
5322   handle_unusual:
5323     if ((tag == 0) || ((tag & 7) == 4)) {
5324       CHK_(ptr);
5325       ctx->SetLastTag(tag);
5326       goto message_done;
5327     }
5328     ptr = UnknownFieldParse(
5329         tag,
5330         _internal_metadata_.mutable_unknown_fields<std::string>(),
5331         ptr, ctx);
5332     CHK_(ptr != nullptr);
5333   }  // while
5334 message_done:
5335   _impl_._has_bits_.Or(has_bits);
5336   return ptr;
5337 failure:
5338   ptr = nullptr;
5339   goto message_done;
5340 #undef CHK_
5341 }
5342 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const5343 ::uint8_t* F2fsSyncFileEnterFtraceEvent::_InternalSerialize(
5344     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
5345   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.F2fsSyncFileEnterFtraceEvent)
5346   ::uint32_t cached_has_bits = 0;
5347   (void) cached_has_bits;
5348 
5349   cached_has_bits = _impl_._has_bits_[0];
5350   // optional uint64 dev = 1;
5351   if (cached_has_bits & 0x00000001u) {
5352     target = stream->EnsureSpace(target);
5353     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
5354   }
5355 
5356   // optional uint64 ino = 2;
5357   if (cached_has_bits & 0x00000002u) {
5358     target = stream->EnsureSpace(target);
5359     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_ino(), target);
5360   }
5361 
5362   // optional uint64 pino = 3;
5363   if (cached_has_bits & 0x00000004u) {
5364     target = stream->EnsureSpace(target);
5365     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(3, this->_internal_pino(), target);
5366   }
5367 
5368   // optional uint32 mode = 4;
5369   if (cached_has_bits & 0x00000010u) {
5370     target = stream->EnsureSpace(target);
5371     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_mode(), target);
5372   }
5373 
5374   // optional int64 size = 5;
5375   if (cached_has_bits & 0x00000008u) {
5376     target = stream->EnsureSpace(target);
5377     target = ::_pbi::WireFormatLite::WriteInt64ToArray(5, this->_internal_size(), target);
5378   }
5379 
5380   // optional uint32 nlink = 6;
5381   if (cached_has_bits & 0x00000020u) {
5382     target = stream->EnsureSpace(target);
5383     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_nlink(), target);
5384   }
5385 
5386   // optional uint64 blocks = 7;
5387   if (cached_has_bits & 0x00000040u) {
5388     target = stream->EnsureSpace(target);
5389     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(7, this->_internal_blocks(), target);
5390   }
5391 
5392   // optional uint32 advise = 8;
5393   if (cached_has_bits & 0x00000080u) {
5394     target = stream->EnsureSpace(target);
5395     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(8, this->_internal_advise(), target);
5396   }
5397 
5398   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
5399     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
5400         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
5401   }
5402   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.F2fsSyncFileEnterFtraceEvent)
5403   return target;
5404 }
5405 
ByteSizeLong() const5406 size_t F2fsSyncFileEnterFtraceEvent::ByteSizeLong() const {
5407 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.F2fsSyncFileEnterFtraceEvent)
5408   size_t total_size = 0;
5409 
5410   ::uint32_t cached_has_bits = 0;
5411   // Prevent compiler warnings about cached_has_bits being unused
5412   (void) cached_has_bits;
5413 
5414   cached_has_bits = _impl_._has_bits_[0];
5415   if (cached_has_bits & 0x000000ffu) {
5416     // optional uint64 dev = 1;
5417     if (cached_has_bits & 0x00000001u) {
5418       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
5419     }
5420 
5421     // optional uint64 ino = 2;
5422     if (cached_has_bits & 0x00000002u) {
5423       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ino());
5424     }
5425 
5426     // optional uint64 pino = 3;
5427     if (cached_has_bits & 0x00000004u) {
5428       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_pino());
5429     }
5430 
5431     // optional int64 size = 5;
5432     if (cached_has_bits & 0x00000008u) {
5433       total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_size());
5434     }
5435 
5436     // optional uint32 mode = 4;
5437     if (cached_has_bits & 0x00000010u) {
5438       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_mode());
5439     }
5440 
5441     // optional uint32 nlink = 6;
5442     if (cached_has_bits & 0x00000020u) {
5443       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_nlink());
5444     }
5445 
5446     // optional uint64 blocks = 7;
5447     if (cached_has_bits & 0x00000040u) {
5448       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_blocks());
5449     }
5450 
5451     // optional uint32 advise = 8;
5452     if (cached_has_bits & 0x00000080u) {
5453       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_advise());
5454     }
5455 
5456   }
5457   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
5458     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
5459   }
5460   int cached_size = ::_pbi::ToCachedSize(total_size);
5461   SetCachedSize(cached_size);
5462   return total_size;
5463 }
5464 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)5465 void F2fsSyncFileEnterFtraceEvent::CheckTypeAndMergeFrom(
5466     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
5467   MergeFrom(*::_pbi::DownCast<const F2fsSyncFileEnterFtraceEvent*>(
5468       &from));
5469 }
5470 
MergeFrom(const F2fsSyncFileEnterFtraceEvent & from)5471 void F2fsSyncFileEnterFtraceEvent::MergeFrom(const F2fsSyncFileEnterFtraceEvent& from) {
5472   F2fsSyncFileEnterFtraceEvent* const _this = this;
5473   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.F2fsSyncFileEnterFtraceEvent)
5474   GOOGLE_DCHECK_NE(&from, _this);
5475   ::uint32_t cached_has_bits = 0;
5476   (void) cached_has_bits;
5477 
5478   cached_has_bits = from._impl_._has_bits_[0];
5479   if (cached_has_bits & 0x000000ffu) {
5480     if (cached_has_bits & 0x00000001u) {
5481       _this->_impl_.dev_ = from._impl_.dev_;
5482     }
5483     if (cached_has_bits & 0x00000002u) {
5484       _this->_impl_.ino_ = from._impl_.ino_;
5485     }
5486     if (cached_has_bits & 0x00000004u) {
5487       _this->_impl_.pino_ = from._impl_.pino_;
5488     }
5489     if (cached_has_bits & 0x00000008u) {
5490       _this->_impl_.size_ = from._impl_.size_;
5491     }
5492     if (cached_has_bits & 0x00000010u) {
5493       _this->_impl_.mode_ = from._impl_.mode_;
5494     }
5495     if (cached_has_bits & 0x00000020u) {
5496       _this->_impl_.nlink_ = from._impl_.nlink_;
5497     }
5498     if (cached_has_bits & 0x00000040u) {
5499       _this->_impl_.blocks_ = from._impl_.blocks_;
5500     }
5501     if (cached_has_bits & 0x00000080u) {
5502       _this->_impl_.advise_ = from._impl_.advise_;
5503     }
5504     _this->_impl_._has_bits_[0] |= cached_has_bits;
5505   }
5506   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
5507 }
5508 
CopyFrom(const F2fsSyncFileEnterFtraceEvent & from)5509 void F2fsSyncFileEnterFtraceEvent::CopyFrom(const F2fsSyncFileEnterFtraceEvent& from) {
5510 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.F2fsSyncFileEnterFtraceEvent)
5511   if (&from == this) return;
5512   Clear();
5513   MergeFrom(from);
5514 }
5515 
IsInitialized() const5516 bool F2fsSyncFileEnterFtraceEvent::IsInitialized() const {
5517   return true;
5518 }
5519 
InternalSwap(F2fsSyncFileEnterFtraceEvent * other)5520 void F2fsSyncFileEnterFtraceEvent::InternalSwap(F2fsSyncFileEnterFtraceEvent* other) {
5521   using std::swap;
5522   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
5523   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
5524   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
5525       PROTOBUF_FIELD_OFFSET(F2fsSyncFileEnterFtraceEvent, _impl_.advise_)
5526       + sizeof(F2fsSyncFileEnterFtraceEvent::_impl_.advise_)  // NOLINT
5527       - PROTOBUF_FIELD_OFFSET(F2fsSyncFileEnterFtraceEvent, _impl_.dev_)>(
5528           reinterpret_cast<char*>(&_impl_.dev_),
5529           reinterpret_cast<char*>(&other->_impl_.dev_));
5530 }
5531 
GetTypeName() const5532 std::string F2fsSyncFileEnterFtraceEvent::GetTypeName() const {
5533   return "perfetto.protos.F2fsSyncFileEnterFtraceEvent";
5534 }
5535 
5536 
5537 // ===================================================================
5538 
5539 class F2fsSyncFileExitFtraceEvent::_Internal {
5540  public:
5541   using HasBits = decltype(std::declval<F2fsSyncFileExitFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)5542   static void set_has_dev(HasBits* has_bits) {
5543     (*has_bits)[0] |= 1u;
5544   }
set_has_ino(HasBits * has_bits)5545   static void set_has_ino(HasBits* has_bits) {
5546     (*has_bits)[0] |= 2u;
5547   }
set_has_need_cp(HasBits * has_bits)5548   static void set_has_need_cp(HasBits* has_bits) {
5549     (*has_bits)[0] |= 4u;
5550   }
set_has_datasync(HasBits * has_bits)5551   static void set_has_datasync(HasBits* has_bits) {
5552     (*has_bits)[0] |= 8u;
5553   }
set_has_ret(HasBits * has_bits)5554   static void set_has_ret(HasBits* has_bits) {
5555     (*has_bits)[0] |= 16u;
5556   }
set_has_cp_reason(HasBits * has_bits)5557   static void set_has_cp_reason(HasBits* has_bits) {
5558     (*has_bits)[0] |= 32u;
5559   }
5560 };
5561 
F2fsSyncFileExitFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)5562 F2fsSyncFileExitFtraceEvent::F2fsSyncFileExitFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
5563                          bool is_message_owned)
5564   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
5565   SharedCtor(arena, is_message_owned);
5566   // @@protoc_insertion_point(arena_constructor:perfetto.protos.F2fsSyncFileExitFtraceEvent)
5567 }
F2fsSyncFileExitFtraceEvent(const F2fsSyncFileExitFtraceEvent & from)5568 F2fsSyncFileExitFtraceEvent::F2fsSyncFileExitFtraceEvent(const F2fsSyncFileExitFtraceEvent& from)
5569   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
5570   F2fsSyncFileExitFtraceEvent* const _this = this; (void)_this;
5571   new (&_impl_) Impl_{
5572       decltype(_impl_._has_bits_){from._impl_._has_bits_}
5573     , /*decltype(_impl_._cached_size_)*/{}
5574     , decltype(_impl_.dev_){}
5575     , decltype(_impl_.ino_){}
5576     , decltype(_impl_.need_cp_){}
5577     , decltype(_impl_.datasync_){}
5578     , decltype(_impl_.ret_){}
5579     , decltype(_impl_.cp_reason_){}};
5580 
5581   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
5582   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
5583     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.cp_reason_) -
5584     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.cp_reason_));
5585   // @@protoc_insertion_point(copy_constructor:perfetto.protos.F2fsSyncFileExitFtraceEvent)
5586 }
5587 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)5588 inline void F2fsSyncFileExitFtraceEvent::SharedCtor(
5589     ::_pb::Arena* arena, bool is_message_owned) {
5590   (void)arena;
5591   (void)is_message_owned;
5592   new (&_impl_) Impl_{
5593       decltype(_impl_._has_bits_){}
5594     , /*decltype(_impl_._cached_size_)*/{}
5595     , decltype(_impl_.dev_){::uint64_t{0u}}
5596     , decltype(_impl_.ino_){::uint64_t{0u}}
5597     , decltype(_impl_.need_cp_){0u}
5598     , decltype(_impl_.datasync_){0}
5599     , decltype(_impl_.ret_){0}
5600     , decltype(_impl_.cp_reason_){0}
5601   };
5602 }
5603 
~F2fsSyncFileExitFtraceEvent()5604 F2fsSyncFileExitFtraceEvent::~F2fsSyncFileExitFtraceEvent() {
5605   // @@protoc_insertion_point(destructor:perfetto.protos.F2fsSyncFileExitFtraceEvent)
5606   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
5607   (void)arena;
5608     return;
5609   }
5610   SharedDtor();
5611 }
5612 
SharedDtor()5613 inline void F2fsSyncFileExitFtraceEvent::SharedDtor() {
5614   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
5615 }
5616 
SetCachedSize(int size) const5617 void F2fsSyncFileExitFtraceEvent::SetCachedSize(int size) const {
5618   _impl_._cached_size_.Set(size);
5619 }
5620 
Clear()5621 void F2fsSyncFileExitFtraceEvent::Clear() {
5622 // @@protoc_insertion_point(message_clear_start:perfetto.protos.F2fsSyncFileExitFtraceEvent)
5623   ::uint32_t cached_has_bits = 0;
5624   // Prevent compiler warnings about cached_has_bits being unused
5625   (void) cached_has_bits;
5626 
5627   cached_has_bits = _impl_._has_bits_[0];
5628   if (cached_has_bits & 0x0000003fu) {
5629     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
5630         reinterpret_cast<char*>(&_impl_.cp_reason_) -
5631         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.cp_reason_));
5632   }
5633   _impl_._has_bits_.Clear();
5634   _internal_metadata_.Clear<std::string>();
5635 }
5636 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)5637 const char* F2fsSyncFileExitFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
5638 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
5639   _Internal::HasBits has_bits{};
5640   while (!ctx->Done(&ptr)) {
5641     ::uint32_t tag;
5642     ptr = ::_pbi::ReadTag(ptr, &tag);
5643     switch (tag >> 3) {
5644       // optional uint64 dev = 1;
5645       case 1:
5646         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
5647           _Internal::set_has_dev(&has_bits);
5648           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
5649           CHK_(ptr);
5650         } else {
5651           goto handle_unusual;
5652         }
5653         continue;
5654       // optional uint64 ino = 2;
5655       case 2:
5656         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
5657           _Internal::set_has_ino(&has_bits);
5658           _impl_.ino_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
5659           CHK_(ptr);
5660         } else {
5661           goto handle_unusual;
5662         }
5663         continue;
5664       // optional uint32 need_cp = 3;
5665       case 3:
5666         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
5667           _Internal::set_has_need_cp(&has_bits);
5668           _impl_.need_cp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
5669           CHK_(ptr);
5670         } else {
5671           goto handle_unusual;
5672         }
5673         continue;
5674       // optional int32 datasync = 4;
5675       case 4:
5676         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
5677           _Internal::set_has_datasync(&has_bits);
5678           _impl_.datasync_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
5679           CHK_(ptr);
5680         } else {
5681           goto handle_unusual;
5682         }
5683         continue;
5684       // optional int32 ret = 5;
5685       case 5:
5686         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) {
5687           _Internal::set_has_ret(&has_bits);
5688           _impl_.ret_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
5689           CHK_(ptr);
5690         } else {
5691           goto handle_unusual;
5692         }
5693         continue;
5694       // optional int32 cp_reason = 6;
5695       case 6:
5696         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 48)) {
5697           _Internal::set_has_cp_reason(&has_bits);
5698           _impl_.cp_reason_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
5699           CHK_(ptr);
5700         } else {
5701           goto handle_unusual;
5702         }
5703         continue;
5704       default:
5705         goto handle_unusual;
5706     }  // switch
5707   handle_unusual:
5708     if ((tag == 0) || ((tag & 7) == 4)) {
5709       CHK_(ptr);
5710       ctx->SetLastTag(tag);
5711       goto message_done;
5712     }
5713     ptr = UnknownFieldParse(
5714         tag,
5715         _internal_metadata_.mutable_unknown_fields<std::string>(),
5716         ptr, ctx);
5717     CHK_(ptr != nullptr);
5718   }  // while
5719 message_done:
5720   _impl_._has_bits_.Or(has_bits);
5721   return ptr;
5722 failure:
5723   ptr = nullptr;
5724   goto message_done;
5725 #undef CHK_
5726 }
5727 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const5728 ::uint8_t* F2fsSyncFileExitFtraceEvent::_InternalSerialize(
5729     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
5730   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.F2fsSyncFileExitFtraceEvent)
5731   ::uint32_t cached_has_bits = 0;
5732   (void) cached_has_bits;
5733 
5734   cached_has_bits = _impl_._has_bits_[0];
5735   // optional uint64 dev = 1;
5736   if (cached_has_bits & 0x00000001u) {
5737     target = stream->EnsureSpace(target);
5738     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
5739   }
5740 
5741   // optional uint64 ino = 2;
5742   if (cached_has_bits & 0x00000002u) {
5743     target = stream->EnsureSpace(target);
5744     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_ino(), target);
5745   }
5746 
5747   // optional uint32 need_cp = 3;
5748   if (cached_has_bits & 0x00000004u) {
5749     target = stream->EnsureSpace(target);
5750     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_need_cp(), target);
5751   }
5752 
5753   // optional int32 datasync = 4;
5754   if (cached_has_bits & 0x00000008u) {
5755     target = stream->EnsureSpace(target);
5756     target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_datasync(), target);
5757   }
5758 
5759   // optional int32 ret = 5;
5760   if (cached_has_bits & 0x00000010u) {
5761     target = stream->EnsureSpace(target);
5762     target = ::_pbi::WireFormatLite::WriteInt32ToArray(5, this->_internal_ret(), target);
5763   }
5764 
5765   // optional int32 cp_reason = 6;
5766   if (cached_has_bits & 0x00000020u) {
5767     target = stream->EnsureSpace(target);
5768     target = ::_pbi::WireFormatLite::WriteInt32ToArray(6, this->_internal_cp_reason(), target);
5769   }
5770 
5771   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
5772     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
5773         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
5774   }
5775   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.F2fsSyncFileExitFtraceEvent)
5776   return target;
5777 }
5778 
ByteSizeLong() const5779 size_t F2fsSyncFileExitFtraceEvent::ByteSizeLong() const {
5780 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.F2fsSyncFileExitFtraceEvent)
5781   size_t total_size = 0;
5782 
5783   ::uint32_t cached_has_bits = 0;
5784   // Prevent compiler warnings about cached_has_bits being unused
5785   (void) cached_has_bits;
5786 
5787   cached_has_bits = _impl_._has_bits_[0];
5788   if (cached_has_bits & 0x0000003fu) {
5789     // optional uint64 dev = 1;
5790     if (cached_has_bits & 0x00000001u) {
5791       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
5792     }
5793 
5794     // optional uint64 ino = 2;
5795     if (cached_has_bits & 0x00000002u) {
5796       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ino());
5797     }
5798 
5799     // optional uint32 need_cp = 3;
5800     if (cached_has_bits & 0x00000004u) {
5801       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_need_cp());
5802     }
5803 
5804     // optional int32 datasync = 4;
5805     if (cached_has_bits & 0x00000008u) {
5806       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_datasync());
5807     }
5808 
5809     // optional int32 ret = 5;
5810     if (cached_has_bits & 0x00000010u) {
5811       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_ret());
5812     }
5813 
5814     // optional int32 cp_reason = 6;
5815     if (cached_has_bits & 0x00000020u) {
5816       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_cp_reason());
5817     }
5818 
5819   }
5820   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
5821     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
5822   }
5823   int cached_size = ::_pbi::ToCachedSize(total_size);
5824   SetCachedSize(cached_size);
5825   return total_size;
5826 }
5827 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)5828 void F2fsSyncFileExitFtraceEvent::CheckTypeAndMergeFrom(
5829     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
5830   MergeFrom(*::_pbi::DownCast<const F2fsSyncFileExitFtraceEvent*>(
5831       &from));
5832 }
5833 
MergeFrom(const F2fsSyncFileExitFtraceEvent & from)5834 void F2fsSyncFileExitFtraceEvent::MergeFrom(const F2fsSyncFileExitFtraceEvent& from) {
5835   F2fsSyncFileExitFtraceEvent* const _this = this;
5836   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.F2fsSyncFileExitFtraceEvent)
5837   GOOGLE_DCHECK_NE(&from, _this);
5838   ::uint32_t cached_has_bits = 0;
5839   (void) cached_has_bits;
5840 
5841   cached_has_bits = from._impl_._has_bits_[0];
5842   if (cached_has_bits & 0x0000003fu) {
5843     if (cached_has_bits & 0x00000001u) {
5844       _this->_impl_.dev_ = from._impl_.dev_;
5845     }
5846     if (cached_has_bits & 0x00000002u) {
5847       _this->_impl_.ino_ = from._impl_.ino_;
5848     }
5849     if (cached_has_bits & 0x00000004u) {
5850       _this->_impl_.need_cp_ = from._impl_.need_cp_;
5851     }
5852     if (cached_has_bits & 0x00000008u) {
5853       _this->_impl_.datasync_ = from._impl_.datasync_;
5854     }
5855     if (cached_has_bits & 0x00000010u) {
5856       _this->_impl_.ret_ = from._impl_.ret_;
5857     }
5858     if (cached_has_bits & 0x00000020u) {
5859       _this->_impl_.cp_reason_ = from._impl_.cp_reason_;
5860     }
5861     _this->_impl_._has_bits_[0] |= cached_has_bits;
5862   }
5863   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
5864 }
5865 
CopyFrom(const F2fsSyncFileExitFtraceEvent & from)5866 void F2fsSyncFileExitFtraceEvent::CopyFrom(const F2fsSyncFileExitFtraceEvent& from) {
5867 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.F2fsSyncFileExitFtraceEvent)
5868   if (&from == this) return;
5869   Clear();
5870   MergeFrom(from);
5871 }
5872 
IsInitialized() const5873 bool F2fsSyncFileExitFtraceEvent::IsInitialized() const {
5874   return true;
5875 }
5876 
InternalSwap(F2fsSyncFileExitFtraceEvent * other)5877 void F2fsSyncFileExitFtraceEvent::InternalSwap(F2fsSyncFileExitFtraceEvent* other) {
5878   using std::swap;
5879   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
5880   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
5881   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
5882       PROTOBUF_FIELD_OFFSET(F2fsSyncFileExitFtraceEvent, _impl_.cp_reason_)
5883       + sizeof(F2fsSyncFileExitFtraceEvent::_impl_.cp_reason_)  // NOLINT
5884       - PROTOBUF_FIELD_OFFSET(F2fsSyncFileExitFtraceEvent, _impl_.dev_)>(
5885           reinterpret_cast<char*>(&_impl_.dev_),
5886           reinterpret_cast<char*>(&other->_impl_.dev_));
5887 }
5888 
GetTypeName() const5889 std::string F2fsSyncFileExitFtraceEvent::GetTypeName() const {
5890   return "perfetto.protos.F2fsSyncFileExitFtraceEvent";
5891 }
5892 
5893 
5894 // ===================================================================
5895 
5896 class F2fsSyncFsFtraceEvent::_Internal {
5897  public:
5898   using HasBits = decltype(std::declval<F2fsSyncFsFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)5899   static void set_has_dev(HasBits* has_bits) {
5900     (*has_bits)[0] |= 1u;
5901   }
set_has_dirty(HasBits * has_bits)5902   static void set_has_dirty(HasBits* has_bits) {
5903     (*has_bits)[0] |= 2u;
5904   }
set_has_wait(HasBits * has_bits)5905   static void set_has_wait(HasBits* has_bits) {
5906     (*has_bits)[0] |= 4u;
5907   }
5908 };
5909 
F2fsSyncFsFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)5910 F2fsSyncFsFtraceEvent::F2fsSyncFsFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
5911                          bool is_message_owned)
5912   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
5913   SharedCtor(arena, is_message_owned);
5914   // @@protoc_insertion_point(arena_constructor:perfetto.protos.F2fsSyncFsFtraceEvent)
5915 }
F2fsSyncFsFtraceEvent(const F2fsSyncFsFtraceEvent & from)5916 F2fsSyncFsFtraceEvent::F2fsSyncFsFtraceEvent(const F2fsSyncFsFtraceEvent& from)
5917   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
5918   F2fsSyncFsFtraceEvent* const _this = this; (void)_this;
5919   new (&_impl_) Impl_{
5920       decltype(_impl_._has_bits_){from._impl_._has_bits_}
5921     , /*decltype(_impl_._cached_size_)*/{}
5922     , decltype(_impl_.dev_){}
5923     , decltype(_impl_.dirty_){}
5924     , decltype(_impl_.wait_){}};
5925 
5926   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
5927   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
5928     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.wait_) -
5929     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.wait_));
5930   // @@protoc_insertion_point(copy_constructor:perfetto.protos.F2fsSyncFsFtraceEvent)
5931 }
5932 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)5933 inline void F2fsSyncFsFtraceEvent::SharedCtor(
5934     ::_pb::Arena* arena, bool is_message_owned) {
5935   (void)arena;
5936   (void)is_message_owned;
5937   new (&_impl_) Impl_{
5938       decltype(_impl_._has_bits_){}
5939     , /*decltype(_impl_._cached_size_)*/{}
5940     , decltype(_impl_.dev_){::uint64_t{0u}}
5941     , decltype(_impl_.dirty_){0}
5942     , decltype(_impl_.wait_){0}
5943   };
5944 }
5945 
~F2fsSyncFsFtraceEvent()5946 F2fsSyncFsFtraceEvent::~F2fsSyncFsFtraceEvent() {
5947   // @@protoc_insertion_point(destructor:perfetto.protos.F2fsSyncFsFtraceEvent)
5948   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
5949   (void)arena;
5950     return;
5951   }
5952   SharedDtor();
5953 }
5954 
SharedDtor()5955 inline void F2fsSyncFsFtraceEvent::SharedDtor() {
5956   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
5957 }
5958 
SetCachedSize(int size) const5959 void F2fsSyncFsFtraceEvent::SetCachedSize(int size) const {
5960   _impl_._cached_size_.Set(size);
5961 }
5962 
Clear()5963 void F2fsSyncFsFtraceEvent::Clear() {
5964 // @@protoc_insertion_point(message_clear_start:perfetto.protos.F2fsSyncFsFtraceEvent)
5965   ::uint32_t cached_has_bits = 0;
5966   // Prevent compiler warnings about cached_has_bits being unused
5967   (void) cached_has_bits;
5968 
5969   cached_has_bits = _impl_._has_bits_[0];
5970   if (cached_has_bits & 0x00000007u) {
5971     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
5972         reinterpret_cast<char*>(&_impl_.wait_) -
5973         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.wait_));
5974   }
5975   _impl_._has_bits_.Clear();
5976   _internal_metadata_.Clear<std::string>();
5977 }
5978 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)5979 const char* F2fsSyncFsFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
5980 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
5981   _Internal::HasBits has_bits{};
5982   while (!ctx->Done(&ptr)) {
5983     ::uint32_t tag;
5984     ptr = ::_pbi::ReadTag(ptr, &tag);
5985     switch (tag >> 3) {
5986       // optional uint64 dev = 1;
5987       case 1:
5988         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
5989           _Internal::set_has_dev(&has_bits);
5990           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
5991           CHK_(ptr);
5992         } else {
5993           goto handle_unusual;
5994         }
5995         continue;
5996       // optional int32 dirty = 2;
5997       case 2:
5998         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
5999           _Internal::set_has_dirty(&has_bits);
6000           _impl_.dirty_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
6001           CHK_(ptr);
6002         } else {
6003           goto handle_unusual;
6004         }
6005         continue;
6006       // optional int32 wait = 3;
6007       case 3:
6008         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
6009           _Internal::set_has_wait(&has_bits);
6010           _impl_.wait_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
6011           CHK_(ptr);
6012         } else {
6013           goto handle_unusual;
6014         }
6015         continue;
6016       default:
6017         goto handle_unusual;
6018     }  // switch
6019   handle_unusual:
6020     if ((tag == 0) || ((tag & 7) == 4)) {
6021       CHK_(ptr);
6022       ctx->SetLastTag(tag);
6023       goto message_done;
6024     }
6025     ptr = UnknownFieldParse(
6026         tag,
6027         _internal_metadata_.mutable_unknown_fields<std::string>(),
6028         ptr, ctx);
6029     CHK_(ptr != nullptr);
6030   }  // while
6031 message_done:
6032   _impl_._has_bits_.Or(has_bits);
6033   return ptr;
6034 failure:
6035   ptr = nullptr;
6036   goto message_done;
6037 #undef CHK_
6038 }
6039 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const6040 ::uint8_t* F2fsSyncFsFtraceEvent::_InternalSerialize(
6041     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
6042   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.F2fsSyncFsFtraceEvent)
6043   ::uint32_t cached_has_bits = 0;
6044   (void) cached_has_bits;
6045 
6046   cached_has_bits = _impl_._has_bits_[0];
6047   // optional uint64 dev = 1;
6048   if (cached_has_bits & 0x00000001u) {
6049     target = stream->EnsureSpace(target);
6050     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
6051   }
6052 
6053   // optional int32 dirty = 2;
6054   if (cached_has_bits & 0x00000002u) {
6055     target = stream->EnsureSpace(target);
6056     target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_dirty(), target);
6057   }
6058 
6059   // optional int32 wait = 3;
6060   if (cached_has_bits & 0x00000004u) {
6061     target = stream->EnsureSpace(target);
6062     target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_wait(), target);
6063   }
6064 
6065   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
6066     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
6067         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
6068   }
6069   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.F2fsSyncFsFtraceEvent)
6070   return target;
6071 }
6072 
ByteSizeLong() const6073 size_t F2fsSyncFsFtraceEvent::ByteSizeLong() const {
6074 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.F2fsSyncFsFtraceEvent)
6075   size_t total_size = 0;
6076 
6077   ::uint32_t cached_has_bits = 0;
6078   // Prevent compiler warnings about cached_has_bits being unused
6079   (void) cached_has_bits;
6080 
6081   cached_has_bits = _impl_._has_bits_[0];
6082   if (cached_has_bits & 0x00000007u) {
6083     // optional uint64 dev = 1;
6084     if (cached_has_bits & 0x00000001u) {
6085       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
6086     }
6087 
6088     // optional int32 dirty = 2;
6089     if (cached_has_bits & 0x00000002u) {
6090       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_dirty());
6091     }
6092 
6093     // optional int32 wait = 3;
6094     if (cached_has_bits & 0x00000004u) {
6095       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_wait());
6096     }
6097 
6098   }
6099   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
6100     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
6101   }
6102   int cached_size = ::_pbi::ToCachedSize(total_size);
6103   SetCachedSize(cached_size);
6104   return total_size;
6105 }
6106 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)6107 void F2fsSyncFsFtraceEvent::CheckTypeAndMergeFrom(
6108     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
6109   MergeFrom(*::_pbi::DownCast<const F2fsSyncFsFtraceEvent*>(
6110       &from));
6111 }
6112 
MergeFrom(const F2fsSyncFsFtraceEvent & from)6113 void F2fsSyncFsFtraceEvent::MergeFrom(const F2fsSyncFsFtraceEvent& from) {
6114   F2fsSyncFsFtraceEvent* const _this = this;
6115   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.F2fsSyncFsFtraceEvent)
6116   GOOGLE_DCHECK_NE(&from, _this);
6117   ::uint32_t cached_has_bits = 0;
6118   (void) cached_has_bits;
6119 
6120   cached_has_bits = from._impl_._has_bits_[0];
6121   if (cached_has_bits & 0x00000007u) {
6122     if (cached_has_bits & 0x00000001u) {
6123       _this->_impl_.dev_ = from._impl_.dev_;
6124     }
6125     if (cached_has_bits & 0x00000002u) {
6126       _this->_impl_.dirty_ = from._impl_.dirty_;
6127     }
6128     if (cached_has_bits & 0x00000004u) {
6129       _this->_impl_.wait_ = from._impl_.wait_;
6130     }
6131     _this->_impl_._has_bits_[0] |= cached_has_bits;
6132   }
6133   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
6134 }
6135 
CopyFrom(const F2fsSyncFsFtraceEvent & from)6136 void F2fsSyncFsFtraceEvent::CopyFrom(const F2fsSyncFsFtraceEvent& from) {
6137 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.F2fsSyncFsFtraceEvent)
6138   if (&from == this) return;
6139   Clear();
6140   MergeFrom(from);
6141 }
6142 
IsInitialized() const6143 bool F2fsSyncFsFtraceEvent::IsInitialized() const {
6144   return true;
6145 }
6146 
InternalSwap(F2fsSyncFsFtraceEvent * other)6147 void F2fsSyncFsFtraceEvent::InternalSwap(F2fsSyncFsFtraceEvent* other) {
6148   using std::swap;
6149   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
6150   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
6151   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
6152       PROTOBUF_FIELD_OFFSET(F2fsSyncFsFtraceEvent, _impl_.wait_)
6153       + sizeof(F2fsSyncFsFtraceEvent::_impl_.wait_)  // NOLINT
6154       - PROTOBUF_FIELD_OFFSET(F2fsSyncFsFtraceEvent, _impl_.dev_)>(
6155           reinterpret_cast<char*>(&_impl_.dev_),
6156           reinterpret_cast<char*>(&other->_impl_.dev_));
6157 }
6158 
GetTypeName() const6159 std::string F2fsSyncFsFtraceEvent::GetTypeName() const {
6160   return "perfetto.protos.F2fsSyncFsFtraceEvent";
6161 }
6162 
6163 
6164 // ===================================================================
6165 
6166 class F2fsTruncateFtraceEvent::_Internal {
6167  public:
6168   using HasBits = decltype(std::declval<F2fsTruncateFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)6169   static void set_has_dev(HasBits* has_bits) {
6170     (*has_bits)[0] |= 1u;
6171   }
set_has_ino(HasBits * has_bits)6172   static void set_has_ino(HasBits* has_bits) {
6173     (*has_bits)[0] |= 2u;
6174   }
set_has_pino(HasBits * has_bits)6175   static void set_has_pino(HasBits* has_bits) {
6176     (*has_bits)[0] |= 4u;
6177   }
set_has_mode(HasBits * has_bits)6178   static void set_has_mode(HasBits* has_bits) {
6179     (*has_bits)[0] |= 16u;
6180   }
set_has_size(HasBits * has_bits)6181   static void set_has_size(HasBits* has_bits) {
6182     (*has_bits)[0] |= 8u;
6183   }
set_has_nlink(HasBits * has_bits)6184   static void set_has_nlink(HasBits* has_bits) {
6185     (*has_bits)[0] |= 32u;
6186   }
set_has_blocks(HasBits * has_bits)6187   static void set_has_blocks(HasBits* has_bits) {
6188     (*has_bits)[0] |= 64u;
6189   }
set_has_advise(HasBits * has_bits)6190   static void set_has_advise(HasBits* has_bits) {
6191     (*has_bits)[0] |= 128u;
6192   }
6193 };
6194 
F2fsTruncateFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)6195 F2fsTruncateFtraceEvent::F2fsTruncateFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
6196                          bool is_message_owned)
6197   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
6198   SharedCtor(arena, is_message_owned);
6199   // @@protoc_insertion_point(arena_constructor:perfetto.protos.F2fsTruncateFtraceEvent)
6200 }
F2fsTruncateFtraceEvent(const F2fsTruncateFtraceEvent & from)6201 F2fsTruncateFtraceEvent::F2fsTruncateFtraceEvent(const F2fsTruncateFtraceEvent& from)
6202   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
6203   F2fsTruncateFtraceEvent* const _this = this; (void)_this;
6204   new (&_impl_) Impl_{
6205       decltype(_impl_._has_bits_){from._impl_._has_bits_}
6206     , /*decltype(_impl_._cached_size_)*/{}
6207     , decltype(_impl_.dev_){}
6208     , decltype(_impl_.ino_){}
6209     , decltype(_impl_.pino_){}
6210     , decltype(_impl_.size_){}
6211     , decltype(_impl_.mode_){}
6212     , decltype(_impl_.nlink_){}
6213     , decltype(_impl_.blocks_){}
6214     , decltype(_impl_.advise_){}};
6215 
6216   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
6217   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
6218     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.advise_) -
6219     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.advise_));
6220   // @@protoc_insertion_point(copy_constructor:perfetto.protos.F2fsTruncateFtraceEvent)
6221 }
6222 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)6223 inline void F2fsTruncateFtraceEvent::SharedCtor(
6224     ::_pb::Arena* arena, bool is_message_owned) {
6225   (void)arena;
6226   (void)is_message_owned;
6227   new (&_impl_) Impl_{
6228       decltype(_impl_._has_bits_){}
6229     , /*decltype(_impl_._cached_size_)*/{}
6230     , decltype(_impl_.dev_){::uint64_t{0u}}
6231     , decltype(_impl_.ino_){::uint64_t{0u}}
6232     , decltype(_impl_.pino_){::uint64_t{0u}}
6233     , decltype(_impl_.size_){::int64_t{0}}
6234     , decltype(_impl_.mode_){0u}
6235     , decltype(_impl_.nlink_){0u}
6236     , decltype(_impl_.blocks_){::uint64_t{0u}}
6237     , decltype(_impl_.advise_){0u}
6238   };
6239 }
6240 
~F2fsTruncateFtraceEvent()6241 F2fsTruncateFtraceEvent::~F2fsTruncateFtraceEvent() {
6242   // @@protoc_insertion_point(destructor:perfetto.protos.F2fsTruncateFtraceEvent)
6243   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
6244   (void)arena;
6245     return;
6246   }
6247   SharedDtor();
6248 }
6249 
SharedDtor()6250 inline void F2fsTruncateFtraceEvent::SharedDtor() {
6251   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
6252 }
6253 
SetCachedSize(int size) const6254 void F2fsTruncateFtraceEvent::SetCachedSize(int size) const {
6255   _impl_._cached_size_.Set(size);
6256 }
6257 
Clear()6258 void F2fsTruncateFtraceEvent::Clear() {
6259 // @@protoc_insertion_point(message_clear_start:perfetto.protos.F2fsTruncateFtraceEvent)
6260   ::uint32_t cached_has_bits = 0;
6261   // Prevent compiler warnings about cached_has_bits being unused
6262   (void) cached_has_bits;
6263 
6264   cached_has_bits = _impl_._has_bits_[0];
6265   if (cached_has_bits & 0x000000ffu) {
6266     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
6267         reinterpret_cast<char*>(&_impl_.advise_) -
6268         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.advise_));
6269   }
6270   _impl_._has_bits_.Clear();
6271   _internal_metadata_.Clear<std::string>();
6272 }
6273 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)6274 const char* F2fsTruncateFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
6275 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
6276   _Internal::HasBits has_bits{};
6277   while (!ctx->Done(&ptr)) {
6278     ::uint32_t tag;
6279     ptr = ::_pbi::ReadTag(ptr, &tag);
6280     switch (tag >> 3) {
6281       // optional uint64 dev = 1;
6282       case 1:
6283         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
6284           _Internal::set_has_dev(&has_bits);
6285           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
6286           CHK_(ptr);
6287         } else {
6288           goto handle_unusual;
6289         }
6290         continue;
6291       // optional uint64 ino = 2;
6292       case 2:
6293         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
6294           _Internal::set_has_ino(&has_bits);
6295           _impl_.ino_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
6296           CHK_(ptr);
6297         } else {
6298           goto handle_unusual;
6299         }
6300         continue;
6301       // optional uint64 pino = 3;
6302       case 3:
6303         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
6304           _Internal::set_has_pino(&has_bits);
6305           _impl_.pino_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
6306           CHK_(ptr);
6307         } else {
6308           goto handle_unusual;
6309         }
6310         continue;
6311       // optional uint32 mode = 4;
6312       case 4:
6313         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
6314           _Internal::set_has_mode(&has_bits);
6315           _impl_.mode_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
6316           CHK_(ptr);
6317         } else {
6318           goto handle_unusual;
6319         }
6320         continue;
6321       // optional int64 size = 5;
6322       case 5:
6323         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) {
6324           _Internal::set_has_size(&has_bits);
6325           _impl_.size_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
6326           CHK_(ptr);
6327         } else {
6328           goto handle_unusual;
6329         }
6330         continue;
6331       // optional uint32 nlink = 6;
6332       case 6:
6333         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 48)) {
6334           _Internal::set_has_nlink(&has_bits);
6335           _impl_.nlink_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
6336           CHK_(ptr);
6337         } else {
6338           goto handle_unusual;
6339         }
6340         continue;
6341       // optional uint64 blocks = 7;
6342       case 7:
6343         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 56)) {
6344           _Internal::set_has_blocks(&has_bits);
6345           _impl_.blocks_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
6346           CHK_(ptr);
6347         } else {
6348           goto handle_unusual;
6349         }
6350         continue;
6351       // optional uint32 advise = 8;
6352       case 8:
6353         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 64)) {
6354           _Internal::set_has_advise(&has_bits);
6355           _impl_.advise_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
6356           CHK_(ptr);
6357         } else {
6358           goto handle_unusual;
6359         }
6360         continue;
6361       default:
6362         goto handle_unusual;
6363     }  // switch
6364   handle_unusual:
6365     if ((tag == 0) || ((tag & 7) == 4)) {
6366       CHK_(ptr);
6367       ctx->SetLastTag(tag);
6368       goto message_done;
6369     }
6370     ptr = UnknownFieldParse(
6371         tag,
6372         _internal_metadata_.mutable_unknown_fields<std::string>(),
6373         ptr, ctx);
6374     CHK_(ptr != nullptr);
6375   }  // while
6376 message_done:
6377   _impl_._has_bits_.Or(has_bits);
6378   return ptr;
6379 failure:
6380   ptr = nullptr;
6381   goto message_done;
6382 #undef CHK_
6383 }
6384 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const6385 ::uint8_t* F2fsTruncateFtraceEvent::_InternalSerialize(
6386     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
6387   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.F2fsTruncateFtraceEvent)
6388   ::uint32_t cached_has_bits = 0;
6389   (void) cached_has_bits;
6390 
6391   cached_has_bits = _impl_._has_bits_[0];
6392   // optional uint64 dev = 1;
6393   if (cached_has_bits & 0x00000001u) {
6394     target = stream->EnsureSpace(target);
6395     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
6396   }
6397 
6398   // optional uint64 ino = 2;
6399   if (cached_has_bits & 0x00000002u) {
6400     target = stream->EnsureSpace(target);
6401     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_ino(), target);
6402   }
6403 
6404   // optional uint64 pino = 3;
6405   if (cached_has_bits & 0x00000004u) {
6406     target = stream->EnsureSpace(target);
6407     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(3, this->_internal_pino(), target);
6408   }
6409 
6410   // optional uint32 mode = 4;
6411   if (cached_has_bits & 0x00000010u) {
6412     target = stream->EnsureSpace(target);
6413     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_mode(), target);
6414   }
6415 
6416   // optional int64 size = 5;
6417   if (cached_has_bits & 0x00000008u) {
6418     target = stream->EnsureSpace(target);
6419     target = ::_pbi::WireFormatLite::WriteInt64ToArray(5, this->_internal_size(), target);
6420   }
6421 
6422   // optional uint32 nlink = 6;
6423   if (cached_has_bits & 0x00000020u) {
6424     target = stream->EnsureSpace(target);
6425     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_nlink(), target);
6426   }
6427 
6428   // optional uint64 blocks = 7;
6429   if (cached_has_bits & 0x00000040u) {
6430     target = stream->EnsureSpace(target);
6431     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(7, this->_internal_blocks(), target);
6432   }
6433 
6434   // optional uint32 advise = 8;
6435   if (cached_has_bits & 0x00000080u) {
6436     target = stream->EnsureSpace(target);
6437     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(8, this->_internal_advise(), target);
6438   }
6439 
6440   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
6441     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
6442         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
6443   }
6444   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.F2fsTruncateFtraceEvent)
6445   return target;
6446 }
6447 
ByteSizeLong() const6448 size_t F2fsTruncateFtraceEvent::ByteSizeLong() const {
6449 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.F2fsTruncateFtraceEvent)
6450   size_t total_size = 0;
6451 
6452   ::uint32_t cached_has_bits = 0;
6453   // Prevent compiler warnings about cached_has_bits being unused
6454   (void) cached_has_bits;
6455 
6456   cached_has_bits = _impl_._has_bits_[0];
6457   if (cached_has_bits & 0x000000ffu) {
6458     // optional uint64 dev = 1;
6459     if (cached_has_bits & 0x00000001u) {
6460       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
6461     }
6462 
6463     // optional uint64 ino = 2;
6464     if (cached_has_bits & 0x00000002u) {
6465       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ino());
6466     }
6467 
6468     // optional uint64 pino = 3;
6469     if (cached_has_bits & 0x00000004u) {
6470       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_pino());
6471     }
6472 
6473     // optional int64 size = 5;
6474     if (cached_has_bits & 0x00000008u) {
6475       total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_size());
6476     }
6477 
6478     // optional uint32 mode = 4;
6479     if (cached_has_bits & 0x00000010u) {
6480       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_mode());
6481     }
6482 
6483     // optional uint32 nlink = 6;
6484     if (cached_has_bits & 0x00000020u) {
6485       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_nlink());
6486     }
6487 
6488     // optional uint64 blocks = 7;
6489     if (cached_has_bits & 0x00000040u) {
6490       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_blocks());
6491     }
6492 
6493     // optional uint32 advise = 8;
6494     if (cached_has_bits & 0x00000080u) {
6495       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_advise());
6496     }
6497 
6498   }
6499   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
6500     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
6501   }
6502   int cached_size = ::_pbi::ToCachedSize(total_size);
6503   SetCachedSize(cached_size);
6504   return total_size;
6505 }
6506 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)6507 void F2fsTruncateFtraceEvent::CheckTypeAndMergeFrom(
6508     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
6509   MergeFrom(*::_pbi::DownCast<const F2fsTruncateFtraceEvent*>(
6510       &from));
6511 }
6512 
MergeFrom(const F2fsTruncateFtraceEvent & from)6513 void F2fsTruncateFtraceEvent::MergeFrom(const F2fsTruncateFtraceEvent& from) {
6514   F2fsTruncateFtraceEvent* const _this = this;
6515   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.F2fsTruncateFtraceEvent)
6516   GOOGLE_DCHECK_NE(&from, _this);
6517   ::uint32_t cached_has_bits = 0;
6518   (void) cached_has_bits;
6519 
6520   cached_has_bits = from._impl_._has_bits_[0];
6521   if (cached_has_bits & 0x000000ffu) {
6522     if (cached_has_bits & 0x00000001u) {
6523       _this->_impl_.dev_ = from._impl_.dev_;
6524     }
6525     if (cached_has_bits & 0x00000002u) {
6526       _this->_impl_.ino_ = from._impl_.ino_;
6527     }
6528     if (cached_has_bits & 0x00000004u) {
6529       _this->_impl_.pino_ = from._impl_.pino_;
6530     }
6531     if (cached_has_bits & 0x00000008u) {
6532       _this->_impl_.size_ = from._impl_.size_;
6533     }
6534     if (cached_has_bits & 0x00000010u) {
6535       _this->_impl_.mode_ = from._impl_.mode_;
6536     }
6537     if (cached_has_bits & 0x00000020u) {
6538       _this->_impl_.nlink_ = from._impl_.nlink_;
6539     }
6540     if (cached_has_bits & 0x00000040u) {
6541       _this->_impl_.blocks_ = from._impl_.blocks_;
6542     }
6543     if (cached_has_bits & 0x00000080u) {
6544       _this->_impl_.advise_ = from._impl_.advise_;
6545     }
6546     _this->_impl_._has_bits_[0] |= cached_has_bits;
6547   }
6548   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
6549 }
6550 
CopyFrom(const F2fsTruncateFtraceEvent & from)6551 void F2fsTruncateFtraceEvent::CopyFrom(const F2fsTruncateFtraceEvent& from) {
6552 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.F2fsTruncateFtraceEvent)
6553   if (&from == this) return;
6554   Clear();
6555   MergeFrom(from);
6556 }
6557 
IsInitialized() const6558 bool F2fsTruncateFtraceEvent::IsInitialized() const {
6559   return true;
6560 }
6561 
InternalSwap(F2fsTruncateFtraceEvent * other)6562 void F2fsTruncateFtraceEvent::InternalSwap(F2fsTruncateFtraceEvent* other) {
6563   using std::swap;
6564   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
6565   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
6566   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
6567       PROTOBUF_FIELD_OFFSET(F2fsTruncateFtraceEvent, _impl_.advise_)
6568       + sizeof(F2fsTruncateFtraceEvent::_impl_.advise_)  // NOLINT
6569       - PROTOBUF_FIELD_OFFSET(F2fsTruncateFtraceEvent, _impl_.dev_)>(
6570           reinterpret_cast<char*>(&_impl_.dev_),
6571           reinterpret_cast<char*>(&other->_impl_.dev_));
6572 }
6573 
GetTypeName() const6574 std::string F2fsTruncateFtraceEvent::GetTypeName() const {
6575   return "perfetto.protos.F2fsTruncateFtraceEvent";
6576 }
6577 
6578 
6579 // ===================================================================
6580 
6581 class F2fsTruncateBlocksEnterFtraceEvent::_Internal {
6582  public:
6583   using HasBits = decltype(std::declval<F2fsTruncateBlocksEnterFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)6584   static void set_has_dev(HasBits* has_bits) {
6585     (*has_bits)[0] |= 1u;
6586   }
set_has_ino(HasBits * has_bits)6587   static void set_has_ino(HasBits* has_bits) {
6588     (*has_bits)[0] |= 2u;
6589   }
set_has_size(HasBits * has_bits)6590   static void set_has_size(HasBits* has_bits) {
6591     (*has_bits)[0] |= 4u;
6592   }
set_has_blocks(HasBits * has_bits)6593   static void set_has_blocks(HasBits* has_bits) {
6594     (*has_bits)[0] |= 8u;
6595   }
set_has_from(HasBits * has_bits)6596   static void set_has_from(HasBits* has_bits) {
6597     (*has_bits)[0] |= 16u;
6598   }
6599 };
6600 
F2fsTruncateBlocksEnterFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)6601 F2fsTruncateBlocksEnterFtraceEvent::F2fsTruncateBlocksEnterFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
6602                          bool is_message_owned)
6603   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
6604   SharedCtor(arena, is_message_owned);
6605   // @@protoc_insertion_point(arena_constructor:perfetto.protos.F2fsTruncateBlocksEnterFtraceEvent)
6606 }
F2fsTruncateBlocksEnterFtraceEvent(const F2fsTruncateBlocksEnterFtraceEvent & from)6607 F2fsTruncateBlocksEnterFtraceEvent::F2fsTruncateBlocksEnterFtraceEvent(const F2fsTruncateBlocksEnterFtraceEvent& from)
6608   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
6609   F2fsTruncateBlocksEnterFtraceEvent* const _this = this; (void)_this;
6610   new (&_impl_) Impl_{
6611       decltype(_impl_._has_bits_){from._impl_._has_bits_}
6612     , /*decltype(_impl_._cached_size_)*/{}
6613     , decltype(_impl_.dev_){}
6614     , decltype(_impl_.ino_){}
6615     , decltype(_impl_.size_){}
6616     , decltype(_impl_.blocks_){}
6617     , decltype(_impl_.from_){}};
6618 
6619   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
6620   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
6621     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.from_) -
6622     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.from_));
6623   // @@protoc_insertion_point(copy_constructor:perfetto.protos.F2fsTruncateBlocksEnterFtraceEvent)
6624 }
6625 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)6626 inline void F2fsTruncateBlocksEnterFtraceEvent::SharedCtor(
6627     ::_pb::Arena* arena, bool is_message_owned) {
6628   (void)arena;
6629   (void)is_message_owned;
6630   new (&_impl_) Impl_{
6631       decltype(_impl_._has_bits_){}
6632     , /*decltype(_impl_._cached_size_)*/{}
6633     , decltype(_impl_.dev_){::uint64_t{0u}}
6634     , decltype(_impl_.ino_){::uint64_t{0u}}
6635     , decltype(_impl_.size_){::int64_t{0}}
6636     , decltype(_impl_.blocks_){::uint64_t{0u}}
6637     , decltype(_impl_.from_){::uint64_t{0u}}
6638   };
6639 }
6640 
~F2fsTruncateBlocksEnterFtraceEvent()6641 F2fsTruncateBlocksEnterFtraceEvent::~F2fsTruncateBlocksEnterFtraceEvent() {
6642   // @@protoc_insertion_point(destructor:perfetto.protos.F2fsTruncateBlocksEnterFtraceEvent)
6643   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
6644   (void)arena;
6645     return;
6646   }
6647   SharedDtor();
6648 }
6649 
SharedDtor()6650 inline void F2fsTruncateBlocksEnterFtraceEvent::SharedDtor() {
6651   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
6652 }
6653 
SetCachedSize(int size) const6654 void F2fsTruncateBlocksEnterFtraceEvent::SetCachedSize(int size) const {
6655   _impl_._cached_size_.Set(size);
6656 }
6657 
Clear()6658 void F2fsTruncateBlocksEnterFtraceEvent::Clear() {
6659 // @@protoc_insertion_point(message_clear_start:perfetto.protos.F2fsTruncateBlocksEnterFtraceEvent)
6660   ::uint32_t cached_has_bits = 0;
6661   // Prevent compiler warnings about cached_has_bits being unused
6662   (void) cached_has_bits;
6663 
6664   cached_has_bits = _impl_._has_bits_[0];
6665   if (cached_has_bits & 0x0000001fu) {
6666     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
6667         reinterpret_cast<char*>(&_impl_.from_) -
6668         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.from_));
6669   }
6670   _impl_._has_bits_.Clear();
6671   _internal_metadata_.Clear<std::string>();
6672 }
6673 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)6674 const char* F2fsTruncateBlocksEnterFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
6675 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
6676   _Internal::HasBits has_bits{};
6677   while (!ctx->Done(&ptr)) {
6678     ::uint32_t tag;
6679     ptr = ::_pbi::ReadTag(ptr, &tag);
6680     switch (tag >> 3) {
6681       // optional uint64 dev = 1;
6682       case 1:
6683         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
6684           _Internal::set_has_dev(&has_bits);
6685           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
6686           CHK_(ptr);
6687         } else {
6688           goto handle_unusual;
6689         }
6690         continue;
6691       // optional uint64 ino = 2;
6692       case 2:
6693         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
6694           _Internal::set_has_ino(&has_bits);
6695           _impl_.ino_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
6696           CHK_(ptr);
6697         } else {
6698           goto handle_unusual;
6699         }
6700         continue;
6701       // optional int64 size = 3;
6702       case 3:
6703         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
6704           _Internal::set_has_size(&has_bits);
6705           _impl_.size_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
6706           CHK_(ptr);
6707         } else {
6708           goto handle_unusual;
6709         }
6710         continue;
6711       // optional uint64 blocks = 4;
6712       case 4:
6713         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
6714           _Internal::set_has_blocks(&has_bits);
6715           _impl_.blocks_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
6716           CHK_(ptr);
6717         } else {
6718           goto handle_unusual;
6719         }
6720         continue;
6721       // optional uint64 from = 5;
6722       case 5:
6723         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) {
6724           _Internal::set_has_from(&has_bits);
6725           _impl_.from_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
6726           CHK_(ptr);
6727         } else {
6728           goto handle_unusual;
6729         }
6730         continue;
6731       default:
6732         goto handle_unusual;
6733     }  // switch
6734   handle_unusual:
6735     if ((tag == 0) || ((tag & 7) == 4)) {
6736       CHK_(ptr);
6737       ctx->SetLastTag(tag);
6738       goto message_done;
6739     }
6740     ptr = UnknownFieldParse(
6741         tag,
6742         _internal_metadata_.mutable_unknown_fields<std::string>(),
6743         ptr, ctx);
6744     CHK_(ptr != nullptr);
6745   }  // while
6746 message_done:
6747   _impl_._has_bits_.Or(has_bits);
6748   return ptr;
6749 failure:
6750   ptr = nullptr;
6751   goto message_done;
6752 #undef CHK_
6753 }
6754 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const6755 ::uint8_t* F2fsTruncateBlocksEnterFtraceEvent::_InternalSerialize(
6756     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
6757   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.F2fsTruncateBlocksEnterFtraceEvent)
6758   ::uint32_t cached_has_bits = 0;
6759   (void) cached_has_bits;
6760 
6761   cached_has_bits = _impl_._has_bits_[0];
6762   // optional uint64 dev = 1;
6763   if (cached_has_bits & 0x00000001u) {
6764     target = stream->EnsureSpace(target);
6765     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
6766   }
6767 
6768   // optional uint64 ino = 2;
6769   if (cached_has_bits & 0x00000002u) {
6770     target = stream->EnsureSpace(target);
6771     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_ino(), target);
6772   }
6773 
6774   // optional int64 size = 3;
6775   if (cached_has_bits & 0x00000004u) {
6776     target = stream->EnsureSpace(target);
6777     target = ::_pbi::WireFormatLite::WriteInt64ToArray(3, this->_internal_size(), target);
6778   }
6779 
6780   // optional uint64 blocks = 4;
6781   if (cached_has_bits & 0x00000008u) {
6782     target = stream->EnsureSpace(target);
6783     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(4, this->_internal_blocks(), target);
6784   }
6785 
6786   // optional uint64 from = 5;
6787   if (cached_has_bits & 0x00000010u) {
6788     target = stream->EnsureSpace(target);
6789     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(5, this->_internal_from(), target);
6790   }
6791 
6792   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
6793     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
6794         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
6795   }
6796   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.F2fsTruncateBlocksEnterFtraceEvent)
6797   return target;
6798 }
6799 
ByteSizeLong() const6800 size_t F2fsTruncateBlocksEnterFtraceEvent::ByteSizeLong() const {
6801 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.F2fsTruncateBlocksEnterFtraceEvent)
6802   size_t total_size = 0;
6803 
6804   ::uint32_t cached_has_bits = 0;
6805   // Prevent compiler warnings about cached_has_bits being unused
6806   (void) cached_has_bits;
6807 
6808   cached_has_bits = _impl_._has_bits_[0];
6809   if (cached_has_bits & 0x0000001fu) {
6810     // optional uint64 dev = 1;
6811     if (cached_has_bits & 0x00000001u) {
6812       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
6813     }
6814 
6815     // optional uint64 ino = 2;
6816     if (cached_has_bits & 0x00000002u) {
6817       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ino());
6818     }
6819 
6820     // optional int64 size = 3;
6821     if (cached_has_bits & 0x00000004u) {
6822       total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_size());
6823     }
6824 
6825     // optional uint64 blocks = 4;
6826     if (cached_has_bits & 0x00000008u) {
6827       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_blocks());
6828     }
6829 
6830     // optional uint64 from = 5;
6831     if (cached_has_bits & 0x00000010u) {
6832       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_from());
6833     }
6834 
6835   }
6836   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
6837     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
6838   }
6839   int cached_size = ::_pbi::ToCachedSize(total_size);
6840   SetCachedSize(cached_size);
6841   return total_size;
6842 }
6843 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)6844 void F2fsTruncateBlocksEnterFtraceEvent::CheckTypeAndMergeFrom(
6845     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
6846   MergeFrom(*::_pbi::DownCast<const F2fsTruncateBlocksEnterFtraceEvent*>(
6847       &from));
6848 }
6849 
MergeFrom(const F2fsTruncateBlocksEnterFtraceEvent & from)6850 void F2fsTruncateBlocksEnterFtraceEvent::MergeFrom(const F2fsTruncateBlocksEnterFtraceEvent& from) {
6851   F2fsTruncateBlocksEnterFtraceEvent* const _this = this;
6852   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.F2fsTruncateBlocksEnterFtraceEvent)
6853   GOOGLE_DCHECK_NE(&from, _this);
6854   ::uint32_t cached_has_bits = 0;
6855   (void) cached_has_bits;
6856 
6857   cached_has_bits = from._impl_._has_bits_[0];
6858   if (cached_has_bits & 0x0000001fu) {
6859     if (cached_has_bits & 0x00000001u) {
6860       _this->_impl_.dev_ = from._impl_.dev_;
6861     }
6862     if (cached_has_bits & 0x00000002u) {
6863       _this->_impl_.ino_ = from._impl_.ino_;
6864     }
6865     if (cached_has_bits & 0x00000004u) {
6866       _this->_impl_.size_ = from._impl_.size_;
6867     }
6868     if (cached_has_bits & 0x00000008u) {
6869       _this->_impl_.blocks_ = from._impl_.blocks_;
6870     }
6871     if (cached_has_bits & 0x00000010u) {
6872       _this->_impl_.from_ = from._impl_.from_;
6873     }
6874     _this->_impl_._has_bits_[0] |= cached_has_bits;
6875   }
6876   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
6877 }
6878 
CopyFrom(const F2fsTruncateBlocksEnterFtraceEvent & from)6879 void F2fsTruncateBlocksEnterFtraceEvent::CopyFrom(const F2fsTruncateBlocksEnterFtraceEvent& from) {
6880 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.F2fsTruncateBlocksEnterFtraceEvent)
6881   if (&from == this) return;
6882   Clear();
6883   MergeFrom(from);
6884 }
6885 
IsInitialized() const6886 bool F2fsTruncateBlocksEnterFtraceEvent::IsInitialized() const {
6887   return true;
6888 }
6889 
InternalSwap(F2fsTruncateBlocksEnterFtraceEvent * other)6890 void F2fsTruncateBlocksEnterFtraceEvent::InternalSwap(F2fsTruncateBlocksEnterFtraceEvent* other) {
6891   using std::swap;
6892   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
6893   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
6894   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
6895       PROTOBUF_FIELD_OFFSET(F2fsTruncateBlocksEnterFtraceEvent, _impl_.from_)
6896       + sizeof(F2fsTruncateBlocksEnterFtraceEvent::_impl_.from_)  // NOLINT
6897       - PROTOBUF_FIELD_OFFSET(F2fsTruncateBlocksEnterFtraceEvent, _impl_.dev_)>(
6898           reinterpret_cast<char*>(&_impl_.dev_),
6899           reinterpret_cast<char*>(&other->_impl_.dev_));
6900 }
6901 
GetTypeName() const6902 std::string F2fsTruncateBlocksEnterFtraceEvent::GetTypeName() const {
6903   return "perfetto.protos.F2fsTruncateBlocksEnterFtraceEvent";
6904 }
6905 
6906 
6907 // ===================================================================
6908 
6909 class F2fsTruncateBlocksExitFtraceEvent::_Internal {
6910  public:
6911   using HasBits = decltype(std::declval<F2fsTruncateBlocksExitFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)6912   static void set_has_dev(HasBits* has_bits) {
6913     (*has_bits)[0] |= 1u;
6914   }
set_has_ino(HasBits * has_bits)6915   static void set_has_ino(HasBits* has_bits) {
6916     (*has_bits)[0] |= 2u;
6917   }
set_has_ret(HasBits * has_bits)6918   static void set_has_ret(HasBits* has_bits) {
6919     (*has_bits)[0] |= 4u;
6920   }
6921 };
6922 
F2fsTruncateBlocksExitFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)6923 F2fsTruncateBlocksExitFtraceEvent::F2fsTruncateBlocksExitFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
6924                          bool is_message_owned)
6925   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
6926   SharedCtor(arena, is_message_owned);
6927   // @@protoc_insertion_point(arena_constructor:perfetto.protos.F2fsTruncateBlocksExitFtraceEvent)
6928 }
F2fsTruncateBlocksExitFtraceEvent(const F2fsTruncateBlocksExitFtraceEvent & from)6929 F2fsTruncateBlocksExitFtraceEvent::F2fsTruncateBlocksExitFtraceEvent(const F2fsTruncateBlocksExitFtraceEvent& from)
6930   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
6931   F2fsTruncateBlocksExitFtraceEvent* const _this = this; (void)_this;
6932   new (&_impl_) Impl_{
6933       decltype(_impl_._has_bits_){from._impl_._has_bits_}
6934     , /*decltype(_impl_._cached_size_)*/{}
6935     , decltype(_impl_.dev_){}
6936     , decltype(_impl_.ino_){}
6937     , decltype(_impl_.ret_){}};
6938 
6939   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
6940   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
6941     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.ret_) -
6942     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.ret_));
6943   // @@protoc_insertion_point(copy_constructor:perfetto.protos.F2fsTruncateBlocksExitFtraceEvent)
6944 }
6945 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)6946 inline void F2fsTruncateBlocksExitFtraceEvent::SharedCtor(
6947     ::_pb::Arena* arena, bool is_message_owned) {
6948   (void)arena;
6949   (void)is_message_owned;
6950   new (&_impl_) Impl_{
6951       decltype(_impl_._has_bits_){}
6952     , /*decltype(_impl_._cached_size_)*/{}
6953     , decltype(_impl_.dev_){::uint64_t{0u}}
6954     , decltype(_impl_.ino_){::uint64_t{0u}}
6955     , decltype(_impl_.ret_){0}
6956   };
6957 }
6958 
~F2fsTruncateBlocksExitFtraceEvent()6959 F2fsTruncateBlocksExitFtraceEvent::~F2fsTruncateBlocksExitFtraceEvent() {
6960   // @@protoc_insertion_point(destructor:perfetto.protos.F2fsTruncateBlocksExitFtraceEvent)
6961   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
6962   (void)arena;
6963     return;
6964   }
6965   SharedDtor();
6966 }
6967 
SharedDtor()6968 inline void F2fsTruncateBlocksExitFtraceEvent::SharedDtor() {
6969   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
6970 }
6971 
SetCachedSize(int size) const6972 void F2fsTruncateBlocksExitFtraceEvent::SetCachedSize(int size) const {
6973   _impl_._cached_size_.Set(size);
6974 }
6975 
Clear()6976 void F2fsTruncateBlocksExitFtraceEvent::Clear() {
6977 // @@protoc_insertion_point(message_clear_start:perfetto.protos.F2fsTruncateBlocksExitFtraceEvent)
6978   ::uint32_t cached_has_bits = 0;
6979   // Prevent compiler warnings about cached_has_bits being unused
6980   (void) cached_has_bits;
6981 
6982   cached_has_bits = _impl_._has_bits_[0];
6983   if (cached_has_bits & 0x00000007u) {
6984     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
6985         reinterpret_cast<char*>(&_impl_.ret_) -
6986         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.ret_));
6987   }
6988   _impl_._has_bits_.Clear();
6989   _internal_metadata_.Clear<std::string>();
6990 }
6991 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)6992 const char* F2fsTruncateBlocksExitFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
6993 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
6994   _Internal::HasBits has_bits{};
6995   while (!ctx->Done(&ptr)) {
6996     ::uint32_t tag;
6997     ptr = ::_pbi::ReadTag(ptr, &tag);
6998     switch (tag >> 3) {
6999       // optional uint64 dev = 1;
7000       case 1:
7001         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
7002           _Internal::set_has_dev(&has_bits);
7003           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
7004           CHK_(ptr);
7005         } else {
7006           goto handle_unusual;
7007         }
7008         continue;
7009       // optional uint64 ino = 2;
7010       case 2:
7011         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
7012           _Internal::set_has_ino(&has_bits);
7013           _impl_.ino_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
7014           CHK_(ptr);
7015         } else {
7016           goto handle_unusual;
7017         }
7018         continue;
7019       // optional int32 ret = 3;
7020       case 3:
7021         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
7022           _Internal::set_has_ret(&has_bits);
7023           _impl_.ret_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
7024           CHK_(ptr);
7025         } else {
7026           goto handle_unusual;
7027         }
7028         continue;
7029       default:
7030         goto handle_unusual;
7031     }  // switch
7032   handle_unusual:
7033     if ((tag == 0) || ((tag & 7) == 4)) {
7034       CHK_(ptr);
7035       ctx->SetLastTag(tag);
7036       goto message_done;
7037     }
7038     ptr = UnknownFieldParse(
7039         tag,
7040         _internal_metadata_.mutable_unknown_fields<std::string>(),
7041         ptr, ctx);
7042     CHK_(ptr != nullptr);
7043   }  // while
7044 message_done:
7045   _impl_._has_bits_.Or(has_bits);
7046   return ptr;
7047 failure:
7048   ptr = nullptr;
7049   goto message_done;
7050 #undef CHK_
7051 }
7052 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const7053 ::uint8_t* F2fsTruncateBlocksExitFtraceEvent::_InternalSerialize(
7054     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
7055   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.F2fsTruncateBlocksExitFtraceEvent)
7056   ::uint32_t cached_has_bits = 0;
7057   (void) cached_has_bits;
7058 
7059   cached_has_bits = _impl_._has_bits_[0];
7060   // optional uint64 dev = 1;
7061   if (cached_has_bits & 0x00000001u) {
7062     target = stream->EnsureSpace(target);
7063     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
7064   }
7065 
7066   // optional uint64 ino = 2;
7067   if (cached_has_bits & 0x00000002u) {
7068     target = stream->EnsureSpace(target);
7069     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_ino(), target);
7070   }
7071 
7072   // optional int32 ret = 3;
7073   if (cached_has_bits & 0x00000004u) {
7074     target = stream->EnsureSpace(target);
7075     target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_ret(), target);
7076   }
7077 
7078   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
7079     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
7080         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
7081   }
7082   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.F2fsTruncateBlocksExitFtraceEvent)
7083   return target;
7084 }
7085 
ByteSizeLong() const7086 size_t F2fsTruncateBlocksExitFtraceEvent::ByteSizeLong() const {
7087 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.F2fsTruncateBlocksExitFtraceEvent)
7088   size_t total_size = 0;
7089 
7090   ::uint32_t cached_has_bits = 0;
7091   // Prevent compiler warnings about cached_has_bits being unused
7092   (void) cached_has_bits;
7093 
7094   cached_has_bits = _impl_._has_bits_[0];
7095   if (cached_has_bits & 0x00000007u) {
7096     // optional uint64 dev = 1;
7097     if (cached_has_bits & 0x00000001u) {
7098       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
7099     }
7100 
7101     // optional uint64 ino = 2;
7102     if (cached_has_bits & 0x00000002u) {
7103       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ino());
7104     }
7105 
7106     // optional int32 ret = 3;
7107     if (cached_has_bits & 0x00000004u) {
7108       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_ret());
7109     }
7110 
7111   }
7112   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
7113     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
7114   }
7115   int cached_size = ::_pbi::ToCachedSize(total_size);
7116   SetCachedSize(cached_size);
7117   return total_size;
7118 }
7119 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)7120 void F2fsTruncateBlocksExitFtraceEvent::CheckTypeAndMergeFrom(
7121     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
7122   MergeFrom(*::_pbi::DownCast<const F2fsTruncateBlocksExitFtraceEvent*>(
7123       &from));
7124 }
7125 
MergeFrom(const F2fsTruncateBlocksExitFtraceEvent & from)7126 void F2fsTruncateBlocksExitFtraceEvent::MergeFrom(const F2fsTruncateBlocksExitFtraceEvent& from) {
7127   F2fsTruncateBlocksExitFtraceEvent* const _this = this;
7128   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.F2fsTruncateBlocksExitFtraceEvent)
7129   GOOGLE_DCHECK_NE(&from, _this);
7130   ::uint32_t cached_has_bits = 0;
7131   (void) cached_has_bits;
7132 
7133   cached_has_bits = from._impl_._has_bits_[0];
7134   if (cached_has_bits & 0x00000007u) {
7135     if (cached_has_bits & 0x00000001u) {
7136       _this->_impl_.dev_ = from._impl_.dev_;
7137     }
7138     if (cached_has_bits & 0x00000002u) {
7139       _this->_impl_.ino_ = from._impl_.ino_;
7140     }
7141     if (cached_has_bits & 0x00000004u) {
7142       _this->_impl_.ret_ = from._impl_.ret_;
7143     }
7144     _this->_impl_._has_bits_[0] |= cached_has_bits;
7145   }
7146   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
7147 }
7148 
CopyFrom(const F2fsTruncateBlocksExitFtraceEvent & from)7149 void F2fsTruncateBlocksExitFtraceEvent::CopyFrom(const F2fsTruncateBlocksExitFtraceEvent& from) {
7150 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.F2fsTruncateBlocksExitFtraceEvent)
7151   if (&from == this) return;
7152   Clear();
7153   MergeFrom(from);
7154 }
7155 
IsInitialized() const7156 bool F2fsTruncateBlocksExitFtraceEvent::IsInitialized() const {
7157   return true;
7158 }
7159 
InternalSwap(F2fsTruncateBlocksExitFtraceEvent * other)7160 void F2fsTruncateBlocksExitFtraceEvent::InternalSwap(F2fsTruncateBlocksExitFtraceEvent* other) {
7161   using std::swap;
7162   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
7163   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
7164   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
7165       PROTOBUF_FIELD_OFFSET(F2fsTruncateBlocksExitFtraceEvent, _impl_.ret_)
7166       + sizeof(F2fsTruncateBlocksExitFtraceEvent::_impl_.ret_)  // NOLINT
7167       - PROTOBUF_FIELD_OFFSET(F2fsTruncateBlocksExitFtraceEvent, _impl_.dev_)>(
7168           reinterpret_cast<char*>(&_impl_.dev_),
7169           reinterpret_cast<char*>(&other->_impl_.dev_));
7170 }
7171 
GetTypeName() const7172 std::string F2fsTruncateBlocksExitFtraceEvent::GetTypeName() const {
7173   return "perfetto.protos.F2fsTruncateBlocksExitFtraceEvent";
7174 }
7175 
7176 
7177 // ===================================================================
7178 
7179 class F2fsTruncateDataBlocksRangeFtraceEvent::_Internal {
7180  public:
7181   using HasBits = decltype(std::declval<F2fsTruncateDataBlocksRangeFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)7182   static void set_has_dev(HasBits* has_bits) {
7183     (*has_bits)[0] |= 1u;
7184   }
set_has_ino(HasBits * has_bits)7185   static void set_has_ino(HasBits* has_bits) {
7186     (*has_bits)[0] |= 2u;
7187   }
set_has_nid(HasBits * has_bits)7188   static void set_has_nid(HasBits* has_bits) {
7189     (*has_bits)[0] |= 4u;
7190   }
set_has_ofs(HasBits * has_bits)7191   static void set_has_ofs(HasBits* has_bits) {
7192     (*has_bits)[0] |= 8u;
7193   }
set_has_free(HasBits * has_bits)7194   static void set_has_free(HasBits* has_bits) {
7195     (*has_bits)[0] |= 16u;
7196   }
7197 };
7198 
F2fsTruncateDataBlocksRangeFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)7199 F2fsTruncateDataBlocksRangeFtraceEvent::F2fsTruncateDataBlocksRangeFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
7200                          bool is_message_owned)
7201   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
7202   SharedCtor(arena, is_message_owned);
7203   // @@protoc_insertion_point(arena_constructor:perfetto.protos.F2fsTruncateDataBlocksRangeFtraceEvent)
7204 }
F2fsTruncateDataBlocksRangeFtraceEvent(const F2fsTruncateDataBlocksRangeFtraceEvent & from)7205 F2fsTruncateDataBlocksRangeFtraceEvent::F2fsTruncateDataBlocksRangeFtraceEvent(const F2fsTruncateDataBlocksRangeFtraceEvent& from)
7206   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
7207   F2fsTruncateDataBlocksRangeFtraceEvent* const _this = this; (void)_this;
7208   new (&_impl_) Impl_{
7209       decltype(_impl_._has_bits_){from._impl_._has_bits_}
7210     , /*decltype(_impl_._cached_size_)*/{}
7211     , decltype(_impl_.dev_){}
7212     , decltype(_impl_.ino_){}
7213     , decltype(_impl_.nid_){}
7214     , decltype(_impl_.ofs_){}
7215     , decltype(_impl_.free_){}};
7216 
7217   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
7218   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
7219     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.free_) -
7220     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.free_));
7221   // @@protoc_insertion_point(copy_constructor:perfetto.protos.F2fsTruncateDataBlocksRangeFtraceEvent)
7222 }
7223 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)7224 inline void F2fsTruncateDataBlocksRangeFtraceEvent::SharedCtor(
7225     ::_pb::Arena* arena, bool is_message_owned) {
7226   (void)arena;
7227   (void)is_message_owned;
7228   new (&_impl_) Impl_{
7229       decltype(_impl_._has_bits_){}
7230     , /*decltype(_impl_._cached_size_)*/{}
7231     , decltype(_impl_.dev_){::uint64_t{0u}}
7232     , decltype(_impl_.ino_){::uint64_t{0u}}
7233     , decltype(_impl_.nid_){0u}
7234     , decltype(_impl_.ofs_){0u}
7235     , decltype(_impl_.free_){0}
7236   };
7237 }
7238 
~F2fsTruncateDataBlocksRangeFtraceEvent()7239 F2fsTruncateDataBlocksRangeFtraceEvent::~F2fsTruncateDataBlocksRangeFtraceEvent() {
7240   // @@protoc_insertion_point(destructor:perfetto.protos.F2fsTruncateDataBlocksRangeFtraceEvent)
7241   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
7242   (void)arena;
7243     return;
7244   }
7245   SharedDtor();
7246 }
7247 
SharedDtor()7248 inline void F2fsTruncateDataBlocksRangeFtraceEvent::SharedDtor() {
7249   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
7250 }
7251 
SetCachedSize(int size) const7252 void F2fsTruncateDataBlocksRangeFtraceEvent::SetCachedSize(int size) const {
7253   _impl_._cached_size_.Set(size);
7254 }
7255 
Clear()7256 void F2fsTruncateDataBlocksRangeFtraceEvent::Clear() {
7257 // @@protoc_insertion_point(message_clear_start:perfetto.protos.F2fsTruncateDataBlocksRangeFtraceEvent)
7258   ::uint32_t cached_has_bits = 0;
7259   // Prevent compiler warnings about cached_has_bits being unused
7260   (void) cached_has_bits;
7261 
7262   cached_has_bits = _impl_._has_bits_[0];
7263   if (cached_has_bits & 0x0000001fu) {
7264     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
7265         reinterpret_cast<char*>(&_impl_.free_) -
7266         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.free_));
7267   }
7268   _impl_._has_bits_.Clear();
7269   _internal_metadata_.Clear<std::string>();
7270 }
7271 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)7272 const char* F2fsTruncateDataBlocksRangeFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
7273 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
7274   _Internal::HasBits has_bits{};
7275   while (!ctx->Done(&ptr)) {
7276     ::uint32_t tag;
7277     ptr = ::_pbi::ReadTag(ptr, &tag);
7278     switch (tag >> 3) {
7279       // optional uint64 dev = 1;
7280       case 1:
7281         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
7282           _Internal::set_has_dev(&has_bits);
7283           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
7284           CHK_(ptr);
7285         } else {
7286           goto handle_unusual;
7287         }
7288         continue;
7289       // optional uint64 ino = 2;
7290       case 2:
7291         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
7292           _Internal::set_has_ino(&has_bits);
7293           _impl_.ino_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
7294           CHK_(ptr);
7295         } else {
7296           goto handle_unusual;
7297         }
7298         continue;
7299       // optional uint32 nid = 3;
7300       case 3:
7301         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
7302           _Internal::set_has_nid(&has_bits);
7303           _impl_.nid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
7304           CHK_(ptr);
7305         } else {
7306           goto handle_unusual;
7307         }
7308         continue;
7309       // optional uint32 ofs = 4;
7310       case 4:
7311         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
7312           _Internal::set_has_ofs(&has_bits);
7313           _impl_.ofs_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
7314           CHK_(ptr);
7315         } else {
7316           goto handle_unusual;
7317         }
7318         continue;
7319       // optional int32 free = 5;
7320       case 5:
7321         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) {
7322           _Internal::set_has_free(&has_bits);
7323           _impl_.free_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
7324           CHK_(ptr);
7325         } else {
7326           goto handle_unusual;
7327         }
7328         continue;
7329       default:
7330         goto handle_unusual;
7331     }  // switch
7332   handle_unusual:
7333     if ((tag == 0) || ((tag & 7) == 4)) {
7334       CHK_(ptr);
7335       ctx->SetLastTag(tag);
7336       goto message_done;
7337     }
7338     ptr = UnknownFieldParse(
7339         tag,
7340         _internal_metadata_.mutable_unknown_fields<std::string>(),
7341         ptr, ctx);
7342     CHK_(ptr != nullptr);
7343   }  // while
7344 message_done:
7345   _impl_._has_bits_.Or(has_bits);
7346   return ptr;
7347 failure:
7348   ptr = nullptr;
7349   goto message_done;
7350 #undef CHK_
7351 }
7352 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const7353 ::uint8_t* F2fsTruncateDataBlocksRangeFtraceEvent::_InternalSerialize(
7354     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
7355   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.F2fsTruncateDataBlocksRangeFtraceEvent)
7356   ::uint32_t cached_has_bits = 0;
7357   (void) cached_has_bits;
7358 
7359   cached_has_bits = _impl_._has_bits_[0];
7360   // optional uint64 dev = 1;
7361   if (cached_has_bits & 0x00000001u) {
7362     target = stream->EnsureSpace(target);
7363     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
7364   }
7365 
7366   // optional uint64 ino = 2;
7367   if (cached_has_bits & 0x00000002u) {
7368     target = stream->EnsureSpace(target);
7369     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_ino(), target);
7370   }
7371 
7372   // optional uint32 nid = 3;
7373   if (cached_has_bits & 0x00000004u) {
7374     target = stream->EnsureSpace(target);
7375     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_nid(), target);
7376   }
7377 
7378   // optional uint32 ofs = 4;
7379   if (cached_has_bits & 0x00000008u) {
7380     target = stream->EnsureSpace(target);
7381     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_ofs(), target);
7382   }
7383 
7384   // optional int32 free = 5;
7385   if (cached_has_bits & 0x00000010u) {
7386     target = stream->EnsureSpace(target);
7387     target = ::_pbi::WireFormatLite::WriteInt32ToArray(5, this->_internal_free(), target);
7388   }
7389 
7390   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
7391     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
7392         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
7393   }
7394   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.F2fsTruncateDataBlocksRangeFtraceEvent)
7395   return target;
7396 }
7397 
ByteSizeLong() const7398 size_t F2fsTruncateDataBlocksRangeFtraceEvent::ByteSizeLong() const {
7399 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.F2fsTruncateDataBlocksRangeFtraceEvent)
7400   size_t total_size = 0;
7401 
7402   ::uint32_t cached_has_bits = 0;
7403   // Prevent compiler warnings about cached_has_bits being unused
7404   (void) cached_has_bits;
7405 
7406   cached_has_bits = _impl_._has_bits_[0];
7407   if (cached_has_bits & 0x0000001fu) {
7408     // optional uint64 dev = 1;
7409     if (cached_has_bits & 0x00000001u) {
7410       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
7411     }
7412 
7413     // optional uint64 ino = 2;
7414     if (cached_has_bits & 0x00000002u) {
7415       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ino());
7416     }
7417 
7418     // optional uint32 nid = 3;
7419     if (cached_has_bits & 0x00000004u) {
7420       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_nid());
7421     }
7422 
7423     // optional uint32 ofs = 4;
7424     if (cached_has_bits & 0x00000008u) {
7425       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_ofs());
7426     }
7427 
7428     // optional int32 free = 5;
7429     if (cached_has_bits & 0x00000010u) {
7430       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_free());
7431     }
7432 
7433   }
7434   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
7435     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
7436   }
7437   int cached_size = ::_pbi::ToCachedSize(total_size);
7438   SetCachedSize(cached_size);
7439   return total_size;
7440 }
7441 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)7442 void F2fsTruncateDataBlocksRangeFtraceEvent::CheckTypeAndMergeFrom(
7443     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
7444   MergeFrom(*::_pbi::DownCast<const F2fsTruncateDataBlocksRangeFtraceEvent*>(
7445       &from));
7446 }
7447 
MergeFrom(const F2fsTruncateDataBlocksRangeFtraceEvent & from)7448 void F2fsTruncateDataBlocksRangeFtraceEvent::MergeFrom(const F2fsTruncateDataBlocksRangeFtraceEvent& from) {
7449   F2fsTruncateDataBlocksRangeFtraceEvent* const _this = this;
7450   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.F2fsTruncateDataBlocksRangeFtraceEvent)
7451   GOOGLE_DCHECK_NE(&from, _this);
7452   ::uint32_t cached_has_bits = 0;
7453   (void) cached_has_bits;
7454 
7455   cached_has_bits = from._impl_._has_bits_[0];
7456   if (cached_has_bits & 0x0000001fu) {
7457     if (cached_has_bits & 0x00000001u) {
7458       _this->_impl_.dev_ = from._impl_.dev_;
7459     }
7460     if (cached_has_bits & 0x00000002u) {
7461       _this->_impl_.ino_ = from._impl_.ino_;
7462     }
7463     if (cached_has_bits & 0x00000004u) {
7464       _this->_impl_.nid_ = from._impl_.nid_;
7465     }
7466     if (cached_has_bits & 0x00000008u) {
7467       _this->_impl_.ofs_ = from._impl_.ofs_;
7468     }
7469     if (cached_has_bits & 0x00000010u) {
7470       _this->_impl_.free_ = from._impl_.free_;
7471     }
7472     _this->_impl_._has_bits_[0] |= cached_has_bits;
7473   }
7474   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
7475 }
7476 
CopyFrom(const F2fsTruncateDataBlocksRangeFtraceEvent & from)7477 void F2fsTruncateDataBlocksRangeFtraceEvent::CopyFrom(const F2fsTruncateDataBlocksRangeFtraceEvent& from) {
7478 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.F2fsTruncateDataBlocksRangeFtraceEvent)
7479   if (&from == this) return;
7480   Clear();
7481   MergeFrom(from);
7482 }
7483 
IsInitialized() const7484 bool F2fsTruncateDataBlocksRangeFtraceEvent::IsInitialized() const {
7485   return true;
7486 }
7487 
InternalSwap(F2fsTruncateDataBlocksRangeFtraceEvent * other)7488 void F2fsTruncateDataBlocksRangeFtraceEvent::InternalSwap(F2fsTruncateDataBlocksRangeFtraceEvent* other) {
7489   using std::swap;
7490   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
7491   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
7492   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
7493       PROTOBUF_FIELD_OFFSET(F2fsTruncateDataBlocksRangeFtraceEvent, _impl_.free_)
7494       + sizeof(F2fsTruncateDataBlocksRangeFtraceEvent::_impl_.free_)  // NOLINT
7495       - PROTOBUF_FIELD_OFFSET(F2fsTruncateDataBlocksRangeFtraceEvent, _impl_.dev_)>(
7496           reinterpret_cast<char*>(&_impl_.dev_),
7497           reinterpret_cast<char*>(&other->_impl_.dev_));
7498 }
7499 
GetTypeName() const7500 std::string F2fsTruncateDataBlocksRangeFtraceEvent::GetTypeName() const {
7501   return "perfetto.protos.F2fsTruncateDataBlocksRangeFtraceEvent";
7502 }
7503 
7504 
7505 // ===================================================================
7506 
7507 class F2fsTruncateInodeBlocksEnterFtraceEvent::_Internal {
7508  public:
7509   using HasBits = decltype(std::declval<F2fsTruncateInodeBlocksEnterFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)7510   static void set_has_dev(HasBits* has_bits) {
7511     (*has_bits)[0] |= 1u;
7512   }
set_has_ino(HasBits * has_bits)7513   static void set_has_ino(HasBits* has_bits) {
7514     (*has_bits)[0] |= 2u;
7515   }
set_has_size(HasBits * has_bits)7516   static void set_has_size(HasBits* has_bits) {
7517     (*has_bits)[0] |= 4u;
7518   }
set_has_blocks(HasBits * has_bits)7519   static void set_has_blocks(HasBits* has_bits) {
7520     (*has_bits)[0] |= 8u;
7521   }
set_has_from(HasBits * has_bits)7522   static void set_has_from(HasBits* has_bits) {
7523     (*has_bits)[0] |= 16u;
7524   }
7525 };
7526 
F2fsTruncateInodeBlocksEnterFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)7527 F2fsTruncateInodeBlocksEnterFtraceEvent::F2fsTruncateInodeBlocksEnterFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
7528                          bool is_message_owned)
7529   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
7530   SharedCtor(arena, is_message_owned);
7531   // @@protoc_insertion_point(arena_constructor:perfetto.protos.F2fsTruncateInodeBlocksEnterFtraceEvent)
7532 }
F2fsTruncateInodeBlocksEnterFtraceEvent(const F2fsTruncateInodeBlocksEnterFtraceEvent & from)7533 F2fsTruncateInodeBlocksEnterFtraceEvent::F2fsTruncateInodeBlocksEnterFtraceEvent(const F2fsTruncateInodeBlocksEnterFtraceEvent& from)
7534   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
7535   F2fsTruncateInodeBlocksEnterFtraceEvent* const _this = this; (void)_this;
7536   new (&_impl_) Impl_{
7537       decltype(_impl_._has_bits_){from._impl_._has_bits_}
7538     , /*decltype(_impl_._cached_size_)*/{}
7539     , decltype(_impl_.dev_){}
7540     , decltype(_impl_.ino_){}
7541     , decltype(_impl_.size_){}
7542     , decltype(_impl_.blocks_){}
7543     , decltype(_impl_.from_){}};
7544 
7545   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
7546   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
7547     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.from_) -
7548     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.from_));
7549   // @@protoc_insertion_point(copy_constructor:perfetto.protos.F2fsTruncateInodeBlocksEnterFtraceEvent)
7550 }
7551 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)7552 inline void F2fsTruncateInodeBlocksEnterFtraceEvent::SharedCtor(
7553     ::_pb::Arena* arena, bool is_message_owned) {
7554   (void)arena;
7555   (void)is_message_owned;
7556   new (&_impl_) Impl_{
7557       decltype(_impl_._has_bits_){}
7558     , /*decltype(_impl_._cached_size_)*/{}
7559     , decltype(_impl_.dev_){::uint64_t{0u}}
7560     , decltype(_impl_.ino_){::uint64_t{0u}}
7561     , decltype(_impl_.size_){::int64_t{0}}
7562     , decltype(_impl_.blocks_){::uint64_t{0u}}
7563     , decltype(_impl_.from_){::uint64_t{0u}}
7564   };
7565 }
7566 
~F2fsTruncateInodeBlocksEnterFtraceEvent()7567 F2fsTruncateInodeBlocksEnterFtraceEvent::~F2fsTruncateInodeBlocksEnterFtraceEvent() {
7568   // @@protoc_insertion_point(destructor:perfetto.protos.F2fsTruncateInodeBlocksEnterFtraceEvent)
7569   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
7570   (void)arena;
7571     return;
7572   }
7573   SharedDtor();
7574 }
7575 
SharedDtor()7576 inline void F2fsTruncateInodeBlocksEnterFtraceEvent::SharedDtor() {
7577   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
7578 }
7579 
SetCachedSize(int size) const7580 void F2fsTruncateInodeBlocksEnterFtraceEvent::SetCachedSize(int size) const {
7581   _impl_._cached_size_.Set(size);
7582 }
7583 
Clear()7584 void F2fsTruncateInodeBlocksEnterFtraceEvent::Clear() {
7585 // @@protoc_insertion_point(message_clear_start:perfetto.protos.F2fsTruncateInodeBlocksEnterFtraceEvent)
7586   ::uint32_t cached_has_bits = 0;
7587   // Prevent compiler warnings about cached_has_bits being unused
7588   (void) cached_has_bits;
7589 
7590   cached_has_bits = _impl_._has_bits_[0];
7591   if (cached_has_bits & 0x0000001fu) {
7592     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
7593         reinterpret_cast<char*>(&_impl_.from_) -
7594         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.from_));
7595   }
7596   _impl_._has_bits_.Clear();
7597   _internal_metadata_.Clear<std::string>();
7598 }
7599 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)7600 const char* F2fsTruncateInodeBlocksEnterFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
7601 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
7602   _Internal::HasBits has_bits{};
7603   while (!ctx->Done(&ptr)) {
7604     ::uint32_t tag;
7605     ptr = ::_pbi::ReadTag(ptr, &tag);
7606     switch (tag >> 3) {
7607       // optional uint64 dev = 1;
7608       case 1:
7609         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
7610           _Internal::set_has_dev(&has_bits);
7611           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
7612           CHK_(ptr);
7613         } else {
7614           goto handle_unusual;
7615         }
7616         continue;
7617       // optional uint64 ino = 2;
7618       case 2:
7619         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
7620           _Internal::set_has_ino(&has_bits);
7621           _impl_.ino_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
7622           CHK_(ptr);
7623         } else {
7624           goto handle_unusual;
7625         }
7626         continue;
7627       // optional int64 size = 3;
7628       case 3:
7629         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
7630           _Internal::set_has_size(&has_bits);
7631           _impl_.size_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
7632           CHK_(ptr);
7633         } else {
7634           goto handle_unusual;
7635         }
7636         continue;
7637       // optional uint64 blocks = 4;
7638       case 4:
7639         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
7640           _Internal::set_has_blocks(&has_bits);
7641           _impl_.blocks_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
7642           CHK_(ptr);
7643         } else {
7644           goto handle_unusual;
7645         }
7646         continue;
7647       // optional uint64 from = 5;
7648       case 5:
7649         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) {
7650           _Internal::set_has_from(&has_bits);
7651           _impl_.from_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
7652           CHK_(ptr);
7653         } else {
7654           goto handle_unusual;
7655         }
7656         continue;
7657       default:
7658         goto handle_unusual;
7659     }  // switch
7660   handle_unusual:
7661     if ((tag == 0) || ((tag & 7) == 4)) {
7662       CHK_(ptr);
7663       ctx->SetLastTag(tag);
7664       goto message_done;
7665     }
7666     ptr = UnknownFieldParse(
7667         tag,
7668         _internal_metadata_.mutable_unknown_fields<std::string>(),
7669         ptr, ctx);
7670     CHK_(ptr != nullptr);
7671   }  // while
7672 message_done:
7673   _impl_._has_bits_.Or(has_bits);
7674   return ptr;
7675 failure:
7676   ptr = nullptr;
7677   goto message_done;
7678 #undef CHK_
7679 }
7680 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const7681 ::uint8_t* F2fsTruncateInodeBlocksEnterFtraceEvent::_InternalSerialize(
7682     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
7683   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.F2fsTruncateInodeBlocksEnterFtraceEvent)
7684   ::uint32_t cached_has_bits = 0;
7685   (void) cached_has_bits;
7686 
7687   cached_has_bits = _impl_._has_bits_[0];
7688   // optional uint64 dev = 1;
7689   if (cached_has_bits & 0x00000001u) {
7690     target = stream->EnsureSpace(target);
7691     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
7692   }
7693 
7694   // optional uint64 ino = 2;
7695   if (cached_has_bits & 0x00000002u) {
7696     target = stream->EnsureSpace(target);
7697     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_ino(), target);
7698   }
7699 
7700   // optional int64 size = 3;
7701   if (cached_has_bits & 0x00000004u) {
7702     target = stream->EnsureSpace(target);
7703     target = ::_pbi::WireFormatLite::WriteInt64ToArray(3, this->_internal_size(), target);
7704   }
7705 
7706   // optional uint64 blocks = 4;
7707   if (cached_has_bits & 0x00000008u) {
7708     target = stream->EnsureSpace(target);
7709     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(4, this->_internal_blocks(), target);
7710   }
7711 
7712   // optional uint64 from = 5;
7713   if (cached_has_bits & 0x00000010u) {
7714     target = stream->EnsureSpace(target);
7715     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(5, this->_internal_from(), target);
7716   }
7717 
7718   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
7719     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
7720         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
7721   }
7722   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.F2fsTruncateInodeBlocksEnterFtraceEvent)
7723   return target;
7724 }
7725 
ByteSizeLong() const7726 size_t F2fsTruncateInodeBlocksEnterFtraceEvent::ByteSizeLong() const {
7727 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.F2fsTruncateInodeBlocksEnterFtraceEvent)
7728   size_t total_size = 0;
7729 
7730   ::uint32_t cached_has_bits = 0;
7731   // Prevent compiler warnings about cached_has_bits being unused
7732   (void) cached_has_bits;
7733 
7734   cached_has_bits = _impl_._has_bits_[0];
7735   if (cached_has_bits & 0x0000001fu) {
7736     // optional uint64 dev = 1;
7737     if (cached_has_bits & 0x00000001u) {
7738       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
7739     }
7740 
7741     // optional uint64 ino = 2;
7742     if (cached_has_bits & 0x00000002u) {
7743       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ino());
7744     }
7745 
7746     // optional int64 size = 3;
7747     if (cached_has_bits & 0x00000004u) {
7748       total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_size());
7749     }
7750 
7751     // optional uint64 blocks = 4;
7752     if (cached_has_bits & 0x00000008u) {
7753       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_blocks());
7754     }
7755 
7756     // optional uint64 from = 5;
7757     if (cached_has_bits & 0x00000010u) {
7758       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_from());
7759     }
7760 
7761   }
7762   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
7763     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
7764   }
7765   int cached_size = ::_pbi::ToCachedSize(total_size);
7766   SetCachedSize(cached_size);
7767   return total_size;
7768 }
7769 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)7770 void F2fsTruncateInodeBlocksEnterFtraceEvent::CheckTypeAndMergeFrom(
7771     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
7772   MergeFrom(*::_pbi::DownCast<const F2fsTruncateInodeBlocksEnterFtraceEvent*>(
7773       &from));
7774 }
7775 
MergeFrom(const F2fsTruncateInodeBlocksEnterFtraceEvent & from)7776 void F2fsTruncateInodeBlocksEnterFtraceEvent::MergeFrom(const F2fsTruncateInodeBlocksEnterFtraceEvent& from) {
7777   F2fsTruncateInodeBlocksEnterFtraceEvent* const _this = this;
7778   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.F2fsTruncateInodeBlocksEnterFtraceEvent)
7779   GOOGLE_DCHECK_NE(&from, _this);
7780   ::uint32_t cached_has_bits = 0;
7781   (void) cached_has_bits;
7782 
7783   cached_has_bits = from._impl_._has_bits_[0];
7784   if (cached_has_bits & 0x0000001fu) {
7785     if (cached_has_bits & 0x00000001u) {
7786       _this->_impl_.dev_ = from._impl_.dev_;
7787     }
7788     if (cached_has_bits & 0x00000002u) {
7789       _this->_impl_.ino_ = from._impl_.ino_;
7790     }
7791     if (cached_has_bits & 0x00000004u) {
7792       _this->_impl_.size_ = from._impl_.size_;
7793     }
7794     if (cached_has_bits & 0x00000008u) {
7795       _this->_impl_.blocks_ = from._impl_.blocks_;
7796     }
7797     if (cached_has_bits & 0x00000010u) {
7798       _this->_impl_.from_ = from._impl_.from_;
7799     }
7800     _this->_impl_._has_bits_[0] |= cached_has_bits;
7801   }
7802   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
7803 }
7804 
CopyFrom(const F2fsTruncateInodeBlocksEnterFtraceEvent & from)7805 void F2fsTruncateInodeBlocksEnterFtraceEvent::CopyFrom(const F2fsTruncateInodeBlocksEnterFtraceEvent& from) {
7806 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.F2fsTruncateInodeBlocksEnterFtraceEvent)
7807   if (&from == this) return;
7808   Clear();
7809   MergeFrom(from);
7810 }
7811 
IsInitialized() const7812 bool F2fsTruncateInodeBlocksEnterFtraceEvent::IsInitialized() const {
7813   return true;
7814 }
7815 
InternalSwap(F2fsTruncateInodeBlocksEnterFtraceEvent * other)7816 void F2fsTruncateInodeBlocksEnterFtraceEvent::InternalSwap(F2fsTruncateInodeBlocksEnterFtraceEvent* other) {
7817   using std::swap;
7818   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
7819   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
7820   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
7821       PROTOBUF_FIELD_OFFSET(F2fsTruncateInodeBlocksEnterFtraceEvent, _impl_.from_)
7822       + sizeof(F2fsTruncateInodeBlocksEnterFtraceEvent::_impl_.from_)  // NOLINT
7823       - PROTOBUF_FIELD_OFFSET(F2fsTruncateInodeBlocksEnterFtraceEvent, _impl_.dev_)>(
7824           reinterpret_cast<char*>(&_impl_.dev_),
7825           reinterpret_cast<char*>(&other->_impl_.dev_));
7826 }
7827 
GetTypeName() const7828 std::string F2fsTruncateInodeBlocksEnterFtraceEvent::GetTypeName() const {
7829   return "perfetto.protos.F2fsTruncateInodeBlocksEnterFtraceEvent";
7830 }
7831 
7832 
7833 // ===================================================================
7834 
7835 class F2fsTruncateInodeBlocksExitFtraceEvent::_Internal {
7836  public:
7837   using HasBits = decltype(std::declval<F2fsTruncateInodeBlocksExitFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)7838   static void set_has_dev(HasBits* has_bits) {
7839     (*has_bits)[0] |= 1u;
7840   }
set_has_ino(HasBits * has_bits)7841   static void set_has_ino(HasBits* has_bits) {
7842     (*has_bits)[0] |= 2u;
7843   }
set_has_ret(HasBits * has_bits)7844   static void set_has_ret(HasBits* has_bits) {
7845     (*has_bits)[0] |= 4u;
7846   }
7847 };
7848 
F2fsTruncateInodeBlocksExitFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)7849 F2fsTruncateInodeBlocksExitFtraceEvent::F2fsTruncateInodeBlocksExitFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
7850                          bool is_message_owned)
7851   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
7852   SharedCtor(arena, is_message_owned);
7853   // @@protoc_insertion_point(arena_constructor:perfetto.protos.F2fsTruncateInodeBlocksExitFtraceEvent)
7854 }
F2fsTruncateInodeBlocksExitFtraceEvent(const F2fsTruncateInodeBlocksExitFtraceEvent & from)7855 F2fsTruncateInodeBlocksExitFtraceEvent::F2fsTruncateInodeBlocksExitFtraceEvent(const F2fsTruncateInodeBlocksExitFtraceEvent& from)
7856   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
7857   F2fsTruncateInodeBlocksExitFtraceEvent* const _this = this; (void)_this;
7858   new (&_impl_) Impl_{
7859       decltype(_impl_._has_bits_){from._impl_._has_bits_}
7860     , /*decltype(_impl_._cached_size_)*/{}
7861     , decltype(_impl_.dev_){}
7862     , decltype(_impl_.ino_){}
7863     , decltype(_impl_.ret_){}};
7864 
7865   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
7866   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
7867     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.ret_) -
7868     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.ret_));
7869   // @@protoc_insertion_point(copy_constructor:perfetto.protos.F2fsTruncateInodeBlocksExitFtraceEvent)
7870 }
7871 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)7872 inline void F2fsTruncateInodeBlocksExitFtraceEvent::SharedCtor(
7873     ::_pb::Arena* arena, bool is_message_owned) {
7874   (void)arena;
7875   (void)is_message_owned;
7876   new (&_impl_) Impl_{
7877       decltype(_impl_._has_bits_){}
7878     , /*decltype(_impl_._cached_size_)*/{}
7879     , decltype(_impl_.dev_){::uint64_t{0u}}
7880     , decltype(_impl_.ino_){::uint64_t{0u}}
7881     , decltype(_impl_.ret_){0}
7882   };
7883 }
7884 
~F2fsTruncateInodeBlocksExitFtraceEvent()7885 F2fsTruncateInodeBlocksExitFtraceEvent::~F2fsTruncateInodeBlocksExitFtraceEvent() {
7886   // @@protoc_insertion_point(destructor:perfetto.protos.F2fsTruncateInodeBlocksExitFtraceEvent)
7887   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
7888   (void)arena;
7889     return;
7890   }
7891   SharedDtor();
7892 }
7893 
SharedDtor()7894 inline void F2fsTruncateInodeBlocksExitFtraceEvent::SharedDtor() {
7895   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
7896 }
7897 
SetCachedSize(int size) const7898 void F2fsTruncateInodeBlocksExitFtraceEvent::SetCachedSize(int size) const {
7899   _impl_._cached_size_.Set(size);
7900 }
7901 
Clear()7902 void F2fsTruncateInodeBlocksExitFtraceEvent::Clear() {
7903 // @@protoc_insertion_point(message_clear_start:perfetto.protos.F2fsTruncateInodeBlocksExitFtraceEvent)
7904   ::uint32_t cached_has_bits = 0;
7905   // Prevent compiler warnings about cached_has_bits being unused
7906   (void) cached_has_bits;
7907 
7908   cached_has_bits = _impl_._has_bits_[0];
7909   if (cached_has_bits & 0x00000007u) {
7910     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
7911         reinterpret_cast<char*>(&_impl_.ret_) -
7912         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.ret_));
7913   }
7914   _impl_._has_bits_.Clear();
7915   _internal_metadata_.Clear<std::string>();
7916 }
7917 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)7918 const char* F2fsTruncateInodeBlocksExitFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
7919 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
7920   _Internal::HasBits has_bits{};
7921   while (!ctx->Done(&ptr)) {
7922     ::uint32_t tag;
7923     ptr = ::_pbi::ReadTag(ptr, &tag);
7924     switch (tag >> 3) {
7925       // optional uint64 dev = 1;
7926       case 1:
7927         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
7928           _Internal::set_has_dev(&has_bits);
7929           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
7930           CHK_(ptr);
7931         } else {
7932           goto handle_unusual;
7933         }
7934         continue;
7935       // optional uint64 ino = 2;
7936       case 2:
7937         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
7938           _Internal::set_has_ino(&has_bits);
7939           _impl_.ino_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
7940           CHK_(ptr);
7941         } else {
7942           goto handle_unusual;
7943         }
7944         continue;
7945       // optional int32 ret = 3;
7946       case 3:
7947         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
7948           _Internal::set_has_ret(&has_bits);
7949           _impl_.ret_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
7950           CHK_(ptr);
7951         } else {
7952           goto handle_unusual;
7953         }
7954         continue;
7955       default:
7956         goto handle_unusual;
7957     }  // switch
7958   handle_unusual:
7959     if ((tag == 0) || ((tag & 7) == 4)) {
7960       CHK_(ptr);
7961       ctx->SetLastTag(tag);
7962       goto message_done;
7963     }
7964     ptr = UnknownFieldParse(
7965         tag,
7966         _internal_metadata_.mutable_unknown_fields<std::string>(),
7967         ptr, ctx);
7968     CHK_(ptr != nullptr);
7969   }  // while
7970 message_done:
7971   _impl_._has_bits_.Or(has_bits);
7972   return ptr;
7973 failure:
7974   ptr = nullptr;
7975   goto message_done;
7976 #undef CHK_
7977 }
7978 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const7979 ::uint8_t* F2fsTruncateInodeBlocksExitFtraceEvent::_InternalSerialize(
7980     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
7981   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.F2fsTruncateInodeBlocksExitFtraceEvent)
7982   ::uint32_t cached_has_bits = 0;
7983   (void) cached_has_bits;
7984 
7985   cached_has_bits = _impl_._has_bits_[0];
7986   // optional uint64 dev = 1;
7987   if (cached_has_bits & 0x00000001u) {
7988     target = stream->EnsureSpace(target);
7989     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
7990   }
7991 
7992   // optional uint64 ino = 2;
7993   if (cached_has_bits & 0x00000002u) {
7994     target = stream->EnsureSpace(target);
7995     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_ino(), target);
7996   }
7997 
7998   // optional int32 ret = 3;
7999   if (cached_has_bits & 0x00000004u) {
8000     target = stream->EnsureSpace(target);
8001     target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_ret(), target);
8002   }
8003 
8004   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
8005     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
8006         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
8007   }
8008   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.F2fsTruncateInodeBlocksExitFtraceEvent)
8009   return target;
8010 }
8011 
ByteSizeLong() const8012 size_t F2fsTruncateInodeBlocksExitFtraceEvent::ByteSizeLong() const {
8013 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.F2fsTruncateInodeBlocksExitFtraceEvent)
8014   size_t total_size = 0;
8015 
8016   ::uint32_t cached_has_bits = 0;
8017   // Prevent compiler warnings about cached_has_bits being unused
8018   (void) cached_has_bits;
8019 
8020   cached_has_bits = _impl_._has_bits_[0];
8021   if (cached_has_bits & 0x00000007u) {
8022     // optional uint64 dev = 1;
8023     if (cached_has_bits & 0x00000001u) {
8024       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
8025     }
8026 
8027     // optional uint64 ino = 2;
8028     if (cached_has_bits & 0x00000002u) {
8029       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ino());
8030     }
8031 
8032     // optional int32 ret = 3;
8033     if (cached_has_bits & 0x00000004u) {
8034       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_ret());
8035     }
8036 
8037   }
8038   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
8039     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
8040   }
8041   int cached_size = ::_pbi::ToCachedSize(total_size);
8042   SetCachedSize(cached_size);
8043   return total_size;
8044 }
8045 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)8046 void F2fsTruncateInodeBlocksExitFtraceEvent::CheckTypeAndMergeFrom(
8047     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
8048   MergeFrom(*::_pbi::DownCast<const F2fsTruncateInodeBlocksExitFtraceEvent*>(
8049       &from));
8050 }
8051 
MergeFrom(const F2fsTruncateInodeBlocksExitFtraceEvent & from)8052 void F2fsTruncateInodeBlocksExitFtraceEvent::MergeFrom(const F2fsTruncateInodeBlocksExitFtraceEvent& from) {
8053   F2fsTruncateInodeBlocksExitFtraceEvent* const _this = this;
8054   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.F2fsTruncateInodeBlocksExitFtraceEvent)
8055   GOOGLE_DCHECK_NE(&from, _this);
8056   ::uint32_t cached_has_bits = 0;
8057   (void) cached_has_bits;
8058 
8059   cached_has_bits = from._impl_._has_bits_[0];
8060   if (cached_has_bits & 0x00000007u) {
8061     if (cached_has_bits & 0x00000001u) {
8062       _this->_impl_.dev_ = from._impl_.dev_;
8063     }
8064     if (cached_has_bits & 0x00000002u) {
8065       _this->_impl_.ino_ = from._impl_.ino_;
8066     }
8067     if (cached_has_bits & 0x00000004u) {
8068       _this->_impl_.ret_ = from._impl_.ret_;
8069     }
8070     _this->_impl_._has_bits_[0] |= cached_has_bits;
8071   }
8072   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
8073 }
8074 
CopyFrom(const F2fsTruncateInodeBlocksExitFtraceEvent & from)8075 void F2fsTruncateInodeBlocksExitFtraceEvent::CopyFrom(const F2fsTruncateInodeBlocksExitFtraceEvent& from) {
8076 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.F2fsTruncateInodeBlocksExitFtraceEvent)
8077   if (&from == this) return;
8078   Clear();
8079   MergeFrom(from);
8080 }
8081 
IsInitialized() const8082 bool F2fsTruncateInodeBlocksExitFtraceEvent::IsInitialized() const {
8083   return true;
8084 }
8085 
InternalSwap(F2fsTruncateInodeBlocksExitFtraceEvent * other)8086 void F2fsTruncateInodeBlocksExitFtraceEvent::InternalSwap(F2fsTruncateInodeBlocksExitFtraceEvent* other) {
8087   using std::swap;
8088   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
8089   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
8090   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
8091       PROTOBUF_FIELD_OFFSET(F2fsTruncateInodeBlocksExitFtraceEvent, _impl_.ret_)
8092       + sizeof(F2fsTruncateInodeBlocksExitFtraceEvent::_impl_.ret_)  // NOLINT
8093       - PROTOBUF_FIELD_OFFSET(F2fsTruncateInodeBlocksExitFtraceEvent, _impl_.dev_)>(
8094           reinterpret_cast<char*>(&_impl_.dev_),
8095           reinterpret_cast<char*>(&other->_impl_.dev_));
8096 }
8097 
GetTypeName() const8098 std::string F2fsTruncateInodeBlocksExitFtraceEvent::GetTypeName() const {
8099   return "perfetto.protos.F2fsTruncateInodeBlocksExitFtraceEvent";
8100 }
8101 
8102 
8103 // ===================================================================
8104 
8105 class F2fsTruncateNodeFtraceEvent::_Internal {
8106  public:
8107   using HasBits = decltype(std::declval<F2fsTruncateNodeFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)8108   static void set_has_dev(HasBits* has_bits) {
8109     (*has_bits)[0] |= 1u;
8110   }
set_has_ino(HasBits * has_bits)8111   static void set_has_ino(HasBits* has_bits) {
8112     (*has_bits)[0] |= 2u;
8113   }
set_has_nid(HasBits * has_bits)8114   static void set_has_nid(HasBits* has_bits) {
8115     (*has_bits)[0] |= 4u;
8116   }
set_has_blk_addr(HasBits * has_bits)8117   static void set_has_blk_addr(HasBits* has_bits) {
8118     (*has_bits)[0] |= 8u;
8119   }
8120 };
8121 
F2fsTruncateNodeFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)8122 F2fsTruncateNodeFtraceEvent::F2fsTruncateNodeFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
8123                          bool is_message_owned)
8124   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
8125   SharedCtor(arena, is_message_owned);
8126   // @@protoc_insertion_point(arena_constructor:perfetto.protos.F2fsTruncateNodeFtraceEvent)
8127 }
F2fsTruncateNodeFtraceEvent(const F2fsTruncateNodeFtraceEvent & from)8128 F2fsTruncateNodeFtraceEvent::F2fsTruncateNodeFtraceEvent(const F2fsTruncateNodeFtraceEvent& from)
8129   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
8130   F2fsTruncateNodeFtraceEvent* const _this = this; (void)_this;
8131   new (&_impl_) Impl_{
8132       decltype(_impl_._has_bits_){from._impl_._has_bits_}
8133     , /*decltype(_impl_._cached_size_)*/{}
8134     , decltype(_impl_.dev_){}
8135     , decltype(_impl_.ino_){}
8136     , decltype(_impl_.nid_){}
8137     , decltype(_impl_.blk_addr_){}};
8138 
8139   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
8140   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
8141     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.blk_addr_) -
8142     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.blk_addr_));
8143   // @@protoc_insertion_point(copy_constructor:perfetto.protos.F2fsTruncateNodeFtraceEvent)
8144 }
8145 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)8146 inline void F2fsTruncateNodeFtraceEvent::SharedCtor(
8147     ::_pb::Arena* arena, bool is_message_owned) {
8148   (void)arena;
8149   (void)is_message_owned;
8150   new (&_impl_) Impl_{
8151       decltype(_impl_._has_bits_){}
8152     , /*decltype(_impl_._cached_size_)*/{}
8153     , decltype(_impl_.dev_){::uint64_t{0u}}
8154     , decltype(_impl_.ino_){::uint64_t{0u}}
8155     , decltype(_impl_.nid_){0u}
8156     , decltype(_impl_.blk_addr_){0u}
8157   };
8158 }
8159 
~F2fsTruncateNodeFtraceEvent()8160 F2fsTruncateNodeFtraceEvent::~F2fsTruncateNodeFtraceEvent() {
8161   // @@protoc_insertion_point(destructor:perfetto.protos.F2fsTruncateNodeFtraceEvent)
8162   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
8163   (void)arena;
8164     return;
8165   }
8166   SharedDtor();
8167 }
8168 
SharedDtor()8169 inline void F2fsTruncateNodeFtraceEvent::SharedDtor() {
8170   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
8171 }
8172 
SetCachedSize(int size) const8173 void F2fsTruncateNodeFtraceEvent::SetCachedSize(int size) const {
8174   _impl_._cached_size_.Set(size);
8175 }
8176 
Clear()8177 void F2fsTruncateNodeFtraceEvent::Clear() {
8178 // @@protoc_insertion_point(message_clear_start:perfetto.protos.F2fsTruncateNodeFtraceEvent)
8179   ::uint32_t cached_has_bits = 0;
8180   // Prevent compiler warnings about cached_has_bits being unused
8181   (void) cached_has_bits;
8182 
8183   cached_has_bits = _impl_._has_bits_[0];
8184   if (cached_has_bits & 0x0000000fu) {
8185     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
8186         reinterpret_cast<char*>(&_impl_.blk_addr_) -
8187         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.blk_addr_));
8188   }
8189   _impl_._has_bits_.Clear();
8190   _internal_metadata_.Clear<std::string>();
8191 }
8192 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)8193 const char* F2fsTruncateNodeFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
8194 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
8195   _Internal::HasBits has_bits{};
8196   while (!ctx->Done(&ptr)) {
8197     ::uint32_t tag;
8198     ptr = ::_pbi::ReadTag(ptr, &tag);
8199     switch (tag >> 3) {
8200       // optional uint64 dev = 1;
8201       case 1:
8202         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
8203           _Internal::set_has_dev(&has_bits);
8204           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
8205           CHK_(ptr);
8206         } else {
8207           goto handle_unusual;
8208         }
8209         continue;
8210       // optional uint64 ino = 2;
8211       case 2:
8212         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
8213           _Internal::set_has_ino(&has_bits);
8214           _impl_.ino_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
8215           CHK_(ptr);
8216         } else {
8217           goto handle_unusual;
8218         }
8219         continue;
8220       // optional uint32 nid = 3;
8221       case 3:
8222         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
8223           _Internal::set_has_nid(&has_bits);
8224           _impl_.nid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
8225           CHK_(ptr);
8226         } else {
8227           goto handle_unusual;
8228         }
8229         continue;
8230       // optional uint32 blk_addr = 4;
8231       case 4:
8232         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
8233           _Internal::set_has_blk_addr(&has_bits);
8234           _impl_.blk_addr_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
8235           CHK_(ptr);
8236         } else {
8237           goto handle_unusual;
8238         }
8239         continue;
8240       default:
8241         goto handle_unusual;
8242     }  // switch
8243   handle_unusual:
8244     if ((tag == 0) || ((tag & 7) == 4)) {
8245       CHK_(ptr);
8246       ctx->SetLastTag(tag);
8247       goto message_done;
8248     }
8249     ptr = UnknownFieldParse(
8250         tag,
8251         _internal_metadata_.mutable_unknown_fields<std::string>(),
8252         ptr, ctx);
8253     CHK_(ptr != nullptr);
8254   }  // while
8255 message_done:
8256   _impl_._has_bits_.Or(has_bits);
8257   return ptr;
8258 failure:
8259   ptr = nullptr;
8260   goto message_done;
8261 #undef CHK_
8262 }
8263 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const8264 ::uint8_t* F2fsTruncateNodeFtraceEvent::_InternalSerialize(
8265     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
8266   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.F2fsTruncateNodeFtraceEvent)
8267   ::uint32_t cached_has_bits = 0;
8268   (void) cached_has_bits;
8269 
8270   cached_has_bits = _impl_._has_bits_[0];
8271   // optional uint64 dev = 1;
8272   if (cached_has_bits & 0x00000001u) {
8273     target = stream->EnsureSpace(target);
8274     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
8275   }
8276 
8277   // optional uint64 ino = 2;
8278   if (cached_has_bits & 0x00000002u) {
8279     target = stream->EnsureSpace(target);
8280     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_ino(), target);
8281   }
8282 
8283   // optional uint32 nid = 3;
8284   if (cached_has_bits & 0x00000004u) {
8285     target = stream->EnsureSpace(target);
8286     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_nid(), target);
8287   }
8288 
8289   // optional uint32 blk_addr = 4;
8290   if (cached_has_bits & 0x00000008u) {
8291     target = stream->EnsureSpace(target);
8292     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_blk_addr(), target);
8293   }
8294 
8295   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
8296     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
8297         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
8298   }
8299   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.F2fsTruncateNodeFtraceEvent)
8300   return target;
8301 }
8302 
ByteSizeLong() const8303 size_t F2fsTruncateNodeFtraceEvent::ByteSizeLong() const {
8304 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.F2fsTruncateNodeFtraceEvent)
8305   size_t total_size = 0;
8306 
8307   ::uint32_t cached_has_bits = 0;
8308   // Prevent compiler warnings about cached_has_bits being unused
8309   (void) cached_has_bits;
8310 
8311   cached_has_bits = _impl_._has_bits_[0];
8312   if (cached_has_bits & 0x0000000fu) {
8313     // optional uint64 dev = 1;
8314     if (cached_has_bits & 0x00000001u) {
8315       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
8316     }
8317 
8318     // optional uint64 ino = 2;
8319     if (cached_has_bits & 0x00000002u) {
8320       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ino());
8321     }
8322 
8323     // optional uint32 nid = 3;
8324     if (cached_has_bits & 0x00000004u) {
8325       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_nid());
8326     }
8327 
8328     // optional uint32 blk_addr = 4;
8329     if (cached_has_bits & 0x00000008u) {
8330       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_blk_addr());
8331     }
8332 
8333   }
8334   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
8335     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
8336   }
8337   int cached_size = ::_pbi::ToCachedSize(total_size);
8338   SetCachedSize(cached_size);
8339   return total_size;
8340 }
8341 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)8342 void F2fsTruncateNodeFtraceEvent::CheckTypeAndMergeFrom(
8343     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
8344   MergeFrom(*::_pbi::DownCast<const F2fsTruncateNodeFtraceEvent*>(
8345       &from));
8346 }
8347 
MergeFrom(const F2fsTruncateNodeFtraceEvent & from)8348 void F2fsTruncateNodeFtraceEvent::MergeFrom(const F2fsTruncateNodeFtraceEvent& from) {
8349   F2fsTruncateNodeFtraceEvent* const _this = this;
8350   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.F2fsTruncateNodeFtraceEvent)
8351   GOOGLE_DCHECK_NE(&from, _this);
8352   ::uint32_t cached_has_bits = 0;
8353   (void) cached_has_bits;
8354 
8355   cached_has_bits = from._impl_._has_bits_[0];
8356   if (cached_has_bits & 0x0000000fu) {
8357     if (cached_has_bits & 0x00000001u) {
8358       _this->_impl_.dev_ = from._impl_.dev_;
8359     }
8360     if (cached_has_bits & 0x00000002u) {
8361       _this->_impl_.ino_ = from._impl_.ino_;
8362     }
8363     if (cached_has_bits & 0x00000004u) {
8364       _this->_impl_.nid_ = from._impl_.nid_;
8365     }
8366     if (cached_has_bits & 0x00000008u) {
8367       _this->_impl_.blk_addr_ = from._impl_.blk_addr_;
8368     }
8369     _this->_impl_._has_bits_[0] |= cached_has_bits;
8370   }
8371   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
8372 }
8373 
CopyFrom(const F2fsTruncateNodeFtraceEvent & from)8374 void F2fsTruncateNodeFtraceEvent::CopyFrom(const F2fsTruncateNodeFtraceEvent& from) {
8375 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.F2fsTruncateNodeFtraceEvent)
8376   if (&from == this) return;
8377   Clear();
8378   MergeFrom(from);
8379 }
8380 
IsInitialized() const8381 bool F2fsTruncateNodeFtraceEvent::IsInitialized() const {
8382   return true;
8383 }
8384 
InternalSwap(F2fsTruncateNodeFtraceEvent * other)8385 void F2fsTruncateNodeFtraceEvent::InternalSwap(F2fsTruncateNodeFtraceEvent* other) {
8386   using std::swap;
8387   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
8388   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
8389   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
8390       PROTOBUF_FIELD_OFFSET(F2fsTruncateNodeFtraceEvent, _impl_.blk_addr_)
8391       + sizeof(F2fsTruncateNodeFtraceEvent::_impl_.blk_addr_)  // NOLINT
8392       - PROTOBUF_FIELD_OFFSET(F2fsTruncateNodeFtraceEvent, _impl_.dev_)>(
8393           reinterpret_cast<char*>(&_impl_.dev_),
8394           reinterpret_cast<char*>(&other->_impl_.dev_));
8395 }
8396 
GetTypeName() const8397 std::string F2fsTruncateNodeFtraceEvent::GetTypeName() const {
8398   return "perfetto.protos.F2fsTruncateNodeFtraceEvent";
8399 }
8400 
8401 
8402 // ===================================================================
8403 
8404 class F2fsTruncateNodesEnterFtraceEvent::_Internal {
8405  public:
8406   using HasBits = decltype(std::declval<F2fsTruncateNodesEnterFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)8407   static void set_has_dev(HasBits* has_bits) {
8408     (*has_bits)[0] |= 1u;
8409   }
set_has_ino(HasBits * has_bits)8410   static void set_has_ino(HasBits* has_bits) {
8411     (*has_bits)[0] |= 2u;
8412   }
set_has_nid(HasBits * has_bits)8413   static void set_has_nid(HasBits* has_bits) {
8414     (*has_bits)[0] |= 4u;
8415   }
set_has_blk_addr(HasBits * has_bits)8416   static void set_has_blk_addr(HasBits* has_bits) {
8417     (*has_bits)[0] |= 8u;
8418   }
8419 };
8420 
F2fsTruncateNodesEnterFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)8421 F2fsTruncateNodesEnterFtraceEvent::F2fsTruncateNodesEnterFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
8422                          bool is_message_owned)
8423   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
8424   SharedCtor(arena, is_message_owned);
8425   // @@protoc_insertion_point(arena_constructor:perfetto.protos.F2fsTruncateNodesEnterFtraceEvent)
8426 }
F2fsTruncateNodesEnterFtraceEvent(const F2fsTruncateNodesEnterFtraceEvent & from)8427 F2fsTruncateNodesEnterFtraceEvent::F2fsTruncateNodesEnterFtraceEvent(const F2fsTruncateNodesEnterFtraceEvent& from)
8428   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
8429   F2fsTruncateNodesEnterFtraceEvent* const _this = this; (void)_this;
8430   new (&_impl_) Impl_{
8431       decltype(_impl_._has_bits_){from._impl_._has_bits_}
8432     , /*decltype(_impl_._cached_size_)*/{}
8433     , decltype(_impl_.dev_){}
8434     , decltype(_impl_.ino_){}
8435     , decltype(_impl_.nid_){}
8436     , decltype(_impl_.blk_addr_){}};
8437 
8438   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
8439   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
8440     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.blk_addr_) -
8441     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.blk_addr_));
8442   // @@protoc_insertion_point(copy_constructor:perfetto.protos.F2fsTruncateNodesEnterFtraceEvent)
8443 }
8444 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)8445 inline void F2fsTruncateNodesEnterFtraceEvent::SharedCtor(
8446     ::_pb::Arena* arena, bool is_message_owned) {
8447   (void)arena;
8448   (void)is_message_owned;
8449   new (&_impl_) Impl_{
8450       decltype(_impl_._has_bits_){}
8451     , /*decltype(_impl_._cached_size_)*/{}
8452     , decltype(_impl_.dev_){::uint64_t{0u}}
8453     , decltype(_impl_.ino_){::uint64_t{0u}}
8454     , decltype(_impl_.nid_){0u}
8455     , decltype(_impl_.blk_addr_){0u}
8456   };
8457 }
8458 
~F2fsTruncateNodesEnterFtraceEvent()8459 F2fsTruncateNodesEnterFtraceEvent::~F2fsTruncateNodesEnterFtraceEvent() {
8460   // @@protoc_insertion_point(destructor:perfetto.protos.F2fsTruncateNodesEnterFtraceEvent)
8461   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
8462   (void)arena;
8463     return;
8464   }
8465   SharedDtor();
8466 }
8467 
SharedDtor()8468 inline void F2fsTruncateNodesEnterFtraceEvent::SharedDtor() {
8469   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
8470 }
8471 
SetCachedSize(int size) const8472 void F2fsTruncateNodesEnterFtraceEvent::SetCachedSize(int size) const {
8473   _impl_._cached_size_.Set(size);
8474 }
8475 
Clear()8476 void F2fsTruncateNodesEnterFtraceEvent::Clear() {
8477 // @@protoc_insertion_point(message_clear_start:perfetto.protos.F2fsTruncateNodesEnterFtraceEvent)
8478   ::uint32_t cached_has_bits = 0;
8479   // Prevent compiler warnings about cached_has_bits being unused
8480   (void) cached_has_bits;
8481 
8482   cached_has_bits = _impl_._has_bits_[0];
8483   if (cached_has_bits & 0x0000000fu) {
8484     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
8485         reinterpret_cast<char*>(&_impl_.blk_addr_) -
8486         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.blk_addr_));
8487   }
8488   _impl_._has_bits_.Clear();
8489   _internal_metadata_.Clear<std::string>();
8490 }
8491 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)8492 const char* F2fsTruncateNodesEnterFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
8493 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
8494   _Internal::HasBits has_bits{};
8495   while (!ctx->Done(&ptr)) {
8496     ::uint32_t tag;
8497     ptr = ::_pbi::ReadTag(ptr, &tag);
8498     switch (tag >> 3) {
8499       // optional uint64 dev = 1;
8500       case 1:
8501         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
8502           _Internal::set_has_dev(&has_bits);
8503           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
8504           CHK_(ptr);
8505         } else {
8506           goto handle_unusual;
8507         }
8508         continue;
8509       // optional uint64 ino = 2;
8510       case 2:
8511         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
8512           _Internal::set_has_ino(&has_bits);
8513           _impl_.ino_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
8514           CHK_(ptr);
8515         } else {
8516           goto handle_unusual;
8517         }
8518         continue;
8519       // optional uint32 nid = 3;
8520       case 3:
8521         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
8522           _Internal::set_has_nid(&has_bits);
8523           _impl_.nid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
8524           CHK_(ptr);
8525         } else {
8526           goto handle_unusual;
8527         }
8528         continue;
8529       // optional uint32 blk_addr = 4;
8530       case 4:
8531         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
8532           _Internal::set_has_blk_addr(&has_bits);
8533           _impl_.blk_addr_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
8534           CHK_(ptr);
8535         } else {
8536           goto handle_unusual;
8537         }
8538         continue;
8539       default:
8540         goto handle_unusual;
8541     }  // switch
8542   handle_unusual:
8543     if ((tag == 0) || ((tag & 7) == 4)) {
8544       CHK_(ptr);
8545       ctx->SetLastTag(tag);
8546       goto message_done;
8547     }
8548     ptr = UnknownFieldParse(
8549         tag,
8550         _internal_metadata_.mutable_unknown_fields<std::string>(),
8551         ptr, ctx);
8552     CHK_(ptr != nullptr);
8553   }  // while
8554 message_done:
8555   _impl_._has_bits_.Or(has_bits);
8556   return ptr;
8557 failure:
8558   ptr = nullptr;
8559   goto message_done;
8560 #undef CHK_
8561 }
8562 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const8563 ::uint8_t* F2fsTruncateNodesEnterFtraceEvent::_InternalSerialize(
8564     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
8565   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.F2fsTruncateNodesEnterFtraceEvent)
8566   ::uint32_t cached_has_bits = 0;
8567   (void) cached_has_bits;
8568 
8569   cached_has_bits = _impl_._has_bits_[0];
8570   // optional uint64 dev = 1;
8571   if (cached_has_bits & 0x00000001u) {
8572     target = stream->EnsureSpace(target);
8573     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
8574   }
8575 
8576   // optional uint64 ino = 2;
8577   if (cached_has_bits & 0x00000002u) {
8578     target = stream->EnsureSpace(target);
8579     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_ino(), target);
8580   }
8581 
8582   // optional uint32 nid = 3;
8583   if (cached_has_bits & 0x00000004u) {
8584     target = stream->EnsureSpace(target);
8585     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_nid(), target);
8586   }
8587 
8588   // optional uint32 blk_addr = 4;
8589   if (cached_has_bits & 0x00000008u) {
8590     target = stream->EnsureSpace(target);
8591     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_blk_addr(), target);
8592   }
8593 
8594   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
8595     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
8596         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
8597   }
8598   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.F2fsTruncateNodesEnterFtraceEvent)
8599   return target;
8600 }
8601 
ByteSizeLong() const8602 size_t F2fsTruncateNodesEnterFtraceEvent::ByteSizeLong() const {
8603 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.F2fsTruncateNodesEnterFtraceEvent)
8604   size_t total_size = 0;
8605 
8606   ::uint32_t cached_has_bits = 0;
8607   // Prevent compiler warnings about cached_has_bits being unused
8608   (void) cached_has_bits;
8609 
8610   cached_has_bits = _impl_._has_bits_[0];
8611   if (cached_has_bits & 0x0000000fu) {
8612     // optional uint64 dev = 1;
8613     if (cached_has_bits & 0x00000001u) {
8614       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
8615     }
8616 
8617     // optional uint64 ino = 2;
8618     if (cached_has_bits & 0x00000002u) {
8619       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ino());
8620     }
8621 
8622     // optional uint32 nid = 3;
8623     if (cached_has_bits & 0x00000004u) {
8624       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_nid());
8625     }
8626 
8627     // optional uint32 blk_addr = 4;
8628     if (cached_has_bits & 0x00000008u) {
8629       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_blk_addr());
8630     }
8631 
8632   }
8633   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
8634     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
8635   }
8636   int cached_size = ::_pbi::ToCachedSize(total_size);
8637   SetCachedSize(cached_size);
8638   return total_size;
8639 }
8640 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)8641 void F2fsTruncateNodesEnterFtraceEvent::CheckTypeAndMergeFrom(
8642     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
8643   MergeFrom(*::_pbi::DownCast<const F2fsTruncateNodesEnterFtraceEvent*>(
8644       &from));
8645 }
8646 
MergeFrom(const F2fsTruncateNodesEnterFtraceEvent & from)8647 void F2fsTruncateNodesEnterFtraceEvent::MergeFrom(const F2fsTruncateNodesEnterFtraceEvent& from) {
8648   F2fsTruncateNodesEnterFtraceEvent* const _this = this;
8649   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.F2fsTruncateNodesEnterFtraceEvent)
8650   GOOGLE_DCHECK_NE(&from, _this);
8651   ::uint32_t cached_has_bits = 0;
8652   (void) cached_has_bits;
8653 
8654   cached_has_bits = from._impl_._has_bits_[0];
8655   if (cached_has_bits & 0x0000000fu) {
8656     if (cached_has_bits & 0x00000001u) {
8657       _this->_impl_.dev_ = from._impl_.dev_;
8658     }
8659     if (cached_has_bits & 0x00000002u) {
8660       _this->_impl_.ino_ = from._impl_.ino_;
8661     }
8662     if (cached_has_bits & 0x00000004u) {
8663       _this->_impl_.nid_ = from._impl_.nid_;
8664     }
8665     if (cached_has_bits & 0x00000008u) {
8666       _this->_impl_.blk_addr_ = from._impl_.blk_addr_;
8667     }
8668     _this->_impl_._has_bits_[0] |= cached_has_bits;
8669   }
8670   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
8671 }
8672 
CopyFrom(const F2fsTruncateNodesEnterFtraceEvent & from)8673 void F2fsTruncateNodesEnterFtraceEvent::CopyFrom(const F2fsTruncateNodesEnterFtraceEvent& from) {
8674 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.F2fsTruncateNodesEnterFtraceEvent)
8675   if (&from == this) return;
8676   Clear();
8677   MergeFrom(from);
8678 }
8679 
IsInitialized() const8680 bool F2fsTruncateNodesEnterFtraceEvent::IsInitialized() const {
8681   return true;
8682 }
8683 
InternalSwap(F2fsTruncateNodesEnterFtraceEvent * other)8684 void F2fsTruncateNodesEnterFtraceEvent::InternalSwap(F2fsTruncateNodesEnterFtraceEvent* other) {
8685   using std::swap;
8686   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
8687   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
8688   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
8689       PROTOBUF_FIELD_OFFSET(F2fsTruncateNodesEnterFtraceEvent, _impl_.blk_addr_)
8690       + sizeof(F2fsTruncateNodesEnterFtraceEvent::_impl_.blk_addr_)  // NOLINT
8691       - PROTOBUF_FIELD_OFFSET(F2fsTruncateNodesEnterFtraceEvent, _impl_.dev_)>(
8692           reinterpret_cast<char*>(&_impl_.dev_),
8693           reinterpret_cast<char*>(&other->_impl_.dev_));
8694 }
8695 
GetTypeName() const8696 std::string F2fsTruncateNodesEnterFtraceEvent::GetTypeName() const {
8697   return "perfetto.protos.F2fsTruncateNodesEnterFtraceEvent";
8698 }
8699 
8700 
8701 // ===================================================================
8702 
8703 class F2fsTruncateNodesExitFtraceEvent::_Internal {
8704  public:
8705   using HasBits = decltype(std::declval<F2fsTruncateNodesExitFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)8706   static void set_has_dev(HasBits* has_bits) {
8707     (*has_bits)[0] |= 1u;
8708   }
set_has_ino(HasBits * has_bits)8709   static void set_has_ino(HasBits* has_bits) {
8710     (*has_bits)[0] |= 2u;
8711   }
set_has_ret(HasBits * has_bits)8712   static void set_has_ret(HasBits* has_bits) {
8713     (*has_bits)[0] |= 4u;
8714   }
8715 };
8716 
F2fsTruncateNodesExitFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)8717 F2fsTruncateNodesExitFtraceEvent::F2fsTruncateNodesExitFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
8718                          bool is_message_owned)
8719   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
8720   SharedCtor(arena, is_message_owned);
8721   // @@protoc_insertion_point(arena_constructor:perfetto.protos.F2fsTruncateNodesExitFtraceEvent)
8722 }
F2fsTruncateNodesExitFtraceEvent(const F2fsTruncateNodesExitFtraceEvent & from)8723 F2fsTruncateNodesExitFtraceEvent::F2fsTruncateNodesExitFtraceEvent(const F2fsTruncateNodesExitFtraceEvent& from)
8724   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
8725   F2fsTruncateNodesExitFtraceEvent* const _this = this; (void)_this;
8726   new (&_impl_) Impl_{
8727       decltype(_impl_._has_bits_){from._impl_._has_bits_}
8728     , /*decltype(_impl_._cached_size_)*/{}
8729     , decltype(_impl_.dev_){}
8730     , decltype(_impl_.ino_){}
8731     , decltype(_impl_.ret_){}};
8732 
8733   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
8734   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
8735     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.ret_) -
8736     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.ret_));
8737   // @@protoc_insertion_point(copy_constructor:perfetto.protos.F2fsTruncateNodesExitFtraceEvent)
8738 }
8739 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)8740 inline void F2fsTruncateNodesExitFtraceEvent::SharedCtor(
8741     ::_pb::Arena* arena, bool is_message_owned) {
8742   (void)arena;
8743   (void)is_message_owned;
8744   new (&_impl_) Impl_{
8745       decltype(_impl_._has_bits_){}
8746     , /*decltype(_impl_._cached_size_)*/{}
8747     , decltype(_impl_.dev_){::uint64_t{0u}}
8748     , decltype(_impl_.ino_){::uint64_t{0u}}
8749     , decltype(_impl_.ret_){0}
8750   };
8751 }
8752 
~F2fsTruncateNodesExitFtraceEvent()8753 F2fsTruncateNodesExitFtraceEvent::~F2fsTruncateNodesExitFtraceEvent() {
8754   // @@protoc_insertion_point(destructor:perfetto.protos.F2fsTruncateNodesExitFtraceEvent)
8755   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
8756   (void)arena;
8757     return;
8758   }
8759   SharedDtor();
8760 }
8761 
SharedDtor()8762 inline void F2fsTruncateNodesExitFtraceEvent::SharedDtor() {
8763   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
8764 }
8765 
SetCachedSize(int size) const8766 void F2fsTruncateNodesExitFtraceEvent::SetCachedSize(int size) const {
8767   _impl_._cached_size_.Set(size);
8768 }
8769 
Clear()8770 void F2fsTruncateNodesExitFtraceEvent::Clear() {
8771 // @@protoc_insertion_point(message_clear_start:perfetto.protos.F2fsTruncateNodesExitFtraceEvent)
8772   ::uint32_t cached_has_bits = 0;
8773   // Prevent compiler warnings about cached_has_bits being unused
8774   (void) cached_has_bits;
8775 
8776   cached_has_bits = _impl_._has_bits_[0];
8777   if (cached_has_bits & 0x00000007u) {
8778     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
8779         reinterpret_cast<char*>(&_impl_.ret_) -
8780         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.ret_));
8781   }
8782   _impl_._has_bits_.Clear();
8783   _internal_metadata_.Clear<std::string>();
8784 }
8785 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)8786 const char* F2fsTruncateNodesExitFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
8787 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
8788   _Internal::HasBits has_bits{};
8789   while (!ctx->Done(&ptr)) {
8790     ::uint32_t tag;
8791     ptr = ::_pbi::ReadTag(ptr, &tag);
8792     switch (tag >> 3) {
8793       // optional uint64 dev = 1;
8794       case 1:
8795         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
8796           _Internal::set_has_dev(&has_bits);
8797           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
8798           CHK_(ptr);
8799         } else {
8800           goto handle_unusual;
8801         }
8802         continue;
8803       // optional uint64 ino = 2;
8804       case 2:
8805         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
8806           _Internal::set_has_ino(&has_bits);
8807           _impl_.ino_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
8808           CHK_(ptr);
8809         } else {
8810           goto handle_unusual;
8811         }
8812         continue;
8813       // optional int32 ret = 3;
8814       case 3:
8815         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
8816           _Internal::set_has_ret(&has_bits);
8817           _impl_.ret_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
8818           CHK_(ptr);
8819         } else {
8820           goto handle_unusual;
8821         }
8822         continue;
8823       default:
8824         goto handle_unusual;
8825     }  // switch
8826   handle_unusual:
8827     if ((tag == 0) || ((tag & 7) == 4)) {
8828       CHK_(ptr);
8829       ctx->SetLastTag(tag);
8830       goto message_done;
8831     }
8832     ptr = UnknownFieldParse(
8833         tag,
8834         _internal_metadata_.mutable_unknown_fields<std::string>(),
8835         ptr, ctx);
8836     CHK_(ptr != nullptr);
8837   }  // while
8838 message_done:
8839   _impl_._has_bits_.Or(has_bits);
8840   return ptr;
8841 failure:
8842   ptr = nullptr;
8843   goto message_done;
8844 #undef CHK_
8845 }
8846 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const8847 ::uint8_t* F2fsTruncateNodesExitFtraceEvent::_InternalSerialize(
8848     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
8849   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.F2fsTruncateNodesExitFtraceEvent)
8850   ::uint32_t cached_has_bits = 0;
8851   (void) cached_has_bits;
8852 
8853   cached_has_bits = _impl_._has_bits_[0];
8854   // optional uint64 dev = 1;
8855   if (cached_has_bits & 0x00000001u) {
8856     target = stream->EnsureSpace(target);
8857     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
8858   }
8859 
8860   // optional uint64 ino = 2;
8861   if (cached_has_bits & 0x00000002u) {
8862     target = stream->EnsureSpace(target);
8863     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_ino(), target);
8864   }
8865 
8866   // optional int32 ret = 3;
8867   if (cached_has_bits & 0x00000004u) {
8868     target = stream->EnsureSpace(target);
8869     target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_ret(), target);
8870   }
8871 
8872   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
8873     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
8874         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
8875   }
8876   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.F2fsTruncateNodesExitFtraceEvent)
8877   return target;
8878 }
8879 
ByteSizeLong() const8880 size_t F2fsTruncateNodesExitFtraceEvent::ByteSizeLong() const {
8881 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.F2fsTruncateNodesExitFtraceEvent)
8882   size_t total_size = 0;
8883 
8884   ::uint32_t cached_has_bits = 0;
8885   // Prevent compiler warnings about cached_has_bits being unused
8886   (void) cached_has_bits;
8887 
8888   cached_has_bits = _impl_._has_bits_[0];
8889   if (cached_has_bits & 0x00000007u) {
8890     // optional uint64 dev = 1;
8891     if (cached_has_bits & 0x00000001u) {
8892       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
8893     }
8894 
8895     // optional uint64 ino = 2;
8896     if (cached_has_bits & 0x00000002u) {
8897       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ino());
8898     }
8899 
8900     // optional int32 ret = 3;
8901     if (cached_has_bits & 0x00000004u) {
8902       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_ret());
8903     }
8904 
8905   }
8906   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
8907     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
8908   }
8909   int cached_size = ::_pbi::ToCachedSize(total_size);
8910   SetCachedSize(cached_size);
8911   return total_size;
8912 }
8913 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)8914 void F2fsTruncateNodesExitFtraceEvent::CheckTypeAndMergeFrom(
8915     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
8916   MergeFrom(*::_pbi::DownCast<const F2fsTruncateNodesExitFtraceEvent*>(
8917       &from));
8918 }
8919 
MergeFrom(const F2fsTruncateNodesExitFtraceEvent & from)8920 void F2fsTruncateNodesExitFtraceEvent::MergeFrom(const F2fsTruncateNodesExitFtraceEvent& from) {
8921   F2fsTruncateNodesExitFtraceEvent* const _this = this;
8922   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.F2fsTruncateNodesExitFtraceEvent)
8923   GOOGLE_DCHECK_NE(&from, _this);
8924   ::uint32_t cached_has_bits = 0;
8925   (void) cached_has_bits;
8926 
8927   cached_has_bits = from._impl_._has_bits_[0];
8928   if (cached_has_bits & 0x00000007u) {
8929     if (cached_has_bits & 0x00000001u) {
8930       _this->_impl_.dev_ = from._impl_.dev_;
8931     }
8932     if (cached_has_bits & 0x00000002u) {
8933       _this->_impl_.ino_ = from._impl_.ino_;
8934     }
8935     if (cached_has_bits & 0x00000004u) {
8936       _this->_impl_.ret_ = from._impl_.ret_;
8937     }
8938     _this->_impl_._has_bits_[0] |= cached_has_bits;
8939   }
8940   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
8941 }
8942 
CopyFrom(const F2fsTruncateNodesExitFtraceEvent & from)8943 void F2fsTruncateNodesExitFtraceEvent::CopyFrom(const F2fsTruncateNodesExitFtraceEvent& from) {
8944 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.F2fsTruncateNodesExitFtraceEvent)
8945   if (&from == this) return;
8946   Clear();
8947   MergeFrom(from);
8948 }
8949 
IsInitialized() const8950 bool F2fsTruncateNodesExitFtraceEvent::IsInitialized() const {
8951   return true;
8952 }
8953 
InternalSwap(F2fsTruncateNodesExitFtraceEvent * other)8954 void F2fsTruncateNodesExitFtraceEvent::InternalSwap(F2fsTruncateNodesExitFtraceEvent* other) {
8955   using std::swap;
8956   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
8957   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
8958   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
8959       PROTOBUF_FIELD_OFFSET(F2fsTruncateNodesExitFtraceEvent, _impl_.ret_)
8960       + sizeof(F2fsTruncateNodesExitFtraceEvent::_impl_.ret_)  // NOLINT
8961       - PROTOBUF_FIELD_OFFSET(F2fsTruncateNodesExitFtraceEvent, _impl_.dev_)>(
8962           reinterpret_cast<char*>(&_impl_.dev_),
8963           reinterpret_cast<char*>(&other->_impl_.dev_));
8964 }
8965 
GetTypeName() const8966 std::string F2fsTruncateNodesExitFtraceEvent::GetTypeName() const {
8967   return "perfetto.protos.F2fsTruncateNodesExitFtraceEvent";
8968 }
8969 
8970 
8971 // ===================================================================
8972 
8973 class F2fsTruncatePartialNodesFtraceEvent::_Internal {
8974  public:
8975   using HasBits = decltype(std::declval<F2fsTruncatePartialNodesFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)8976   static void set_has_dev(HasBits* has_bits) {
8977     (*has_bits)[0] |= 1u;
8978   }
set_has_ino(HasBits * has_bits)8979   static void set_has_ino(HasBits* has_bits) {
8980     (*has_bits)[0] |= 2u;
8981   }
set_has_nid(HasBits * has_bits)8982   static void set_has_nid(HasBits* has_bits) {
8983     (*has_bits)[0] |= 4u;
8984   }
set_has_depth(HasBits * has_bits)8985   static void set_has_depth(HasBits* has_bits) {
8986     (*has_bits)[0] |= 8u;
8987   }
set_has_err(HasBits * has_bits)8988   static void set_has_err(HasBits* has_bits) {
8989     (*has_bits)[0] |= 16u;
8990   }
8991 };
8992 
F2fsTruncatePartialNodesFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)8993 F2fsTruncatePartialNodesFtraceEvent::F2fsTruncatePartialNodesFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
8994                          bool is_message_owned)
8995   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
8996   SharedCtor(arena, is_message_owned);
8997   // @@protoc_insertion_point(arena_constructor:perfetto.protos.F2fsTruncatePartialNodesFtraceEvent)
8998 }
F2fsTruncatePartialNodesFtraceEvent(const F2fsTruncatePartialNodesFtraceEvent & from)8999 F2fsTruncatePartialNodesFtraceEvent::F2fsTruncatePartialNodesFtraceEvent(const F2fsTruncatePartialNodesFtraceEvent& from)
9000   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
9001   F2fsTruncatePartialNodesFtraceEvent* const _this = this; (void)_this;
9002   new (&_impl_) Impl_{
9003       decltype(_impl_._has_bits_){from._impl_._has_bits_}
9004     , /*decltype(_impl_._cached_size_)*/{}
9005     , decltype(_impl_.dev_){}
9006     , decltype(_impl_.ino_){}
9007     , decltype(_impl_.nid_){}
9008     , decltype(_impl_.depth_){}
9009     , decltype(_impl_.err_){}};
9010 
9011   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
9012   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
9013     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.err_) -
9014     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.err_));
9015   // @@protoc_insertion_point(copy_constructor:perfetto.protos.F2fsTruncatePartialNodesFtraceEvent)
9016 }
9017 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)9018 inline void F2fsTruncatePartialNodesFtraceEvent::SharedCtor(
9019     ::_pb::Arena* arena, bool is_message_owned) {
9020   (void)arena;
9021   (void)is_message_owned;
9022   new (&_impl_) Impl_{
9023       decltype(_impl_._has_bits_){}
9024     , /*decltype(_impl_._cached_size_)*/{}
9025     , decltype(_impl_.dev_){::uint64_t{0u}}
9026     , decltype(_impl_.ino_){::uint64_t{0u}}
9027     , decltype(_impl_.nid_){0u}
9028     , decltype(_impl_.depth_){0}
9029     , decltype(_impl_.err_){0}
9030   };
9031 }
9032 
~F2fsTruncatePartialNodesFtraceEvent()9033 F2fsTruncatePartialNodesFtraceEvent::~F2fsTruncatePartialNodesFtraceEvent() {
9034   // @@protoc_insertion_point(destructor:perfetto.protos.F2fsTruncatePartialNodesFtraceEvent)
9035   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
9036   (void)arena;
9037     return;
9038   }
9039   SharedDtor();
9040 }
9041 
SharedDtor()9042 inline void F2fsTruncatePartialNodesFtraceEvent::SharedDtor() {
9043   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
9044 }
9045 
SetCachedSize(int size) const9046 void F2fsTruncatePartialNodesFtraceEvent::SetCachedSize(int size) const {
9047   _impl_._cached_size_.Set(size);
9048 }
9049 
Clear()9050 void F2fsTruncatePartialNodesFtraceEvent::Clear() {
9051 // @@protoc_insertion_point(message_clear_start:perfetto.protos.F2fsTruncatePartialNodesFtraceEvent)
9052   ::uint32_t cached_has_bits = 0;
9053   // Prevent compiler warnings about cached_has_bits being unused
9054   (void) cached_has_bits;
9055 
9056   cached_has_bits = _impl_._has_bits_[0];
9057   if (cached_has_bits & 0x0000001fu) {
9058     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
9059         reinterpret_cast<char*>(&_impl_.err_) -
9060         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.err_));
9061   }
9062   _impl_._has_bits_.Clear();
9063   _internal_metadata_.Clear<std::string>();
9064 }
9065 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)9066 const char* F2fsTruncatePartialNodesFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
9067 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
9068   _Internal::HasBits has_bits{};
9069   while (!ctx->Done(&ptr)) {
9070     ::uint32_t tag;
9071     ptr = ::_pbi::ReadTag(ptr, &tag);
9072     switch (tag >> 3) {
9073       // optional uint64 dev = 1;
9074       case 1:
9075         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
9076           _Internal::set_has_dev(&has_bits);
9077           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
9078           CHK_(ptr);
9079         } else {
9080           goto handle_unusual;
9081         }
9082         continue;
9083       // optional uint64 ino = 2;
9084       case 2:
9085         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
9086           _Internal::set_has_ino(&has_bits);
9087           _impl_.ino_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
9088           CHK_(ptr);
9089         } else {
9090           goto handle_unusual;
9091         }
9092         continue;
9093       // optional uint32 nid = 3;
9094       case 3:
9095         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
9096           _Internal::set_has_nid(&has_bits);
9097           _impl_.nid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
9098           CHK_(ptr);
9099         } else {
9100           goto handle_unusual;
9101         }
9102         continue;
9103       // optional int32 depth = 4;
9104       case 4:
9105         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
9106           _Internal::set_has_depth(&has_bits);
9107           _impl_.depth_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
9108           CHK_(ptr);
9109         } else {
9110           goto handle_unusual;
9111         }
9112         continue;
9113       // optional int32 err = 5;
9114       case 5:
9115         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) {
9116           _Internal::set_has_err(&has_bits);
9117           _impl_.err_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
9118           CHK_(ptr);
9119         } else {
9120           goto handle_unusual;
9121         }
9122         continue;
9123       default:
9124         goto handle_unusual;
9125     }  // switch
9126   handle_unusual:
9127     if ((tag == 0) || ((tag & 7) == 4)) {
9128       CHK_(ptr);
9129       ctx->SetLastTag(tag);
9130       goto message_done;
9131     }
9132     ptr = UnknownFieldParse(
9133         tag,
9134         _internal_metadata_.mutable_unknown_fields<std::string>(),
9135         ptr, ctx);
9136     CHK_(ptr != nullptr);
9137   }  // while
9138 message_done:
9139   _impl_._has_bits_.Or(has_bits);
9140   return ptr;
9141 failure:
9142   ptr = nullptr;
9143   goto message_done;
9144 #undef CHK_
9145 }
9146 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const9147 ::uint8_t* F2fsTruncatePartialNodesFtraceEvent::_InternalSerialize(
9148     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
9149   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.F2fsTruncatePartialNodesFtraceEvent)
9150   ::uint32_t cached_has_bits = 0;
9151   (void) cached_has_bits;
9152 
9153   cached_has_bits = _impl_._has_bits_[0];
9154   // optional uint64 dev = 1;
9155   if (cached_has_bits & 0x00000001u) {
9156     target = stream->EnsureSpace(target);
9157     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
9158   }
9159 
9160   // optional uint64 ino = 2;
9161   if (cached_has_bits & 0x00000002u) {
9162     target = stream->EnsureSpace(target);
9163     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_ino(), target);
9164   }
9165 
9166   // optional uint32 nid = 3;
9167   if (cached_has_bits & 0x00000004u) {
9168     target = stream->EnsureSpace(target);
9169     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_nid(), target);
9170   }
9171 
9172   // optional int32 depth = 4;
9173   if (cached_has_bits & 0x00000008u) {
9174     target = stream->EnsureSpace(target);
9175     target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_depth(), target);
9176   }
9177 
9178   // optional int32 err = 5;
9179   if (cached_has_bits & 0x00000010u) {
9180     target = stream->EnsureSpace(target);
9181     target = ::_pbi::WireFormatLite::WriteInt32ToArray(5, this->_internal_err(), target);
9182   }
9183 
9184   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
9185     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
9186         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
9187   }
9188   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.F2fsTruncatePartialNodesFtraceEvent)
9189   return target;
9190 }
9191 
ByteSizeLong() const9192 size_t F2fsTruncatePartialNodesFtraceEvent::ByteSizeLong() const {
9193 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.F2fsTruncatePartialNodesFtraceEvent)
9194   size_t total_size = 0;
9195 
9196   ::uint32_t cached_has_bits = 0;
9197   // Prevent compiler warnings about cached_has_bits being unused
9198   (void) cached_has_bits;
9199 
9200   cached_has_bits = _impl_._has_bits_[0];
9201   if (cached_has_bits & 0x0000001fu) {
9202     // optional uint64 dev = 1;
9203     if (cached_has_bits & 0x00000001u) {
9204       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
9205     }
9206 
9207     // optional uint64 ino = 2;
9208     if (cached_has_bits & 0x00000002u) {
9209       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ino());
9210     }
9211 
9212     // optional uint32 nid = 3;
9213     if (cached_has_bits & 0x00000004u) {
9214       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_nid());
9215     }
9216 
9217     // optional int32 depth = 4;
9218     if (cached_has_bits & 0x00000008u) {
9219       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_depth());
9220     }
9221 
9222     // optional int32 err = 5;
9223     if (cached_has_bits & 0x00000010u) {
9224       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_err());
9225     }
9226 
9227   }
9228   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
9229     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
9230   }
9231   int cached_size = ::_pbi::ToCachedSize(total_size);
9232   SetCachedSize(cached_size);
9233   return total_size;
9234 }
9235 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)9236 void F2fsTruncatePartialNodesFtraceEvent::CheckTypeAndMergeFrom(
9237     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
9238   MergeFrom(*::_pbi::DownCast<const F2fsTruncatePartialNodesFtraceEvent*>(
9239       &from));
9240 }
9241 
MergeFrom(const F2fsTruncatePartialNodesFtraceEvent & from)9242 void F2fsTruncatePartialNodesFtraceEvent::MergeFrom(const F2fsTruncatePartialNodesFtraceEvent& from) {
9243   F2fsTruncatePartialNodesFtraceEvent* const _this = this;
9244   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.F2fsTruncatePartialNodesFtraceEvent)
9245   GOOGLE_DCHECK_NE(&from, _this);
9246   ::uint32_t cached_has_bits = 0;
9247   (void) cached_has_bits;
9248 
9249   cached_has_bits = from._impl_._has_bits_[0];
9250   if (cached_has_bits & 0x0000001fu) {
9251     if (cached_has_bits & 0x00000001u) {
9252       _this->_impl_.dev_ = from._impl_.dev_;
9253     }
9254     if (cached_has_bits & 0x00000002u) {
9255       _this->_impl_.ino_ = from._impl_.ino_;
9256     }
9257     if (cached_has_bits & 0x00000004u) {
9258       _this->_impl_.nid_ = from._impl_.nid_;
9259     }
9260     if (cached_has_bits & 0x00000008u) {
9261       _this->_impl_.depth_ = from._impl_.depth_;
9262     }
9263     if (cached_has_bits & 0x00000010u) {
9264       _this->_impl_.err_ = from._impl_.err_;
9265     }
9266     _this->_impl_._has_bits_[0] |= cached_has_bits;
9267   }
9268   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
9269 }
9270 
CopyFrom(const F2fsTruncatePartialNodesFtraceEvent & from)9271 void F2fsTruncatePartialNodesFtraceEvent::CopyFrom(const F2fsTruncatePartialNodesFtraceEvent& from) {
9272 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.F2fsTruncatePartialNodesFtraceEvent)
9273   if (&from == this) return;
9274   Clear();
9275   MergeFrom(from);
9276 }
9277 
IsInitialized() const9278 bool F2fsTruncatePartialNodesFtraceEvent::IsInitialized() const {
9279   return true;
9280 }
9281 
InternalSwap(F2fsTruncatePartialNodesFtraceEvent * other)9282 void F2fsTruncatePartialNodesFtraceEvent::InternalSwap(F2fsTruncatePartialNodesFtraceEvent* other) {
9283   using std::swap;
9284   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
9285   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
9286   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
9287       PROTOBUF_FIELD_OFFSET(F2fsTruncatePartialNodesFtraceEvent, _impl_.err_)
9288       + sizeof(F2fsTruncatePartialNodesFtraceEvent::_impl_.err_)  // NOLINT
9289       - PROTOBUF_FIELD_OFFSET(F2fsTruncatePartialNodesFtraceEvent, _impl_.dev_)>(
9290           reinterpret_cast<char*>(&_impl_.dev_),
9291           reinterpret_cast<char*>(&other->_impl_.dev_));
9292 }
9293 
GetTypeName() const9294 std::string F2fsTruncatePartialNodesFtraceEvent::GetTypeName() const {
9295   return "perfetto.protos.F2fsTruncatePartialNodesFtraceEvent";
9296 }
9297 
9298 
9299 // ===================================================================
9300 
9301 class F2fsUnlinkEnterFtraceEvent::_Internal {
9302  public:
9303   using HasBits = decltype(std::declval<F2fsUnlinkEnterFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)9304   static void set_has_dev(HasBits* has_bits) {
9305     (*has_bits)[0] |= 2u;
9306   }
set_has_ino(HasBits * has_bits)9307   static void set_has_ino(HasBits* has_bits) {
9308     (*has_bits)[0] |= 4u;
9309   }
set_has_size(HasBits * has_bits)9310   static void set_has_size(HasBits* has_bits) {
9311     (*has_bits)[0] |= 8u;
9312   }
set_has_blocks(HasBits * has_bits)9313   static void set_has_blocks(HasBits* has_bits) {
9314     (*has_bits)[0] |= 16u;
9315   }
set_has_name(HasBits * has_bits)9316   static void set_has_name(HasBits* has_bits) {
9317     (*has_bits)[0] |= 1u;
9318   }
9319 };
9320 
F2fsUnlinkEnterFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)9321 F2fsUnlinkEnterFtraceEvent::F2fsUnlinkEnterFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
9322                          bool is_message_owned)
9323   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
9324   SharedCtor(arena, is_message_owned);
9325   // @@protoc_insertion_point(arena_constructor:perfetto.protos.F2fsUnlinkEnterFtraceEvent)
9326 }
F2fsUnlinkEnterFtraceEvent(const F2fsUnlinkEnterFtraceEvent & from)9327 F2fsUnlinkEnterFtraceEvent::F2fsUnlinkEnterFtraceEvent(const F2fsUnlinkEnterFtraceEvent& from)
9328   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
9329   F2fsUnlinkEnterFtraceEvent* const _this = this; (void)_this;
9330   new (&_impl_) Impl_{
9331       decltype(_impl_._has_bits_){from._impl_._has_bits_}
9332     , /*decltype(_impl_._cached_size_)*/{}
9333     , decltype(_impl_.name_){}
9334     , decltype(_impl_.dev_){}
9335     , decltype(_impl_.ino_){}
9336     , decltype(_impl_.size_){}
9337     , decltype(_impl_.blocks_){}};
9338 
9339   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
9340   _impl_.name_.InitDefault();
9341   #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
9342     _impl_.name_.Set("", GetArenaForAllocation());
9343   #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
9344   if (from._internal_has_name()) {
9345     _this->_impl_.name_.Set(from._internal_name(),
9346       _this->GetArenaForAllocation());
9347   }
9348   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
9349     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.blocks_) -
9350     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.blocks_));
9351   // @@protoc_insertion_point(copy_constructor:perfetto.protos.F2fsUnlinkEnterFtraceEvent)
9352 }
9353 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)9354 inline void F2fsUnlinkEnterFtraceEvent::SharedCtor(
9355     ::_pb::Arena* arena, bool is_message_owned) {
9356   (void)arena;
9357   (void)is_message_owned;
9358   new (&_impl_) Impl_{
9359       decltype(_impl_._has_bits_){}
9360     , /*decltype(_impl_._cached_size_)*/{}
9361     , decltype(_impl_.name_){}
9362     , decltype(_impl_.dev_){::uint64_t{0u}}
9363     , decltype(_impl_.ino_){::uint64_t{0u}}
9364     , decltype(_impl_.size_){::int64_t{0}}
9365     , decltype(_impl_.blocks_){::uint64_t{0u}}
9366   };
9367   _impl_.name_.InitDefault();
9368   #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
9369     _impl_.name_.Set("", GetArenaForAllocation());
9370   #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
9371 }
9372 
~F2fsUnlinkEnterFtraceEvent()9373 F2fsUnlinkEnterFtraceEvent::~F2fsUnlinkEnterFtraceEvent() {
9374   // @@protoc_insertion_point(destructor:perfetto.protos.F2fsUnlinkEnterFtraceEvent)
9375   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
9376   (void)arena;
9377     return;
9378   }
9379   SharedDtor();
9380 }
9381 
SharedDtor()9382 inline void F2fsUnlinkEnterFtraceEvent::SharedDtor() {
9383   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
9384   _impl_.name_.Destroy();
9385 }
9386 
SetCachedSize(int size) const9387 void F2fsUnlinkEnterFtraceEvent::SetCachedSize(int size) const {
9388   _impl_._cached_size_.Set(size);
9389 }
9390 
Clear()9391 void F2fsUnlinkEnterFtraceEvent::Clear() {
9392 // @@protoc_insertion_point(message_clear_start:perfetto.protos.F2fsUnlinkEnterFtraceEvent)
9393   ::uint32_t cached_has_bits = 0;
9394   // Prevent compiler warnings about cached_has_bits being unused
9395   (void) cached_has_bits;
9396 
9397   cached_has_bits = _impl_._has_bits_[0];
9398   if (cached_has_bits & 0x00000001u) {
9399     _impl_.name_.ClearNonDefaultToEmpty();
9400   }
9401   if (cached_has_bits & 0x0000001eu) {
9402     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
9403         reinterpret_cast<char*>(&_impl_.blocks_) -
9404         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.blocks_));
9405   }
9406   _impl_._has_bits_.Clear();
9407   _internal_metadata_.Clear<std::string>();
9408 }
9409 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)9410 const char* F2fsUnlinkEnterFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
9411 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
9412   _Internal::HasBits has_bits{};
9413   while (!ctx->Done(&ptr)) {
9414     ::uint32_t tag;
9415     ptr = ::_pbi::ReadTag(ptr, &tag);
9416     switch (tag >> 3) {
9417       // optional uint64 dev = 1;
9418       case 1:
9419         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
9420           _Internal::set_has_dev(&has_bits);
9421           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
9422           CHK_(ptr);
9423         } else {
9424           goto handle_unusual;
9425         }
9426         continue;
9427       // optional uint64 ino = 2;
9428       case 2:
9429         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
9430           _Internal::set_has_ino(&has_bits);
9431           _impl_.ino_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
9432           CHK_(ptr);
9433         } else {
9434           goto handle_unusual;
9435         }
9436         continue;
9437       // optional int64 size = 3;
9438       case 3:
9439         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
9440           _Internal::set_has_size(&has_bits);
9441           _impl_.size_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
9442           CHK_(ptr);
9443         } else {
9444           goto handle_unusual;
9445         }
9446         continue;
9447       // optional uint64 blocks = 4;
9448       case 4:
9449         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
9450           _Internal::set_has_blocks(&has_bits);
9451           _impl_.blocks_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
9452           CHK_(ptr);
9453         } else {
9454           goto handle_unusual;
9455         }
9456         continue;
9457       // optional string name = 5;
9458       case 5:
9459         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 42)) {
9460           auto str = _internal_mutable_name();
9461           ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
9462           CHK_(ptr);
9463         } else {
9464           goto handle_unusual;
9465         }
9466         continue;
9467       default:
9468         goto handle_unusual;
9469     }  // switch
9470   handle_unusual:
9471     if ((tag == 0) || ((tag & 7) == 4)) {
9472       CHK_(ptr);
9473       ctx->SetLastTag(tag);
9474       goto message_done;
9475     }
9476     ptr = UnknownFieldParse(
9477         tag,
9478         _internal_metadata_.mutable_unknown_fields<std::string>(),
9479         ptr, ctx);
9480     CHK_(ptr != nullptr);
9481   }  // while
9482 message_done:
9483   _impl_._has_bits_.Or(has_bits);
9484   return ptr;
9485 failure:
9486   ptr = nullptr;
9487   goto message_done;
9488 #undef CHK_
9489 }
9490 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const9491 ::uint8_t* F2fsUnlinkEnterFtraceEvent::_InternalSerialize(
9492     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
9493   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.F2fsUnlinkEnterFtraceEvent)
9494   ::uint32_t cached_has_bits = 0;
9495   (void) cached_has_bits;
9496 
9497   cached_has_bits = _impl_._has_bits_[0];
9498   // optional uint64 dev = 1;
9499   if (cached_has_bits & 0x00000002u) {
9500     target = stream->EnsureSpace(target);
9501     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
9502   }
9503 
9504   // optional uint64 ino = 2;
9505   if (cached_has_bits & 0x00000004u) {
9506     target = stream->EnsureSpace(target);
9507     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_ino(), target);
9508   }
9509 
9510   // optional int64 size = 3;
9511   if (cached_has_bits & 0x00000008u) {
9512     target = stream->EnsureSpace(target);
9513     target = ::_pbi::WireFormatLite::WriteInt64ToArray(3, this->_internal_size(), target);
9514   }
9515 
9516   // optional uint64 blocks = 4;
9517   if (cached_has_bits & 0x00000010u) {
9518     target = stream->EnsureSpace(target);
9519     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(4, this->_internal_blocks(), target);
9520   }
9521 
9522   // optional string name = 5;
9523   if (cached_has_bits & 0x00000001u) {
9524     target = stream->WriteStringMaybeAliased(
9525         5, this->_internal_name(), target);
9526   }
9527 
9528   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
9529     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
9530         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
9531   }
9532   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.F2fsUnlinkEnterFtraceEvent)
9533   return target;
9534 }
9535 
ByteSizeLong() const9536 size_t F2fsUnlinkEnterFtraceEvent::ByteSizeLong() const {
9537 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.F2fsUnlinkEnterFtraceEvent)
9538   size_t total_size = 0;
9539 
9540   ::uint32_t cached_has_bits = 0;
9541   // Prevent compiler warnings about cached_has_bits being unused
9542   (void) cached_has_bits;
9543 
9544   cached_has_bits = _impl_._has_bits_[0];
9545   if (cached_has_bits & 0x0000001fu) {
9546     // optional string name = 5;
9547     if (cached_has_bits & 0x00000001u) {
9548       total_size += 1 +
9549         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
9550           this->_internal_name());
9551     }
9552 
9553     // optional uint64 dev = 1;
9554     if (cached_has_bits & 0x00000002u) {
9555       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
9556     }
9557 
9558     // optional uint64 ino = 2;
9559     if (cached_has_bits & 0x00000004u) {
9560       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ino());
9561     }
9562 
9563     // optional int64 size = 3;
9564     if (cached_has_bits & 0x00000008u) {
9565       total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_size());
9566     }
9567 
9568     // optional uint64 blocks = 4;
9569     if (cached_has_bits & 0x00000010u) {
9570       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_blocks());
9571     }
9572 
9573   }
9574   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
9575     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
9576   }
9577   int cached_size = ::_pbi::ToCachedSize(total_size);
9578   SetCachedSize(cached_size);
9579   return total_size;
9580 }
9581 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)9582 void F2fsUnlinkEnterFtraceEvent::CheckTypeAndMergeFrom(
9583     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
9584   MergeFrom(*::_pbi::DownCast<const F2fsUnlinkEnterFtraceEvent*>(
9585       &from));
9586 }
9587 
MergeFrom(const F2fsUnlinkEnterFtraceEvent & from)9588 void F2fsUnlinkEnterFtraceEvent::MergeFrom(const F2fsUnlinkEnterFtraceEvent& from) {
9589   F2fsUnlinkEnterFtraceEvent* const _this = this;
9590   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.F2fsUnlinkEnterFtraceEvent)
9591   GOOGLE_DCHECK_NE(&from, _this);
9592   ::uint32_t cached_has_bits = 0;
9593   (void) cached_has_bits;
9594 
9595   cached_has_bits = from._impl_._has_bits_[0];
9596   if (cached_has_bits & 0x0000001fu) {
9597     if (cached_has_bits & 0x00000001u) {
9598       _this->_internal_set_name(from._internal_name());
9599     }
9600     if (cached_has_bits & 0x00000002u) {
9601       _this->_impl_.dev_ = from._impl_.dev_;
9602     }
9603     if (cached_has_bits & 0x00000004u) {
9604       _this->_impl_.ino_ = from._impl_.ino_;
9605     }
9606     if (cached_has_bits & 0x00000008u) {
9607       _this->_impl_.size_ = from._impl_.size_;
9608     }
9609     if (cached_has_bits & 0x00000010u) {
9610       _this->_impl_.blocks_ = from._impl_.blocks_;
9611     }
9612     _this->_impl_._has_bits_[0] |= cached_has_bits;
9613   }
9614   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
9615 }
9616 
CopyFrom(const F2fsUnlinkEnterFtraceEvent & from)9617 void F2fsUnlinkEnterFtraceEvent::CopyFrom(const F2fsUnlinkEnterFtraceEvent& from) {
9618 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.F2fsUnlinkEnterFtraceEvent)
9619   if (&from == this) return;
9620   Clear();
9621   MergeFrom(from);
9622 }
9623 
IsInitialized() const9624 bool F2fsUnlinkEnterFtraceEvent::IsInitialized() const {
9625   return true;
9626 }
9627 
InternalSwap(F2fsUnlinkEnterFtraceEvent * other)9628 void F2fsUnlinkEnterFtraceEvent::InternalSwap(F2fsUnlinkEnterFtraceEvent* other) {
9629   using std::swap;
9630   auto* lhs_arena = GetArenaForAllocation();
9631   auto* rhs_arena = other->GetArenaForAllocation();
9632   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
9633   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
9634   ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
9635       &_impl_.name_, lhs_arena,
9636       &other->_impl_.name_, rhs_arena
9637   );
9638   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
9639       PROTOBUF_FIELD_OFFSET(F2fsUnlinkEnterFtraceEvent, _impl_.blocks_)
9640       + sizeof(F2fsUnlinkEnterFtraceEvent::_impl_.blocks_)  // NOLINT
9641       - PROTOBUF_FIELD_OFFSET(F2fsUnlinkEnterFtraceEvent, _impl_.dev_)>(
9642           reinterpret_cast<char*>(&_impl_.dev_),
9643           reinterpret_cast<char*>(&other->_impl_.dev_));
9644 }
9645 
GetTypeName() const9646 std::string F2fsUnlinkEnterFtraceEvent::GetTypeName() const {
9647   return "perfetto.protos.F2fsUnlinkEnterFtraceEvent";
9648 }
9649 
9650 
9651 // ===================================================================
9652 
9653 class F2fsUnlinkExitFtraceEvent::_Internal {
9654  public:
9655   using HasBits = decltype(std::declval<F2fsUnlinkExitFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)9656   static void set_has_dev(HasBits* has_bits) {
9657     (*has_bits)[0] |= 1u;
9658   }
set_has_ino(HasBits * has_bits)9659   static void set_has_ino(HasBits* has_bits) {
9660     (*has_bits)[0] |= 2u;
9661   }
set_has_ret(HasBits * has_bits)9662   static void set_has_ret(HasBits* has_bits) {
9663     (*has_bits)[0] |= 4u;
9664   }
9665 };
9666 
F2fsUnlinkExitFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)9667 F2fsUnlinkExitFtraceEvent::F2fsUnlinkExitFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
9668                          bool is_message_owned)
9669   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
9670   SharedCtor(arena, is_message_owned);
9671   // @@protoc_insertion_point(arena_constructor:perfetto.protos.F2fsUnlinkExitFtraceEvent)
9672 }
F2fsUnlinkExitFtraceEvent(const F2fsUnlinkExitFtraceEvent & from)9673 F2fsUnlinkExitFtraceEvent::F2fsUnlinkExitFtraceEvent(const F2fsUnlinkExitFtraceEvent& from)
9674   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
9675   F2fsUnlinkExitFtraceEvent* const _this = this; (void)_this;
9676   new (&_impl_) Impl_{
9677       decltype(_impl_._has_bits_){from._impl_._has_bits_}
9678     , /*decltype(_impl_._cached_size_)*/{}
9679     , decltype(_impl_.dev_){}
9680     , decltype(_impl_.ino_){}
9681     , decltype(_impl_.ret_){}};
9682 
9683   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
9684   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
9685     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.ret_) -
9686     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.ret_));
9687   // @@protoc_insertion_point(copy_constructor:perfetto.protos.F2fsUnlinkExitFtraceEvent)
9688 }
9689 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)9690 inline void F2fsUnlinkExitFtraceEvent::SharedCtor(
9691     ::_pb::Arena* arena, bool is_message_owned) {
9692   (void)arena;
9693   (void)is_message_owned;
9694   new (&_impl_) Impl_{
9695       decltype(_impl_._has_bits_){}
9696     , /*decltype(_impl_._cached_size_)*/{}
9697     , decltype(_impl_.dev_){::uint64_t{0u}}
9698     , decltype(_impl_.ino_){::uint64_t{0u}}
9699     , decltype(_impl_.ret_){0}
9700   };
9701 }
9702 
~F2fsUnlinkExitFtraceEvent()9703 F2fsUnlinkExitFtraceEvent::~F2fsUnlinkExitFtraceEvent() {
9704   // @@protoc_insertion_point(destructor:perfetto.protos.F2fsUnlinkExitFtraceEvent)
9705   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
9706   (void)arena;
9707     return;
9708   }
9709   SharedDtor();
9710 }
9711 
SharedDtor()9712 inline void F2fsUnlinkExitFtraceEvent::SharedDtor() {
9713   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
9714 }
9715 
SetCachedSize(int size) const9716 void F2fsUnlinkExitFtraceEvent::SetCachedSize(int size) const {
9717   _impl_._cached_size_.Set(size);
9718 }
9719 
Clear()9720 void F2fsUnlinkExitFtraceEvent::Clear() {
9721 // @@protoc_insertion_point(message_clear_start:perfetto.protos.F2fsUnlinkExitFtraceEvent)
9722   ::uint32_t cached_has_bits = 0;
9723   // Prevent compiler warnings about cached_has_bits being unused
9724   (void) cached_has_bits;
9725 
9726   cached_has_bits = _impl_._has_bits_[0];
9727   if (cached_has_bits & 0x00000007u) {
9728     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
9729         reinterpret_cast<char*>(&_impl_.ret_) -
9730         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.ret_));
9731   }
9732   _impl_._has_bits_.Clear();
9733   _internal_metadata_.Clear<std::string>();
9734 }
9735 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)9736 const char* F2fsUnlinkExitFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
9737 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
9738   _Internal::HasBits has_bits{};
9739   while (!ctx->Done(&ptr)) {
9740     ::uint32_t tag;
9741     ptr = ::_pbi::ReadTag(ptr, &tag);
9742     switch (tag >> 3) {
9743       // optional uint64 dev = 1;
9744       case 1:
9745         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
9746           _Internal::set_has_dev(&has_bits);
9747           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
9748           CHK_(ptr);
9749         } else {
9750           goto handle_unusual;
9751         }
9752         continue;
9753       // optional uint64 ino = 2;
9754       case 2:
9755         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
9756           _Internal::set_has_ino(&has_bits);
9757           _impl_.ino_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
9758           CHK_(ptr);
9759         } else {
9760           goto handle_unusual;
9761         }
9762         continue;
9763       // optional int32 ret = 3;
9764       case 3:
9765         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
9766           _Internal::set_has_ret(&has_bits);
9767           _impl_.ret_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
9768           CHK_(ptr);
9769         } else {
9770           goto handle_unusual;
9771         }
9772         continue;
9773       default:
9774         goto handle_unusual;
9775     }  // switch
9776   handle_unusual:
9777     if ((tag == 0) || ((tag & 7) == 4)) {
9778       CHK_(ptr);
9779       ctx->SetLastTag(tag);
9780       goto message_done;
9781     }
9782     ptr = UnknownFieldParse(
9783         tag,
9784         _internal_metadata_.mutable_unknown_fields<std::string>(),
9785         ptr, ctx);
9786     CHK_(ptr != nullptr);
9787   }  // while
9788 message_done:
9789   _impl_._has_bits_.Or(has_bits);
9790   return ptr;
9791 failure:
9792   ptr = nullptr;
9793   goto message_done;
9794 #undef CHK_
9795 }
9796 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const9797 ::uint8_t* F2fsUnlinkExitFtraceEvent::_InternalSerialize(
9798     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
9799   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.F2fsUnlinkExitFtraceEvent)
9800   ::uint32_t cached_has_bits = 0;
9801   (void) cached_has_bits;
9802 
9803   cached_has_bits = _impl_._has_bits_[0];
9804   // optional uint64 dev = 1;
9805   if (cached_has_bits & 0x00000001u) {
9806     target = stream->EnsureSpace(target);
9807     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
9808   }
9809 
9810   // optional uint64 ino = 2;
9811   if (cached_has_bits & 0x00000002u) {
9812     target = stream->EnsureSpace(target);
9813     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_ino(), target);
9814   }
9815 
9816   // optional int32 ret = 3;
9817   if (cached_has_bits & 0x00000004u) {
9818     target = stream->EnsureSpace(target);
9819     target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_ret(), target);
9820   }
9821 
9822   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
9823     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
9824         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
9825   }
9826   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.F2fsUnlinkExitFtraceEvent)
9827   return target;
9828 }
9829 
ByteSizeLong() const9830 size_t F2fsUnlinkExitFtraceEvent::ByteSizeLong() const {
9831 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.F2fsUnlinkExitFtraceEvent)
9832   size_t total_size = 0;
9833 
9834   ::uint32_t cached_has_bits = 0;
9835   // Prevent compiler warnings about cached_has_bits being unused
9836   (void) cached_has_bits;
9837 
9838   cached_has_bits = _impl_._has_bits_[0];
9839   if (cached_has_bits & 0x00000007u) {
9840     // optional uint64 dev = 1;
9841     if (cached_has_bits & 0x00000001u) {
9842       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
9843     }
9844 
9845     // optional uint64 ino = 2;
9846     if (cached_has_bits & 0x00000002u) {
9847       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ino());
9848     }
9849 
9850     // optional int32 ret = 3;
9851     if (cached_has_bits & 0x00000004u) {
9852       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_ret());
9853     }
9854 
9855   }
9856   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
9857     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
9858   }
9859   int cached_size = ::_pbi::ToCachedSize(total_size);
9860   SetCachedSize(cached_size);
9861   return total_size;
9862 }
9863 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)9864 void F2fsUnlinkExitFtraceEvent::CheckTypeAndMergeFrom(
9865     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
9866   MergeFrom(*::_pbi::DownCast<const F2fsUnlinkExitFtraceEvent*>(
9867       &from));
9868 }
9869 
MergeFrom(const F2fsUnlinkExitFtraceEvent & from)9870 void F2fsUnlinkExitFtraceEvent::MergeFrom(const F2fsUnlinkExitFtraceEvent& from) {
9871   F2fsUnlinkExitFtraceEvent* const _this = this;
9872   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.F2fsUnlinkExitFtraceEvent)
9873   GOOGLE_DCHECK_NE(&from, _this);
9874   ::uint32_t cached_has_bits = 0;
9875   (void) cached_has_bits;
9876 
9877   cached_has_bits = from._impl_._has_bits_[0];
9878   if (cached_has_bits & 0x00000007u) {
9879     if (cached_has_bits & 0x00000001u) {
9880       _this->_impl_.dev_ = from._impl_.dev_;
9881     }
9882     if (cached_has_bits & 0x00000002u) {
9883       _this->_impl_.ino_ = from._impl_.ino_;
9884     }
9885     if (cached_has_bits & 0x00000004u) {
9886       _this->_impl_.ret_ = from._impl_.ret_;
9887     }
9888     _this->_impl_._has_bits_[0] |= cached_has_bits;
9889   }
9890   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
9891 }
9892 
CopyFrom(const F2fsUnlinkExitFtraceEvent & from)9893 void F2fsUnlinkExitFtraceEvent::CopyFrom(const F2fsUnlinkExitFtraceEvent& from) {
9894 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.F2fsUnlinkExitFtraceEvent)
9895   if (&from == this) return;
9896   Clear();
9897   MergeFrom(from);
9898 }
9899 
IsInitialized() const9900 bool F2fsUnlinkExitFtraceEvent::IsInitialized() const {
9901   return true;
9902 }
9903 
InternalSwap(F2fsUnlinkExitFtraceEvent * other)9904 void F2fsUnlinkExitFtraceEvent::InternalSwap(F2fsUnlinkExitFtraceEvent* other) {
9905   using std::swap;
9906   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
9907   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
9908   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
9909       PROTOBUF_FIELD_OFFSET(F2fsUnlinkExitFtraceEvent, _impl_.ret_)
9910       + sizeof(F2fsUnlinkExitFtraceEvent::_impl_.ret_)  // NOLINT
9911       - PROTOBUF_FIELD_OFFSET(F2fsUnlinkExitFtraceEvent, _impl_.dev_)>(
9912           reinterpret_cast<char*>(&_impl_.dev_),
9913           reinterpret_cast<char*>(&other->_impl_.dev_));
9914 }
9915 
GetTypeName() const9916 std::string F2fsUnlinkExitFtraceEvent::GetTypeName() const {
9917   return "perfetto.protos.F2fsUnlinkExitFtraceEvent";
9918 }
9919 
9920 
9921 // ===================================================================
9922 
9923 class F2fsVmPageMkwriteFtraceEvent::_Internal {
9924  public:
9925   using HasBits = decltype(std::declval<F2fsVmPageMkwriteFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)9926   static void set_has_dev(HasBits* has_bits) {
9927     (*has_bits)[0] |= 1u;
9928   }
set_has_ino(HasBits * has_bits)9929   static void set_has_ino(HasBits* has_bits) {
9930     (*has_bits)[0] |= 2u;
9931   }
set_has_type(HasBits * has_bits)9932   static void set_has_type(HasBits* has_bits) {
9933     (*has_bits)[0] |= 4u;
9934   }
set_has_dir(HasBits * has_bits)9935   static void set_has_dir(HasBits* has_bits) {
9936     (*has_bits)[0] |= 8u;
9937   }
set_has_index(HasBits * has_bits)9938   static void set_has_index(HasBits* has_bits) {
9939     (*has_bits)[0] |= 16u;
9940   }
set_has_dirty(HasBits * has_bits)9941   static void set_has_dirty(HasBits* has_bits) {
9942     (*has_bits)[0] |= 32u;
9943   }
set_has_uptodate(HasBits * has_bits)9944   static void set_has_uptodate(HasBits* has_bits) {
9945     (*has_bits)[0] |= 64u;
9946   }
9947 };
9948 
F2fsVmPageMkwriteFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)9949 F2fsVmPageMkwriteFtraceEvent::F2fsVmPageMkwriteFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
9950                          bool is_message_owned)
9951   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
9952   SharedCtor(arena, is_message_owned);
9953   // @@protoc_insertion_point(arena_constructor:perfetto.protos.F2fsVmPageMkwriteFtraceEvent)
9954 }
F2fsVmPageMkwriteFtraceEvent(const F2fsVmPageMkwriteFtraceEvent & from)9955 F2fsVmPageMkwriteFtraceEvent::F2fsVmPageMkwriteFtraceEvent(const F2fsVmPageMkwriteFtraceEvent& from)
9956   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
9957   F2fsVmPageMkwriteFtraceEvent* const _this = this; (void)_this;
9958   new (&_impl_) Impl_{
9959       decltype(_impl_._has_bits_){from._impl_._has_bits_}
9960     , /*decltype(_impl_._cached_size_)*/{}
9961     , decltype(_impl_.dev_){}
9962     , decltype(_impl_.ino_){}
9963     , decltype(_impl_.type_){}
9964     , decltype(_impl_.dir_){}
9965     , decltype(_impl_.index_){}
9966     , decltype(_impl_.dirty_){}
9967     , decltype(_impl_.uptodate_){}};
9968 
9969   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
9970   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
9971     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.uptodate_) -
9972     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.uptodate_));
9973   // @@protoc_insertion_point(copy_constructor:perfetto.protos.F2fsVmPageMkwriteFtraceEvent)
9974 }
9975 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)9976 inline void F2fsVmPageMkwriteFtraceEvent::SharedCtor(
9977     ::_pb::Arena* arena, bool is_message_owned) {
9978   (void)arena;
9979   (void)is_message_owned;
9980   new (&_impl_) Impl_{
9981       decltype(_impl_._has_bits_){}
9982     , /*decltype(_impl_._cached_size_)*/{}
9983     , decltype(_impl_.dev_){::uint64_t{0u}}
9984     , decltype(_impl_.ino_){::uint64_t{0u}}
9985     , decltype(_impl_.type_){0}
9986     , decltype(_impl_.dir_){0}
9987     , decltype(_impl_.index_){::uint64_t{0u}}
9988     , decltype(_impl_.dirty_){0}
9989     , decltype(_impl_.uptodate_){0}
9990   };
9991 }
9992 
~F2fsVmPageMkwriteFtraceEvent()9993 F2fsVmPageMkwriteFtraceEvent::~F2fsVmPageMkwriteFtraceEvent() {
9994   // @@protoc_insertion_point(destructor:perfetto.protos.F2fsVmPageMkwriteFtraceEvent)
9995   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
9996   (void)arena;
9997     return;
9998   }
9999   SharedDtor();
10000 }
10001 
SharedDtor()10002 inline void F2fsVmPageMkwriteFtraceEvent::SharedDtor() {
10003   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
10004 }
10005 
SetCachedSize(int size) const10006 void F2fsVmPageMkwriteFtraceEvent::SetCachedSize(int size) const {
10007   _impl_._cached_size_.Set(size);
10008 }
10009 
Clear()10010 void F2fsVmPageMkwriteFtraceEvent::Clear() {
10011 // @@protoc_insertion_point(message_clear_start:perfetto.protos.F2fsVmPageMkwriteFtraceEvent)
10012   ::uint32_t cached_has_bits = 0;
10013   // Prevent compiler warnings about cached_has_bits being unused
10014   (void) cached_has_bits;
10015 
10016   cached_has_bits = _impl_._has_bits_[0];
10017   if (cached_has_bits & 0x0000007fu) {
10018     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
10019         reinterpret_cast<char*>(&_impl_.uptodate_) -
10020         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.uptodate_));
10021   }
10022   _impl_._has_bits_.Clear();
10023   _internal_metadata_.Clear<std::string>();
10024 }
10025 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)10026 const char* F2fsVmPageMkwriteFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
10027 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
10028   _Internal::HasBits has_bits{};
10029   while (!ctx->Done(&ptr)) {
10030     ::uint32_t tag;
10031     ptr = ::_pbi::ReadTag(ptr, &tag);
10032     switch (tag >> 3) {
10033       // optional uint64 dev = 1;
10034       case 1:
10035         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
10036           _Internal::set_has_dev(&has_bits);
10037           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
10038           CHK_(ptr);
10039         } else {
10040           goto handle_unusual;
10041         }
10042         continue;
10043       // optional uint64 ino = 2;
10044       case 2:
10045         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
10046           _Internal::set_has_ino(&has_bits);
10047           _impl_.ino_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
10048           CHK_(ptr);
10049         } else {
10050           goto handle_unusual;
10051         }
10052         continue;
10053       // optional int32 type = 3;
10054       case 3:
10055         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
10056           _Internal::set_has_type(&has_bits);
10057           _impl_.type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
10058           CHK_(ptr);
10059         } else {
10060           goto handle_unusual;
10061         }
10062         continue;
10063       // optional int32 dir = 4;
10064       case 4:
10065         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
10066           _Internal::set_has_dir(&has_bits);
10067           _impl_.dir_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
10068           CHK_(ptr);
10069         } else {
10070           goto handle_unusual;
10071         }
10072         continue;
10073       // optional uint64 index = 5;
10074       case 5:
10075         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) {
10076           _Internal::set_has_index(&has_bits);
10077           _impl_.index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
10078           CHK_(ptr);
10079         } else {
10080           goto handle_unusual;
10081         }
10082         continue;
10083       // optional int32 dirty = 6;
10084       case 6:
10085         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 48)) {
10086           _Internal::set_has_dirty(&has_bits);
10087           _impl_.dirty_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
10088           CHK_(ptr);
10089         } else {
10090           goto handle_unusual;
10091         }
10092         continue;
10093       // optional int32 uptodate = 7;
10094       case 7:
10095         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 56)) {
10096           _Internal::set_has_uptodate(&has_bits);
10097           _impl_.uptodate_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
10098           CHK_(ptr);
10099         } else {
10100           goto handle_unusual;
10101         }
10102         continue;
10103       default:
10104         goto handle_unusual;
10105     }  // switch
10106   handle_unusual:
10107     if ((tag == 0) || ((tag & 7) == 4)) {
10108       CHK_(ptr);
10109       ctx->SetLastTag(tag);
10110       goto message_done;
10111     }
10112     ptr = UnknownFieldParse(
10113         tag,
10114         _internal_metadata_.mutable_unknown_fields<std::string>(),
10115         ptr, ctx);
10116     CHK_(ptr != nullptr);
10117   }  // while
10118 message_done:
10119   _impl_._has_bits_.Or(has_bits);
10120   return ptr;
10121 failure:
10122   ptr = nullptr;
10123   goto message_done;
10124 #undef CHK_
10125 }
10126 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const10127 ::uint8_t* F2fsVmPageMkwriteFtraceEvent::_InternalSerialize(
10128     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
10129   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.F2fsVmPageMkwriteFtraceEvent)
10130   ::uint32_t cached_has_bits = 0;
10131   (void) cached_has_bits;
10132 
10133   cached_has_bits = _impl_._has_bits_[0];
10134   // optional uint64 dev = 1;
10135   if (cached_has_bits & 0x00000001u) {
10136     target = stream->EnsureSpace(target);
10137     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
10138   }
10139 
10140   // optional uint64 ino = 2;
10141   if (cached_has_bits & 0x00000002u) {
10142     target = stream->EnsureSpace(target);
10143     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_ino(), target);
10144   }
10145 
10146   // optional int32 type = 3;
10147   if (cached_has_bits & 0x00000004u) {
10148     target = stream->EnsureSpace(target);
10149     target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_type(), target);
10150   }
10151 
10152   // optional int32 dir = 4;
10153   if (cached_has_bits & 0x00000008u) {
10154     target = stream->EnsureSpace(target);
10155     target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_dir(), target);
10156   }
10157 
10158   // optional uint64 index = 5;
10159   if (cached_has_bits & 0x00000010u) {
10160     target = stream->EnsureSpace(target);
10161     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(5, this->_internal_index(), target);
10162   }
10163 
10164   // optional int32 dirty = 6;
10165   if (cached_has_bits & 0x00000020u) {
10166     target = stream->EnsureSpace(target);
10167     target = ::_pbi::WireFormatLite::WriteInt32ToArray(6, this->_internal_dirty(), target);
10168   }
10169 
10170   // optional int32 uptodate = 7;
10171   if (cached_has_bits & 0x00000040u) {
10172     target = stream->EnsureSpace(target);
10173     target = ::_pbi::WireFormatLite::WriteInt32ToArray(7, this->_internal_uptodate(), target);
10174   }
10175 
10176   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
10177     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
10178         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
10179   }
10180   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.F2fsVmPageMkwriteFtraceEvent)
10181   return target;
10182 }
10183 
ByteSizeLong() const10184 size_t F2fsVmPageMkwriteFtraceEvent::ByteSizeLong() const {
10185 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.F2fsVmPageMkwriteFtraceEvent)
10186   size_t total_size = 0;
10187 
10188   ::uint32_t cached_has_bits = 0;
10189   // Prevent compiler warnings about cached_has_bits being unused
10190   (void) cached_has_bits;
10191 
10192   cached_has_bits = _impl_._has_bits_[0];
10193   if (cached_has_bits & 0x0000007fu) {
10194     // optional uint64 dev = 1;
10195     if (cached_has_bits & 0x00000001u) {
10196       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
10197     }
10198 
10199     // optional uint64 ino = 2;
10200     if (cached_has_bits & 0x00000002u) {
10201       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ino());
10202     }
10203 
10204     // optional int32 type = 3;
10205     if (cached_has_bits & 0x00000004u) {
10206       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_type());
10207     }
10208 
10209     // optional int32 dir = 4;
10210     if (cached_has_bits & 0x00000008u) {
10211       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_dir());
10212     }
10213 
10214     // optional uint64 index = 5;
10215     if (cached_has_bits & 0x00000010u) {
10216       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_index());
10217     }
10218 
10219     // optional int32 dirty = 6;
10220     if (cached_has_bits & 0x00000020u) {
10221       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_dirty());
10222     }
10223 
10224     // optional int32 uptodate = 7;
10225     if (cached_has_bits & 0x00000040u) {
10226       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_uptodate());
10227     }
10228 
10229   }
10230   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
10231     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
10232   }
10233   int cached_size = ::_pbi::ToCachedSize(total_size);
10234   SetCachedSize(cached_size);
10235   return total_size;
10236 }
10237 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)10238 void F2fsVmPageMkwriteFtraceEvent::CheckTypeAndMergeFrom(
10239     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
10240   MergeFrom(*::_pbi::DownCast<const F2fsVmPageMkwriteFtraceEvent*>(
10241       &from));
10242 }
10243 
MergeFrom(const F2fsVmPageMkwriteFtraceEvent & from)10244 void F2fsVmPageMkwriteFtraceEvent::MergeFrom(const F2fsVmPageMkwriteFtraceEvent& from) {
10245   F2fsVmPageMkwriteFtraceEvent* const _this = this;
10246   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.F2fsVmPageMkwriteFtraceEvent)
10247   GOOGLE_DCHECK_NE(&from, _this);
10248   ::uint32_t cached_has_bits = 0;
10249   (void) cached_has_bits;
10250 
10251   cached_has_bits = from._impl_._has_bits_[0];
10252   if (cached_has_bits & 0x0000007fu) {
10253     if (cached_has_bits & 0x00000001u) {
10254       _this->_impl_.dev_ = from._impl_.dev_;
10255     }
10256     if (cached_has_bits & 0x00000002u) {
10257       _this->_impl_.ino_ = from._impl_.ino_;
10258     }
10259     if (cached_has_bits & 0x00000004u) {
10260       _this->_impl_.type_ = from._impl_.type_;
10261     }
10262     if (cached_has_bits & 0x00000008u) {
10263       _this->_impl_.dir_ = from._impl_.dir_;
10264     }
10265     if (cached_has_bits & 0x00000010u) {
10266       _this->_impl_.index_ = from._impl_.index_;
10267     }
10268     if (cached_has_bits & 0x00000020u) {
10269       _this->_impl_.dirty_ = from._impl_.dirty_;
10270     }
10271     if (cached_has_bits & 0x00000040u) {
10272       _this->_impl_.uptodate_ = from._impl_.uptodate_;
10273     }
10274     _this->_impl_._has_bits_[0] |= cached_has_bits;
10275   }
10276   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
10277 }
10278 
CopyFrom(const F2fsVmPageMkwriteFtraceEvent & from)10279 void F2fsVmPageMkwriteFtraceEvent::CopyFrom(const F2fsVmPageMkwriteFtraceEvent& from) {
10280 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.F2fsVmPageMkwriteFtraceEvent)
10281   if (&from == this) return;
10282   Clear();
10283   MergeFrom(from);
10284 }
10285 
IsInitialized() const10286 bool F2fsVmPageMkwriteFtraceEvent::IsInitialized() const {
10287   return true;
10288 }
10289 
InternalSwap(F2fsVmPageMkwriteFtraceEvent * other)10290 void F2fsVmPageMkwriteFtraceEvent::InternalSwap(F2fsVmPageMkwriteFtraceEvent* other) {
10291   using std::swap;
10292   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
10293   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
10294   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
10295       PROTOBUF_FIELD_OFFSET(F2fsVmPageMkwriteFtraceEvent, _impl_.uptodate_)
10296       + sizeof(F2fsVmPageMkwriteFtraceEvent::_impl_.uptodate_)  // NOLINT
10297       - PROTOBUF_FIELD_OFFSET(F2fsVmPageMkwriteFtraceEvent, _impl_.dev_)>(
10298           reinterpret_cast<char*>(&_impl_.dev_),
10299           reinterpret_cast<char*>(&other->_impl_.dev_));
10300 }
10301 
GetTypeName() const10302 std::string F2fsVmPageMkwriteFtraceEvent::GetTypeName() const {
10303   return "perfetto.protos.F2fsVmPageMkwriteFtraceEvent";
10304 }
10305 
10306 
10307 // ===================================================================
10308 
10309 class F2fsWriteBeginFtraceEvent::_Internal {
10310  public:
10311   using HasBits = decltype(std::declval<F2fsWriteBeginFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)10312   static void set_has_dev(HasBits* has_bits) {
10313     (*has_bits)[0] |= 1u;
10314   }
set_has_ino(HasBits * has_bits)10315   static void set_has_ino(HasBits* has_bits) {
10316     (*has_bits)[0] |= 2u;
10317   }
set_has_pos(HasBits * has_bits)10318   static void set_has_pos(HasBits* has_bits) {
10319     (*has_bits)[0] |= 4u;
10320   }
set_has_len(HasBits * has_bits)10321   static void set_has_len(HasBits* has_bits) {
10322     (*has_bits)[0] |= 8u;
10323   }
set_has_flags(HasBits * has_bits)10324   static void set_has_flags(HasBits* has_bits) {
10325     (*has_bits)[0] |= 16u;
10326   }
10327 };
10328 
F2fsWriteBeginFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)10329 F2fsWriteBeginFtraceEvent::F2fsWriteBeginFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
10330                          bool is_message_owned)
10331   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
10332   SharedCtor(arena, is_message_owned);
10333   // @@protoc_insertion_point(arena_constructor:perfetto.protos.F2fsWriteBeginFtraceEvent)
10334 }
F2fsWriteBeginFtraceEvent(const F2fsWriteBeginFtraceEvent & from)10335 F2fsWriteBeginFtraceEvent::F2fsWriteBeginFtraceEvent(const F2fsWriteBeginFtraceEvent& from)
10336   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
10337   F2fsWriteBeginFtraceEvent* const _this = this; (void)_this;
10338   new (&_impl_) Impl_{
10339       decltype(_impl_._has_bits_){from._impl_._has_bits_}
10340     , /*decltype(_impl_._cached_size_)*/{}
10341     , decltype(_impl_.dev_){}
10342     , decltype(_impl_.ino_){}
10343     , decltype(_impl_.pos_){}
10344     , decltype(_impl_.len_){}
10345     , decltype(_impl_.flags_){}};
10346 
10347   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
10348   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
10349     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.flags_) -
10350     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.flags_));
10351   // @@protoc_insertion_point(copy_constructor:perfetto.protos.F2fsWriteBeginFtraceEvent)
10352 }
10353 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)10354 inline void F2fsWriteBeginFtraceEvent::SharedCtor(
10355     ::_pb::Arena* arena, bool is_message_owned) {
10356   (void)arena;
10357   (void)is_message_owned;
10358   new (&_impl_) Impl_{
10359       decltype(_impl_._has_bits_){}
10360     , /*decltype(_impl_._cached_size_)*/{}
10361     , decltype(_impl_.dev_){::uint64_t{0u}}
10362     , decltype(_impl_.ino_){::uint64_t{0u}}
10363     , decltype(_impl_.pos_){::int64_t{0}}
10364     , decltype(_impl_.len_){0u}
10365     , decltype(_impl_.flags_){0u}
10366   };
10367 }
10368 
~F2fsWriteBeginFtraceEvent()10369 F2fsWriteBeginFtraceEvent::~F2fsWriteBeginFtraceEvent() {
10370   // @@protoc_insertion_point(destructor:perfetto.protos.F2fsWriteBeginFtraceEvent)
10371   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
10372   (void)arena;
10373     return;
10374   }
10375   SharedDtor();
10376 }
10377 
SharedDtor()10378 inline void F2fsWriteBeginFtraceEvent::SharedDtor() {
10379   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
10380 }
10381 
SetCachedSize(int size) const10382 void F2fsWriteBeginFtraceEvent::SetCachedSize(int size) const {
10383   _impl_._cached_size_.Set(size);
10384 }
10385 
Clear()10386 void F2fsWriteBeginFtraceEvent::Clear() {
10387 // @@protoc_insertion_point(message_clear_start:perfetto.protos.F2fsWriteBeginFtraceEvent)
10388   ::uint32_t cached_has_bits = 0;
10389   // Prevent compiler warnings about cached_has_bits being unused
10390   (void) cached_has_bits;
10391 
10392   cached_has_bits = _impl_._has_bits_[0];
10393   if (cached_has_bits & 0x0000001fu) {
10394     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
10395         reinterpret_cast<char*>(&_impl_.flags_) -
10396         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.flags_));
10397   }
10398   _impl_._has_bits_.Clear();
10399   _internal_metadata_.Clear<std::string>();
10400 }
10401 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)10402 const char* F2fsWriteBeginFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
10403 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
10404   _Internal::HasBits has_bits{};
10405   while (!ctx->Done(&ptr)) {
10406     ::uint32_t tag;
10407     ptr = ::_pbi::ReadTag(ptr, &tag);
10408     switch (tag >> 3) {
10409       // optional uint64 dev = 1;
10410       case 1:
10411         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
10412           _Internal::set_has_dev(&has_bits);
10413           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
10414           CHK_(ptr);
10415         } else {
10416           goto handle_unusual;
10417         }
10418         continue;
10419       // optional uint64 ino = 2;
10420       case 2:
10421         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
10422           _Internal::set_has_ino(&has_bits);
10423           _impl_.ino_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
10424           CHK_(ptr);
10425         } else {
10426           goto handle_unusual;
10427         }
10428         continue;
10429       // optional int64 pos = 3;
10430       case 3:
10431         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
10432           _Internal::set_has_pos(&has_bits);
10433           _impl_.pos_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
10434           CHK_(ptr);
10435         } else {
10436           goto handle_unusual;
10437         }
10438         continue;
10439       // optional uint32 len = 4;
10440       case 4:
10441         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
10442           _Internal::set_has_len(&has_bits);
10443           _impl_.len_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
10444           CHK_(ptr);
10445         } else {
10446           goto handle_unusual;
10447         }
10448         continue;
10449       // optional uint32 flags = 5;
10450       case 5:
10451         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) {
10452           _Internal::set_has_flags(&has_bits);
10453           _impl_.flags_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
10454           CHK_(ptr);
10455         } else {
10456           goto handle_unusual;
10457         }
10458         continue;
10459       default:
10460         goto handle_unusual;
10461     }  // switch
10462   handle_unusual:
10463     if ((tag == 0) || ((tag & 7) == 4)) {
10464       CHK_(ptr);
10465       ctx->SetLastTag(tag);
10466       goto message_done;
10467     }
10468     ptr = UnknownFieldParse(
10469         tag,
10470         _internal_metadata_.mutable_unknown_fields<std::string>(),
10471         ptr, ctx);
10472     CHK_(ptr != nullptr);
10473   }  // while
10474 message_done:
10475   _impl_._has_bits_.Or(has_bits);
10476   return ptr;
10477 failure:
10478   ptr = nullptr;
10479   goto message_done;
10480 #undef CHK_
10481 }
10482 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const10483 ::uint8_t* F2fsWriteBeginFtraceEvent::_InternalSerialize(
10484     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
10485   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.F2fsWriteBeginFtraceEvent)
10486   ::uint32_t cached_has_bits = 0;
10487   (void) cached_has_bits;
10488 
10489   cached_has_bits = _impl_._has_bits_[0];
10490   // optional uint64 dev = 1;
10491   if (cached_has_bits & 0x00000001u) {
10492     target = stream->EnsureSpace(target);
10493     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
10494   }
10495 
10496   // optional uint64 ino = 2;
10497   if (cached_has_bits & 0x00000002u) {
10498     target = stream->EnsureSpace(target);
10499     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_ino(), target);
10500   }
10501 
10502   // optional int64 pos = 3;
10503   if (cached_has_bits & 0x00000004u) {
10504     target = stream->EnsureSpace(target);
10505     target = ::_pbi::WireFormatLite::WriteInt64ToArray(3, this->_internal_pos(), target);
10506   }
10507 
10508   // optional uint32 len = 4;
10509   if (cached_has_bits & 0x00000008u) {
10510     target = stream->EnsureSpace(target);
10511     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_len(), target);
10512   }
10513 
10514   // optional uint32 flags = 5;
10515   if (cached_has_bits & 0x00000010u) {
10516     target = stream->EnsureSpace(target);
10517     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_flags(), target);
10518   }
10519 
10520   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
10521     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
10522         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
10523   }
10524   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.F2fsWriteBeginFtraceEvent)
10525   return target;
10526 }
10527 
ByteSizeLong() const10528 size_t F2fsWriteBeginFtraceEvent::ByteSizeLong() const {
10529 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.F2fsWriteBeginFtraceEvent)
10530   size_t total_size = 0;
10531 
10532   ::uint32_t cached_has_bits = 0;
10533   // Prevent compiler warnings about cached_has_bits being unused
10534   (void) cached_has_bits;
10535 
10536   cached_has_bits = _impl_._has_bits_[0];
10537   if (cached_has_bits & 0x0000001fu) {
10538     // optional uint64 dev = 1;
10539     if (cached_has_bits & 0x00000001u) {
10540       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
10541     }
10542 
10543     // optional uint64 ino = 2;
10544     if (cached_has_bits & 0x00000002u) {
10545       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ino());
10546     }
10547 
10548     // optional int64 pos = 3;
10549     if (cached_has_bits & 0x00000004u) {
10550       total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_pos());
10551     }
10552 
10553     // optional uint32 len = 4;
10554     if (cached_has_bits & 0x00000008u) {
10555       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_len());
10556     }
10557 
10558     // optional uint32 flags = 5;
10559     if (cached_has_bits & 0x00000010u) {
10560       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_flags());
10561     }
10562 
10563   }
10564   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
10565     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
10566   }
10567   int cached_size = ::_pbi::ToCachedSize(total_size);
10568   SetCachedSize(cached_size);
10569   return total_size;
10570 }
10571 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)10572 void F2fsWriteBeginFtraceEvent::CheckTypeAndMergeFrom(
10573     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
10574   MergeFrom(*::_pbi::DownCast<const F2fsWriteBeginFtraceEvent*>(
10575       &from));
10576 }
10577 
MergeFrom(const F2fsWriteBeginFtraceEvent & from)10578 void F2fsWriteBeginFtraceEvent::MergeFrom(const F2fsWriteBeginFtraceEvent& from) {
10579   F2fsWriteBeginFtraceEvent* const _this = this;
10580   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.F2fsWriteBeginFtraceEvent)
10581   GOOGLE_DCHECK_NE(&from, _this);
10582   ::uint32_t cached_has_bits = 0;
10583   (void) cached_has_bits;
10584 
10585   cached_has_bits = from._impl_._has_bits_[0];
10586   if (cached_has_bits & 0x0000001fu) {
10587     if (cached_has_bits & 0x00000001u) {
10588       _this->_impl_.dev_ = from._impl_.dev_;
10589     }
10590     if (cached_has_bits & 0x00000002u) {
10591       _this->_impl_.ino_ = from._impl_.ino_;
10592     }
10593     if (cached_has_bits & 0x00000004u) {
10594       _this->_impl_.pos_ = from._impl_.pos_;
10595     }
10596     if (cached_has_bits & 0x00000008u) {
10597       _this->_impl_.len_ = from._impl_.len_;
10598     }
10599     if (cached_has_bits & 0x00000010u) {
10600       _this->_impl_.flags_ = from._impl_.flags_;
10601     }
10602     _this->_impl_._has_bits_[0] |= cached_has_bits;
10603   }
10604   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
10605 }
10606 
CopyFrom(const F2fsWriteBeginFtraceEvent & from)10607 void F2fsWriteBeginFtraceEvent::CopyFrom(const F2fsWriteBeginFtraceEvent& from) {
10608 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.F2fsWriteBeginFtraceEvent)
10609   if (&from == this) return;
10610   Clear();
10611   MergeFrom(from);
10612 }
10613 
IsInitialized() const10614 bool F2fsWriteBeginFtraceEvent::IsInitialized() const {
10615   return true;
10616 }
10617 
InternalSwap(F2fsWriteBeginFtraceEvent * other)10618 void F2fsWriteBeginFtraceEvent::InternalSwap(F2fsWriteBeginFtraceEvent* other) {
10619   using std::swap;
10620   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
10621   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
10622   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
10623       PROTOBUF_FIELD_OFFSET(F2fsWriteBeginFtraceEvent, _impl_.flags_)
10624       + sizeof(F2fsWriteBeginFtraceEvent::_impl_.flags_)  // NOLINT
10625       - PROTOBUF_FIELD_OFFSET(F2fsWriteBeginFtraceEvent, _impl_.dev_)>(
10626           reinterpret_cast<char*>(&_impl_.dev_),
10627           reinterpret_cast<char*>(&other->_impl_.dev_));
10628 }
10629 
GetTypeName() const10630 std::string F2fsWriteBeginFtraceEvent::GetTypeName() const {
10631   return "perfetto.protos.F2fsWriteBeginFtraceEvent";
10632 }
10633 
10634 
10635 // ===================================================================
10636 
10637 class F2fsWriteCheckpointFtraceEvent::_Internal {
10638  public:
10639   using HasBits = decltype(std::declval<F2fsWriteCheckpointFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)10640   static void set_has_dev(HasBits* has_bits) {
10641     (*has_bits)[0] |= 2u;
10642   }
set_has_is_umount(HasBits * has_bits)10643   static void set_has_is_umount(HasBits* has_bits) {
10644     (*has_bits)[0] |= 4u;
10645   }
set_has_msg(HasBits * has_bits)10646   static void set_has_msg(HasBits* has_bits) {
10647     (*has_bits)[0] |= 1u;
10648   }
set_has_reason(HasBits * has_bits)10649   static void set_has_reason(HasBits* has_bits) {
10650     (*has_bits)[0] |= 8u;
10651   }
10652 };
10653 
F2fsWriteCheckpointFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)10654 F2fsWriteCheckpointFtraceEvent::F2fsWriteCheckpointFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
10655                          bool is_message_owned)
10656   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
10657   SharedCtor(arena, is_message_owned);
10658   // @@protoc_insertion_point(arena_constructor:perfetto.protos.F2fsWriteCheckpointFtraceEvent)
10659 }
F2fsWriteCheckpointFtraceEvent(const F2fsWriteCheckpointFtraceEvent & from)10660 F2fsWriteCheckpointFtraceEvent::F2fsWriteCheckpointFtraceEvent(const F2fsWriteCheckpointFtraceEvent& from)
10661   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
10662   F2fsWriteCheckpointFtraceEvent* const _this = this; (void)_this;
10663   new (&_impl_) Impl_{
10664       decltype(_impl_._has_bits_){from._impl_._has_bits_}
10665     , /*decltype(_impl_._cached_size_)*/{}
10666     , decltype(_impl_.msg_){}
10667     , decltype(_impl_.dev_){}
10668     , decltype(_impl_.is_umount_){}
10669     , decltype(_impl_.reason_){}};
10670 
10671   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
10672   _impl_.msg_.InitDefault();
10673   #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
10674     _impl_.msg_.Set("", GetArenaForAllocation());
10675   #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
10676   if (from._internal_has_msg()) {
10677     _this->_impl_.msg_.Set(from._internal_msg(),
10678       _this->GetArenaForAllocation());
10679   }
10680   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
10681     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.reason_) -
10682     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.reason_));
10683   // @@protoc_insertion_point(copy_constructor:perfetto.protos.F2fsWriteCheckpointFtraceEvent)
10684 }
10685 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)10686 inline void F2fsWriteCheckpointFtraceEvent::SharedCtor(
10687     ::_pb::Arena* arena, bool is_message_owned) {
10688   (void)arena;
10689   (void)is_message_owned;
10690   new (&_impl_) Impl_{
10691       decltype(_impl_._has_bits_){}
10692     , /*decltype(_impl_._cached_size_)*/{}
10693     , decltype(_impl_.msg_){}
10694     , decltype(_impl_.dev_){::uint64_t{0u}}
10695     , decltype(_impl_.is_umount_){0u}
10696     , decltype(_impl_.reason_){0}
10697   };
10698   _impl_.msg_.InitDefault();
10699   #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
10700     _impl_.msg_.Set("", GetArenaForAllocation());
10701   #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
10702 }
10703 
~F2fsWriteCheckpointFtraceEvent()10704 F2fsWriteCheckpointFtraceEvent::~F2fsWriteCheckpointFtraceEvent() {
10705   // @@protoc_insertion_point(destructor:perfetto.protos.F2fsWriteCheckpointFtraceEvent)
10706   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
10707   (void)arena;
10708     return;
10709   }
10710   SharedDtor();
10711 }
10712 
SharedDtor()10713 inline void F2fsWriteCheckpointFtraceEvent::SharedDtor() {
10714   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
10715   _impl_.msg_.Destroy();
10716 }
10717 
SetCachedSize(int size) const10718 void F2fsWriteCheckpointFtraceEvent::SetCachedSize(int size) const {
10719   _impl_._cached_size_.Set(size);
10720 }
10721 
Clear()10722 void F2fsWriteCheckpointFtraceEvent::Clear() {
10723 // @@protoc_insertion_point(message_clear_start:perfetto.protos.F2fsWriteCheckpointFtraceEvent)
10724   ::uint32_t cached_has_bits = 0;
10725   // Prevent compiler warnings about cached_has_bits being unused
10726   (void) cached_has_bits;
10727 
10728   cached_has_bits = _impl_._has_bits_[0];
10729   if (cached_has_bits & 0x00000001u) {
10730     _impl_.msg_.ClearNonDefaultToEmpty();
10731   }
10732   if (cached_has_bits & 0x0000000eu) {
10733     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
10734         reinterpret_cast<char*>(&_impl_.reason_) -
10735         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.reason_));
10736   }
10737   _impl_._has_bits_.Clear();
10738   _internal_metadata_.Clear<std::string>();
10739 }
10740 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)10741 const char* F2fsWriteCheckpointFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
10742 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
10743   _Internal::HasBits has_bits{};
10744   while (!ctx->Done(&ptr)) {
10745     ::uint32_t tag;
10746     ptr = ::_pbi::ReadTag(ptr, &tag);
10747     switch (tag >> 3) {
10748       // optional uint64 dev = 1;
10749       case 1:
10750         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
10751           _Internal::set_has_dev(&has_bits);
10752           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
10753           CHK_(ptr);
10754         } else {
10755           goto handle_unusual;
10756         }
10757         continue;
10758       // optional uint32 is_umount = 2;
10759       case 2:
10760         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
10761           _Internal::set_has_is_umount(&has_bits);
10762           _impl_.is_umount_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
10763           CHK_(ptr);
10764         } else {
10765           goto handle_unusual;
10766         }
10767         continue;
10768       // optional string msg = 3;
10769       case 3:
10770         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 26)) {
10771           auto str = _internal_mutable_msg();
10772           ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
10773           CHK_(ptr);
10774         } else {
10775           goto handle_unusual;
10776         }
10777         continue;
10778       // optional int32 reason = 4;
10779       case 4:
10780         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
10781           _Internal::set_has_reason(&has_bits);
10782           _impl_.reason_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
10783           CHK_(ptr);
10784         } else {
10785           goto handle_unusual;
10786         }
10787         continue;
10788       default:
10789         goto handle_unusual;
10790     }  // switch
10791   handle_unusual:
10792     if ((tag == 0) || ((tag & 7) == 4)) {
10793       CHK_(ptr);
10794       ctx->SetLastTag(tag);
10795       goto message_done;
10796     }
10797     ptr = UnknownFieldParse(
10798         tag,
10799         _internal_metadata_.mutable_unknown_fields<std::string>(),
10800         ptr, ctx);
10801     CHK_(ptr != nullptr);
10802   }  // while
10803 message_done:
10804   _impl_._has_bits_.Or(has_bits);
10805   return ptr;
10806 failure:
10807   ptr = nullptr;
10808   goto message_done;
10809 #undef CHK_
10810 }
10811 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const10812 ::uint8_t* F2fsWriteCheckpointFtraceEvent::_InternalSerialize(
10813     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
10814   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.F2fsWriteCheckpointFtraceEvent)
10815   ::uint32_t cached_has_bits = 0;
10816   (void) cached_has_bits;
10817 
10818   cached_has_bits = _impl_._has_bits_[0];
10819   // optional uint64 dev = 1;
10820   if (cached_has_bits & 0x00000002u) {
10821     target = stream->EnsureSpace(target);
10822     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
10823   }
10824 
10825   // optional uint32 is_umount = 2;
10826   if (cached_has_bits & 0x00000004u) {
10827     target = stream->EnsureSpace(target);
10828     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_is_umount(), target);
10829   }
10830 
10831   // optional string msg = 3;
10832   if (cached_has_bits & 0x00000001u) {
10833     target = stream->WriteStringMaybeAliased(
10834         3, this->_internal_msg(), target);
10835   }
10836 
10837   // optional int32 reason = 4;
10838   if (cached_has_bits & 0x00000008u) {
10839     target = stream->EnsureSpace(target);
10840     target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_reason(), target);
10841   }
10842 
10843   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
10844     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
10845         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
10846   }
10847   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.F2fsWriteCheckpointFtraceEvent)
10848   return target;
10849 }
10850 
ByteSizeLong() const10851 size_t F2fsWriteCheckpointFtraceEvent::ByteSizeLong() const {
10852 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.F2fsWriteCheckpointFtraceEvent)
10853   size_t total_size = 0;
10854 
10855   ::uint32_t cached_has_bits = 0;
10856   // Prevent compiler warnings about cached_has_bits being unused
10857   (void) cached_has_bits;
10858 
10859   cached_has_bits = _impl_._has_bits_[0];
10860   if (cached_has_bits & 0x0000000fu) {
10861     // optional string msg = 3;
10862     if (cached_has_bits & 0x00000001u) {
10863       total_size += 1 +
10864         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
10865           this->_internal_msg());
10866     }
10867 
10868     // optional uint64 dev = 1;
10869     if (cached_has_bits & 0x00000002u) {
10870       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
10871     }
10872 
10873     // optional uint32 is_umount = 2;
10874     if (cached_has_bits & 0x00000004u) {
10875       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_is_umount());
10876     }
10877 
10878     // optional int32 reason = 4;
10879     if (cached_has_bits & 0x00000008u) {
10880       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_reason());
10881     }
10882 
10883   }
10884   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
10885     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
10886   }
10887   int cached_size = ::_pbi::ToCachedSize(total_size);
10888   SetCachedSize(cached_size);
10889   return total_size;
10890 }
10891 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)10892 void F2fsWriteCheckpointFtraceEvent::CheckTypeAndMergeFrom(
10893     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
10894   MergeFrom(*::_pbi::DownCast<const F2fsWriteCheckpointFtraceEvent*>(
10895       &from));
10896 }
10897 
MergeFrom(const F2fsWriteCheckpointFtraceEvent & from)10898 void F2fsWriteCheckpointFtraceEvent::MergeFrom(const F2fsWriteCheckpointFtraceEvent& from) {
10899   F2fsWriteCheckpointFtraceEvent* const _this = this;
10900   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.F2fsWriteCheckpointFtraceEvent)
10901   GOOGLE_DCHECK_NE(&from, _this);
10902   ::uint32_t cached_has_bits = 0;
10903   (void) cached_has_bits;
10904 
10905   cached_has_bits = from._impl_._has_bits_[0];
10906   if (cached_has_bits & 0x0000000fu) {
10907     if (cached_has_bits & 0x00000001u) {
10908       _this->_internal_set_msg(from._internal_msg());
10909     }
10910     if (cached_has_bits & 0x00000002u) {
10911       _this->_impl_.dev_ = from._impl_.dev_;
10912     }
10913     if (cached_has_bits & 0x00000004u) {
10914       _this->_impl_.is_umount_ = from._impl_.is_umount_;
10915     }
10916     if (cached_has_bits & 0x00000008u) {
10917       _this->_impl_.reason_ = from._impl_.reason_;
10918     }
10919     _this->_impl_._has_bits_[0] |= cached_has_bits;
10920   }
10921   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
10922 }
10923 
CopyFrom(const F2fsWriteCheckpointFtraceEvent & from)10924 void F2fsWriteCheckpointFtraceEvent::CopyFrom(const F2fsWriteCheckpointFtraceEvent& from) {
10925 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.F2fsWriteCheckpointFtraceEvent)
10926   if (&from == this) return;
10927   Clear();
10928   MergeFrom(from);
10929 }
10930 
IsInitialized() const10931 bool F2fsWriteCheckpointFtraceEvent::IsInitialized() const {
10932   return true;
10933 }
10934 
InternalSwap(F2fsWriteCheckpointFtraceEvent * other)10935 void F2fsWriteCheckpointFtraceEvent::InternalSwap(F2fsWriteCheckpointFtraceEvent* other) {
10936   using std::swap;
10937   auto* lhs_arena = GetArenaForAllocation();
10938   auto* rhs_arena = other->GetArenaForAllocation();
10939   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
10940   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
10941   ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
10942       &_impl_.msg_, lhs_arena,
10943       &other->_impl_.msg_, rhs_arena
10944   );
10945   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
10946       PROTOBUF_FIELD_OFFSET(F2fsWriteCheckpointFtraceEvent, _impl_.reason_)
10947       + sizeof(F2fsWriteCheckpointFtraceEvent::_impl_.reason_)  // NOLINT
10948       - PROTOBUF_FIELD_OFFSET(F2fsWriteCheckpointFtraceEvent, _impl_.dev_)>(
10949           reinterpret_cast<char*>(&_impl_.dev_),
10950           reinterpret_cast<char*>(&other->_impl_.dev_));
10951 }
10952 
GetTypeName() const10953 std::string F2fsWriteCheckpointFtraceEvent::GetTypeName() const {
10954   return "perfetto.protos.F2fsWriteCheckpointFtraceEvent";
10955 }
10956 
10957 
10958 // ===================================================================
10959 
10960 class F2fsWriteEndFtraceEvent::_Internal {
10961  public:
10962   using HasBits = decltype(std::declval<F2fsWriteEndFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)10963   static void set_has_dev(HasBits* has_bits) {
10964     (*has_bits)[0] |= 1u;
10965   }
set_has_ino(HasBits * has_bits)10966   static void set_has_ino(HasBits* has_bits) {
10967     (*has_bits)[0] |= 2u;
10968   }
set_has_pos(HasBits * has_bits)10969   static void set_has_pos(HasBits* has_bits) {
10970     (*has_bits)[0] |= 4u;
10971   }
set_has_len(HasBits * has_bits)10972   static void set_has_len(HasBits* has_bits) {
10973     (*has_bits)[0] |= 8u;
10974   }
set_has_copied(HasBits * has_bits)10975   static void set_has_copied(HasBits* has_bits) {
10976     (*has_bits)[0] |= 16u;
10977   }
10978 };
10979 
F2fsWriteEndFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)10980 F2fsWriteEndFtraceEvent::F2fsWriteEndFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
10981                          bool is_message_owned)
10982   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
10983   SharedCtor(arena, is_message_owned);
10984   // @@protoc_insertion_point(arena_constructor:perfetto.protos.F2fsWriteEndFtraceEvent)
10985 }
F2fsWriteEndFtraceEvent(const F2fsWriteEndFtraceEvent & from)10986 F2fsWriteEndFtraceEvent::F2fsWriteEndFtraceEvent(const F2fsWriteEndFtraceEvent& from)
10987   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
10988   F2fsWriteEndFtraceEvent* const _this = this; (void)_this;
10989   new (&_impl_) Impl_{
10990       decltype(_impl_._has_bits_){from._impl_._has_bits_}
10991     , /*decltype(_impl_._cached_size_)*/{}
10992     , decltype(_impl_.dev_){}
10993     , decltype(_impl_.ino_){}
10994     , decltype(_impl_.pos_){}
10995     , decltype(_impl_.len_){}
10996     , decltype(_impl_.copied_){}};
10997 
10998   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
10999   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
11000     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.copied_) -
11001     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.copied_));
11002   // @@protoc_insertion_point(copy_constructor:perfetto.protos.F2fsWriteEndFtraceEvent)
11003 }
11004 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)11005 inline void F2fsWriteEndFtraceEvent::SharedCtor(
11006     ::_pb::Arena* arena, bool is_message_owned) {
11007   (void)arena;
11008   (void)is_message_owned;
11009   new (&_impl_) Impl_{
11010       decltype(_impl_._has_bits_){}
11011     , /*decltype(_impl_._cached_size_)*/{}
11012     , decltype(_impl_.dev_){::uint64_t{0u}}
11013     , decltype(_impl_.ino_){::uint64_t{0u}}
11014     , decltype(_impl_.pos_){::int64_t{0}}
11015     , decltype(_impl_.len_){0u}
11016     , decltype(_impl_.copied_){0u}
11017   };
11018 }
11019 
~F2fsWriteEndFtraceEvent()11020 F2fsWriteEndFtraceEvent::~F2fsWriteEndFtraceEvent() {
11021   // @@protoc_insertion_point(destructor:perfetto.protos.F2fsWriteEndFtraceEvent)
11022   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
11023   (void)arena;
11024     return;
11025   }
11026   SharedDtor();
11027 }
11028 
SharedDtor()11029 inline void F2fsWriteEndFtraceEvent::SharedDtor() {
11030   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
11031 }
11032 
SetCachedSize(int size) const11033 void F2fsWriteEndFtraceEvent::SetCachedSize(int size) const {
11034   _impl_._cached_size_.Set(size);
11035 }
11036 
Clear()11037 void F2fsWriteEndFtraceEvent::Clear() {
11038 // @@protoc_insertion_point(message_clear_start:perfetto.protos.F2fsWriteEndFtraceEvent)
11039   ::uint32_t cached_has_bits = 0;
11040   // Prevent compiler warnings about cached_has_bits being unused
11041   (void) cached_has_bits;
11042 
11043   cached_has_bits = _impl_._has_bits_[0];
11044   if (cached_has_bits & 0x0000001fu) {
11045     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
11046         reinterpret_cast<char*>(&_impl_.copied_) -
11047         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.copied_));
11048   }
11049   _impl_._has_bits_.Clear();
11050   _internal_metadata_.Clear<std::string>();
11051 }
11052 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)11053 const char* F2fsWriteEndFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
11054 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
11055   _Internal::HasBits has_bits{};
11056   while (!ctx->Done(&ptr)) {
11057     ::uint32_t tag;
11058     ptr = ::_pbi::ReadTag(ptr, &tag);
11059     switch (tag >> 3) {
11060       // optional uint64 dev = 1;
11061       case 1:
11062         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
11063           _Internal::set_has_dev(&has_bits);
11064           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
11065           CHK_(ptr);
11066         } else {
11067           goto handle_unusual;
11068         }
11069         continue;
11070       // optional uint64 ino = 2;
11071       case 2:
11072         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
11073           _Internal::set_has_ino(&has_bits);
11074           _impl_.ino_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
11075           CHK_(ptr);
11076         } else {
11077           goto handle_unusual;
11078         }
11079         continue;
11080       // optional int64 pos = 3;
11081       case 3:
11082         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
11083           _Internal::set_has_pos(&has_bits);
11084           _impl_.pos_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
11085           CHK_(ptr);
11086         } else {
11087           goto handle_unusual;
11088         }
11089         continue;
11090       // optional uint32 len = 4;
11091       case 4:
11092         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
11093           _Internal::set_has_len(&has_bits);
11094           _impl_.len_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
11095           CHK_(ptr);
11096         } else {
11097           goto handle_unusual;
11098         }
11099         continue;
11100       // optional uint32 copied = 5;
11101       case 5:
11102         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) {
11103           _Internal::set_has_copied(&has_bits);
11104           _impl_.copied_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
11105           CHK_(ptr);
11106         } else {
11107           goto handle_unusual;
11108         }
11109         continue;
11110       default:
11111         goto handle_unusual;
11112     }  // switch
11113   handle_unusual:
11114     if ((tag == 0) || ((tag & 7) == 4)) {
11115       CHK_(ptr);
11116       ctx->SetLastTag(tag);
11117       goto message_done;
11118     }
11119     ptr = UnknownFieldParse(
11120         tag,
11121         _internal_metadata_.mutable_unknown_fields<std::string>(),
11122         ptr, ctx);
11123     CHK_(ptr != nullptr);
11124   }  // while
11125 message_done:
11126   _impl_._has_bits_.Or(has_bits);
11127   return ptr;
11128 failure:
11129   ptr = nullptr;
11130   goto message_done;
11131 #undef CHK_
11132 }
11133 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const11134 ::uint8_t* F2fsWriteEndFtraceEvent::_InternalSerialize(
11135     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
11136   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.F2fsWriteEndFtraceEvent)
11137   ::uint32_t cached_has_bits = 0;
11138   (void) cached_has_bits;
11139 
11140   cached_has_bits = _impl_._has_bits_[0];
11141   // optional uint64 dev = 1;
11142   if (cached_has_bits & 0x00000001u) {
11143     target = stream->EnsureSpace(target);
11144     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
11145   }
11146 
11147   // optional uint64 ino = 2;
11148   if (cached_has_bits & 0x00000002u) {
11149     target = stream->EnsureSpace(target);
11150     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_ino(), target);
11151   }
11152 
11153   // optional int64 pos = 3;
11154   if (cached_has_bits & 0x00000004u) {
11155     target = stream->EnsureSpace(target);
11156     target = ::_pbi::WireFormatLite::WriteInt64ToArray(3, this->_internal_pos(), target);
11157   }
11158 
11159   // optional uint32 len = 4;
11160   if (cached_has_bits & 0x00000008u) {
11161     target = stream->EnsureSpace(target);
11162     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_len(), target);
11163   }
11164 
11165   // optional uint32 copied = 5;
11166   if (cached_has_bits & 0x00000010u) {
11167     target = stream->EnsureSpace(target);
11168     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_copied(), target);
11169   }
11170 
11171   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
11172     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
11173         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
11174   }
11175   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.F2fsWriteEndFtraceEvent)
11176   return target;
11177 }
11178 
ByteSizeLong() const11179 size_t F2fsWriteEndFtraceEvent::ByteSizeLong() const {
11180 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.F2fsWriteEndFtraceEvent)
11181   size_t total_size = 0;
11182 
11183   ::uint32_t cached_has_bits = 0;
11184   // Prevent compiler warnings about cached_has_bits being unused
11185   (void) cached_has_bits;
11186 
11187   cached_has_bits = _impl_._has_bits_[0];
11188   if (cached_has_bits & 0x0000001fu) {
11189     // optional uint64 dev = 1;
11190     if (cached_has_bits & 0x00000001u) {
11191       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
11192     }
11193 
11194     // optional uint64 ino = 2;
11195     if (cached_has_bits & 0x00000002u) {
11196       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ino());
11197     }
11198 
11199     // optional int64 pos = 3;
11200     if (cached_has_bits & 0x00000004u) {
11201       total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_pos());
11202     }
11203 
11204     // optional uint32 len = 4;
11205     if (cached_has_bits & 0x00000008u) {
11206       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_len());
11207     }
11208 
11209     // optional uint32 copied = 5;
11210     if (cached_has_bits & 0x00000010u) {
11211       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_copied());
11212     }
11213 
11214   }
11215   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
11216     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
11217   }
11218   int cached_size = ::_pbi::ToCachedSize(total_size);
11219   SetCachedSize(cached_size);
11220   return total_size;
11221 }
11222 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)11223 void F2fsWriteEndFtraceEvent::CheckTypeAndMergeFrom(
11224     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
11225   MergeFrom(*::_pbi::DownCast<const F2fsWriteEndFtraceEvent*>(
11226       &from));
11227 }
11228 
MergeFrom(const F2fsWriteEndFtraceEvent & from)11229 void F2fsWriteEndFtraceEvent::MergeFrom(const F2fsWriteEndFtraceEvent& from) {
11230   F2fsWriteEndFtraceEvent* const _this = this;
11231   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.F2fsWriteEndFtraceEvent)
11232   GOOGLE_DCHECK_NE(&from, _this);
11233   ::uint32_t cached_has_bits = 0;
11234   (void) cached_has_bits;
11235 
11236   cached_has_bits = from._impl_._has_bits_[0];
11237   if (cached_has_bits & 0x0000001fu) {
11238     if (cached_has_bits & 0x00000001u) {
11239       _this->_impl_.dev_ = from._impl_.dev_;
11240     }
11241     if (cached_has_bits & 0x00000002u) {
11242       _this->_impl_.ino_ = from._impl_.ino_;
11243     }
11244     if (cached_has_bits & 0x00000004u) {
11245       _this->_impl_.pos_ = from._impl_.pos_;
11246     }
11247     if (cached_has_bits & 0x00000008u) {
11248       _this->_impl_.len_ = from._impl_.len_;
11249     }
11250     if (cached_has_bits & 0x00000010u) {
11251       _this->_impl_.copied_ = from._impl_.copied_;
11252     }
11253     _this->_impl_._has_bits_[0] |= cached_has_bits;
11254   }
11255   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
11256 }
11257 
CopyFrom(const F2fsWriteEndFtraceEvent & from)11258 void F2fsWriteEndFtraceEvent::CopyFrom(const F2fsWriteEndFtraceEvent& from) {
11259 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.F2fsWriteEndFtraceEvent)
11260   if (&from == this) return;
11261   Clear();
11262   MergeFrom(from);
11263 }
11264 
IsInitialized() const11265 bool F2fsWriteEndFtraceEvent::IsInitialized() const {
11266   return true;
11267 }
11268 
InternalSwap(F2fsWriteEndFtraceEvent * other)11269 void F2fsWriteEndFtraceEvent::InternalSwap(F2fsWriteEndFtraceEvent* other) {
11270   using std::swap;
11271   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
11272   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
11273   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
11274       PROTOBUF_FIELD_OFFSET(F2fsWriteEndFtraceEvent, _impl_.copied_)
11275       + sizeof(F2fsWriteEndFtraceEvent::_impl_.copied_)  // NOLINT
11276       - PROTOBUF_FIELD_OFFSET(F2fsWriteEndFtraceEvent, _impl_.dev_)>(
11277           reinterpret_cast<char*>(&_impl_.dev_),
11278           reinterpret_cast<char*>(&other->_impl_.dev_));
11279 }
11280 
GetTypeName() const11281 std::string F2fsWriteEndFtraceEvent::GetTypeName() const {
11282   return "perfetto.protos.F2fsWriteEndFtraceEvent";
11283 }
11284 
11285 
11286 // ===================================================================
11287 
11288 class F2fsIostatFtraceEvent::_Internal {
11289  public:
11290   using HasBits = decltype(std::declval<F2fsIostatFtraceEvent>()._impl_._has_bits_);
set_has_app_bio(HasBits * has_bits)11291   static void set_has_app_bio(HasBits* has_bits) {
11292     (*has_bits)[0] |= 1u;
11293   }
set_has_app_brio(HasBits * has_bits)11294   static void set_has_app_brio(HasBits* has_bits) {
11295     (*has_bits)[0] |= 2u;
11296   }
set_has_app_dio(HasBits * has_bits)11297   static void set_has_app_dio(HasBits* has_bits) {
11298     (*has_bits)[0] |= 4u;
11299   }
set_has_app_drio(HasBits * has_bits)11300   static void set_has_app_drio(HasBits* has_bits) {
11301     (*has_bits)[0] |= 8u;
11302   }
set_has_app_mio(HasBits * has_bits)11303   static void set_has_app_mio(HasBits* has_bits) {
11304     (*has_bits)[0] |= 16u;
11305   }
set_has_app_mrio(HasBits * has_bits)11306   static void set_has_app_mrio(HasBits* has_bits) {
11307     (*has_bits)[0] |= 32u;
11308   }
set_has_app_rio(HasBits * has_bits)11309   static void set_has_app_rio(HasBits* has_bits) {
11310     (*has_bits)[0] |= 64u;
11311   }
set_has_app_wio(HasBits * has_bits)11312   static void set_has_app_wio(HasBits* has_bits) {
11313     (*has_bits)[0] |= 128u;
11314   }
set_has_dev(HasBits * has_bits)11315   static void set_has_dev(HasBits* has_bits) {
11316     (*has_bits)[0] |= 256u;
11317   }
set_has_fs_cdrio(HasBits * has_bits)11318   static void set_has_fs_cdrio(HasBits* has_bits) {
11319     (*has_bits)[0] |= 512u;
11320   }
set_has_fs_cp_dio(HasBits * has_bits)11321   static void set_has_fs_cp_dio(HasBits* has_bits) {
11322     (*has_bits)[0] |= 1024u;
11323   }
set_has_fs_cp_mio(HasBits * has_bits)11324   static void set_has_fs_cp_mio(HasBits* has_bits) {
11325     (*has_bits)[0] |= 2048u;
11326   }
set_has_fs_cp_nio(HasBits * has_bits)11327   static void set_has_fs_cp_nio(HasBits* has_bits) {
11328     (*has_bits)[0] |= 4096u;
11329   }
set_has_fs_dio(HasBits * has_bits)11330   static void set_has_fs_dio(HasBits* has_bits) {
11331     (*has_bits)[0] |= 8192u;
11332   }
set_has_fs_discard(HasBits * has_bits)11333   static void set_has_fs_discard(HasBits* has_bits) {
11334     (*has_bits)[0] |= 16384u;
11335   }
set_has_fs_drio(HasBits * has_bits)11336   static void set_has_fs_drio(HasBits* has_bits) {
11337     (*has_bits)[0] |= 32768u;
11338   }
set_has_fs_gc_dio(HasBits * has_bits)11339   static void set_has_fs_gc_dio(HasBits* has_bits) {
11340     (*has_bits)[0] |= 65536u;
11341   }
set_has_fs_gc_nio(HasBits * has_bits)11342   static void set_has_fs_gc_nio(HasBits* has_bits) {
11343     (*has_bits)[0] |= 131072u;
11344   }
set_has_fs_gdrio(HasBits * has_bits)11345   static void set_has_fs_gdrio(HasBits* has_bits) {
11346     (*has_bits)[0] |= 262144u;
11347   }
set_has_fs_mio(HasBits * has_bits)11348   static void set_has_fs_mio(HasBits* has_bits) {
11349     (*has_bits)[0] |= 524288u;
11350   }
set_has_fs_mrio(HasBits * has_bits)11351   static void set_has_fs_mrio(HasBits* has_bits) {
11352     (*has_bits)[0] |= 1048576u;
11353   }
set_has_fs_nio(HasBits * has_bits)11354   static void set_has_fs_nio(HasBits* has_bits) {
11355     (*has_bits)[0] |= 2097152u;
11356   }
set_has_fs_nrio(HasBits * has_bits)11357   static void set_has_fs_nrio(HasBits* has_bits) {
11358     (*has_bits)[0] |= 4194304u;
11359   }
11360 };
11361 
F2fsIostatFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)11362 F2fsIostatFtraceEvent::F2fsIostatFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
11363                          bool is_message_owned)
11364   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
11365   SharedCtor(arena, is_message_owned);
11366   // @@protoc_insertion_point(arena_constructor:perfetto.protos.F2fsIostatFtraceEvent)
11367 }
F2fsIostatFtraceEvent(const F2fsIostatFtraceEvent & from)11368 F2fsIostatFtraceEvent::F2fsIostatFtraceEvent(const F2fsIostatFtraceEvent& from)
11369   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
11370   F2fsIostatFtraceEvent* const _this = this; (void)_this;
11371   new (&_impl_) Impl_{
11372       decltype(_impl_._has_bits_){from._impl_._has_bits_}
11373     , /*decltype(_impl_._cached_size_)*/{}
11374     , decltype(_impl_.app_bio_){}
11375     , decltype(_impl_.app_brio_){}
11376     , decltype(_impl_.app_dio_){}
11377     , decltype(_impl_.app_drio_){}
11378     , decltype(_impl_.app_mio_){}
11379     , decltype(_impl_.app_mrio_){}
11380     , decltype(_impl_.app_rio_){}
11381     , decltype(_impl_.app_wio_){}
11382     , decltype(_impl_.dev_){}
11383     , decltype(_impl_.fs_cdrio_){}
11384     , decltype(_impl_.fs_cp_dio_){}
11385     , decltype(_impl_.fs_cp_mio_){}
11386     , decltype(_impl_.fs_cp_nio_){}
11387     , decltype(_impl_.fs_dio_){}
11388     , decltype(_impl_.fs_discard_){}
11389     , decltype(_impl_.fs_drio_){}
11390     , decltype(_impl_.fs_gc_dio_){}
11391     , decltype(_impl_.fs_gc_nio_){}
11392     , decltype(_impl_.fs_gdrio_){}
11393     , decltype(_impl_.fs_mio_){}
11394     , decltype(_impl_.fs_mrio_){}
11395     , decltype(_impl_.fs_nio_){}
11396     , decltype(_impl_.fs_nrio_){}};
11397 
11398   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
11399   ::memcpy(&_impl_.app_bio_, &from._impl_.app_bio_,
11400     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.fs_nrio_) -
11401     reinterpret_cast<char*>(&_impl_.app_bio_)) + sizeof(_impl_.fs_nrio_));
11402   // @@protoc_insertion_point(copy_constructor:perfetto.protos.F2fsIostatFtraceEvent)
11403 }
11404 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)11405 inline void F2fsIostatFtraceEvent::SharedCtor(
11406     ::_pb::Arena* arena, bool is_message_owned) {
11407   (void)arena;
11408   (void)is_message_owned;
11409   new (&_impl_) Impl_{
11410       decltype(_impl_._has_bits_){}
11411     , /*decltype(_impl_._cached_size_)*/{}
11412     , decltype(_impl_.app_bio_){::uint64_t{0u}}
11413     , decltype(_impl_.app_brio_){::uint64_t{0u}}
11414     , decltype(_impl_.app_dio_){::uint64_t{0u}}
11415     , decltype(_impl_.app_drio_){::uint64_t{0u}}
11416     , decltype(_impl_.app_mio_){::uint64_t{0u}}
11417     , decltype(_impl_.app_mrio_){::uint64_t{0u}}
11418     , decltype(_impl_.app_rio_){::uint64_t{0u}}
11419     , decltype(_impl_.app_wio_){::uint64_t{0u}}
11420     , decltype(_impl_.dev_){::uint64_t{0u}}
11421     , decltype(_impl_.fs_cdrio_){::uint64_t{0u}}
11422     , decltype(_impl_.fs_cp_dio_){::uint64_t{0u}}
11423     , decltype(_impl_.fs_cp_mio_){::uint64_t{0u}}
11424     , decltype(_impl_.fs_cp_nio_){::uint64_t{0u}}
11425     , decltype(_impl_.fs_dio_){::uint64_t{0u}}
11426     , decltype(_impl_.fs_discard_){::uint64_t{0u}}
11427     , decltype(_impl_.fs_drio_){::uint64_t{0u}}
11428     , decltype(_impl_.fs_gc_dio_){::uint64_t{0u}}
11429     , decltype(_impl_.fs_gc_nio_){::uint64_t{0u}}
11430     , decltype(_impl_.fs_gdrio_){::uint64_t{0u}}
11431     , decltype(_impl_.fs_mio_){::uint64_t{0u}}
11432     , decltype(_impl_.fs_mrio_){::uint64_t{0u}}
11433     , decltype(_impl_.fs_nio_){::uint64_t{0u}}
11434     , decltype(_impl_.fs_nrio_){::uint64_t{0u}}
11435   };
11436 }
11437 
~F2fsIostatFtraceEvent()11438 F2fsIostatFtraceEvent::~F2fsIostatFtraceEvent() {
11439   // @@protoc_insertion_point(destructor:perfetto.protos.F2fsIostatFtraceEvent)
11440   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
11441   (void)arena;
11442     return;
11443   }
11444   SharedDtor();
11445 }
11446 
SharedDtor()11447 inline void F2fsIostatFtraceEvent::SharedDtor() {
11448   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
11449 }
11450 
SetCachedSize(int size) const11451 void F2fsIostatFtraceEvent::SetCachedSize(int size) const {
11452   _impl_._cached_size_.Set(size);
11453 }
11454 
Clear()11455 void F2fsIostatFtraceEvent::Clear() {
11456 // @@protoc_insertion_point(message_clear_start:perfetto.protos.F2fsIostatFtraceEvent)
11457   ::uint32_t cached_has_bits = 0;
11458   // Prevent compiler warnings about cached_has_bits being unused
11459   (void) cached_has_bits;
11460 
11461   cached_has_bits = _impl_._has_bits_[0];
11462   if (cached_has_bits & 0x000000ffu) {
11463     ::memset(&_impl_.app_bio_, 0, static_cast<size_t>(
11464         reinterpret_cast<char*>(&_impl_.app_wio_) -
11465         reinterpret_cast<char*>(&_impl_.app_bio_)) + sizeof(_impl_.app_wio_));
11466   }
11467   if (cached_has_bits & 0x0000ff00u) {
11468     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
11469         reinterpret_cast<char*>(&_impl_.fs_drio_) -
11470         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.fs_drio_));
11471   }
11472   if (cached_has_bits & 0x007f0000u) {
11473     ::memset(&_impl_.fs_gc_dio_, 0, static_cast<size_t>(
11474         reinterpret_cast<char*>(&_impl_.fs_nrio_) -
11475         reinterpret_cast<char*>(&_impl_.fs_gc_dio_)) + sizeof(_impl_.fs_nrio_));
11476   }
11477   _impl_._has_bits_.Clear();
11478   _internal_metadata_.Clear<std::string>();
11479 }
11480 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)11481 const char* F2fsIostatFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
11482 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
11483   _Internal::HasBits has_bits{};
11484   while (!ctx->Done(&ptr)) {
11485     ::uint32_t tag;
11486     ptr = ::_pbi::ReadTag(ptr, &tag);
11487     switch (tag >> 3) {
11488       // optional uint64 app_bio = 1;
11489       case 1:
11490         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
11491           _Internal::set_has_app_bio(&has_bits);
11492           _impl_.app_bio_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
11493           CHK_(ptr);
11494         } else {
11495           goto handle_unusual;
11496         }
11497         continue;
11498       // optional uint64 app_brio = 2;
11499       case 2:
11500         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
11501           _Internal::set_has_app_brio(&has_bits);
11502           _impl_.app_brio_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
11503           CHK_(ptr);
11504         } else {
11505           goto handle_unusual;
11506         }
11507         continue;
11508       // optional uint64 app_dio = 3;
11509       case 3:
11510         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
11511           _Internal::set_has_app_dio(&has_bits);
11512           _impl_.app_dio_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
11513           CHK_(ptr);
11514         } else {
11515           goto handle_unusual;
11516         }
11517         continue;
11518       // optional uint64 app_drio = 4;
11519       case 4:
11520         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
11521           _Internal::set_has_app_drio(&has_bits);
11522           _impl_.app_drio_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
11523           CHK_(ptr);
11524         } else {
11525           goto handle_unusual;
11526         }
11527         continue;
11528       // optional uint64 app_mio = 5;
11529       case 5:
11530         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) {
11531           _Internal::set_has_app_mio(&has_bits);
11532           _impl_.app_mio_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
11533           CHK_(ptr);
11534         } else {
11535           goto handle_unusual;
11536         }
11537         continue;
11538       // optional uint64 app_mrio = 6;
11539       case 6:
11540         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 48)) {
11541           _Internal::set_has_app_mrio(&has_bits);
11542           _impl_.app_mrio_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
11543           CHK_(ptr);
11544         } else {
11545           goto handle_unusual;
11546         }
11547         continue;
11548       // optional uint64 app_rio = 7;
11549       case 7:
11550         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 56)) {
11551           _Internal::set_has_app_rio(&has_bits);
11552           _impl_.app_rio_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
11553           CHK_(ptr);
11554         } else {
11555           goto handle_unusual;
11556         }
11557         continue;
11558       // optional uint64 app_wio = 8;
11559       case 8:
11560         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 64)) {
11561           _Internal::set_has_app_wio(&has_bits);
11562           _impl_.app_wio_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
11563           CHK_(ptr);
11564         } else {
11565           goto handle_unusual;
11566         }
11567         continue;
11568       // optional uint64 dev = 9;
11569       case 9:
11570         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 72)) {
11571           _Internal::set_has_dev(&has_bits);
11572           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
11573           CHK_(ptr);
11574         } else {
11575           goto handle_unusual;
11576         }
11577         continue;
11578       // optional uint64 fs_cdrio = 10;
11579       case 10:
11580         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 80)) {
11581           _Internal::set_has_fs_cdrio(&has_bits);
11582           _impl_.fs_cdrio_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
11583           CHK_(ptr);
11584         } else {
11585           goto handle_unusual;
11586         }
11587         continue;
11588       // optional uint64 fs_cp_dio = 11;
11589       case 11:
11590         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 88)) {
11591           _Internal::set_has_fs_cp_dio(&has_bits);
11592           _impl_.fs_cp_dio_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
11593           CHK_(ptr);
11594         } else {
11595           goto handle_unusual;
11596         }
11597         continue;
11598       // optional uint64 fs_cp_mio = 12;
11599       case 12:
11600         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 96)) {
11601           _Internal::set_has_fs_cp_mio(&has_bits);
11602           _impl_.fs_cp_mio_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
11603           CHK_(ptr);
11604         } else {
11605           goto handle_unusual;
11606         }
11607         continue;
11608       // optional uint64 fs_cp_nio = 13;
11609       case 13:
11610         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 104)) {
11611           _Internal::set_has_fs_cp_nio(&has_bits);
11612           _impl_.fs_cp_nio_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
11613           CHK_(ptr);
11614         } else {
11615           goto handle_unusual;
11616         }
11617         continue;
11618       // optional uint64 fs_dio = 14;
11619       case 14:
11620         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 112)) {
11621           _Internal::set_has_fs_dio(&has_bits);
11622           _impl_.fs_dio_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
11623           CHK_(ptr);
11624         } else {
11625           goto handle_unusual;
11626         }
11627         continue;
11628       // optional uint64 fs_discard = 15;
11629       case 15:
11630         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 120)) {
11631           _Internal::set_has_fs_discard(&has_bits);
11632           _impl_.fs_discard_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
11633           CHK_(ptr);
11634         } else {
11635           goto handle_unusual;
11636         }
11637         continue;
11638       // optional uint64 fs_drio = 16;
11639       case 16:
11640         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 128)) {
11641           _Internal::set_has_fs_drio(&has_bits);
11642           _impl_.fs_drio_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
11643           CHK_(ptr);
11644         } else {
11645           goto handle_unusual;
11646         }
11647         continue;
11648       // optional uint64 fs_gc_dio = 17;
11649       case 17:
11650         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 136)) {
11651           _Internal::set_has_fs_gc_dio(&has_bits);
11652           _impl_.fs_gc_dio_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
11653           CHK_(ptr);
11654         } else {
11655           goto handle_unusual;
11656         }
11657         continue;
11658       // optional uint64 fs_gc_nio = 18;
11659       case 18:
11660         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 144)) {
11661           _Internal::set_has_fs_gc_nio(&has_bits);
11662           _impl_.fs_gc_nio_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
11663           CHK_(ptr);
11664         } else {
11665           goto handle_unusual;
11666         }
11667         continue;
11668       // optional uint64 fs_gdrio = 19;
11669       case 19:
11670         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 152)) {
11671           _Internal::set_has_fs_gdrio(&has_bits);
11672           _impl_.fs_gdrio_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
11673           CHK_(ptr);
11674         } else {
11675           goto handle_unusual;
11676         }
11677         continue;
11678       // optional uint64 fs_mio = 20;
11679       case 20:
11680         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 160)) {
11681           _Internal::set_has_fs_mio(&has_bits);
11682           _impl_.fs_mio_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
11683           CHK_(ptr);
11684         } else {
11685           goto handle_unusual;
11686         }
11687         continue;
11688       // optional uint64 fs_mrio = 21;
11689       case 21:
11690         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 168)) {
11691           _Internal::set_has_fs_mrio(&has_bits);
11692           _impl_.fs_mrio_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
11693           CHK_(ptr);
11694         } else {
11695           goto handle_unusual;
11696         }
11697         continue;
11698       // optional uint64 fs_nio = 22;
11699       case 22:
11700         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 176)) {
11701           _Internal::set_has_fs_nio(&has_bits);
11702           _impl_.fs_nio_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
11703           CHK_(ptr);
11704         } else {
11705           goto handle_unusual;
11706         }
11707         continue;
11708       // optional uint64 fs_nrio = 23;
11709       case 23:
11710         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 184)) {
11711           _Internal::set_has_fs_nrio(&has_bits);
11712           _impl_.fs_nrio_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
11713           CHK_(ptr);
11714         } else {
11715           goto handle_unusual;
11716         }
11717         continue;
11718       default:
11719         goto handle_unusual;
11720     }  // switch
11721   handle_unusual:
11722     if ((tag == 0) || ((tag & 7) == 4)) {
11723       CHK_(ptr);
11724       ctx->SetLastTag(tag);
11725       goto message_done;
11726     }
11727     ptr = UnknownFieldParse(
11728         tag,
11729         _internal_metadata_.mutable_unknown_fields<std::string>(),
11730         ptr, ctx);
11731     CHK_(ptr != nullptr);
11732   }  // while
11733 message_done:
11734   _impl_._has_bits_.Or(has_bits);
11735   return ptr;
11736 failure:
11737   ptr = nullptr;
11738   goto message_done;
11739 #undef CHK_
11740 }
11741 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const11742 ::uint8_t* F2fsIostatFtraceEvent::_InternalSerialize(
11743     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
11744   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.F2fsIostatFtraceEvent)
11745   ::uint32_t cached_has_bits = 0;
11746   (void) cached_has_bits;
11747 
11748   cached_has_bits = _impl_._has_bits_[0];
11749   // optional uint64 app_bio = 1;
11750   if (cached_has_bits & 0x00000001u) {
11751     target = stream->EnsureSpace(target);
11752     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_app_bio(), target);
11753   }
11754 
11755   // optional uint64 app_brio = 2;
11756   if (cached_has_bits & 0x00000002u) {
11757     target = stream->EnsureSpace(target);
11758     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_app_brio(), target);
11759   }
11760 
11761   // optional uint64 app_dio = 3;
11762   if (cached_has_bits & 0x00000004u) {
11763     target = stream->EnsureSpace(target);
11764     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(3, this->_internal_app_dio(), target);
11765   }
11766 
11767   // optional uint64 app_drio = 4;
11768   if (cached_has_bits & 0x00000008u) {
11769     target = stream->EnsureSpace(target);
11770     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(4, this->_internal_app_drio(), target);
11771   }
11772 
11773   // optional uint64 app_mio = 5;
11774   if (cached_has_bits & 0x00000010u) {
11775     target = stream->EnsureSpace(target);
11776     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(5, this->_internal_app_mio(), target);
11777   }
11778 
11779   // optional uint64 app_mrio = 6;
11780   if (cached_has_bits & 0x00000020u) {
11781     target = stream->EnsureSpace(target);
11782     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(6, this->_internal_app_mrio(), target);
11783   }
11784 
11785   // optional uint64 app_rio = 7;
11786   if (cached_has_bits & 0x00000040u) {
11787     target = stream->EnsureSpace(target);
11788     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(7, this->_internal_app_rio(), target);
11789   }
11790 
11791   // optional uint64 app_wio = 8;
11792   if (cached_has_bits & 0x00000080u) {
11793     target = stream->EnsureSpace(target);
11794     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(8, this->_internal_app_wio(), target);
11795   }
11796 
11797   // optional uint64 dev = 9;
11798   if (cached_has_bits & 0x00000100u) {
11799     target = stream->EnsureSpace(target);
11800     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(9, this->_internal_dev(), target);
11801   }
11802 
11803   // optional uint64 fs_cdrio = 10;
11804   if (cached_has_bits & 0x00000200u) {
11805     target = stream->EnsureSpace(target);
11806     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(10, this->_internal_fs_cdrio(), target);
11807   }
11808 
11809   // optional uint64 fs_cp_dio = 11;
11810   if (cached_has_bits & 0x00000400u) {
11811     target = stream->EnsureSpace(target);
11812     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(11, this->_internal_fs_cp_dio(), target);
11813   }
11814 
11815   // optional uint64 fs_cp_mio = 12;
11816   if (cached_has_bits & 0x00000800u) {
11817     target = stream->EnsureSpace(target);
11818     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(12, this->_internal_fs_cp_mio(), target);
11819   }
11820 
11821   // optional uint64 fs_cp_nio = 13;
11822   if (cached_has_bits & 0x00001000u) {
11823     target = stream->EnsureSpace(target);
11824     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(13, this->_internal_fs_cp_nio(), target);
11825   }
11826 
11827   // optional uint64 fs_dio = 14;
11828   if (cached_has_bits & 0x00002000u) {
11829     target = stream->EnsureSpace(target);
11830     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(14, this->_internal_fs_dio(), target);
11831   }
11832 
11833   // optional uint64 fs_discard = 15;
11834   if (cached_has_bits & 0x00004000u) {
11835     target = stream->EnsureSpace(target);
11836     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(15, this->_internal_fs_discard(), target);
11837   }
11838 
11839   // optional uint64 fs_drio = 16;
11840   if (cached_has_bits & 0x00008000u) {
11841     target = stream->EnsureSpace(target);
11842     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(16, this->_internal_fs_drio(), target);
11843   }
11844 
11845   // optional uint64 fs_gc_dio = 17;
11846   if (cached_has_bits & 0x00010000u) {
11847     target = stream->EnsureSpace(target);
11848     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(17, this->_internal_fs_gc_dio(), target);
11849   }
11850 
11851   // optional uint64 fs_gc_nio = 18;
11852   if (cached_has_bits & 0x00020000u) {
11853     target = stream->EnsureSpace(target);
11854     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(18, this->_internal_fs_gc_nio(), target);
11855   }
11856 
11857   // optional uint64 fs_gdrio = 19;
11858   if (cached_has_bits & 0x00040000u) {
11859     target = stream->EnsureSpace(target);
11860     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(19, this->_internal_fs_gdrio(), target);
11861   }
11862 
11863   // optional uint64 fs_mio = 20;
11864   if (cached_has_bits & 0x00080000u) {
11865     target = stream->EnsureSpace(target);
11866     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(20, this->_internal_fs_mio(), target);
11867   }
11868 
11869   // optional uint64 fs_mrio = 21;
11870   if (cached_has_bits & 0x00100000u) {
11871     target = stream->EnsureSpace(target);
11872     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(21, this->_internal_fs_mrio(), target);
11873   }
11874 
11875   // optional uint64 fs_nio = 22;
11876   if (cached_has_bits & 0x00200000u) {
11877     target = stream->EnsureSpace(target);
11878     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(22, this->_internal_fs_nio(), target);
11879   }
11880 
11881   // optional uint64 fs_nrio = 23;
11882   if (cached_has_bits & 0x00400000u) {
11883     target = stream->EnsureSpace(target);
11884     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(23, this->_internal_fs_nrio(), target);
11885   }
11886 
11887   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
11888     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
11889         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
11890   }
11891   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.F2fsIostatFtraceEvent)
11892   return target;
11893 }
11894 
ByteSizeLong() const11895 size_t F2fsIostatFtraceEvent::ByteSizeLong() const {
11896 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.F2fsIostatFtraceEvent)
11897   size_t total_size = 0;
11898 
11899   ::uint32_t cached_has_bits = 0;
11900   // Prevent compiler warnings about cached_has_bits being unused
11901   (void) cached_has_bits;
11902 
11903   cached_has_bits = _impl_._has_bits_[0];
11904   if (cached_has_bits & 0x000000ffu) {
11905     // optional uint64 app_bio = 1;
11906     if (cached_has_bits & 0x00000001u) {
11907       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_app_bio());
11908     }
11909 
11910     // optional uint64 app_brio = 2;
11911     if (cached_has_bits & 0x00000002u) {
11912       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_app_brio());
11913     }
11914 
11915     // optional uint64 app_dio = 3;
11916     if (cached_has_bits & 0x00000004u) {
11917       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_app_dio());
11918     }
11919 
11920     // optional uint64 app_drio = 4;
11921     if (cached_has_bits & 0x00000008u) {
11922       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_app_drio());
11923     }
11924 
11925     // optional uint64 app_mio = 5;
11926     if (cached_has_bits & 0x00000010u) {
11927       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_app_mio());
11928     }
11929 
11930     // optional uint64 app_mrio = 6;
11931     if (cached_has_bits & 0x00000020u) {
11932       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_app_mrio());
11933     }
11934 
11935     // optional uint64 app_rio = 7;
11936     if (cached_has_bits & 0x00000040u) {
11937       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_app_rio());
11938     }
11939 
11940     // optional uint64 app_wio = 8;
11941     if (cached_has_bits & 0x00000080u) {
11942       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_app_wio());
11943     }
11944 
11945   }
11946   if (cached_has_bits & 0x0000ff00u) {
11947     // optional uint64 dev = 9;
11948     if (cached_has_bits & 0x00000100u) {
11949       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
11950     }
11951 
11952     // optional uint64 fs_cdrio = 10;
11953     if (cached_has_bits & 0x00000200u) {
11954       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_fs_cdrio());
11955     }
11956 
11957     // optional uint64 fs_cp_dio = 11;
11958     if (cached_has_bits & 0x00000400u) {
11959       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_fs_cp_dio());
11960     }
11961 
11962     // optional uint64 fs_cp_mio = 12;
11963     if (cached_has_bits & 0x00000800u) {
11964       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_fs_cp_mio());
11965     }
11966 
11967     // optional uint64 fs_cp_nio = 13;
11968     if (cached_has_bits & 0x00001000u) {
11969       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_fs_cp_nio());
11970     }
11971 
11972     // optional uint64 fs_dio = 14;
11973     if (cached_has_bits & 0x00002000u) {
11974       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_fs_dio());
11975     }
11976 
11977     // optional uint64 fs_discard = 15;
11978     if (cached_has_bits & 0x00004000u) {
11979       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_fs_discard());
11980     }
11981 
11982     // optional uint64 fs_drio = 16;
11983     if (cached_has_bits & 0x00008000u) {
11984       total_size += 2 +
11985         ::_pbi::WireFormatLite::UInt64Size(
11986           this->_internal_fs_drio());
11987     }
11988 
11989   }
11990   if (cached_has_bits & 0x007f0000u) {
11991     // optional uint64 fs_gc_dio = 17;
11992     if (cached_has_bits & 0x00010000u) {
11993       total_size += 2 +
11994         ::_pbi::WireFormatLite::UInt64Size(
11995           this->_internal_fs_gc_dio());
11996     }
11997 
11998     // optional uint64 fs_gc_nio = 18;
11999     if (cached_has_bits & 0x00020000u) {
12000       total_size += 2 +
12001         ::_pbi::WireFormatLite::UInt64Size(
12002           this->_internal_fs_gc_nio());
12003     }
12004 
12005     // optional uint64 fs_gdrio = 19;
12006     if (cached_has_bits & 0x00040000u) {
12007       total_size += 2 +
12008         ::_pbi::WireFormatLite::UInt64Size(
12009           this->_internal_fs_gdrio());
12010     }
12011 
12012     // optional uint64 fs_mio = 20;
12013     if (cached_has_bits & 0x00080000u) {
12014       total_size += 2 +
12015         ::_pbi::WireFormatLite::UInt64Size(
12016           this->_internal_fs_mio());
12017     }
12018 
12019     // optional uint64 fs_mrio = 21;
12020     if (cached_has_bits & 0x00100000u) {
12021       total_size += 2 +
12022         ::_pbi::WireFormatLite::UInt64Size(
12023           this->_internal_fs_mrio());
12024     }
12025 
12026     // optional uint64 fs_nio = 22;
12027     if (cached_has_bits & 0x00200000u) {
12028       total_size += 2 +
12029         ::_pbi::WireFormatLite::UInt64Size(
12030           this->_internal_fs_nio());
12031     }
12032 
12033     // optional uint64 fs_nrio = 23;
12034     if (cached_has_bits & 0x00400000u) {
12035       total_size += 2 +
12036         ::_pbi::WireFormatLite::UInt64Size(
12037           this->_internal_fs_nrio());
12038     }
12039 
12040   }
12041   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
12042     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
12043   }
12044   int cached_size = ::_pbi::ToCachedSize(total_size);
12045   SetCachedSize(cached_size);
12046   return total_size;
12047 }
12048 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)12049 void F2fsIostatFtraceEvent::CheckTypeAndMergeFrom(
12050     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
12051   MergeFrom(*::_pbi::DownCast<const F2fsIostatFtraceEvent*>(
12052       &from));
12053 }
12054 
MergeFrom(const F2fsIostatFtraceEvent & from)12055 void F2fsIostatFtraceEvent::MergeFrom(const F2fsIostatFtraceEvent& from) {
12056   F2fsIostatFtraceEvent* const _this = this;
12057   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.F2fsIostatFtraceEvent)
12058   GOOGLE_DCHECK_NE(&from, _this);
12059   ::uint32_t cached_has_bits = 0;
12060   (void) cached_has_bits;
12061 
12062   cached_has_bits = from._impl_._has_bits_[0];
12063   if (cached_has_bits & 0x000000ffu) {
12064     if (cached_has_bits & 0x00000001u) {
12065       _this->_impl_.app_bio_ = from._impl_.app_bio_;
12066     }
12067     if (cached_has_bits & 0x00000002u) {
12068       _this->_impl_.app_brio_ = from._impl_.app_brio_;
12069     }
12070     if (cached_has_bits & 0x00000004u) {
12071       _this->_impl_.app_dio_ = from._impl_.app_dio_;
12072     }
12073     if (cached_has_bits & 0x00000008u) {
12074       _this->_impl_.app_drio_ = from._impl_.app_drio_;
12075     }
12076     if (cached_has_bits & 0x00000010u) {
12077       _this->_impl_.app_mio_ = from._impl_.app_mio_;
12078     }
12079     if (cached_has_bits & 0x00000020u) {
12080       _this->_impl_.app_mrio_ = from._impl_.app_mrio_;
12081     }
12082     if (cached_has_bits & 0x00000040u) {
12083       _this->_impl_.app_rio_ = from._impl_.app_rio_;
12084     }
12085     if (cached_has_bits & 0x00000080u) {
12086       _this->_impl_.app_wio_ = from._impl_.app_wio_;
12087     }
12088     _this->_impl_._has_bits_[0] |= cached_has_bits;
12089   }
12090   if (cached_has_bits & 0x0000ff00u) {
12091     if (cached_has_bits & 0x00000100u) {
12092       _this->_impl_.dev_ = from._impl_.dev_;
12093     }
12094     if (cached_has_bits & 0x00000200u) {
12095       _this->_impl_.fs_cdrio_ = from._impl_.fs_cdrio_;
12096     }
12097     if (cached_has_bits & 0x00000400u) {
12098       _this->_impl_.fs_cp_dio_ = from._impl_.fs_cp_dio_;
12099     }
12100     if (cached_has_bits & 0x00000800u) {
12101       _this->_impl_.fs_cp_mio_ = from._impl_.fs_cp_mio_;
12102     }
12103     if (cached_has_bits & 0x00001000u) {
12104       _this->_impl_.fs_cp_nio_ = from._impl_.fs_cp_nio_;
12105     }
12106     if (cached_has_bits & 0x00002000u) {
12107       _this->_impl_.fs_dio_ = from._impl_.fs_dio_;
12108     }
12109     if (cached_has_bits & 0x00004000u) {
12110       _this->_impl_.fs_discard_ = from._impl_.fs_discard_;
12111     }
12112     if (cached_has_bits & 0x00008000u) {
12113       _this->_impl_.fs_drio_ = from._impl_.fs_drio_;
12114     }
12115     _this->_impl_._has_bits_[0] |= cached_has_bits;
12116   }
12117   if (cached_has_bits & 0x007f0000u) {
12118     if (cached_has_bits & 0x00010000u) {
12119       _this->_impl_.fs_gc_dio_ = from._impl_.fs_gc_dio_;
12120     }
12121     if (cached_has_bits & 0x00020000u) {
12122       _this->_impl_.fs_gc_nio_ = from._impl_.fs_gc_nio_;
12123     }
12124     if (cached_has_bits & 0x00040000u) {
12125       _this->_impl_.fs_gdrio_ = from._impl_.fs_gdrio_;
12126     }
12127     if (cached_has_bits & 0x00080000u) {
12128       _this->_impl_.fs_mio_ = from._impl_.fs_mio_;
12129     }
12130     if (cached_has_bits & 0x00100000u) {
12131       _this->_impl_.fs_mrio_ = from._impl_.fs_mrio_;
12132     }
12133     if (cached_has_bits & 0x00200000u) {
12134       _this->_impl_.fs_nio_ = from._impl_.fs_nio_;
12135     }
12136     if (cached_has_bits & 0x00400000u) {
12137       _this->_impl_.fs_nrio_ = from._impl_.fs_nrio_;
12138     }
12139     _this->_impl_._has_bits_[0] |= cached_has_bits;
12140   }
12141   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
12142 }
12143 
CopyFrom(const F2fsIostatFtraceEvent & from)12144 void F2fsIostatFtraceEvent::CopyFrom(const F2fsIostatFtraceEvent& from) {
12145 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.F2fsIostatFtraceEvent)
12146   if (&from == this) return;
12147   Clear();
12148   MergeFrom(from);
12149 }
12150 
IsInitialized() const12151 bool F2fsIostatFtraceEvent::IsInitialized() const {
12152   return true;
12153 }
12154 
InternalSwap(F2fsIostatFtraceEvent * other)12155 void F2fsIostatFtraceEvent::InternalSwap(F2fsIostatFtraceEvent* other) {
12156   using std::swap;
12157   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
12158   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
12159   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
12160       PROTOBUF_FIELD_OFFSET(F2fsIostatFtraceEvent, _impl_.fs_nrio_)
12161       + sizeof(F2fsIostatFtraceEvent::_impl_.fs_nrio_)  // NOLINT
12162       - PROTOBUF_FIELD_OFFSET(F2fsIostatFtraceEvent, _impl_.app_bio_)>(
12163           reinterpret_cast<char*>(&_impl_.app_bio_),
12164           reinterpret_cast<char*>(&other->_impl_.app_bio_));
12165 }
12166 
GetTypeName() const12167 std::string F2fsIostatFtraceEvent::GetTypeName() const {
12168   return "perfetto.protos.F2fsIostatFtraceEvent";
12169 }
12170 
12171 
12172 // ===================================================================
12173 
12174 class F2fsIostatLatencyFtraceEvent::_Internal {
12175  public:
12176   using HasBits = decltype(std::declval<F2fsIostatLatencyFtraceEvent>()._impl_._has_bits_);
set_has_d_rd_avg(HasBits * has_bits)12177   static void set_has_d_rd_avg(HasBits* has_bits) {
12178     (*has_bits)[0] |= 1u;
12179   }
set_has_d_rd_cnt(HasBits * has_bits)12180   static void set_has_d_rd_cnt(HasBits* has_bits) {
12181     (*has_bits)[0] |= 2u;
12182   }
set_has_d_rd_peak(HasBits * has_bits)12183   static void set_has_d_rd_peak(HasBits* has_bits) {
12184     (*has_bits)[0] |= 4u;
12185   }
set_has_d_wr_as_avg(HasBits * has_bits)12186   static void set_has_d_wr_as_avg(HasBits* has_bits) {
12187     (*has_bits)[0] |= 8u;
12188   }
set_has_d_wr_as_cnt(HasBits * has_bits)12189   static void set_has_d_wr_as_cnt(HasBits* has_bits) {
12190     (*has_bits)[0] |= 16u;
12191   }
set_has_d_wr_as_peak(HasBits * has_bits)12192   static void set_has_d_wr_as_peak(HasBits* has_bits) {
12193     (*has_bits)[0] |= 32u;
12194   }
set_has_d_wr_s_avg(HasBits * has_bits)12195   static void set_has_d_wr_s_avg(HasBits* has_bits) {
12196     (*has_bits)[0] |= 64u;
12197   }
set_has_d_wr_s_cnt(HasBits * has_bits)12198   static void set_has_d_wr_s_cnt(HasBits* has_bits) {
12199     (*has_bits)[0] |= 128u;
12200   }
set_has_d_wr_s_peak(HasBits * has_bits)12201   static void set_has_d_wr_s_peak(HasBits* has_bits) {
12202     (*has_bits)[0] |= 512u;
12203   }
set_has_dev(HasBits * has_bits)12204   static void set_has_dev(HasBits* has_bits) {
12205     (*has_bits)[0] |= 256u;
12206   }
set_has_m_rd_avg(HasBits * has_bits)12207   static void set_has_m_rd_avg(HasBits* has_bits) {
12208     (*has_bits)[0] |= 1024u;
12209   }
set_has_m_rd_cnt(HasBits * has_bits)12210   static void set_has_m_rd_cnt(HasBits* has_bits) {
12211     (*has_bits)[0] |= 2048u;
12212   }
set_has_m_rd_peak(HasBits * has_bits)12213   static void set_has_m_rd_peak(HasBits* has_bits) {
12214     (*has_bits)[0] |= 4096u;
12215   }
set_has_m_wr_as_avg(HasBits * has_bits)12216   static void set_has_m_wr_as_avg(HasBits* has_bits) {
12217     (*has_bits)[0] |= 8192u;
12218   }
set_has_m_wr_as_cnt(HasBits * has_bits)12219   static void set_has_m_wr_as_cnt(HasBits* has_bits) {
12220     (*has_bits)[0] |= 16384u;
12221   }
set_has_m_wr_as_peak(HasBits * has_bits)12222   static void set_has_m_wr_as_peak(HasBits* has_bits) {
12223     (*has_bits)[0] |= 32768u;
12224   }
set_has_m_wr_s_avg(HasBits * has_bits)12225   static void set_has_m_wr_s_avg(HasBits* has_bits) {
12226     (*has_bits)[0] |= 65536u;
12227   }
set_has_m_wr_s_cnt(HasBits * has_bits)12228   static void set_has_m_wr_s_cnt(HasBits* has_bits) {
12229     (*has_bits)[0] |= 131072u;
12230   }
set_has_m_wr_s_peak(HasBits * has_bits)12231   static void set_has_m_wr_s_peak(HasBits* has_bits) {
12232     (*has_bits)[0] |= 262144u;
12233   }
set_has_n_rd_avg(HasBits * has_bits)12234   static void set_has_n_rd_avg(HasBits* has_bits) {
12235     (*has_bits)[0] |= 524288u;
12236   }
set_has_n_rd_cnt(HasBits * has_bits)12237   static void set_has_n_rd_cnt(HasBits* has_bits) {
12238     (*has_bits)[0] |= 1048576u;
12239   }
set_has_n_rd_peak(HasBits * has_bits)12240   static void set_has_n_rd_peak(HasBits* has_bits) {
12241     (*has_bits)[0] |= 2097152u;
12242   }
set_has_n_wr_as_avg(HasBits * has_bits)12243   static void set_has_n_wr_as_avg(HasBits* has_bits) {
12244     (*has_bits)[0] |= 4194304u;
12245   }
set_has_n_wr_as_cnt(HasBits * has_bits)12246   static void set_has_n_wr_as_cnt(HasBits* has_bits) {
12247     (*has_bits)[0] |= 8388608u;
12248   }
set_has_n_wr_as_peak(HasBits * has_bits)12249   static void set_has_n_wr_as_peak(HasBits* has_bits) {
12250     (*has_bits)[0] |= 16777216u;
12251   }
set_has_n_wr_s_avg(HasBits * has_bits)12252   static void set_has_n_wr_s_avg(HasBits* has_bits) {
12253     (*has_bits)[0] |= 33554432u;
12254   }
set_has_n_wr_s_cnt(HasBits * has_bits)12255   static void set_has_n_wr_s_cnt(HasBits* has_bits) {
12256     (*has_bits)[0] |= 67108864u;
12257   }
set_has_n_wr_s_peak(HasBits * has_bits)12258   static void set_has_n_wr_s_peak(HasBits* has_bits) {
12259     (*has_bits)[0] |= 134217728u;
12260   }
12261 };
12262 
F2fsIostatLatencyFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)12263 F2fsIostatLatencyFtraceEvent::F2fsIostatLatencyFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
12264                          bool is_message_owned)
12265   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
12266   SharedCtor(arena, is_message_owned);
12267   // @@protoc_insertion_point(arena_constructor:perfetto.protos.F2fsIostatLatencyFtraceEvent)
12268 }
F2fsIostatLatencyFtraceEvent(const F2fsIostatLatencyFtraceEvent & from)12269 F2fsIostatLatencyFtraceEvent::F2fsIostatLatencyFtraceEvent(const F2fsIostatLatencyFtraceEvent& from)
12270   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
12271   F2fsIostatLatencyFtraceEvent* const _this = this; (void)_this;
12272   new (&_impl_) Impl_{
12273       decltype(_impl_._has_bits_){from._impl_._has_bits_}
12274     , /*decltype(_impl_._cached_size_)*/{}
12275     , decltype(_impl_.d_rd_avg_){}
12276     , decltype(_impl_.d_rd_cnt_){}
12277     , decltype(_impl_.d_rd_peak_){}
12278     , decltype(_impl_.d_wr_as_avg_){}
12279     , decltype(_impl_.d_wr_as_cnt_){}
12280     , decltype(_impl_.d_wr_as_peak_){}
12281     , decltype(_impl_.d_wr_s_avg_){}
12282     , decltype(_impl_.d_wr_s_cnt_){}
12283     , decltype(_impl_.dev_){}
12284     , decltype(_impl_.d_wr_s_peak_){}
12285     , decltype(_impl_.m_rd_avg_){}
12286     , decltype(_impl_.m_rd_cnt_){}
12287     , decltype(_impl_.m_rd_peak_){}
12288     , decltype(_impl_.m_wr_as_avg_){}
12289     , decltype(_impl_.m_wr_as_cnt_){}
12290     , decltype(_impl_.m_wr_as_peak_){}
12291     , decltype(_impl_.m_wr_s_avg_){}
12292     , decltype(_impl_.m_wr_s_cnt_){}
12293     , decltype(_impl_.m_wr_s_peak_){}
12294     , decltype(_impl_.n_rd_avg_){}
12295     , decltype(_impl_.n_rd_cnt_){}
12296     , decltype(_impl_.n_rd_peak_){}
12297     , decltype(_impl_.n_wr_as_avg_){}
12298     , decltype(_impl_.n_wr_as_cnt_){}
12299     , decltype(_impl_.n_wr_as_peak_){}
12300     , decltype(_impl_.n_wr_s_avg_){}
12301     , decltype(_impl_.n_wr_s_cnt_){}
12302     , decltype(_impl_.n_wr_s_peak_){}};
12303 
12304   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
12305   ::memcpy(&_impl_.d_rd_avg_, &from._impl_.d_rd_avg_,
12306     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.n_wr_s_peak_) -
12307     reinterpret_cast<char*>(&_impl_.d_rd_avg_)) + sizeof(_impl_.n_wr_s_peak_));
12308   // @@protoc_insertion_point(copy_constructor:perfetto.protos.F2fsIostatLatencyFtraceEvent)
12309 }
12310 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)12311 inline void F2fsIostatLatencyFtraceEvent::SharedCtor(
12312     ::_pb::Arena* arena, bool is_message_owned) {
12313   (void)arena;
12314   (void)is_message_owned;
12315   new (&_impl_) Impl_{
12316       decltype(_impl_._has_bits_){}
12317     , /*decltype(_impl_._cached_size_)*/{}
12318     , decltype(_impl_.d_rd_avg_){0u}
12319     , decltype(_impl_.d_rd_cnt_){0u}
12320     , decltype(_impl_.d_rd_peak_){0u}
12321     , decltype(_impl_.d_wr_as_avg_){0u}
12322     , decltype(_impl_.d_wr_as_cnt_){0u}
12323     , decltype(_impl_.d_wr_as_peak_){0u}
12324     , decltype(_impl_.d_wr_s_avg_){0u}
12325     , decltype(_impl_.d_wr_s_cnt_){0u}
12326     , decltype(_impl_.dev_){::uint64_t{0u}}
12327     , decltype(_impl_.d_wr_s_peak_){0u}
12328     , decltype(_impl_.m_rd_avg_){0u}
12329     , decltype(_impl_.m_rd_cnt_){0u}
12330     , decltype(_impl_.m_rd_peak_){0u}
12331     , decltype(_impl_.m_wr_as_avg_){0u}
12332     , decltype(_impl_.m_wr_as_cnt_){0u}
12333     , decltype(_impl_.m_wr_as_peak_){0u}
12334     , decltype(_impl_.m_wr_s_avg_){0u}
12335     , decltype(_impl_.m_wr_s_cnt_){0u}
12336     , decltype(_impl_.m_wr_s_peak_){0u}
12337     , decltype(_impl_.n_rd_avg_){0u}
12338     , decltype(_impl_.n_rd_cnt_){0u}
12339     , decltype(_impl_.n_rd_peak_){0u}
12340     , decltype(_impl_.n_wr_as_avg_){0u}
12341     , decltype(_impl_.n_wr_as_cnt_){0u}
12342     , decltype(_impl_.n_wr_as_peak_){0u}
12343     , decltype(_impl_.n_wr_s_avg_){0u}
12344     , decltype(_impl_.n_wr_s_cnt_){0u}
12345     , decltype(_impl_.n_wr_s_peak_){0u}
12346   };
12347 }
12348 
~F2fsIostatLatencyFtraceEvent()12349 F2fsIostatLatencyFtraceEvent::~F2fsIostatLatencyFtraceEvent() {
12350   // @@protoc_insertion_point(destructor:perfetto.protos.F2fsIostatLatencyFtraceEvent)
12351   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
12352   (void)arena;
12353     return;
12354   }
12355   SharedDtor();
12356 }
12357 
SharedDtor()12358 inline void F2fsIostatLatencyFtraceEvent::SharedDtor() {
12359   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
12360 }
12361 
SetCachedSize(int size) const12362 void F2fsIostatLatencyFtraceEvent::SetCachedSize(int size) const {
12363   _impl_._cached_size_.Set(size);
12364 }
12365 
Clear()12366 void F2fsIostatLatencyFtraceEvent::Clear() {
12367 // @@protoc_insertion_point(message_clear_start:perfetto.protos.F2fsIostatLatencyFtraceEvent)
12368   ::uint32_t cached_has_bits = 0;
12369   // Prevent compiler warnings about cached_has_bits being unused
12370   (void) cached_has_bits;
12371 
12372   cached_has_bits = _impl_._has_bits_[0];
12373   if (cached_has_bits & 0x000000ffu) {
12374     ::memset(&_impl_.d_rd_avg_, 0, static_cast<size_t>(
12375         reinterpret_cast<char*>(&_impl_.d_wr_s_cnt_) -
12376         reinterpret_cast<char*>(&_impl_.d_rd_avg_)) + sizeof(_impl_.d_wr_s_cnt_));
12377   }
12378   if (cached_has_bits & 0x0000ff00u) {
12379     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
12380         reinterpret_cast<char*>(&_impl_.m_wr_as_peak_) -
12381         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.m_wr_as_peak_));
12382   }
12383   if (cached_has_bits & 0x00ff0000u) {
12384     ::memset(&_impl_.m_wr_s_avg_, 0, static_cast<size_t>(
12385         reinterpret_cast<char*>(&_impl_.n_wr_as_cnt_) -
12386         reinterpret_cast<char*>(&_impl_.m_wr_s_avg_)) + sizeof(_impl_.n_wr_as_cnt_));
12387   }
12388   if (cached_has_bits & 0x0f000000u) {
12389     ::memset(&_impl_.n_wr_as_peak_, 0, static_cast<size_t>(
12390         reinterpret_cast<char*>(&_impl_.n_wr_s_peak_) -
12391         reinterpret_cast<char*>(&_impl_.n_wr_as_peak_)) + sizeof(_impl_.n_wr_s_peak_));
12392   }
12393   _impl_._has_bits_.Clear();
12394   _internal_metadata_.Clear<std::string>();
12395 }
12396 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)12397 const char* F2fsIostatLatencyFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
12398 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
12399   _Internal::HasBits has_bits{};
12400   while (!ctx->Done(&ptr)) {
12401     ::uint32_t tag;
12402     ptr = ::_pbi::ReadTag(ptr, &tag);
12403     switch (tag >> 3) {
12404       // optional uint32 d_rd_avg = 1;
12405       case 1:
12406         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
12407           _Internal::set_has_d_rd_avg(&has_bits);
12408           _impl_.d_rd_avg_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
12409           CHK_(ptr);
12410         } else {
12411           goto handle_unusual;
12412         }
12413         continue;
12414       // optional uint32 d_rd_cnt = 2;
12415       case 2:
12416         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
12417           _Internal::set_has_d_rd_cnt(&has_bits);
12418           _impl_.d_rd_cnt_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
12419           CHK_(ptr);
12420         } else {
12421           goto handle_unusual;
12422         }
12423         continue;
12424       // optional uint32 d_rd_peak = 3;
12425       case 3:
12426         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
12427           _Internal::set_has_d_rd_peak(&has_bits);
12428           _impl_.d_rd_peak_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
12429           CHK_(ptr);
12430         } else {
12431           goto handle_unusual;
12432         }
12433         continue;
12434       // optional uint32 d_wr_as_avg = 4;
12435       case 4:
12436         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
12437           _Internal::set_has_d_wr_as_avg(&has_bits);
12438           _impl_.d_wr_as_avg_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
12439           CHK_(ptr);
12440         } else {
12441           goto handle_unusual;
12442         }
12443         continue;
12444       // optional uint32 d_wr_as_cnt = 5;
12445       case 5:
12446         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) {
12447           _Internal::set_has_d_wr_as_cnt(&has_bits);
12448           _impl_.d_wr_as_cnt_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
12449           CHK_(ptr);
12450         } else {
12451           goto handle_unusual;
12452         }
12453         continue;
12454       // optional uint32 d_wr_as_peak = 6;
12455       case 6:
12456         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 48)) {
12457           _Internal::set_has_d_wr_as_peak(&has_bits);
12458           _impl_.d_wr_as_peak_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
12459           CHK_(ptr);
12460         } else {
12461           goto handle_unusual;
12462         }
12463         continue;
12464       // optional uint32 d_wr_s_avg = 7;
12465       case 7:
12466         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 56)) {
12467           _Internal::set_has_d_wr_s_avg(&has_bits);
12468           _impl_.d_wr_s_avg_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
12469           CHK_(ptr);
12470         } else {
12471           goto handle_unusual;
12472         }
12473         continue;
12474       // optional uint32 d_wr_s_cnt = 8;
12475       case 8:
12476         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 64)) {
12477           _Internal::set_has_d_wr_s_cnt(&has_bits);
12478           _impl_.d_wr_s_cnt_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
12479           CHK_(ptr);
12480         } else {
12481           goto handle_unusual;
12482         }
12483         continue;
12484       // optional uint32 d_wr_s_peak = 9;
12485       case 9:
12486         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 72)) {
12487           _Internal::set_has_d_wr_s_peak(&has_bits);
12488           _impl_.d_wr_s_peak_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
12489           CHK_(ptr);
12490         } else {
12491           goto handle_unusual;
12492         }
12493         continue;
12494       // optional uint64 dev = 10;
12495       case 10:
12496         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 80)) {
12497           _Internal::set_has_dev(&has_bits);
12498           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
12499           CHK_(ptr);
12500         } else {
12501           goto handle_unusual;
12502         }
12503         continue;
12504       // optional uint32 m_rd_avg = 11;
12505       case 11:
12506         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 88)) {
12507           _Internal::set_has_m_rd_avg(&has_bits);
12508           _impl_.m_rd_avg_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
12509           CHK_(ptr);
12510         } else {
12511           goto handle_unusual;
12512         }
12513         continue;
12514       // optional uint32 m_rd_cnt = 12;
12515       case 12:
12516         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 96)) {
12517           _Internal::set_has_m_rd_cnt(&has_bits);
12518           _impl_.m_rd_cnt_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
12519           CHK_(ptr);
12520         } else {
12521           goto handle_unusual;
12522         }
12523         continue;
12524       // optional uint32 m_rd_peak = 13;
12525       case 13:
12526         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 104)) {
12527           _Internal::set_has_m_rd_peak(&has_bits);
12528           _impl_.m_rd_peak_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
12529           CHK_(ptr);
12530         } else {
12531           goto handle_unusual;
12532         }
12533         continue;
12534       // optional uint32 m_wr_as_avg = 14;
12535       case 14:
12536         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 112)) {
12537           _Internal::set_has_m_wr_as_avg(&has_bits);
12538           _impl_.m_wr_as_avg_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
12539           CHK_(ptr);
12540         } else {
12541           goto handle_unusual;
12542         }
12543         continue;
12544       // optional uint32 m_wr_as_cnt = 15;
12545       case 15:
12546         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 120)) {
12547           _Internal::set_has_m_wr_as_cnt(&has_bits);
12548           _impl_.m_wr_as_cnt_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
12549           CHK_(ptr);
12550         } else {
12551           goto handle_unusual;
12552         }
12553         continue;
12554       // optional uint32 m_wr_as_peak = 16;
12555       case 16:
12556         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 128)) {
12557           _Internal::set_has_m_wr_as_peak(&has_bits);
12558           _impl_.m_wr_as_peak_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
12559           CHK_(ptr);
12560         } else {
12561           goto handle_unusual;
12562         }
12563         continue;
12564       // optional uint32 m_wr_s_avg = 17;
12565       case 17:
12566         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 136)) {
12567           _Internal::set_has_m_wr_s_avg(&has_bits);
12568           _impl_.m_wr_s_avg_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
12569           CHK_(ptr);
12570         } else {
12571           goto handle_unusual;
12572         }
12573         continue;
12574       // optional uint32 m_wr_s_cnt = 18;
12575       case 18:
12576         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 144)) {
12577           _Internal::set_has_m_wr_s_cnt(&has_bits);
12578           _impl_.m_wr_s_cnt_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
12579           CHK_(ptr);
12580         } else {
12581           goto handle_unusual;
12582         }
12583         continue;
12584       // optional uint32 m_wr_s_peak = 19;
12585       case 19:
12586         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 152)) {
12587           _Internal::set_has_m_wr_s_peak(&has_bits);
12588           _impl_.m_wr_s_peak_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
12589           CHK_(ptr);
12590         } else {
12591           goto handle_unusual;
12592         }
12593         continue;
12594       // optional uint32 n_rd_avg = 20;
12595       case 20:
12596         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 160)) {
12597           _Internal::set_has_n_rd_avg(&has_bits);
12598           _impl_.n_rd_avg_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
12599           CHK_(ptr);
12600         } else {
12601           goto handle_unusual;
12602         }
12603         continue;
12604       // optional uint32 n_rd_cnt = 21;
12605       case 21:
12606         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 168)) {
12607           _Internal::set_has_n_rd_cnt(&has_bits);
12608           _impl_.n_rd_cnt_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
12609           CHK_(ptr);
12610         } else {
12611           goto handle_unusual;
12612         }
12613         continue;
12614       // optional uint32 n_rd_peak = 22;
12615       case 22:
12616         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 176)) {
12617           _Internal::set_has_n_rd_peak(&has_bits);
12618           _impl_.n_rd_peak_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
12619           CHK_(ptr);
12620         } else {
12621           goto handle_unusual;
12622         }
12623         continue;
12624       // optional uint32 n_wr_as_avg = 23;
12625       case 23:
12626         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 184)) {
12627           _Internal::set_has_n_wr_as_avg(&has_bits);
12628           _impl_.n_wr_as_avg_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
12629           CHK_(ptr);
12630         } else {
12631           goto handle_unusual;
12632         }
12633         continue;
12634       // optional uint32 n_wr_as_cnt = 24;
12635       case 24:
12636         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 192)) {
12637           _Internal::set_has_n_wr_as_cnt(&has_bits);
12638           _impl_.n_wr_as_cnt_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
12639           CHK_(ptr);
12640         } else {
12641           goto handle_unusual;
12642         }
12643         continue;
12644       // optional uint32 n_wr_as_peak = 25;
12645       case 25:
12646         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 200)) {
12647           _Internal::set_has_n_wr_as_peak(&has_bits);
12648           _impl_.n_wr_as_peak_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
12649           CHK_(ptr);
12650         } else {
12651           goto handle_unusual;
12652         }
12653         continue;
12654       // optional uint32 n_wr_s_avg = 26;
12655       case 26:
12656         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 208)) {
12657           _Internal::set_has_n_wr_s_avg(&has_bits);
12658           _impl_.n_wr_s_avg_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
12659           CHK_(ptr);
12660         } else {
12661           goto handle_unusual;
12662         }
12663         continue;
12664       // optional uint32 n_wr_s_cnt = 27;
12665       case 27:
12666         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 216)) {
12667           _Internal::set_has_n_wr_s_cnt(&has_bits);
12668           _impl_.n_wr_s_cnt_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
12669           CHK_(ptr);
12670         } else {
12671           goto handle_unusual;
12672         }
12673         continue;
12674       // optional uint32 n_wr_s_peak = 28;
12675       case 28:
12676         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 224)) {
12677           _Internal::set_has_n_wr_s_peak(&has_bits);
12678           _impl_.n_wr_s_peak_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
12679           CHK_(ptr);
12680         } else {
12681           goto handle_unusual;
12682         }
12683         continue;
12684       default:
12685         goto handle_unusual;
12686     }  // switch
12687   handle_unusual:
12688     if ((tag == 0) || ((tag & 7) == 4)) {
12689       CHK_(ptr);
12690       ctx->SetLastTag(tag);
12691       goto message_done;
12692     }
12693     ptr = UnknownFieldParse(
12694         tag,
12695         _internal_metadata_.mutable_unknown_fields<std::string>(),
12696         ptr, ctx);
12697     CHK_(ptr != nullptr);
12698   }  // while
12699 message_done:
12700   _impl_._has_bits_.Or(has_bits);
12701   return ptr;
12702 failure:
12703   ptr = nullptr;
12704   goto message_done;
12705 #undef CHK_
12706 }
12707 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const12708 ::uint8_t* F2fsIostatLatencyFtraceEvent::_InternalSerialize(
12709     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
12710   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.F2fsIostatLatencyFtraceEvent)
12711   ::uint32_t cached_has_bits = 0;
12712   (void) cached_has_bits;
12713 
12714   cached_has_bits = _impl_._has_bits_[0];
12715   // optional uint32 d_rd_avg = 1;
12716   if (cached_has_bits & 0x00000001u) {
12717     target = stream->EnsureSpace(target);
12718     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_d_rd_avg(), target);
12719   }
12720 
12721   // optional uint32 d_rd_cnt = 2;
12722   if (cached_has_bits & 0x00000002u) {
12723     target = stream->EnsureSpace(target);
12724     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_d_rd_cnt(), target);
12725   }
12726 
12727   // optional uint32 d_rd_peak = 3;
12728   if (cached_has_bits & 0x00000004u) {
12729     target = stream->EnsureSpace(target);
12730     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_d_rd_peak(), target);
12731   }
12732 
12733   // optional uint32 d_wr_as_avg = 4;
12734   if (cached_has_bits & 0x00000008u) {
12735     target = stream->EnsureSpace(target);
12736     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_d_wr_as_avg(), target);
12737   }
12738 
12739   // optional uint32 d_wr_as_cnt = 5;
12740   if (cached_has_bits & 0x00000010u) {
12741     target = stream->EnsureSpace(target);
12742     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_d_wr_as_cnt(), target);
12743   }
12744 
12745   // optional uint32 d_wr_as_peak = 6;
12746   if (cached_has_bits & 0x00000020u) {
12747     target = stream->EnsureSpace(target);
12748     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_d_wr_as_peak(), target);
12749   }
12750 
12751   // optional uint32 d_wr_s_avg = 7;
12752   if (cached_has_bits & 0x00000040u) {
12753     target = stream->EnsureSpace(target);
12754     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(7, this->_internal_d_wr_s_avg(), target);
12755   }
12756 
12757   // optional uint32 d_wr_s_cnt = 8;
12758   if (cached_has_bits & 0x00000080u) {
12759     target = stream->EnsureSpace(target);
12760     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(8, this->_internal_d_wr_s_cnt(), target);
12761   }
12762 
12763   // optional uint32 d_wr_s_peak = 9;
12764   if (cached_has_bits & 0x00000200u) {
12765     target = stream->EnsureSpace(target);
12766     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(9, this->_internal_d_wr_s_peak(), target);
12767   }
12768 
12769   // optional uint64 dev = 10;
12770   if (cached_has_bits & 0x00000100u) {
12771     target = stream->EnsureSpace(target);
12772     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(10, this->_internal_dev(), target);
12773   }
12774 
12775   // optional uint32 m_rd_avg = 11;
12776   if (cached_has_bits & 0x00000400u) {
12777     target = stream->EnsureSpace(target);
12778     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(11, this->_internal_m_rd_avg(), target);
12779   }
12780 
12781   // optional uint32 m_rd_cnt = 12;
12782   if (cached_has_bits & 0x00000800u) {
12783     target = stream->EnsureSpace(target);
12784     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(12, this->_internal_m_rd_cnt(), target);
12785   }
12786 
12787   // optional uint32 m_rd_peak = 13;
12788   if (cached_has_bits & 0x00001000u) {
12789     target = stream->EnsureSpace(target);
12790     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(13, this->_internal_m_rd_peak(), target);
12791   }
12792 
12793   // optional uint32 m_wr_as_avg = 14;
12794   if (cached_has_bits & 0x00002000u) {
12795     target = stream->EnsureSpace(target);
12796     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(14, this->_internal_m_wr_as_avg(), target);
12797   }
12798 
12799   // optional uint32 m_wr_as_cnt = 15;
12800   if (cached_has_bits & 0x00004000u) {
12801     target = stream->EnsureSpace(target);
12802     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(15, this->_internal_m_wr_as_cnt(), target);
12803   }
12804 
12805   // optional uint32 m_wr_as_peak = 16;
12806   if (cached_has_bits & 0x00008000u) {
12807     target = stream->EnsureSpace(target);
12808     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(16, this->_internal_m_wr_as_peak(), target);
12809   }
12810 
12811   // optional uint32 m_wr_s_avg = 17;
12812   if (cached_has_bits & 0x00010000u) {
12813     target = stream->EnsureSpace(target);
12814     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(17, this->_internal_m_wr_s_avg(), target);
12815   }
12816 
12817   // optional uint32 m_wr_s_cnt = 18;
12818   if (cached_has_bits & 0x00020000u) {
12819     target = stream->EnsureSpace(target);
12820     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(18, this->_internal_m_wr_s_cnt(), target);
12821   }
12822 
12823   // optional uint32 m_wr_s_peak = 19;
12824   if (cached_has_bits & 0x00040000u) {
12825     target = stream->EnsureSpace(target);
12826     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(19, this->_internal_m_wr_s_peak(), target);
12827   }
12828 
12829   // optional uint32 n_rd_avg = 20;
12830   if (cached_has_bits & 0x00080000u) {
12831     target = stream->EnsureSpace(target);
12832     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(20, this->_internal_n_rd_avg(), target);
12833   }
12834 
12835   // optional uint32 n_rd_cnt = 21;
12836   if (cached_has_bits & 0x00100000u) {
12837     target = stream->EnsureSpace(target);
12838     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(21, this->_internal_n_rd_cnt(), target);
12839   }
12840 
12841   // optional uint32 n_rd_peak = 22;
12842   if (cached_has_bits & 0x00200000u) {
12843     target = stream->EnsureSpace(target);
12844     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(22, this->_internal_n_rd_peak(), target);
12845   }
12846 
12847   // optional uint32 n_wr_as_avg = 23;
12848   if (cached_has_bits & 0x00400000u) {
12849     target = stream->EnsureSpace(target);
12850     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(23, this->_internal_n_wr_as_avg(), target);
12851   }
12852 
12853   // optional uint32 n_wr_as_cnt = 24;
12854   if (cached_has_bits & 0x00800000u) {
12855     target = stream->EnsureSpace(target);
12856     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(24, this->_internal_n_wr_as_cnt(), target);
12857   }
12858 
12859   // optional uint32 n_wr_as_peak = 25;
12860   if (cached_has_bits & 0x01000000u) {
12861     target = stream->EnsureSpace(target);
12862     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(25, this->_internal_n_wr_as_peak(), target);
12863   }
12864 
12865   // optional uint32 n_wr_s_avg = 26;
12866   if (cached_has_bits & 0x02000000u) {
12867     target = stream->EnsureSpace(target);
12868     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(26, this->_internal_n_wr_s_avg(), target);
12869   }
12870 
12871   // optional uint32 n_wr_s_cnt = 27;
12872   if (cached_has_bits & 0x04000000u) {
12873     target = stream->EnsureSpace(target);
12874     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(27, this->_internal_n_wr_s_cnt(), target);
12875   }
12876 
12877   // optional uint32 n_wr_s_peak = 28;
12878   if (cached_has_bits & 0x08000000u) {
12879     target = stream->EnsureSpace(target);
12880     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(28, this->_internal_n_wr_s_peak(), target);
12881   }
12882 
12883   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
12884     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
12885         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
12886   }
12887   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.F2fsIostatLatencyFtraceEvent)
12888   return target;
12889 }
12890 
ByteSizeLong() const12891 size_t F2fsIostatLatencyFtraceEvent::ByteSizeLong() const {
12892 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.F2fsIostatLatencyFtraceEvent)
12893   size_t total_size = 0;
12894 
12895   ::uint32_t cached_has_bits = 0;
12896   // Prevent compiler warnings about cached_has_bits being unused
12897   (void) cached_has_bits;
12898 
12899   cached_has_bits = _impl_._has_bits_[0];
12900   if (cached_has_bits & 0x000000ffu) {
12901     // optional uint32 d_rd_avg = 1;
12902     if (cached_has_bits & 0x00000001u) {
12903       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_d_rd_avg());
12904     }
12905 
12906     // optional uint32 d_rd_cnt = 2;
12907     if (cached_has_bits & 0x00000002u) {
12908       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_d_rd_cnt());
12909     }
12910 
12911     // optional uint32 d_rd_peak = 3;
12912     if (cached_has_bits & 0x00000004u) {
12913       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_d_rd_peak());
12914     }
12915 
12916     // optional uint32 d_wr_as_avg = 4;
12917     if (cached_has_bits & 0x00000008u) {
12918       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_d_wr_as_avg());
12919     }
12920 
12921     // optional uint32 d_wr_as_cnt = 5;
12922     if (cached_has_bits & 0x00000010u) {
12923       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_d_wr_as_cnt());
12924     }
12925 
12926     // optional uint32 d_wr_as_peak = 6;
12927     if (cached_has_bits & 0x00000020u) {
12928       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_d_wr_as_peak());
12929     }
12930 
12931     // optional uint32 d_wr_s_avg = 7;
12932     if (cached_has_bits & 0x00000040u) {
12933       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_d_wr_s_avg());
12934     }
12935 
12936     // optional uint32 d_wr_s_cnt = 8;
12937     if (cached_has_bits & 0x00000080u) {
12938       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_d_wr_s_cnt());
12939     }
12940 
12941   }
12942   if (cached_has_bits & 0x0000ff00u) {
12943     // optional uint64 dev = 10;
12944     if (cached_has_bits & 0x00000100u) {
12945       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
12946     }
12947 
12948     // optional uint32 d_wr_s_peak = 9;
12949     if (cached_has_bits & 0x00000200u) {
12950       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_d_wr_s_peak());
12951     }
12952 
12953     // optional uint32 m_rd_avg = 11;
12954     if (cached_has_bits & 0x00000400u) {
12955       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_m_rd_avg());
12956     }
12957 
12958     // optional uint32 m_rd_cnt = 12;
12959     if (cached_has_bits & 0x00000800u) {
12960       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_m_rd_cnt());
12961     }
12962 
12963     // optional uint32 m_rd_peak = 13;
12964     if (cached_has_bits & 0x00001000u) {
12965       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_m_rd_peak());
12966     }
12967 
12968     // optional uint32 m_wr_as_avg = 14;
12969     if (cached_has_bits & 0x00002000u) {
12970       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_m_wr_as_avg());
12971     }
12972 
12973     // optional uint32 m_wr_as_cnt = 15;
12974     if (cached_has_bits & 0x00004000u) {
12975       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_m_wr_as_cnt());
12976     }
12977 
12978     // optional uint32 m_wr_as_peak = 16;
12979     if (cached_has_bits & 0x00008000u) {
12980       total_size += 2 +
12981         ::_pbi::WireFormatLite::UInt32Size(
12982           this->_internal_m_wr_as_peak());
12983     }
12984 
12985   }
12986   if (cached_has_bits & 0x00ff0000u) {
12987     // optional uint32 m_wr_s_avg = 17;
12988     if (cached_has_bits & 0x00010000u) {
12989       total_size += 2 +
12990         ::_pbi::WireFormatLite::UInt32Size(
12991           this->_internal_m_wr_s_avg());
12992     }
12993 
12994     // optional uint32 m_wr_s_cnt = 18;
12995     if (cached_has_bits & 0x00020000u) {
12996       total_size += 2 +
12997         ::_pbi::WireFormatLite::UInt32Size(
12998           this->_internal_m_wr_s_cnt());
12999     }
13000 
13001     // optional uint32 m_wr_s_peak = 19;
13002     if (cached_has_bits & 0x00040000u) {
13003       total_size += 2 +
13004         ::_pbi::WireFormatLite::UInt32Size(
13005           this->_internal_m_wr_s_peak());
13006     }
13007 
13008     // optional uint32 n_rd_avg = 20;
13009     if (cached_has_bits & 0x00080000u) {
13010       total_size += 2 +
13011         ::_pbi::WireFormatLite::UInt32Size(
13012           this->_internal_n_rd_avg());
13013     }
13014 
13015     // optional uint32 n_rd_cnt = 21;
13016     if (cached_has_bits & 0x00100000u) {
13017       total_size += 2 +
13018         ::_pbi::WireFormatLite::UInt32Size(
13019           this->_internal_n_rd_cnt());
13020     }
13021 
13022     // optional uint32 n_rd_peak = 22;
13023     if (cached_has_bits & 0x00200000u) {
13024       total_size += 2 +
13025         ::_pbi::WireFormatLite::UInt32Size(
13026           this->_internal_n_rd_peak());
13027     }
13028 
13029     // optional uint32 n_wr_as_avg = 23;
13030     if (cached_has_bits & 0x00400000u) {
13031       total_size += 2 +
13032         ::_pbi::WireFormatLite::UInt32Size(
13033           this->_internal_n_wr_as_avg());
13034     }
13035 
13036     // optional uint32 n_wr_as_cnt = 24;
13037     if (cached_has_bits & 0x00800000u) {
13038       total_size += 2 +
13039         ::_pbi::WireFormatLite::UInt32Size(
13040           this->_internal_n_wr_as_cnt());
13041     }
13042 
13043   }
13044   if (cached_has_bits & 0x0f000000u) {
13045     // optional uint32 n_wr_as_peak = 25;
13046     if (cached_has_bits & 0x01000000u) {
13047       total_size += 2 +
13048         ::_pbi::WireFormatLite::UInt32Size(
13049           this->_internal_n_wr_as_peak());
13050     }
13051 
13052     // optional uint32 n_wr_s_avg = 26;
13053     if (cached_has_bits & 0x02000000u) {
13054       total_size += 2 +
13055         ::_pbi::WireFormatLite::UInt32Size(
13056           this->_internal_n_wr_s_avg());
13057     }
13058 
13059     // optional uint32 n_wr_s_cnt = 27;
13060     if (cached_has_bits & 0x04000000u) {
13061       total_size += 2 +
13062         ::_pbi::WireFormatLite::UInt32Size(
13063           this->_internal_n_wr_s_cnt());
13064     }
13065 
13066     // optional uint32 n_wr_s_peak = 28;
13067     if (cached_has_bits & 0x08000000u) {
13068       total_size += 2 +
13069         ::_pbi::WireFormatLite::UInt32Size(
13070           this->_internal_n_wr_s_peak());
13071     }
13072 
13073   }
13074   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
13075     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
13076   }
13077   int cached_size = ::_pbi::ToCachedSize(total_size);
13078   SetCachedSize(cached_size);
13079   return total_size;
13080 }
13081 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)13082 void F2fsIostatLatencyFtraceEvent::CheckTypeAndMergeFrom(
13083     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
13084   MergeFrom(*::_pbi::DownCast<const F2fsIostatLatencyFtraceEvent*>(
13085       &from));
13086 }
13087 
MergeFrom(const F2fsIostatLatencyFtraceEvent & from)13088 void F2fsIostatLatencyFtraceEvent::MergeFrom(const F2fsIostatLatencyFtraceEvent& from) {
13089   F2fsIostatLatencyFtraceEvent* const _this = this;
13090   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.F2fsIostatLatencyFtraceEvent)
13091   GOOGLE_DCHECK_NE(&from, _this);
13092   ::uint32_t cached_has_bits = 0;
13093   (void) cached_has_bits;
13094 
13095   cached_has_bits = from._impl_._has_bits_[0];
13096   if (cached_has_bits & 0x000000ffu) {
13097     if (cached_has_bits & 0x00000001u) {
13098       _this->_impl_.d_rd_avg_ = from._impl_.d_rd_avg_;
13099     }
13100     if (cached_has_bits & 0x00000002u) {
13101       _this->_impl_.d_rd_cnt_ = from._impl_.d_rd_cnt_;
13102     }
13103     if (cached_has_bits & 0x00000004u) {
13104       _this->_impl_.d_rd_peak_ = from._impl_.d_rd_peak_;
13105     }
13106     if (cached_has_bits & 0x00000008u) {
13107       _this->_impl_.d_wr_as_avg_ = from._impl_.d_wr_as_avg_;
13108     }
13109     if (cached_has_bits & 0x00000010u) {
13110       _this->_impl_.d_wr_as_cnt_ = from._impl_.d_wr_as_cnt_;
13111     }
13112     if (cached_has_bits & 0x00000020u) {
13113       _this->_impl_.d_wr_as_peak_ = from._impl_.d_wr_as_peak_;
13114     }
13115     if (cached_has_bits & 0x00000040u) {
13116       _this->_impl_.d_wr_s_avg_ = from._impl_.d_wr_s_avg_;
13117     }
13118     if (cached_has_bits & 0x00000080u) {
13119       _this->_impl_.d_wr_s_cnt_ = from._impl_.d_wr_s_cnt_;
13120     }
13121     _this->_impl_._has_bits_[0] |= cached_has_bits;
13122   }
13123   if (cached_has_bits & 0x0000ff00u) {
13124     if (cached_has_bits & 0x00000100u) {
13125       _this->_impl_.dev_ = from._impl_.dev_;
13126     }
13127     if (cached_has_bits & 0x00000200u) {
13128       _this->_impl_.d_wr_s_peak_ = from._impl_.d_wr_s_peak_;
13129     }
13130     if (cached_has_bits & 0x00000400u) {
13131       _this->_impl_.m_rd_avg_ = from._impl_.m_rd_avg_;
13132     }
13133     if (cached_has_bits & 0x00000800u) {
13134       _this->_impl_.m_rd_cnt_ = from._impl_.m_rd_cnt_;
13135     }
13136     if (cached_has_bits & 0x00001000u) {
13137       _this->_impl_.m_rd_peak_ = from._impl_.m_rd_peak_;
13138     }
13139     if (cached_has_bits & 0x00002000u) {
13140       _this->_impl_.m_wr_as_avg_ = from._impl_.m_wr_as_avg_;
13141     }
13142     if (cached_has_bits & 0x00004000u) {
13143       _this->_impl_.m_wr_as_cnt_ = from._impl_.m_wr_as_cnt_;
13144     }
13145     if (cached_has_bits & 0x00008000u) {
13146       _this->_impl_.m_wr_as_peak_ = from._impl_.m_wr_as_peak_;
13147     }
13148     _this->_impl_._has_bits_[0] |= cached_has_bits;
13149   }
13150   if (cached_has_bits & 0x00ff0000u) {
13151     if (cached_has_bits & 0x00010000u) {
13152       _this->_impl_.m_wr_s_avg_ = from._impl_.m_wr_s_avg_;
13153     }
13154     if (cached_has_bits & 0x00020000u) {
13155       _this->_impl_.m_wr_s_cnt_ = from._impl_.m_wr_s_cnt_;
13156     }
13157     if (cached_has_bits & 0x00040000u) {
13158       _this->_impl_.m_wr_s_peak_ = from._impl_.m_wr_s_peak_;
13159     }
13160     if (cached_has_bits & 0x00080000u) {
13161       _this->_impl_.n_rd_avg_ = from._impl_.n_rd_avg_;
13162     }
13163     if (cached_has_bits & 0x00100000u) {
13164       _this->_impl_.n_rd_cnt_ = from._impl_.n_rd_cnt_;
13165     }
13166     if (cached_has_bits & 0x00200000u) {
13167       _this->_impl_.n_rd_peak_ = from._impl_.n_rd_peak_;
13168     }
13169     if (cached_has_bits & 0x00400000u) {
13170       _this->_impl_.n_wr_as_avg_ = from._impl_.n_wr_as_avg_;
13171     }
13172     if (cached_has_bits & 0x00800000u) {
13173       _this->_impl_.n_wr_as_cnt_ = from._impl_.n_wr_as_cnt_;
13174     }
13175     _this->_impl_._has_bits_[0] |= cached_has_bits;
13176   }
13177   if (cached_has_bits & 0x0f000000u) {
13178     if (cached_has_bits & 0x01000000u) {
13179       _this->_impl_.n_wr_as_peak_ = from._impl_.n_wr_as_peak_;
13180     }
13181     if (cached_has_bits & 0x02000000u) {
13182       _this->_impl_.n_wr_s_avg_ = from._impl_.n_wr_s_avg_;
13183     }
13184     if (cached_has_bits & 0x04000000u) {
13185       _this->_impl_.n_wr_s_cnt_ = from._impl_.n_wr_s_cnt_;
13186     }
13187     if (cached_has_bits & 0x08000000u) {
13188       _this->_impl_.n_wr_s_peak_ = from._impl_.n_wr_s_peak_;
13189     }
13190     _this->_impl_._has_bits_[0] |= cached_has_bits;
13191   }
13192   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
13193 }
13194 
CopyFrom(const F2fsIostatLatencyFtraceEvent & from)13195 void F2fsIostatLatencyFtraceEvent::CopyFrom(const F2fsIostatLatencyFtraceEvent& from) {
13196 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.F2fsIostatLatencyFtraceEvent)
13197   if (&from == this) return;
13198   Clear();
13199   MergeFrom(from);
13200 }
13201 
IsInitialized() const13202 bool F2fsIostatLatencyFtraceEvent::IsInitialized() const {
13203   return true;
13204 }
13205 
InternalSwap(F2fsIostatLatencyFtraceEvent * other)13206 void F2fsIostatLatencyFtraceEvent::InternalSwap(F2fsIostatLatencyFtraceEvent* other) {
13207   using std::swap;
13208   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
13209   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
13210   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
13211       PROTOBUF_FIELD_OFFSET(F2fsIostatLatencyFtraceEvent, _impl_.n_wr_s_peak_)
13212       + sizeof(F2fsIostatLatencyFtraceEvent::_impl_.n_wr_s_peak_)  // NOLINT
13213       - PROTOBUF_FIELD_OFFSET(F2fsIostatLatencyFtraceEvent, _impl_.d_rd_avg_)>(
13214           reinterpret_cast<char*>(&_impl_.d_rd_avg_),
13215           reinterpret_cast<char*>(&other->_impl_.d_rd_avg_));
13216 }
13217 
GetTypeName() const13218 std::string F2fsIostatLatencyFtraceEvent::GetTypeName() const {
13219   return "perfetto.protos.F2fsIostatLatencyFtraceEvent";
13220 }
13221 
13222 
13223 // ===================================================================
13224 
13225 class F2fsBackgroundGcFtraceEvent::_Internal {
13226  public:
13227   using HasBits = decltype(std::declval<F2fsBackgroundGcFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)13228   static void set_has_dev(HasBits* has_bits) {
13229     (*has_bits)[0] |= 1u;
13230   }
set_has_wait_ms(HasBits * has_bits)13231   static void set_has_wait_ms(HasBits* has_bits) {
13232     (*has_bits)[0] |= 2u;
13233   }
set_has_prefree(HasBits * has_bits)13234   static void set_has_prefree(HasBits* has_bits) {
13235     (*has_bits)[0] |= 4u;
13236   }
set_has_free(HasBits * has_bits)13237   static void set_has_free(HasBits* has_bits) {
13238     (*has_bits)[0] |= 8u;
13239   }
13240 };
13241 
F2fsBackgroundGcFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)13242 F2fsBackgroundGcFtraceEvent::F2fsBackgroundGcFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
13243                          bool is_message_owned)
13244   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
13245   SharedCtor(arena, is_message_owned);
13246   // @@protoc_insertion_point(arena_constructor:perfetto.protos.F2fsBackgroundGcFtraceEvent)
13247 }
F2fsBackgroundGcFtraceEvent(const F2fsBackgroundGcFtraceEvent & from)13248 F2fsBackgroundGcFtraceEvent::F2fsBackgroundGcFtraceEvent(const F2fsBackgroundGcFtraceEvent& from)
13249   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
13250   F2fsBackgroundGcFtraceEvent* const _this = this; (void)_this;
13251   new (&_impl_) Impl_{
13252       decltype(_impl_._has_bits_){from._impl_._has_bits_}
13253     , /*decltype(_impl_._cached_size_)*/{}
13254     , decltype(_impl_.dev_){}
13255     , decltype(_impl_.wait_ms_){}
13256     , decltype(_impl_.prefree_){}
13257     , decltype(_impl_.free_){}};
13258 
13259   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
13260   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
13261     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.free_) -
13262     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.free_));
13263   // @@protoc_insertion_point(copy_constructor:perfetto.protos.F2fsBackgroundGcFtraceEvent)
13264 }
13265 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)13266 inline void F2fsBackgroundGcFtraceEvent::SharedCtor(
13267     ::_pb::Arena* arena, bool is_message_owned) {
13268   (void)arena;
13269   (void)is_message_owned;
13270   new (&_impl_) Impl_{
13271       decltype(_impl_._has_bits_){}
13272     , /*decltype(_impl_._cached_size_)*/{}
13273     , decltype(_impl_.dev_){::uint64_t{0u}}
13274     , decltype(_impl_.wait_ms_){0u}
13275     , decltype(_impl_.prefree_){0u}
13276     , decltype(_impl_.free_){0u}
13277   };
13278 }
13279 
~F2fsBackgroundGcFtraceEvent()13280 F2fsBackgroundGcFtraceEvent::~F2fsBackgroundGcFtraceEvent() {
13281   // @@protoc_insertion_point(destructor:perfetto.protos.F2fsBackgroundGcFtraceEvent)
13282   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
13283   (void)arena;
13284     return;
13285   }
13286   SharedDtor();
13287 }
13288 
SharedDtor()13289 inline void F2fsBackgroundGcFtraceEvent::SharedDtor() {
13290   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
13291 }
13292 
SetCachedSize(int size) const13293 void F2fsBackgroundGcFtraceEvent::SetCachedSize(int size) const {
13294   _impl_._cached_size_.Set(size);
13295 }
13296 
Clear()13297 void F2fsBackgroundGcFtraceEvent::Clear() {
13298 // @@protoc_insertion_point(message_clear_start:perfetto.protos.F2fsBackgroundGcFtraceEvent)
13299   ::uint32_t cached_has_bits = 0;
13300   // Prevent compiler warnings about cached_has_bits being unused
13301   (void) cached_has_bits;
13302 
13303   cached_has_bits = _impl_._has_bits_[0];
13304   if (cached_has_bits & 0x0000000fu) {
13305     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
13306         reinterpret_cast<char*>(&_impl_.free_) -
13307         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.free_));
13308   }
13309   _impl_._has_bits_.Clear();
13310   _internal_metadata_.Clear<std::string>();
13311 }
13312 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)13313 const char* F2fsBackgroundGcFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
13314 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
13315   _Internal::HasBits has_bits{};
13316   while (!ctx->Done(&ptr)) {
13317     ::uint32_t tag;
13318     ptr = ::_pbi::ReadTag(ptr, &tag);
13319     switch (tag >> 3) {
13320       // optional uint64 dev = 1;
13321       case 1:
13322         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
13323           _Internal::set_has_dev(&has_bits);
13324           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
13325           CHK_(ptr);
13326         } else {
13327           goto handle_unusual;
13328         }
13329         continue;
13330       // optional uint32 wait_ms = 2;
13331       case 2:
13332         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
13333           _Internal::set_has_wait_ms(&has_bits);
13334           _impl_.wait_ms_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
13335           CHK_(ptr);
13336         } else {
13337           goto handle_unusual;
13338         }
13339         continue;
13340       // optional uint32 prefree = 3;
13341       case 3:
13342         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
13343           _Internal::set_has_prefree(&has_bits);
13344           _impl_.prefree_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
13345           CHK_(ptr);
13346         } else {
13347           goto handle_unusual;
13348         }
13349         continue;
13350       // optional uint32 free = 4;
13351       case 4:
13352         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
13353           _Internal::set_has_free(&has_bits);
13354           _impl_.free_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
13355           CHK_(ptr);
13356         } else {
13357           goto handle_unusual;
13358         }
13359         continue;
13360       default:
13361         goto handle_unusual;
13362     }  // switch
13363   handle_unusual:
13364     if ((tag == 0) || ((tag & 7) == 4)) {
13365       CHK_(ptr);
13366       ctx->SetLastTag(tag);
13367       goto message_done;
13368     }
13369     ptr = UnknownFieldParse(
13370         tag,
13371         _internal_metadata_.mutable_unknown_fields<std::string>(),
13372         ptr, ctx);
13373     CHK_(ptr != nullptr);
13374   }  // while
13375 message_done:
13376   _impl_._has_bits_.Or(has_bits);
13377   return ptr;
13378 failure:
13379   ptr = nullptr;
13380   goto message_done;
13381 #undef CHK_
13382 }
13383 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const13384 ::uint8_t* F2fsBackgroundGcFtraceEvent::_InternalSerialize(
13385     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
13386   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.F2fsBackgroundGcFtraceEvent)
13387   ::uint32_t cached_has_bits = 0;
13388   (void) cached_has_bits;
13389 
13390   cached_has_bits = _impl_._has_bits_[0];
13391   // optional uint64 dev = 1;
13392   if (cached_has_bits & 0x00000001u) {
13393     target = stream->EnsureSpace(target);
13394     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
13395   }
13396 
13397   // optional uint32 wait_ms = 2;
13398   if (cached_has_bits & 0x00000002u) {
13399     target = stream->EnsureSpace(target);
13400     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_wait_ms(), target);
13401   }
13402 
13403   // optional uint32 prefree = 3;
13404   if (cached_has_bits & 0x00000004u) {
13405     target = stream->EnsureSpace(target);
13406     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_prefree(), target);
13407   }
13408 
13409   // optional uint32 free = 4;
13410   if (cached_has_bits & 0x00000008u) {
13411     target = stream->EnsureSpace(target);
13412     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_free(), target);
13413   }
13414 
13415   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
13416     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
13417         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
13418   }
13419   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.F2fsBackgroundGcFtraceEvent)
13420   return target;
13421 }
13422 
ByteSizeLong() const13423 size_t F2fsBackgroundGcFtraceEvent::ByteSizeLong() const {
13424 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.F2fsBackgroundGcFtraceEvent)
13425   size_t total_size = 0;
13426 
13427   ::uint32_t cached_has_bits = 0;
13428   // Prevent compiler warnings about cached_has_bits being unused
13429   (void) cached_has_bits;
13430 
13431   cached_has_bits = _impl_._has_bits_[0];
13432   if (cached_has_bits & 0x0000000fu) {
13433     // optional uint64 dev = 1;
13434     if (cached_has_bits & 0x00000001u) {
13435       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
13436     }
13437 
13438     // optional uint32 wait_ms = 2;
13439     if (cached_has_bits & 0x00000002u) {
13440       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_wait_ms());
13441     }
13442 
13443     // optional uint32 prefree = 3;
13444     if (cached_has_bits & 0x00000004u) {
13445       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_prefree());
13446     }
13447 
13448     // optional uint32 free = 4;
13449     if (cached_has_bits & 0x00000008u) {
13450       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_free());
13451     }
13452 
13453   }
13454   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
13455     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
13456   }
13457   int cached_size = ::_pbi::ToCachedSize(total_size);
13458   SetCachedSize(cached_size);
13459   return total_size;
13460 }
13461 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)13462 void F2fsBackgroundGcFtraceEvent::CheckTypeAndMergeFrom(
13463     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
13464   MergeFrom(*::_pbi::DownCast<const F2fsBackgroundGcFtraceEvent*>(
13465       &from));
13466 }
13467 
MergeFrom(const F2fsBackgroundGcFtraceEvent & from)13468 void F2fsBackgroundGcFtraceEvent::MergeFrom(const F2fsBackgroundGcFtraceEvent& from) {
13469   F2fsBackgroundGcFtraceEvent* const _this = this;
13470   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.F2fsBackgroundGcFtraceEvent)
13471   GOOGLE_DCHECK_NE(&from, _this);
13472   ::uint32_t cached_has_bits = 0;
13473   (void) cached_has_bits;
13474 
13475   cached_has_bits = from._impl_._has_bits_[0];
13476   if (cached_has_bits & 0x0000000fu) {
13477     if (cached_has_bits & 0x00000001u) {
13478       _this->_impl_.dev_ = from._impl_.dev_;
13479     }
13480     if (cached_has_bits & 0x00000002u) {
13481       _this->_impl_.wait_ms_ = from._impl_.wait_ms_;
13482     }
13483     if (cached_has_bits & 0x00000004u) {
13484       _this->_impl_.prefree_ = from._impl_.prefree_;
13485     }
13486     if (cached_has_bits & 0x00000008u) {
13487       _this->_impl_.free_ = from._impl_.free_;
13488     }
13489     _this->_impl_._has_bits_[0] |= cached_has_bits;
13490   }
13491   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
13492 }
13493 
CopyFrom(const F2fsBackgroundGcFtraceEvent & from)13494 void F2fsBackgroundGcFtraceEvent::CopyFrom(const F2fsBackgroundGcFtraceEvent& from) {
13495 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.F2fsBackgroundGcFtraceEvent)
13496   if (&from == this) return;
13497   Clear();
13498   MergeFrom(from);
13499 }
13500 
IsInitialized() const13501 bool F2fsBackgroundGcFtraceEvent::IsInitialized() const {
13502   return true;
13503 }
13504 
InternalSwap(F2fsBackgroundGcFtraceEvent * other)13505 void F2fsBackgroundGcFtraceEvent::InternalSwap(F2fsBackgroundGcFtraceEvent* other) {
13506   using std::swap;
13507   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
13508   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
13509   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
13510       PROTOBUF_FIELD_OFFSET(F2fsBackgroundGcFtraceEvent, _impl_.free_)
13511       + sizeof(F2fsBackgroundGcFtraceEvent::_impl_.free_)  // NOLINT
13512       - PROTOBUF_FIELD_OFFSET(F2fsBackgroundGcFtraceEvent, _impl_.dev_)>(
13513           reinterpret_cast<char*>(&_impl_.dev_),
13514           reinterpret_cast<char*>(&other->_impl_.dev_));
13515 }
13516 
GetTypeName() const13517 std::string F2fsBackgroundGcFtraceEvent::GetTypeName() const {
13518   return "perfetto.protos.F2fsBackgroundGcFtraceEvent";
13519 }
13520 
13521 
13522 // ===================================================================
13523 
13524 class F2fsGcBeginFtraceEvent::_Internal {
13525  public:
13526   using HasBits = decltype(std::declval<F2fsGcBeginFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)13527   static void set_has_dev(HasBits* has_bits) {
13528     (*has_bits)[0] |= 1u;
13529   }
set_has_sync(HasBits * has_bits)13530   static void set_has_sync(HasBits* has_bits) {
13531     (*has_bits)[0] |= 2u;
13532   }
set_has_background(HasBits * has_bits)13533   static void set_has_background(HasBits* has_bits) {
13534     (*has_bits)[0] |= 4u;
13535   }
set_has_dirty_nodes(HasBits * has_bits)13536   static void set_has_dirty_nodes(HasBits* has_bits) {
13537     (*has_bits)[0] |= 8u;
13538   }
set_has_dirty_dents(HasBits * has_bits)13539   static void set_has_dirty_dents(HasBits* has_bits) {
13540     (*has_bits)[0] |= 16u;
13541   }
set_has_dirty_imeta(HasBits * has_bits)13542   static void set_has_dirty_imeta(HasBits* has_bits) {
13543     (*has_bits)[0] |= 32u;
13544   }
set_has_free_sec(HasBits * has_bits)13545   static void set_has_free_sec(HasBits* has_bits) {
13546     (*has_bits)[0] |= 64u;
13547   }
set_has_free_seg(HasBits * has_bits)13548   static void set_has_free_seg(HasBits* has_bits) {
13549     (*has_bits)[0] |= 128u;
13550   }
set_has_reserved_seg(HasBits * has_bits)13551   static void set_has_reserved_seg(HasBits* has_bits) {
13552     (*has_bits)[0] |= 256u;
13553   }
set_has_prefree_seg(HasBits * has_bits)13554   static void set_has_prefree_seg(HasBits* has_bits) {
13555     (*has_bits)[0] |= 512u;
13556   }
set_has_gc_type(HasBits * has_bits)13557   static void set_has_gc_type(HasBits* has_bits) {
13558     (*has_bits)[0] |= 1024u;
13559   }
set_has_no_bg_gc(HasBits * has_bits)13560   static void set_has_no_bg_gc(HasBits* has_bits) {
13561     (*has_bits)[0] |= 2048u;
13562   }
set_has_nr_free_secs(HasBits * has_bits)13563   static void set_has_nr_free_secs(HasBits* has_bits) {
13564     (*has_bits)[0] |= 4096u;
13565   }
13566 };
13567 
F2fsGcBeginFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)13568 F2fsGcBeginFtraceEvent::F2fsGcBeginFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
13569                          bool is_message_owned)
13570   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
13571   SharedCtor(arena, is_message_owned);
13572   // @@protoc_insertion_point(arena_constructor:perfetto.protos.F2fsGcBeginFtraceEvent)
13573 }
F2fsGcBeginFtraceEvent(const F2fsGcBeginFtraceEvent & from)13574 F2fsGcBeginFtraceEvent::F2fsGcBeginFtraceEvent(const F2fsGcBeginFtraceEvent& from)
13575   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
13576   F2fsGcBeginFtraceEvent* const _this = this; (void)_this;
13577   new (&_impl_) Impl_{
13578       decltype(_impl_._has_bits_){from._impl_._has_bits_}
13579     , /*decltype(_impl_._cached_size_)*/{}
13580     , decltype(_impl_.dev_){}
13581     , decltype(_impl_.sync_){}
13582     , decltype(_impl_.background_){}
13583     , decltype(_impl_.dirty_nodes_){}
13584     , decltype(_impl_.dirty_dents_){}
13585     , decltype(_impl_.dirty_imeta_){}
13586     , decltype(_impl_.free_sec_){}
13587     , decltype(_impl_.free_seg_){}
13588     , decltype(_impl_.reserved_seg_){}
13589     , decltype(_impl_.prefree_seg_){}
13590     , decltype(_impl_.gc_type_){}
13591     , decltype(_impl_.no_bg_gc_){}
13592     , decltype(_impl_.nr_free_secs_){}};
13593 
13594   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
13595   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
13596     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.nr_free_secs_) -
13597     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.nr_free_secs_));
13598   // @@protoc_insertion_point(copy_constructor:perfetto.protos.F2fsGcBeginFtraceEvent)
13599 }
13600 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)13601 inline void F2fsGcBeginFtraceEvent::SharedCtor(
13602     ::_pb::Arena* arena, bool is_message_owned) {
13603   (void)arena;
13604   (void)is_message_owned;
13605   new (&_impl_) Impl_{
13606       decltype(_impl_._has_bits_){}
13607     , /*decltype(_impl_._cached_size_)*/{}
13608     , decltype(_impl_.dev_){::uint64_t{0u}}
13609     , decltype(_impl_.sync_){0u}
13610     , decltype(_impl_.background_){0u}
13611     , decltype(_impl_.dirty_nodes_){::int64_t{0}}
13612     , decltype(_impl_.dirty_dents_){::int64_t{0}}
13613     , decltype(_impl_.dirty_imeta_){::int64_t{0}}
13614     , decltype(_impl_.free_sec_){0u}
13615     , decltype(_impl_.free_seg_){0u}
13616     , decltype(_impl_.reserved_seg_){0}
13617     , decltype(_impl_.prefree_seg_){0u}
13618     , decltype(_impl_.gc_type_){0}
13619     , decltype(_impl_.no_bg_gc_){0u}
13620     , decltype(_impl_.nr_free_secs_){0u}
13621   };
13622 }
13623 
~F2fsGcBeginFtraceEvent()13624 F2fsGcBeginFtraceEvent::~F2fsGcBeginFtraceEvent() {
13625   // @@protoc_insertion_point(destructor:perfetto.protos.F2fsGcBeginFtraceEvent)
13626   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
13627   (void)arena;
13628     return;
13629   }
13630   SharedDtor();
13631 }
13632 
SharedDtor()13633 inline void F2fsGcBeginFtraceEvent::SharedDtor() {
13634   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
13635 }
13636 
SetCachedSize(int size) const13637 void F2fsGcBeginFtraceEvent::SetCachedSize(int size) const {
13638   _impl_._cached_size_.Set(size);
13639 }
13640 
Clear()13641 void F2fsGcBeginFtraceEvent::Clear() {
13642 // @@protoc_insertion_point(message_clear_start:perfetto.protos.F2fsGcBeginFtraceEvent)
13643   ::uint32_t cached_has_bits = 0;
13644   // Prevent compiler warnings about cached_has_bits being unused
13645   (void) cached_has_bits;
13646 
13647   cached_has_bits = _impl_._has_bits_[0];
13648   if (cached_has_bits & 0x000000ffu) {
13649     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
13650         reinterpret_cast<char*>(&_impl_.free_seg_) -
13651         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.free_seg_));
13652   }
13653   if (cached_has_bits & 0x00001f00u) {
13654     ::memset(&_impl_.reserved_seg_, 0, static_cast<size_t>(
13655         reinterpret_cast<char*>(&_impl_.nr_free_secs_) -
13656         reinterpret_cast<char*>(&_impl_.reserved_seg_)) + sizeof(_impl_.nr_free_secs_));
13657   }
13658   _impl_._has_bits_.Clear();
13659   _internal_metadata_.Clear<std::string>();
13660 }
13661 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)13662 const char* F2fsGcBeginFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
13663 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
13664   _Internal::HasBits has_bits{};
13665   while (!ctx->Done(&ptr)) {
13666     ::uint32_t tag;
13667     ptr = ::_pbi::ReadTag(ptr, &tag);
13668     switch (tag >> 3) {
13669       // optional uint64 dev = 1;
13670       case 1:
13671         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
13672           _Internal::set_has_dev(&has_bits);
13673           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
13674           CHK_(ptr);
13675         } else {
13676           goto handle_unusual;
13677         }
13678         continue;
13679       // optional uint32 sync = 2;
13680       case 2:
13681         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
13682           _Internal::set_has_sync(&has_bits);
13683           _impl_.sync_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
13684           CHK_(ptr);
13685         } else {
13686           goto handle_unusual;
13687         }
13688         continue;
13689       // optional uint32 background = 3;
13690       case 3:
13691         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
13692           _Internal::set_has_background(&has_bits);
13693           _impl_.background_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
13694           CHK_(ptr);
13695         } else {
13696           goto handle_unusual;
13697         }
13698         continue;
13699       // optional int64 dirty_nodes = 4;
13700       case 4:
13701         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
13702           _Internal::set_has_dirty_nodes(&has_bits);
13703           _impl_.dirty_nodes_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
13704           CHK_(ptr);
13705         } else {
13706           goto handle_unusual;
13707         }
13708         continue;
13709       // optional int64 dirty_dents = 5;
13710       case 5:
13711         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) {
13712           _Internal::set_has_dirty_dents(&has_bits);
13713           _impl_.dirty_dents_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
13714           CHK_(ptr);
13715         } else {
13716           goto handle_unusual;
13717         }
13718         continue;
13719       // optional int64 dirty_imeta = 6;
13720       case 6:
13721         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 48)) {
13722           _Internal::set_has_dirty_imeta(&has_bits);
13723           _impl_.dirty_imeta_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
13724           CHK_(ptr);
13725         } else {
13726           goto handle_unusual;
13727         }
13728         continue;
13729       // optional uint32 free_sec = 7;
13730       case 7:
13731         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 56)) {
13732           _Internal::set_has_free_sec(&has_bits);
13733           _impl_.free_sec_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
13734           CHK_(ptr);
13735         } else {
13736           goto handle_unusual;
13737         }
13738         continue;
13739       // optional uint32 free_seg = 8;
13740       case 8:
13741         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 64)) {
13742           _Internal::set_has_free_seg(&has_bits);
13743           _impl_.free_seg_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
13744           CHK_(ptr);
13745         } else {
13746           goto handle_unusual;
13747         }
13748         continue;
13749       // optional int32 reserved_seg = 9;
13750       case 9:
13751         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 72)) {
13752           _Internal::set_has_reserved_seg(&has_bits);
13753           _impl_.reserved_seg_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
13754           CHK_(ptr);
13755         } else {
13756           goto handle_unusual;
13757         }
13758         continue;
13759       // optional uint32 prefree_seg = 10;
13760       case 10:
13761         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 80)) {
13762           _Internal::set_has_prefree_seg(&has_bits);
13763           _impl_.prefree_seg_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
13764           CHK_(ptr);
13765         } else {
13766           goto handle_unusual;
13767         }
13768         continue;
13769       // optional int32 gc_type = 11;
13770       case 11:
13771         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 88)) {
13772           _Internal::set_has_gc_type(&has_bits);
13773           _impl_.gc_type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
13774           CHK_(ptr);
13775         } else {
13776           goto handle_unusual;
13777         }
13778         continue;
13779       // optional uint32 no_bg_gc = 12;
13780       case 12:
13781         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 96)) {
13782           _Internal::set_has_no_bg_gc(&has_bits);
13783           _impl_.no_bg_gc_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
13784           CHK_(ptr);
13785         } else {
13786           goto handle_unusual;
13787         }
13788         continue;
13789       // optional uint32 nr_free_secs = 13;
13790       case 13:
13791         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 104)) {
13792           _Internal::set_has_nr_free_secs(&has_bits);
13793           _impl_.nr_free_secs_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
13794           CHK_(ptr);
13795         } else {
13796           goto handle_unusual;
13797         }
13798         continue;
13799       default:
13800         goto handle_unusual;
13801     }  // switch
13802   handle_unusual:
13803     if ((tag == 0) || ((tag & 7) == 4)) {
13804       CHK_(ptr);
13805       ctx->SetLastTag(tag);
13806       goto message_done;
13807     }
13808     ptr = UnknownFieldParse(
13809         tag,
13810         _internal_metadata_.mutable_unknown_fields<std::string>(),
13811         ptr, ctx);
13812     CHK_(ptr != nullptr);
13813   }  // while
13814 message_done:
13815   _impl_._has_bits_.Or(has_bits);
13816   return ptr;
13817 failure:
13818   ptr = nullptr;
13819   goto message_done;
13820 #undef CHK_
13821 }
13822 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const13823 ::uint8_t* F2fsGcBeginFtraceEvent::_InternalSerialize(
13824     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
13825   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.F2fsGcBeginFtraceEvent)
13826   ::uint32_t cached_has_bits = 0;
13827   (void) cached_has_bits;
13828 
13829   cached_has_bits = _impl_._has_bits_[0];
13830   // optional uint64 dev = 1;
13831   if (cached_has_bits & 0x00000001u) {
13832     target = stream->EnsureSpace(target);
13833     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
13834   }
13835 
13836   // optional uint32 sync = 2;
13837   if (cached_has_bits & 0x00000002u) {
13838     target = stream->EnsureSpace(target);
13839     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_sync(), target);
13840   }
13841 
13842   // optional uint32 background = 3;
13843   if (cached_has_bits & 0x00000004u) {
13844     target = stream->EnsureSpace(target);
13845     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_background(), target);
13846   }
13847 
13848   // optional int64 dirty_nodes = 4;
13849   if (cached_has_bits & 0x00000008u) {
13850     target = stream->EnsureSpace(target);
13851     target = ::_pbi::WireFormatLite::WriteInt64ToArray(4, this->_internal_dirty_nodes(), target);
13852   }
13853 
13854   // optional int64 dirty_dents = 5;
13855   if (cached_has_bits & 0x00000010u) {
13856     target = stream->EnsureSpace(target);
13857     target = ::_pbi::WireFormatLite::WriteInt64ToArray(5, this->_internal_dirty_dents(), target);
13858   }
13859 
13860   // optional int64 dirty_imeta = 6;
13861   if (cached_has_bits & 0x00000020u) {
13862     target = stream->EnsureSpace(target);
13863     target = ::_pbi::WireFormatLite::WriteInt64ToArray(6, this->_internal_dirty_imeta(), target);
13864   }
13865 
13866   // optional uint32 free_sec = 7;
13867   if (cached_has_bits & 0x00000040u) {
13868     target = stream->EnsureSpace(target);
13869     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(7, this->_internal_free_sec(), target);
13870   }
13871 
13872   // optional uint32 free_seg = 8;
13873   if (cached_has_bits & 0x00000080u) {
13874     target = stream->EnsureSpace(target);
13875     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(8, this->_internal_free_seg(), target);
13876   }
13877 
13878   // optional int32 reserved_seg = 9;
13879   if (cached_has_bits & 0x00000100u) {
13880     target = stream->EnsureSpace(target);
13881     target = ::_pbi::WireFormatLite::WriteInt32ToArray(9, this->_internal_reserved_seg(), target);
13882   }
13883 
13884   // optional uint32 prefree_seg = 10;
13885   if (cached_has_bits & 0x00000200u) {
13886     target = stream->EnsureSpace(target);
13887     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(10, this->_internal_prefree_seg(), target);
13888   }
13889 
13890   // optional int32 gc_type = 11;
13891   if (cached_has_bits & 0x00000400u) {
13892     target = stream->EnsureSpace(target);
13893     target = ::_pbi::WireFormatLite::WriteInt32ToArray(11, this->_internal_gc_type(), target);
13894   }
13895 
13896   // optional uint32 no_bg_gc = 12;
13897   if (cached_has_bits & 0x00000800u) {
13898     target = stream->EnsureSpace(target);
13899     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(12, this->_internal_no_bg_gc(), target);
13900   }
13901 
13902   // optional uint32 nr_free_secs = 13;
13903   if (cached_has_bits & 0x00001000u) {
13904     target = stream->EnsureSpace(target);
13905     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(13, this->_internal_nr_free_secs(), target);
13906   }
13907 
13908   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
13909     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
13910         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
13911   }
13912   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.F2fsGcBeginFtraceEvent)
13913   return target;
13914 }
13915 
ByteSizeLong() const13916 size_t F2fsGcBeginFtraceEvent::ByteSizeLong() const {
13917 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.F2fsGcBeginFtraceEvent)
13918   size_t total_size = 0;
13919 
13920   ::uint32_t cached_has_bits = 0;
13921   // Prevent compiler warnings about cached_has_bits being unused
13922   (void) cached_has_bits;
13923 
13924   cached_has_bits = _impl_._has_bits_[0];
13925   if (cached_has_bits & 0x000000ffu) {
13926     // optional uint64 dev = 1;
13927     if (cached_has_bits & 0x00000001u) {
13928       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
13929     }
13930 
13931     // optional uint32 sync = 2;
13932     if (cached_has_bits & 0x00000002u) {
13933       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_sync());
13934     }
13935 
13936     // optional uint32 background = 3;
13937     if (cached_has_bits & 0x00000004u) {
13938       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_background());
13939     }
13940 
13941     // optional int64 dirty_nodes = 4;
13942     if (cached_has_bits & 0x00000008u) {
13943       total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_dirty_nodes());
13944     }
13945 
13946     // optional int64 dirty_dents = 5;
13947     if (cached_has_bits & 0x00000010u) {
13948       total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_dirty_dents());
13949     }
13950 
13951     // optional int64 dirty_imeta = 6;
13952     if (cached_has_bits & 0x00000020u) {
13953       total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_dirty_imeta());
13954     }
13955 
13956     // optional uint32 free_sec = 7;
13957     if (cached_has_bits & 0x00000040u) {
13958       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_free_sec());
13959     }
13960 
13961     // optional uint32 free_seg = 8;
13962     if (cached_has_bits & 0x00000080u) {
13963       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_free_seg());
13964     }
13965 
13966   }
13967   if (cached_has_bits & 0x00001f00u) {
13968     // optional int32 reserved_seg = 9;
13969     if (cached_has_bits & 0x00000100u) {
13970       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_reserved_seg());
13971     }
13972 
13973     // optional uint32 prefree_seg = 10;
13974     if (cached_has_bits & 0x00000200u) {
13975       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_prefree_seg());
13976     }
13977 
13978     // optional int32 gc_type = 11;
13979     if (cached_has_bits & 0x00000400u) {
13980       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_gc_type());
13981     }
13982 
13983     // optional uint32 no_bg_gc = 12;
13984     if (cached_has_bits & 0x00000800u) {
13985       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_no_bg_gc());
13986     }
13987 
13988     // optional uint32 nr_free_secs = 13;
13989     if (cached_has_bits & 0x00001000u) {
13990       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_nr_free_secs());
13991     }
13992 
13993   }
13994   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
13995     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
13996   }
13997   int cached_size = ::_pbi::ToCachedSize(total_size);
13998   SetCachedSize(cached_size);
13999   return total_size;
14000 }
14001 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)14002 void F2fsGcBeginFtraceEvent::CheckTypeAndMergeFrom(
14003     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
14004   MergeFrom(*::_pbi::DownCast<const F2fsGcBeginFtraceEvent*>(
14005       &from));
14006 }
14007 
MergeFrom(const F2fsGcBeginFtraceEvent & from)14008 void F2fsGcBeginFtraceEvent::MergeFrom(const F2fsGcBeginFtraceEvent& from) {
14009   F2fsGcBeginFtraceEvent* const _this = this;
14010   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.F2fsGcBeginFtraceEvent)
14011   GOOGLE_DCHECK_NE(&from, _this);
14012   ::uint32_t cached_has_bits = 0;
14013   (void) cached_has_bits;
14014 
14015   cached_has_bits = from._impl_._has_bits_[0];
14016   if (cached_has_bits & 0x000000ffu) {
14017     if (cached_has_bits & 0x00000001u) {
14018       _this->_impl_.dev_ = from._impl_.dev_;
14019     }
14020     if (cached_has_bits & 0x00000002u) {
14021       _this->_impl_.sync_ = from._impl_.sync_;
14022     }
14023     if (cached_has_bits & 0x00000004u) {
14024       _this->_impl_.background_ = from._impl_.background_;
14025     }
14026     if (cached_has_bits & 0x00000008u) {
14027       _this->_impl_.dirty_nodes_ = from._impl_.dirty_nodes_;
14028     }
14029     if (cached_has_bits & 0x00000010u) {
14030       _this->_impl_.dirty_dents_ = from._impl_.dirty_dents_;
14031     }
14032     if (cached_has_bits & 0x00000020u) {
14033       _this->_impl_.dirty_imeta_ = from._impl_.dirty_imeta_;
14034     }
14035     if (cached_has_bits & 0x00000040u) {
14036       _this->_impl_.free_sec_ = from._impl_.free_sec_;
14037     }
14038     if (cached_has_bits & 0x00000080u) {
14039       _this->_impl_.free_seg_ = from._impl_.free_seg_;
14040     }
14041     _this->_impl_._has_bits_[0] |= cached_has_bits;
14042   }
14043   if (cached_has_bits & 0x00001f00u) {
14044     if (cached_has_bits & 0x00000100u) {
14045       _this->_impl_.reserved_seg_ = from._impl_.reserved_seg_;
14046     }
14047     if (cached_has_bits & 0x00000200u) {
14048       _this->_impl_.prefree_seg_ = from._impl_.prefree_seg_;
14049     }
14050     if (cached_has_bits & 0x00000400u) {
14051       _this->_impl_.gc_type_ = from._impl_.gc_type_;
14052     }
14053     if (cached_has_bits & 0x00000800u) {
14054       _this->_impl_.no_bg_gc_ = from._impl_.no_bg_gc_;
14055     }
14056     if (cached_has_bits & 0x00001000u) {
14057       _this->_impl_.nr_free_secs_ = from._impl_.nr_free_secs_;
14058     }
14059     _this->_impl_._has_bits_[0] |= cached_has_bits;
14060   }
14061   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
14062 }
14063 
CopyFrom(const F2fsGcBeginFtraceEvent & from)14064 void F2fsGcBeginFtraceEvent::CopyFrom(const F2fsGcBeginFtraceEvent& from) {
14065 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.F2fsGcBeginFtraceEvent)
14066   if (&from == this) return;
14067   Clear();
14068   MergeFrom(from);
14069 }
14070 
IsInitialized() const14071 bool F2fsGcBeginFtraceEvent::IsInitialized() const {
14072   return true;
14073 }
14074 
InternalSwap(F2fsGcBeginFtraceEvent * other)14075 void F2fsGcBeginFtraceEvent::InternalSwap(F2fsGcBeginFtraceEvent* other) {
14076   using std::swap;
14077   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
14078   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
14079   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
14080       PROTOBUF_FIELD_OFFSET(F2fsGcBeginFtraceEvent, _impl_.nr_free_secs_)
14081       + sizeof(F2fsGcBeginFtraceEvent::_impl_.nr_free_secs_)  // NOLINT
14082       - PROTOBUF_FIELD_OFFSET(F2fsGcBeginFtraceEvent, _impl_.dev_)>(
14083           reinterpret_cast<char*>(&_impl_.dev_),
14084           reinterpret_cast<char*>(&other->_impl_.dev_));
14085 }
14086 
GetTypeName() const14087 std::string F2fsGcBeginFtraceEvent::GetTypeName() const {
14088   return "perfetto.protos.F2fsGcBeginFtraceEvent";
14089 }
14090 
14091 
14092 // ===================================================================
14093 
14094 class F2fsGcEndFtraceEvent::_Internal {
14095  public:
14096   using HasBits = decltype(std::declval<F2fsGcEndFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)14097   static void set_has_dev(HasBits* has_bits) {
14098     (*has_bits)[0] |= 1u;
14099   }
set_has_ret(HasBits * has_bits)14100   static void set_has_ret(HasBits* has_bits) {
14101     (*has_bits)[0] |= 2u;
14102   }
set_has_seg_freed(HasBits * has_bits)14103   static void set_has_seg_freed(HasBits* has_bits) {
14104     (*has_bits)[0] |= 4u;
14105   }
set_has_sec_freed(HasBits * has_bits)14106   static void set_has_sec_freed(HasBits* has_bits) {
14107     (*has_bits)[0] |= 32u;
14108   }
set_has_dirty_nodes(HasBits * has_bits)14109   static void set_has_dirty_nodes(HasBits* has_bits) {
14110     (*has_bits)[0] |= 8u;
14111   }
set_has_dirty_dents(HasBits * has_bits)14112   static void set_has_dirty_dents(HasBits* has_bits) {
14113     (*has_bits)[0] |= 16u;
14114   }
set_has_dirty_imeta(HasBits * has_bits)14115   static void set_has_dirty_imeta(HasBits* has_bits) {
14116     (*has_bits)[0] |= 128u;
14117   }
set_has_free_sec(HasBits * has_bits)14118   static void set_has_free_sec(HasBits* has_bits) {
14119     (*has_bits)[0] |= 64u;
14120   }
set_has_free_seg(HasBits * has_bits)14121   static void set_has_free_seg(HasBits* has_bits) {
14122     (*has_bits)[0] |= 256u;
14123   }
set_has_reserved_seg(HasBits * has_bits)14124   static void set_has_reserved_seg(HasBits* has_bits) {
14125     (*has_bits)[0] |= 512u;
14126   }
set_has_prefree_seg(HasBits * has_bits)14127   static void set_has_prefree_seg(HasBits* has_bits) {
14128     (*has_bits)[0] |= 1024u;
14129   }
14130 };
14131 
F2fsGcEndFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)14132 F2fsGcEndFtraceEvent::F2fsGcEndFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
14133                          bool is_message_owned)
14134   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
14135   SharedCtor(arena, is_message_owned);
14136   // @@protoc_insertion_point(arena_constructor:perfetto.protos.F2fsGcEndFtraceEvent)
14137 }
F2fsGcEndFtraceEvent(const F2fsGcEndFtraceEvent & from)14138 F2fsGcEndFtraceEvent::F2fsGcEndFtraceEvent(const F2fsGcEndFtraceEvent& from)
14139   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
14140   F2fsGcEndFtraceEvent* const _this = this; (void)_this;
14141   new (&_impl_) Impl_{
14142       decltype(_impl_._has_bits_){from._impl_._has_bits_}
14143     , /*decltype(_impl_._cached_size_)*/{}
14144     , decltype(_impl_.dev_){}
14145     , decltype(_impl_.ret_){}
14146     , decltype(_impl_.seg_freed_){}
14147     , decltype(_impl_.dirty_nodes_){}
14148     , decltype(_impl_.dirty_dents_){}
14149     , decltype(_impl_.sec_freed_){}
14150     , decltype(_impl_.free_sec_){}
14151     , decltype(_impl_.dirty_imeta_){}
14152     , decltype(_impl_.free_seg_){}
14153     , decltype(_impl_.reserved_seg_){}
14154     , decltype(_impl_.prefree_seg_){}};
14155 
14156   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
14157   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
14158     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.prefree_seg_) -
14159     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.prefree_seg_));
14160   // @@protoc_insertion_point(copy_constructor:perfetto.protos.F2fsGcEndFtraceEvent)
14161 }
14162 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)14163 inline void F2fsGcEndFtraceEvent::SharedCtor(
14164     ::_pb::Arena* arena, bool is_message_owned) {
14165   (void)arena;
14166   (void)is_message_owned;
14167   new (&_impl_) Impl_{
14168       decltype(_impl_._has_bits_){}
14169     , /*decltype(_impl_._cached_size_)*/{}
14170     , decltype(_impl_.dev_){::uint64_t{0u}}
14171     , decltype(_impl_.ret_){0}
14172     , decltype(_impl_.seg_freed_){0}
14173     , decltype(_impl_.dirty_nodes_){::int64_t{0}}
14174     , decltype(_impl_.dirty_dents_){::int64_t{0}}
14175     , decltype(_impl_.sec_freed_){0}
14176     , decltype(_impl_.free_sec_){0u}
14177     , decltype(_impl_.dirty_imeta_){::int64_t{0}}
14178     , decltype(_impl_.free_seg_){0u}
14179     , decltype(_impl_.reserved_seg_){0}
14180     , decltype(_impl_.prefree_seg_){0u}
14181   };
14182 }
14183 
~F2fsGcEndFtraceEvent()14184 F2fsGcEndFtraceEvent::~F2fsGcEndFtraceEvent() {
14185   // @@protoc_insertion_point(destructor:perfetto.protos.F2fsGcEndFtraceEvent)
14186   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
14187   (void)arena;
14188     return;
14189   }
14190   SharedDtor();
14191 }
14192 
SharedDtor()14193 inline void F2fsGcEndFtraceEvent::SharedDtor() {
14194   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
14195 }
14196 
SetCachedSize(int size) const14197 void F2fsGcEndFtraceEvent::SetCachedSize(int size) const {
14198   _impl_._cached_size_.Set(size);
14199 }
14200 
Clear()14201 void F2fsGcEndFtraceEvent::Clear() {
14202 // @@protoc_insertion_point(message_clear_start:perfetto.protos.F2fsGcEndFtraceEvent)
14203   ::uint32_t cached_has_bits = 0;
14204   // Prevent compiler warnings about cached_has_bits being unused
14205   (void) cached_has_bits;
14206 
14207   cached_has_bits = _impl_._has_bits_[0];
14208   if (cached_has_bits & 0x000000ffu) {
14209     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
14210         reinterpret_cast<char*>(&_impl_.dirty_imeta_) -
14211         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.dirty_imeta_));
14212   }
14213   if (cached_has_bits & 0x00000700u) {
14214     ::memset(&_impl_.free_seg_, 0, static_cast<size_t>(
14215         reinterpret_cast<char*>(&_impl_.prefree_seg_) -
14216         reinterpret_cast<char*>(&_impl_.free_seg_)) + sizeof(_impl_.prefree_seg_));
14217   }
14218   _impl_._has_bits_.Clear();
14219   _internal_metadata_.Clear<std::string>();
14220 }
14221 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)14222 const char* F2fsGcEndFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
14223 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
14224   _Internal::HasBits has_bits{};
14225   while (!ctx->Done(&ptr)) {
14226     ::uint32_t tag;
14227     ptr = ::_pbi::ReadTag(ptr, &tag);
14228     switch (tag >> 3) {
14229       // optional uint64 dev = 1;
14230       case 1:
14231         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
14232           _Internal::set_has_dev(&has_bits);
14233           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
14234           CHK_(ptr);
14235         } else {
14236           goto handle_unusual;
14237         }
14238         continue;
14239       // optional int32 ret = 2;
14240       case 2:
14241         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
14242           _Internal::set_has_ret(&has_bits);
14243           _impl_.ret_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
14244           CHK_(ptr);
14245         } else {
14246           goto handle_unusual;
14247         }
14248         continue;
14249       // optional int32 seg_freed = 3;
14250       case 3:
14251         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
14252           _Internal::set_has_seg_freed(&has_bits);
14253           _impl_.seg_freed_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
14254           CHK_(ptr);
14255         } else {
14256           goto handle_unusual;
14257         }
14258         continue;
14259       // optional int32 sec_freed = 4;
14260       case 4:
14261         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
14262           _Internal::set_has_sec_freed(&has_bits);
14263           _impl_.sec_freed_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
14264           CHK_(ptr);
14265         } else {
14266           goto handle_unusual;
14267         }
14268         continue;
14269       // optional int64 dirty_nodes = 5;
14270       case 5:
14271         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) {
14272           _Internal::set_has_dirty_nodes(&has_bits);
14273           _impl_.dirty_nodes_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
14274           CHK_(ptr);
14275         } else {
14276           goto handle_unusual;
14277         }
14278         continue;
14279       // optional int64 dirty_dents = 6;
14280       case 6:
14281         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 48)) {
14282           _Internal::set_has_dirty_dents(&has_bits);
14283           _impl_.dirty_dents_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
14284           CHK_(ptr);
14285         } else {
14286           goto handle_unusual;
14287         }
14288         continue;
14289       // optional int64 dirty_imeta = 7;
14290       case 7:
14291         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 56)) {
14292           _Internal::set_has_dirty_imeta(&has_bits);
14293           _impl_.dirty_imeta_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
14294           CHK_(ptr);
14295         } else {
14296           goto handle_unusual;
14297         }
14298         continue;
14299       // optional uint32 free_sec = 8;
14300       case 8:
14301         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 64)) {
14302           _Internal::set_has_free_sec(&has_bits);
14303           _impl_.free_sec_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
14304           CHK_(ptr);
14305         } else {
14306           goto handle_unusual;
14307         }
14308         continue;
14309       // optional uint32 free_seg = 9;
14310       case 9:
14311         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 72)) {
14312           _Internal::set_has_free_seg(&has_bits);
14313           _impl_.free_seg_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
14314           CHK_(ptr);
14315         } else {
14316           goto handle_unusual;
14317         }
14318         continue;
14319       // optional int32 reserved_seg = 10;
14320       case 10:
14321         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 80)) {
14322           _Internal::set_has_reserved_seg(&has_bits);
14323           _impl_.reserved_seg_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
14324           CHK_(ptr);
14325         } else {
14326           goto handle_unusual;
14327         }
14328         continue;
14329       // optional uint32 prefree_seg = 11;
14330       case 11:
14331         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 88)) {
14332           _Internal::set_has_prefree_seg(&has_bits);
14333           _impl_.prefree_seg_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
14334           CHK_(ptr);
14335         } else {
14336           goto handle_unusual;
14337         }
14338         continue;
14339       default:
14340         goto handle_unusual;
14341     }  // switch
14342   handle_unusual:
14343     if ((tag == 0) || ((tag & 7) == 4)) {
14344       CHK_(ptr);
14345       ctx->SetLastTag(tag);
14346       goto message_done;
14347     }
14348     ptr = UnknownFieldParse(
14349         tag,
14350         _internal_metadata_.mutable_unknown_fields<std::string>(),
14351         ptr, ctx);
14352     CHK_(ptr != nullptr);
14353   }  // while
14354 message_done:
14355   _impl_._has_bits_.Or(has_bits);
14356   return ptr;
14357 failure:
14358   ptr = nullptr;
14359   goto message_done;
14360 #undef CHK_
14361 }
14362 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const14363 ::uint8_t* F2fsGcEndFtraceEvent::_InternalSerialize(
14364     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
14365   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.F2fsGcEndFtraceEvent)
14366   ::uint32_t cached_has_bits = 0;
14367   (void) cached_has_bits;
14368 
14369   cached_has_bits = _impl_._has_bits_[0];
14370   // optional uint64 dev = 1;
14371   if (cached_has_bits & 0x00000001u) {
14372     target = stream->EnsureSpace(target);
14373     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
14374   }
14375 
14376   // optional int32 ret = 2;
14377   if (cached_has_bits & 0x00000002u) {
14378     target = stream->EnsureSpace(target);
14379     target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_ret(), target);
14380   }
14381 
14382   // optional int32 seg_freed = 3;
14383   if (cached_has_bits & 0x00000004u) {
14384     target = stream->EnsureSpace(target);
14385     target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_seg_freed(), target);
14386   }
14387 
14388   // optional int32 sec_freed = 4;
14389   if (cached_has_bits & 0x00000020u) {
14390     target = stream->EnsureSpace(target);
14391     target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_sec_freed(), target);
14392   }
14393 
14394   // optional int64 dirty_nodes = 5;
14395   if (cached_has_bits & 0x00000008u) {
14396     target = stream->EnsureSpace(target);
14397     target = ::_pbi::WireFormatLite::WriteInt64ToArray(5, this->_internal_dirty_nodes(), target);
14398   }
14399 
14400   // optional int64 dirty_dents = 6;
14401   if (cached_has_bits & 0x00000010u) {
14402     target = stream->EnsureSpace(target);
14403     target = ::_pbi::WireFormatLite::WriteInt64ToArray(6, this->_internal_dirty_dents(), target);
14404   }
14405 
14406   // optional int64 dirty_imeta = 7;
14407   if (cached_has_bits & 0x00000080u) {
14408     target = stream->EnsureSpace(target);
14409     target = ::_pbi::WireFormatLite::WriteInt64ToArray(7, this->_internal_dirty_imeta(), target);
14410   }
14411 
14412   // optional uint32 free_sec = 8;
14413   if (cached_has_bits & 0x00000040u) {
14414     target = stream->EnsureSpace(target);
14415     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(8, this->_internal_free_sec(), target);
14416   }
14417 
14418   // optional uint32 free_seg = 9;
14419   if (cached_has_bits & 0x00000100u) {
14420     target = stream->EnsureSpace(target);
14421     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(9, this->_internal_free_seg(), target);
14422   }
14423 
14424   // optional int32 reserved_seg = 10;
14425   if (cached_has_bits & 0x00000200u) {
14426     target = stream->EnsureSpace(target);
14427     target = ::_pbi::WireFormatLite::WriteInt32ToArray(10, this->_internal_reserved_seg(), target);
14428   }
14429 
14430   // optional uint32 prefree_seg = 11;
14431   if (cached_has_bits & 0x00000400u) {
14432     target = stream->EnsureSpace(target);
14433     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(11, this->_internal_prefree_seg(), target);
14434   }
14435 
14436   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
14437     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
14438         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
14439   }
14440   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.F2fsGcEndFtraceEvent)
14441   return target;
14442 }
14443 
ByteSizeLong() const14444 size_t F2fsGcEndFtraceEvent::ByteSizeLong() const {
14445 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.F2fsGcEndFtraceEvent)
14446   size_t total_size = 0;
14447 
14448   ::uint32_t cached_has_bits = 0;
14449   // Prevent compiler warnings about cached_has_bits being unused
14450   (void) cached_has_bits;
14451 
14452   cached_has_bits = _impl_._has_bits_[0];
14453   if (cached_has_bits & 0x000000ffu) {
14454     // optional uint64 dev = 1;
14455     if (cached_has_bits & 0x00000001u) {
14456       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
14457     }
14458 
14459     // optional int32 ret = 2;
14460     if (cached_has_bits & 0x00000002u) {
14461       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_ret());
14462     }
14463 
14464     // optional int32 seg_freed = 3;
14465     if (cached_has_bits & 0x00000004u) {
14466       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_seg_freed());
14467     }
14468 
14469     // optional int64 dirty_nodes = 5;
14470     if (cached_has_bits & 0x00000008u) {
14471       total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_dirty_nodes());
14472     }
14473 
14474     // optional int64 dirty_dents = 6;
14475     if (cached_has_bits & 0x00000010u) {
14476       total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_dirty_dents());
14477     }
14478 
14479     // optional int32 sec_freed = 4;
14480     if (cached_has_bits & 0x00000020u) {
14481       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_sec_freed());
14482     }
14483 
14484     // optional uint32 free_sec = 8;
14485     if (cached_has_bits & 0x00000040u) {
14486       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_free_sec());
14487     }
14488 
14489     // optional int64 dirty_imeta = 7;
14490     if (cached_has_bits & 0x00000080u) {
14491       total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_dirty_imeta());
14492     }
14493 
14494   }
14495   if (cached_has_bits & 0x00000700u) {
14496     // optional uint32 free_seg = 9;
14497     if (cached_has_bits & 0x00000100u) {
14498       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_free_seg());
14499     }
14500 
14501     // optional int32 reserved_seg = 10;
14502     if (cached_has_bits & 0x00000200u) {
14503       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_reserved_seg());
14504     }
14505 
14506     // optional uint32 prefree_seg = 11;
14507     if (cached_has_bits & 0x00000400u) {
14508       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_prefree_seg());
14509     }
14510 
14511   }
14512   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
14513     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
14514   }
14515   int cached_size = ::_pbi::ToCachedSize(total_size);
14516   SetCachedSize(cached_size);
14517   return total_size;
14518 }
14519 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)14520 void F2fsGcEndFtraceEvent::CheckTypeAndMergeFrom(
14521     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
14522   MergeFrom(*::_pbi::DownCast<const F2fsGcEndFtraceEvent*>(
14523       &from));
14524 }
14525 
MergeFrom(const F2fsGcEndFtraceEvent & from)14526 void F2fsGcEndFtraceEvent::MergeFrom(const F2fsGcEndFtraceEvent& from) {
14527   F2fsGcEndFtraceEvent* const _this = this;
14528   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.F2fsGcEndFtraceEvent)
14529   GOOGLE_DCHECK_NE(&from, _this);
14530   ::uint32_t cached_has_bits = 0;
14531   (void) cached_has_bits;
14532 
14533   cached_has_bits = from._impl_._has_bits_[0];
14534   if (cached_has_bits & 0x000000ffu) {
14535     if (cached_has_bits & 0x00000001u) {
14536       _this->_impl_.dev_ = from._impl_.dev_;
14537     }
14538     if (cached_has_bits & 0x00000002u) {
14539       _this->_impl_.ret_ = from._impl_.ret_;
14540     }
14541     if (cached_has_bits & 0x00000004u) {
14542       _this->_impl_.seg_freed_ = from._impl_.seg_freed_;
14543     }
14544     if (cached_has_bits & 0x00000008u) {
14545       _this->_impl_.dirty_nodes_ = from._impl_.dirty_nodes_;
14546     }
14547     if (cached_has_bits & 0x00000010u) {
14548       _this->_impl_.dirty_dents_ = from._impl_.dirty_dents_;
14549     }
14550     if (cached_has_bits & 0x00000020u) {
14551       _this->_impl_.sec_freed_ = from._impl_.sec_freed_;
14552     }
14553     if (cached_has_bits & 0x00000040u) {
14554       _this->_impl_.free_sec_ = from._impl_.free_sec_;
14555     }
14556     if (cached_has_bits & 0x00000080u) {
14557       _this->_impl_.dirty_imeta_ = from._impl_.dirty_imeta_;
14558     }
14559     _this->_impl_._has_bits_[0] |= cached_has_bits;
14560   }
14561   if (cached_has_bits & 0x00000700u) {
14562     if (cached_has_bits & 0x00000100u) {
14563       _this->_impl_.free_seg_ = from._impl_.free_seg_;
14564     }
14565     if (cached_has_bits & 0x00000200u) {
14566       _this->_impl_.reserved_seg_ = from._impl_.reserved_seg_;
14567     }
14568     if (cached_has_bits & 0x00000400u) {
14569       _this->_impl_.prefree_seg_ = from._impl_.prefree_seg_;
14570     }
14571     _this->_impl_._has_bits_[0] |= cached_has_bits;
14572   }
14573   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
14574 }
14575 
CopyFrom(const F2fsGcEndFtraceEvent & from)14576 void F2fsGcEndFtraceEvent::CopyFrom(const F2fsGcEndFtraceEvent& from) {
14577 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.F2fsGcEndFtraceEvent)
14578   if (&from == this) return;
14579   Clear();
14580   MergeFrom(from);
14581 }
14582 
IsInitialized() const14583 bool F2fsGcEndFtraceEvent::IsInitialized() const {
14584   return true;
14585 }
14586 
InternalSwap(F2fsGcEndFtraceEvent * other)14587 void F2fsGcEndFtraceEvent::InternalSwap(F2fsGcEndFtraceEvent* other) {
14588   using std::swap;
14589   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
14590   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
14591   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
14592       PROTOBUF_FIELD_OFFSET(F2fsGcEndFtraceEvent, _impl_.prefree_seg_)
14593       + sizeof(F2fsGcEndFtraceEvent::_impl_.prefree_seg_)  // NOLINT
14594       - PROTOBUF_FIELD_OFFSET(F2fsGcEndFtraceEvent, _impl_.dev_)>(
14595           reinterpret_cast<char*>(&_impl_.dev_),
14596           reinterpret_cast<char*>(&other->_impl_.dev_));
14597 }
14598 
GetTypeName() const14599 std::string F2fsGcEndFtraceEvent::GetTypeName() const {
14600   return "perfetto.protos.F2fsGcEndFtraceEvent";
14601 }
14602 
14603 
14604 // @@protoc_insertion_point(namespace_scope)
14605 }  // namespace protos
14606 }  // namespace perfetto
14607 PROTOBUF_NAMESPACE_OPEN
14608 template<> PROTOBUF_NOINLINE ::perfetto::protos::F2fsDoSubmitBioFtraceEvent*
CreateMaybeMessage(Arena * arena)14609 Arena::CreateMaybeMessage< ::perfetto::protos::F2fsDoSubmitBioFtraceEvent >(Arena* arena) {
14610   return Arena::CreateMessageInternal< ::perfetto::protos::F2fsDoSubmitBioFtraceEvent >(arena);
14611 }
14612 template<> PROTOBUF_NOINLINE ::perfetto::protos::F2fsEvictInodeFtraceEvent*
CreateMaybeMessage(Arena * arena)14613 Arena::CreateMaybeMessage< ::perfetto::protos::F2fsEvictInodeFtraceEvent >(Arena* arena) {
14614   return Arena::CreateMessageInternal< ::perfetto::protos::F2fsEvictInodeFtraceEvent >(arena);
14615 }
14616 template<> PROTOBUF_NOINLINE ::perfetto::protos::F2fsFallocateFtraceEvent*
CreateMaybeMessage(Arena * arena)14617 Arena::CreateMaybeMessage< ::perfetto::protos::F2fsFallocateFtraceEvent >(Arena* arena) {
14618   return Arena::CreateMessageInternal< ::perfetto::protos::F2fsFallocateFtraceEvent >(arena);
14619 }
14620 template<> PROTOBUF_NOINLINE ::perfetto::protos::F2fsGetDataBlockFtraceEvent*
CreateMaybeMessage(Arena * arena)14621 Arena::CreateMaybeMessage< ::perfetto::protos::F2fsGetDataBlockFtraceEvent >(Arena* arena) {
14622   return Arena::CreateMessageInternal< ::perfetto::protos::F2fsGetDataBlockFtraceEvent >(arena);
14623 }
14624 template<> PROTOBUF_NOINLINE ::perfetto::protos::F2fsGetVictimFtraceEvent*
CreateMaybeMessage(Arena * arena)14625 Arena::CreateMaybeMessage< ::perfetto::protos::F2fsGetVictimFtraceEvent >(Arena* arena) {
14626   return Arena::CreateMessageInternal< ::perfetto::protos::F2fsGetVictimFtraceEvent >(arena);
14627 }
14628 template<> PROTOBUF_NOINLINE ::perfetto::protos::F2fsIgetFtraceEvent*
CreateMaybeMessage(Arena * arena)14629 Arena::CreateMaybeMessage< ::perfetto::protos::F2fsIgetFtraceEvent >(Arena* arena) {
14630   return Arena::CreateMessageInternal< ::perfetto::protos::F2fsIgetFtraceEvent >(arena);
14631 }
14632 template<> PROTOBUF_NOINLINE ::perfetto::protos::F2fsIgetExitFtraceEvent*
CreateMaybeMessage(Arena * arena)14633 Arena::CreateMaybeMessage< ::perfetto::protos::F2fsIgetExitFtraceEvent >(Arena* arena) {
14634   return Arena::CreateMessageInternal< ::perfetto::protos::F2fsIgetExitFtraceEvent >(arena);
14635 }
14636 template<> PROTOBUF_NOINLINE ::perfetto::protos::F2fsNewInodeFtraceEvent*
CreateMaybeMessage(Arena * arena)14637 Arena::CreateMaybeMessage< ::perfetto::protos::F2fsNewInodeFtraceEvent >(Arena* arena) {
14638   return Arena::CreateMessageInternal< ::perfetto::protos::F2fsNewInodeFtraceEvent >(arena);
14639 }
14640 template<> PROTOBUF_NOINLINE ::perfetto::protos::F2fsReadpageFtraceEvent*
CreateMaybeMessage(Arena * arena)14641 Arena::CreateMaybeMessage< ::perfetto::protos::F2fsReadpageFtraceEvent >(Arena* arena) {
14642   return Arena::CreateMessageInternal< ::perfetto::protos::F2fsReadpageFtraceEvent >(arena);
14643 }
14644 template<> PROTOBUF_NOINLINE ::perfetto::protos::F2fsReserveNewBlockFtraceEvent*
CreateMaybeMessage(Arena * arena)14645 Arena::CreateMaybeMessage< ::perfetto::protos::F2fsReserveNewBlockFtraceEvent >(Arena* arena) {
14646   return Arena::CreateMessageInternal< ::perfetto::protos::F2fsReserveNewBlockFtraceEvent >(arena);
14647 }
14648 template<> PROTOBUF_NOINLINE ::perfetto::protos::F2fsSetPageDirtyFtraceEvent*
CreateMaybeMessage(Arena * arena)14649 Arena::CreateMaybeMessage< ::perfetto::protos::F2fsSetPageDirtyFtraceEvent >(Arena* arena) {
14650   return Arena::CreateMessageInternal< ::perfetto::protos::F2fsSetPageDirtyFtraceEvent >(arena);
14651 }
14652 template<> PROTOBUF_NOINLINE ::perfetto::protos::F2fsSubmitWritePageFtraceEvent*
CreateMaybeMessage(Arena * arena)14653 Arena::CreateMaybeMessage< ::perfetto::protos::F2fsSubmitWritePageFtraceEvent >(Arena* arena) {
14654   return Arena::CreateMessageInternal< ::perfetto::protos::F2fsSubmitWritePageFtraceEvent >(arena);
14655 }
14656 template<> PROTOBUF_NOINLINE ::perfetto::protos::F2fsSyncFileEnterFtraceEvent*
CreateMaybeMessage(Arena * arena)14657 Arena::CreateMaybeMessage< ::perfetto::protos::F2fsSyncFileEnterFtraceEvent >(Arena* arena) {
14658   return Arena::CreateMessageInternal< ::perfetto::protos::F2fsSyncFileEnterFtraceEvent >(arena);
14659 }
14660 template<> PROTOBUF_NOINLINE ::perfetto::protos::F2fsSyncFileExitFtraceEvent*
CreateMaybeMessage(Arena * arena)14661 Arena::CreateMaybeMessage< ::perfetto::protos::F2fsSyncFileExitFtraceEvent >(Arena* arena) {
14662   return Arena::CreateMessageInternal< ::perfetto::protos::F2fsSyncFileExitFtraceEvent >(arena);
14663 }
14664 template<> PROTOBUF_NOINLINE ::perfetto::protos::F2fsSyncFsFtraceEvent*
CreateMaybeMessage(Arena * arena)14665 Arena::CreateMaybeMessage< ::perfetto::protos::F2fsSyncFsFtraceEvent >(Arena* arena) {
14666   return Arena::CreateMessageInternal< ::perfetto::protos::F2fsSyncFsFtraceEvent >(arena);
14667 }
14668 template<> PROTOBUF_NOINLINE ::perfetto::protos::F2fsTruncateFtraceEvent*
CreateMaybeMessage(Arena * arena)14669 Arena::CreateMaybeMessage< ::perfetto::protos::F2fsTruncateFtraceEvent >(Arena* arena) {
14670   return Arena::CreateMessageInternal< ::perfetto::protos::F2fsTruncateFtraceEvent >(arena);
14671 }
14672 template<> PROTOBUF_NOINLINE ::perfetto::protos::F2fsTruncateBlocksEnterFtraceEvent*
CreateMaybeMessage(Arena * arena)14673 Arena::CreateMaybeMessage< ::perfetto::protos::F2fsTruncateBlocksEnterFtraceEvent >(Arena* arena) {
14674   return Arena::CreateMessageInternal< ::perfetto::protos::F2fsTruncateBlocksEnterFtraceEvent >(arena);
14675 }
14676 template<> PROTOBUF_NOINLINE ::perfetto::protos::F2fsTruncateBlocksExitFtraceEvent*
CreateMaybeMessage(Arena * arena)14677 Arena::CreateMaybeMessage< ::perfetto::protos::F2fsTruncateBlocksExitFtraceEvent >(Arena* arena) {
14678   return Arena::CreateMessageInternal< ::perfetto::protos::F2fsTruncateBlocksExitFtraceEvent >(arena);
14679 }
14680 template<> PROTOBUF_NOINLINE ::perfetto::protos::F2fsTruncateDataBlocksRangeFtraceEvent*
CreateMaybeMessage(Arena * arena)14681 Arena::CreateMaybeMessage< ::perfetto::protos::F2fsTruncateDataBlocksRangeFtraceEvent >(Arena* arena) {
14682   return Arena::CreateMessageInternal< ::perfetto::protos::F2fsTruncateDataBlocksRangeFtraceEvent >(arena);
14683 }
14684 template<> PROTOBUF_NOINLINE ::perfetto::protos::F2fsTruncateInodeBlocksEnterFtraceEvent*
CreateMaybeMessage(Arena * arena)14685 Arena::CreateMaybeMessage< ::perfetto::protos::F2fsTruncateInodeBlocksEnterFtraceEvent >(Arena* arena) {
14686   return Arena::CreateMessageInternal< ::perfetto::protos::F2fsTruncateInodeBlocksEnterFtraceEvent >(arena);
14687 }
14688 template<> PROTOBUF_NOINLINE ::perfetto::protos::F2fsTruncateInodeBlocksExitFtraceEvent*
CreateMaybeMessage(Arena * arena)14689 Arena::CreateMaybeMessage< ::perfetto::protos::F2fsTruncateInodeBlocksExitFtraceEvent >(Arena* arena) {
14690   return Arena::CreateMessageInternal< ::perfetto::protos::F2fsTruncateInodeBlocksExitFtraceEvent >(arena);
14691 }
14692 template<> PROTOBUF_NOINLINE ::perfetto::protos::F2fsTruncateNodeFtraceEvent*
CreateMaybeMessage(Arena * arena)14693 Arena::CreateMaybeMessage< ::perfetto::protos::F2fsTruncateNodeFtraceEvent >(Arena* arena) {
14694   return Arena::CreateMessageInternal< ::perfetto::protos::F2fsTruncateNodeFtraceEvent >(arena);
14695 }
14696 template<> PROTOBUF_NOINLINE ::perfetto::protos::F2fsTruncateNodesEnterFtraceEvent*
CreateMaybeMessage(Arena * arena)14697 Arena::CreateMaybeMessage< ::perfetto::protos::F2fsTruncateNodesEnterFtraceEvent >(Arena* arena) {
14698   return Arena::CreateMessageInternal< ::perfetto::protos::F2fsTruncateNodesEnterFtraceEvent >(arena);
14699 }
14700 template<> PROTOBUF_NOINLINE ::perfetto::protos::F2fsTruncateNodesExitFtraceEvent*
CreateMaybeMessage(Arena * arena)14701 Arena::CreateMaybeMessage< ::perfetto::protos::F2fsTruncateNodesExitFtraceEvent >(Arena* arena) {
14702   return Arena::CreateMessageInternal< ::perfetto::protos::F2fsTruncateNodesExitFtraceEvent >(arena);
14703 }
14704 template<> PROTOBUF_NOINLINE ::perfetto::protos::F2fsTruncatePartialNodesFtraceEvent*
CreateMaybeMessage(Arena * arena)14705 Arena::CreateMaybeMessage< ::perfetto::protos::F2fsTruncatePartialNodesFtraceEvent >(Arena* arena) {
14706   return Arena::CreateMessageInternal< ::perfetto::protos::F2fsTruncatePartialNodesFtraceEvent >(arena);
14707 }
14708 template<> PROTOBUF_NOINLINE ::perfetto::protos::F2fsUnlinkEnterFtraceEvent*
CreateMaybeMessage(Arena * arena)14709 Arena::CreateMaybeMessage< ::perfetto::protos::F2fsUnlinkEnterFtraceEvent >(Arena* arena) {
14710   return Arena::CreateMessageInternal< ::perfetto::protos::F2fsUnlinkEnterFtraceEvent >(arena);
14711 }
14712 template<> PROTOBUF_NOINLINE ::perfetto::protos::F2fsUnlinkExitFtraceEvent*
CreateMaybeMessage(Arena * arena)14713 Arena::CreateMaybeMessage< ::perfetto::protos::F2fsUnlinkExitFtraceEvent >(Arena* arena) {
14714   return Arena::CreateMessageInternal< ::perfetto::protos::F2fsUnlinkExitFtraceEvent >(arena);
14715 }
14716 template<> PROTOBUF_NOINLINE ::perfetto::protos::F2fsVmPageMkwriteFtraceEvent*
CreateMaybeMessage(Arena * arena)14717 Arena::CreateMaybeMessage< ::perfetto::protos::F2fsVmPageMkwriteFtraceEvent >(Arena* arena) {
14718   return Arena::CreateMessageInternal< ::perfetto::protos::F2fsVmPageMkwriteFtraceEvent >(arena);
14719 }
14720 template<> PROTOBUF_NOINLINE ::perfetto::protos::F2fsWriteBeginFtraceEvent*
CreateMaybeMessage(Arena * arena)14721 Arena::CreateMaybeMessage< ::perfetto::protos::F2fsWriteBeginFtraceEvent >(Arena* arena) {
14722   return Arena::CreateMessageInternal< ::perfetto::protos::F2fsWriteBeginFtraceEvent >(arena);
14723 }
14724 template<> PROTOBUF_NOINLINE ::perfetto::protos::F2fsWriteCheckpointFtraceEvent*
CreateMaybeMessage(Arena * arena)14725 Arena::CreateMaybeMessage< ::perfetto::protos::F2fsWriteCheckpointFtraceEvent >(Arena* arena) {
14726   return Arena::CreateMessageInternal< ::perfetto::protos::F2fsWriteCheckpointFtraceEvent >(arena);
14727 }
14728 template<> PROTOBUF_NOINLINE ::perfetto::protos::F2fsWriteEndFtraceEvent*
CreateMaybeMessage(Arena * arena)14729 Arena::CreateMaybeMessage< ::perfetto::protos::F2fsWriteEndFtraceEvent >(Arena* arena) {
14730   return Arena::CreateMessageInternal< ::perfetto::protos::F2fsWriteEndFtraceEvent >(arena);
14731 }
14732 template<> PROTOBUF_NOINLINE ::perfetto::protos::F2fsIostatFtraceEvent*
CreateMaybeMessage(Arena * arena)14733 Arena::CreateMaybeMessage< ::perfetto::protos::F2fsIostatFtraceEvent >(Arena* arena) {
14734   return Arena::CreateMessageInternal< ::perfetto::protos::F2fsIostatFtraceEvent >(arena);
14735 }
14736 template<> PROTOBUF_NOINLINE ::perfetto::protos::F2fsIostatLatencyFtraceEvent*
CreateMaybeMessage(Arena * arena)14737 Arena::CreateMaybeMessage< ::perfetto::protos::F2fsIostatLatencyFtraceEvent >(Arena* arena) {
14738   return Arena::CreateMessageInternal< ::perfetto::protos::F2fsIostatLatencyFtraceEvent >(arena);
14739 }
14740 template<> PROTOBUF_NOINLINE ::perfetto::protos::F2fsBackgroundGcFtraceEvent*
CreateMaybeMessage(Arena * arena)14741 Arena::CreateMaybeMessage< ::perfetto::protos::F2fsBackgroundGcFtraceEvent >(Arena* arena) {
14742   return Arena::CreateMessageInternal< ::perfetto::protos::F2fsBackgroundGcFtraceEvent >(arena);
14743 }
14744 template<> PROTOBUF_NOINLINE ::perfetto::protos::F2fsGcBeginFtraceEvent*
CreateMaybeMessage(Arena * arena)14745 Arena::CreateMaybeMessage< ::perfetto::protos::F2fsGcBeginFtraceEvent >(Arena* arena) {
14746   return Arena::CreateMessageInternal< ::perfetto::protos::F2fsGcBeginFtraceEvent >(arena);
14747 }
14748 template<> PROTOBUF_NOINLINE ::perfetto::protos::F2fsGcEndFtraceEvent*
CreateMaybeMessage(Arena * arena)14749 Arena::CreateMaybeMessage< ::perfetto::protos::F2fsGcEndFtraceEvent >(Arena* arena) {
14750   return Arena::CreateMessageInternal< ::perfetto::protos::F2fsGcEndFtraceEvent >(arena);
14751 }
14752 PROTOBUF_NAMESPACE_CLOSE
14753 
14754 // @@protoc_insertion_point(global_scope)
14755 #include <google/protobuf/port_undef.inc>
14756