1 // Generated by the protocol buffer compiler.  DO NOT EDIT!
2 // source: protos/perfetto/trace/ftrace/ext4.proto
3 
4 #include "protos/perfetto/trace/ftrace/ext4.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 {
Ext4DaWriteBeginFtraceEvent(::_pbi::ConstantInitialized)23 PROTOBUF_CONSTEXPR Ext4DaWriteBeginFtraceEvent::Ext4DaWriteBeginFtraceEvent(
24     ::_pbi::ConstantInitialized): _impl_{
25     /*decltype(_impl_._has_bits_)*/{}
26   , /*decltype(_impl_._cached_size_)*/{}
27   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
28   , /*decltype(_impl_.ino_)*/::uint64_t{0u}
29   , /*decltype(_impl_.pos_)*/::int64_t{0}
30   , /*decltype(_impl_.len_)*/0u
31   , /*decltype(_impl_.flags_)*/0u} {}
32 struct Ext4DaWriteBeginFtraceEventDefaultTypeInternal {
Ext4DaWriteBeginFtraceEventDefaultTypeInternalperfetto::protos::Ext4DaWriteBeginFtraceEventDefaultTypeInternal33   PROTOBUF_CONSTEXPR Ext4DaWriteBeginFtraceEventDefaultTypeInternal()
34       : _instance(::_pbi::ConstantInitialized{}) {}
~Ext4DaWriteBeginFtraceEventDefaultTypeInternalperfetto::protos::Ext4DaWriteBeginFtraceEventDefaultTypeInternal35   ~Ext4DaWriteBeginFtraceEventDefaultTypeInternal() {}
36   union {  // NOLINT(misc-non-private-member-variables-in-classes)
37     Ext4DaWriteBeginFtraceEvent _instance;
38   };
39 };
40 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Ext4DaWriteBeginFtraceEventDefaultTypeInternal _Ext4DaWriteBeginFtraceEvent_default_instance_;
Ext4DaWriteEndFtraceEvent(::_pbi::ConstantInitialized)41 PROTOBUF_CONSTEXPR Ext4DaWriteEndFtraceEvent::Ext4DaWriteEndFtraceEvent(
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_.pos_)*/::int64_t{0}
48   , /*decltype(_impl_.len_)*/0u
49   , /*decltype(_impl_.copied_)*/0u} {}
50 struct Ext4DaWriteEndFtraceEventDefaultTypeInternal {
Ext4DaWriteEndFtraceEventDefaultTypeInternalperfetto::protos::Ext4DaWriteEndFtraceEventDefaultTypeInternal51   PROTOBUF_CONSTEXPR Ext4DaWriteEndFtraceEventDefaultTypeInternal()
52       : _instance(::_pbi::ConstantInitialized{}) {}
~Ext4DaWriteEndFtraceEventDefaultTypeInternalperfetto::protos::Ext4DaWriteEndFtraceEventDefaultTypeInternal53   ~Ext4DaWriteEndFtraceEventDefaultTypeInternal() {}
54   union {  // NOLINT(misc-non-private-member-variables-in-classes)
55     Ext4DaWriteEndFtraceEvent _instance;
56   };
57 };
58 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Ext4DaWriteEndFtraceEventDefaultTypeInternal _Ext4DaWriteEndFtraceEvent_default_instance_;
Ext4SyncFileEnterFtraceEvent(::_pbi::ConstantInitialized)59 PROTOBUF_CONSTEXPR Ext4SyncFileEnterFtraceEvent::Ext4SyncFileEnterFtraceEvent(
60     ::_pbi::ConstantInitialized): _impl_{
61     /*decltype(_impl_._has_bits_)*/{}
62   , /*decltype(_impl_._cached_size_)*/{}
63   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
64   , /*decltype(_impl_.ino_)*/::uint64_t{0u}
65   , /*decltype(_impl_.parent_)*/::uint64_t{0u}
66   , /*decltype(_impl_.datasync_)*/0} {}
67 struct Ext4SyncFileEnterFtraceEventDefaultTypeInternal {
Ext4SyncFileEnterFtraceEventDefaultTypeInternalperfetto::protos::Ext4SyncFileEnterFtraceEventDefaultTypeInternal68   PROTOBUF_CONSTEXPR Ext4SyncFileEnterFtraceEventDefaultTypeInternal()
69       : _instance(::_pbi::ConstantInitialized{}) {}
~Ext4SyncFileEnterFtraceEventDefaultTypeInternalperfetto::protos::Ext4SyncFileEnterFtraceEventDefaultTypeInternal70   ~Ext4SyncFileEnterFtraceEventDefaultTypeInternal() {}
71   union {  // NOLINT(misc-non-private-member-variables-in-classes)
72     Ext4SyncFileEnterFtraceEvent _instance;
73   };
74 };
75 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Ext4SyncFileEnterFtraceEventDefaultTypeInternal _Ext4SyncFileEnterFtraceEvent_default_instance_;
Ext4SyncFileExitFtraceEvent(::_pbi::ConstantInitialized)76 PROTOBUF_CONSTEXPR Ext4SyncFileExitFtraceEvent::Ext4SyncFileExitFtraceEvent(
77     ::_pbi::ConstantInitialized): _impl_{
78     /*decltype(_impl_._has_bits_)*/{}
79   , /*decltype(_impl_._cached_size_)*/{}
80   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
81   , /*decltype(_impl_.ino_)*/::uint64_t{0u}
82   , /*decltype(_impl_.ret_)*/0} {}
83 struct Ext4SyncFileExitFtraceEventDefaultTypeInternal {
Ext4SyncFileExitFtraceEventDefaultTypeInternalperfetto::protos::Ext4SyncFileExitFtraceEventDefaultTypeInternal84   PROTOBUF_CONSTEXPR Ext4SyncFileExitFtraceEventDefaultTypeInternal()
85       : _instance(::_pbi::ConstantInitialized{}) {}
~Ext4SyncFileExitFtraceEventDefaultTypeInternalperfetto::protos::Ext4SyncFileExitFtraceEventDefaultTypeInternal86   ~Ext4SyncFileExitFtraceEventDefaultTypeInternal() {}
87   union {  // NOLINT(misc-non-private-member-variables-in-classes)
88     Ext4SyncFileExitFtraceEvent _instance;
89   };
90 };
91 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Ext4SyncFileExitFtraceEventDefaultTypeInternal _Ext4SyncFileExitFtraceEvent_default_instance_;
Ext4AllocDaBlocksFtraceEvent(::_pbi::ConstantInitialized)92 PROTOBUF_CONSTEXPR Ext4AllocDaBlocksFtraceEvent::Ext4AllocDaBlocksFtraceEvent(
93     ::_pbi::ConstantInitialized): _impl_{
94     /*decltype(_impl_._has_bits_)*/{}
95   , /*decltype(_impl_._cached_size_)*/{}
96   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
97   , /*decltype(_impl_.ino_)*/::uint64_t{0u}
98   , /*decltype(_impl_.data_blocks_)*/0u
99   , /*decltype(_impl_.meta_blocks_)*/0u} {}
100 struct Ext4AllocDaBlocksFtraceEventDefaultTypeInternal {
Ext4AllocDaBlocksFtraceEventDefaultTypeInternalperfetto::protos::Ext4AllocDaBlocksFtraceEventDefaultTypeInternal101   PROTOBUF_CONSTEXPR Ext4AllocDaBlocksFtraceEventDefaultTypeInternal()
102       : _instance(::_pbi::ConstantInitialized{}) {}
~Ext4AllocDaBlocksFtraceEventDefaultTypeInternalperfetto::protos::Ext4AllocDaBlocksFtraceEventDefaultTypeInternal103   ~Ext4AllocDaBlocksFtraceEventDefaultTypeInternal() {}
104   union {  // NOLINT(misc-non-private-member-variables-in-classes)
105     Ext4AllocDaBlocksFtraceEvent _instance;
106   };
107 };
108 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Ext4AllocDaBlocksFtraceEventDefaultTypeInternal _Ext4AllocDaBlocksFtraceEvent_default_instance_;
Ext4AllocateBlocksFtraceEvent(::_pbi::ConstantInitialized)109 PROTOBUF_CONSTEXPR Ext4AllocateBlocksFtraceEvent::Ext4AllocateBlocksFtraceEvent(
110     ::_pbi::ConstantInitialized): _impl_{
111     /*decltype(_impl_._has_bits_)*/{}
112   , /*decltype(_impl_._cached_size_)*/{}
113   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
114   , /*decltype(_impl_.ino_)*/::uint64_t{0u}
115   , /*decltype(_impl_.block_)*/::uint64_t{0u}
116   , /*decltype(_impl_.len_)*/0u
117   , /*decltype(_impl_.logical_)*/0u
118   , /*decltype(_impl_.lleft_)*/0u
119   , /*decltype(_impl_.lright_)*/0u
120   , /*decltype(_impl_.goal_)*/::uint64_t{0u}
121   , /*decltype(_impl_.pleft_)*/::uint64_t{0u}
122   , /*decltype(_impl_.pright_)*/::uint64_t{0u}
123   , /*decltype(_impl_.flags_)*/0u} {}
124 struct Ext4AllocateBlocksFtraceEventDefaultTypeInternal {
Ext4AllocateBlocksFtraceEventDefaultTypeInternalperfetto::protos::Ext4AllocateBlocksFtraceEventDefaultTypeInternal125   PROTOBUF_CONSTEXPR Ext4AllocateBlocksFtraceEventDefaultTypeInternal()
126       : _instance(::_pbi::ConstantInitialized{}) {}
~Ext4AllocateBlocksFtraceEventDefaultTypeInternalperfetto::protos::Ext4AllocateBlocksFtraceEventDefaultTypeInternal127   ~Ext4AllocateBlocksFtraceEventDefaultTypeInternal() {}
128   union {  // NOLINT(misc-non-private-member-variables-in-classes)
129     Ext4AllocateBlocksFtraceEvent _instance;
130   };
131 };
132 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Ext4AllocateBlocksFtraceEventDefaultTypeInternal _Ext4AllocateBlocksFtraceEvent_default_instance_;
Ext4AllocateInodeFtraceEvent(::_pbi::ConstantInitialized)133 PROTOBUF_CONSTEXPR Ext4AllocateInodeFtraceEvent::Ext4AllocateInodeFtraceEvent(
134     ::_pbi::ConstantInitialized): _impl_{
135     /*decltype(_impl_._has_bits_)*/{}
136   , /*decltype(_impl_._cached_size_)*/{}
137   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
138   , /*decltype(_impl_.ino_)*/::uint64_t{0u}
139   , /*decltype(_impl_.dir_)*/::uint64_t{0u}
140   , /*decltype(_impl_.mode_)*/0u} {}
141 struct Ext4AllocateInodeFtraceEventDefaultTypeInternal {
Ext4AllocateInodeFtraceEventDefaultTypeInternalperfetto::protos::Ext4AllocateInodeFtraceEventDefaultTypeInternal142   PROTOBUF_CONSTEXPR Ext4AllocateInodeFtraceEventDefaultTypeInternal()
143       : _instance(::_pbi::ConstantInitialized{}) {}
~Ext4AllocateInodeFtraceEventDefaultTypeInternalperfetto::protos::Ext4AllocateInodeFtraceEventDefaultTypeInternal144   ~Ext4AllocateInodeFtraceEventDefaultTypeInternal() {}
145   union {  // NOLINT(misc-non-private-member-variables-in-classes)
146     Ext4AllocateInodeFtraceEvent _instance;
147   };
148 };
149 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Ext4AllocateInodeFtraceEventDefaultTypeInternal _Ext4AllocateInodeFtraceEvent_default_instance_;
Ext4BeginOrderedTruncateFtraceEvent(::_pbi::ConstantInitialized)150 PROTOBUF_CONSTEXPR Ext4BeginOrderedTruncateFtraceEvent::Ext4BeginOrderedTruncateFtraceEvent(
151     ::_pbi::ConstantInitialized): _impl_{
152     /*decltype(_impl_._has_bits_)*/{}
153   , /*decltype(_impl_._cached_size_)*/{}
154   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
155   , /*decltype(_impl_.ino_)*/::uint64_t{0u}
156   , /*decltype(_impl_.new_size_)*/::int64_t{0}} {}
157 struct Ext4BeginOrderedTruncateFtraceEventDefaultTypeInternal {
Ext4BeginOrderedTruncateFtraceEventDefaultTypeInternalperfetto::protos::Ext4BeginOrderedTruncateFtraceEventDefaultTypeInternal158   PROTOBUF_CONSTEXPR Ext4BeginOrderedTruncateFtraceEventDefaultTypeInternal()
159       : _instance(::_pbi::ConstantInitialized{}) {}
~Ext4BeginOrderedTruncateFtraceEventDefaultTypeInternalperfetto::protos::Ext4BeginOrderedTruncateFtraceEventDefaultTypeInternal160   ~Ext4BeginOrderedTruncateFtraceEventDefaultTypeInternal() {}
161   union {  // NOLINT(misc-non-private-member-variables-in-classes)
162     Ext4BeginOrderedTruncateFtraceEvent _instance;
163   };
164 };
165 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Ext4BeginOrderedTruncateFtraceEventDefaultTypeInternal _Ext4BeginOrderedTruncateFtraceEvent_default_instance_;
Ext4CollapseRangeFtraceEvent(::_pbi::ConstantInitialized)166 PROTOBUF_CONSTEXPR Ext4CollapseRangeFtraceEvent::Ext4CollapseRangeFtraceEvent(
167     ::_pbi::ConstantInitialized): _impl_{
168     /*decltype(_impl_._has_bits_)*/{}
169   , /*decltype(_impl_._cached_size_)*/{}
170   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
171   , /*decltype(_impl_.ino_)*/::uint64_t{0u}
172   , /*decltype(_impl_.offset_)*/::int64_t{0}
173   , /*decltype(_impl_.len_)*/::int64_t{0}} {}
174 struct Ext4CollapseRangeFtraceEventDefaultTypeInternal {
Ext4CollapseRangeFtraceEventDefaultTypeInternalperfetto::protos::Ext4CollapseRangeFtraceEventDefaultTypeInternal175   PROTOBUF_CONSTEXPR Ext4CollapseRangeFtraceEventDefaultTypeInternal()
176       : _instance(::_pbi::ConstantInitialized{}) {}
~Ext4CollapseRangeFtraceEventDefaultTypeInternalperfetto::protos::Ext4CollapseRangeFtraceEventDefaultTypeInternal177   ~Ext4CollapseRangeFtraceEventDefaultTypeInternal() {}
178   union {  // NOLINT(misc-non-private-member-variables-in-classes)
179     Ext4CollapseRangeFtraceEvent _instance;
180   };
181 };
182 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Ext4CollapseRangeFtraceEventDefaultTypeInternal _Ext4CollapseRangeFtraceEvent_default_instance_;
Ext4DaReleaseSpaceFtraceEvent(::_pbi::ConstantInitialized)183 PROTOBUF_CONSTEXPR Ext4DaReleaseSpaceFtraceEvent::Ext4DaReleaseSpaceFtraceEvent(
184     ::_pbi::ConstantInitialized): _impl_{
185     /*decltype(_impl_._has_bits_)*/{}
186   , /*decltype(_impl_._cached_size_)*/{}
187   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
188   , /*decltype(_impl_.ino_)*/::uint64_t{0u}
189   , /*decltype(_impl_.i_blocks_)*/::uint64_t{0u}
190   , /*decltype(_impl_.freed_blocks_)*/0
191   , /*decltype(_impl_.reserved_data_blocks_)*/0
192   , /*decltype(_impl_.reserved_meta_blocks_)*/0
193   , /*decltype(_impl_.allocated_meta_blocks_)*/0
194   , /*decltype(_impl_.mode_)*/0u} {}
195 struct Ext4DaReleaseSpaceFtraceEventDefaultTypeInternal {
Ext4DaReleaseSpaceFtraceEventDefaultTypeInternalperfetto::protos::Ext4DaReleaseSpaceFtraceEventDefaultTypeInternal196   PROTOBUF_CONSTEXPR Ext4DaReleaseSpaceFtraceEventDefaultTypeInternal()
197       : _instance(::_pbi::ConstantInitialized{}) {}
~Ext4DaReleaseSpaceFtraceEventDefaultTypeInternalperfetto::protos::Ext4DaReleaseSpaceFtraceEventDefaultTypeInternal198   ~Ext4DaReleaseSpaceFtraceEventDefaultTypeInternal() {}
199   union {  // NOLINT(misc-non-private-member-variables-in-classes)
200     Ext4DaReleaseSpaceFtraceEvent _instance;
201   };
202 };
203 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Ext4DaReleaseSpaceFtraceEventDefaultTypeInternal _Ext4DaReleaseSpaceFtraceEvent_default_instance_;
Ext4DaReserveSpaceFtraceEvent(::_pbi::ConstantInitialized)204 PROTOBUF_CONSTEXPR Ext4DaReserveSpaceFtraceEvent::Ext4DaReserveSpaceFtraceEvent(
205     ::_pbi::ConstantInitialized): _impl_{
206     /*decltype(_impl_._has_bits_)*/{}
207   , /*decltype(_impl_._cached_size_)*/{}
208   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
209   , /*decltype(_impl_.ino_)*/::uint64_t{0u}
210   , /*decltype(_impl_.i_blocks_)*/::uint64_t{0u}
211   , /*decltype(_impl_.reserved_data_blocks_)*/0
212   , /*decltype(_impl_.reserved_meta_blocks_)*/0
213   , /*decltype(_impl_.mode_)*/0u
214   , /*decltype(_impl_.md_needed_)*/0} {}
215 struct Ext4DaReserveSpaceFtraceEventDefaultTypeInternal {
Ext4DaReserveSpaceFtraceEventDefaultTypeInternalperfetto::protos::Ext4DaReserveSpaceFtraceEventDefaultTypeInternal216   PROTOBUF_CONSTEXPR Ext4DaReserveSpaceFtraceEventDefaultTypeInternal()
217       : _instance(::_pbi::ConstantInitialized{}) {}
~Ext4DaReserveSpaceFtraceEventDefaultTypeInternalperfetto::protos::Ext4DaReserveSpaceFtraceEventDefaultTypeInternal218   ~Ext4DaReserveSpaceFtraceEventDefaultTypeInternal() {}
219   union {  // NOLINT(misc-non-private-member-variables-in-classes)
220     Ext4DaReserveSpaceFtraceEvent _instance;
221   };
222 };
223 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Ext4DaReserveSpaceFtraceEventDefaultTypeInternal _Ext4DaReserveSpaceFtraceEvent_default_instance_;
Ext4DaUpdateReserveSpaceFtraceEvent(::_pbi::ConstantInitialized)224 PROTOBUF_CONSTEXPR Ext4DaUpdateReserveSpaceFtraceEvent::Ext4DaUpdateReserveSpaceFtraceEvent(
225     ::_pbi::ConstantInitialized): _impl_{
226     /*decltype(_impl_._has_bits_)*/{}
227   , /*decltype(_impl_._cached_size_)*/{}
228   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
229   , /*decltype(_impl_.ino_)*/::uint64_t{0u}
230   , /*decltype(_impl_.i_blocks_)*/::uint64_t{0u}
231   , /*decltype(_impl_.used_blocks_)*/0
232   , /*decltype(_impl_.reserved_data_blocks_)*/0
233   , /*decltype(_impl_.reserved_meta_blocks_)*/0
234   , /*decltype(_impl_.allocated_meta_blocks_)*/0
235   , /*decltype(_impl_.quota_claim_)*/0
236   , /*decltype(_impl_.mode_)*/0u} {}
237 struct Ext4DaUpdateReserveSpaceFtraceEventDefaultTypeInternal {
Ext4DaUpdateReserveSpaceFtraceEventDefaultTypeInternalperfetto::protos::Ext4DaUpdateReserveSpaceFtraceEventDefaultTypeInternal238   PROTOBUF_CONSTEXPR Ext4DaUpdateReserveSpaceFtraceEventDefaultTypeInternal()
239       : _instance(::_pbi::ConstantInitialized{}) {}
~Ext4DaUpdateReserveSpaceFtraceEventDefaultTypeInternalperfetto::protos::Ext4DaUpdateReserveSpaceFtraceEventDefaultTypeInternal240   ~Ext4DaUpdateReserveSpaceFtraceEventDefaultTypeInternal() {}
241   union {  // NOLINT(misc-non-private-member-variables-in-classes)
242     Ext4DaUpdateReserveSpaceFtraceEvent _instance;
243   };
244 };
245 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Ext4DaUpdateReserveSpaceFtraceEventDefaultTypeInternal _Ext4DaUpdateReserveSpaceFtraceEvent_default_instance_;
Ext4DaWritePagesFtraceEvent(::_pbi::ConstantInitialized)246 PROTOBUF_CONSTEXPR Ext4DaWritePagesFtraceEvent::Ext4DaWritePagesFtraceEvent(
247     ::_pbi::ConstantInitialized): _impl_{
248     /*decltype(_impl_._has_bits_)*/{}
249   , /*decltype(_impl_._cached_size_)*/{}
250   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
251   , /*decltype(_impl_.ino_)*/::uint64_t{0u}
252   , /*decltype(_impl_.first_page_)*/::uint64_t{0u}
253   , /*decltype(_impl_.nr_to_write_)*/::int64_t{0}
254   , /*decltype(_impl_.b_blocknr_)*/::uint64_t{0u}
255   , /*decltype(_impl_.sync_mode_)*/0
256   , /*decltype(_impl_.b_size_)*/0u
257   , /*decltype(_impl_.b_state_)*/0u
258   , /*decltype(_impl_.io_done_)*/0
259   , /*decltype(_impl_.pages_written_)*/0} {}
260 struct Ext4DaWritePagesFtraceEventDefaultTypeInternal {
Ext4DaWritePagesFtraceEventDefaultTypeInternalperfetto::protos::Ext4DaWritePagesFtraceEventDefaultTypeInternal261   PROTOBUF_CONSTEXPR Ext4DaWritePagesFtraceEventDefaultTypeInternal()
262       : _instance(::_pbi::ConstantInitialized{}) {}
~Ext4DaWritePagesFtraceEventDefaultTypeInternalperfetto::protos::Ext4DaWritePagesFtraceEventDefaultTypeInternal263   ~Ext4DaWritePagesFtraceEventDefaultTypeInternal() {}
264   union {  // NOLINT(misc-non-private-member-variables-in-classes)
265     Ext4DaWritePagesFtraceEvent _instance;
266   };
267 };
268 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Ext4DaWritePagesFtraceEventDefaultTypeInternal _Ext4DaWritePagesFtraceEvent_default_instance_;
Ext4DaWritePagesExtentFtraceEvent(::_pbi::ConstantInitialized)269 PROTOBUF_CONSTEXPR Ext4DaWritePagesExtentFtraceEvent::Ext4DaWritePagesExtentFtraceEvent(
270     ::_pbi::ConstantInitialized): _impl_{
271     /*decltype(_impl_._has_bits_)*/{}
272   , /*decltype(_impl_._cached_size_)*/{}
273   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
274   , /*decltype(_impl_.ino_)*/::uint64_t{0u}
275   , /*decltype(_impl_.lblk_)*/::uint64_t{0u}
276   , /*decltype(_impl_.len_)*/0u
277   , /*decltype(_impl_.flags_)*/0u} {}
278 struct Ext4DaWritePagesExtentFtraceEventDefaultTypeInternal {
Ext4DaWritePagesExtentFtraceEventDefaultTypeInternalperfetto::protos::Ext4DaWritePagesExtentFtraceEventDefaultTypeInternal279   PROTOBUF_CONSTEXPR Ext4DaWritePagesExtentFtraceEventDefaultTypeInternal()
280       : _instance(::_pbi::ConstantInitialized{}) {}
~Ext4DaWritePagesExtentFtraceEventDefaultTypeInternalperfetto::protos::Ext4DaWritePagesExtentFtraceEventDefaultTypeInternal281   ~Ext4DaWritePagesExtentFtraceEventDefaultTypeInternal() {}
282   union {  // NOLINT(misc-non-private-member-variables-in-classes)
283     Ext4DaWritePagesExtentFtraceEvent _instance;
284   };
285 };
286 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Ext4DaWritePagesExtentFtraceEventDefaultTypeInternal _Ext4DaWritePagesExtentFtraceEvent_default_instance_;
Ext4DirectIOEnterFtraceEvent(::_pbi::ConstantInitialized)287 PROTOBUF_CONSTEXPR Ext4DirectIOEnterFtraceEvent::Ext4DirectIOEnterFtraceEvent(
288     ::_pbi::ConstantInitialized): _impl_{
289     /*decltype(_impl_._has_bits_)*/{}
290   , /*decltype(_impl_._cached_size_)*/{}
291   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
292   , /*decltype(_impl_.ino_)*/::uint64_t{0u}
293   , /*decltype(_impl_.pos_)*/::int64_t{0}
294   , /*decltype(_impl_.len_)*/::uint64_t{0u}
295   , /*decltype(_impl_.rw_)*/0} {}
296 struct Ext4DirectIOEnterFtraceEventDefaultTypeInternal {
Ext4DirectIOEnterFtraceEventDefaultTypeInternalperfetto::protos::Ext4DirectIOEnterFtraceEventDefaultTypeInternal297   PROTOBUF_CONSTEXPR Ext4DirectIOEnterFtraceEventDefaultTypeInternal()
298       : _instance(::_pbi::ConstantInitialized{}) {}
~Ext4DirectIOEnterFtraceEventDefaultTypeInternalperfetto::protos::Ext4DirectIOEnterFtraceEventDefaultTypeInternal299   ~Ext4DirectIOEnterFtraceEventDefaultTypeInternal() {}
300   union {  // NOLINT(misc-non-private-member-variables-in-classes)
301     Ext4DirectIOEnterFtraceEvent _instance;
302   };
303 };
304 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Ext4DirectIOEnterFtraceEventDefaultTypeInternal _Ext4DirectIOEnterFtraceEvent_default_instance_;
Ext4DirectIOExitFtraceEvent(::_pbi::ConstantInitialized)305 PROTOBUF_CONSTEXPR Ext4DirectIOExitFtraceEvent::Ext4DirectIOExitFtraceEvent(
306     ::_pbi::ConstantInitialized): _impl_{
307     /*decltype(_impl_._has_bits_)*/{}
308   , /*decltype(_impl_._cached_size_)*/{}
309   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
310   , /*decltype(_impl_.ino_)*/::uint64_t{0u}
311   , /*decltype(_impl_.pos_)*/::int64_t{0}
312   , /*decltype(_impl_.len_)*/::uint64_t{0u}
313   , /*decltype(_impl_.rw_)*/0
314   , /*decltype(_impl_.ret_)*/0} {}
315 struct Ext4DirectIOExitFtraceEventDefaultTypeInternal {
Ext4DirectIOExitFtraceEventDefaultTypeInternalperfetto::protos::Ext4DirectIOExitFtraceEventDefaultTypeInternal316   PROTOBUF_CONSTEXPR Ext4DirectIOExitFtraceEventDefaultTypeInternal()
317       : _instance(::_pbi::ConstantInitialized{}) {}
~Ext4DirectIOExitFtraceEventDefaultTypeInternalperfetto::protos::Ext4DirectIOExitFtraceEventDefaultTypeInternal318   ~Ext4DirectIOExitFtraceEventDefaultTypeInternal() {}
319   union {  // NOLINT(misc-non-private-member-variables-in-classes)
320     Ext4DirectIOExitFtraceEvent _instance;
321   };
322 };
323 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Ext4DirectIOExitFtraceEventDefaultTypeInternal _Ext4DirectIOExitFtraceEvent_default_instance_;
Ext4DiscardBlocksFtraceEvent(::_pbi::ConstantInitialized)324 PROTOBUF_CONSTEXPR Ext4DiscardBlocksFtraceEvent::Ext4DiscardBlocksFtraceEvent(
325     ::_pbi::ConstantInitialized): _impl_{
326     /*decltype(_impl_._has_bits_)*/{}
327   , /*decltype(_impl_._cached_size_)*/{}
328   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
329   , /*decltype(_impl_.blk_)*/::uint64_t{0u}
330   , /*decltype(_impl_.count_)*/::uint64_t{0u}} {}
331 struct Ext4DiscardBlocksFtraceEventDefaultTypeInternal {
Ext4DiscardBlocksFtraceEventDefaultTypeInternalperfetto::protos::Ext4DiscardBlocksFtraceEventDefaultTypeInternal332   PROTOBUF_CONSTEXPR Ext4DiscardBlocksFtraceEventDefaultTypeInternal()
333       : _instance(::_pbi::ConstantInitialized{}) {}
~Ext4DiscardBlocksFtraceEventDefaultTypeInternalperfetto::protos::Ext4DiscardBlocksFtraceEventDefaultTypeInternal334   ~Ext4DiscardBlocksFtraceEventDefaultTypeInternal() {}
335   union {  // NOLINT(misc-non-private-member-variables-in-classes)
336     Ext4DiscardBlocksFtraceEvent _instance;
337   };
338 };
339 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Ext4DiscardBlocksFtraceEventDefaultTypeInternal _Ext4DiscardBlocksFtraceEvent_default_instance_;
Ext4DiscardPreallocationsFtraceEvent(::_pbi::ConstantInitialized)340 PROTOBUF_CONSTEXPR Ext4DiscardPreallocationsFtraceEvent::Ext4DiscardPreallocationsFtraceEvent(
341     ::_pbi::ConstantInitialized): _impl_{
342     /*decltype(_impl_._has_bits_)*/{}
343   , /*decltype(_impl_._cached_size_)*/{}
344   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
345   , /*decltype(_impl_.ino_)*/::uint64_t{0u}
346   , /*decltype(_impl_.len_)*/0u
347   , /*decltype(_impl_.needed_)*/0u} {}
348 struct Ext4DiscardPreallocationsFtraceEventDefaultTypeInternal {
Ext4DiscardPreallocationsFtraceEventDefaultTypeInternalperfetto::protos::Ext4DiscardPreallocationsFtraceEventDefaultTypeInternal349   PROTOBUF_CONSTEXPR Ext4DiscardPreallocationsFtraceEventDefaultTypeInternal()
350       : _instance(::_pbi::ConstantInitialized{}) {}
~Ext4DiscardPreallocationsFtraceEventDefaultTypeInternalperfetto::protos::Ext4DiscardPreallocationsFtraceEventDefaultTypeInternal351   ~Ext4DiscardPreallocationsFtraceEventDefaultTypeInternal() {}
352   union {  // NOLINT(misc-non-private-member-variables-in-classes)
353     Ext4DiscardPreallocationsFtraceEvent _instance;
354   };
355 };
356 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Ext4DiscardPreallocationsFtraceEventDefaultTypeInternal _Ext4DiscardPreallocationsFtraceEvent_default_instance_;
Ext4DropInodeFtraceEvent(::_pbi::ConstantInitialized)357 PROTOBUF_CONSTEXPR Ext4DropInodeFtraceEvent::Ext4DropInodeFtraceEvent(
358     ::_pbi::ConstantInitialized): _impl_{
359     /*decltype(_impl_._has_bits_)*/{}
360   , /*decltype(_impl_._cached_size_)*/{}
361   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
362   , /*decltype(_impl_.ino_)*/::uint64_t{0u}
363   , /*decltype(_impl_.drop_)*/0} {}
364 struct Ext4DropInodeFtraceEventDefaultTypeInternal {
Ext4DropInodeFtraceEventDefaultTypeInternalperfetto::protos::Ext4DropInodeFtraceEventDefaultTypeInternal365   PROTOBUF_CONSTEXPR Ext4DropInodeFtraceEventDefaultTypeInternal()
366       : _instance(::_pbi::ConstantInitialized{}) {}
~Ext4DropInodeFtraceEventDefaultTypeInternalperfetto::protos::Ext4DropInodeFtraceEventDefaultTypeInternal367   ~Ext4DropInodeFtraceEventDefaultTypeInternal() {}
368   union {  // NOLINT(misc-non-private-member-variables-in-classes)
369     Ext4DropInodeFtraceEvent _instance;
370   };
371 };
372 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Ext4DropInodeFtraceEventDefaultTypeInternal _Ext4DropInodeFtraceEvent_default_instance_;
Ext4EsCacheExtentFtraceEvent(::_pbi::ConstantInitialized)373 PROTOBUF_CONSTEXPR Ext4EsCacheExtentFtraceEvent::Ext4EsCacheExtentFtraceEvent(
374     ::_pbi::ConstantInitialized): _impl_{
375     /*decltype(_impl_._has_bits_)*/{}
376   , /*decltype(_impl_._cached_size_)*/{}
377   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
378   , /*decltype(_impl_.ino_)*/::uint64_t{0u}
379   , /*decltype(_impl_.lblk_)*/0u
380   , /*decltype(_impl_.len_)*/0u
381   , /*decltype(_impl_.pblk_)*/::uint64_t{0u}
382   , /*decltype(_impl_.status_)*/0u} {}
383 struct Ext4EsCacheExtentFtraceEventDefaultTypeInternal {
Ext4EsCacheExtentFtraceEventDefaultTypeInternalperfetto::protos::Ext4EsCacheExtentFtraceEventDefaultTypeInternal384   PROTOBUF_CONSTEXPR Ext4EsCacheExtentFtraceEventDefaultTypeInternal()
385       : _instance(::_pbi::ConstantInitialized{}) {}
~Ext4EsCacheExtentFtraceEventDefaultTypeInternalperfetto::protos::Ext4EsCacheExtentFtraceEventDefaultTypeInternal386   ~Ext4EsCacheExtentFtraceEventDefaultTypeInternal() {}
387   union {  // NOLINT(misc-non-private-member-variables-in-classes)
388     Ext4EsCacheExtentFtraceEvent _instance;
389   };
390 };
391 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Ext4EsCacheExtentFtraceEventDefaultTypeInternal _Ext4EsCacheExtentFtraceEvent_default_instance_;
Ext4EsFindDelayedExtentRangeEnterFtraceEvent(::_pbi::ConstantInitialized)392 PROTOBUF_CONSTEXPR Ext4EsFindDelayedExtentRangeEnterFtraceEvent::Ext4EsFindDelayedExtentRangeEnterFtraceEvent(
393     ::_pbi::ConstantInitialized): _impl_{
394     /*decltype(_impl_._has_bits_)*/{}
395   , /*decltype(_impl_._cached_size_)*/{}
396   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
397   , /*decltype(_impl_.ino_)*/::uint64_t{0u}
398   , /*decltype(_impl_.lblk_)*/0u} {}
399 struct Ext4EsFindDelayedExtentRangeEnterFtraceEventDefaultTypeInternal {
Ext4EsFindDelayedExtentRangeEnterFtraceEventDefaultTypeInternalperfetto::protos::Ext4EsFindDelayedExtentRangeEnterFtraceEventDefaultTypeInternal400   PROTOBUF_CONSTEXPR Ext4EsFindDelayedExtentRangeEnterFtraceEventDefaultTypeInternal()
401       : _instance(::_pbi::ConstantInitialized{}) {}
~Ext4EsFindDelayedExtentRangeEnterFtraceEventDefaultTypeInternalperfetto::protos::Ext4EsFindDelayedExtentRangeEnterFtraceEventDefaultTypeInternal402   ~Ext4EsFindDelayedExtentRangeEnterFtraceEventDefaultTypeInternal() {}
403   union {  // NOLINT(misc-non-private-member-variables-in-classes)
404     Ext4EsFindDelayedExtentRangeEnterFtraceEvent _instance;
405   };
406 };
407 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Ext4EsFindDelayedExtentRangeEnterFtraceEventDefaultTypeInternal _Ext4EsFindDelayedExtentRangeEnterFtraceEvent_default_instance_;
Ext4EsFindDelayedExtentRangeExitFtraceEvent(::_pbi::ConstantInitialized)408 PROTOBUF_CONSTEXPR Ext4EsFindDelayedExtentRangeExitFtraceEvent::Ext4EsFindDelayedExtentRangeExitFtraceEvent(
409     ::_pbi::ConstantInitialized): _impl_{
410     /*decltype(_impl_._has_bits_)*/{}
411   , /*decltype(_impl_._cached_size_)*/{}
412   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
413   , /*decltype(_impl_.ino_)*/::uint64_t{0u}
414   , /*decltype(_impl_.lblk_)*/0u
415   , /*decltype(_impl_.len_)*/0u
416   , /*decltype(_impl_.pblk_)*/::uint64_t{0u}
417   , /*decltype(_impl_.status_)*/::uint64_t{0u}} {}
418 struct Ext4EsFindDelayedExtentRangeExitFtraceEventDefaultTypeInternal {
Ext4EsFindDelayedExtentRangeExitFtraceEventDefaultTypeInternalperfetto::protos::Ext4EsFindDelayedExtentRangeExitFtraceEventDefaultTypeInternal419   PROTOBUF_CONSTEXPR Ext4EsFindDelayedExtentRangeExitFtraceEventDefaultTypeInternal()
420       : _instance(::_pbi::ConstantInitialized{}) {}
~Ext4EsFindDelayedExtentRangeExitFtraceEventDefaultTypeInternalperfetto::protos::Ext4EsFindDelayedExtentRangeExitFtraceEventDefaultTypeInternal421   ~Ext4EsFindDelayedExtentRangeExitFtraceEventDefaultTypeInternal() {}
422   union {  // NOLINT(misc-non-private-member-variables-in-classes)
423     Ext4EsFindDelayedExtentRangeExitFtraceEvent _instance;
424   };
425 };
426 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Ext4EsFindDelayedExtentRangeExitFtraceEventDefaultTypeInternal _Ext4EsFindDelayedExtentRangeExitFtraceEvent_default_instance_;
Ext4EsInsertExtentFtraceEvent(::_pbi::ConstantInitialized)427 PROTOBUF_CONSTEXPR Ext4EsInsertExtentFtraceEvent::Ext4EsInsertExtentFtraceEvent(
428     ::_pbi::ConstantInitialized): _impl_{
429     /*decltype(_impl_._has_bits_)*/{}
430   , /*decltype(_impl_._cached_size_)*/{}
431   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
432   , /*decltype(_impl_.ino_)*/::uint64_t{0u}
433   , /*decltype(_impl_.lblk_)*/0u
434   , /*decltype(_impl_.len_)*/0u
435   , /*decltype(_impl_.pblk_)*/::uint64_t{0u}
436   , /*decltype(_impl_.status_)*/::uint64_t{0u}} {}
437 struct Ext4EsInsertExtentFtraceEventDefaultTypeInternal {
Ext4EsInsertExtentFtraceEventDefaultTypeInternalperfetto::protos::Ext4EsInsertExtentFtraceEventDefaultTypeInternal438   PROTOBUF_CONSTEXPR Ext4EsInsertExtentFtraceEventDefaultTypeInternal()
439       : _instance(::_pbi::ConstantInitialized{}) {}
~Ext4EsInsertExtentFtraceEventDefaultTypeInternalperfetto::protos::Ext4EsInsertExtentFtraceEventDefaultTypeInternal440   ~Ext4EsInsertExtentFtraceEventDefaultTypeInternal() {}
441   union {  // NOLINT(misc-non-private-member-variables-in-classes)
442     Ext4EsInsertExtentFtraceEvent _instance;
443   };
444 };
445 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Ext4EsInsertExtentFtraceEventDefaultTypeInternal _Ext4EsInsertExtentFtraceEvent_default_instance_;
Ext4EsLookupExtentEnterFtraceEvent(::_pbi::ConstantInitialized)446 PROTOBUF_CONSTEXPR Ext4EsLookupExtentEnterFtraceEvent::Ext4EsLookupExtentEnterFtraceEvent(
447     ::_pbi::ConstantInitialized): _impl_{
448     /*decltype(_impl_._has_bits_)*/{}
449   , /*decltype(_impl_._cached_size_)*/{}
450   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
451   , /*decltype(_impl_.ino_)*/::uint64_t{0u}
452   , /*decltype(_impl_.lblk_)*/0u} {}
453 struct Ext4EsLookupExtentEnterFtraceEventDefaultTypeInternal {
Ext4EsLookupExtentEnterFtraceEventDefaultTypeInternalperfetto::protos::Ext4EsLookupExtentEnterFtraceEventDefaultTypeInternal454   PROTOBUF_CONSTEXPR Ext4EsLookupExtentEnterFtraceEventDefaultTypeInternal()
455       : _instance(::_pbi::ConstantInitialized{}) {}
~Ext4EsLookupExtentEnterFtraceEventDefaultTypeInternalperfetto::protos::Ext4EsLookupExtentEnterFtraceEventDefaultTypeInternal456   ~Ext4EsLookupExtentEnterFtraceEventDefaultTypeInternal() {}
457   union {  // NOLINT(misc-non-private-member-variables-in-classes)
458     Ext4EsLookupExtentEnterFtraceEvent _instance;
459   };
460 };
461 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Ext4EsLookupExtentEnterFtraceEventDefaultTypeInternal _Ext4EsLookupExtentEnterFtraceEvent_default_instance_;
Ext4EsLookupExtentExitFtraceEvent(::_pbi::ConstantInitialized)462 PROTOBUF_CONSTEXPR Ext4EsLookupExtentExitFtraceEvent::Ext4EsLookupExtentExitFtraceEvent(
463     ::_pbi::ConstantInitialized): _impl_{
464     /*decltype(_impl_._has_bits_)*/{}
465   , /*decltype(_impl_._cached_size_)*/{}
466   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
467   , /*decltype(_impl_.ino_)*/::uint64_t{0u}
468   , /*decltype(_impl_.lblk_)*/0u
469   , /*decltype(_impl_.len_)*/0u
470   , /*decltype(_impl_.pblk_)*/::uint64_t{0u}
471   , /*decltype(_impl_.status_)*/::uint64_t{0u}
472   , /*decltype(_impl_.found_)*/0} {}
473 struct Ext4EsLookupExtentExitFtraceEventDefaultTypeInternal {
Ext4EsLookupExtentExitFtraceEventDefaultTypeInternalperfetto::protos::Ext4EsLookupExtentExitFtraceEventDefaultTypeInternal474   PROTOBUF_CONSTEXPR Ext4EsLookupExtentExitFtraceEventDefaultTypeInternal()
475       : _instance(::_pbi::ConstantInitialized{}) {}
~Ext4EsLookupExtentExitFtraceEventDefaultTypeInternalperfetto::protos::Ext4EsLookupExtentExitFtraceEventDefaultTypeInternal476   ~Ext4EsLookupExtentExitFtraceEventDefaultTypeInternal() {}
477   union {  // NOLINT(misc-non-private-member-variables-in-classes)
478     Ext4EsLookupExtentExitFtraceEvent _instance;
479   };
480 };
481 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Ext4EsLookupExtentExitFtraceEventDefaultTypeInternal _Ext4EsLookupExtentExitFtraceEvent_default_instance_;
Ext4EsRemoveExtentFtraceEvent(::_pbi::ConstantInitialized)482 PROTOBUF_CONSTEXPR Ext4EsRemoveExtentFtraceEvent::Ext4EsRemoveExtentFtraceEvent(
483     ::_pbi::ConstantInitialized): _impl_{
484     /*decltype(_impl_._has_bits_)*/{}
485   , /*decltype(_impl_._cached_size_)*/{}
486   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
487   , /*decltype(_impl_.ino_)*/::uint64_t{0u}
488   , /*decltype(_impl_.lblk_)*/::int64_t{0}
489   , /*decltype(_impl_.len_)*/::int64_t{0}} {}
490 struct Ext4EsRemoveExtentFtraceEventDefaultTypeInternal {
Ext4EsRemoveExtentFtraceEventDefaultTypeInternalperfetto::protos::Ext4EsRemoveExtentFtraceEventDefaultTypeInternal491   PROTOBUF_CONSTEXPR Ext4EsRemoveExtentFtraceEventDefaultTypeInternal()
492       : _instance(::_pbi::ConstantInitialized{}) {}
~Ext4EsRemoveExtentFtraceEventDefaultTypeInternalperfetto::protos::Ext4EsRemoveExtentFtraceEventDefaultTypeInternal493   ~Ext4EsRemoveExtentFtraceEventDefaultTypeInternal() {}
494   union {  // NOLINT(misc-non-private-member-variables-in-classes)
495     Ext4EsRemoveExtentFtraceEvent _instance;
496   };
497 };
498 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Ext4EsRemoveExtentFtraceEventDefaultTypeInternal _Ext4EsRemoveExtentFtraceEvent_default_instance_;
Ext4EsShrinkFtraceEvent(::_pbi::ConstantInitialized)499 PROTOBUF_CONSTEXPR Ext4EsShrinkFtraceEvent::Ext4EsShrinkFtraceEvent(
500     ::_pbi::ConstantInitialized): _impl_{
501     /*decltype(_impl_._has_bits_)*/{}
502   , /*decltype(_impl_._cached_size_)*/{}
503   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
504   , /*decltype(_impl_.scan_time_)*/::uint64_t{0u}
505   , /*decltype(_impl_.nr_shrunk_)*/0
506   , /*decltype(_impl_.nr_skipped_)*/0
507   , /*decltype(_impl_.retried_)*/0} {}
508 struct Ext4EsShrinkFtraceEventDefaultTypeInternal {
Ext4EsShrinkFtraceEventDefaultTypeInternalperfetto::protos::Ext4EsShrinkFtraceEventDefaultTypeInternal509   PROTOBUF_CONSTEXPR Ext4EsShrinkFtraceEventDefaultTypeInternal()
510       : _instance(::_pbi::ConstantInitialized{}) {}
~Ext4EsShrinkFtraceEventDefaultTypeInternalperfetto::protos::Ext4EsShrinkFtraceEventDefaultTypeInternal511   ~Ext4EsShrinkFtraceEventDefaultTypeInternal() {}
512   union {  // NOLINT(misc-non-private-member-variables-in-classes)
513     Ext4EsShrinkFtraceEvent _instance;
514   };
515 };
516 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Ext4EsShrinkFtraceEventDefaultTypeInternal _Ext4EsShrinkFtraceEvent_default_instance_;
Ext4EsShrinkCountFtraceEvent(::_pbi::ConstantInitialized)517 PROTOBUF_CONSTEXPR Ext4EsShrinkCountFtraceEvent::Ext4EsShrinkCountFtraceEvent(
518     ::_pbi::ConstantInitialized): _impl_{
519     /*decltype(_impl_._has_bits_)*/{}
520   , /*decltype(_impl_._cached_size_)*/{}
521   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
522   , /*decltype(_impl_.nr_to_scan_)*/0
523   , /*decltype(_impl_.cache_cnt_)*/0} {}
524 struct Ext4EsShrinkCountFtraceEventDefaultTypeInternal {
Ext4EsShrinkCountFtraceEventDefaultTypeInternalperfetto::protos::Ext4EsShrinkCountFtraceEventDefaultTypeInternal525   PROTOBUF_CONSTEXPR Ext4EsShrinkCountFtraceEventDefaultTypeInternal()
526       : _instance(::_pbi::ConstantInitialized{}) {}
~Ext4EsShrinkCountFtraceEventDefaultTypeInternalperfetto::protos::Ext4EsShrinkCountFtraceEventDefaultTypeInternal527   ~Ext4EsShrinkCountFtraceEventDefaultTypeInternal() {}
528   union {  // NOLINT(misc-non-private-member-variables-in-classes)
529     Ext4EsShrinkCountFtraceEvent _instance;
530   };
531 };
532 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Ext4EsShrinkCountFtraceEventDefaultTypeInternal _Ext4EsShrinkCountFtraceEvent_default_instance_;
Ext4EsShrinkScanEnterFtraceEvent(::_pbi::ConstantInitialized)533 PROTOBUF_CONSTEXPR Ext4EsShrinkScanEnterFtraceEvent::Ext4EsShrinkScanEnterFtraceEvent(
534     ::_pbi::ConstantInitialized): _impl_{
535     /*decltype(_impl_._has_bits_)*/{}
536   , /*decltype(_impl_._cached_size_)*/{}
537   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
538   , /*decltype(_impl_.nr_to_scan_)*/0
539   , /*decltype(_impl_.cache_cnt_)*/0} {}
540 struct Ext4EsShrinkScanEnterFtraceEventDefaultTypeInternal {
Ext4EsShrinkScanEnterFtraceEventDefaultTypeInternalperfetto::protos::Ext4EsShrinkScanEnterFtraceEventDefaultTypeInternal541   PROTOBUF_CONSTEXPR Ext4EsShrinkScanEnterFtraceEventDefaultTypeInternal()
542       : _instance(::_pbi::ConstantInitialized{}) {}
~Ext4EsShrinkScanEnterFtraceEventDefaultTypeInternalperfetto::protos::Ext4EsShrinkScanEnterFtraceEventDefaultTypeInternal543   ~Ext4EsShrinkScanEnterFtraceEventDefaultTypeInternal() {}
544   union {  // NOLINT(misc-non-private-member-variables-in-classes)
545     Ext4EsShrinkScanEnterFtraceEvent _instance;
546   };
547 };
548 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Ext4EsShrinkScanEnterFtraceEventDefaultTypeInternal _Ext4EsShrinkScanEnterFtraceEvent_default_instance_;
Ext4EsShrinkScanExitFtraceEvent(::_pbi::ConstantInitialized)549 PROTOBUF_CONSTEXPR Ext4EsShrinkScanExitFtraceEvent::Ext4EsShrinkScanExitFtraceEvent(
550     ::_pbi::ConstantInitialized): _impl_{
551     /*decltype(_impl_._has_bits_)*/{}
552   , /*decltype(_impl_._cached_size_)*/{}
553   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
554   , /*decltype(_impl_.nr_shrunk_)*/0
555   , /*decltype(_impl_.cache_cnt_)*/0} {}
556 struct Ext4EsShrinkScanExitFtraceEventDefaultTypeInternal {
Ext4EsShrinkScanExitFtraceEventDefaultTypeInternalperfetto::protos::Ext4EsShrinkScanExitFtraceEventDefaultTypeInternal557   PROTOBUF_CONSTEXPR Ext4EsShrinkScanExitFtraceEventDefaultTypeInternal()
558       : _instance(::_pbi::ConstantInitialized{}) {}
~Ext4EsShrinkScanExitFtraceEventDefaultTypeInternalperfetto::protos::Ext4EsShrinkScanExitFtraceEventDefaultTypeInternal559   ~Ext4EsShrinkScanExitFtraceEventDefaultTypeInternal() {}
560   union {  // NOLINT(misc-non-private-member-variables-in-classes)
561     Ext4EsShrinkScanExitFtraceEvent _instance;
562   };
563 };
564 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Ext4EsShrinkScanExitFtraceEventDefaultTypeInternal _Ext4EsShrinkScanExitFtraceEvent_default_instance_;
Ext4EvictInodeFtraceEvent(::_pbi::ConstantInitialized)565 PROTOBUF_CONSTEXPR Ext4EvictInodeFtraceEvent::Ext4EvictInodeFtraceEvent(
566     ::_pbi::ConstantInitialized): _impl_{
567     /*decltype(_impl_._has_bits_)*/{}
568   , /*decltype(_impl_._cached_size_)*/{}
569   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
570   , /*decltype(_impl_.ino_)*/::uint64_t{0u}
571   , /*decltype(_impl_.nlink_)*/0} {}
572 struct Ext4EvictInodeFtraceEventDefaultTypeInternal {
Ext4EvictInodeFtraceEventDefaultTypeInternalperfetto::protos::Ext4EvictInodeFtraceEventDefaultTypeInternal573   PROTOBUF_CONSTEXPR Ext4EvictInodeFtraceEventDefaultTypeInternal()
574       : _instance(::_pbi::ConstantInitialized{}) {}
~Ext4EvictInodeFtraceEventDefaultTypeInternalperfetto::protos::Ext4EvictInodeFtraceEventDefaultTypeInternal575   ~Ext4EvictInodeFtraceEventDefaultTypeInternal() {}
576   union {  // NOLINT(misc-non-private-member-variables-in-classes)
577     Ext4EvictInodeFtraceEvent _instance;
578   };
579 };
580 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Ext4EvictInodeFtraceEventDefaultTypeInternal _Ext4EvictInodeFtraceEvent_default_instance_;
Ext4ExtConvertToInitializedEnterFtraceEvent(::_pbi::ConstantInitialized)581 PROTOBUF_CONSTEXPR Ext4ExtConvertToInitializedEnterFtraceEvent::Ext4ExtConvertToInitializedEnterFtraceEvent(
582     ::_pbi::ConstantInitialized): _impl_{
583     /*decltype(_impl_._has_bits_)*/{}
584   , /*decltype(_impl_._cached_size_)*/{}
585   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
586   , /*decltype(_impl_.ino_)*/::uint64_t{0u}
587   , /*decltype(_impl_.m_lblk_)*/0u
588   , /*decltype(_impl_.m_len_)*/0u
589   , /*decltype(_impl_.u_lblk_)*/0u
590   , /*decltype(_impl_.u_len_)*/0u
591   , /*decltype(_impl_.u_pblk_)*/::uint64_t{0u}} {}
592 struct Ext4ExtConvertToInitializedEnterFtraceEventDefaultTypeInternal {
Ext4ExtConvertToInitializedEnterFtraceEventDefaultTypeInternalperfetto::protos::Ext4ExtConvertToInitializedEnterFtraceEventDefaultTypeInternal593   PROTOBUF_CONSTEXPR Ext4ExtConvertToInitializedEnterFtraceEventDefaultTypeInternal()
594       : _instance(::_pbi::ConstantInitialized{}) {}
~Ext4ExtConvertToInitializedEnterFtraceEventDefaultTypeInternalperfetto::protos::Ext4ExtConvertToInitializedEnterFtraceEventDefaultTypeInternal595   ~Ext4ExtConvertToInitializedEnterFtraceEventDefaultTypeInternal() {}
596   union {  // NOLINT(misc-non-private-member-variables-in-classes)
597     Ext4ExtConvertToInitializedEnterFtraceEvent _instance;
598   };
599 };
600 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Ext4ExtConvertToInitializedEnterFtraceEventDefaultTypeInternal _Ext4ExtConvertToInitializedEnterFtraceEvent_default_instance_;
Ext4ExtConvertToInitializedFastpathFtraceEvent(::_pbi::ConstantInitialized)601 PROTOBUF_CONSTEXPR Ext4ExtConvertToInitializedFastpathFtraceEvent::Ext4ExtConvertToInitializedFastpathFtraceEvent(
602     ::_pbi::ConstantInitialized): _impl_{
603     /*decltype(_impl_._has_bits_)*/{}
604   , /*decltype(_impl_._cached_size_)*/{}
605   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
606   , /*decltype(_impl_.ino_)*/::uint64_t{0u}
607   , /*decltype(_impl_.m_lblk_)*/0u
608   , /*decltype(_impl_.m_len_)*/0u
609   , /*decltype(_impl_.u_lblk_)*/0u
610   , /*decltype(_impl_.u_len_)*/0u
611   , /*decltype(_impl_.u_pblk_)*/::uint64_t{0u}
612   , /*decltype(_impl_.i_lblk_)*/0u
613   , /*decltype(_impl_.i_len_)*/0u
614   , /*decltype(_impl_.i_pblk_)*/::uint64_t{0u}} {}
615 struct Ext4ExtConvertToInitializedFastpathFtraceEventDefaultTypeInternal {
Ext4ExtConvertToInitializedFastpathFtraceEventDefaultTypeInternalperfetto::protos::Ext4ExtConvertToInitializedFastpathFtraceEventDefaultTypeInternal616   PROTOBUF_CONSTEXPR Ext4ExtConvertToInitializedFastpathFtraceEventDefaultTypeInternal()
617       : _instance(::_pbi::ConstantInitialized{}) {}
~Ext4ExtConvertToInitializedFastpathFtraceEventDefaultTypeInternalperfetto::protos::Ext4ExtConvertToInitializedFastpathFtraceEventDefaultTypeInternal618   ~Ext4ExtConvertToInitializedFastpathFtraceEventDefaultTypeInternal() {}
619   union {  // NOLINT(misc-non-private-member-variables-in-classes)
620     Ext4ExtConvertToInitializedFastpathFtraceEvent _instance;
621   };
622 };
623 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Ext4ExtConvertToInitializedFastpathFtraceEventDefaultTypeInternal _Ext4ExtConvertToInitializedFastpathFtraceEvent_default_instance_;
Ext4ExtHandleUnwrittenExtentsFtraceEvent(::_pbi::ConstantInitialized)624 PROTOBUF_CONSTEXPR Ext4ExtHandleUnwrittenExtentsFtraceEvent::Ext4ExtHandleUnwrittenExtentsFtraceEvent(
625     ::_pbi::ConstantInitialized): _impl_{
626     /*decltype(_impl_._has_bits_)*/{}
627   , /*decltype(_impl_._cached_size_)*/{}
628   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
629   , /*decltype(_impl_.ino_)*/::uint64_t{0u}
630   , /*decltype(_impl_.flags_)*/0
631   , /*decltype(_impl_.lblk_)*/0u
632   , /*decltype(_impl_.pblk_)*/::uint64_t{0u}
633   , /*decltype(_impl_.len_)*/0u
634   , /*decltype(_impl_.allocated_)*/0u
635   , /*decltype(_impl_.newblk_)*/::uint64_t{0u}} {}
636 struct Ext4ExtHandleUnwrittenExtentsFtraceEventDefaultTypeInternal {
Ext4ExtHandleUnwrittenExtentsFtraceEventDefaultTypeInternalperfetto::protos::Ext4ExtHandleUnwrittenExtentsFtraceEventDefaultTypeInternal637   PROTOBUF_CONSTEXPR Ext4ExtHandleUnwrittenExtentsFtraceEventDefaultTypeInternal()
638       : _instance(::_pbi::ConstantInitialized{}) {}
~Ext4ExtHandleUnwrittenExtentsFtraceEventDefaultTypeInternalperfetto::protos::Ext4ExtHandleUnwrittenExtentsFtraceEventDefaultTypeInternal639   ~Ext4ExtHandleUnwrittenExtentsFtraceEventDefaultTypeInternal() {}
640   union {  // NOLINT(misc-non-private-member-variables-in-classes)
641     Ext4ExtHandleUnwrittenExtentsFtraceEvent _instance;
642   };
643 };
644 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Ext4ExtHandleUnwrittenExtentsFtraceEventDefaultTypeInternal _Ext4ExtHandleUnwrittenExtentsFtraceEvent_default_instance_;
Ext4ExtInCacheFtraceEvent(::_pbi::ConstantInitialized)645 PROTOBUF_CONSTEXPR Ext4ExtInCacheFtraceEvent::Ext4ExtInCacheFtraceEvent(
646     ::_pbi::ConstantInitialized): _impl_{
647     /*decltype(_impl_._has_bits_)*/{}
648   , /*decltype(_impl_._cached_size_)*/{}
649   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
650   , /*decltype(_impl_.ino_)*/::uint64_t{0u}
651   , /*decltype(_impl_.lblk_)*/0u
652   , /*decltype(_impl_.ret_)*/0} {}
653 struct Ext4ExtInCacheFtraceEventDefaultTypeInternal {
Ext4ExtInCacheFtraceEventDefaultTypeInternalperfetto::protos::Ext4ExtInCacheFtraceEventDefaultTypeInternal654   PROTOBUF_CONSTEXPR Ext4ExtInCacheFtraceEventDefaultTypeInternal()
655       : _instance(::_pbi::ConstantInitialized{}) {}
~Ext4ExtInCacheFtraceEventDefaultTypeInternalperfetto::protos::Ext4ExtInCacheFtraceEventDefaultTypeInternal656   ~Ext4ExtInCacheFtraceEventDefaultTypeInternal() {}
657   union {  // NOLINT(misc-non-private-member-variables-in-classes)
658     Ext4ExtInCacheFtraceEvent _instance;
659   };
660 };
661 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Ext4ExtInCacheFtraceEventDefaultTypeInternal _Ext4ExtInCacheFtraceEvent_default_instance_;
Ext4ExtLoadExtentFtraceEvent(::_pbi::ConstantInitialized)662 PROTOBUF_CONSTEXPR Ext4ExtLoadExtentFtraceEvent::Ext4ExtLoadExtentFtraceEvent(
663     ::_pbi::ConstantInitialized): _impl_{
664     /*decltype(_impl_._has_bits_)*/{}
665   , /*decltype(_impl_._cached_size_)*/{}
666   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
667   , /*decltype(_impl_.ino_)*/::uint64_t{0u}
668   , /*decltype(_impl_.pblk_)*/::uint64_t{0u}
669   , /*decltype(_impl_.lblk_)*/0u} {}
670 struct Ext4ExtLoadExtentFtraceEventDefaultTypeInternal {
Ext4ExtLoadExtentFtraceEventDefaultTypeInternalperfetto::protos::Ext4ExtLoadExtentFtraceEventDefaultTypeInternal671   PROTOBUF_CONSTEXPR Ext4ExtLoadExtentFtraceEventDefaultTypeInternal()
672       : _instance(::_pbi::ConstantInitialized{}) {}
~Ext4ExtLoadExtentFtraceEventDefaultTypeInternalperfetto::protos::Ext4ExtLoadExtentFtraceEventDefaultTypeInternal673   ~Ext4ExtLoadExtentFtraceEventDefaultTypeInternal() {}
674   union {  // NOLINT(misc-non-private-member-variables-in-classes)
675     Ext4ExtLoadExtentFtraceEvent _instance;
676   };
677 };
678 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Ext4ExtLoadExtentFtraceEventDefaultTypeInternal _Ext4ExtLoadExtentFtraceEvent_default_instance_;
Ext4ExtMapBlocksEnterFtraceEvent(::_pbi::ConstantInitialized)679 PROTOBUF_CONSTEXPR Ext4ExtMapBlocksEnterFtraceEvent::Ext4ExtMapBlocksEnterFtraceEvent(
680     ::_pbi::ConstantInitialized): _impl_{
681     /*decltype(_impl_._has_bits_)*/{}
682   , /*decltype(_impl_._cached_size_)*/{}
683   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
684   , /*decltype(_impl_.ino_)*/::uint64_t{0u}
685   , /*decltype(_impl_.lblk_)*/0u
686   , /*decltype(_impl_.len_)*/0u
687   , /*decltype(_impl_.flags_)*/0u} {}
688 struct Ext4ExtMapBlocksEnterFtraceEventDefaultTypeInternal {
Ext4ExtMapBlocksEnterFtraceEventDefaultTypeInternalperfetto::protos::Ext4ExtMapBlocksEnterFtraceEventDefaultTypeInternal689   PROTOBUF_CONSTEXPR Ext4ExtMapBlocksEnterFtraceEventDefaultTypeInternal()
690       : _instance(::_pbi::ConstantInitialized{}) {}
~Ext4ExtMapBlocksEnterFtraceEventDefaultTypeInternalperfetto::protos::Ext4ExtMapBlocksEnterFtraceEventDefaultTypeInternal691   ~Ext4ExtMapBlocksEnterFtraceEventDefaultTypeInternal() {}
692   union {  // NOLINT(misc-non-private-member-variables-in-classes)
693     Ext4ExtMapBlocksEnterFtraceEvent _instance;
694   };
695 };
696 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Ext4ExtMapBlocksEnterFtraceEventDefaultTypeInternal _Ext4ExtMapBlocksEnterFtraceEvent_default_instance_;
Ext4ExtMapBlocksExitFtraceEvent(::_pbi::ConstantInitialized)697 PROTOBUF_CONSTEXPR Ext4ExtMapBlocksExitFtraceEvent::Ext4ExtMapBlocksExitFtraceEvent(
698     ::_pbi::ConstantInitialized): _impl_{
699     /*decltype(_impl_._has_bits_)*/{}
700   , /*decltype(_impl_._cached_size_)*/{}
701   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
702   , /*decltype(_impl_.ino_)*/::uint64_t{0u}
703   , /*decltype(_impl_.pblk_)*/::uint64_t{0u}
704   , /*decltype(_impl_.flags_)*/0u
705   , /*decltype(_impl_.lblk_)*/0u
706   , /*decltype(_impl_.len_)*/0u
707   , /*decltype(_impl_.mflags_)*/0u
708   , /*decltype(_impl_.ret_)*/0} {}
709 struct Ext4ExtMapBlocksExitFtraceEventDefaultTypeInternal {
Ext4ExtMapBlocksExitFtraceEventDefaultTypeInternalperfetto::protos::Ext4ExtMapBlocksExitFtraceEventDefaultTypeInternal710   PROTOBUF_CONSTEXPR Ext4ExtMapBlocksExitFtraceEventDefaultTypeInternal()
711       : _instance(::_pbi::ConstantInitialized{}) {}
~Ext4ExtMapBlocksExitFtraceEventDefaultTypeInternalperfetto::protos::Ext4ExtMapBlocksExitFtraceEventDefaultTypeInternal712   ~Ext4ExtMapBlocksExitFtraceEventDefaultTypeInternal() {}
713   union {  // NOLINT(misc-non-private-member-variables-in-classes)
714     Ext4ExtMapBlocksExitFtraceEvent _instance;
715   };
716 };
717 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Ext4ExtMapBlocksExitFtraceEventDefaultTypeInternal _Ext4ExtMapBlocksExitFtraceEvent_default_instance_;
Ext4ExtPutInCacheFtraceEvent(::_pbi::ConstantInitialized)718 PROTOBUF_CONSTEXPR Ext4ExtPutInCacheFtraceEvent::Ext4ExtPutInCacheFtraceEvent(
719     ::_pbi::ConstantInitialized): _impl_{
720     /*decltype(_impl_._has_bits_)*/{}
721   , /*decltype(_impl_._cached_size_)*/{}
722   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
723   , /*decltype(_impl_.ino_)*/::uint64_t{0u}
724   , /*decltype(_impl_.lblk_)*/0u
725   , /*decltype(_impl_.len_)*/0u
726   , /*decltype(_impl_.start_)*/::uint64_t{0u}} {}
727 struct Ext4ExtPutInCacheFtraceEventDefaultTypeInternal {
Ext4ExtPutInCacheFtraceEventDefaultTypeInternalperfetto::protos::Ext4ExtPutInCacheFtraceEventDefaultTypeInternal728   PROTOBUF_CONSTEXPR Ext4ExtPutInCacheFtraceEventDefaultTypeInternal()
729       : _instance(::_pbi::ConstantInitialized{}) {}
~Ext4ExtPutInCacheFtraceEventDefaultTypeInternalperfetto::protos::Ext4ExtPutInCacheFtraceEventDefaultTypeInternal730   ~Ext4ExtPutInCacheFtraceEventDefaultTypeInternal() {}
731   union {  // NOLINT(misc-non-private-member-variables-in-classes)
732     Ext4ExtPutInCacheFtraceEvent _instance;
733   };
734 };
735 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Ext4ExtPutInCacheFtraceEventDefaultTypeInternal _Ext4ExtPutInCacheFtraceEvent_default_instance_;
Ext4ExtRemoveSpaceFtraceEvent(::_pbi::ConstantInitialized)736 PROTOBUF_CONSTEXPR Ext4ExtRemoveSpaceFtraceEvent::Ext4ExtRemoveSpaceFtraceEvent(
737     ::_pbi::ConstantInitialized): _impl_{
738     /*decltype(_impl_._has_bits_)*/{}
739   , /*decltype(_impl_._cached_size_)*/{}
740   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
741   , /*decltype(_impl_.ino_)*/::uint64_t{0u}
742   , /*decltype(_impl_.start_)*/0u
743   , /*decltype(_impl_.end_)*/0u
744   , /*decltype(_impl_.depth_)*/0} {}
745 struct Ext4ExtRemoveSpaceFtraceEventDefaultTypeInternal {
Ext4ExtRemoveSpaceFtraceEventDefaultTypeInternalperfetto::protos::Ext4ExtRemoveSpaceFtraceEventDefaultTypeInternal746   PROTOBUF_CONSTEXPR Ext4ExtRemoveSpaceFtraceEventDefaultTypeInternal()
747       : _instance(::_pbi::ConstantInitialized{}) {}
~Ext4ExtRemoveSpaceFtraceEventDefaultTypeInternalperfetto::protos::Ext4ExtRemoveSpaceFtraceEventDefaultTypeInternal748   ~Ext4ExtRemoveSpaceFtraceEventDefaultTypeInternal() {}
749   union {  // NOLINT(misc-non-private-member-variables-in-classes)
750     Ext4ExtRemoveSpaceFtraceEvent _instance;
751   };
752 };
753 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Ext4ExtRemoveSpaceFtraceEventDefaultTypeInternal _Ext4ExtRemoveSpaceFtraceEvent_default_instance_;
Ext4ExtRemoveSpaceDoneFtraceEvent(::_pbi::ConstantInitialized)754 PROTOBUF_CONSTEXPR Ext4ExtRemoveSpaceDoneFtraceEvent::Ext4ExtRemoveSpaceDoneFtraceEvent(
755     ::_pbi::ConstantInitialized): _impl_{
756     /*decltype(_impl_._has_bits_)*/{}
757   , /*decltype(_impl_._cached_size_)*/{}
758   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
759   , /*decltype(_impl_.ino_)*/::uint64_t{0u}
760   , /*decltype(_impl_.start_)*/0u
761   , /*decltype(_impl_.end_)*/0u
762   , /*decltype(_impl_.partial_)*/::int64_t{0}
763   , /*decltype(_impl_.depth_)*/0
764   , /*decltype(_impl_.eh_entries_)*/0u
765   , /*decltype(_impl_.pc_pclu_)*/::uint64_t{0u}
766   , /*decltype(_impl_.pc_lblk_)*/0u
767   , /*decltype(_impl_.pc_state_)*/0} {}
768 struct Ext4ExtRemoveSpaceDoneFtraceEventDefaultTypeInternal {
Ext4ExtRemoveSpaceDoneFtraceEventDefaultTypeInternalperfetto::protos::Ext4ExtRemoveSpaceDoneFtraceEventDefaultTypeInternal769   PROTOBUF_CONSTEXPR Ext4ExtRemoveSpaceDoneFtraceEventDefaultTypeInternal()
770       : _instance(::_pbi::ConstantInitialized{}) {}
~Ext4ExtRemoveSpaceDoneFtraceEventDefaultTypeInternalperfetto::protos::Ext4ExtRemoveSpaceDoneFtraceEventDefaultTypeInternal771   ~Ext4ExtRemoveSpaceDoneFtraceEventDefaultTypeInternal() {}
772   union {  // NOLINT(misc-non-private-member-variables-in-classes)
773     Ext4ExtRemoveSpaceDoneFtraceEvent _instance;
774   };
775 };
776 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Ext4ExtRemoveSpaceDoneFtraceEventDefaultTypeInternal _Ext4ExtRemoveSpaceDoneFtraceEvent_default_instance_;
Ext4ExtRmIdxFtraceEvent(::_pbi::ConstantInitialized)777 PROTOBUF_CONSTEXPR Ext4ExtRmIdxFtraceEvent::Ext4ExtRmIdxFtraceEvent(
778     ::_pbi::ConstantInitialized): _impl_{
779     /*decltype(_impl_._has_bits_)*/{}
780   , /*decltype(_impl_._cached_size_)*/{}
781   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
782   , /*decltype(_impl_.ino_)*/::uint64_t{0u}
783   , /*decltype(_impl_.pblk_)*/::uint64_t{0u}} {}
784 struct Ext4ExtRmIdxFtraceEventDefaultTypeInternal {
Ext4ExtRmIdxFtraceEventDefaultTypeInternalperfetto::protos::Ext4ExtRmIdxFtraceEventDefaultTypeInternal785   PROTOBUF_CONSTEXPR Ext4ExtRmIdxFtraceEventDefaultTypeInternal()
786       : _instance(::_pbi::ConstantInitialized{}) {}
~Ext4ExtRmIdxFtraceEventDefaultTypeInternalperfetto::protos::Ext4ExtRmIdxFtraceEventDefaultTypeInternal787   ~Ext4ExtRmIdxFtraceEventDefaultTypeInternal() {}
788   union {  // NOLINT(misc-non-private-member-variables-in-classes)
789     Ext4ExtRmIdxFtraceEvent _instance;
790   };
791 };
792 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Ext4ExtRmIdxFtraceEventDefaultTypeInternal _Ext4ExtRmIdxFtraceEvent_default_instance_;
Ext4ExtRmLeafFtraceEvent(::_pbi::ConstantInitialized)793 PROTOBUF_CONSTEXPR Ext4ExtRmLeafFtraceEvent::Ext4ExtRmLeafFtraceEvent(
794     ::_pbi::ConstantInitialized): _impl_{
795     /*decltype(_impl_._has_bits_)*/{}
796   , /*decltype(_impl_._cached_size_)*/{}
797   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
798   , /*decltype(_impl_.ino_)*/::uint64_t{0u}
799   , /*decltype(_impl_.partial_)*/::int64_t{0}
800   , /*decltype(_impl_.start_)*/0u
801   , /*decltype(_impl_.ee_lblk_)*/0u
802   , /*decltype(_impl_.ee_pblk_)*/::uint64_t{0u}
803   , /*decltype(_impl_.ee_len_)*/0
804   , /*decltype(_impl_.pc_lblk_)*/0u
805   , /*decltype(_impl_.pc_pclu_)*/::uint64_t{0u}
806   , /*decltype(_impl_.pc_state_)*/0} {}
807 struct Ext4ExtRmLeafFtraceEventDefaultTypeInternal {
Ext4ExtRmLeafFtraceEventDefaultTypeInternalperfetto::protos::Ext4ExtRmLeafFtraceEventDefaultTypeInternal808   PROTOBUF_CONSTEXPR Ext4ExtRmLeafFtraceEventDefaultTypeInternal()
809       : _instance(::_pbi::ConstantInitialized{}) {}
~Ext4ExtRmLeafFtraceEventDefaultTypeInternalperfetto::protos::Ext4ExtRmLeafFtraceEventDefaultTypeInternal810   ~Ext4ExtRmLeafFtraceEventDefaultTypeInternal() {}
811   union {  // NOLINT(misc-non-private-member-variables-in-classes)
812     Ext4ExtRmLeafFtraceEvent _instance;
813   };
814 };
815 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Ext4ExtRmLeafFtraceEventDefaultTypeInternal _Ext4ExtRmLeafFtraceEvent_default_instance_;
Ext4ExtShowExtentFtraceEvent(::_pbi::ConstantInitialized)816 PROTOBUF_CONSTEXPR Ext4ExtShowExtentFtraceEvent::Ext4ExtShowExtentFtraceEvent(
817     ::_pbi::ConstantInitialized): _impl_{
818     /*decltype(_impl_._has_bits_)*/{}
819   , /*decltype(_impl_._cached_size_)*/{}
820   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
821   , /*decltype(_impl_.ino_)*/::uint64_t{0u}
822   , /*decltype(_impl_.pblk_)*/::uint64_t{0u}
823   , /*decltype(_impl_.lblk_)*/0u
824   , /*decltype(_impl_.len_)*/0u} {}
825 struct Ext4ExtShowExtentFtraceEventDefaultTypeInternal {
Ext4ExtShowExtentFtraceEventDefaultTypeInternalperfetto::protos::Ext4ExtShowExtentFtraceEventDefaultTypeInternal826   PROTOBUF_CONSTEXPR Ext4ExtShowExtentFtraceEventDefaultTypeInternal()
827       : _instance(::_pbi::ConstantInitialized{}) {}
~Ext4ExtShowExtentFtraceEventDefaultTypeInternalperfetto::protos::Ext4ExtShowExtentFtraceEventDefaultTypeInternal828   ~Ext4ExtShowExtentFtraceEventDefaultTypeInternal() {}
829   union {  // NOLINT(misc-non-private-member-variables-in-classes)
830     Ext4ExtShowExtentFtraceEvent _instance;
831   };
832 };
833 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Ext4ExtShowExtentFtraceEventDefaultTypeInternal _Ext4ExtShowExtentFtraceEvent_default_instance_;
Ext4FallocateEnterFtraceEvent(::_pbi::ConstantInitialized)834 PROTOBUF_CONSTEXPR Ext4FallocateEnterFtraceEvent::Ext4FallocateEnterFtraceEvent(
835     ::_pbi::ConstantInitialized): _impl_{
836     /*decltype(_impl_._has_bits_)*/{}
837   , /*decltype(_impl_._cached_size_)*/{}
838   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
839   , /*decltype(_impl_.ino_)*/::uint64_t{0u}
840   , /*decltype(_impl_.offset_)*/::int64_t{0}
841   , /*decltype(_impl_.len_)*/::int64_t{0}
842   , /*decltype(_impl_.pos_)*/::int64_t{0}
843   , /*decltype(_impl_.mode_)*/0} {}
844 struct Ext4FallocateEnterFtraceEventDefaultTypeInternal {
Ext4FallocateEnterFtraceEventDefaultTypeInternalperfetto::protos::Ext4FallocateEnterFtraceEventDefaultTypeInternal845   PROTOBUF_CONSTEXPR Ext4FallocateEnterFtraceEventDefaultTypeInternal()
846       : _instance(::_pbi::ConstantInitialized{}) {}
~Ext4FallocateEnterFtraceEventDefaultTypeInternalperfetto::protos::Ext4FallocateEnterFtraceEventDefaultTypeInternal847   ~Ext4FallocateEnterFtraceEventDefaultTypeInternal() {}
848   union {  // NOLINT(misc-non-private-member-variables-in-classes)
849     Ext4FallocateEnterFtraceEvent _instance;
850   };
851 };
852 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Ext4FallocateEnterFtraceEventDefaultTypeInternal _Ext4FallocateEnterFtraceEvent_default_instance_;
Ext4FallocateExitFtraceEvent(::_pbi::ConstantInitialized)853 PROTOBUF_CONSTEXPR Ext4FallocateExitFtraceEvent::Ext4FallocateExitFtraceEvent(
854     ::_pbi::ConstantInitialized): _impl_{
855     /*decltype(_impl_._has_bits_)*/{}
856   , /*decltype(_impl_._cached_size_)*/{}
857   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
858   , /*decltype(_impl_.ino_)*/::uint64_t{0u}
859   , /*decltype(_impl_.pos_)*/::int64_t{0}
860   , /*decltype(_impl_.blocks_)*/0u
861   , /*decltype(_impl_.ret_)*/0} {}
862 struct Ext4FallocateExitFtraceEventDefaultTypeInternal {
Ext4FallocateExitFtraceEventDefaultTypeInternalperfetto::protos::Ext4FallocateExitFtraceEventDefaultTypeInternal863   PROTOBUF_CONSTEXPR Ext4FallocateExitFtraceEventDefaultTypeInternal()
864       : _instance(::_pbi::ConstantInitialized{}) {}
~Ext4FallocateExitFtraceEventDefaultTypeInternalperfetto::protos::Ext4FallocateExitFtraceEventDefaultTypeInternal865   ~Ext4FallocateExitFtraceEventDefaultTypeInternal() {}
866   union {  // NOLINT(misc-non-private-member-variables-in-classes)
867     Ext4FallocateExitFtraceEvent _instance;
868   };
869 };
870 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Ext4FallocateExitFtraceEventDefaultTypeInternal _Ext4FallocateExitFtraceEvent_default_instance_;
Ext4FindDelallocRangeFtraceEvent(::_pbi::ConstantInitialized)871 PROTOBUF_CONSTEXPR Ext4FindDelallocRangeFtraceEvent::Ext4FindDelallocRangeFtraceEvent(
872     ::_pbi::ConstantInitialized): _impl_{
873     /*decltype(_impl_._has_bits_)*/{}
874   , /*decltype(_impl_._cached_size_)*/{}
875   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
876   , /*decltype(_impl_.ino_)*/::uint64_t{0u}
877   , /*decltype(_impl_.from_)*/0u
878   , /*decltype(_impl_.to_)*/0u
879   , /*decltype(_impl_.reverse_)*/0
880   , /*decltype(_impl_.found_)*/0
881   , /*decltype(_impl_.found_blk_)*/0u} {}
882 struct Ext4FindDelallocRangeFtraceEventDefaultTypeInternal {
Ext4FindDelallocRangeFtraceEventDefaultTypeInternalperfetto::protos::Ext4FindDelallocRangeFtraceEventDefaultTypeInternal883   PROTOBUF_CONSTEXPR Ext4FindDelallocRangeFtraceEventDefaultTypeInternal()
884       : _instance(::_pbi::ConstantInitialized{}) {}
~Ext4FindDelallocRangeFtraceEventDefaultTypeInternalperfetto::protos::Ext4FindDelallocRangeFtraceEventDefaultTypeInternal885   ~Ext4FindDelallocRangeFtraceEventDefaultTypeInternal() {}
886   union {  // NOLINT(misc-non-private-member-variables-in-classes)
887     Ext4FindDelallocRangeFtraceEvent _instance;
888   };
889 };
890 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Ext4FindDelallocRangeFtraceEventDefaultTypeInternal _Ext4FindDelallocRangeFtraceEvent_default_instance_;
Ext4ForgetFtraceEvent(::_pbi::ConstantInitialized)891 PROTOBUF_CONSTEXPR Ext4ForgetFtraceEvent::Ext4ForgetFtraceEvent(
892     ::_pbi::ConstantInitialized): _impl_{
893     /*decltype(_impl_._has_bits_)*/{}
894   , /*decltype(_impl_._cached_size_)*/{}
895   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
896   , /*decltype(_impl_.ino_)*/::uint64_t{0u}
897   , /*decltype(_impl_.block_)*/::uint64_t{0u}
898   , /*decltype(_impl_.is_metadata_)*/0
899   , /*decltype(_impl_.mode_)*/0u} {}
900 struct Ext4ForgetFtraceEventDefaultTypeInternal {
Ext4ForgetFtraceEventDefaultTypeInternalperfetto::protos::Ext4ForgetFtraceEventDefaultTypeInternal901   PROTOBUF_CONSTEXPR Ext4ForgetFtraceEventDefaultTypeInternal()
902       : _instance(::_pbi::ConstantInitialized{}) {}
~Ext4ForgetFtraceEventDefaultTypeInternalperfetto::protos::Ext4ForgetFtraceEventDefaultTypeInternal903   ~Ext4ForgetFtraceEventDefaultTypeInternal() {}
904   union {  // NOLINT(misc-non-private-member-variables-in-classes)
905     Ext4ForgetFtraceEvent _instance;
906   };
907 };
908 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Ext4ForgetFtraceEventDefaultTypeInternal _Ext4ForgetFtraceEvent_default_instance_;
Ext4FreeBlocksFtraceEvent(::_pbi::ConstantInitialized)909 PROTOBUF_CONSTEXPR Ext4FreeBlocksFtraceEvent::Ext4FreeBlocksFtraceEvent(
910     ::_pbi::ConstantInitialized): _impl_{
911     /*decltype(_impl_._has_bits_)*/{}
912   , /*decltype(_impl_._cached_size_)*/{}
913   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
914   , /*decltype(_impl_.ino_)*/::uint64_t{0u}
915   , /*decltype(_impl_.block_)*/::uint64_t{0u}
916   , /*decltype(_impl_.count_)*/::uint64_t{0u}
917   , /*decltype(_impl_.flags_)*/0
918   , /*decltype(_impl_.mode_)*/0u} {}
919 struct Ext4FreeBlocksFtraceEventDefaultTypeInternal {
Ext4FreeBlocksFtraceEventDefaultTypeInternalperfetto::protos::Ext4FreeBlocksFtraceEventDefaultTypeInternal920   PROTOBUF_CONSTEXPR Ext4FreeBlocksFtraceEventDefaultTypeInternal()
921       : _instance(::_pbi::ConstantInitialized{}) {}
~Ext4FreeBlocksFtraceEventDefaultTypeInternalperfetto::protos::Ext4FreeBlocksFtraceEventDefaultTypeInternal922   ~Ext4FreeBlocksFtraceEventDefaultTypeInternal() {}
923   union {  // NOLINT(misc-non-private-member-variables-in-classes)
924     Ext4FreeBlocksFtraceEvent _instance;
925   };
926 };
927 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Ext4FreeBlocksFtraceEventDefaultTypeInternal _Ext4FreeBlocksFtraceEvent_default_instance_;
Ext4FreeInodeFtraceEvent(::_pbi::ConstantInitialized)928 PROTOBUF_CONSTEXPR Ext4FreeInodeFtraceEvent::Ext4FreeInodeFtraceEvent(
929     ::_pbi::ConstantInitialized): _impl_{
930     /*decltype(_impl_._has_bits_)*/{}
931   , /*decltype(_impl_._cached_size_)*/{}
932   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
933   , /*decltype(_impl_.ino_)*/::uint64_t{0u}
934   , /*decltype(_impl_.uid_)*/0u
935   , /*decltype(_impl_.gid_)*/0u
936   , /*decltype(_impl_.blocks_)*/::uint64_t{0u}
937   , /*decltype(_impl_.mode_)*/0u} {}
938 struct Ext4FreeInodeFtraceEventDefaultTypeInternal {
Ext4FreeInodeFtraceEventDefaultTypeInternalperfetto::protos::Ext4FreeInodeFtraceEventDefaultTypeInternal939   PROTOBUF_CONSTEXPR Ext4FreeInodeFtraceEventDefaultTypeInternal()
940       : _instance(::_pbi::ConstantInitialized{}) {}
~Ext4FreeInodeFtraceEventDefaultTypeInternalperfetto::protos::Ext4FreeInodeFtraceEventDefaultTypeInternal941   ~Ext4FreeInodeFtraceEventDefaultTypeInternal() {}
942   union {  // NOLINT(misc-non-private-member-variables-in-classes)
943     Ext4FreeInodeFtraceEvent _instance;
944   };
945 };
946 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Ext4FreeInodeFtraceEventDefaultTypeInternal _Ext4FreeInodeFtraceEvent_default_instance_;
Ext4GetImpliedClusterAllocExitFtraceEvent(::_pbi::ConstantInitialized)947 PROTOBUF_CONSTEXPR Ext4GetImpliedClusterAllocExitFtraceEvent::Ext4GetImpliedClusterAllocExitFtraceEvent(
948     ::_pbi::ConstantInitialized): _impl_{
949     /*decltype(_impl_._has_bits_)*/{}
950   , /*decltype(_impl_._cached_size_)*/{}
951   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
952   , /*decltype(_impl_.flags_)*/0u
953   , /*decltype(_impl_.lblk_)*/0u
954   , /*decltype(_impl_.pblk_)*/::uint64_t{0u}
955   , /*decltype(_impl_.len_)*/0u
956   , /*decltype(_impl_.ret_)*/0} {}
957 struct Ext4GetImpliedClusterAllocExitFtraceEventDefaultTypeInternal {
Ext4GetImpliedClusterAllocExitFtraceEventDefaultTypeInternalperfetto::protos::Ext4GetImpliedClusterAllocExitFtraceEventDefaultTypeInternal958   PROTOBUF_CONSTEXPR Ext4GetImpliedClusterAllocExitFtraceEventDefaultTypeInternal()
959       : _instance(::_pbi::ConstantInitialized{}) {}
~Ext4GetImpliedClusterAllocExitFtraceEventDefaultTypeInternalperfetto::protos::Ext4GetImpliedClusterAllocExitFtraceEventDefaultTypeInternal960   ~Ext4GetImpliedClusterAllocExitFtraceEventDefaultTypeInternal() {}
961   union {  // NOLINT(misc-non-private-member-variables-in-classes)
962     Ext4GetImpliedClusterAllocExitFtraceEvent _instance;
963   };
964 };
965 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Ext4GetImpliedClusterAllocExitFtraceEventDefaultTypeInternal _Ext4GetImpliedClusterAllocExitFtraceEvent_default_instance_;
Ext4GetReservedClusterAllocFtraceEvent(::_pbi::ConstantInitialized)966 PROTOBUF_CONSTEXPR Ext4GetReservedClusterAllocFtraceEvent::Ext4GetReservedClusterAllocFtraceEvent(
967     ::_pbi::ConstantInitialized): _impl_{
968     /*decltype(_impl_._has_bits_)*/{}
969   , /*decltype(_impl_._cached_size_)*/{}
970   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
971   , /*decltype(_impl_.ino_)*/::uint64_t{0u}
972   , /*decltype(_impl_.lblk_)*/0u
973   , /*decltype(_impl_.len_)*/0u} {}
974 struct Ext4GetReservedClusterAllocFtraceEventDefaultTypeInternal {
Ext4GetReservedClusterAllocFtraceEventDefaultTypeInternalperfetto::protos::Ext4GetReservedClusterAllocFtraceEventDefaultTypeInternal975   PROTOBUF_CONSTEXPR Ext4GetReservedClusterAllocFtraceEventDefaultTypeInternal()
976       : _instance(::_pbi::ConstantInitialized{}) {}
~Ext4GetReservedClusterAllocFtraceEventDefaultTypeInternalperfetto::protos::Ext4GetReservedClusterAllocFtraceEventDefaultTypeInternal977   ~Ext4GetReservedClusterAllocFtraceEventDefaultTypeInternal() {}
978   union {  // NOLINT(misc-non-private-member-variables-in-classes)
979     Ext4GetReservedClusterAllocFtraceEvent _instance;
980   };
981 };
982 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Ext4GetReservedClusterAllocFtraceEventDefaultTypeInternal _Ext4GetReservedClusterAllocFtraceEvent_default_instance_;
Ext4IndMapBlocksEnterFtraceEvent(::_pbi::ConstantInitialized)983 PROTOBUF_CONSTEXPR Ext4IndMapBlocksEnterFtraceEvent::Ext4IndMapBlocksEnterFtraceEvent(
984     ::_pbi::ConstantInitialized): _impl_{
985     /*decltype(_impl_._has_bits_)*/{}
986   , /*decltype(_impl_._cached_size_)*/{}
987   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
988   , /*decltype(_impl_.ino_)*/::uint64_t{0u}
989   , /*decltype(_impl_.lblk_)*/0u
990   , /*decltype(_impl_.len_)*/0u
991   , /*decltype(_impl_.flags_)*/0u} {}
992 struct Ext4IndMapBlocksEnterFtraceEventDefaultTypeInternal {
Ext4IndMapBlocksEnterFtraceEventDefaultTypeInternalperfetto::protos::Ext4IndMapBlocksEnterFtraceEventDefaultTypeInternal993   PROTOBUF_CONSTEXPR Ext4IndMapBlocksEnterFtraceEventDefaultTypeInternal()
994       : _instance(::_pbi::ConstantInitialized{}) {}
~Ext4IndMapBlocksEnterFtraceEventDefaultTypeInternalperfetto::protos::Ext4IndMapBlocksEnterFtraceEventDefaultTypeInternal995   ~Ext4IndMapBlocksEnterFtraceEventDefaultTypeInternal() {}
996   union {  // NOLINT(misc-non-private-member-variables-in-classes)
997     Ext4IndMapBlocksEnterFtraceEvent _instance;
998   };
999 };
1000 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Ext4IndMapBlocksEnterFtraceEventDefaultTypeInternal _Ext4IndMapBlocksEnterFtraceEvent_default_instance_;
Ext4IndMapBlocksExitFtraceEvent(::_pbi::ConstantInitialized)1001 PROTOBUF_CONSTEXPR Ext4IndMapBlocksExitFtraceEvent::Ext4IndMapBlocksExitFtraceEvent(
1002     ::_pbi::ConstantInitialized): _impl_{
1003     /*decltype(_impl_._has_bits_)*/{}
1004   , /*decltype(_impl_._cached_size_)*/{}
1005   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
1006   , /*decltype(_impl_.ino_)*/::uint64_t{0u}
1007   , /*decltype(_impl_.pblk_)*/::uint64_t{0u}
1008   , /*decltype(_impl_.flags_)*/0u
1009   , /*decltype(_impl_.lblk_)*/0u
1010   , /*decltype(_impl_.len_)*/0u
1011   , /*decltype(_impl_.mflags_)*/0u
1012   , /*decltype(_impl_.ret_)*/0} {}
1013 struct Ext4IndMapBlocksExitFtraceEventDefaultTypeInternal {
Ext4IndMapBlocksExitFtraceEventDefaultTypeInternalperfetto::protos::Ext4IndMapBlocksExitFtraceEventDefaultTypeInternal1014   PROTOBUF_CONSTEXPR Ext4IndMapBlocksExitFtraceEventDefaultTypeInternal()
1015       : _instance(::_pbi::ConstantInitialized{}) {}
~Ext4IndMapBlocksExitFtraceEventDefaultTypeInternalperfetto::protos::Ext4IndMapBlocksExitFtraceEventDefaultTypeInternal1016   ~Ext4IndMapBlocksExitFtraceEventDefaultTypeInternal() {}
1017   union {  // NOLINT(misc-non-private-member-variables-in-classes)
1018     Ext4IndMapBlocksExitFtraceEvent _instance;
1019   };
1020 };
1021 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Ext4IndMapBlocksExitFtraceEventDefaultTypeInternal _Ext4IndMapBlocksExitFtraceEvent_default_instance_;
Ext4InsertRangeFtraceEvent(::_pbi::ConstantInitialized)1022 PROTOBUF_CONSTEXPR Ext4InsertRangeFtraceEvent::Ext4InsertRangeFtraceEvent(
1023     ::_pbi::ConstantInitialized): _impl_{
1024     /*decltype(_impl_._has_bits_)*/{}
1025   , /*decltype(_impl_._cached_size_)*/{}
1026   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
1027   , /*decltype(_impl_.ino_)*/::uint64_t{0u}
1028   , /*decltype(_impl_.offset_)*/::int64_t{0}
1029   , /*decltype(_impl_.len_)*/::int64_t{0}} {}
1030 struct Ext4InsertRangeFtraceEventDefaultTypeInternal {
Ext4InsertRangeFtraceEventDefaultTypeInternalperfetto::protos::Ext4InsertRangeFtraceEventDefaultTypeInternal1031   PROTOBUF_CONSTEXPR Ext4InsertRangeFtraceEventDefaultTypeInternal()
1032       : _instance(::_pbi::ConstantInitialized{}) {}
~Ext4InsertRangeFtraceEventDefaultTypeInternalperfetto::protos::Ext4InsertRangeFtraceEventDefaultTypeInternal1033   ~Ext4InsertRangeFtraceEventDefaultTypeInternal() {}
1034   union {  // NOLINT(misc-non-private-member-variables-in-classes)
1035     Ext4InsertRangeFtraceEvent _instance;
1036   };
1037 };
1038 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Ext4InsertRangeFtraceEventDefaultTypeInternal _Ext4InsertRangeFtraceEvent_default_instance_;
Ext4InvalidatepageFtraceEvent(::_pbi::ConstantInitialized)1039 PROTOBUF_CONSTEXPR Ext4InvalidatepageFtraceEvent::Ext4InvalidatepageFtraceEvent(
1040     ::_pbi::ConstantInitialized): _impl_{
1041     /*decltype(_impl_._has_bits_)*/{}
1042   , /*decltype(_impl_._cached_size_)*/{}
1043   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
1044   , /*decltype(_impl_.ino_)*/::uint64_t{0u}
1045   , /*decltype(_impl_.index_)*/::uint64_t{0u}
1046   , /*decltype(_impl_.offset_)*/::uint64_t{0u}
1047   , /*decltype(_impl_.length_)*/0u} {}
1048 struct Ext4InvalidatepageFtraceEventDefaultTypeInternal {
Ext4InvalidatepageFtraceEventDefaultTypeInternalperfetto::protos::Ext4InvalidatepageFtraceEventDefaultTypeInternal1049   PROTOBUF_CONSTEXPR Ext4InvalidatepageFtraceEventDefaultTypeInternal()
1050       : _instance(::_pbi::ConstantInitialized{}) {}
~Ext4InvalidatepageFtraceEventDefaultTypeInternalperfetto::protos::Ext4InvalidatepageFtraceEventDefaultTypeInternal1051   ~Ext4InvalidatepageFtraceEventDefaultTypeInternal() {}
1052   union {  // NOLINT(misc-non-private-member-variables-in-classes)
1053     Ext4InvalidatepageFtraceEvent _instance;
1054   };
1055 };
1056 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Ext4InvalidatepageFtraceEventDefaultTypeInternal _Ext4InvalidatepageFtraceEvent_default_instance_;
Ext4JournalStartFtraceEvent(::_pbi::ConstantInitialized)1057 PROTOBUF_CONSTEXPR Ext4JournalStartFtraceEvent::Ext4JournalStartFtraceEvent(
1058     ::_pbi::ConstantInitialized): _impl_{
1059     /*decltype(_impl_._has_bits_)*/{}
1060   , /*decltype(_impl_._cached_size_)*/{}
1061   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
1062   , /*decltype(_impl_.ip_)*/::uint64_t{0u}
1063   , /*decltype(_impl_.blocks_)*/0
1064   , /*decltype(_impl_.rsv_blocks_)*/0
1065   , /*decltype(_impl_.nblocks_)*/0
1066   , /*decltype(_impl_.revoke_creds_)*/0} {}
1067 struct Ext4JournalStartFtraceEventDefaultTypeInternal {
Ext4JournalStartFtraceEventDefaultTypeInternalperfetto::protos::Ext4JournalStartFtraceEventDefaultTypeInternal1068   PROTOBUF_CONSTEXPR Ext4JournalStartFtraceEventDefaultTypeInternal()
1069       : _instance(::_pbi::ConstantInitialized{}) {}
~Ext4JournalStartFtraceEventDefaultTypeInternalperfetto::protos::Ext4JournalStartFtraceEventDefaultTypeInternal1070   ~Ext4JournalStartFtraceEventDefaultTypeInternal() {}
1071   union {  // NOLINT(misc-non-private-member-variables-in-classes)
1072     Ext4JournalStartFtraceEvent _instance;
1073   };
1074 };
1075 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Ext4JournalStartFtraceEventDefaultTypeInternal _Ext4JournalStartFtraceEvent_default_instance_;
Ext4JournalStartReservedFtraceEvent(::_pbi::ConstantInitialized)1076 PROTOBUF_CONSTEXPR Ext4JournalStartReservedFtraceEvent::Ext4JournalStartReservedFtraceEvent(
1077     ::_pbi::ConstantInitialized): _impl_{
1078     /*decltype(_impl_._has_bits_)*/{}
1079   , /*decltype(_impl_._cached_size_)*/{}
1080   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
1081   , /*decltype(_impl_.ip_)*/::uint64_t{0u}
1082   , /*decltype(_impl_.blocks_)*/0} {}
1083 struct Ext4JournalStartReservedFtraceEventDefaultTypeInternal {
Ext4JournalStartReservedFtraceEventDefaultTypeInternalperfetto::protos::Ext4JournalStartReservedFtraceEventDefaultTypeInternal1084   PROTOBUF_CONSTEXPR Ext4JournalStartReservedFtraceEventDefaultTypeInternal()
1085       : _instance(::_pbi::ConstantInitialized{}) {}
~Ext4JournalStartReservedFtraceEventDefaultTypeInternalperfetto::protos::Ext4JournalStartReservedFtraceEventDefaultTypeInternal1086   ~Ext4JournalStartReservedFtraceEventDefaultTypeInternal() {}
1087   union {  // NOLINT(misc-non-private-member-variables-in-classes)
1088     Ext4JournalStartReservedFtraceEvent _instance;
1089   };
1090 };
1091 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Ext4JournalStartReservedFtraceEventDefaultTypeInternal _Ext4JournalStartReservedFtraceEvent_default_instance_;
Ext4JournalledInvalidatepageFtraceEvent(::_pbi::ConstantInitialized)1092 PROTOBUF_CONSTEXPR Ext4JournalledInvalidatepageFtraceEvent::Ext4JournalledInvalidatepageFtraceEvent(
1093     ::_pbi::ConstantInitialized): _impl_{
1094     /*decltype(_impl_._has_bits_)*/{}
1095   , /*decltype(_impl_._cached_size_)*/{}
1096   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
1097   , /*decltype(_impl_.ino_)*/::uint64_t{0u}
1098   , /*decltype(_impl_.index_)*/::uint64_t{0u}
1099   , /*decltype(_impl_.offset_)*/::uint64_t{0u}
1100   , /*decltype(_impl_.length_)*/0u} {}
1101 struct Ext4JournalledInvalidatepageFtraceEventDefaultTypeInternal {
Ext4JournalledInvalidatepageFtraceEventDefaultTypeInternalperfetto::protos::Ext4JournalledInvalidatepageFtraceEventDefaultTypeInternal1102   PROTOBUF_CONSTEXPR Ext4JournalledInvalidatepageFtraceEventDefaultTypeInternal()
1103       : _instance(::_pbi::ConstantInitialized{}) {}
~Ext4JournalledInvalidatepageFtraceEventDefaultTypeInternalperfetto::protos::Ext4JournalledInvalidatepageFtraceEventDefaultTypeInternal1104   ~Ext4JournalledInvalidatepageFtraceEventDefaultTypeInternal() {}
1105   union {  // NOLINT(misc-non-private-member-variables-in-classes)
1106     Ext4JournalledInvalidatepageFtraceEvent _instance;
1107   };
1108 };
1109 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Ext4JournalledInvalidatepageFtraceEventDefaultTypeInternal _Ext4JournalledInvalidatepageFtraceEvent_default_instance_;
Ext4JournalledWriteEndFtraceEvent(::_pbi::ConstantInitialized)1110 PROTOBUF_CONSTEXPR Ext4JournalledWriteEndFtraceEvent::Ext4JournalledWriteEndFtraceEvent(
1111     ::_pbi::ConstantInitialized): _impl_{
1112     /*decltype(_impl_._has_bits_)*/{}
1113   , /*decltype(_impl_._cached_size_)*/{}
1114   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
1115   , /*decltype(_impl_.ino_)*/::uint64_t{0u}
1116   , /*decltype(_impl_.pos_)*/::int64_t{0}
1117   , /*decltype(_impl_.len_)*/0u
1118   , /*decltype(_impl_.copied_)*/0u} {}
1119 struct Ext4JournalledWriteEndFtraceEventDefaultTypeInternal {
Ext4JournalledWriteEndFtraceEventDefaultTypeInternalperfetto::protos::Ext4JournalledWriteEndFtraceEventDefaultTypeInternal1120   PROTOBUF_CONSTEXPR Ext4JournalledWriteEndFtraceEventDefaultTypeInternal()
1121       : _instance(::_pbi::ConstantInitialized{}) {}
~Ext4JournalledWriteEndFtraceEventDefaultTypeInternalperfetto::protos::Ext4JournalledWriteEndFtraceEventDefaultTypeInternal1122   ~Ext4JournalledWriteEndFtraceEventDefaultTypeInternal() {}
1123   union {  // NOLINT(misc-non-private-member-variables-in-classes)
1124     Ext4JournalledWriteEndFtraceEvent _instance;
1125   };
1126 };
1127 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Ext4JournalledWriteEndFtraceEventDefaultTypeInternal _Ext4JournalledWriteEndFtraceEvent_default_instance_;
Ext4LoadInodeFtraceEvent(::_pbi::ConstantInitialized)1128 PROTOBUF_CONSTEXPR Ext4LoadInodeFtraceEvent::Ext4LoadInodeFtraceEvent(
1129     ::_pbi::ConstantInitialized): _impl_{
1130     /*decltype(_impl_._has_bits_)*/{}
1131   , /*decltype(_impl_._cached_size_)*/{}
1132   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
1133   , /*decltype(_impl_.ino_)*/::uint64_t{0u}} {}
1134 struct Ext4LoadInodeFtraceEventDefaultTypeInternal {
Ext4LoadInodeFtraceEventDefaultTypeInternalperfetto::protos::Ext4LoadInodeFtraceEventDefaultTypeInternal1135   PROTOBUF_CONSTEXPR Ext4LoadInodeFtraceEventDefaultTypeInternal()
1136       : _instance(::_pbi::ConstantInitialized{}) {}
~Ext4LoadInodeFtraceEventDefaultTypeInternalperfetto::protos::Ext4LoadInodeFtraceEventDefaultTypeInternal1137   ~Ext4LoadInodeFtraceEventDefaultTypeInternal() {}
1138   union {  // NOLINT(misc-non-private-member-variables-in-classes)
1139     Ext4LoadInodeFtraceEvent _instance;
1140   };
1141 };
1142 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Ext4LoadInodeFtraceEventDefaultTypeInternal _Ext4LoadInodeFtraceEvent_default_instance_;
Ext4LoadInodeBitmapFtraceEvent(::_pbi::ConstantInitialized)1143 PROTOBUF_CONSTEXPR Ext4LoadInodeBitmapFtraceEvent::Ext4LoadInodeBitmapFtraceEvent(
1144     ::_pbi::ConstantInitialized): _impl_{
1145     /*decltype(_impl_._has_bits_)*/{}
1146   , /*decltype(_impl_._cached_size_)*/{}
1147   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
1148   , /*decltype(_impl_.group_)*/0u} {}
1149 struct Ext4LoadInodeBitmapFtraceEventDefaultTypeInternal {
Ext4LoadInodeBitmapFtraceEventDefaultTypeInternalperfetto::protos::Ext4LoadInodeBitmapFtraceEventDefaultTypeInternal1150   PROTOBUF_CONSTEXPR Ext4LoadInodeBitmapFtraceEventDefaultTypeInternal()
1151       : _instance(::_pbi::ConstantInitialized{}) {}
~Ext4LoadInodeBitmapFtraceEventDefaultTypeInternalperfetto::protos::Ext4LoadInodeBitmapFtraceEventDefaultTypeInternal1152   ~Ext4LoadInodeBitmapFtraceEventDefaultTypeInternal() {}
1153   union {  // NOLINT(misc-non-private-member-variables-in-classes)
1154     Ext4LoadInodeBitmapFtraceEvent _instance;
1155   };
1156 };
1157 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Ext4LoadInodeBitmapFtraceEventDefaultTypeInternal _Ext4LoadInodeBitmapFtraceEvent_default_instance_;
Ext4MarkInodeDirtyFtraceEvent(::_pbi::ConstantInitialized)1158 PROTOBUF_CONSTEXPR Ext4MarkInodeDirtyFtraceEvent::Ext4MarkInodeDirtyFtraceEvent(
1159     ::_pbi::ConstantInitialized): _impl_{
1160     /*decltype(_impl_._has_bits_)*/{}
1161   , /*decltype(_impl_._cached_size_)*/{}
1162   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
1163   , /*decltype(_impl_.ino_)*/::uint64_t{0u}
1164   , /*decltype(_impl_.ip_)*/::uint64_t{0u}} {}
1165 struct Ext4MarkInodeDirtyFtraceEventDefaultTypeInternal {
Ext4MarkInodeDirtyFtraceEventDefaultTypeInternalperfetto::protos::Ext4MarkInodeDirtyFtraceEventDefaultTypeInternal1166   PROTOBUF_CONSTEXPR Ext4MarkInodeDirtyFtraceEventDefaultTypeInternal()
1167       : _instance(::_pbi::ConstantInitialized{}) {}
~Ext4MarkInodeDirtyFtraceEventDefaultTypeInternalperfetto::protos::Ext4MarkInodeDirtyFtraceEventDefaultTypeInternal1168   ~Ext4MarkInodeDirtyFtraceEventDefaultTypeInternal() {}
1169   union {  // NOLINT(misc-non-private-member-variables-in-classes)
1170     Ext4MarkInodeDirtyFtraceEvent _instance;
1171   };
1172 };
1173 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Ext4MarkInodeDirtyFtraceEventDefaultTypeInternal _Ext4MarkInodeDirtyFtraceEvent_default_instance_;
Ext4MbBitmapLoadFtraceEvent(::_pbi::ConstantInitialized)1174 PROTOBUF_CONSTEXPR Ext4MbBitmapLoadFtraceEvent::Ext4MbBitmapLoadFtraceEvent(
1175     ::_pbi::ConstantInitialized): _impl_{
1176     /*decltype(_impl_._has_bits_)*/{}
1177   , /*decltype(_impl_._cached_size_)*/{}
1178   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
1179   , /*decltype(_impl_.group_)*/0u} {}
1180 struct Ext4MbBitmapLoadFtraceEventDefaultTypeInternal {
Ext4MbBitmapLoadFtraceEventDefaultTypeInternalperfetto::protos::Ext4MbBitmapLoadFtraceEventDefaultTypeInternal1181   PROTOBUF_CONSTEXPR Ext4MbBitmapLoadFtraceEventDefaultTypeInternal()
1182       : _instance(::_pbi::ConstantInitialized{}) {}
~Ext4MbBitmapLoadFtraceEventDefaultTypeInternalperfetto::protos::Ext4MbBitmapLoadFtraceEventDefaultTypeInternal1183   ~Ext4MbBitmapLoadFtraceEventDefaultTypeInternal() {}
1184   union {  // NOLINT(misc-non-private-member-variables-in-classes)
1185     Ext4MbBitmapLoadFtraceEvent _instance;
1186   };
1187 };
1188 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Ext4MbBitmapLoadFtraceEventDefaultTypeInternal _Ext4MbBitmapLoadFtraceEvent_default_instance_;
Ext4MbBuddyBitmapLoadFtraceEvent(::_pbi::ConstantInitialized)1189 PROTOBUF_CONSTEXPR Ext4MbBuddyBitmapLoadFtraceEvent::Ext4MbBuddyBitmapLoadFtraceEvent(
1190     ::_pbi::ConstantInitialized): _impl_{
1191     /*decltype(_impl_._has_bits_)*/{}
1192   , /*decltype(_impl_._cached_size_)*/{}
1193   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
1194   , /*decltype(_impl_.group_)*/0u} {}
1195 struct Ext4MbBuddyBitmapLoadFtraceEventDefaultTypeInternal {
Ext4MbBuddyBitmapLoadFtraceEventDefaultTypeInternalperfetto::protos::Ext4MbBuddyBitmapLoadFtraceEventDefaultTypeInternal1196   PROTOBUF_CONSTEXPR Ext4MbBuddyBitmapLoadFtraceEventDefaultTypeInternal()
1197       : _instance(::_pbi::ConstantInitialized{}) {}
~Ext4MbBuddyBitmapLoadFtraceEventDefaultTypeInternalperfetto::protos::Ext4MbBuddyBitmapLoadFtraceEventDefaultTypeInternal1198   ~Ext4MbBuddyBitmapLoadFtraceEventDefaultTypeInternal() {}
1199   union {  // NOLINT(misc-non-private-member-variables-in-classes)
1200     Ext4MbBuddyBitmapLoadFtraceEvent _instance;
1201   };
1202 };
1203 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Ext4MbBuddyBitmapLoadFtraceEventDefaultTypeInternal _Ext4MbBuddyBitmapLoadFtraceEvent_default_instance_;
Ext4MbDiscardPreallocationsFtraceEvent(::_pbi::ConstantInitialized)1204 PROTOBUF_CONSTEXPR Ext4MbDiscardPreallocationsFtraceEvent::Ext4MbDiscardPreallocationsFtraceEvent(
1205     ::_pbi::ConstantInitialized): _impl_{
1206     /*decltype(_impl_._has_bits_)*/{}
1207   , /*decltype(_impl_._cached_size_)*/{}
1208   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
1209   , /*decltype(_impl_.needed_)*/0} {}
1210 struct Ext4MbDiscardPreallocationsFtraceEventDefaultTypeInternal {
Ext4MbDiscardPreallocationsFtraceEventDefaultTypeInternalperfetto::protos::Ext4MbDiscardPreallocationsFtraceEventDefaultTypeInternal1211   PROTOBUF_CONSTEXPR Ext4MbDiscardPreallocationsFtraceEventDefaultTypeInternal()
1212       : _instance(::_pbi::ConstantInitialized{}) {}
~Ext4MbDiscardPreallocationsFtraceEventDefaultTypeInternalperfetto::protos::Ext4MbDiscardPreallocationsFtraceEventDefaultTypeInternal1213   ~Ext4MbDiscardPreallocationsFtraceEventDefaultTypeInternal() {}
1214   union {  // NOLINT(misc-non-private-member-variables-in-classes)
1215     Ext4MbDiscardPreallocationsFtraceEvent _instance;
1216   };
1217 };
1218 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Ext4MbDiscardPreallocationsFtraceEventDefaultTypeInternal _Ext4MbDiscardPreallocationsFtraceEvent_default_instance_;
Ext4MbNewGroupPaFtraceEvent(::_pbi::ConstantInitialized)1219 PROTOBUF_CONSTEXPR Ext4MbNewGroupPaFtraceEvent::Ext4MbNewGroupPaFtraceEvent(
1220     ::_pbi::ConstantInitialized): _impl_{
1221     /*decltype(_impl_._has_bits_)*/{}
1222   , /*decltype(_impl_._cached_size_)*/{}
1223   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
1224   , /*decltype(_impl_.ino_)*/::uint64_t{0u}
1225   , /*decltype(_impl_.pa_pstart_)*/::uint64_t{0u}
1226   , /*decltype(_impl_.pa_lstart_)*/::uint64_t{0u}
1227   , /*decltype(_impl_.pa_len_)*/0u} {}
1228 struct Ext4MbNewGroupPaFtraceEventDefaultTypeInternal {
Ext4MbNewGroupPaFtraceEventDefaultTypeInternalperfetto::protos::Ext4MbNewGroupPaFtraceEventDefaultTypeInternal1229   PROTOBUF_CONSTEXPR Ext4MbNewGroupPaFtraceEventDefaultTypeInternal()
1230       : _instance(::_pbi::ConstantInitialized{}) {}
~Ext4MbNewGroupPaFtraceEventDefaultTypeInternalperfetto::protos::Ext4MbNewGroupPaFtraceEventDefaultTypeInternal1231   ~Ext4MbNewGroupPaFtraceEventDefaultTypeInternal() {}
1232   union {  // NOLINT(misc-non-private-member-variables-in-classes)
1233     Ext4MbNewGroupPaFtraceEvent _instance;
1234   };
1235 };
1236 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Ext4MbNewGroupPaFtraceEventDefaultTypeInternal _Ext4MbNewGroupPaFtraceEvent_default_instance_;
Ext4MbNewInodePaFtraceEvent(::_pbi::ConstantInitialized)1237 PROTOBUF_CONSTEXPR Ext4MbNewInodePaFtraceEvent::Ext4MbNewInodePaFtraceEvent(
1238     ::_pbi::ConstantInitialized): _impl_{
1239     /*decltype(_impl_._has_bits_)*/{}
1240   , /*decltype(_impl_._cached_size_)*/{}
1241   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
1242   , /*decltype(_impl_.ino_)*/::uint64_t{0u}
1243   , /*decltype(_impl_.pa_pstart_)*/::uint64_t{0u}
1244   , /*decltype(_impl_.pa_lstart_)*/::uint64_t{0u}
1245   , /*decltype(_impl_.pa_len_)*/0u} {}
1246 struct Ext4MbNewInodePaFtraceEventDefaultTypeInternal {
Ext4MbNewInodePaFtraceEventDefaultTypeInternalperfetto::protos::Ext4MbNewInodePaFtraceEventDefaultTypeInternal1247   PROTOBUF_CONSTEXPR Ext4MbNewInodePaFtraceEventDefaultTypeInternal()
1248       : _instance(::_pbi::ConstantInitialized{}) {}
~Ext4MbNewInodePaFtraceEventDefaultTypeInternalperfetto::protos::Ext4MbNewInodePaFtraceEventDefaultTypeInternal1249   ~Ext4MbNewInodePaFtraceEventDefaultTypeInternal() {}
1250   union {  // NOLINT(misc-non-private-member-variables-in-classes)
1251     Ext4MbNewInodePaFtraceEvent _instance;
1252   };
1253 };
1254 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Ext4MbNewInodePaFtraceEventDefaultTypeInternal _Ext4MbNewInodePaFtraceEvent_default_instance_;
Ext4MbReleaseGroupPaFtraceEvent(::_pbi::ConstantInitialized)1255 PROTOBUF_CONSTEXPR Ext4MbReleaseGroupPaFtraceEvent::Ext4MbReleaseGroupPaFtraceEvent(
1256     ::_pbi::ConstantInitialized): _impl_{
1257     /*decltype(_impl_._has_bits_)*/{}
1258   , /*decltype(_impl_._cached_size_)*/{}
1259   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
1260   , /*decltype(_impl_.pa_pstart_)*/::uint64_t{0u}
1261   , /*decltype(_impl_.pa_len_)*/0u} {}
1262 struct Ext4MbReleaseGroupPaFtraceEventDefaultTypeInternal {
Ext4MbReleaseGroupPaFtraceEventDefaultTypeInternalperfetto::protos::Ext4MbReleaseGroupPaFtraceEventDefaultTypeInternal1263   PROTOBUF_CONSTEXPR Ext4MbReleaseGroupPaFtraceEventDefaultTypeInternal()
1264       : _instance(::_pbi::ConstantInitialized{}) {}
~Ext4MbReleaseGroupPaFtraceEventDefaultTypeInternalperfetto::protos::Ext4MbReleaseGroupPaFtraceEventDefaultTypeInternal1265   ~Ext4MbReleaseGroupPaFtraceEventDefaultTypeInternal() {}
1266   union {  // NOLINT(misc-non-private-member-variables-in-classes)
1267     Ext4MbReleaseGroupPaFtraceEvent _instance;
1268   };
1269 };
1270 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Ext4MbReleaseGroupPaFtraceEventDefaultTypeInternal _Ext4MbReleaseGroupPaFtraceEvent_default_instance_;
Ext4MbReleaseInodePaFtraceEvent(::_pbi::ConstantInitialized)1271 PROTOBUF_CONSTEXPR Ext4MbReleaseInodePaFtraceEvent::Ext4MbReleaseInodePaFtraceEvent(
1272     ::_pbi::ConstantInitialized): _impl_{
1273     /*decltype(_impl_._has_bits_)*/{}
1274   , /*decltype(_impl_._cached_size_)*/{}
1275   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
1276   , /*decltype(_impl_.ino_)*/::uint64_t{0u}
1277   , /*decltype(_impl_.block_)*/::uint64_t{0u}
1278   , /*decltype(_impl_.count_)*/0u} {}
1279 struct Ext4MbReleaseInodePaFtraceEventDefaultTypeInternal {
Ext4MbReleaseInodePaFtraceEventDefaultTypeInternalperfetto::protos::Ext4MbReleaseInodePaFtraceEventDefaultTypeInternal1280   PROTOBUF_CONSTEXPR Ext4MbReleaseInodePaFtraceEventDefaultTypeInternal()
1281       : _instance(::_pbi::ConstantInitialized{}) {}
~Ext4MbReleaseInodePaFtraceEventDefaultTypeInternalperfetto::protos::Ext4MbReleaseInodePaFtraceEventDefaultTypeInternal1282   ~Ext4MbReleaseInodePaFtraceEventDefaultTypeInternal() {}
1283   union {  // NOLINT(misc-non-private-member-variables-in-classes)
1284     Ext4MbReleaseInodePaFtraceEvent _instance;
1285   };
1286 };
1287 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Ext4MbReleaseInodePaFtraceEventDefaultTypeInternal _Ext4MbReleaseInodePaFtraceEvent_default_instance_;
Ext4MballocAllocFtraceEvent(::_pbi::ConstantInitialized)1288 PROTOBUF_CONSTEXPR Ext4MballocAllocFtraceEvent::Ext4MballocAllocFtraceEvent(
1289     ::_pbi::ConstantInitialized): _impl_{
1290     /*decltype(_impl_._has_bits_)*/{}
1291   , /*decltype(_impl_._cached_size_)*/{}
1292   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
1293   , /*decltype(_impl_.ino_)*/::uint64_t{0u}
1294   , /*decltype(_impl_.orig_logical_)*/0u
1295   , /*decltype(_impl_.orig_start_)*/0
1296   , /*decltype(_impl_.orig_group_)*/0u
1297   , /*decltype(_impl_.orig_len_)*/0
1298   , /*decltype(_impl_.goal_logical_)*/0u
1299   , /*decltype(_impl_.goal_start_)*/0
1300   , /*decltype(_impl_.goal_group_)*/0u
1301   , /*decltype(_impl_.goal_len_)*/0
1302   , /*decltype(_impl_.result_logical_)*/0u
1303   , /*decltype(_impl_.result_start_)*/0
1304   , /*decltype(_impl_.result_group_)*/0u
1305   , /*decltype(_impl_.result_len_)*/0
1306   , /*decltype(_impl_.found_)*/0u
1307   , /*decltype(_impl_.groups_)*/0u
1308   , /*decltype(_impl_.buddy_)*/0u
1309   , /*decltype(_impl_.flags_)*/0u
1310   , /*decltype(_impl_.tail_)*/0u
1311   , /*decltype(_impl_.cr_)*/0u} {}
1312 struct Ext4MballocAllocFtraceEventDefaultTypeInternal {
Ext4MballocAllocFtraceEventDefaultTypeInternalperfetto::protos::Ext4MballocAllocFtraceEventDefaultTypeInternal1313   PROTOBUF_CONSTEXPR Ext4MballocAllocFtraceEventDefaultTypeInternal()
1314       : _instance(::_pbi::ConstantInitialized{}) {}
~Ext4MballocAllocFtraceEventDefaultTypeInternalperfetto::protos::Ext4MballocAllocFtraceEventDefaultTypeInternal1315   ~Ext4MballocAllocFtraceEventDefaultTypeInternal() {}
1316   union {  // NOLINT(misc-non-private-member-variables-in-classes)
1317     Ext4MballocAllocFtraceEvent _instance;
1318   };
1319 };
1320 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Ext4MballocAllocFtraceEventDefaultTypeInternal _Ext4MballocAllocFtraceEvent_default_instance_;
Ext4MballocDiscardFtraceEvent(::_pbi::ConstantInitialized)1321 PROTOBUF_CONSTEXPR Ext4MballocDiscardFtraceEvent::Ext4MballocDiscardFtraceEvent(
1322     ::_pbi::ConstantInitialized): _impl_{
1323     /*decltype(_impl_._has_bits_)*/{}
1324   , /*decltype(_impl_._cached_size_)*/{}
1325   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
1326   , /*decltype(_impl_.ino_)*/::uint64_t{0u}
1327   , /*decltype(_impl_.result_start_)*/0
1328   , /*decltype(_impl_.result_group_)*/0u
1329   , /*decltype(_impl_.result_len_)*/0} {}
1330 struct Ext4MballocDiscardFtraceEventDefaultTypeInternal {
Ext4MballocDiscardFtraceEventDefaultTypeInternalperfetto::protos::Ext4MballocDiscardFtraceEventDefaultTypeInternal1331   PROTOBUF_CONSTEXPR Ext4MballocDiscardFtraceEventDefaultTypeInternal()
1332       : _instance(::_pbi::ConstantInitialized{}) {}
~Ext4MballocDiscardFtraceEventDefaultTypeInternalperfetto::protos::Ext4MballocDiscardFtraceEventDefaultTypeInternal1333   ~Ext4MballocDiscardFtraceEventDefaultTypeInternal() {}
1334   union {  // NOLINT(misc-non-private-member-variables-in-classes)
1335     Ext4MballocDiscardFtraceEvent _instance;
1336   };
1337 };
1338 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Ext4MballocDiscardFtraceEventDefaultTypeInternal _Ext4MballocDiscardFtraceEvent_default_instance_;
Ext4MballocFreeFtraceEvent(::_pbi::ConstantInitialized)1339 PROTOBUF_CONSTEXPR Ext4MballocFreeFtraceEvent::Ext4MballocFreeFtraceEvent(
1340     ::_pbi::ConstantInitialized): _impl_{
1341     /*decltype(_impl_._has_bits_)*/{}
1342   , /*decltype(_impl_._cached_size_)*/{}
1343   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
1344   , /*decltype(_impl_.ino_)*/::uint64_t{0u}
1345   , /*decltype(_impl_.result_start_)*/0
1346   , /*decltype(_impl_.result_group_)*/0u
1347   , /*decltype(_impl_.result_len_)*/0} {}
1348 struct Ext4MballocFreeFtraceEventDefaultTypeInternal {
Ext4MballocFreeFtraceEventDefaultTypeInternalperfetto::protos::Ext4MballocFreeFtraceEventDefaultTypeInternal1349   PROTOBUF_CONSTEXPR Ext4MballocFreeFtraceEventDefaultTypeInternal()
1350       : _instance(::_pbi::ConstantInitialized{}) {}
~Ext4MballocFreeFtraceEventDefaultTypeInternalperfetto::protos::Ext4MballocFreeFtraceEventDefaultTypeInternal1351   ~Ext4MballocFreeFtraceEventDefaultTypeInternal() {}
1352   union {  // NOLINT(misc-non-private-member-variables-in-classes)
1353     Ext4MballocFreeFtraceEvent _instance;
1354   };
1355 };
1356 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Ext4MballocFreeFtraceEventDefaultTypeInternal _Ext4MballocFreeFtraceEvent_default_instance_;
Ext4MballocPreallocFtraceEvent(::_pbi::ConstantInitialized)1357 PROTOBUF_CONSTEXPR Ext4MballocPreallocFtraceEvent::Ext4MballocPreallocFtraceEvent(
1358     ::_pbi::ConstantInitialized): _impl_{
1359     /*decltype(_impl_._has_bits_)*/{}
1360   , /*decltype(_impl_._cached_size_)*/{}
1361   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
1362   , /*decltype(_impl_.ino_)*/::uint64_t{0u}
1363   , /*decltype(_impl_.orig_logical_)*/0u
1364   , /*decltype(_impl_.orig_start_)*/0
1365   , /*decltype(_impl_.orig_group_)*/0u
1366   , /*decltype(_impl_.orig_len_)*/0
1367   , /*decltype(_impl_.result_logical_)*/0u
1368   , /*decltype(_impl_.result_start_)*/0
1369   , /*decltype(_impl_.result_group_)*/0u
1370   , /*decltype(_impl_.result_len_)*/0} {}
1371 struct Ext4MballocPreallocFtraceEventDefaultTypeInternal {
Ext4MballocPreallocFtraceEventDefaultTypeInternalperfetto::protos::Ext4MballocPreallocFtraceEventDefaultTypeInternal1372   PROTOBUF_CONSTEXPR Ext4MballocPreallocFtraceEventDefaultTypeInternal()
1373       : _instance(::_pbi::ConstantInitialized{}) {}
~Ext4MballocPreallocFtraceEventDefaultTypeInternalperfetto::protos::Ext4MballocPreallocFtraceEventDefaultTypeInternal1374   ~Ext4MballocPreallocFtraceEventDefaultTypeInternal() {}
1375   union {  // NOLINT(misc-non-private-member-variables-in-classes)
1376     Ext4MballocPreallocFtraceEvent _instance;
1377   };
1378 };
1379 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Ext4MballocPreallocFtraceEventDefaultTypeInternal _Ext4MballocPreallocFtraceEvent_default_instance_;
Ext4OtherInodeUpdateTimeFtraceEvent(::_pbi::ConstantInitialized)1380 PROTOBUF_CONSTEXPR Ext4OtherInodeUpdateTimeFtraceEvent::Ext4OtherInodeUpdateTimeFtraceEvent(
1381     ::_pbi::ConstantInitialized): _impl_{
1382     /*decltype(_impl_._has_bits_)*/{}
1383   , /*decltype(_impl_._cached_size_)*/{}
1384   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
1385   , /*decltype(_impl_.ino_)*/::uint64_t{0u}
1386   , /*decltype(_impl_.orig_ino_)*/::uint64_t{0u}
1387   , /*decltype(_impl_.uid_)*/0u
1388   , /*decltype(_impl_.gid_)*/0u
1389   , /*decltype(_impl_.mode_)*/0u} {}
1390 struct Ext4OtherInodeUpdateTimeFtraceEventDefaultTypeInternal {
Ext4OtherInodeUpdateTimeFtraceEventDefaultTypeInternalperfetto::protos::Ext4OtherInodeUpdateTimeFtraceEventDefaultTypeInternal1391   PROTOBUF_CONSTEXPR Ext4OtherInodeUpdateTimeFtraceEventDefaultTypeInternal()
1392       : _instance(::_pbi::ConstantInitialized{}) {}
~Ext4OtherInodeUpdateTimeFtraceEventDefaultTypeInternalperfetto::protos::Ext4OtherInodeUpdateTimeFtraceEventDefaultTypeInternal1393   ~Ext4OtherInodeUpdateTimeFtraceEventDefaultTypeInternal() {}
1394   union {  // NOLINT(misc-non-private-member-variables-in-classes)
1395     Ext4OtherInodeUpdateTimeFtraceEvent _instance;
1396   };
1397 };
1398 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Ext4OtherInodeUpdateTimeFtraceEventDefaultTypeInternal _Ext4OtherInodeUpdateTimeFtraceEvent_default_instance_;
Ext4PunchHoleFtraceEvent(::_pbi::ConstantInitialized)1399 PROTOBUF_CONSTEXPR Ext4PunchHoleFtraceEvent::Ext4PunchHoleFtraceEvent(
1400     ::_pbi::ConstantInitialized): _impl_{
1401     /*decltype(_impl_._has_bits_)*/{}
1402   , /*decltype(_impl_._cached_size_)*/{}
1403   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
1404   , /*decltype(_impl_.ino_)*/::uint64_t{0u}
1405   , /*decltype(_impl_.offset_)*/::int64_t{0}
1406   , /*decltype(_impl_.len_)*/::int64_t{0}
1407   , /*decltype(_impl_.mode_)*/0} {}
1408 struct Ext4PunchHoleFtraceEventDefaultTypeInternal {
Ext4PunchHoleFtraceEventDefaultTypeInternalperfetto::protos::Ext4PunchHoleFtraceEventDefaultTypeInternal1409   PROTOBUF_CONSTEXPR Ext4PunchHoleFtraceEventDefaultTypeInternal()
1410       : _instance(::_pbi::ConstantInitialized{}) {}
~Ext4PunchHoleFtraceEventDefaultTypeInternalperfetto::protos::Ext4PunchHoleFtraceEventDefaultTypeInternal1411   ~Ext4PunchHoleFtraceEventDefaultTypeInternal() {}
1412   union {  // NOLINT(misc-non-private-member-variables-in-classes)
1413     Ext4PunchHoleFtraceEvent _instance;
1414   };
1415 };
1416 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Ext4PunchHoleFtraceEventDefaultTypeInternal _Ext4PunchHoleFtraceEvent_default_instance_;
Ext4ReadBlockBitmapLoadFtraceEvent(::_pbi::ConstantInitialized)1417 PROTOBUF_CONSTEXPR Ext4ReadBlockBitmapLoadFtraceEvent::Ext4ReadBlockBitmapLoadFtraceEvent(
1418     ::_pbi::ConstantInitialized): _impl_{
1419     /*decltype(_impl_._has_bits_)*/{}
1420   , /*decltype(_impl_._cached_size_)*/{}
1421   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
1422   , /*decltype(_impl_.group_)*/0u
1423   , /*decltype(_impl_.prefetch_)*/0u} {}
1424 struct Ext4ReadBlockBitmapLoadFtraceEventDefaultTypeInternal {
Ext4ReadBlockBitmapLoadFtraceEventDefaultTypeInternalperfetto::protos::Ext4ReadBlockBitmapLoadFtraceEventDefaultTypeInternal1425   PROTOBUF_CONSTEXPR Ext4ReadBlockBitmapLoadFtraceEventDefaultTypeInternal()
1426       : _instance(::_pbi::ConstantInitialized{}) {}
~Ext4ReadBlockBitmapLoadFtraceEventDefaultTypeInternalperfetto::protos::Ext4ReadBlockBitmapLoadFtraceEventDefaultTypeInternal1427   ~Ext4ReadBlockBitmapLoadFtraceEventDefaultTypeInternal() {}
1428   union {  // NOLINT(misc-non-private-member-variables-in-classes)
1429     Ext4ReadBlockBitmapLoadFtraceEvent _instance;
1430   };
1431 };
1432 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Ext4ReadBlockBitmapLoadFtraceEventDefaultTypeInternal _Ext4ReadBlockBitmapLoadFtraceEvent_default_instance_;
Ext4ReadpageFtraceEvent(::_pbi::ConstantInitialized)1433 PROTOBUF_CONSTEXPR Ext4ReadpageFtraceEvent::Ext4ReadpageFtraceEvent(
1434     ::_pbi::ConstantInitialized): _impl_{
1435     /*decltype(_impl_._has_bits_)*/{}
1436   , /*decltype(_impl_._cached_size_)*/{}
1437   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
1438   , /*decltype(_impl_.ino_)*/::uint64_t{0u}
1439   , /*decltype(_impl_.index_)*/::uint64_t{0u}} {}
1440 struct Ext4ReadpageFtraceEventDefaultTypeInternal {
Ext4ReadpageFtraceEventDefaultTypeInternalperfetto::protos::Ext4ReadpageFtraceEventDefaultTypeInternal1441   PROTOBUF_CONSTEXPR Ext4ReadpageFtraceEventDefaultTypeInternal()
1442       : _instance(::_pbi::ConstantInitialized{}) {}
~Ext4ReadpageFtraceEventDefaultTypeInternalperfetto::protos::Ext4ReadpageFtraceEventDefaultTypeInternal1443   ~Ext4ReadpageFtraceEventDefaultTypeInternal() {}
1444   union {  // NOLINT(misc-non-private-member-variables-in-classes)
1445     Ext4ReadpageFtraceEvent _instance;
1446   };
1447 };
1448 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Ext4ReadpageFtraceEventDefaultTypeInternal _Ext4ReadpageFtraceEvent_default_instance_;
Ext4ReleasepageFtraceEvent(::_pbi::ConstantInitialized)1449 PROTOBUF_CONSTEXPR Ext4ReleasepageFtraceEvent::Ext4ReleasepageFtraceEvent(
1450     ::_pbi::ConstantInitialized): _impl_{
1451     /*decltype(_impl_._has_bits_)*/{}
1452   , /*decltype(_impl_._cached_size_)*/{}
1453   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
1454   , /*decltype(_impl_.ino_)*/::uint64_t{0u}
1455   , /*decltype(_impl_.index_)*/::uint64_t{0u}} {}
1456 struct Ext4ReleasepageFtraceEventDefaultTypeInternal {
Ext4ReleasepageFtraceEventDefaultTypeInternalperfetto::protos::Ext4ReleasepageFtraceEventDefaultTypeInternal1457   PROTOBUF_CONSTEXPR Ext4ReleasepageFtraceEventDefaultTypeInternal()
1458       : _instance(::_pbi::ConstantInitialized{}) {}
~Ext4ReleasepageFtraceEventDefaultTypeInternalperfetto::protos::Ext4ReleasepageFtraceEventDefaultTypeInternal1459   ~Ext4ReleasepageFtraceEventDefaultTypeInternal() {}
1460   union {  // NOLINT(misc-non-private-member-variables-in-classes)
1461     Ext4ReleasepageFtraceEvent _instance;
1462   };
1463 };
1464 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Ext4ReleasepageFtraceEventDefaultTypeInternal _Ext4ReleasepageFtraceEvent_default_instance_;
Ext4RemoveBlocksFtraceEvent(::_pbi::ConstantInitialized)1465 PROTOBUF_CONSTEXPR Ext4RemoveBlocksFtraceEvent::Ext4RemoveBlocksFtraceEvent(
1466     ::_pbi::ConstantInitialized): _impl_{
1467     /*decltype(_impl_._has_bits_)*/{}
1468   , /*decltype(_impl_._cached_size_)*/{}
1469   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
1470   , /*decltype(_impl_.ino_)*/::uint64_t{0u}
1471   , /*decltype(_impl_.from_)*/0u
1472   , /*decltype(_impl_.to_)*/0u
1473   , /*decltype(_impl_.partial_)*/::int64_t{0}
1474   , /*decltype(_impl_.ee_pblk_)*/::uint64_t{0u}
1475   , /*decltype(_impl_.ee_lblk_)*/0u
1476   , /*decltype(_impl_.ee_len_)*/0u
1477   , /*decltype(_impl_.pc_pclu_)*/::uint64_t{0u}
1478   , /*decltype(_impl_.pc_lblk_)*/0u
1479   , /*decltype(_impl_.pc_state_)*/0} {}
1480 struct Ext4RemoveBlocksFtraceEventDefaultTypeInternal {
Ext4RemoveBlocksFtraceEventDefaultTypeInternalperfetto::protos::Ext4RemoveBlocksFtraceEventDefaultTypeInternal1481   PROTOBUF_CONSTEXPR Ext4RemoveBlocksFtraceEventDefaultTypeInternal()
1482       : _instance(::_pbi::ConstantInitialized{}) {}
~Ext4RemoveBlocksFtraceEventDefaultTypeInternalperfetto::protos::Ext4RemoveBlocksFtraceEventDefaultTypeInternal1483   ~Ext4RemoveBlocksFtraceEventDefaultTypeInternal() {}
1484   union {  // NOLINT(misc-non-private-member-variables-in-classes)
1485     Ext4RemoveBlocksFtraceEvent _instance;
1486   };
1487 };
1488 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Ext4RemoveBlocksFtraceEventDefaultTypeInternal _Ext4RemoveBlocksFtraceEvent_default_instance_;
Ext4RequestBlocksFtraceEvent(::_pbi::ConstantInitialized)1489 PROTOBUF_CONSTEXPR Ext4RequestBlocksFtraceEvent::Ext4RequestBlocksFtraceEvent(
1490     ::_pbi::ConstantInitialized): _impl_{
1491     /*decltype(_impl_._has_bits_)*/{}
1492   , /*decltype(_impl_._cached_size_)*/{}
1493   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
1494   , /*decltype(_impl_.ino_)*/::uint64_t{0u}
1495   , /*decltype(_impl_.len_)*/0u
1496   , /*decltype(_impl_.logical_)*/0u
1497   , /*decltype(_impl_.lleft_)*/0u
1498   , /*decltype(_impl_.lright_)*/0u
1499   , /*decltype(_impl_.goal_)*/::uint64_t{0u}
1500   , /*decltype(_impl_.pleft_)*/::uint64_t{0u}
1501   , /*decltype(_impl_.pright_)*/::uint64_t{0u}
1502   , /*decltype(_impl_.flags_)*/0u} {}
1503 struct Ext4RequestBlocksFtraceEventDefaultTypeInternal {
Ext4RequestBlocksFtraceEventDefaultTypeInternalperfetto::protos::Ext4RequestBlocksFtraceEventDefaultTypeInternal1504   PROTOBUF_CONSTEXPR Ext4RequestBlocksFtraceEventDefaultTypeInternal()
1505       : _instance(::_pbi::ConstantInitialized{}) {}
~Ext4RequestBlocksFtraceEventDefaultTypeInternalperfetto::protos::Ext4RequestBlocksFtraceEventDefaultTypeInternal1506   ~Ext4RequestBlocksFtraceEventDefaultTypeInternal() {}
1507   union {  // NOLINT(misc-non-private-member-variables-in-classes)
1508     Ext4RequestBlocksFtraceEvent _instance;
1509   };
1510 };
1511 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Ext4RequestBlocksFtraceEventDefaultTypeInternal _Ext4RequestBlocksFtraceEvent_default_instance_;
Ext4RequestInodeFtraceEvent(::_pbi::ConstantInitialized)1512 PROTOBUF_CONSTEXPR Ext4RequestInodeFtraceEvent::Ext4RequestInodeFtraceEvent(
1513     ::_pbi::ConstantInitialized): _impl_{
1514     /*decltype(_impl_._has_bits_)*/{}
1515   , /*decltype(_impl_._cached_size_)*/{}
1516   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
1517   , /*decltype(_impl_.dir_)*/::uint64_t{0u}
1518   , /*decltype(_impl_.mode_)*/0u} {}
1519 struct Ext4RequestInodeFtraceEventDefaultTypeInternal {
Ext4RequestInodeFtraceEventDefaultTypeInternalperfetto::protos::Ext4RequestInodeFtraceEventDefaultTypeInternal1520   PROTOBUF_CONSTEXPR Ext4RequestInodeFtraceEventDefaultTypeInternal()
1521       : _instance(::_pbi::ConstantInitialized{}) {}
~Ext4RequestInodeFtraceEventDefaultTypeInternalperfetto::protos::Ext4RequestInodeFtraceEventDefaultTypeInternal1522   ~Ext4RequestInodeFtraceEventDefaultTypeInternal() {}
1523   union {  // NOLINT(misc-non-private-member-variables-in-classes)
1524     Ext4RequestInodeFtraceEvent _instance;
1525   };
1526 };
1527 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Ext4RequestInodeFtraceEventDefaultTypeInternal _Ext4RequestInodeFtraceEvent_default_instance_;
Ext4SyncFsFtraceEvent(::_pbi::ConstantInitialized)1528 PROTOBUF_CONSTEXPR Ext4SyncFsFtraceEvent::Ext4SyncFsFtraceEvent(
1529     ::_pbi::ConstantInitialized): _impl_{
1530     /*decltype(_impl_._has_bits_)*/{}
1531   , /*decltype(_impl_._cached_size_)*/{}
1532   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
1533   , /*decltype(_impl_.wait_)*/0} {}
1534 struct Ext4SyncFsFtraceEventDefaultTypeInternal {
Ext4SyncFsFtraceEventDefaultTypeInternalperfetto::protos::Ext4SyncFsFtraceEventDefaultTypeInternal1535   PROTOBUF_CONSTEXPR Ext4SyncFsFtraceEventDefaultTypeInternal()
1536       : _instance(::_pbi::ConstantInitialized{}) {}
~Ext4SyncFsFtraceEventDefaultTypeInternalperfetto::protos::Ext4SyncFsFtraceEventDefaultTypeInternal1537   ~Ext4SyncFsFtraceEventDefaultTypeInternal() {}
1538   union {  // NOLINT(misc-non-private-member-variables-in-classes)
1539     Ext4SyncFsFtraceEvent _instance;
1540   };
1541 };
1542 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Ext4SyncFsFtraceEventDefaultTypeInternal _Ext4SyncFsFtraceEvent_default_instance_;
Ext4TrimAllFreeFtraceEvent(::_pbi::ConstantInitialized)1543 PROTOBUF_CONSTEXPR Ext4TrimAllFreeFtraceEvent::Ext4TrimAllFreeFtraceEvent(
1544     ::_pbi::ConstantInitialized): _impl_{
1545     /*decltype(_impl_._has_bits_)*/{}
1546   , /*decltype(_impl_._cached_size_)*/{}
1547   , /*decltype(_impl_.dev_major_)*/0
1548   , /*decltype(_impl_.dev_minor_)*/0
1549   , /*decltype(_impl_.group_)*/0u
1550   , /*decltype(_impl_.start_)*/0
1551   , /*decltype(_impl_.len_)*/0} {}
1552 struct Ext4TrimAllFreeFtraceEventDefaultTypeInternal {
Ext4TrimAllFreeFtraceEventDefaultTypeInternalperfetto::protos::Ext4TrimAllFreeFtraceEventDefaultTypeInternal1553   PROTOBUF_CONSTEXPR Ext4TrimAllFreeFtraceEventDefaultTypeInternal()
1554       : _instance(::_pbi::ConstantInitialized{}) {}
~Ext4TrimAllFreeFtraceEventDefaultTypeInternalperfetto::protos::Ext4TrimAllFreeFtraceEventDefaultTypeInternal1555   ~Ext4TrimAllFreeFtraceEventDefaultTypeInternal() {}
1556   union {  // NOLINT(misc-non-private-member-variables-in-classes)
1557     Ext4TrimAllFreeFtraceEvent _instance;
1558   };
1559 };
1560 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Ext4TrimAllFreeFtraceEventDefaultTypeInternal _Ext4TrimAllFreeFtraceEvent_default_instance_;
Ext4TrimExtentFtraceEvent(::_pbi::ConstantInitialized)1561 PROTOBUF_CONSTEXPR Ext4TrimExtentFtraceEvent::Ext4TrimExtentFtraceEvent(
1562     ::_pbi::ConstantInitialized): _impl_{
1563     /*decltype(_impl_._has_bits_)*/{}
1564   , /*decltype(_impl_._cached_size_)*/{}
1565   , /*decltype(_impl_.dev_major_)*/0
1566   , /*decltype(_impl_.dev_minor_)*/0
1567   , /*decltype(_impl_.group_)*/0u
1568   , /*decltype(_impl_.start_)*/0
1569   , /*decltype(_impl_.len_)*/0} {}
1570 struct Ext4TrimExtentFtraceEventDefaultTypeInternal {
Ext4TrimExtentFtraceEventDefaultTypeInternalperfetto::protos::Ext4TrimExtentFtraceEventDefaultTypeInternal1571   PROTOBUF_CONSTEXPR Ext4TrimExtentFtraceEventDefaultTypeInternal()
1572       : _instance(::_pbi::ConstantInitialized{}) {}
~Ext4TrimExtentFtraceEventDefaultTypeInternalperfetto::protos::Ext4TrimExtentFtraceEventDefaultTypeInternal1573   ~Ext4TrimExtentFtraceEventDefaultTypeInternal() {}
1574   union {  // NOLINT(misc-non-private-member-variables-in-classes)
1575     Ext4TrimExtentFtraceEvent _instance;
1576   };
1577 };
1578 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Ext4TrimExtentFtraceEventDefaultTypeInternal _Ext4TrimExtentFtraceEvent_default_instance_;
Ext4TruncateEnterFtraceEvent(::_pbi::ConstantInitialized)1579 PROTOBUF_CONSTEXPR Ext4TruncateEnterFtraceEvent::Ext4TruncateEnterFtraceEvent(
1580     ::_pbi::ConstantInitialized): _impl_{
1581     /*decltype(_impl_._has_bits_)*/{}
1582   , /*decltype(_impl_._cached_size_)*/{}
1583   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
1584   , /*decltype(_impl_.ino_)*/::uint64_t{0u}
1585   , /*decltype(_impl_.blocks_)*/::uint64_t{0u}} {}
1586 struct Ext4TruncateEnterFtraceEventDefaultTypeInternal {
Ext4TruncateEnterFtraceEventDefaultTypeInternalperfetto::protos::Ext4TruncateEnterFtraceEventDefaultTypeInternal1587   PROTOBUF_CONSTEXPR Ext4TruncateEnterFtraceEventDefaultTypeInternal()
1588       : _instance(::_pbi::ConstantInitialized{}) {}
~Ext4TruncateEnterFtraceEventDefaultTypeInternalperfetto::protos::Ext4TruncateEnterFtraceEventDefaultTypeInternal1589   ~Ext4TruncateEnterFtraceEventDefaultTypeInternal() {}
1590   union {  // NOLINT(misc-non-private-member-variables-in-classes)
1591     Ext4TruncateEnterFtraceEvent _instance;
1592   };
1593 };
1594 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Ext4TruncateEnterFtraceEventDefaultTypeInternal _Ext4TruncateEnterFtraceEvent_default_instance_;
Ext4TruncateExitFtraceEvent(::_pbi::ConstantInitialized)1595 PROTOBUF_CONSTEXPR Ext4TruncateExitFtraceEvent::Ext4TruncateExitFtraceEvent(
1596     ::_pbi::ConstantInitialized): _impl_{
1597     /*decltype(_impl_._has_bits_)*/{}
1598   , /*decltype(_impl_._cached_size_)*/{}
1599   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
1600   , /*decltype(_impl_.ino_)*/::uint64_t{0u}
1601   , /*decltype(_impl_.blocks_)*/::uint64_t{0u}} {}
1602 struct Ext4TruncateExitFtraceEventDefaultTypeInternal {
Ext4TruncateExitFtraceEventDefaultTypeInternalperfetto::protos::Ext4TruncateExitFtraceEventDefaultTypeInternal1603   PROTOBUF_CONSTEXPR Ext4TruncateExitFtraceEventDefaultTypeInternal()
1604       : _instance(::_pbi::ConstantInitialized{}) {}
~Ext4TruncateExitFtraceEventDefaultTypeInternalperfetto::protos::Ext4TruncateExitFtraceEventDefaultTypeInternal1605   ~Ext4TruncateExitFtraceEventDefaultTypeInternal() {}
1606   union {  // NOLINT(misc-non-private-member-variables-in-classes)
1607     Ext4TruncateExitFtraceEvent _instance;
1608   };
1609 };
1610 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Ext4TruncateExitFtraceEventDefaultTypeInternal _Ext4TruncateExitFtraceEvent_default_instance_;
Ext4UnlinkEnterFtraceEvent(::_pbi::ConstantInitialized)1611 PROTOBUF_CONSTEXPR Ext4UnlinkEnterFtraceEvent::Ext4UnlinkEnterFtraceEvent(
1612     ::_pbi::ConstantInitialized): _impl_{
1613     /*decltype(_impl_._has_bits_)*/{}
1614   , /*decltype(_impl_._cached_size_)*/{}
1615   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
1616   , /*decltype(_impl_.ino_)*/::uint64_t{0u}
1617   , /*decltype(_impl_.parent_)*/::uint64_t{0u}
1618   , /*decltype(_impl_.size_)*/::int64_t{0}} {}
1619 struct Ext4UnlinkEnterFtraceEventDefaultTypeInternal {
Ext4UnlinkEnterFtraceEventDefaultTypeInternalperfetto::protos::Ext4UnlinkEnterFtraceEventDefaultTypeInternal1620   PROTOBUF_CONSTEXPR Ext4UnlinkEnterFtraceEventDefaultTypeInternal()
1621       : _instance(::_pbi::ConstantInitialized{}) {}
~Ext4UnlinkEnterFtraceEventDefaultTypeInternalperfetto::protos::Ext4UnlinkEnterFtraceEventDefaultTypeInternal1622   ~Ext4UnlinkEnterFtraceEventDefaultTypeInternal() {}
1623   union {  // NOLINT(misc-non-private-member-variables-in-classes)
1624     Ext4UnlinkEnterFtraceEvent _instance;
1625   };
1626 };
1627 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Ext4UnlinkEnterFtraceEventDefaultTypeInternal _Ext4UnlinkEnterFtraceEvent_default_instance_;
Ext4UnlinkExitFtraceEvent(::_pbi::ConstantInitialized)1628 PROTOBUF_CONSTEXPR Ext4UnlinkExitFtraceEvent::Ext4UnlinkExitFtraceEvent(
1629     ::_pbi::ConstantInitialized): _impl_{
1630     /*decltype(_impl_._has_bits_)*/{}
1631   , /*decltype(_impl_._cached_size_)*/{}
1632   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
1633   , /*decltype(_impl_.ino_)*/::uint64_t{0u}
1634   , /*decltype(_impl_.ret_)*/0} {}
1635 struct Ext4UnlinkExitFtraceEventDefaultTypeInternal {
Ext4UnlinkExitFtraceEventDefaultTypeInternalperfetto::protos::Ext4UnlinkExitFtraceEventDefaultTypeInternal1636   PROTOBUF_CONSTEXPR Ext4UnlinkExitFtraceEventDefaultTypeInternal()
1637       : _instance(::_pbi::ConstantInitialized{}) {}
~Ext4UnlinkExitFtraceEventDefaultTypeInternalperfetto::protos::Ext4UnlinkExitFtraceEventDefaultTypeInternal1638   ~Ext4UnlinkExitFtraceEventDefaultTypeInternal() {}
1639   union {  // NOLINT(misc-non-private-member-variables-in-classes)
1640     Ext4UnlinkExitFtraceEvent _instance;
1641   };
1642 };
1643 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Ext4UnlinkExitFtraceEventDefaultTypeInternal _Ext4UnlinkExitFtraceEvent_default_instance_;
Ext4WriteBeginFtraceEvent(::_pbi::ConstantInitialized)1644 PROTOBUF_CONSTEXPR Ext4WriteBeginFtraceEvent::Ext4WriteBeginFtraceEvent(
1645     ::_pbi::ConstantInitialized): _impl_{
1646     /*decltype(_impl_._has_bits_)*/{}
1647   , /*decltype(_impl_._cached_size_)*/{}
1648   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
1649   , /*decltype(_impl_.ino_)*/::uint64_t{0u}
1650   , /*decltype(_impl_.pos_)*/::int64_t{0}
1651   , /*decltype(_impl_.len_)*/0u
1652   , /*decltype(_impl_.flags_)*/0u} {}
1653 struct Ext4WriteBeginFtraceEventDefaultTypeInternal {
Ext4WriteBeginFtraceEventDefaultTypeInternalperfetto::protos::Ext4WriteBeginFtraceEventDefaultTypeInternal1654   PROTOBUF_CONSTEXPR Ext4WriteBeginFtraceEventDefaultTypeInternal()
1655       : _instance(::_pbi::ConstantInitialized{}) {}
~Ext4WriteBeginFtraceEventDefaultTypeInternalperfetto::protos::Ext4WriteBeginFtraceEventDefaultTypeInternal1656   ~Ext4WriteBeginFtraceEventDefaultTypeInternal() {}
1657   union {  // NOLINT(misc-non-private-member-variables-in-classes)
1658     Ext4WriteBeginFtraceEvent _instance;
1659   };
1660 };
1661 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Ext4WriteBeginFtraceEventDefaultTypeInternal _Ext4WriteBeginFtraceEvent_default_instance_;
Ext4WriteEndFtraceEvent(::_pbi::ConstantInitialized)1662 PROTOBUF_CONSTEXPR Ext4WriteEndFtraceEvent::Ext4WriteEndFtraceEvent(
1663     ::_pbi::ConstantInitialized): _impl_{
1664     /*decltype(_impl_._has_bits_)*/{}
1665   , /*decltype(_impl_._cached_size_)*/{}
1666   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
1667   , /*decltype(_impl_.ino_)*/::uint64_t{0u}
1668   , /*decltype(_impl_.pos_)*/::int64_t{0}
1669   , /*decltype(_impl_.len_)*/0u
1670   , /*decltype(_impl_.copied_)*/0u} {}
1671 struct Ext4WriteEndFtraceEventDefaultTypeInternal {
Ext4WriteEndFtraceEventDefaultTypeInternalperfetto::protos::Ext4WriteEndFtraceEventDefaultTypeInternal1672   PROTOBUF_CONSTEXPR Ext4WriteEndFtraceEventDefaultTypeInternal()
1673       : _instance(::_pbi::ConstantInitialized{}) {}
~Ext4WriteEndFtraceEventDefaultTypeInternalperfetto::protos::Ext4WriteEndFtraceEventDefaultTypeInternal1674   ~Ext4WriteEndFtraceEventDefaultTypeInternal() {}
1675   union {  // NOLINT(misc-non-private-member-variables-in-classes)
1676     Ext4WriteEndFtraceEvent _instance;
1677   };
1678 };
1679 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Ext4WriteEndFtraceEventDefaultTypeInternal _Ext4WriteEndFtraceEvent_default_instance_;
Ext4WritepageFtraceEvent(::_pbi::ConstantInitialized)1680 PROTOBUF_CONSTEXPR Ext4WritepageFtraceEvent::Ext4WritepageFtraceEvent(
1681     ::_pbi::ConstantInitialized): _impl_{
1682     /*decltype(_impl_._has_bits_)*/{}
1683   , /*decltype(_impl_._cached_size_)*/{}
1684   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
1685   , /*decltype(_impl_.ino_)*/::uint64_t{0u}
1686   , /*decltype(_impl_.index_)*/::uint64_t{0u}} {}
1687 struct Ext4WritepageFtraceEventDefaultTypeInternal {
Ext4WritepageFtraceEventDefaultTypeInternalperfetto::protos::Ext4WritepageFtraceEventDefaultTypeInternal1688   PROTOBUF_CONSTEXPR Ext4WritepageFtraceEventDefaultTypeInternal()
1689       : _instance(::_pbi::ConstantInitialized{}) {}
~Ext4WritepageFtraceEventDefaultTypeInternalperfetto::protos::Ext4WritepageFtraceEventDefaultTypeInternal1690   ~Ext4WritepageFtraceEventDefaultTypeInternal() {}
1691   union {  // NOLINT(misc-non-private-member-variables-in-classes)
1692     Ext4WritepageFtraceEvent _instance;
1693   };
1694 };
1695 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Ext4WritepageFtraceEventDefaultTypeInternal _Ext4WritepageFtraceEvent_default_instance_;
Ext4WritepagesFtraceEvent(::_pbi::ConstantInitialized)1696 PROTOBUF_CONSTEXPR Ext4WritepagesFtraceEvent::Ext4WritepagesFtraceEvent(
1697     ::_pbi::ConstantInitialized): _impl_{
1698     /*decltype(_impl_._has_bits_)*/{}
1699   , /*decltype(_impl_._cached_size_)*/{}
1700   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
1701   , /*decltype(_impl_.ino_)*/::uint64_t{0u}
1702   , /*decltype(_impl_.nr_to_write_)*/::int64_t{0}
1703   , /*decltype(_impl_.pages_skipped_)*/::int64_t{0}
1704   , /*decltype(_impl_.range_start_)*/::int64_t{0}
1705   , /*decltype(_impl_.range_end_)*/::int64_t{0}
1706   , /*decltype(_impl_.writeback_index_)*/::uint64_t{0u}
1707   , /*decltype(_impl_.sync_mode_)*/0
1708   , /*decltype(_impl_.for_kupdate_)*/0u
1709   , /*decltype(_impl_.range_cyclic_)*/0u} {}
1710 struct Ext4WritepagesFtraceEventDefaultTypeInternal {
Ext4WritepagesFtraceEventDefaultTypeInternalperfetto::protos::Ext4WritepagesFtraceEventDefaultTypeInternal1711   PROTOBUF_CONSTEXPR Ext4WritepagesFtraceEventDefaultTypeInternal()
1712       : _instance(::_pbi::ConstantInitialized{}) {}
~Ext4WritepagesFtraceEventDefaultTypeInternalperfetto::protos::Ext4WritepagesFtraceEventDefaultTypeInternal1713   ~Ext4WritepagesFtraceEventDefaultTypeInternal() {}
1714   union {  // NOLINT(misc-non-private-member-variables-in-classes)
1715     Ext4WritepagesFtraceEvent _instance;
1716   };
1717 };
1718 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Ext4WritepagesFtraceEventDefaultTypeInternal _Ext4WritepagesFtraceEvent_default_instance_;
Ext4WritepagesResultFtraceEvent(::_pbi::ConstantInitialized)1719 PROTOBUF_CONSTEXPR Ext4WritepagesResultFtraceEvent::Ext4WritepagesResultFtraceEvent(
1720     ::_pbi::ConstantInitialized): _impl_{
1721     /*decltype(_impl_._has_bits_)*/{}
1722   , /*decltype(_impl_._cached_size_)*/{}
1723   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
1724   , /*decltype(_impl_.ino_)*/::uint64_t{0u}
1725   , /*decltype(_impl_.ret_)*/0
1726   , /*decltype(_impl_.pages_written_)*/0
1727   , /*decltype(_impl_.pages_skipped_)*/::int64_t{0}
1728   , /*decltype(_impl_.writeback_index_)*/::uint64_t{0u}
1729   , /*decltype(_impl_.sync_mode_)*/0} {}
1730 struct Ext4WritepagesResultFtraceEventDefaultTypeInternal {
Ext4WritepagesResultFtraceEventDefaultTypeInternalperfetto::protos::Ext4WritepagesResultFtraceEventDefaultTypeInternal1731   PROTOBUF_CONSTEXPR Ext4WritepagesResultFtraceEventDefaultTypeInternal()
1732       : _instance(::_pbi::ConstantInitialized{}) {}
~Ext4WritepagesResultFtraceEventDefaultTypeInternalperfetto::protos::Ext4WritepagesResultFtraceEventDefaultTypeInternal1733   ~Ext4WritepagesResultFtraceEventDefaultTypeInternal() {}
1734   union {  // NOLINT(misc-non-private-member-variables-in-classes)
1735     Ext4WritepagesResultFtraceEvent _instance;
1736   };
1737 };
1738 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Ext4WritepagesResultFtraceEventDefaultTypeInternal _Ext4WritepagesResultFtraceEvent_default_instance_;
Ext4ZeroRangeFtraceEvent(::_pbi::ConstantInitialized)1739 PROTOBUF_CONSTEXPR Ext4ZeroRangeFtraceEvent::Ext4ZeroRangeFtraceEvent(
1740     ::_pbi::ConstantInitialized): _impl_{
1741     /*decltype(_impl_._has_bits_)*/{}
1742   , /*decltype(_impl_._cached_size_)*/{}
1743   , /*decltype(_impl_.dev_)*/::uint64_t{0u}
1744   , /*decltype(_impl_.ino_)*/::uint64_t{0u}
1745   , /*decltype(_impl_.offset_)*/::int64_t{0}
1746   , /*decltype(_impl_.len_)*/::int64_t{0}
1747   , /*decltype(_impl_.mode_)*/0} {}
1748 struct Ext4ZeroRangeFtraceEventDefaultTypeInternal {
Ext4ZeroRangeFtraceEventDefaultTypeInternalperfetto::protos::Ext4ZeroRangeFtraceEventDefaultTypeInternal1749   PROTOBUF_CONSTEXPR Ext4ZeroRangeFtraceEventDefaultTypeInternal()
1750       : _instance(::_pbi::ConstantInitialized{}) {}
~Ext4ZeroRangeFtraceEventDefaultTypeInternalperfetto::protos::Ext4ZeroRangeFtraceEventDefaultTypeInternal1751   ~Ext4ZeroRangeFtraceEventDefaultTypeInternal() {}
1752   union {  // NOLINT(misc-non-private-member-variables-in-classes)
1753     Ext4ZeroRangeFtraceEvent _instance;
1754   };
1755 };
1756 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Ext4ZeroRangeFtraceEventDefaultTypeInternal _Ext4ZeroRangeFtraceEvent_default_instance_;
1757 }  // namespace protos
1758 }  // namespace perfetto
1759 namespace perfetto {
1760 namespace protos {
1761 
1762 // ===================================================================
1763 
1764 class Ext4DaWriteBeginFtraceEvent::_Internal {
1765  public:
1766   using HasBits = decltype(std::declval<Ext4DaWriteBeginFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)1767   static void set_has_dev(HasBits* has_bits) {
1768     (*has_bits)[0] |= 1u;
1769   }
set_has_ino(HasBits * has_bits)1770   static void set_has_ino(HasBits* has_bits) {
1771     (*has_bits)[0] |= 2u;
1772   }
set_has_pos(HasBits * has_bits)1773   static void set_has_pos(HasBits* has_bits) {
1774     (*has_bits)[0] |= 4u;
1775   }
set_has_len(HasBits * has_bits)1776   static void set_has_len(HasBits* has_bits) {
1777     (*has_bits)[0] |= 8u;
1778   }
set_has_flags(HasBits * has_bits)1779   static void set_has_flags(HasBits* has_bits) {
1780     (*has_bits)[0] |= 16u;
1781   }
1782 };
1783 
Ext4DaWriteBeginFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)1784 Ext4DaWriteBeginFtraceEvent::Ext4DaWriteBeginFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1785                          bool is_message_owned)
1786   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
1787   SharedCtor(arena, is_message_owned);
1788   // @@protoc_insertion_point(arena_constructor:perfetto.protos.Ext4DaWriteBeginFtraceEvent)
1789 }
Ext4DaWriteBeginFtraceEvent(const Ext4DaWriteBeginFtraceEvent & from)1790 Ext4DaWriteBeginFtraceEvent::Ext4DaWriteBeginFtraceEvent(const Ext4DaWriteBeginFtraceEvent& from)
1791   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
1792   Ext4DaWriteBeginFtraceEvent* const _this = this; (void)_this;
1793   new (&_impl_) Impl_{
1794       decltype(_impl_._has_bits_){from._impl_._has_bits_}
1795     , /*decltype(_impl_._cached_size_)*/{}
1796     , decltype(_impl_.dev_){}
1797     , decltype(_impl_.ino_){}
1798     , decltype(_impl_.pos_){}
1799     , decltype(_impl_.len_){}
1800     , decltype(_impl_.flags_){}};
1801 
1802   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
1803   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
1804     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.flags_) -
1805     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.flags_));
1806   // @@protoc_insertion_point(copy_constructor:perfetto.protos.Ext4DaWriteBeginFtraceEvent)
1807 }
1808 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)1809 inline void Ext4DaWriteBeginFtraceEvent::SharedCtor(
1810     ::_pb::Arena* arena, bool is_message_owned) {
1811   (void)arena;
1812   (void)is_message_owned;
1813   new (&_impl_) Impl_{
1814       decltype(_impl_._has_bits_){}
1815     , /*decltype(_impl_._cached_size_)*/{}
1816     , decltype(_impl_.dev_){::uint64_t{0u}}
1817     , decltype(_impl_.ino_){::uint64_t{0u}}
1818     , decltype(_impl_.pos_){::int64_t{0}}
1819     , decltype(_impl_.len_){0u}
1820     , decltype(_impl_.flags_){0u}
1821   };
1822 }
1823 
~Ext4DaWriteBeginFtraceEvent()1824 Ext4DaWriteBeginFtraceEvent::~Ext4DaWriteBeginFtraceEvent() {
1825   // @@protoc_insertion_point(destructor:perfetto.protos.Ext4DaWriteBeginFtraceEvent)
1826   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
1827   (void)arena;
1828     return;
1829   }
1830   SharedDtor();
1831 }
1832 
SharedDtor()1833 inline void Ext4DaWriteBeginFtraceEvent::SharedDtor() {
1834   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
1835 }
1836 
SetCachedSize(int size) const1837 void Ext4DaWriteBeginFtraceEvent::SetCachedSize(int size) const {
1838   _impl_._cached_size_.Set(size);
1839 }
1840 
Clear()1841 void Ext4DaWriteBeginFtraceEvent::Clear() {
1842 // @@protoc_insertion_point(message_clear_start:perfetto.protos.Ext4DaWriteBeginFtraceEvent)
1843   ::uint32_t cached_has_bits = 0;
1844   // Prevent compiler warnings about cached_has_bits being unused
1845   (void) cached_has_bits;
1846 
1847   cached_has_bits = _impl_._has_bits_[0];
1848   if (cached_has_bits & 0x0000001fu) {
1849     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
1850         reinterpret_cast<char*>(&_impl_.flags_) -
1851         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.flags_));
1852   }
1853   _impl_._has_bits_.Clear();
1854   _internal_metadata_.Clear<std::string>();
1855 }
1856 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)1857 const char* Ext4DaWriteBeginFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
1858 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
1859   _Internal::HasBits has_bits{};
1860   while (!ctx->Done(&ptr)) {
1861     ::uint32_t tag;
1862     ptr = ::_pbi::ReadTag(ptr, &tag);
1863     switch (tag >> 3) {
1864       // optional uint64 dev = 1;
1865       case 1:
1866         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
1867           _Internal::set_has_dev(&has_bits);
1868           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
1869           CHK_(ptr);
1870         } else {
1871           goto handle_unusual;
1872         }
1873         continue;
1874       // optional uint64 ino = 2;
1875       case 2:
1876         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
1877           _Internal::set_has_ino(&has_bits);
1878           _impl_.ino_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
1879           CHK_(ptr);
1880         } else {
1881           goto handle_unusual;
1882         }
1883         continue;
1884       // optional int64 pos = 3;
1885       case 3:
1886         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
1887           _Internal::set_has_pos(&has_bits);
1888           _impl_.pos_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
1889           CHK_(ptr);
1890         } else {
1891           goto handle_unusual;
1892         }
1893         continue;
1894       // optional uint32 len = 4;
1895       case 4:
1896         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
1897           _Internal::set_has_len(&has_bits);
1898           _impl_.len_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
1899           CHK_(ptr);
1900         } else {
1901           goto handle_unusual;
1902         }
1903         continue;
1904       // optional uint32 flags = 5;
1905       case 5:
1906         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) {
1907           _Internal::set_has_flags(&has_bits);
1908           _impl_.flags_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
1909           CHK_(ptr);
1910         } else {
1911           goto handle_unusual;
1912         }
1913         continue;
1914       default:
1915         goto handle_unusual;
1916     }  // switch
1917   handle_unusual:
1918     if ((tag == 0) || ((tag & 7) == 4)) {
1919       CHK_(ptr);
1920       ctx->SetLastTag(tag);
1921       goto message_done;
1922     }
1923     ptr = UnknownFieldParse(
1924         tag,
1925         _internal_metadata_.mutable_unknown_fields<std::string>(),
1926         ptr, ctx);
1927     CHK_(ptr != nullptr);
1928   }  // while
1929 message_done:
1930   _impl_._has_bits_.Or(has_bits);
1931   return ptr;
1932 failure:
1933   ptr = nullptr;
1934   goto message_done;
1935 #undef CHK_
1936 }
1937 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const1938 ::uint8_t* Ext4DaWriteBeginFtraceEvent::_InternalSerialize(
1939     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
1940   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.Ext4DaWriteBeginFtraceEvent)
1941   ::uint32_t cached_has_bits = 0;
1942   (void) cached_has_bits;
1943 
1944   cached_has_bits = _impl_._has_bits_[0];
1945   // optional uint64 dev = 1;
1946   if (cached_has_bits & 0x00000001u) {
1947     target = stream->EnsureSpace(target);
1948     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
1949   }
1950 
1951   // optional uint64 ino = 2;
1952   if (cached_has_bits & 0x00000002u) {
1953     target = stream->EnsureSpace(target);
1954     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_ino(), target);
1955   }
1956 
1957   // optional int64 pos = 3;
1958   if (cached_has_bits & 0x00000004u) {
1959     target = stream->EnsureSpace(target);
1960     target = ::_pbi::WireFormatLite::WriteInt64ToArray(3, this->_internal_pos(), target);
1961   }
1962 
1963   // optional uint32 len = 4;
1964   if (cached_has_bits & 0x00000008u) {
1965     target = stream->EnsureSpace(target);
1966     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_len(), target);
1967   }
1968 
1969   // optional uint32 flags = 5;
1970   if (cached_has_bits & 0x00000010u) {
1971     target = stream->EnsureSpace(target);
1972     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_flags(), target);
1973   }
1974 
1975   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
1976     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
1977         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
1978   }
1979   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.Ext4DaWriteBeginFtraceEvent)
1980   return target;
1981 }
1982 
ByteSizeLong() const1983 size_t Ext4DaWriteBeginFtraceEvent::ByteSizeLong() const {
1984 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.Ext4DaWriteBeginFtraceEvent)
1985   size_t total_size = 0;
1986 
1987   ::uint32_t cached_has_bits = 0;
1988   // Prevent compiler warnings about cached_has_bits being unused
1989   (void) cached_has_bits;
1990 
1991   cached_has_bits = _impl_._has_bits_[0];
1992   if (cached_has_bits & 0x0000001fu) {
1993     // optional uint64 dev = 1;
1994     if (cached_has_bits & 0x00000001u) {
1995       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
1996     }
1997 
1998     // optional uint64 ino = 2;
1999     if (cached_has_bits & 0x00000002u) {
2000       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ino());
2001     }
2002 
2003     // optional int64 pos = 3;
2004     if (cached_has_bits & 0x00000004u) {
2005       total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_pos());
2006     }
2007 
2008     // optional uint32 len = 4;
2009     if (cached_has_bits & 0x00000008u) {
2010       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_len());
2011     }
2012 
2013     // optional uint32 flags = 5;
2014     if (cached_has_bits & 0x00000010u) {
2015       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_flags());
2016     }
2017 
2018   }
2019   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
2020     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
2021   }
2022   int cached_size = ::_pbi::ToCachedSize(total_size);
2023   SetCachedSize(cached_size);
2024   return total_size;
2025 }
2026 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)2027 void Ext4DaWriteBeginFtraceEvent::CheckTypeAndMergeFrom(
2028     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
2029   MergeFrom(*::_pbi::DownCast<const Ext4DaWriteBeginFtraceEvent*>(
2030       &from));
2031 }
2032 
MergeFrom(const Ext4DaWriteBeginFtraceEvent & from)2033 void Ext4DaWriteBeginFtraceEvent::MergeFrom(const Ext4DaWriteBeginFtraceEvent& from) {
2034   Ext4DaWriteBeginFtraceEvent* const _this = this;
2035   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.Ext4DaWriteBeginFtraceEvent)
2036   GOOGLE_DCHECK_NE(&from, _this);
2037   ::uint32_t cached_has_bits = 0;
2038   (void) cached_has_bits;
2039 
2040   cached_has_bits = from._impl_._has_bits_[0];
2041   if (cached_has_bits & 0x0000001fu) {
2042     if (cached_has_bits & 0x00000001u) {
2043       _this->_impl_.dev_ = from._impl_.dev_;
2044     }
2045     if (cached_has_bits & 0x00000002u) {
2046       _this->_impl_.ino_ = from._impl_.ino_;
2047     }
2048     if (cached_has_bits & 0x00000004u) {
2049       _this->_impl_.pos_ = from._impl_.pos_;
2050     }
2051     if (cached_has_bits & 0x00000008u) {
2052       _this->_impl_.len_ = from._impl_.len_;
2053     }
2054     if (cached_has_bits & 0x00000010u) {
2055       _this->_impl_.flags_ = from._impl_.flags_;
2056     }
2057     _this->_impl_._has_bits_[0] |= cached_has_bits;
2058   }
2059   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
2060 }
2061 
CopyFrom(const Ext4DaWriteBeginFtraceEvent & from)2062 void Ext4DaWriteBeginFtraceEvent::CopyFrom(const Ext4DaWriteBeginFtraceEvent& from) {
2063 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.Ext4DaWriteBeginFtraceEvent)
2064   if (&from == this) return;
2065   Clear();
2066   MergeFrom(from);
2067 }
2068 
IsInitialized() const2069 bool Ext4DaWriteBeginFtraceEvent::IsInitialized() const {
2070   return true;
2071 }
2072 
InternalSwap(Ext4DaWriteBeginFtraceEvent * other)2073 void Ext4DaWriteBeginFtraceEvent::InternalSwap(Ext4DaWriteBeginFtraceEvent* other) {
2074   using std::swap;
2075   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
2076   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
2077   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
2078       PROTOBUF_FIELD_OFFSET(Ext4DaWriteBeginFtraceEvent, _impl_.flags_)
2079       + sizeof(Ext4DaWriteBeginFtraceEvent::_impl_.flags_)  // NOLINT
2080       - PROTOBUF_FIELD_OFFSET(Ext4DaWriteBeginFtraceEvent, _impl_.dev_)>(
2081           reinterpret_cast<char*>(&_impl_.dev_),
2082           reinterpret_cast<char*>(&other->_impl_.dev_));
2083 }
2084 
GetTypeName() const2085 std::string Ext4DaWriteBeginFtraceEvent::GetTypeName() const {
2086   return "perfetto.protos.Ext4DaWriteBeginFtraceEvent";
2087 }
2088 
2089 
2090 // ===================================================================
2091 
2092 class Ext4DaWriteEndFtraceEvent::_Internal {
2093  public:
2094   using HasBits = decltype(std::declval<Ext4DaWriteEndFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)2095   static void set_has_dev(HasBits* has_bits) {
2096     (*has_bits)[0] |= 1u;
2097   }
set_has_ino(HasBits * has_bits)2098   static void set_has_ino(HasBits* has_bits) {
2099     (*has_bits)[0] |= 2u;
2100   }
set_has_pos(HasBits * has_bits)2101   static void set_has_pos(HasBits* has_bits) {
2102     (*has_bits)[0] |= 4u;
2103   }
set_has_len(HasBits * has_bits)2104   static void set_has_len(HasBits* has_bits) {
2105     (*has_bits)[0] |= 8u;
2106   }
set_has_copied(HasBits * has_bits)2107   static void set_has_copied(HasBits* has_bits) {
2108     (*has_bits)[0] |= 16u;
2109   }
2110 };
2111 
Ext4DaWriteEndFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)2112 Ext4DaWriteEndFtraceEvent::Ext4DaWriteEndFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
2113                          bool is_message_owned)
2114   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
2115   SharedCtor(arena, is_message_owned);
2116   // @@protoc_insertion_point(arena_constructor:perfetto.protos.Ext4DaWriteEndFtraceEvent)
2117 }
Ext4DaWriteEndFtraceEvent(const Ext4DaWriteEndFtraceEvent & from)2118 Ext4DaWriteEndFtraceEvent::Ext4DaWriteEndFtraceEvent(const Ext4DaWriteEndFtraceEvent& from)
2119   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
2120   Ext4DaWriteEndFtraceEvent* const _this = this; (void)_this;
2121   new (&_impl_) Impl_{
2122       decltype(_impl_._has_bits_){from._impl_._has_bits_}
2123     , /*decltype(_impl_._cached_size_)*/{}
2124     , decltype(_impl_.dev_){}
2125     , decltype(_impl_.ino_){}
2126     , decltype(_impl_.pos_){}
2127     , decltype(_impl_.len_){}
2128     , decltype(_impl_.copied_){}};
2129 
2130   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
2131   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
2132     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.copied_) -
2133     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.copied_));
2134   // @@protoc_insertion_point(copy_constructor:perfetto.protos.Ext4DaWriteEndFtraceEvent)
2135 }
2136 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)2137 inline void Ext4DaWriteEndFtraceEvent::SharedCtor(
2138     ::_pb::Arena* arena, bool is_message_owned) {
2139   (void)arena;
2140   (void)is_message_owned;
2141   new (&_impl_) Impl_{
2142       decltype(_impl_._has_bits_){}
2143     , /*decltype(_impl_._cached_size_)*/{}
2144     , decltype(_impl_.dev_){::uint64_t{0u}}
2145     , decltype(_impl_.ino_){::uint64_t{0u}}
2146     , decltype(_impl_.pos_){::int64_t{0}}
2147     , decltype(_impl_.len_){0u}
2148     , decltype(_impl_.copied_){0u}
2149   };
2150 }
2151 
~Ext4DaWriteEndFtraceEvent()2152 Ext4DaWriteEndFtraceEvent::~Ext4DaWriteEndFtraceEvent() {
2153   // @@protoc_insertion_point(destructor:perfetto.protos.Ext4DaWriteEndFtraceEvent)
2154   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
2155   (void)arena;
2156     return;
2157   }
2158   SharedDtor();
2159 }
2160 
SharedDtor()2161 inline void Ext4DaWriteEndFtraceEvent::SharedDtor() {
2162   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
2163 }
2164 
SetCachedSize(int size) const2165 void Ext4DaWriteEndFtraceEvent::SetCachedSize(int size) const {
2166   _impl_._cached_size_.Set(size);
2167 }
2168 
Clear()2169 void Ext4DaWriteEndFtraceEvent::Clear() {
2170 // @@protoc_insertion_point(message_clear_start:perfetto.protos.Ext4DaWriteEndFtraceEvent)
2171   ::uint32_t cached_has_bits = 0;
2172   // Prevent compiler warnings about cached_has_bits being unused
2173   (void) cached_has_bits;
2174 
2175   cached_has_bits = _impl_._has_bits_[0];
2176   if (cached_has_bits & 0x0000001fu) {
2177     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
2178         reinterpret_cast<char*>(&_impl_.copied_) -
2179         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.copied_));
2180   }
2181   _impl_._has_bits_.Clear();
2182   _internal_metadata_.Clear<std::string>();
2183 }
2184 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)2185 const char* Ext4DaWriteEndFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
2186 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
2187   _Internal::HasBits has_bits{};
2188   while (!ctx->Done(&ptr)) {
2189     ::uint32_t tag;
2190     ptr = ::_pbi::ReadTag(ptr, &tag);
2191     switch (tag >> 3) {
2192       // optional uint64 dev = 1;
2193       case 1:
2194         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
2195           _Internal::set_has_dev(&has_bits);
2196           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
2197           CHK_(ptr);
2198         } else {
2199           goto handle_unusual;
2200         }
2201         continue;
2202       // optional uint64 ino = 2;
2203       case 2:
2204         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
2205           _Internal::set_has_ino(&has_bits);
2206           _impl_.ino_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
2207           CHK_(ptr);
2208         } else {
2209           goto handle_unusual;
2210         }
2211         continue;
2212       // optional int64 pos = 3;
2213       case 3:
2214         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
2215           _Internal::set_has_pos(&has_bits);
2216           _impl_.pos_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
2217           CHK_(ptr);
2218         } else {
2219           goto handle_unusual;
2220         }
2221         continue;
2222       // optional uint32 len = 4;
2223       case 4:
2224         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
2225           _Internal::set_has_len(&has_bits);
2226           _impl_.len_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
2227           CHK_(ptr);
2228         } else {
2229           goto handle_unusual;
2230         }
2231         continue;
2232       // optional uint32 copied = 5;
2233       case 5:
2234         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) {
2235           _Internal::set_has_copied(&has_bits);
2236           _impl_.copied_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
2237           CHK_(ptr);
2238         } else {
2239           goto handle_unusual;
2240         }
2241         continue;
2242       default:
2243         goto handle_unusual;
2244     }  // switch
2245   handle_unusual:
2246     if ((tag == 0) || ((tag & 7) == 4)) {
2247       CHK_(ptr);
2248       ctx->SetLastTag(tag);
2249       goto message_done;
2250     }
2251     ptr = UnknownFieldParse(
2252         tag,
2253         _internal_metadata_.mutable_unknown_fields<std::string>(),
2254         ptr, ctx);
2255     CHK_(ptr != nullptr);
2256   }  // while
2257 message_done:
2258   _impl_._has_bits_.Or(has_bits);
2259   return ptr;
2260 failure:
2261   ptr = nullptr;
2262   goto message_done;
2263 #undef CHK_
2264 }
2265 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const2266 ::uint8_t* Ext4DaWriteEndFtraceEvent::_InternalSerialize(
2267     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
2268   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.Ext4DaWriteEndFtraceEvent)
2269   ::uint32_t cached_has_bits = 0;
2270   (void) cached_has_bits;
2271 
2272   cached_has_bits = _impl_._has_bits_[0];
2273   // optional uint64 dev = 1;
2274   if (cached_has_bits & 0x00000001u) {
2275     target = stream->EnsureSpace(target);
2276     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
2277   }
2278 
2279   // optional uint64 ino = 2;
2280   if (cached_has_bits & 0x00000002u) {
2281     target = stream->EnsureSpace(target);
2282     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_ino(), target);
2283   }
2284 
2285   // optional int64 pos = 3;
2286   if (cached_has_bits & 0x00000004u) {
2287     target = stream->EnsureSpace(target);
2288     target = ::_pbi::WireFormatLite::WriteInt64ToArray(3, this->_internal_pos(), target);
2289   }
2290 
2291   // optional uint32 len = 4;
2292   if (cached_has_bits & 0x00000008u) {
2293     target = stream->EnsureSpace(target);
2294     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_len(), target);
2295   }
2296 
2297   // optional uint32 copied = 5;
2298   if (cached_has_bits & 0x00000010u) {
2299     target = stream->EnsureSpace(target);
2300     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_copied(), target);
2301   }
2302 
2303   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
2304     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
2305         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
2306   }
2307   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.Ext4DaWriteEndFtraceEvent)
2308   return target;
2309 }
2310 
ByteSizeLong() const2311 size_t Ext4DaWriteEndFtraceEvent::ByteSizeLong() const {
2312 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.Ext4DaWriteEndFtraceEvent)
2313   size_t total_size = 0;
2314 
2315   ::uint32_t cached_has_bits = 0;
2316   // Prevent compiler warnings about cached_has_bits being unused
2317   (void) cached_has_bits;
2318 
2319   cached_has_bits = _impl_._has_bits_[0];
2320   if (cached_has_bits & 0x0000001fu) {
2321     // optional uint64 dev = 1;
2322     if (cached_has_bits & 0x00000001u) {
2323       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
2324     }
2325 
2326     // optional uint64 ino = 2;
2327     if (cached_has_bits & 0x00000002u) {
2328       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ino());
2329     }
2330 
2331     // optional int64 pos = 3;
2332     if (cached_has_bits & 0x00000004u) {
2333       total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_pos());
2334     }
2335 
2336     // optional uint32 len = 4;
2337     if (cached_has_bits & 0x00000008u) {
2338       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_len());
2339     }
2340 
2341     // optional uint32 copied = 5;
2342     if (cached_has_bits & 0x00000010u) {
2343       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_copied());
2344     }
2345 
2346   }
2347   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
2348     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
2349   }
2350   int cached_size = ::_pbi::ToCachedSize(total_size);
2351   SetCachedSize(cached_size);
2352   return total_size;
2353 }
2354 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)2355 void Ext4DaWriteEndFtraceEvent::CheckTypeAndMergeFrom(
2356     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
2357   MergeFrom(*::_pbi::DownCast<const Ext4DaWriteEndFtraceEvent*>(
2358       &from));
2359 }
2360 
MergeFrom(const Ext4DaWriteEndFtraceEvent & from)2361 void Ext4DaWriteEndFtraceEvent::MergeFrom(const Ext4DaWriteEndFtraceEvent& from) {
2362   Ext4DaWriteEndFtraceEvent* const _this = this;
2363   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.Ext4DaWriteEndFtraceEvent)
2364   GOOGLE_DCHECK_NE(&from, _this);
2365   ::uint32_t cached_has_bits = 0;
2366   (void) cached_has_bits;
2367 
2368   cached_has_bits = from._impl_._has_bits_[0];
2369   if (cached_has_bits & 0x0000001fu) {
2370     if (cached_has_bits & 0x00000001u) {
2371       _this->_impl_.dev_ = from._impl_.dev_;
2372     }
2373     if (cached_has_bits & 0x00000002u) {
2374       _this->_impl_.ino_ = from._impl_.ino_;
2375     }
2376     if (cached_has_bits & 0x00000004u) {
2377       _this->_impl_.pos_ = from._impl_.pos_;
2378     }
2379     if (cached_has_bits & 0x00000008u) {
2380       _this->_impl_.len_ = from._impl_.len_;
2381     }
2382     if (cached_has_bits & 0x00000010u) {
2383       _this->_impl_.copied_ = from._impl_.copied_;
2384     }
2385     _this->_impl_._has_bits_[0] |= cached_has_bits;
2386   }
2387   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
2388 }
2389 
CopyFrom(const Ext4DaWriteEndFtraceEvent & from)2390 void Ext4DaWriteEndFtraceEvent::CopyFrom(const Ext4DaWriteEndFtraceEvent& from) {
2391 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.Ext4DaWriteEndFtraceEvent)
2392   if (&from == this) return;
2393   Clear();
2394   MergeFrom(from);
2395 }
2396 
IsInitialized() const2397 bool Ext4DaWriteEndFtraceEvent::IsInitialized() const {
2398   return true;
2399 }
2400 
InternalSwap(Ext4DaWriteEndFtraceEvent * other)2401 void Ext4DaWriteEndFtraceEvent::InternalSwap(Ext4DaWriteEndFtraceEvent* other) {
2402   using std::swap;
2403   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
2404   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
2405   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
2406       PROTOBUF_FIELD_OFFSET(Ext4DaWriteEndFtraceEvent, _impl_.copied_)
2407       + sizeof(Ext4DaWriteEndFtraceEvent::_impl_.copied_)  // NOLINT
2408       - PROTOBUF_FIELD_OFFSET(Ext4DaWriteEndFtraceEvent, _impl_.dev_)>(
2409           reinterpret_cast<char*>(&_impl_.dev_),
2410           reinterpret_cast<char*>(&other->_impl_.dev_));
2411 }
2412 
GetTypeName() const2413 std::string Ext4DaWriteEndFtraceEvent::GetTypeName() const {
2414   return "perfetto.protos.Ext4DaWriteEndFtraceEvent";
2415 }
2416 
2417 
2418 // ===================================================================
2419 
2420 class Ext4SyncFileEnterFtraceEvent::_Internal {
2421  public:
2422   using HasBits = decltype(std::declval<Ext4SyncFileEnterFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)2423   static void set_has_dev(HasBits* has_bits) {
2424     (*has_bits)[0] |= 1u;
2425   }
set_has_ino(HasBits * has_bits)2426   static void set_has_ino(HasBits* has_bits) {
2427     (*has_bits)[0] |= 2u;
2428   }
set_has_parent(HasBits * has_bits)2429   static void set_has_parent(HasBits* has_bits) {
2430     (*has_bits)[0] |= 4u;
2431   }
set_has_datasync(HasBits * has_bits)2432   static void set_has_datasync(HasBits* has_bits) {
2433     (*has_bits)[0] |= 8u;
2434   }
2435 };
2436 
Ext4SyncFileEnterFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)2437 Ext4SyncFileEnterFtraceEvent::Ext4SyncFileEnterFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
2438                          bool is_message_owned)
2439   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
2440   SharedCtor(arena, is_message_owned);
2441   // @@protoc_insertion_point(arena_constructor:perfetto.protos.Ext4SyncFileEnterFtraceEvent)
2442 }
Ext4SyncFileEnterFtraceEvent(const Ext4SyncFileEnterFtraceEvent & from)2443 Ext4SyncFileEnterFtraceEvent::Ext4SyncFileEnterFtraceEvent(const Ext4SyncFileEnterFtraceEvent& from)
2444   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
2445   Ext4SyncFileEnterFtraceEvent* const _this = this; (void)_this;
2446   new (&_impl_) Impl_{
2447       decltype(_impl_._has_bits_){from._impl_._has_bits_}
2448     , /*decltype(_impl_._cached_size_)*/{}
2449     , decltype(_impl_.dev_){}
2450     , decltype(_impl_.ino_){}
2451     , decltype(_impl_.parent_){}
2452     , decltype(_impl_.datasync_){}};
2453 
2454   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
2455   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
2456     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.datasync_) -
2457     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.datasync_));
2458   // @@protoc_insertion_point(copy_constructor:perfetto.protos.Ext4SyncFileEnterFtraceEvent)
2459 }
2460 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)2461 inline void Ext4SyncFileEnterFtraceEvent::SharedCtor(
2462     ::_pb::Arena* arena, bool is_message_owned) {
2463   (void)arena;
2464   (void)is_message_owned;
2465   new (&_impl_) Impl_{
2466       decltype(_impl_._has_bits_){}
2467     , /*decltype(_impl_._cached_size_)*/{}
2468     , decltype(_impl_.dev_){::uint64_t{0u}}
2469     , decltype(_impl_.ino_){::uint64_t{0u}}
2470     , decltype(_impl_.parent_){::uint64_t{0u}}
2471     , decltype(_impl_.datasync_){0}
2472   };
2473 }
2474 
~Ext4SyncFileEnterFtraceEvent()2475 Ext4SyncFileEnterFtraceEvent::~Ext4SyncFileEnterFtraceEvent() {
2476   // @@protoc_insertion_point(destructor:perfetto.protos.Ext4SyncFileEnterFtraceEvent)
2477   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
2478   (void)arena;
2479     return;
2480   }
2481   SharedDtor();
2482 }
2483 
SharedDtor()2484 inline void Ext4SyncFileEnterFtraceEvent::SharedDtor() {
2485   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
2486 }
2487 
SetCachedSize(int size) const2488 void Ext4SyncFileEnterFtraceEvent::SetCachedSize(int size) const {
2489   _impl_._cached_size_.Set(size);
2490 }
2491 
Clear()2492 void Ext4SyncFileEnterFtraceEvent::Clear() {
2493 // @@protoc_insertion_point(message_clear_start:perfetto.protos.Ext4SyncFileEnterFtraceEvent)
2494   ::uint32_t cached_has_bits = 0;
2495   // Prevent compiler warnings about cached_has_bits being unused
2496   (void) cached_has_bits;
2497 
2498   cached_has_bits = _impl_._has_bits_[0];
2499   if (cached_has_bits & 0x0000000fu) {
2500     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
2501         reinterpret_cast<char*>(&_impl_.datasync_) -
2502         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.datasync_));
2503   }
2504   _impl_._has_bits_.Clear();
2505   _internal_metadata_.Clear<std::string>();
2506 }
2507 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)2508 const char* Ext4SyncFileEnterFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
2509 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
2510   _Internal::HasBits has_bits{};
2511   while (!ctx->Done(&ptr)) {
2512     ::uint32_t tag;
2513     ptr = ::_pbi::ReadTag(ptr, &tag);
2514     switch (tag >> 3) {
2515       // optional uint64 dev = 1;
2516       case 1:
2517         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
2518           _Internal::set_has_dev(&has_bits);
2519           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
2520           CHK_(ptr);
2521         } else {
2522           goto handle_unusual;
2523         }
2524         continue;
2525       // optional uint64 ino = 2;
2526       case 2:
2527         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
2528           _Internal::set_has_ino(&has_bits);
2529           _impl_.ino_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
2530           CHK_(ptr);
2531         } else {
2532           goto handle_unusual;
2533         }
2534         continue;
2535       // optional uint64 parent = 3;
2536       case 3:
2537         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
2538           _Internal::set_has_parent(&has_bits);
2539           _impl_.parent_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
2540           CHK_(ptr);
2541         } else {
2542           goto handle_unusual;
2543         }
2544         continue;
2545       // optional int32 datasync = 4;
2546       case 4:
2547         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
2548           _Internal::set_has_datasync(&has_bits);
2549           _impl_.datasync_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
2550           CHK_(ptr);
2551         } else {
2552           goto handle_unusual;
2553         }
2554         continue;
2555       default:
2556         goto handle_unusual;
2557     }  // switch
2558   handle_unusual:
2559     if ((tag == 0) || ((tag & 7) == 4)) {
2560       CHK_(ptr);
2561       ctx->SetLastTag(tag);
2562       goto message_done;
2563     }
2564     ptr = UnknownFieldParse(
2565         tag,
2566         _internal_metadata_.mutable_unknown_fields<std::string>(),
2567         ptr, ctx);
2568     CHK_(ptr != nullptr);
2569   }  // while
2570 message_done:
2571   _impl_._has_bits_.Or(has_bits);
2572   return ptr;
2573 failure:
2574   ptr = nullptr;
2575   goto message_done;
2576 #undef CHK_
2577 }
2578 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const2579 ::uint8_t* Ext4SyncFileEnterFtraceEvent::_InternalSerialize(
2580     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
2581   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.Ext4SyncFileEnterFtraceEvent)
2582   ::uint32_t cached_has_bits = 0;
2583   (void) cached_has_bits;
2584 
2585   cached_has_bits = _impl_._has_bits_[0];
2586   // optional uint64 dev = 1;
2587   if (cached_has_bits & 0x00000001u) {
2588     target = stream->EnsureSpace(target);
2589     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
2590   }
2591 
2592   // optional uint64 ino = 2;
2593   if (cached_has_bits & 0x00000002u) {
2594     target = stream->EnsureSpace(target);
2595     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_ino(), target);
2596   }
2597 
2598   // optional uint64 parent = 3;
2599   if (cached_has_bits & 0x00000004u) {
2600     target = stream->EnsureSpace(target);
2601     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(3, this->_internal_parent(), target);
2602   }
2603 
2604   // optional int32 datasync = 4;
2605   if (cached_has_bits & 0x00000008u) {
2606     target = stream->EnsureSpace(target);
2607     target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_datasync(), target);
2608   }
2609 
2610   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
2611     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
2612         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
2613   }
2614   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.Ext4SyncFileEnterFtraceEvent)
2615   return target;
2616 }
2617 
ByteSizeLong() const2618 size_t Ext4SyncFileEnterFtraceEvent::ByteSizeLong() const {
2619 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.Ext4SyncFileEnterFtraceEvent)
2620   size_t total_size = 0;
2621 
2622   ::uint32_t cached_has_bits = 0;
2623   // Prevent compiler warnings about cached_has_bits being unused
2624   (void) cached_has_bits;
2625 
2626   cached_has_bits = _impl_._has_bits_[0];
2627   if (cached_has_bits & 0x0000000fu) {
2628     // optional uint64 dev = 1;
2629     if (cached_has_bits & 0x00000001u) {
2630       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
2631     }
2632 
2633     // optional uint64 ino = 2;
2634     if (cached_has_bits & 0x00000002u) {
2635       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ino());
2636     }
2637 
2638     // optional uint64 parent = 3;
2639     if (cached_has_bits & 0x00000004u) {
2640       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_parent());
2641     }
2642 
2643     // optional int32 datasync = 4;
2644     if (cached_has_bits & 0x00000008u) {
2645       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_datasync());
2646     }
2647 
2648   }
2649   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
2650     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
2651   }
2652   int cached_size = ::_pbi::ToCachedSize(total_size);
2653   SetCachedSize(cached_size);
2654   return total_size;
2655 }
2656 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)2657 void Ext4SyncFileEnterFtraceEvent::CheckTypeAndMergeFrom(
2658     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
2659   MergeFrom(*::_pbi::DownCast<const Ext4SyncFileEnterFtraceEvent*>(
2660       &from));
2661 }
2662 
MergeFrom(const Ext4SyncFileEnterFtraceEvent & from)2663 void Ext4SyncFileEnterFtraceEvent::MergeFrom(const Ext4SyncFileEnterFtraceEvent& from) {
2664   Ext4SyncFileEnterFtraceEvent* const _this = this;
2665   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.Ext4SyncFileEnterFtraceEvent)
2666   GOOGLE_DCHECK_NE(&from, _this);
2667   ::uint32_t cached_has_bits = 0;
2668   (void) cached_has_bits;
2669 
2670   cached_has_bits = from._impl_._has_bits_[0];
2671   if (cached_has_bits & 0x0000000fu) {
2672     if (cached_has_bits & 0x00000001u) {
2673       _this->_impl_.dev_ = from._impl_.dev_;
2674     }
2675     if (cached_has_bits & 0x00000002u) {
2676       _this->_impl_.ino_ = from._impl_.ino_;
2677     }
2678     if (cached_has_bits & 0x00000004u) {
2679       _this->_impl_.parent_ = from._impl_.parent_;
2680     }
2681     if (cached_has_bits & 0x00000008u) {
2682       _this->_impl_.datasync_ = from._impl_.datasync_;
2683     }
2684     _this->_impl_._has_bits_[0] |= cached_has_bits;
2685   }
2686   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
2687 }
2688 
CopyFrom(const Ext4SyncFileEnterFtraceEvent & from)2689 void Ext4SyncFileEnterFtraceEvent::CopyFrom(const Ext4SyncFileEnterFtraceEvent& from) {
2690 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.Ext4SyncFileEnterFtraceEvent)
2691   if (&from == this) return;
2692   Clear();
2693   MergeFrom(from);
2694 }
2695 
IsInitialized() const2696 bool Ext4SyncFileEnterFtraceEvent::IsInitialized() const {
2697   return true;
2698 }
2699 
InternalSwap(Ext4SyncFileEnterFtraceEvent * other)2700 void Ext4SyncFileEnterFtraceEvent::InternalSwap(Ext4SyncFileEnterFtraceEvent* other) {
2701   using std::swap;
2702   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
2703   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
2704   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
2705       PROTOBUF_FIELD_OFFSET(Ext4SyncFileEnterFtraceEvent, _impl_.datasync_)
2706       + sizeof(Ext4SyncFileEnterFtraceEvent::_impl_.datasync_)  // NOLINT
2707       - PROTOBUF_FIELD_OFFSET(Ext4SyncFileEnterFtraceEvent, _impl_.dev_)>(
2708           reinterpret_cast<char*>(&_impl_.dev_),
2709           reinterpret_cast<char*>(&other->_impl_.dev_));
2710 }
2711 
GetTypeName() const2712 std::string Ext4SyncFileEnterFtraceEvent::GetTypeName() const {
2713   return "perfetto.protos.Ext4SyncFileEnterFtraceEvent";
2714 }
2715 
2716 
2717 // ===================================================================
2718 
2719 class Ext4SyncFileExitFtraceEvent::_Internal {
2720  public:
2721   using HasBits = decltype(std::declval<Ext4SyncFileExitFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)2722   static void set_has_dev(HasBits* has_bits) {
2723     (*has_bits)[0] |= 1u;
2724   }
set_has_ino(HasBits * has_bits)2725   static void set_has_ino(HasBits* has_bits) {
2726     (*has_bits)[0] |= 2u;
2727   }
set_has_ret(HasBits * has_bits)2728   static void set_has_ret(HasBits* has_bits) {
2729     (*has_bits)[0] |= 4u;
2730   }
2731 };
2732 
Ext4SyncFileExitFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)2733 Ext4SyncFileExitFtraceEvent::Ext4SyncFileExitFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
2734                          bool is_message_owned)
2735   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
2736   SharedCtor(arena, is_message_owned);
2737   // @@protoc_insertion_point(arena_constructor:perfetto.protos.Ext4SyncFileExitFtraceEvent)
2738 }
Ext4SyncFileExitFtraceEvent(const Ext4SyncFileExitFtraceEvent & from)2739 Ext4SyncFileExitFtraceEvent::Ext4SyncFileExitFtraceEvent(const Ext4SyncFileExitFtraceEvent& from)
2740   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
2741   Ext4SyncFileExitFtraceEvent* const _this = this; (void)_this;
2742   new (&_impl_) Impl_{
2743       decltype(_impl_._has_bits_){from._impl_._has_bits_}
2744     , /*decltype(_impl_._cached_size_)*/{}
2745     , decltype(_impl_.dev_){}
2746     , decltype(_impl_.ino_){}
2747     , decltype(_impl_.ret_){}};
2748 
2749   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
2750   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
2751     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.ret_) -
2752     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.ret_));
2753   // @@protoc_insertion_point(copy_constructor:perfetto.protos.Ext4SyncFileExitFtraceEvent)
2754 }
2755 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)2756 inline void Ext4SyncFileExitFtraceEvent::SharedCtor(
2757     ::_pb::Arena* arena, bool is_message_owned) {
2758   (void)arena;
2759   (void)is_message_owned;
2760   new (&_impl_) Impl_{
2761       decltype(_impl_._has_bits_){}
2762     , /*decltype(_impl_._cached_size_)*/{}
2763     , decltype(_impl_.dev_){::uint64_t{0u}}
2764     , decltype(_impl_.ino_){::uint64_t{0u}}
2765     , decltype(_impl_.ret_){0}
2766   };
2767 }
2768 
~Ext4SyncFileExitFtraceEvent()2769 Ext4SyncFileExitFtraceEvent::~Ext4SyncFileExitFtraceEvent() {
2770   // @@protoc_insertion_point(destructor:perfetto.protos.Ext4SyncFileExitFtraceEvent)
2771   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
2772   (void)arena;
2773     return;
2774   }
2775   SharedDtor();
2776 }
2777 
SharedDtor()2778 inline void Ext4SyncFileExitFtraceEvent::SharedDtor() {
2779   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
2780 }
2781 
SetCachedSize(int size) const2782 void Ext4SyncFileExitFtraceEvent::SetCachedSize(int size) const {
2783   _impl_._cached_size_.Set(size);
2784 }
2785 
Clear()2786 void Ext4SyncFileExitFtraceEvent::Clear() {
2787 // @@protoc_insertion_point(message_clear_start:perfetto.protos.Ext4SyncFileExitFtraceEvent)
2788   ::uint32_t cached_has_bits = 0;
2789   // Prevent compiler warnings about cached_has_bits being unused
2790   (void) cached_has_bits;
2791 
2792   cached_has_bits = _impl_._has_bits_[0];
2793   if (cached_has_bits & 0x00000007u) {
2794     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
2795         reinterpret_cast<char*>(&_impl_.ret_) -
2796         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.ret_));
2797   }
2798   _impl_._has_bits_.Clear();
2799   _internal_metadata_.Clear<std::string>();
2800 }
2801 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)2802 const char* Ext4SyncFileExitFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
2803 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
2804   _Internal::HasBits has_bits{};
2805   while (!ctx->Done(&ptr)) {
2806     ::uint32_t tag;
2807     ptr = ::_pbi::ReadTag(ptr, &tag);
2808     switch (tag >> 3) {
2809       // optional uint64 dev = 1;
2810       case 1:
2811         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
2812           _Internal::set_has_dev(&has_bits);
2813           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
2814           CHK_(ptr);
2815         } else {
2816           goto handle_unusual;
2817         }
2818         continue;
2819       // optional uint64 ino = 2;
2820       case 2:
2821         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
2822           _Internal::set_has_ino(&has_bits);
2823           _impl_.ino_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
2824           CHK_(ptr);
2825         } else {
2826           goto handle_unusual;
2827         }
2828         continue;
2829       // optional int32 ret = 3;
2830       case 3:
2831         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
2832           _Internal::set_has_ret(&has_bits);
2833           _impl_.ret_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
2834           CHK_(ptr);
2835         } else {
2836           goto handle_unusual;
2837         }
2838         continue;
2839       default:
2840         goto handle_unusual;
2841     }  // switch
2842   handle_unusual:
2843     if ((tag == 0) || ((tag & 7) == 4)) {
2844       CHK_(ptr);
2845       ctx->SetLastTag(tag);
2846       goto message_done;
2847     }
2848     ptr = UnknownFieldParse(
2849         tag,
2850         _internal_metadata_.mutable_unknown_fields<std::string>(),
2851         ptr, ctx);
2852     CHK_(ptr != nullptr);
2853   }  // while
2854 message_done:
2855   _impl_._has_bits_.Or(has_bits);
2856   return ptr;
2857 failure:
2858   ptr = nullptr;
2859   goto message_done;
2860 #undef CHK_
2861 }
2862 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const2863 ::uint8_t* Ext4SyncFileExitFtraceEvent::_InternalSerialize(
2864     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
2865   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.Ext4SyncFileExitFtraceEvent)
2866   ::uint32_t cached_has_bits = 0;
2867   (void) cached_has_bits;
2868 
2869   cached_has_bits = _impl_._has_bits_[0];
2870   // optional uint64 dev = 1;
2871   if (cached_has_bits & 0x00000001u) {
2872     target = stream->EnsureSpace(target);
2873     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
2874   }
2875 
2876   // optional uint64 ino = 2;
2877   if (cached_has_bits & 0x00000002u) {
2878     target = stream->EnsureSpace(target);
2879     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_ino(), target);
2880   }
2881 
2882   // optional int32 ret = 3;
2883   if (cached_has_bits & 0x00000004u) {
2884     target = stream->EnsureSpace(target);
2885     target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_ret(), target);
2886   }
2887 
2888   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
2889     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
2890         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
2891   }
2892   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.Ext4SyncFileExitFtraceEvent)
2893   return target;
2894 }
2895 
ByteSizeLong() const2896 size_t Ext4SyncFileExitFtraceEvent::ByteSizeLong() const {
2897 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.Ext4SyncFileExitFtraceEvent)
2898   size_t total_size = 0;
2899 
2900   ::uint32_t cached_has_bits = 0;
2901   // Prevent compiler warnings about cached_has_bits being unused
2902   (void) cached_has_bits;
2903 
2904   cached_has_bits = _impl_._has_bits_[0];
2905   if (cached_has_bits & 0x00000007u) {
2906     // optional uint64 dev = 1;
2907     if (cached_has_bits & 0x00000001u) {
2908       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
2909     }
2910 
2911     // optional uint64 ino = 2;
2912     if (cached_has_bits & 0x00000002u) {
2913       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ino());
2914     }
2915 
2916     // optional int32 ret = 3;
2917     if (cached_has_bits & 0x00000004u) {
2918       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_ret());
2919     }
2920 
2921   }
2922   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
2923     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
2924   }
2925   int cached_size = ::_pbi::ToCachedSize(total_size);
2926   SetCachedSize(cached_size);
2927   return total_size;
2928 }
2929 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)2930 void Ext4SyncFileExitFtraceEvent::CheckTypeAndMergeFrom(
2931     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
2932   MergeFrom(*::_pbi::DownCast<const Ext4SyncFileExitFtraceEvent*>(
2933       &from));
2934 }
2935 
MergeFrom(const Ext4SyncFileExitFtraceEvent & from)2936 void Ext4SyncFileExitFtraceEvent::MergeFrom(const Ext4SyncFileExitFtraceEvent& from) {
2937   Ext4SyncFileExitFtraceEvent* const _this = this;
2938   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.Ext4SyncFileExitFtraceEvent)
2939   GOOGLE_DCHECK_NE(&from, _this);
2940   ::uint32_t cached_has_bits = 0;
2941   (void) cached_has_bits;
2942 
2943   cached_has_bits = from._impl_._has_bits_[0];
2944   if (cached_has_bits & 0x00000007u) {
2945     if (cached_has_bits & 0x00000001u) {
2946       _this->_impl_.dev_ = from._impl_.dev_;
2947     }
2948     if (cached_has_bits & 0x00000002u) {
2949       _this->_impl_.ino_ = from._impl_.ino_;
2950     }
2951     if (cached_has_bits & 0x00000004u) {
2952       _this->_impl_.ret_ = from._impl_.ret_;
2953     }
2954     _this->_impl_._has_bits_[0] |= cached_has_bits;
2955   }
2956   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
2957 }
2958 
CopyFrom(const Ext4SyncFileExitFtraceEvent & from)2959 void Ext4SyncFileExitFtraceEvent::CopyFrom(const Ext4SyncFileExitFtraceEvent& from) {
2960 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.Ext4SyncFileExitFtraceEvent)
2961   if (&from == this) return;
2962   Clear();
2963   MergeFrom(from);
2964 }
2965 
IsInitialized() const2966 bool Ext4SyncFileExitFtraceEvent::IsInitialized() const {
2967   return true;
2968 }
2969 
InternalSwap(Ext4SyncFileExitFtraceEvent * other)2970 void Ext4SyncFileExitFtraceEvent::InternalSwap(Ext4SyncFileExitFtraceEvent* other) {
2971   using std::swap;
2972   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
2973   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
2974   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
2975       PROTOBUF_FIELD_OFFSET(Ext4SyncFileExitFtraceEvent, _impl_.ret_)
2976       + sizeof(Ext4SyncFileExitFtraceEvent::_impl_.ret_)  // NOLINT
2977       - PROTOBUF_FIELD_OFFSET(Ext4SyncFileExitFtraceEvent, _impl_.dev_)>(
2978           reinterpret_cast<char*>(&_impl_.dev_),
2979           reinterpret_cast<char*>(&other->_impl_.dev_));
2980 }
2981 
GetTypeName() const2982 std::string Ext4SyncFileExitFtraceEvent::GetTypeName() const {
2983   return "perfetto.protos.Ext4SyncFileExitFtraceEvent";
2984 }
2985 
2986 
2987 // ===================================================================
2988 
2989 class Ext4AllocDaBlocksFtraceEvent::_Internal {
2990  public:
2991   using HasBits = decltype(std::declval<Ext4AllocDaBlocksFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)2992   static void set_has_dev(HasBits* has_bits) {
2993     (*has_bits)[0] |= 1u;
2994   }
set_has_ino(HasBits * has_bits)2995   static void set_has_ino(HasBits* has_bits) {
2996     (*has_bits)[0] |= 2u;
2997   }
set_has_data_blocks(HasBits * has_bits)2998   static void set_has_data_blocks(HasBits* has_bits) {
2999     (*has_bits)[0] |= 4u;
3000   }
set_has_meta_blocks(HasBits * has_bits)3001   static void set_has_meta_blocks(HasBits* has_bits) {
3002     (*has_bits)[0] |= 8u;
3003   }
3004 };
3005 
Ext4AllocDaBlocksFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)3006 Ext4AllocDaBlocksFtraceEvent::Ext4AllocDaBlocksFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
3007                          bool is_message_owned)
3008   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
3009   SharedCtor(arena, is_message_owned);
3010   // @@protoc_insertion_point(arena_constructor:perfetto.protos.Ext4AllocDaBlocksFtraceEvent)
3011 }
Ext4AllocDaBlocksFtraceEvent(const Ext4AllocDaBlocksFtraceEvent & from)3012 Ext4AllocDaBlocksFtraceEvent::Ext4AllocDaBlocksFtraceEvent(const Ext4AllocDaBlocksFtraceEvent& from)
3013   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
3014   Ext4AllocDaBlocksFtraceEvent* const _this = this; (void)_this;
3015   new (&_impl_) Impl_{
3016       decltype(_impl_._has_bits_){from._impl_._has_bits_}
3017     , /*decltype(_impl_._cached_size_)*/{}
3018     , decltype(_impl_.dev_){}
3019     , decltype(_impl_.ino_){}
3020     , decltype(_impl_.data_blocks_){}
3021     , decltype(_impl_.meta_blocks_){}};
3022 
3023   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
3024   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
3025     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.meta_blocks_) -
3026     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.meta_blocks_));
3027   // @@protoc_insertion_point(copy_constructor:perfetto.protos.Ext4AllocDaBlocksFtraceEvent)
3028 }
3029 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)3030 inline void Ext4AllocDaBlocksFtraceEvent::SharedCtor(
3031     ::_pb::Arena* arena, bool is_message_owned) {
3032   (void)arena;
3033   (void)is_message_owned;
3034   new (&_impl_) Impl_{
3035       decltype(_impl_._has_bits_){}
3036     , /*decltype(_impl_._cached_size_)*/{}
3037     , decltype(_impl_.dev_){::uint64_t{0u}}
3038     , decltype(_impl_.ino_){::uint64_t{0u}}
3039     , decltype(_impl_.data_blocks_){0u}
3040     , decltype(_impl_.meta_blocks_){0u}
3041   };
3042 }
3043 
~Ext4AllocDaBlocksFtraceEvent()3044 Ext4AllocDaBlocksFtraceEvent::~Ext4AllocDaBlocksFtraceEvent() {
3045   // @@protoc_insertion_point(destructor:perfetto.protos.Ext4AllocDaBlocksFtraceEvent)
3046   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
3047   (void)arena;
3048     return;
3049   }
3050   SharedDtor();
3051 }
3052 
SharedDtor()3053 inline void Ext4AllocDaBlocksFtraceEvent::SharedDtor() {
3054   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
3055 }
3056 
SetCachedSize(int size) const3057 void Ext4AllocDaBlocksFtraceEvent::SetCachedSize(int size) const {
3058   _impl_._cached_size_.Set(size);
3059 }
3060 
Clear()3061 void Ext4AllocDaBlocksFtraceEvent::Clear() {
3062 // @@protoc_insertion_point(message_clear_start:perfetto.protos.Ext4AllocDaBlocksFtraceEvent)
3063   ::uint32_t cached_has_bits = 0;
3064   // Prevent compiler warnings about cached_has_bits being unused
3065   (void) cached_has_bits;
3066 
3067   cached_has_bits = _impl_._has_bits_[0];
3068   if (cached_has_bits & 0x0000000fu) {
3069     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
3070         reinterpret_cast<char*>(&_impl_.meta_blocks_) -
3071         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.meta_blocks_));
3072   }
3073   _impl_._has_bits_.Clear();
3074   _internal_metadata_.Clear<std::string>();
3075 }
3076 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)3077 const char* Ext4AllocDaBlocksFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
3078 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
3079   _Internal::HasBits has_bits{};
3080   while (!ctx->Done(&ptr)) {
3081     ::uint32_t tag;
3082     ptr = ::_pbi::ReadTag(ptr, &tag);
3083     switch (tag >> 3) {
3084       // optional uint64 dev = 1;
3085       case 1:
3086         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
3087           _Internal::set_has_dev(&has_bits);
3088           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
3089           CHK_(ptr);
3090         } else {
3091           goto handle_unusual;
3092         }
3093         continue;
3094       // optional uint64 ino = 2;
3095       case 2:
3096         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
3097           _Internal::set_has_ino(&has_bits);
3098           _impl_.ino_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
3099           CHK_(ptr);
3100         } else {
3101           goto handle_unusual;
3102         }
3103         continue;
3104       // optional uint32 data_blocks = 3;
3105       case 3:
3106         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
3107           _Internal::set_has_data_blocks(&has_bits);
3108           _impl_.data_blocks_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
3109           CHK_(ptr);
3110         } else {
3111           goto handle_unusual;
3112         }
3113         continue;
3114       // optional uint32 meta_blocks = 4;
3115       case 4:
3116         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
3117           _Internal::set_has_meta_blocks(&has_bits);
3118           _impl_.meta_blocks_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
3119           CHK_(ptr);
3120         } else {
3121           goto handle_unusual;
3122         }
3123         continue;
3124       default:
3125         goto handle_unusual;
3126     }  // switch
3127   handle_unusual:
3128     if ((tag == 0) || ((tag & 7) == 4)) {
3129       CHK_(ptr);
3130       ctx->SetLastTag(tag);
3131       goto message_done;
3132     }
3133     ptr = UnknownFieldParse(
3134         tag,
3135         _internal_metadata_.mutable_unknown_fields<std::string>(),
3136         ptr, ctx);
3137     CHK_(ptr != nullptr);
3138   }  // while
3139 message_done:
3140   _impl_._has_bits_.Or(has_bits);
3141   return ptr;
3142 failure:
3143   ptr = nullptr;
3144   goto message_done;
3145 #undef CHK_
3146 }
3147 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const3148 ::uint8_t* Ext4AllocDaBlocksFtraceEvent::_InternalSerialize(
3149     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
3150   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.Ext4AllocDaBlocksFtraceEvent)
3151   ::uint32_t cached_has_bits = 0;
3152   (void) cached_has_bits;
3153 
3154   cached_has_bits = _impl_._has_bits_[0];
3155   // optional uint64 dev = 1;
3156   if (cached_has_bits & 0x00000001u) {
3157     target = stream->EnsureSpace(target);
3158     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
3159   }
3160 
3161   // optional uint64 ino = 2;
3162   if (cached_has_bits & 0x00000002u) {
3163     target = stream->EnsureSpace(target);
3164     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_ino(), target);
3165   }
3166 
3167   // optional uint32 data_blocks = 3;
3168   if (cached_has_bits & 0x00000004u) {
3169     target = stream->EnsureSpace(target);
3170     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_data_blocks(), target);
3171   }
3172 
3173   // optional uint32 meta_blocks = 4;
3174   if (cached_has_bits & 0x00000008u) {
3175     target = stream->EnsureSpace(target);
3176     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_meta_blocks(), target);
3177   }
3178 
3179   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
3180     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
3181         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
3182   }
3183   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.Ext4AllocDaBlocksFtraceEvent)
3184   return target;
3185 }
3186 
ByteSizeLong() const3187 size_t Ext4AllocDaBlocksFtraceEvent::ByteSizeLong() const {
3188 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.Ext4AllocDaBlocksFtraceEvent)
3189   size_t total_size = 0;
3190 
3191   ::uint32_t cached_has_bits = 0;
3192   // Prevent compiler warnings about cached_has_bits being unused
3193   (void) cached_has_bits;
3194 
3195   cached_has_bits = _impl_._has_bits_[0];
3196   if (cached_has_bits & 0x0000000fu) {
3197     // optional uint64 dev = 1;
3198     if (cached_has_bits & 0x00000001u) {
3199       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
3200     }
3201 
3202     // optional uint64 ino = 2;
3203     if (cached_has_bits & 0x00000002u) {
3204       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ino());
3205     }
3206 
3207     // optional uint32 data_blocks = 3;
3208     if (cached_has_bits & 0x00000004u) {
3209       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_data_blocks());
3210     }
3211 
3212     // optional uint32 meta_blocks = 4;
3213     if (cached_has_bits & 0x00000008u) {
3214       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_meta_blocks());
3215     }
3216 
3217   }
3218   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
3219     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
3220   }
3221   int cached_size = ::_pbi::ToCachedSize(total_size);
3222   SetCachedSize(cached_size);
3223   return total_size;
3224 }
3225 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)3226 void Ext4AllocDaBlocksFtraceEvent::CheckTypeAndMergeFrom(
3227     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
3228   MergeFrom(*::_pbi::DownCast<const Ext4AllocDaBlocksFtraceEvent*>(
3229       &from));
3230 }
3231 
MergeFrom(const Ext4AllocDaBlocksFtraceEvent & from)3232 void Ext4AllocDaBlocksFtraceEvent::MergeFrom(const Ext4AllocDaBlocksFtraceEvent& from) {
3233   Ext4AllocDaBlocksFtraceEvent* const _this = this;
3234   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.Ext4AllocDaBlocksFtraceEvent)
3235   GOOGLE_DCHECK_NE(&from, _this);
3236   ::uint32_t cached_has_bits = 0;
3237   (void) cached_has_bits;
3238 
3239   cached_has_bits = from._impl_._has_bits_[0];
3240   if (cached_has_bits & 0x0000000fu) {
3241     if (cached_has_bits & 0x00000001u) {
3242       _this->_impl_.dev_ = from._impl_.dev_;
3243     }
3244     if (cached_has_bits & 0x00000002u) {
3245       _this->_impl_.ino_ = from._impl_.ino_;
3246     }
3247     if (cached_has_bits & 0x00000004u) {
3248       _this->_impl_.data_blocks_ = from._impl_.data_blocks_;
3249     }
3250     if (cached_has_bits & 0x00000008u) {
3251       _this->_impl_.meta_blocks_ = from._impl_.meta_blocks_;
3252     }
3253     _this->_impl_._has_bits_[0] |= cached_has_bits;
3254   }
3255   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
3256 }
3257 
CopyFrom(const Ext4AllocDaBlocksFtraceEvent & from)3258 void Ext4AllocDaBlocksFtraceEvent::CopyFrom(const Ext4AllocDaBlocksFtraceEvent& from) {
3259 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.Ext4AllocDaBlocksFtraceEvent)
3260   if (&from == this) return;
3261   Clear();
3262   MergeFrom(from);
3263 }
3264 
IsInitialized() const3265 bool Ext4AllocDaBlocksFtraceEvent::IsInitialized() const {
3266   return true;
3267 }
3268 
InternalSwap(Ext4AllocDaBlocksFtraceEvent * other)3269 void Ext4AllocDaBlocksFtraceEvent::InternalSwap(Ext4AllocDaBlocksFtraceEvent* other) {
3270   using std::swap;
3271   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
3272   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
3273   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
3274       PROTOBUF_FIELD_OFFSET(Ext4AllocDaBlocksFtraceEvent, _impl_.meta_blocks_)
3275       + sizeof(Ext4AllocDaBlocksFtraceEvent::_impl_.meta_blocks_)  // NOLINT
3276       - PROTOBUF_FIELD_OFFSET(Ext4AllocDaBlocksFtraceEvent, _impl_.dev_)>(
3277           reinterpret_cast<char*>(&_impl_.dev_),
3278           reinterpret_cast<char*>(&other->_impl_.dev_));
3279 }
3280 
GetTypeName() const3281 std::string Ext4AllocDaBlocksFtraceEvent::GetTypeName() const {
3282   return "perfetto.protos.Ext4AllocDaBlocksFtraceEvent";
3283 }
3284 
3285 
3286 // ===================================================================
3287 
3288 class Ext4AllocateBlocksFtraceEvent::_Internal {
3289  public:
3290   using HasBits = decltype(std::declval<Ext4AllocateBlocksFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)3291   static void set_has_dev(HasBits* has_bits) {
3292     (*has_bits)[0] |= 1u;
3293   }
set_has_ino(HasBits * has_bits)3294   static void set_has_ino(HasBits* has_bits) {
3295     (*has_bits)[0] |= 2u;
3296   }
set_has_block(HasBits * has_bits)3297   static void set_has_block(HasBits* has_bits) {
3298     (*has_bits)[0] |= 4u;
3299   }
set_has_len(HasBits * has_bits)3300   static void set_has_len(HasBits* has_bits) {
3301     (*has_bits)[0] |= 8u;
3302   }
set_has_logical(HasBits * has_bits)3303   static void set_has_logical(HasBits* has_bits) {
3304     (*has_bits)[0] |= 16u;
3305   }
set_has_lleft(HasBits * has_bits)3306   static void set_has_lleft(HasBits* has_bits) {
3307     (*has_bits)[0] |= 32u;
3308   }
set_has_lright(HasBits * has_bits)3309   static void set_has_lright(HasBits* has_bits) {
3310     (*has_bits)[0] |= 64u;
3311   }
set_has_goal(HasBits * has_bits)3312   static void set_has_goal(HasBits* has_bits) {
3313     (*has_bits)[0] |= 128u;
3314   }
set_has_pleft(HasBits * has_bits)3315   static void set_has_pleft(HasBits* has_bits) {
3316     (*has_bits)[0] |= 256u;
3317   }
set_has_pright(HasBits * has_bits)3318   static void set_has_pright(HasBits* has_bits) {
3319     (*has_bits)[0] |= 512u;
3320   }
set_has_flags(HasBits * has_bits)3321   static void set_has_flags(HasBits* has_bits) {
3322     (*has_bits)[0] |= 1024u;
3323   }
3324 };
3325 
Ext4AllocateBlocksFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)3326 Ext4AllocateBlocksFtraceEvent::Ext4AllocateBlocksFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
3327                          bool is_message_owned)
3328   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
3329   SharedCtor(arena, is_message_owned);
3330   // @@protoc_insertion_point(arena_constructor:perfetto.protos.Ext4AllocateBlocksFtraceEvent)
3331 }
Ext4AllocateBlocksFtraceEvent(const Ext4AllocateBlocksFtraceEvent & from)3332 Ext4AllocateBlocksFtraceEvent::Ext4AllocateBlocksFtraceEvent(const Ext4AllocateBlocksFtraceEvent& from)
3333   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
3334   Ext4AllocateBlocksFtraceEvent* const _this = this; (void)_this;
3335   new (&_impl_) Impl_{
3336       decltype(_impl_._has_bits_){from._impl_._has_bits_}
3337     , /*decltype(_impl_._cached_size_)*/{}
3338     , decltype(_impl_.dev_){}
3339     , decltype(_impl_.ino_){}
3340     , decltype(_impl_.block_){}
3341     , decltype(_impl_.len_){}
3342     , decltype(_impl_.logical_){}
3343     , decltype(_impl_.lleft_){}
3344     , decltype(_impl_.lright_){}
3345     , decltype(_impl_.goal_){}
3346     , decltype(_impl_.pleft_){}
3347     , decltype(_impl_.pright_){}
3348     , decltype(_impl_.flags_){}};
3349 
3350   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
3351   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
3352     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.flags_) -
3353     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.flags_));
3354   // @@protoc_insertion_point(copy_constructor:perfetto.protos.Ext4AllocateBlocksFtraceEvent)
3355 }
3356 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)3357 inline void Ext4AllocateBlocksFtraceEvent::SharedCtor(
3358     ::_pb::Arena* arena, bool is_message_owned) {
3359   (void)arena;
3360   (void)is_message_owned;
3361   new (&_impl_) Impl_{
3362       decltype(_impl_._has_bits_){}
3363     , /*decltype(_impl_._cached_size_)*/{}
3364     , decltype(_impl_.dev_){::uint64_t{0u}}
3365     , decltype(_impl_.ino_){::uint64_t{0u}}
3366     , decltype(_impl_.block_){::uint64_t{0u}}
3367     , decltype(_impl_.len_){0u}
3368     , decltype(_impl_.logical_){0u}
3369     , decltype(_impl_.lleft_){0u}
3370     , decltype(_impl_.lright_){0u}
3371     , decltype(_impl_.goal_){::uint64_t{0u}}
3372     , decltype(_impl_.pleft_){::uint64_t{0u}}
3373     , decltype(_impl_.pright_){::uint64_t{0u}}
3374     , decltype(_impl_.flags_){0u}
3375   };
3376 }
3377 
~Ext4AllocateBlocksFtraceEvent()3378 Ext4AllocateBlocksFtraceEvent::~Ext4AllocateBlocksFtraceEvent() {
3379   // @@protoc_insertion_point(destructor:perfetto.protos.Ext4AllocateBlocksFtraceEvent)
3380   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
3381   (void)arena;
3382     return;
3383   }
3384   SharedDtor();
3385 }
3386 
SharedDtor()3387 inline void Ext4AllocateBlocksFtraceEvent::SharedDtor() {
3388   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
3389 }
3390 
SetCachedSize(int size) const3391 void Ext4AllocateBlocksFtraceEvent::SetCachedSize(int size) const {
3392   _impl_._cached_size_.Set(size);
3393 }
3394 
Clear()3395 void Ext4AllocateBlocksFtraceEvent::Clear() {
3396 // @@protoc_insertion_point(message_clear_start:perfetto.protos.Ext4AllocateBlocksFtraceEvent)
3397   ::uint32_t cached_has_bits = 0;
3398   // Prevent compiler warnings about cached_has_bits being unused
3399   (void) cached_has_bits;
3400 
3401   cached_has_bits = _impl_._has_bits_[0];
3402   if (cached_has_bits & 0x000000ffu) {
3403     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
3404         reinterpret_cast<char*>(&_impl_.goal_) -
3405         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.goal_));
3406   }
3407   if (cached_has_bits & 0x00000700u) {
3408     ::memset(&_impl_.pleft_, 0, static_cast<size_t>(
3409         reinterpret_cast<char*>(&_impl_.flags_) -
3410         reinterpret_cast<char*>(&_impl_.pleft_)) + sizeof(_impl_.flags_));
3411   }
3412   _impl_._has_bits_.Clear();
3413   _internal_metadata_.Clear<std::string>();
3414 }
3415 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)3416 const char* Ext4AllocateBlocksFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
3417 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
3418   _Internal::HasBits has_bits{};
3419   while (!ctx->Done(&ptr)) {
3420     ::uint32_t tag;
3421     ptr = ::_pbi::ReadTag(ptr, &tag);
3422     switch (tag >> 3) {
3423       // optional uint64 dev = 1;
3424       case 1:
3425         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
3426           _Internal::set_has_dev(&has_bits);
3427           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
3428           CHK_(ptr);
3429         } else {
3430           goto handle_unusual;
3431         }
3432         continue;
3433       // optional uint64 ino = 2;
3434       case 2:
3435         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
3436           _Internal::set_has_ino(&has_bits);
3437           _impl_.ino_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
3438           CHK_(ptr);
3439         } else {
3440           goto handle_unusual;
3441         }
3442         continue;
3443       // optional uint64 block = 3;
3444       case 3:
3445         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
3446           _Internal::set_has_block(&has_bits);
3447           _impl_.block_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
3448           CHK_(ptr);
3449         } else {
3450           goto handle_unusual;
3451         }
3452         continue;
3453       // optional uint32 len = 4;
3454       case 4:
3455         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
3456           _Internal::set_has_len(&has_bits);
3457           _impl_.len_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
3458           CHK_(ptr);
3459         } else {
3460           goto handle_unusual;
3461         }
3462         continue;
3463       // optional uint32 logical = 5;
3464       case 5:
3465         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) {
3466           _Internal::set_has_logical(&has_bits);
3467           _impl_.logical_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
3468           CHK_(ptr);
3469         } else {
3470           goto handle_unusual;
3471         }
3472         continue;
3473       // optional uint32 lleft = 6;
3474       case 6:
3475         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 48)) {
3476           _Internal::set_has_lleft(&has_bits);
3477           _impl_.lleft_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
3478           CHK_(ptr);
3479         } else {
3480           goto handle_unusual;
3481         }
3482         continue;
3483       // optional uint32 lright = 7;
3484       case 7:
3485         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 56)) {
3486           _Internal::set_has_lright(&has_bits);
3487           _impl_.lright_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
3488           CHK_(ptr);
3489         } else {
3490           goto handle_unusual;
3491         }
3492         continue;
3493       // optional uint64 goal = 8;
3494       case 8:
3495         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 64)) {
3496           _Internal::set_has_goal(&has_bits);
3497           _impl_.goal_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
3498           CHK_(ptr);
3499         } else {
3500           goto handle_unusual;
3501         }
3502         continue;
3503       // optional uint64 pleft = 9;
3504       case 9:
3505         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 72)) {
3506           _Internal::set_has_pleft(&has_bits);
3507           _impl_.pleft_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
3508           CHK_(ptr);
3509         } else {
3510           goto handle_unusual;
3511         }
3512         continue;
3513       // optional uint64 pright = 10;
3514       case 10:
3515         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 80)) {
3516           _Internal::set_has_pright(&has_bits);
3517           _impl_.pright_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
3518           CHK_(ptr);
3519         } else {
3520           goto handle_unusual;
3521         }
3522         continue;
3523       // optional uint32 flags = 11;
3524       case 11:
3525         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 88)) {
3526           _Internal::set_has_flags(&has_bits);
3527           _impl_.flags_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
3528           CHK_(ptr);
3529         } else {
3530           goto handle_unusual;
3531         }
3532         continue;
3533       default:
3534         goto handle_unusual;
3535     }  // switch
3536   handle_unusual:
3537     if ((tag == 0) || ((tag & 7) == 4)) {
3538       CHK_(ptr);
3539       ctx->SetLastTag(tag);
3540       goto message_done;
3541     }
3542     ptr = UnknownFieldParse(
3543         tag,
3544         _internal_metadata_.mutable_unknown_fields<std::string>(),
3545         ptr, ctx);
3546     CHK_(ptr != nullptr);
3547   }  // while
3548 message_done:
3549   _impl_._has_bits_.Or(has_bits);
3550   return ptr;
3551 failure:
3552   ptr = nullptr;
3553   goto message_done;
3554 #undef CHK_
3555 }
3556 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const3557 ::uint8_t* Ext4AllocateBlocksFtraceEvent::_InternalSerialize(
3558     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
3559   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.Ext4AllocateBlocksFtraceEvent)
3560   ::uint32_t cached_has_bits = 0;
3561   (void) cached_has_bits;
3562 
3563   cached_has_bits = _impl_._has_bits_[0];
3564   // optional uint64 dev = 1;
3565   if (cached_has_bits & 0x00000001u) {
3566     target = stream->EnsureSpace(target);
3567     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
3568   }
3569 
3570   // optional uint64 ino = 2;
3571   if (cached_has_bits & 0x00000002u) {
3572     target = stream->EnsureSpace(target);
3573     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_ino(), target);
3574   }
3575 
3576   // optional uint64 block = 3;
3577   if (cached_has_bits & 0x00000004u) {
3578     target = stream->EnsureSpace(target);
3579     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(3, this->_internal_block(), target);
3580   }
3581 
3582   // optional uint32 len = 4;
3583   if (cached_has_bits & 0x00000008u) {
3584     target = stream->EnsureSpace(target);
3585     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_len(), target);
3586   }
3587 
3588   // optional uint32 logical = 5;
3589   if (cached_has_bits & 0x00000010u) {
3590     target = stream->EnsureSpace(target);
3591     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_logical(), target);
3592   }
3593 
3594   // optional uint32 lleft = 6;
3595   if (cached_has_bits & 0x00000020u) {
3596     target = stream->EnsureSpace(target);
3597     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_lleft(), target);
3598   }
3599 
3600   // optional uint32 lright = 7;
3601   if (cached_has_bits & 0x00000040u) {
3602     target = stream->EnsureSpace(target);
3603     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(7, this->_internal_lright(), target);
3604   }
3605 
3606   // optional uint64 goal = 8;
3607   if (cached_has_bits & 0x00000080u) {
3608     target = stream->EnsureSpace(target);
3609     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(8, this->_internal_goal(), target);
3610   }
3611 
3612   // optional uint64 pleft = 9;
3613   if (cached_has_bits & 0x00000100u) {
3614     target = stream->EnsureSpace(target);
3615     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(9, this->_internal_pleft(), target);
3616   }
3617 
3618   // optional uint64 pright = 10;
3619   if (cached_has_bits & 0x00000200u) {
3620     target = stream->EnsureSpace(target);
3621     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(10, this->_internal_pright(), target);
3622   }
3623 
3624   // optional uint32 flags = 11;
3625   if (cached_has_bits & 0x00000400u) {
3626     target = stream->EnsureSpace(target);
3627     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(11, this->_internal_flags(), target);
3628   }
3629 
3630   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
3631     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
3632         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
3633   }
3634   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.Ext4AllocateBlocksFtraceEvent)
3635   return target;
3636 }
3637 
ByteSizeLong() const3638 size_t Ext4AllocateBlocksFtraceEvent::ByteSizeLong() const {
3639 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.Ext4AllocateBlocksFtraceEvent)
3640   size_t total_size = 0;
3641 
3642   ::uint32_t cached_has_bits = 0;
3643   // Prevent compiler warnings about cached_has_bits being unused
3644   (void) cached_has_bits;
3645 
3646   cached_has_bits = _impl_._has_bits_[0];
3647   if (cached_has_bits & 0x000000ffu) {
3648     // optional uint64 dev = 1;
3649     if (cached_has_bits & 0x00000001u) {
3650       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
3651     }
3652 
3653     // optional uint64 ino = 2;
3654     if (cached_has_bits & 0x00000002u) {
3655       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ino());
3656     }
3657 
3658     // optional uint64 block = 3;
3659     if (cached_has_bits & 0x00000004u) {
3660       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_block());
3661     }
3662 
3663     // optional uint32 len = 4;
3664     if (cached_has_bits & 0x00000008u) {
3665       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_len());
3666     }
3667 
3668     // optional uint32 logical = 5;
3669     if (cached_has_bits & 0x00000010u) {
3670       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_logical());
3671     }
3672 
3673     // optional uint32 lleft = 6;
3674     if (cached_has_bits & 0x00000020u) {
3675       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_lleft());
3676     }
3677 
3678     // optional uint32 lright = 7;
3679     if (cached_has_bits & 0x00000040u) {
3680       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_lright());
3681     }
3682 
3683     // optional uint64 goal = 8;
3684     if (cached_has_bits & 0x00000080u) {
3685       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_goal());
3686     }
3687 
3688   }
3689   if (cached_has_bits & 0x00000700u) {
3690     // optional uint64 pleft = 9;
3691     if (cached_has_bits & 0x00000100u) {
3692       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_pleft());
3693     }
3694 
3695     // optional uint64 pright = 10;
3696     if (cached_has_bits & 0x00000200u) {
3697       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_pright());
3698     }
3699 
3700     // optional uint32 flags = 11;
3701     if (cached_has_bits & 0x00000400u) {
3702       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_flags());
3703     }
3704 
3705   }
3706   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
3707     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
3708   }
3709   int cached_size = ::_pbi::ToCachedSize(total_size);
3710   SetCachedSize(cached_size);
3711   return total_size;
3712 }
3713 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)3714 void Ext4AllocateBlocksFtraceEvent::CheckTypeAndMergeFrom(
3715     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
3716   MergeFrom(*::_pbi::DownCast<const Ext4AllocateBlocksFtraceEvent*>(
3717       &from));
3718 }
3719 
MergeFrom(const Ext4AllocateBlocksFtraceEvent & from)3720 void Ext4AllocateBlocksFtraceEvent::MergeFrom(const Ext4AllocateBlocksFtraceEvent& from) {
3721   Ext4AllocateBlocksFtraceEvent* const _this = this;
3722   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.Ext4AllocateBlocksFtraceEvent)
3723   GOOGLE_DCHECK_NE(&from, _this);
3724   ::uint32_t cached_has_bits = 0;
3725   (void) cached_has_bits;
3726 
3727   cached_has_bits = from._impl_._has_bits_[0];
3728   if (cached_has_bits & 0x000000ffu) {
3729     if (cached_has_bits & 0x00000001u) {
3730       _this->_impl_.dev_ = from._impl_.dev_;
3731     }
3732     if (cached_has_bits & 0x00000002u) {
3733       _this->_impl_.ino_ = from._impl_.ino_;
3734     }
3735     if (cached_has_bits & 0x00000004u) {
3736       _this->_impl_.block_ = from._impl_.block_;
3737     }
3738     if (cached_has_bits & 0x00000008u) {
3739       _this->_impl_.len_ = from._impl_.len_;
3740     }
3741     if (cached_has_bits & 0x00000010u) {
3742       _this->_impl_.logical_ = from._impl_.logical_;
3743     }
3744     if (cached_has_bits & 0x00000020u) {
3745       _this->_impl_.lleft_ = from._impl_.lleft_;
3746     }
3747     if (cached_has_bits & 0x00000040u) {
3748       _this->_impl_.lright_ = from._impl_.lright_;
3749     }
3750     if (cached_has_bits & 0x00000080u) {
3751       _this->_impl_.goal_ = from._impl_.goal_;
3752     }
3753     _this->_impl_._has_bits_[0] |= cached_has_bits;
3754   }
3755   if (cached_has_bits & 0x00000700u) {
3756     if (cached_has_bits & 0x00000100u) {
3757       _this->_impl_.pleft_ = from._impl_.pleft_;
3758     }
3759     if (cached_has_bits & 0x00000200u) {
3760       _this->_impl_.pright_ = from._impl_.pright_;
3761     }
3762     if (cached_has_bits & 0x00000400u) {
3763       _this->_impl_.flags_ = from._impl_.flags_;
3764     }
3765     _this->_impl_._has_bits_[0] |= cached_has_bits;
3766   }
3767   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
3768 }
3769 
CopyFrom(const Ext4AllocateBlocksFtraceEvent & from)3770 void Ext4AllocateBlocksFtraceEvent::CopyFrom(const Ext4AllocateBlocksFtraceEvent& from) {
3771 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.Ext4AllocateBlocksFtraceEvent)
3772   if (&from == this) return;
3773   Clear();
3774   MergeFrom(from);
3775 }
3776 
IsInitialized() const3777 bool Ext4AllocateBlocksFtraceEvent::IsInitialized() const {
3778   return true;
3779 }
3780 
InternalSwap(Ext4AllocateBlocksFtraceEvent * other)3781 void Ext4AllocateBlocksFtraceEvent::InternalSwap(Ext4AllocateBlocksFtraceEvent* other) {
3782   using std::swap;
3783   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
3784   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
3785   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
3786       PROTOBUF_FIELD_OFFSET(Ext4AllocateBlocksFtraceEvent, _impl_.flags_)
3787       + sizeof(Ext4AllocateBlocksFtraceEvent::_impl_.flags_)  // NOLINT
3788       - PROTOBUF_FIELD_OFFSET(Ext4AllocateBlocksFtraceEvent, _impl_.dev_)>(
3789           reinterpret_cast<char*>(&_impl_.dev_),
3790           reinterpret_cast<char*>(&other->_impl_.dev_));
3791 }
3792 
GetTypeName() const3793 std::string Ext4AllocateBlocksFtraceEvent::GetTypeName() const {
3794   return "perfetto.protos.Ext4AllocateBlocksFtraceEvent";
3795 }
3796 
3797 
3798 // ===================================================================
3799 
3800 class Ext4AllocateInodeFtraceEvent::_Internal {
3801  public:
3802   using HasBits = decltype(std::declval<Ext4AllocateInodeFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)3803   static void set_has_dev(HasBits* has_bits) {
3804     (*has_bits)[0] |= 1u;
3805   }
set_has_ino(HasBits * has_bits)3806   static void set_has_ino(HasBits* has_bits) {
3807     (*has_bits)[0] |= 2u;
3808   }
set_has_dir(HasBits * has_bits)3809   static void set_has_dir(HasBits* has_bits) {
3810     (*has_bits)[0] |= 4u;
3811   }
set_has_mode(HasBits * has_bits)3812   static void set_has_mode(HasBits* has_bits) {
3813     (*has_bits)[0] |= 8u;
3814   }
3815 };
3816 
Ext4AllocateInodeFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)3817 Ext4AllocateInodeFtraceEvent::Ext4AllocateInodeFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
3818                          bool is_message_owned)
3819   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
3820   SharedCtor(arena, is_message_owned);
3821   // @@protoc_insertion_point(arena_constructor:perfetto.protos.Ext4AllocateInodeFtraceEvent)
3822 }
Ext4AllocateInodeFtraceEvent(const Ext4AllocateInodeFtraceEvent & from)3823 Ext4AllocateInodeFtraceEvent::Ext4AllocateInodeFtraceEvent(const Ext4AllocateInodeFtraceEvent& from)
3824   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
3825   Ext4AllocateInodeFtraceEvent* const _this = this; (void)_this;
3826   new (&_impl_) Impl_{
3827       decltype(_impl_._has_bits_){from._impl_._has_bits_}
3828     , /*decltype(_impl_._cached_size_)*/{}
3829     , decltype(_impl_.dev_){}
3830     , decltype(_impl_.ino_){}
3831     , decltype(_impl_.dir_){}
3832     , decltype(_impl_.mode_){}};
3833 
3834   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
3835   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
3836     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.mode_) -
3837     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.mode_));
3838   // @@protoc_insertion_point(copy_constructor:perfetto.protos.Ext4AllocateInodeFtraceEvent)
3839 }
3840 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)3841 inline void Ext4AllocateInodeFtraceEvent::SharedCtor(
3842     ::_pb::Arena* arena, bool is_message_owned) {
3843   (void)arena;
3844   (void)is_message_owned;
3845   new (&_impl_) Impl_{
3846       decltype(_impl_._has_bits_){}
3847     , /*decltype(_impl_._cached_size_)*/{}
3848     , decltype(_impl_.dev_){::uint64_t{0u}}
3849     , decltype(_impl_.ino_){::uint64_t{0u}}
3850     , decltype(_impl_.dir_){::uint64_t{0u}}
3851     , decltype(_impl_.mode_){0u}
3852   };
3853 }
3854 
~Ext4AllocateInodeFtraceEvent()3855 Ext4AllocateInodeFtraceEvent::~Ext4AllocateInodeFtraceEvent() {
3856   // @@protoc_insertion_point(destructor:perfetto.protos.Ext4AllocateInodeFtraceEvent)
3857   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
3858   (void)arena;
3859     return;
3860   }
3861   SharedDtor();
3862 }
3863 
SharedDtor()3864 inline void Ext4AllocateInodeFtraceEvent::SharedDtor() {
3865   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
3866 }
3867 
SetCachedSize(int size) const3868 void Ext4AllocateInodeFtraceEvent::SetCachedSize(int size) const {
3869   _impl_._cached_size_.Set(size);
3870 }
3871 
Clear()3872 void Ext4AllocateInodeFtraceEvent::Clear() {
3873 // @@protoc_insertion_point(message_clear_start:perfetto.protos.Ext4AllocateInodeFtraceEvent)
3874   ::uint32_t cached_has_bits = 0;
3875   // Prevent compiler warnings about cached_has_bits being unused
3876   (void) cached_has_bits;
3877 
3878   cached_has_bits = _impl_._has_bits_[0];
3879   if (cached_has_bits & 0x0000000fu) {
3880     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
3881         reinterpret_cast<char*>(&_impl_.mode_) -
3882         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.mode_));
3883   }
3884   _impl_._has_bits_.Clear();
3885   _internal_metadata_.Clear<std::string>();
3886 }
3887 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)3888 const char* Ext4AllocateInodeFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
3889 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
3890   _Internal::HasBits has_bits{};
3891   while (!ctx->Done(&ptr)) {
3892     ::uint32_t tag;
3893     ptr = ::_pbi::ReadTag(ptr, &tag);
3894     switch (tag >> 3) {
3895       // optional uint64 dev = 1;
3896       case 1:
3897         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
3898           _Internal::set_has_dev(&has_bits);
3899           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
3900           CHK_(ptr);
3901         } else {
3902           goto handle_unusual;
3903         }
3904         continue;
3905       // optional uint64 ino = 2;
3906       case 2:
3907         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
3908           _Internal::set_has_ino(&has_bits);
3909           _impl_.ino_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
3910           CHK_(ptr);
3911         } else {
3912           goto handle_unusual;
3913         }
3914         continue;
3915       // optional uint64 dir = 3;
3916       case 3:
3917         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
3918           _Internal::set_has_dir(&has_bits);
3919           _impl_.dir_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
3920           CHK_(ptr);
3921         } else {
3922           goto handle_unusual;
3923         }
3924         continue;
3925       // optional uint32 mode = 4;
3926       case 4:
3927         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
3928           _Internal::set_has_mode(&has_bits);
3929           _impl_.mode_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
3930           CHK_(ptr);
3931         } else {
3932           goto handle_unusual;
3933         }
3934         continue;
3935       default:
3936         goto handle_unusual;
3937     }  // switch
3938   handle_unusual:
3939     if ((tag == 0) || ((tag & 7) == 4)) {
3940       CHK_(ptr);
3941       ctx->SetLastTag(tag);
3942       goto message_done;
3943     }
3944     ptr = UnknownFieldParse(
3945         tag,
3946         _internal_metadata_.mutable_unknown_fields<std::string>(),
3947         ptr, ctx);
3948     CHK_(ptr != nullptr);
3949   }  // while
3950 message_done:
3951   _impl_._has_bits_.Or(has_bits);
3952   return ptr;
3953 failure:
3954   ptr = nullptr;
3955   goto message_done;
3956 #undef CHK_
3957 }
3958 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const3959 ::uint8_t* Ext4AllocateInodeFtraceEvent::_InternalSerialize(
3960     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
3961   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.Ext4AllocateInodeFtraceEvent)
3962   ::uint32_t cached_has_bits = 0;
3963   (void) cached_has_bits;
3964 
3965   cached_has_bits = _impl_._has_bits_[0];
3966   // optional uint64 dev = 1;
3967   if (cached_has_bits & 0x00000001u) {
3968     target = stream->EnsureSpace(target);
3969     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
3970   }
3971 
3972   // optional uint64 ino = 2;
3973   if (cached_has_bits & 0x00000002u) {
3974     target = stream->EnsureSpace(target);
3975     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_ino(), target);
3976   }
3977 
3978   // optional uint64 dir = 3;
3979   if (cached_has_bits & 0x00000004u) {
3980     target = stream->EnsureSpace(target);
3981     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(3, this->_internal_dir(), target);
3982   }
3983 
3984   // optional uint32 mode = 4;
3985   if (cached_has_bits & 0x00000008u) {
3986     target = stream->EnsureSpace(target);
3987     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_mode(), target);
3988   }
3989 
3990   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
3991     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
3992         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
3993   }
3994   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.Ext4AllocateInodeFtraceEvent)
3995   return target;
3996 }
3997 
ByteSizeLong() const3998 size_t Ext4AllocateInodeFtraceEvent::ByteSizeLong() const {
3999 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.Ext4AllocateInodeFtraceEvent)
4000   size_t total_size = 0;
4001 
4002   ::uint32_t cached_has_bits = 0;
4003   // Prevent compiler warnings about cached_has_bits being unused
4004   (void) cached_has_bits;
4005 
4006   cached_has_bits = _impl_._has_bits_[0];
4007   if (cached_has_bits & 0x0000000fu) {
4008     // optional uint64 dev = 1;
4009     if (cached_has_bits & 0x00000001u) {
4010       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
4011     }
4012 
4013     // optional uint64 ino = 2;
4014     if (cached_has_bits & 0x00000002u) {
4015       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ino());
4016     }
4017 
4018     // optional uint64 dir = 3;
4019     if (cached_has_bits & 0x00000004u) {
4020       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dir());
4021     }
4022 
4023     // optional uint32 mode = 4;
4024     if (cached_has_bits & 0x00000008u) {
4025       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_mode());
4026     }
4027 
4028   }
4029   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
4030     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
4031   }
4032   int cached_size = ::_pbi::ToCachedSize(total_size);
4033   SetCachedSize(cached_size);
4034   return total_size;
4035 }
4036 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)4037 void Ext4AllocateInodeFtraceEvent::CheckTypeAndMergeFrom(
4038     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
4039   MergeFrom(*::_pbi::DownCast<const Ext4AllocateInodeFtraceEvent*>(
4040       &from));
4041 }
4042 
MergeFrom(const Ext4AllocateInodeFtraceEvent & from)4043 void Ext4AllocateInodeFtraceEvent::MergeFrom(const Ext4AllocateInodeFtraceEvent& from) {
4044   Ext4AllocateInodeFtraceEvent* const _this = this;
4045   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.Ext4AllocateInodeFtraceEvent)
4046   GOOGLE_DCHECK_NE(&from, _this);
4047   ::uint32_t cached_has_bits = 0;
4048   (void) cached_has_bits;
4049 
4050   cached_has_bits = from._impl_._has_bits_[0];
4051   if (cached_has_bits & 0x0000000fu) {
4052     if (cached_has_bits & 0x00000001u) {
4053       _this->_impl_.dev_ = from._impl_.dev_;
4054     }
4055     if (cached_has_bits & 0x00000002u) {
4056       _this->_impl_.ino_ = from._impl_.ino_;
4057     }
4058     if (cached_has_bits & 0x00000004u) {
4059       _this->_impl_.dir_ = from._impl_.dir_;
4060     }
4061     if (cached_has_bits & 0x00000008u) {
4062       _this->_impl_.mode_ = from._impl_.mode_;
4063     }
4064     _this->_impl_._has_bits_[0] |= cached_has_bits;
4065   }
4066   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
4067 }
4068 
CopyFrom(const Ext4AllocateInodeFtraceEvent & from)4069 void Ext4AllocateInodeFtraceEvent::CopyFrom(const Ext4AllocateInodeFtraceEvent& from) {
4070 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.Ext4AllocateInodeFtraceEvent)
4071   if (&from == this) return;
4072   Clear();
4073   MergeFrom(from);
4074 }
4075 
IsInitialized() const4076 bool Ext4AllocateInodeFtraceEvent::IsInitialized() const {
4077   return true;
4078 }
4079 
InternalSwap(Ext4AllocateInodeFtraceEvent * other)4080 void Ext4AllocateInodeFtraceEvent::InternalSwap(Ext4AllocateInodeFtraceEvent* other) {
4081   using std::swap;
4082   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
4083   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
4084   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
4085       PROTOBUF_FIELD_OFFSET(Ext4AllocateInodeFtraceEvent, _impl_.mode_)
4086       + sizeof(Ext4AllocateInodeFtraceEvent::_impl_.mode_)  // NOLINT
4087       - PROTOBUF_FIELD_OFFSET(Ext4AllocateInodeFtraceEvent, _impl_.dev_)>(
4088           reinterpret_cast<char*>(&_impl_.dev_),
4089           reinterpret_cast<char*>(&other->_impl_.dev_));
4090 }
4091 
GetTypeName() const4092 std::string Ext4AllocateInodeFtraceEvent::GetTypeName() const {
4093   return "perfetto.protos.Ext4AllocateInodeFtraceEvent";
4094 }
4095 
4096 
4097 // ===================================================================
4098 
4099 class Ext4BeginOrderedTruncateFtraceEvent::_Internal {
4100  public:
4101   using HasBits = decltype(std::declval<Ext4BeginOrderedTruncateFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)4102   static void set_has_dev(HasBits* has_bits) {
4103     (*has_bits)[0] |= 1u;
4104   }
set_has_ino(HasBits * has_bits)4105   static void set_has_ino(HasBits* has_bits) {
4106     (*has_bits)[0] |= 2u;
4107   }
set_has_new_size(HasBits * has_bits)4108   static void set_has_new_size(HasBits* has_bits) {
4109     (*has_bits)[0] |= 4u;
4110   }
4111 };
4112 
Ext4BeginOrderedTruncateFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)4113 Ext4BeginOrderedTruncateFtraceEvent::Ext4BeginOrderedTruncateFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
4114                          bool is_message_owned)
4115   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
4116   SharedCtor(arena, is_message_owned);
4117   // @@protoc_insertion_point(arena_constructor:perfetto.protos.Ext4BeginOrderedTruncateFtraceEvent)
4118 }
Ext4BeginOrderedTruncateFtraceEvent(const Ext4BeginOrderedTruncateFtraceEvent & from)4119 Ext4BeginOrderedTruncateFtraceEvent::Ext4BeginOrderedTruncateFtraceEvent(const Ext4BeginOrderedTruncateFtraceEvent& from)
4120   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
4121   Ext4BeginOrderedTruncateFtraceEvent* const _this = this; (void)_this;
4122   new (&_impl_) Impl_{
4123       decltype(_impl_._has_bits_){from._impl_._has_bits_}
4124     , /*decltype(_impl_._cached_size_)*/{}
4125     , decltype(_impl_.dev_){}
4126     , decltype(_impl_.ino_){}
4127     , decltype(_impl_.new_size_){}};
4128 
4129   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
4130   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
4131     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.new_size_) -
4132     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.new_size_));
4133   // @@protoc_insertion_point(copy_constructor:perfetto.protos.Ext4BeginOrderedTruncateFtraceEvent)
4134 }
4135 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)4136 inline void Ext4BeginOrderedTruncateFtraceEvent::SharedCtor(
4137     ::_pb::Arena* arena, bool is_message_owned) {
4138   (void)arena;
4139   (void)is_message_owned;
4140   new (&_impl_) Impl_{
4141       decltype(_impl_._has_bits_){}
4142     , /*decltype(_impl_._cached_size_)*/{}
4143     , decltype(_impl_.dev_){::uint64_t{0u}}
4144     , decltype(_impl_.ino_){::uint64_t{0u}}
4145     , decltype(_impl_.new_size_){::int64_t{0}}
4146   };
4147 }
4148 
~Ext4BeginOrderedTruncateFtraceEvent()4149 Ext4BeginOrderedTruncateFtraceEvent::~Ext4BeginOrderedTruncateFtraceEvent() {
4150   // @@protoc_insertion_point(destructor:perfetto.protos.Ext4BeginOrderedTruncateFtraceEvent)
4151   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
4152   (void)arena;
4153     return;
4154   }
4155   SharedDtor();
4156 }
4157 
SharedDtor()4158 inline void Ext4BeginOrderedTruncateFtraceEvent::SharedDtor() {
4159   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
4160 }
4161 
SetCachedSize(int size) const4162 void Ext4BeginOrderedTruncateFtraceEvent::SetCachedSize(int size) const {
4163   _impl_._cached_size_.Set(size);
4164 }
4165 
Clear()4166 void Ext4BeginOrderedTruncateFtraceEvent::Clear() {
4167 // @@protoc_insertion_point(message_clear_start:perfetto.protos.Ext4BeginOrderedTruncateFtraceEvent)
4168   ::uint32_t cached_has_bits = 0;
4169   // Prevent compiler warnings about cached_has_bits being unused
4170   (void) cached_has_bits;
4171 
4172   cached_has_bits = _impl_._has_bits_[0];
4173   if (cached_has_bits & 0x00000007u) {
4174     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
4175         reinterpret_cast<char*>(&_impl_.new_size_) -
4176         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.new_size_));
4177   }
4178   _impl_._has_bits_.Clear();
4179   _internal_metadata_.Clear<std::string>();
4180 }
4181 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)4182 const char* Ext4BeginOrderedTruncateFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
4183 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
4184   _Internal::HasBits has_bits{};
4185   while (!ctx->Done(&ptr)) {
4186     ::uint32_t tag;
4187     ptr = ::_pbi::ReadTag(ptr, &tag);
4188     switch (tag >> 3) {
4189       // optional uint64 dev = 1;
4190       case 1:
4191         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
4192           _Internal::set_has_dev(&has_bits);
4193           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
4194           CHK_(ptr);
4195         } else {
4196           goto handle_unusual;
4197         }
4198         continue;
4199       // optional uint64 ino = 2;
4200       case 2:
4201         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
4202           _Internal::set_has_ino(&has_bits);
4203           _impl_.ino_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
4204           CHK_(ptr);
4205         } else {
4206           goto handle_unusual;
4207         }
4208         continue;
4209       // optional int64 new_size = 3;
4210       case 3:
4211         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
4212           _Internal::set_has_new_size(&has_bits);
4213           _impl_.new_size_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
4214           CHK_(ptr);
4215         } else {
4216           goto handle_unusual;
4217         }
4218         continue;
4219       default:
4220         goto handle_unusual;
4221     }  // switch
4222   handle_unusual:
4223     if ((tag == 0) || ((tag & 7) == 4)) {
4224       CHK_(ptr);
4225       ctx->SetLastTag(tag);
4226       goto message_done;
4227     }
4228     ptr = UnknownFieldParse(
4229         tag,
4230         _internal_metadata_.mutable_unknown_fields<std::string>(),
4231         ptr, ctx);
4232     CHK_(ptr != nullptr);
4233   }  // while
4234 message_done:
4235   _impl_._has_bits_.Or(has_bits);
4236   return ptr;
4237 failure:
4238   ptr = nullptr;
4239   goto message_done;
4240 #undef CHK_
4241 }
4242 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const4243 ::uint8_t* Ext4BeginOrderedTruncateFtraceEvent::_InternalSerialize(
4244     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
4245   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.Ext4BeginOrderedTruncateFtraceEvent)
4246   ::uint32_t cached_has_bits = 0;
4247   (void) cached_has_bits;
4248 
4249   cached_has_bits = _impl_._has_bits_[0];
4250   // optional uint64 dev = 1;
4251   if (cached_has_bits & 0x00000001u) {
4252     target = stream->EnsureSpace(target);
4253     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
4254   }
4255 
4256   // optional uint64 ino = 2;
4257   if (cached_has_bits & 0x00000002u) {
4258     target = stream->EnsureSpace(target);
4259     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_ino(), target);
4260   }
4261 
4262   // optional int64 new_size = 3;
4263   if (cached_has_bits & 0x00000004u) {
4264     target = stream->EnsureSpace(target);
4265     target = ::_pbi::WireFormatLite::WriteInt64ToArray(3, this->_internal_new_size(), target);
4266   }
4267 
4268   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
4269     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
4270         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
4271   }
4272   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.Ext4BeginOrderedTruncateFtraceEvent)
4273   return target;
4274 }
4275 
ByteSizeLong() const4276 size_t Ext4BeginOrderedTruncateFtraceEvent::ByteSizeLong() const {
4277 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.Ext4BeginOrderedTruncateFtraceEvent)
4278   size_t total_size = 0;
4279 
4280   ::uint32_t cached_has_bits = 0;
4281   // Prevent compiler warnings about cached_has_bits being unused
4282   (void) cached_has_bits;
4283 
4284   cached_has_bits = _impl_._has_bits_[0];
4285   if (cached_has_bits & 0x00000007u) {
4286     // optional uint64 dev = 1;
4287     if (cached_has_bits & 0x00000001u) {
4288       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
4289     }
4290 
4291     // optional uint64 ino = 2;
4292     if (cached_has_bits & 0x00000002u) {
4293       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ino());
4294     }
4295 
4296     // optional int64 new_size = 3;
4297     if (cached_has_bits & 0x00000004u) {
4298       total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_new_size());
4299     }
4300 
4301   }
4302   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
4303     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
4304   }
4305   int cached_size = ::_pbi::ToCachedSize(total_size);
4306   SetCachedSize(cached_size);
4307   return total_size;
4308 }
4309 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)4310 void Ext4BeginOrderedTruncateFtraceEvent::CheckTypeAndMergeFrom(
4311     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
4312   MergeFrom(*::_pbi::DownCast<const Ext4BeginOrderedTruncateFtraceEvent*>(
4313       &from));
4314 }
4315 
MergeFrom(const Ext4BeginOrderedTruncateFtraceEvent & from)4316 void Ext4BeginOrderedTruncateFtraceEvent::MergeFrom(const Ext4BeginOrderedTruncateFtraceEvent& from) {
4317   Ext4BeginOrderedTruncateFtraceEvent* const _this = this;
4318   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.Ext4BeginOrderedTruncateFtraceEvent)
4319   GOOGLE_DCHECK_NE(&from, _this);
4320   ::uint32_t cached_has_bits = 0;
4321   (void) cached_has_bits;
4322 
4323   cached_has_bits = from._impl_._has_bits_[0];
4324   if (cached_has_bits & 0x00000007u) {
4325     if (cached_has_bits & 0x00000001u) {
4326       _this->_impl_.dev_ = from._impl_.dev_;
4327     }
4328     if (cached_has_bits & 0x00000002u) {
4329       _this->_impl_.ino_ = from._impl_.ino_;
4330     }
4331     if (cached_has_bits & 0x00000004u) {
4332       _this->_impl_.new_size_ = from._impl_.new_size_;
4333     }
4334     _this->_impl_._has_bits_[0] |= cached_has_bits;
4335   }
4336   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
4337 }
4338 
CopyFrom(const Ext4BeginOrderedTruncateFtraceEvent & from)4339 void Ext4BeginOrderedTruncateFtraceEvent::CopyFrom(const Ext4BeginOrderedTruncateFtraceEvent& from) {
4340 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.Ext4BeginOrderedTruncateFtraceEvent)
4341   if (&from == this) return;
4342   Clear();
4343   MergeFrom(from);
4344 }
4345 
IsInitialized() const4346 bool Ext4BeginOrderedTruncateFtraceEvent::IsInitialized() const {
4347   return true;
4348 }
4349 
InternalSwap(Ext4BeginOrderedTruncateFtraceEvent * other)4350 void Ext4BeginOrderedTruncateFtraceEvent::InternalSwap(Ext4BeginOrderedTruncateFtraceEvent* other) {
4351   using std::swap;
4352   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
4353   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
4354   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
4355       PROTOBUF_FIELD_OFFSET(Ext4BeginOrderedTruncateFtraceEvent, _impl_.new_size_)
4356       + sizeof(Ext4BeginOrderedTruncateFtraceEvent::_impl_.new_size_)  // NOLINT
4357       - PROTOBUF_FIELD_OFFSET(Ext4BeginOrderedTruncateFtraceEvent, _impl_.dev_)>(
4358           reinterpret_cast<char*>(&_impl_.dev_),
4359           reinterpret_cast<char*>(&other->_impl_.dev_));
4360 }
4361 
GetTypeName() const4362 std::string Ext4BeginOrderedTruncateFtraceEvent::GetTypeName() const {
4363   return "perfetto.protos.Ext4BeginOrderedTruncateFtraceEvent";
4364 }
4365 
4366 
4367 // ===================================================================
4368 
4369 class Ext4CollapseRangeFtraceEvent::_Internal {
4370  public:
4371   using HasBits = decltype(std::declval<Ext4CollapseRangeFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)4372   static void set_has_dev(HasBits* has_bits) {
4373     (*has_bits)[0] |= 1u;
4374   }
set_has_ino(HasBits * has_bits)4375   static void set_has_ino(HasBits* has_bits) {
4376     (*has_bits)[0] |= 2u;
4377   }
set_has_offset(HasBits * has_bits)4378   static void set_has_offset(HasBits* has_bits) {
4379     (*has_bits)[0] |= 4u;
4380   }
set_has_len(HasBits * has_bits)4381   static void set_has_len(HasBits* has_bits) {
4382     (*has_bits)[0] |= 8u;
4383   }
4384 };
4385 
Ext4CollapseRangeFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)4386 Ext4CollapseRangeFtraceEvent::Ext4CollapseRangeFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
4387                          bool is_message_owned)
4388   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
4389   SharedCtor(arena, is_message_owned);
4390   // @@protoc_insertion_point(arena_constructor:perfetto.protos.Ext4CollapseRangeFtraceEvent)
4391 }
Ext4CollapseRangeFtraceEvent(const Ext4CollapseRangeFtraceEvent & from)4392 Ext4CollapseRangeFtraceEvent::Ext4CollapseRangeFtraceEvent(const Ext4CollapseRangeFtraceEvent& from)
4393   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
4394   Ext4CollapseRangeFtraceEvent* const _this = this; (void)_this;
4395   new (&_impl_) Impl_{
4396       decltype(_impl_._has_bits_){from._impl_._has_bits_}
4397     , /*decltype(_impl_._cached_size_)*/{}
4398     , decltype(_impl_.dev_){}
4399     , decltype(_impl_.ino_){}
4400     , decltype(_impl_.offset_){}
4401     , decltype(_impl_.len_){}};
4402 
4403   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
4404   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
4405     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.len_) -
4406     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.len_));
4407   // @@protoc_insertion_point(copy_constructor:perfetto.protos.Ext4CollapseRangeFtraceEvent)
4408 }
4409 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)4410 inline void Ext4CollapseRangeFtraceEvent::SharedCtor(
4411     ::_pb::Arena* arena, bool is_message_owned) {
4412   (void)arena;
4413   (void)is_message_owned;
4414   new (&_impl_) Impl_{
4415       decltype(_impl_._has_bits_){}
4416     , /*decltype(_impl_._cached_size_)*/{}
4417     , decltype(_impl_.dev_){::uint64_t{0u}}
4418     , decltype(_impl_.ino_){::uint64_t{0u}}
4419     , decltype(_impl_.offset_){::int64_t{0}}
4420     , decltype(_impl_.len_){::int64_t{0}}
4421   };
4422 }
4423 
~Ext4CollapseRangeFtraceEvent()4424 Ext4CollapseRangeFtraceEvent::~Ext4CollapseRangeFtraceEvent() {
4425   // @@protoc_insertion_point(destructor:perfetto.protos.Ext4CollapseRangeFtraceEvent)
4426   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
4427   (void)arena;
4428     return;
4429   }
4430   SharedDtor();
4431 }
4432 
SharedDtor()4433 inline void Ext4CollapseRangeFtraceEvent::SharedDtor() {
4434   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
4435 }
4436 
SetCachedSize(int size) const4437 void Ext4CollapseRangeFtraceEvent::SetCachedSize(int size) const {
4438   _impl_._cached_size_.Set(size);
4439 }
4440 
Clear()4441 void Ext4CollapseRangeFtraceEvent::Clear() {
4442 // @@protoc_insertion_point(message_clear_start:perfetto.protos.Ext4CollapseRangeFtraceEvent)
4443   ::uint32_t cached_has_bits = 0;
4444   // Prevent compiler warnings about cached_has_bits being unused
4445   (void) cached_has_bits;
4446 
4447   cached_has_bits = _impl_._has_bits_[0];
4448   if (cached_has_bits & 0x0000000fu) {
4449     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
4450         reinterpret_cast<char*>(&_impl_.len_) -
4451         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.len_));
4452   }
4453   _impl_._has_bits_.Clear();
4454   _internal_metadata_.Clear<std::string>();
4455 }
4456 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)4457 const char* Ext4CollapseRangeFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
4458 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
4459   _Internal::HasBits has_bits{};
4460   while (!ctx->Done(&ptr)) {
4461     ::uint32_t tag;
4462     ptr = ::_pbi::ReadTag(ptr, &tag);
4463     switch (tag >> 3) {
4464       // optional uint64 dev = 1;
4465       case 1:
4466         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
4467           _Internal::set_has_dev(&has_bits);
4468           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
4469           CHK_(ptr);
4470         } else {
4471           goto handle_unusual;
4472         }
4473         continue;
4474       // optional uint64 ino = 2;
4475       case 2:
4476         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
4477           _Internal::set_has_ino(&has_bits);
4478           _impl_.ino_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
4479           CHK_(ptr);
4480         } else {
4481           goto handle_unusual;
4482         }
4483         continue;
4484       // optional int64 offset = 3;
4485       case 3:
4486         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
4487           _Internal::set_has_offset(&has_bits);
4488           _impl_.offset_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
4489           CHK_(ptr);
4490         } else {
4491           goto handle_unusual;
4492         }
4493         continue;
4494       // optional int64 len = 4;
4495       case 4:
4496         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
4497           _Internal::set_has_len(&has_bits);
4498           _impl_.len_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
4499           CHK_(ptr);
4500         } else {
4501           goto handle_unusual;
4502         }
4503         continue;
4504       default:
4505         goto handle_unusual;
4506     }  // switch
4507   handle_unusual:
4508     if ((tag == 0) || ((tag & 7) == 4)) {
4509       CHK_(ptr);
4510       ctx->SetLastTag(tag);
4511       goto message_done;
4512     }
4513     ptr = UnknownFieldParse(
4514         tag,
4515         _internal_metadata_.mutable_unknown_fields<std::string>(),
4516         ptr, ctx);
4517     CHK_(ptr != nullptr);
4518   }  // while
4519 message_done:
4520   _impl_._has_bits_.Or(has_bits);
4521   return ptr;
4522 failure:
4523   ptr = nullptr;
4524   goto message_done;
4525 #undef CHK_
4526 }
4527 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const4528 ::uint8_t* Ext4CollapseRangeFtraceEvent::_InternalSerialize(
4529     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
4530   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.Ext4CollapseRangeFtraceEvent)
4531   ::uint32_t cached_has_bits = 0;
4532   (void) cached_has_bits;
4533 
4534   cached_has_bits = _impl_._has_bits_[0];
4535   // optional uint64 dev = 1;
4536   if (cached_has_bits & 0x00000001u) {
4537     target = stream->EnsureSpace(target);
4538     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
4539   }
4540 
4541   // optional uint64 ino = 2;
4542   if (cached_has_bits & 0x00000002u) {
4543     target = stream->EnsureSpace(target);
4544     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_ino(), target);
4545   }
4546 
4547   // optional int64 offset = 3;
4548   if (cached_has_bits & 0x00000004u) {
4549     target = stream->EnsureSpace(target);
4550     target = ::_pbi::WireFormatLite::WriteInt64ToArray(3, this->_internal_offset(), target);
4551   }
4552 
4553   // optional int64 len = 4;
4554   if (cached_has_bits & 0x00000008u) {
4555     target = stream->EnsureSpace(target);
4556     target = ::_pbi::WireFormatLite::WriteInt64ToArray(4, this->_internal_len(), target);
4557   }
4558 
4559   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
4560     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
4561         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
4562   }
4563   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.Ext4CollapseRangeFtraceEvent)
4564   return target;
4565 }
4566 
ByteSizeLong() const4567 size_t Ext4CollapseRangeFtraceEvent::ByteSizeLong() const {
4568 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.Ext4CollapseRangeFtraceEvent)
4569   size_t total_size = 0;
4570 
4571   ::uint32_t cached_has_bits = 0;
4572   // Prevent compiler warnings about cached_has_bits being unused
4573   (void) cached_has_bits;
4574 
4575   cached_has_bits = _impl_._has_bits_[0];
4576   if (cached_has_bits & 0x0000000fu) {
4577     // optional uint64 dev = 1;
4578     if (cached_has_bits & 0x00000001u) {
4579       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
4580     }
4581 
4582     // optional uint64 ino = 2;
4583     if (cached_has_bits & 0x00000002u) {
4584       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ino());
4585     }
4586 
4587     // optional int64 offset = 3;
4588     if (cached_has_bits & 0x00000004u) {
4589       total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_offset());
4590     }
4591 
4592     // optional int64 len = 4;
4593     if (cached_has_bits & 0x00000008u) {
4594       total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_len());
4595     }
4596 
4597   }
4598   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
4599     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
4600   }
4601   int cached_size = ::_pbi::ToCachedSize(total_size);
4602   SetCachedSize(cached_size);
4603   return total_size;
4604 }
4605 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)4606 void Ext4CollapseRangeFtraceEvent::CheckTypeAndMergeFrom(
4607     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
4608   MergeFrom(*::_pbi::DownCast<const Ext4CollapseRangeFtraceEvent*>(
4609       &from));
4610 }
4611 
MergeFrom(const Ext4CollapseRangeFtraceEvent & from)4612 void Ext4CollapseRangeFtraceEvent::MergeFrom(const Ext4CollapseRangeFtraceEvent& from) {
4613   Ext4CollapseRangeFtraceEvent* const _this = this;
4614   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.Ext4CollapseRangeFtraceEvent)
4615   GOOGLE_DCHECK_NE(&from, _this);
4616   ::uint32_t cached_has_bits = 0;
4617   (void) cached_has_bits;
4618 
4619   cached_has_bits = from._impl_._has_bits_[0];
4620   if (cached_has_bits & 0x0000000fu) {
4621     if (cached_has_bits & 0x00000001u) {
4622       _this->_impl_.dev_ = from._impl_.dev_;
4623     }
4624     if (cached_has_bits & 0x00000002u) {
4625       _this->_impl_.ino_ = from._impl_.ino_;
4626     }
4627     if (cached_has_bits & 0x00000004u) {
4628       _this->_impl_.offset_ = from._impl_.offset_;
4629     }
4630     if (cached_has_bits & 0x00000008u) {
4631       _this->_impl_.len_ = from._impl_.len_;
4632     }
4633     _this->_impl_._has_bits_[0] |= cached_has_bits;
4634   }
4635   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
4636 }
4637 
CopyFrom(const Ext4CollapseRangeFtraceEvent & from)4638 void Ext4CollapseRangeFtraceEvent::CopyFrom(const Ext4CollapseRangeFtraceEvent& from) {
4639 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.Ext4CollapseRangeFtraceEvent)
4640   if (&from == this) return;
4641   Clear();
4642   MergeFrom(from);
4643 }
4644 
IsInitialized() const4645 bool Ext4CollapseRangeFtraceEvent::IsInitialized() const {
4646   return true;
4647 }
4648 
InternalSwap(Ext4CollapseRangeFtraceEvent * other)4649 void Ext4CollapseRangeFtraceEvent::InternalSwap(Ext4CollapseRangeFtraceEvent* other) {
4650   using std::swap;
4651   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
4652   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
4653   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
4654       PROTOBUF_FIELD_OFFSET(Ext4CollapseRangeFtraceEvent, _impl_.len_)
4655       + sizeof(Ext4CollapseRangeFtraceEvent::_impl_.len_)  // NOLINT
4656       - PROTOBUF_FIELD_OFFSET(Ext4CollapseRangeFtraceEvent, _impl_.dev_)>(
4657           reinterpret_cast<char*>(&_impl_.dev_),
4658           reinterpret_cast<char*>(&other->_impl_.dev_));
4659 }
4660 
GetTypeName() const4661 std::string Ext4CollapseRangeFtraceEvent::GetTypeName() const {
4662   return "perfetto.protos.Ext4CollapseRangeFtraceEvent";
4663 }
4664 
4665 
4666 // ===================================================================
4667 
4668 class Ext4DaReleaseSpaceFtraceEvent::_Internal {
4669  public:
4670   using HasBits = decltype(std::declval<Ext4DaReleaseSpaceFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)4671   static void set_has_dev(HasBits* has_bits) {
4672     (*has_bits)[0] |= 1u;
4673   }
set_has_ino(HasBits * has_bits)4674   static void set_has_ino(HasBits* has_bits) {
4675     (*has_bits)[0] |= 2u;
4676   }
set_has_i_blocks(HasBits * has_bits)4677   static void set_has_i_blocks(HasBits* has_bits) {
4678     (*has_bits)[0] |= 4u;
4679   }
set_has_freed_blocks(HasBits * has_bits)4680   static void set_has_freed_blocks(HasBits* has_bits) {
4681     (*has_bits)[0] |= 8u;
4682   }
set_has_reserved_data_blocks(HasBits * has_bits)4683   static void set_has_reserved_data_blocks(HasBits* has_bits) {
4684     (*has_bits)[0] |= 16u;
4685   }
set_has_reserved_meta_blocks(HasBits * has_bits)4686   static void set_has_reserved_meta_blocks(HasBits* has_bits) {
4687     (*has_bits)[0] |= 32u;
4688   }
set_has_allocated_meta_blocks(HasBits * has_bits)4689   static void set_has_allocated_meta_blocks(HasBits* has_bits) {
4690     (*has_bits)[0] |= 64u;
4691   }
set_has_mode(HasBits * has_bits)4692   static void set_has_mode(HasBits* has_bits) {
4693     (*has_bits)[0] |= 128u;
4694   }
4695 };
4696 
Ext4DaReleaseSpaceFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)4697 Ext4DaReleaseSpaceFtraceEvent::Ext4DaReleaseSpaceFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
4698                          bool is_message_owned)
4699   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
4700   SharedCtor(arena, is_message_owned);
4701   // @@protoc_insertion_point(arena_constructor:perfetto.protos.Ext4DaReleaseSpaceFtraceEvent)
4702 }
Ext4DaReleaseSpaceFtraceEvent(const Ext4DaReleaseSpaceFtraceEvent & from)4703 Ext4DaReleaseSpaceFtraceEvent::Ext4DaReleaseSpaceFtraceEvent(const Ext4DaReleaseSpaceFtraceEvent& from)
4704   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
4705   Ext4DaReleaseSpaceFtraceEvent* const _this = this; (void)_this;
4706   new (&_impl_) Impl_{
4707       decltype(_impl_._has_bits_){from._impl_._has_bits_}
4708     , /*decltype(_impl_._cached_size_)*/{}
4709     , decltype(_impl_.dev_){}
4710     , decltype(_impl_.ino_){}
4711     , decltype(_impl_.i_blocks_){}
4712     , decltype(_impl_.freed_blocks_){}
4713     , decltype(_impl_.reserved_data_blocks_){}
4714     , decltype(_impl_.reserved_meta_blocks_){}
4715     , decltype(_impl_.allocated_meta_blocks_){}
4716     , decltype(_impl_.mode_){}};
4717 
4718   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
4719   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
4720     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.mode_) -
4721     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.mode_));
4722   // @@protoc_insertion_point(copy_constructor:perfetto.protos.Ext4DaReleaseSpaceFtraceEvent)
4723 }
4724 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)4725 inline void Ext4DaReleaseSpaceFtraceEvent::SharedCtor(
4726     ::_pb::Arena* arena, bool is_message_owned) {
4727   (void)arena;
4728   (void)is_message_owned;
4729   new (&_impl_) Impl_{
4730       decltype(_impl_._has_bits_){}
4731     , /*decltype(_impl_._cached_size_)*/{}
4732     , decltype(_impl_.dev_){::uint64_t{0u}}
4733     , decltype(_impl_.ino_){::uint64_t{0u}}
4734     , decltype(_impl_.i_blocks_){::uint64_t{0u}}
4735     , decltype(_impl_.freed_blocks_){0}
4736     , decltype(_impl_.reserved_data_blocks_){0}
4737     , decltype(_impl_.reserved_meta_blocks_){0}
4738     , decltype(_impl_.allocated_meta_blocks_){0}
4739     , decltype(_impl_.mode_){0u}
4740   };
4741 }
4742 
~Ext4DaReleaseSpaceFtraceEvent()4743 Ext4DaReleaseSpaceFtraceEvent::~Ext4DaReleaseSpaceFtraceEvent() {
4744   // @@protoc_insertion_point(destructor:perfetto.protos.Ext4DaReleaseSpaceFtraceEvent)
4745   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
4746   (void)arena;
4747     return;
4748   }
4749   SharedDtor();
4750 }
4751 
SharedDtor()4752 inline void Ext4DaReleaseSpaceFtraceEvent::SharedDtor() {
4753   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
4754 }
4755 
SetCachedSize(int size) const4756 void Ext4DaReleaseSpaceFtraceEvent::SetCachedSize(int size) const {
4757   _impl_._cached_size_.Set(size);
4758 }
4759 
Clear()4760 void Ext4DaReleaseSpaceFtraceEvent::Clear() {
4761 // @@protoc_insertion_point(message_clear_start:perfetto.protos.Ext4DaReleaseSpaceFtraceEvent)
4762   ::uint32_t cached_has_bits = 0;
4763   // Prevent compiler warnings about cached_has_bits being unused
4764   (void) cached_has_bits;
4765 
4766   cached_has_bits = _impl_._has_bits_[0];
4767   if (cached_has_bits & 0x000000ffu) {
4768     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
4769         reinterpret_cast<char*>(&_impl_.mode_) -
4770         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.mode_));
4771   }
4772   _impl_._has_bits_.Clear();
4773   _internal_metadata_.Clear<std::string>();
4774 }
4775 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)4776 const char* Ext4DaReleaseSpaceFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
4777 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
4778   _Internal::HasBits has_bits{};
4779   while (!ctx->Done(&ptr)) {
4780     ::uint32_t tag;
4781     ptr = ::_pbi::ReadTag(ptr, &tag);
4782     switch (tag >> 3) {
4783       // optional uint64 dev = 1;
4784       case 1:
4785         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
4786           _Internal::set_has_dev(&has_bits);
4787           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
4788           CHK_(ptr);
4789         } else {
4790           goto handle_unusual;
4791         }
4792         continue;
4793       // optional uint64 ino = 2;
4794       case 2:
4795         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
4796           _Internal::set_has_ino(&has_bits);
4797           _impl_.ino_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
4798           CHK_(ptr);
4799         } else {
4800           goto handle_unusual;
4801         }
4802         continue;
4803       // optional uint64 i_blocks = 3;
4804       case 3:
4805         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
4806           _Internal::set_has_i_blocks(&has_bits);
4807           _impl_.i_blocks_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
4808           CHK_(ptr);
4809         } else {
4810           goto handle_unusual;
4811         }
4812         continue;
4813       // optional int32 freed_blocks = 4;
4814       case 4:
4815         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
4816           _Internal::set_has_freed_blocks(&has_bits);
4817           _impl_.freed_blocks_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
4818           CHK_(ptr);
4819         } else {
4820           goto handle_unusual;
4821         }
4822         continue;
4823       // optional int32 reserved_data_blocks = 5;
4824       case 5:
4825         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) {
4826           _Internal::set_has_reserved_data_blocks(&has_bits);
4827           _impl_.reserved_data_blocks_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
4828           CHK_(ptr);
4829         } else {
4830           goto handle_unusual;
4831         }
4832         continue;
4833       // optional int32 reserved_meta_blocks = 6;
4834       case 6:
4835         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 48)) {
4836           _Internal::set_has_reserved_meta_blocks(&has_bits);
4837           _impl_.reserved_meta_blocks_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
4838           CHK_(ptr);
4839         } else {
4840           goto handle_unusual;
4841         }
4842         continue;
4843       // optional int32 allocated_meta_blocks = 7;
4844       case 7:
4845         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 56)) {
4846           _Internal::set_has_allocated_meta_blocks(&has_bits);
4847           _impl_.allocated_meta_blocks_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
4848           CHK_(ptr);
4849         } else {
4850           goto handle_unusual;
4851         }
4852         continue;
4853       // optional uint32 mode = 8;
4854       case 8:
4855         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 64)) {
4856           _Internal::set_has_mode(&has_bits);
4857           _impl_.mode_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
4858           CHK_(ptr);
4859         } else {
4860           goto handle_unusual;
4861         }
4862         continue;
4863       default:
4864         goto handle_unusual;
4865     }  // switch
4866   handle_unusual:
4867     if ((tag == 0) || ((tag & 7) == 4)) {
4868       CHK_(ptr);
4869       ctx->SetLastTag(tag);
4870       goto message_done;
4871     }
4872     ptr = UnknownFieldParse(
4873         tag,
4874         _internal_metadata_.mutable_unknown_fields<std::string>(),
4875         ptr, ctx);
4876     CHK_(ptr != nullptr);
4877   }  // while
4878 message_done:
4879   _impl_._has_bits_.Or(has_bits);
4880   return ptr;
4881 failure:
4882   ptr = nullptr;
4883   goto message_done;
4884 #undef CHK_
4885 }
4886 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const4887 ::uint8_t* Ext4DaReleaseSpaceFtraceEvent::_InternalSerialize(
4888     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
4889   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.Ext4DaReleaseSpaceFtraceEvent)
4890   ::uint32_t cached_has_bits = 0;
4891   (void) cached_has_bits;
4892 
4893   cached_has_bits = _impl_._has_bits_[0];
4894   // optional uint64 dev = 1;
4895   if (cached_has_bits & 0x00000001u) {
4896     target = stream->EnsureSpace(target);
4897     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
4898   }
4899 
4900   // optional uint64 ino = 2;
4901   if (cached_has_bits & 0x00000002u) {
4902     target = stream->EnsureSpace(target);
4903     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_ino(), target);
4904   }
4905 
4906   // optional uint64 i_blocks = 3;
4907   if (cached_has_bits & 0x00000004u) {
4908     target = stream->EnsureSpace(target);
4909     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(3, this->_internal_i_blocks(), target);
4910   }
4911 
4912   // optional int32 freed_blocks = 4;
4913   if (cached_has_bits & 0x00000008u) {
4914     target = stream->EnsureSpace(target);
4915     target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_freed_blocks(), target);
4916   }
4917 
4918   // optional int32 reserved_data_blocks = 5;
4919   if (cached_has_bits & 0x00000010u) {
4920     target = stream->EnsureSpace(target);
4921     target = ::_pbi::WireFormatLite::WriteInt32ToArray(5, this->_internal_reserved_data_blocks(), target);
4922   }
4923 
4924   // optional int32 reserved_meta_blocks = 6;
4925   if (cached_has_bits & 0x00000020u) {
4926     target = stream->EnsureSpace(target);
4927     target = ::_pbi::WireFormatLite::WriteInt32ToArray(6, this->_internal_reserved_meta_blocks(), target);
4928   }
4929 
4930   // optional int32 allocated_meta_blocks = 7;
4931   if (cached_has_bits & 0x00000040u) {
4932     target = stream->EnsureSpace(target);
4933     target = ::_pbi::WireFormatLite::WriteInt32ToArray(7, this->_internal_allocated_meta_blocks(), target);
4934   }
4935 
4936   // optional uint32 mode = 8;
4937   if (cached_has_bits & 0x00000080u) {
4938     target = stream->EnsureSpace(target);
4939     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(8, this->_internal_mode(), target);
4940   }
4941 
4942   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
4943     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
4944         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
4945   }
4946   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.Ext4DaReleaseSpaceFtraceEvent)
4947   return target;
4948 }
4949 
ByteSizeLong() const4950 size_t Ext4DaReleaseSpaceFtraceEvent::ByteSizeLong() const {
4951 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.Ext4DaReleaseSpaceFtraceEvent)
4952   size_t total_size = 0;
4953 
4954   ::uint32_t cached_has_bits = 0;
4955   // Prevent compiler warnings about cached_has_bits being unused
4956   (void) cached_has_bits;
4957 
4958   cached_has_bits = _impl_._has_bits_[0];
4959   if (cached_has_bits & 0x000000ffu) {
4960     // optional uint64 dev = 1;
4961     if (cached_has_bits & 0x00000001u) {
4962       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
4963     }
4964 
4965     // optional uint64 ino = 2;
4966     if (cached_has_bits & 0x00000002u) {
4967       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ino());
4968     }
4969 
4970     // optional uint64 i_blocks = 3;
4971     if (cached_has_bits & 0x00000004u) {
4972       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_i_blocks());
4973     }
4974 
4975     // optional int32 freed_blocks = 4;
4976     if (cached_has_bits & 0x00000008u) {
4977       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_freed_blocks());
4978     }
4979 
4980     // optional int32 reserved_data_blocks = 5;
4981     if (cached_has_bits & 0x00000010u) {
4982       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_reserved_data_blocks());
4983     }
4984 
4985     // optional int32 reserved_meta_blocks = 6;
4986     if (cached_has_bits & 0x00000020u) {
4987       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_reserved_meta_blocks());
4988     }
4989 
4990     // optional int32 allocated_meta_blocks = 7;
4991     if (cached_has_bits & 0x00000040u) {
4992       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_allocated_meta_blocks());
4993     }
4994 
4995     // optional uint32 mode = 8;
4996     if (cached_has_bits & 0x00000080u) {
4997       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_mode());
4998     }
4999 
5000   }
5001   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
5002     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
5003   }
5004   int cached_size = ::_pbi::ToCachedSize(total_size);
5005   SetCachedSize(cached_size);
5006   return total_size;
5007 }
5008 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)5009 void Ext4DaReleaseSpaceFtraceEvent::CheckTypeAndMergeFrom(
5010     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
5011   MergeFrom(*::_pbi::DownCast<const Ext4DaReleaseSpaceFtraceEvent*>(
5012       &from));
5013 }
5014 
MergeFrom(const Ext4DaReleaseSpaceFtraceEvent & from)5015 void Ext4DaReleaseSpaceFtraceEvent::MergeFrom(const Ext4DaReleaseSpaceFtraceEvent& from) {
5016   Ext4DaReleaseSpaceFtraceEvent* const _this = this;
5017   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.Ext4DaReleaseSpaceFtraceEvent)
5018   GOOGLE_DCHECK_NE(&from, _this);
5019   ::uint32_t cached_has_bits = 0;
5020   (void) cached_has_bits;
5021 
5022   cached_has_bits = from._impl_._has_bits_[0];
5023   if (cached_has_bits & 0x000000ffu) {
5024     if (cached_has_bits & 0x00000001u) {
5025       _this->_impl_.dev_ = from._impl_.dev_;
5026     }
5027     if (cached_has_bits & 0x00000002u) {
5028       _this->_impl_.ino_ = from._impl_.ino_;
5029     }
5030     if (cached_has_bits & 0x00000004u) {
5031       _this->_impl_.i_blocks_ = from._impl_.i_blocks_;
5032     }
5033     if (cached_has_bits & 0x00000008u) {
5034       _this->_impl_.freed_blocks_ = from._impl_.freed_blocks_;
5035     }
5036     if (cached_has_bits & 0x00000010u) {
5037       _this->_impl_.reserved_data_blocks_ = from._impl_.reserved_data_blocks_;
5038     }
5039     if (cached_has_bits & 0x00000020u) {
5040       _this->_impl_.reserved_meta_blocks_ = from._impl_.reserved_meta_blocks_;
5041     }
5042     if (cached_has_bits & 0x00000040u) {
5043       _this->_impl_.allocated_meta_blocks_ = from._impl_.allocated_meta_blocks_;
5044     }
5045     if (cached_has_bits & 0x00000080u) {
5046       _this->_impl_.mode_ = from._impl_.mode_;
5047     }
5048     _this->_impl_._has_bits_[0] |= cached_has_bits;
5049   }
5050   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
5051 }
5052 
CopyFrom(const Ext4DaReleaseSpaceFtraceEvent & from)5053 void Ext4DaReleaseSpaceFtraceEvent::CopyFrom(const Ext4DaReleaseSpaceFtraceEvent& from) {
5054 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.Ext4DaReleaseSpaceFtraceEvent)
5055   if (&from == this) return;
5056   Clear();
5057   MergeFrom(from);
5058 }
5059 
IsInitialized() const5060 bool Ext4DaReleaseSpaceFtraceEvent::IsInitialized() const {
5061   return true;
5062 }
5063 
InternalSwap(Ext4DaReleaseSpaceFtraceEvent * other)5064 void Ext4DaReleaseSpaceFtraceEvent::InternalSwap(Ext4DaReleaseSpaceFtraceEvent* other) {
5065   using std::swap;
5066   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
5067   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
5068   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
5069       PROTOBUF_FIELD_OFFSET(Ext4DaReleaseSpaceFtraceEvent, _impl_.mode_)
5070       + sizeof(Ext4DaReleaseSpaceFtraceEvent::_impl_.mode_)  // NOLINT
5071       - PROTOBUF_FIELD_OFFSET(Ext4DaReleaseSpaceFtraceEvent, _impl_.dev_)>(
5072           reinterpret_cast<char*>(&_impl_.dev_),
5073           reinterpret_cast<char*>(&other->_impl_.dev_));
5074 }
5075 
GetTypeName() const5076 std::string Ext4DaReleaseSpaceFtraceEvent::GetTypeName() const {
5077   return "perfetto.protos.Ext4DaReleaseSpaceFtraceEvent";
5078 }
5079 
5080 
5081 // ===================================================================
5082 
5083 class Ext4DaReserveSpaceFtraceEvent::_Internal {
5084  public:
5085   using HasBits = decltype(std::declval<Ext4DaReserveSpaceFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)5086   static void set_has_dev(HasBits* has_bits) {
5087     (*has_bits)[0] |= 1u;
5088   }
set_has_ino(HasBits * has_bits)5089   static void set_has_ino(HasBits* has_bits) {
5090     (*has_bits)[0] |= 2u;
5091   }
set_has_i_blocks(HasBits * has_bits)5092   static void set_has_i_blocks(HasBits* has_bits) {
5093     (*has_bits)[0] |= 4u;
5094   }
set_has_reserved_data_blocks(HasBits * has_bits)5095   static void set_has_reserved_data_blocks(HasBits* has_bits) {
5096     (*has_bits)[0] |= 8u;
5097   }
set_has_reserved_meta_blocks(HasBits * has_bits)5098   static void set_has_reserved_meta_blocks(HasBits* has_bits) {
5099     (*has_bits)[0] |= 16u;
5100   }
set_has_mode(HasBits * has_bits)5101   static void set_has_mode(HasBits* has_bits) {
5102     (*has_bits)[0] |= 32u;
5103   }
set_has_md_needed(HasBits * has_bits)5104   static void set_has_md_needed(HasBits* has_bits) {
5105     (*has_bits)[0] |= 64u;
5106   }
5107 };
5108 
Ext4DaReserveSpaceFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)5109 Ext4DaReserveSpaceFtraceEvent::Ext4DaReserveSpaceFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
5110                          bool is_message_owned)
5111   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
5112   SharedCtor(arena, is_message_owned);
5113   // @@protoc_insertion_point(arena_constructor:perfetto.protos.Ext4DaReserveSpaceFtraceEvent)
5114 }
Ext4DaReserveSpaceFtraceEvent(const Ext4DaReserveSpaceFtraceEvent & from)5115 Ext4DaReserveSpaceFtraceEvent::Ext4DaReserveSpaceFtraceEvent(const Ext4DaReserveSpaceFtraceEvent& from)
5116   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
5117   Ext4DaReserveSpaceFtraceEvent* const _this = this; (void)_this;
5118   new (&_impl_) Impl_{
5119       decltype(_impl_._has_bits_){from._impl_._has_bits_}
5120     , /*decltype(_impl_._cached_size_)*/{}
5121     , decltype(_impl_.dev_){}
5122     , decltype(_impl_.ino_){}
5123     , decltype(_impl_.i_blocks_){}
5124     , decltype(_impl_.reserved_data_blocks_){}
5125     , decltype(_impl_.reserved_meta_blocks_){}
5126     , decltype(_impl_.mode_){}
5127     , decltype(_impl_.md_needed_){}};
5128 
5129   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
5130   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
5131     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.md_needed_) -
5132     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.md_needed_));
5133   // @@protoc_insertion_point(copy_constructor:perfetto.protos.Ext4DaReserveSpaceFtraceEvent)
5134 }
5135 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)5136 inline void Ext4DaReserveSpaceFtraceEvent::SharedCtor(
5137     ::_pb::Arena* arena, bool is_message_owned) {
5138   (void)arena;
5139   (void)is_message_owned;
5140   new (&_impl_) Impl_{
5141       decltype(_impl_._has_bits_){}
5142     , /*decltype(_impl_._cached_size_)*/{}
5143     , decltype(_impl_.dev_){::uint64_t{0u}}
5144     , decltype(_impl_.ino_){::uint64_t{0u}}
5145     , decltype(_impl_.i_blocks_){::uint64_t{0u}}
5146     , decltype(_impl_.reserved_data_blocks_){0}
5147     , decltype(_impl_.reserved_meta_blocks_){0}
5148     , decltype(_impl_.mode_){0u}
5149     , decltype(_impl_.md_needed_){0}
5150   };
5151 }
5152 
~Ext4DaReserveSpaceFtraceEvent()5153 Ext4DaReserveSpaceFtraceEvent::~Ext4DaReserveSpaceFtraceEvent() {
5154   // @@protoc_insertion_point(destructor:perfetto.protos.Ext4DaReserveSpaceFtraceEvent)
5155   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
5156   (void)arena;
5157     return;
5158   }
5159   SharedDtor();
5160 }
5161 
SharedDtor()5162 inline void Ext4DaReserveSpaceFtraceEvent::SharedDtor() {
5163   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
5164 }
5165 
SetCachedSize(int size) const5166 void Ext4DaReserveSpaceFtraceEvent::SetCachedSize(int size) const {
5167   _impl_._cached_size_.Set(size);
5168 }
5169 
Clear()5170 void Ext4DaReserveSpaceFtraceEvent::Clear() {
5171 // @@protoc_insertion_point(message_clear_start:perfetto.protos.Ext4DaReserveSpaceFtraceEvent)
5172   ::uint32_t cached_has_bits = 0;
5173   // Prevent compiler warnings about cached_has_bits being unused
5174   (void) cached_has_bits;
5175 
5176   cached_has_bits = _impl_._has_bits_[0];
5177   if (cached_has_bits & 0x0000007fu) {
5178     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
5179         reinterpret_cast<char*>(&_impl_.md_needed_) -
5180         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.md_needed_));
5181   }
5182   _impl_._has_bits_.Clear();
5183   _internal_metadata_.Clear<std::string>();
5184 }
5185 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)5186 const char* Ext4DaReserveSpaceFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
5187 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
5188   _Internal::HasBits has_bits{};
5189   while (!ctx->Done(&ptr)) {
5190     ::uint32_t tag;
5191     ptr = ::_pbi::ReadTag(ptr, &tag);
5192     switch (tag >> 3) {
5193       // optional uint64 dev = 1;
5194       case 1:
5195         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
5196           _Internal::set_has_dev(&has_bits);
5197           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
5198           CHK_(ptr);
5199         } else {
5200           goto handle_unusual;
5201         }
5202         continue;
5203       // optional uint64 ino = 2;
5204       case 2:
5205         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
5206           _Internal::set_has_ino(&has_bits);
5207           _impl_.ino_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
5208           CHK_(ptr);
5209         } else {
5210           goto handle_unusual;
5211         }
5212         continue;
5213       // optional uint64 i_blocks = 3;
5214       case 3:
5215         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
5216           _Internal::set_has_i_blocks(&has_bits);
5217           _impl_.i_blocks_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
5218           CHK_(ptr);
5219         } else {
5220           goto handle_unusual;
5221         }
5222         continue;
5223       // optional int32 reserved_data_blocks = 4;
5224       case 4:
5225         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
5226           _Internal::set_has_reserved_data_blocks(&has_bits);
5227           _impl_.reserved_data_blocks_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
5228           CHK_(ptr);
5229         } else {
5230           goto handle_unusual;
5231         }
5232         continue;
5233       // optional int32 reserved_meta_blocks = 5;
5234       case 5:
5235         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) {
5236           _Internal::set_has_reserved_meta_blocks(&has_bits);
5237           _impl_.reserved_meta_blocks_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
5238           CHK_(ptr);
5239         } else {
5240           goto handle_unusual;
5241         }
5242         continue;
5243       // optional uint32 mode = 6;
5244       case 6:
5245         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 48)) {
5246           _Internal::set_has_mode(&has_bits);
5247           _impl_.mode_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
5248           CHK_(ptr);
5249         } else {
5250           goto handle_unusual;
5251         }
5252         continue;
5253       // optional int32 md_needed = 7;
5254       case 7:
5255         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 56)) {
5256           _Internal::set_has_md_needed(&has_bits);
5257           _impl_.md_needed_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
5258           CHK_(ptr);
5259         } else {
5260           goto handle_unusual;
5261         }
5262         continue;
5263       default:
5264         goto handle_unusual;
5265     }  // switch
5266   handle_unusual:
5267     if ((tag == 0) || ((tag & 7) == 4)) {
5268       CHK_(ptr);
5269       ctx->SetLastTag(tag);
5270       goto message_done;
5271     }
5272     ptr = UnknownFieldParse(
5273         tag,
5274         _internal_metadata_.mutable_unknown_fields<std::string>(),
5275         ptr, ctx);
5276     CHK_(ptr != nullptr);
5277   }  // while
5278 message_done:
5279   _impl_._has_bits_.Or(has_bits);
5280   return ptr;
5281 failure:
5282   ptr = nullptr;
5283   goto message_done;
5284 #undef CHK_
5285 }
5286 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const5287 ::uint8_t* Ext4DaReserveSpaceFtraceEvent::_InternalSerialize(
5288     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
5289   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.Ext4DaReserveSpaceFtraceEvent)
5290   ::uint32_t cached_has_bits = 0;
5291   (void) cached_has_bits;
5292 
5293   cached_has_bits = _impl_._has_bits_[0];
5294   // optional uint64 dev = 1;
5295   if (cached_has_bits & 0x00000001u) {
5296     target = stream->EnsureSpace(target);
5297     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
5298   }
5299 
5300   // optional uint64 ino = 2;
5301   if (cached_has_bits & 0x00000002u) {
5302     target = stream->EnsureSpace(target);
5303     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_ino(), target);
5304   }
5305 
5306   // optional uint64 i_blocks = 3;
5307   if (cached_has_bits & 0x00000004u) {
5308     target = stream->EnsureSpace(target);
5309     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(3, this->_internal_i_blocks(), target);
5310   }
5311 
5312   // optional int32 reserved_data_blocks = 4;
5313   if (cached_has_bits & 0x00000008u) {
5314     target = stream->EnsureSpace(target);
5315     target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_reserved_data_blocks(), target);
5316   }
5317 
5318   // optional int32 reserved_meta_blocks = 5;
5319   if (cached_has_bits & 0x00000010u) {
5320     target = stream->EnsureSpace(target);
5321     target = ::_pbi::WireFormatLite::WriteInt32ToArray(5, this->_internal_reserved_meta_blocks(), target);
5322   }
5323 
5324   // optional uint32 mode = 6;
5325   if (cached_has_bits & 0x00000020u) {
5326     target = stream->EnsureSpace(target);
5327     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_mode(), target);
5328   }
5329 
5330   // optional int32 md_needed = 7;
5331   if (cached_has_bits & 0x00000040u) {
5332     target = stream->EnsureSpace(target);
5333     target = ::_pbi::WireFormatLite::WriteInt32ToArray(7, this->_internal_md_needed(), target);
5334   }
5335 
5336   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
5337     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
5338         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
5339   }
5340   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.Ext4DaReserveSpaceFtraceEvent)
5341   return target;
5342 }
5343 
ByteSizeLong() const5344 size_t Ext4DaReserveSpaceFtraceEvent::ByteSizeLong() const {
5345 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.Ext4DaReserveSpaceFtraceEvent)
5346   size_t total_size = 0;
5347 
5348   ::uint32_t cached_has_bits = 0;
5349   // Prevent compiler warnings about cached_has_bits being unused
5350   (void) cached_has_bits;
5351 
5352   cached_has_bits = _impl_._has_bits_[0];
5353   if (cached_has_bits & 0x0000007fu) {
5354     // optional uint64 dev = 1;
5355     if (cached_has_bits & 0x00000001u) {
5356       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
5357     }
5358 
5359     // optional uint64 ino = 2;
5360     if (cached_has_bits & 0x00000002u) {
5361       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ino());
5362     }
5363 
5364     // optional uint64 i_blocks = 3;
5365     if (cached_has_bits & 0x00000004u) {
5366       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_i_blocks());
5367     }
5368 
5369     // optional int32 reserved_data_blocks = 4;
5370     if (cached_has_bits & 0x00000008u) {
5371       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_reserved_data_blocks());
5372     }
5373 
5374     // optional int32 reserved_meta_blocks = 5;
5375     if (cached_has_bits & 0x00000010u) {
5376       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_reserved_meta_blocks());
5377     }
5378 
5379     // optional uint32 mode = 6;
5380     if (cached_has_bits & 0x00000020u) {
5381       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_mode());
5382     }
5383 
5384     // optional int32 md_needed = 7;
5385     if (cached_has_bits & 0x00000040u) {
5386       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_md_needed());
5387     }
5388 
5389   }
5390   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
5391     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
5392   }
5393   int cached_size = ::_pbi::ToCachedSize(total_size);
5394   SetCachedSize(cached_size);
5395   return total_size;
5396 }
5397 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)5398 void Ext4DaReserveSpaceFtraceEvent::CheckTypeAndMergeFrom(
5399     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
5400   MergeFrom(*::_pbi::DownCast<const Ext4DaReserveSpaceFtraceEvent*>(
5401       &from));
5402 }
5403 
MergeFrom(const Ext4DaReserveSpaceFtraceEvent & from)5404 void Ext4DaReserveSpaceFtraceEvent::MergeFrom(const Ext4DaReserveSpaceFtraceEvent& from) {
5405   Ext4DaReserveSpaceFtraceEvent* const _this = this;
5406   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.Ext4DaReserveSpaceFtraceEvent)
5407   GOOGLE_DCHECK_NE(&from, _this);
5408   ::uint32_t cached_has_bits = 0;
5409   (void) cached_has_bits;
5410 
5411   cached_has_bits = from._impl_._has_bits_[0];
5412   if (cached_has_bits & 0x0000007fu) {
5413     if (cached_has_bits & 0x00000001u) {
5414       _this->_impl_.dev_ = from._impl_.dev_;
5415     }
5416     if (cached_has_bits & 0x00000002u) {
5417       _this->_impl_.ino_ = from._impl_.ino_;
5418     }
5419     if (cached_has_bits & 0x00000004u) {
5420       _this->_impl_.i_blocks_ = from._impl_.i_blocks_;
5421     }
5422     if (cached_has_bits & 0x00000008u) {
5423       _this->_impl_.reserved_data_blocks_ = from._impl_.reserved_data_blocks_;
5424     }
5425     if (cached_has_bits & 0x00000010u) {
5426       _this->_impl_.reserved_meta_blocks_ = from._impl_.reserved_meta_blocks_;
5427     }
5428     if (cached_has_bits & 0x00000020u) {
5429       _this->_impl_.mode_ = from._impl_.mode_;
5430     }
5431     if (cached_has_bits & 0x00000040u) {
5432       _this->_impl_.md_needed_ = from._impl_.md_needed_;
5433     }
5434     _this->_impl_._has_bits_[0] |= cached_has_bits;
5435   }
5436   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
5437 }
5438 
CopyFrom(const Ext4DaReserveSpaceFtraceEvent & from)5439 void Ext4DaReserveSpaceFtraceEvent::CopyFrom(const Ext4DaReserveSpaceFtraceEvent& from) {
5440 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.Ext4DaReserveSpaceFtraceEvent)
5441   if (&from == this) return;
5442   Clear();
5443   MergeFrom(from);
5444 }
5445 
IsInitialized() const5446 bool Ext4DaReserveSpaceFtraceEvent::IsInitialized() const {
5447   return true;
5448 }
5449 
InternalSwap(Ext4DaReserveSpaceFtraceEvent * other)5450 void Ext4DaReserveSpaceFtraceEvent::InternalSwap(Ext4DaReserveSpaceFtraceEvent* other) {
5451   using std::swap;
5452   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
5453   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
5454   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
5455       PROTOBUF_FIELD_OFFSET(Ext4DaReserveSpaceFtraceEvent, _impl_.md_needed_)
5456       + sizeof(Ext4DaReserveSpaceFtraceEvent::_impl_.md_needed_)  // NOLINT
5457       - PROTOBUF_FIELD_OFFSET(Ext4DaReserveSpaceFtraceEvent, _impl_.dev_)>(
5458           reinterpret_cast<char*>(&_impl_.dev_),
5459           reinterpret_cast<char*>(&other->_impl_.dev_));
5460 }
5461 
GetTypeName() const5462 std::string Ext4DaReserveSpaceFtraceEvent::GetTypeName() const {
5463   return "perfetto.protos.Ext4DaReserveSpaceFtraceEvent";
5464 }
5465 
5466 
5467 // ===================================================================
5468 
5469 class Ext4DaUpdateReserveSpaceFtraceEvent::_Internal {
5470  public:
5471   using HasBits = decltype(std::declval<Ext4DaUpdateReserveSpaceFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)5472   static void set_has_dev(HasBits* has_bits) {
5473     (*has_bits)[0] |= 1u;
5474   }
set_has_ino(HasBits * has_bits)5475   static void set_has_ino(HasBits* has_bits) {
5476     (*has_bits)[0] |= 2u;
5477   }
set_has_i_blocks(HasBits * has_bits)5478   static void set_has_i_blocks(HasBits* has_bits) {
5479     (*has_bits)[0] |= 4u;
5480   }
set_has_used_blocks(HasBits * has_bits)5481   static void set_has_used_blocks(HasBits* has_bits) {
5482     (*has_bits)[0] |= 8u;
5483   }
set_has_reserved_data_blocks(HasBits * has_bits)5484   static void set_has_reserved_data_blocks(HasBits* has_bits) {
5485     (*has_bits)[0] |= 16u;
5486   }
set_has_reserved_meta_blocks(HasBits * has_bits)5487   static void set_has_reserved_meta_blocks(HasBits* has_bits) {
5488     (*has_bits)[0] |= 32u;
5489   }
set_has_allocated_meta_blocks(HasBits * has_bits)5490   static void set_has_allocated_meta_blocks(HasBits* has_bits) {
5491     (*has_bits)[0] |= 64u;
5492   }
set_has_quota_claim(HasBits * has_bits)5493   static void set_has_quota_claim(HasBits* has_bits) {
5494     (*has_bits)[0] |= 128u;
5495   }
set_has_mode(HasBits * has_bits)5496   static void set_has_mode(HasBits* has_bits) {
5497     (*has_bits)[0] |= 256u;
5498   }
5499 };
5500 
Ext4DaUpdateReserveSpaceFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)5501 Ext4DaUpdateReserveSpaceFtraceEvent::Ext4DaUpdateReserveSpaceFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
5502                          bool is_message_owned)
5503   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
5504   SharedCtor(arena, is_message_owned);
5505   // @@protoc_insertion_point(arena_constructor:perfetto.protos.Ext4DaUpdateReserveSpaceFtraceEvent)
5506 }
Ext4DaUpdateReserveSpaceFtraceEvent(const Ext4DaUpdateReserveSpaceFtraceEvent & from)5507 Ext4DaUpdateReserveSpaceFtraceEvent::Ext4DaUpdateReserveSpaceFtraceEvent(const Ext4DaUpdateReserveSpaceFtraceEvent& from)
5508   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
5509   Ext4DaUpdateReserveSpaceFtraceEvent* const _this = this; (void)_this;
5510   new (&_impl_) Impl_{
5511       decltype(_impl_._has_bits_){from._impl_._has_bits_}
5512     , /*decltype(_impl_._cached_size_)*/{}
5513     , decltype(_impl_.dev_){}
5514     , decltype(_impl_.ino_){}
5515     , decltype(_impl_.i_blocks_){}
5516     , decltype(_impl_.used_blocks_){}
5517     , decltype(_impl_.reserved_data_blocks_){}
5518     , decltype(_impl_.reserved_meta_blocks_){}
5519     , decltype(_impl_.allocated_meta_blocks_){}
5520     , decltype(_impl_.quota_claim_){}
5521     , decltype(_impl_.mode_){}};
5522 
5523   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
5524   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
5525     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.mode_) -
5526     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.mode_));
5527   // @@protoc_insertion_point(copy_constructor:perfetto.protos.Ext4DaUpdateReserveSpaceFtraceEvent)
5528 }
5529 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)5530 inline void Ext4DaUpdateReserveSpaceFtraceEvent::SharedCtor(
5531     ::_pb::Arena* arena, bool is_message_owned) {
5532   (void)arena;
5533   (void)is_message_owned;
5534   new (&_impl_) Impl_{
5535       decltype(_impl_._has_bits_){}
5536     , /*decltype(_impl_._cached_size_)*/{}
5537     , decltype(_impl_.dev_){::uint64_t{0u}}
5538     , decltype(_impl_.ino_){::uint64_t{0u}}
5539     , decltype(_impl_.i_blocks_){::uint64_t{0u}}
5540     , decltype(_impl_.used_blocks_){0}
5541     , decltype(_impl_.reserved_data_blocks_){0}
5542     , decltype(_impl_.reserved_meta_blocks_){0}
5543     , decltype(_impl_.allocated_meta_blocks_){0}
5544     , decltype(_impl_.quota_claim_){0}
5545     , decltype(_impl_.mode_){0u}
5546   };
5547 }
5548 
~Ext4DaUpdateReserveSpaceFtraceEvent()5549 Ext4DaUpdateReserveSpaceFtraceEvent::~Ext4DaUpdateReserveSpaceFtraceEvent() {
5550   // @@protoc_insertion_point(destructor:perfetto.protos.Ext4DaUpdateReserveSpaceFtraceEvent)
5551   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
5552   (void)arena;
5553     return;
5554   }
5555   SharedDtor();
5556 }
5557 
SharedDtor()5558 inline void Ext4DaUpdateReserveSpaceFtraceEvent::SharedDtor() {
5559   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
5560 }
5561 
SetCachedSize(int size) const5562 void Ext4DaUpdateReserveSpaceFtraceEvent::SetCachedSize(int size) const {
5563   _impl_._cached_size_.Set(size);
5564 }
5565 
Clear()5566 void Ext4DaUpdateReserveSpaceFtraceEvent::Clear() {
5567 // @@protoc_insertion_point(message_clear_start:perfetto.protos.Ext4DaUpdateReserveSpaceFtraceEvent)
5568   ::uint32_t cached_has_bits = 0;
5569   // Prevent compiler warnings about cached_has_bits being unused
5570   (void) cached_has_bits;
5571 
5572   cached_has_bits = _impl_._has_bits_[0];
5573   if (cached_has_bits & 0x000000ffu) {
5574     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
5575         reinterpret_cast<char*>(&_impl_.quota_claim_) -
5576         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.quota_claim_));
5577   }
5578   _impl_.mode_ = 0u;
5579   _impl_._has_bits_.Clear();
5580   _internal_metadata_.Clear<std::string>();
5581 }
5582 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)5583 const char* Ext4DaUpdateReserveSpaceFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
5584 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
5585   _Internal::HasBits has_bits{};
5586   while (!ctx->Done(&ptr)) {
5587     ::uint32_t tag;
5588     ptr = ::_pbi::ReadTag(ptr, &tag);
5589     switch (tag >> 3) {
5590       // optional uint64 dev = 1;
5591       case 1:
5592         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
5593           _Internal::set_has_dev(&has_bits);
5594           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
5595           CHK_(ptr);
5596         } else {
5597           goto handle_unusual;
5598         }
5599         continue;
5600       // optional uint64 ino = 2;
5601       case 2:
5602         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
5603           _Internal::set_has_ino(&has_bits);
5604           _impl_.ino_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
5605           CHK_(ptr);
5606         } else {
5607           goto handle_unusual;
5608         }
5609         continue;
5610       // optional uint64 i_blocks = 3;
5611       case 3:
5612         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
5613           _Internal::set_has_i_blocks(&has_bits);
5614           _impl_.i_blocks_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
5615           CHK_(ptr);
5616         } else {
5617           goto handle_unusual;
5618         }
5619         continue;
5620       // optional int32 used_blocks = 4;
5621       case 4:
5622         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
5623           _Internal::set_has_used_blocks(&has_bits);
5624           _impl_.used_blocks_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
5625           CHK_(ptr);
5626         } else {
5627           goto handle_unusual;
5628         }
5629         continue;
5630       // optional int32 reserved_data_blocks = 5;
5631       case 5:
5632         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) {
5633           _Internal::set_has_reserved_data_blocks(&has_bits);
5634           _impl_.reserved_data_blocks_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
5635           CHK_(ptr);
5636         } else {
5637           goto handle_unusual;
5638         }
5639         continue;
5640       // optional int32 reserved_meta_blocks = 6;
5641       case 6:
5642         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 48)) {
5643           _Internal::set_has_reserved_meta_blocks(&has_bits);
5644           _impl_.reserved_meta_blocks_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
5645           CHK_(ptr);
5646         } else {
5647           goto handle_unusual;
5648         }
5649         continue;
5650       // optional int32 allocated_meta_blocks = 7;
5651       case 7:
5652         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 56)) {
5653           _Internal::set_has_allocated_meta_blocks(&has_bits);
5654           _impl_.allocated_meta_blocks_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
5655           CHK_(ptr);
5656         } else {
5657           goto handle_unusual;
5658         }
5659         continue;
5660       // optional int32 quota_claim = 8;
5661       case 8:
5662         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 64)) {
5663           _Internal::set_has_quota_claim(&has_bits);
5664           _impl_.quota_claim_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
5665           CHK_(ptr);
5666         } else {
5667           goto handle_unusual;
5668         }
5669         continue;
5670       // optional uint32 mode = 9;
5671       case 9:
5672         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 72)) {
5673           _Internal::set_has_mode(&has_bits);
5674           _impl_.mode_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
5675           CHK_(ptr);
5676         } else {
5677           goto handle_unusual;
5678         }
5679         continue;
5680       default:
5681         goto handle_unusual;
5682     }  // switch
5683   handle_unusual:
5684     if ((tag == 0) || ((tag & 7) == 4)) {
5685       CHK_(ptr);
5686       ctx->SetLastTag(tag);
5687       goto message_done;
5688     }
5689     ptr = UnknownFieldParse(
5690         tag,
5691         _internal_metadata_.mutable_unknown_fields<std::string>(),
5692         ptr, ctx);
5693     CHK_(ptr != nullptr);
5694   }  // while
5695 message_done:
5696   _impl_._has_bits_.Or(has_bits);
5697   return ptr;
5698 failure:
5699   ptr = nullptr;
5700   goto message_done;
5701 #undef CHK_
5702 }
5703 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const5704 ::uint8_t* Ext4DaUpdateReserveSpaceFtraceEvent::_InternalSerialize(
5705     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
5706   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.Ext4DaUpdateReserveSpaceFtraceEvent)
5707   ::uint32_t cached_has_bits = 0;
5708   (void) cached_has_bits;
5709 
5710   cached_has_bits = _impl_._has_bits_[0];
5711   // optional uint64 dev = 1;
5712   if (cached_has_bits & 0x00000001u) {
5713     target = stream->EnsureSpace(target);
5714     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
5715   }
5716 
5717   // optional uint64 ino = 2;
5718   if (cached_has_bits & 0x00000002u) {
5719     target = stream->EnsureSpace(target);
5720     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_ino(), target);
5721   }
5722 
5723   // optional uint64 i_blocks = 3;
5724   if (cached_has_bits & 0x00000004u) {
5725     target = stream->EnsureSpace(target);
5726     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(3, this->_internal_i_blocks(), target);
5727   }
5728 
5729   // optional int32 used_blocks = 4;
5730   if (cached_has_bits & 0x00000008u) {
5731     target = stream->EnsureSpace(target);
5732     target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_used_blocks(), target);
5733   }
5734 
5735   // optional int32 reserved_data_blocks = 5;
5736   if (cached_has_bits & 0x00000010u) {
5737     target = stream->EnsureSpace(target);
5738     target = ::_pbi::WireFormatLite::WriteInt32ToArray(5, this->_internal_reserved_data_blocks(), target);
5739   }
5740 
5741   // optional int32 reserved_meta_blocks = 6;
5742   if (cached_has_bits & 0x00000020u) {
5743     target = stream->EnsureSpace(target);
5744     target = ::_pbi::WireFormatLite::WriteInt32ToArray(6, this->_internal_reserved_meta_blocks(), target);
5745   }
5746 
5747   // optional int32 allocated_meta_blocks = 7;
5748   if (cached_has_bits & 0x00000040u) {
5749     target = stream->EnsureSpace(target);
5750     target = ::_pbi::WireFormatLite::WriteInt32ToArray(7, this->_internal_allocated_meta_blocks(), target);
5751   }
5752 
5753   // optional int32 quota_claim = 8;
5754   if (cached_has_bits & 0x00000080u) {
5755     target = stream->EnsureSpace(target);
5756     target = ::_pbi::WireFormatLite::WriteInt32ToArray(8, this->_internal_quota_claim(), target);
5757   }
5758 
5759   // optional uint32 mode = 9;
5760   if (cached_has_bits & 0x00000100u) {
5761     target = stream->EnsureSpace(target);
5762     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(9, this->_internal_mode(), target);
5763   }
5764 
5765   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
5766     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
5767         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
5768   }
5769   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.Ext4DaUpdateReserveSpaceFtraceEvent)
5770   return target;
5771 }
5772 
ByteSizeLong() const5773 size_t Ext4DaUpdateReserveSpaceFtraceEvent::ByteSizeLong() const {
5774 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.Ext4DaUpdateReserveSpaceFtraceEvent)
5775   size_t total_size = 0;
5776 
5777   ::uint32_t cached_has_bits = 0;
5778   // Prevent compiler warnings about cached_has_bits being unused
5779   (void) cached_has_bits;
5780 
5781   cached_has_bits = _impl_._has_bits_[0];
5782   if (cached_has_bits & 0x000000ffu) {
5783     // optional uint64 dev = 1;
5784     if (cached_has_bits & 0x00000001u) {
5785       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
5786     }
5787 
5788     // optional uint64 ino = 2;
5789     if (cached_has_bits & 0x00000002u) {
5790       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ino());
5791     }
5792 
5793     // optional uint64 i_blocks = 3;
5794     if (cached_has_bits & 0x00000004u) {
5795       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_i_blocks());
5796     }
5797 
5798     // optional int32 used_blocks = 4;
5799     if (cached_has_bits & 0x00000008u) {
5800       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_used_blocks());
5801     }
5802 
5803     // optional int32 reserved_data_blocks = 5;
5804     if (cached_has_bits & 0x00000010u) {
5805       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_reserved_data_blocks());
5806     }
5807 
5808     // optional int32 reserved_meta_blocks = 6;
5809     if (cached_has_bits & 0x00000020u) {
5810       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_reserved_meta_blocks());
5811     }
5812 
5813     // optional int32 allocated_meta_blocks = 7;
5814     if (cached_has_bits & 0x00000040u) {
5815       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_allocated_meta_blocks());
5816     }
5817 
5818     // optional int32 quota_claim = 8;
5819     if (cached_has_bits & 0x00000080u) {
5820       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_quota_claim());
5821     }
5822 
5823   }
5824   // optional uint32 mode = 9;
5825   if (cached_has_bits & 0x00000100u) {
5826     total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_mode());
5827   }
5828 
5829   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
5830     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
5831   }
5832   int cached_size = ::_pbi::ToCachedSize(total_size);
5833   SetCachedSize(cached_size);
5834   return total_size;
5835 }
5836 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)5837 void Ext4DaUpdateReserveSpaceFtraceEvent::CheckTypeAndMergeFrom(
5838     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
5839   MergeFrom(*::_pbi::DownCast<const Ext4DaUpdateReserveSpaceFtraceEvent*>(
5840       &from));
5841 }
5842 
MergeFrom(const Ext4DaUpdateReserveSpaceFtraceEvent & from)5843 void Ext4DaUpdateReserveSpaceFtraceEvent::MergeFrom(const Ext4DaUpdateReserveSpaceFtraceEvent& from) {
5844   Ext4DaUpdateReserveSpaceFtraceEvent* const _this = this;
5845   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.Ext4DaUpdateReserveSpaceFtraceEvent)
5846   GOOGLE_DCHECK_NE(&from, _this);
5847   ::uint32_t cached_has_bits = 0;
5848   (void) cached_has_bits;
5849 
5850   cached_has_bits = from._impl_._has_bits_[0];
5851   if (cached_has_bits & 0x000000ffu) {
5852     if (cached_has_bits & 0x00000001u) {
5853       _this->_impl_.dev_ = from._impl_.dev_;
5854     }
5855     if (cached_has_bits & 0x00000002u) {
5856       _this->_impl_.ino_ = from._impl_.ino_;
5857     }
5858     if (cached_has_bits & 0x00000004u) {
5859       _this->_impl_.i_blocks_ = from._impl_.i_blocks_;
5860     }
5861     if (cached_has_bits & 0x00000008u) {
5862       _this->_impl_.used_blocks_ = from._impl_.used_blocks_;
5863     }
5864     if (cached_has_bits & 0x00000010u) {
5865       _this->_impl_.reserved_data_blocks_ = from._impl_.reserved_data_blocks_;
5866     }
5867     if (cached_has_bits & 0x00000020u) {
5868       _this->_impl_.reserved_meta_blocks_ = from._impl_.reserved_meta_blocks_;
5869     }
5870     if (cached_has_bits & 0x00000040u) {
5871       _this->_impl_.allocated_meta_blocks_ = from._impl_.allocated_meta_blocks_;
5872     }
5873     if (cached_has_bits & 0x00000080u) {
5874       _this->_impl_.quota_claim_ = from._impl_.quota_claim_;
5875     }
5876     _this->_impl_._has_bits_[0] |= cached_has_bits;
5877   }
5878   if (cached_has_bits & 0x00000100u) {
5879     _this->_internal_set_mode(from._internal_mode());
5880   }
5881   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
5882 }
5883 
CopyFrom(const Ext4DaUpdateReserveSpaceFtraceEvent & from)5884 void Ext4DaUpdateReserveSpaceFtraceEvent::CopyFrom(const Ext4DaUpdateReserveSpaceFtraceEvent& from) {
5885 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.Ext4DaUpdateReserveSpaceFtraceEvent)
5886   if (&from == this) return;
5887   Clear();
5888   MergeFrom(from);
5889 }
5890 
IsInitialized() const5891 bool Ext4DaUpdateReserveSpaceFtraceEvent::IsInitialized() const {
5892   return true;
5893 }
5894 
InternalSwap(Ext4DaUpdateReserveSpaceFtraceEvent * other)5895 void Ext4DaUpdateReserveSpaceFtraceEvent::InternalSwap(Ext4DaUpdateReserveSpaceFtraceEvent* other) {
5896   using std::swap;
5897   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
5898   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
5899   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
5900       PROTOBUF_FIELD_OFFSET(Ext4DaUpdateReserveSpaceFtraceEvent, _impl_.mode_)
5901       + sizeof(Ext4DaUpdateReserveSpaceFtraceEvent::_impl_.mode_)  // NOLINT
5902       - PROTOBUF_FIELD_OFFSET(Ext4DaUpdateReserveSpaceFtraceEvent, _impl_.dev_)>(
5903           reinterpret_cast<char*>(&_impl_.dev_),
5904           reinterpret_cast<char*>(&other->_impl_.dev_));
5905 }
5906 
GetTypeName() const5907 std::string Ext4DaUpdateReserveSpaceFtraceEvent::GetTypeName() const {
5908   return "perfetto.protos.Ext4DaUpdateReserveSpaceFtraceEvent";
5909 }
5910 
5911 
5912 // ===================================================================
5913 
5914 class Ext4DaWritePagesFtraceEvent::_Internal {
5915  public:
5916   using HasBits = decltype(std::declval<Ext4DaWritePagesFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)5917   static void set_has_dev(HasBits* has_bits) {
5918     (*has_bits)[0] |= 1u;
5919   }
set_has_ino(HasBits * has_bits)5920   static void set_has_ino(HasBits* has_bits) {
5921     (*has_bits)[0] |= 2u;
5922   }
set_has_first_page(HasBits * has_bits)5923   static void set_has_first_page(HasBits* has_bits) {
5924     (*has_bits)[0] |= 4u;
5925   }
set_has_nr_to_write(HasBits * has_bits)5926   static void set_has_nr_to_write(HasBits* has_bits) {
5927     (*has_bits)[0] |= 8u;
5928   }
set_has_sync_mode(HasBits * has_bits)5929   static void set_has_sync_mode(HasBits* has_bits) {
5930     (*has_bits)[0] |= 32u;
5931   }
set_has_b_blocknr(HasBits * has_bits)5932   static void set_has_b_blocknr(HasBits* has_bits) {
5933     (*has_bits)[0] |= 16u;
5934   }
set_has_b_size(HasBits * has_bits)5935   static void set_has_b_size(HasBits* has_bits) {
5936     (*has_bits)[0] |= 64u;
5937   }
set_has_b_state(HasBits * has_bits)5938   static void set_has_b_state(HasBits* has_bits) {
5939     (*has_bits)[0] |= 128u;
5940   }
set_has_io_done(HasBits * has_bits)5941   static void set_has_io_done(HasBits* has_bits) {
5942     (*has_bits)[0] |= 256u;
5943   }
set_has_pages_written(HasBits * has_bits)5944   static void set_has_pages_written(HasBits* has_bits) {
5945     (*has_bits)[0] |= 512u;
5946   }
5947 };
5948 
Ext4DaWritePagesFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)5949 Ext4DaWritePagesFtraceEvent::Ext4DaWritePagesFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
5950                          bool is_message_owned)
5951   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
5952   SharedCtor(arena, is_message_owned);
5953   // @@protoc_insertion_point(arena_constructor:perfetto.protos.Ext4DaWritePagesFtraceEvent)
5954 }
Ext4DaWritePagesFtraceEvent(const Ext4DaWritePagesFtraceEvent & from)5955 Ext4DaWritePagesFtraceEvent::Ext4DaWritePagesFtraceEvent(const Ext4DaWritePagesFtraceEvent& from)
5956   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
5957   Ext4DaWritePagesFtraceEvent* const _this = this; (void)_this;
5958   new (&_impl_) Impl_{
5959       decltype(_impl_._has_bits_){from._impl_._has_bits_}
5960     , /*decltype(_impl_._cached_size_)*/{}
5961     , decltype(_impl_.dev_){}
5962     , decltype(_impl_.ino_){}
5963     , decltype(_impl_.first_page_){}
5964     , decltype(_impl_.nr_to_write_){}
5965     , decltype(_impl_.b_blocknr_){}
5966     , decltype(_impl_.sync_mode_){}
5967     , decltype(_impl_.b_size_){}
5968     , decltype(_impl_.b_state_){}
5969     , decltype(_impl_.io_done_){}
5970     , decltype(_impl_.pages_written_){}};
5971 
5972   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
5973   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
5974     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.pages_written_) -
5975     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.pages_written_));
5976   // @@protoc_insertion_point(copy_constructor:perfetto.protos.Ext4DaWritePagesFtraceEvent)
5977 }
5978 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)5979 inline void Ext4DaWritePagesFtraceEvent::SharedCtor(
5980     ::_pb::Arena* arena, bool is_message_owned) {
5981   (void)arena;
5982   (void)is_message_owned;
5983   new (&_impl_) Impl_{
5984       decltype(_impl_._has_bits_){}
5985     , /*decltype(_impl_._cached_size_)*/{}
5986     , decltype(_impl_.dev_){::uint64_t{0u}}
5987     , decltype(_impl_.ino_){::uint64_t{0u}}
5988     , decltype(_impl_.first_page_){::uint64_t{0u}}
5989     , decltype(_impl_.nr_to_write_){::int64_t{0}}
5990     , decltype(_impl_.b_blocknr_){::uint64_t{0u}}
5991     , decltype(_impl_.sync_mode_){0}
5992     , decltype(_impl_.b_size_){0u}
5993     , decltype(_impl_.b_state_){0u}
5994     , decltype(_impl_.io_done_){0}
5995     , decltype(_impl_.pages_written_){0}
5996   };
5997 }
5998 
~Ext4DaWritePagesFtraceEvent()5999 Ext4DaWritePagesFtraceEvent::~Ext4DaWritePagesFtraceEvent() {
6000   // @@protoc_insertion_point(destructor:perfetto.protos.Ext4DaWritePagesFtraceEvent)
6001   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
6002   (void)arena;
6003     return;
6004   }
6005   SharedDtor();
6006 }
6007 
SharedDtor()6008 inline void Ext4DaWritePagesFtraceEvent::SharedDtor() {
6009   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
6010 }
6011 
SetCachedSize(int size) const6012 void Ext4DaWritePagesFtraceEvent::SetCachedSize(int size) const {
6013   _impl_._cached_size_.Set(size);
6014 }
6015 
Clear()6016 void Ext4DaWritePagesFtraceEvent::Clear() {
6017 // @@protoc_insertion_point(message_clear_start:perfetto.protos.Ext4DaWritePagesFtraceEvent)
6018   ::uint32_t cached_has_bits = 0;
6019   // Prevent compiler warnings about cached_has_bits being unused
6020   (void) cached_has_bits;
6021 
6022   cached_has_bits = _impl_._has_bits_[0];
6023   if (cached_has_bits & 0x000000ffu) {
6024     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
6025         reinterpret_cast<char*>(&_impl_.b_state_) -
6026         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.b_state_));
6027   }
6028   if (cached_has_bits & 0x00000300u) {
6029     ::memset(&_impl_.io_done_, 0, static_cast<size_t>(
6030         reinterpret_cast<char*>(&_impl_.pages_written_) -
6031         reinterpret_cast<char*>(&_impl_.io_done_)) + sizeof(_impl_.pages_written_));
6032   }
6033   _impl_._has_bits_.Clear();
6034   _internal_metadata_.Clear<std::string>();
6035 }
6036 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)6037 const char* Ext4DaWritePagesFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
6038 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
6039   _Internal::HasBits has_bits{};
6040   while (!ctx->Done(&ptr)) {
6041     ::uint32_t tag;
6042     ptr = ::_pbi::ReadTag(ptr, &tag);
6043     switch (tag >> 3) {
6044       // optional uint64 dev = 1;
6045       case 1:
6046         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
6047           _Internal::set_has_dev(&has_bits);
6048           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
6049           CHK_(ptr);
6050         } else {
6051           goto handle_unusual;
6052         }
6053         continue;
6054       // optional uint64 ino = 2;
6055       case 2:
6056         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
6057           _Internal::set_has_ino(&has_bits);
6058           _impl_.ino_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
6059           CHK_(ptr);
6060         } else {
6061           goto handle_unusual;
6062         }
6063         continue;
6064       // optional uint64 first_page = 3;
6065       case 3:
6066         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
6067           _Internal::set_has_first_page(&has_bits);
6068           _impl_.first_page_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
6069           CHK_(ptr);
6070         } else {
6071           goto handle_unusual;
6072         }
6073         continue;
6074       // optional int64 nr_to_write = 4;
6075       case 4:
6076         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
6077           _Internal::set_has_nr_to_write(&has_bits);
6078           _impl_.nr_to_write_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
6079           CHK_(ptr);
6080         } else {
6081           goto handle_unusual;
6082         }
6083         continue;
6084       // optional int32 sync_mode = 5;
6085       case 5:
6086         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) {
6087           _Internal::set_has_sync_mode(&has_bits);
6088           _impl_.sync_mode_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
6089           CHK_(ptr);
6090         } else {
6091           goto handle_unusual;
6092         }
6093         continue;
6094       // optional uint64 b_blocknr = 6;
6095       case 6:
6096         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 48)) {
6097           _Internal::set_has_b_blocknr(&has_bits);
6098           _impl_.b_blocknr_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
6099           CHK_(ptr);
6100         } else {
6101           goto handle_unusual;
6102         }
6103         continue;
6104       // optional uint32 b_size = 7;
6105       case 7:
6106         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 56)) {
6107           _Internal::set_has_b_size(&has_bits);
6108           _impl_.b_size_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
6109           CHK_(ptr);
6110         } else {
6111           goto handle_unusual;
6112         }
6113         continue;
6114       // optional uint32 b_state = 8;
6115       case 8:
6116         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 64)) {
6117           _Internal::set_has_b_state(&has_bits);
6118           _impl_.b_state_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
6119           CHK_(ptr);
6120         } else {
6121           goto handle_unusual;
6122         }
6123         continue;
6124       // optional int32 io_done = 9;
6125       case 9:
6126         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 72)) {
6127           _Internal::set_has_io_done(&has_bits);
6128           _impl_.io_done_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
6129           CHK_(ptr);
6130         } else {
6131           goto handle_unusual;
6132         }
6133         continue;
6134       // optional int32 pages_written = 10;
6135       case 10:
6136         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 80)) {
6137           _Internal::set_has_pages_written(&has_bits);
6138           _impl_.pages_written_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
6139           CHK_(ptr);
6140         } else {
6141           goto handle_unusual;
6142         }
6143         continue;
6144       default:
6145         goto handle_unusual;
6146     }  // switch
6147   handle_unusual:
6148     if ((tag == 0) || ((tag & 7) == 4)) {
6149       CHK_(ptr);
6150       ctx->SetLastTag(tag);
6151       goto message_done;
6152     }
6153     ptr = UnknownFieldParse(
6154         tag,
6155         _internal_metadata_.mutable_unknown_fields<std::string>(),
6156         ptr, ctx);
6157     CHK_(ptr != nullptr);
6158   }  // while
6159 message_done:
6160   _impl_._has_bits_.Or(has_bits);
6161   return ptr;
6162 failure:
6163   ptr = nullptr;
6164   goto message_done;
6165 #undef CHK_
6166 }
6167 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const6168 ::uint8_t* Ext4DaWritePagesFtraceEvent::_InternalSerialize(
6169     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
6170   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.Ext4DaWritePagesFtraceEvent)
6171   ::uint32_t cached_has_bits = 0;
6172   (void) cached_has_bits;
6173 
6174   cached_has_bits = _impl_._has_bits_[0];
6175   // optional uint64 dev = 1;
6176   if (cached_has_bits & 0x00000001u) {
6177     target = stream->EnsureSpace(target);
6178     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
6179   }
6180 
6181   // optional uint64 ino = 2;
6182   if (cached_has_bits & 0x00000002u) {
6183     target = stream->EnsureSpace(target);
6184     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_ino(), target);
6185   }
6186 
6187   // optional uint64 first_page = 3;
6188   if (cached_has_bits & 0x00000004u) {
6189     target = stream->EnsureSpace(target);
6190     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(3, this->_internal_first_page(), target);
6191   }
6192 
6193   // optional int64 nr_to_write = 4;
6194   if (cached_has_bits & 0x00000008u) {
6195     target = stream->EnsureSpace(target);
6196     target = ::_pbi::WireFormatLite::WriteInt64ToArray(4, this->_internal_nr_to_write(), target);
6197   }
6198 
6199   // optional int32 sync_mode = 5;
6200   if (cached_has_bits & 0x00000020u) {
6201     target = stream->EnsureSpace(target);
6202     target = ::_pbi::WireFormatLite::WriteInt32ToArray(5, this->_internal_sync_mode(), target);
6203   }
6204 
6205   // optional uint64 b_blocknr = 6;
6206   if (cached_has_bits & 0x00000010u) {
6207     target = stream->EnsureSpace(target);
6208     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(6, this->_internal_b_blocknr(), target);
6209   }
6210 
6211   // optional uint32 b_size = 7;
6212   if (cached_has_bits & 0x00000040u) {
6213     target = stream->EnsureSpace(target);
6214     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(7, this->_internal_b_size(), target);
6215   }
6216 
6217   // optional uint32 b_state = 8;
6218   if (cached_has_bits & 0x00000080u) {
6219     target = stream->EnsureSpace(target);
6220     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(8, this->_internal_b_state(), target);
6221   }
6222 
6223   // optional int32 io_done = 9;
6224   if (cached_has_bits & 0x00000100u) {
6225     target = stream->EnsureSpace(target);
6226     target = ::_pbi::WireFormatLite::WriteInt32ToArray(9, this->_internal_io_done(), target);
6227   }
6228 
6229   // optional int32 pages_written = 10;
6230   if (cached_has_bits & 0x00000200u) {
6231     target = stream->EnsureSpace(target);
6232     target = ::_pbi::WireFormatLite::WriteInt32ToArray(10, this->_internal_pages_written(), target);
6233   }
6234 
6235   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
6236     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
6237         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
6238   }
6239   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.Ext4DaWritePagesFtraceEvent)
6240   return target;
6241 }
6242 
ByteSizeLong() const6243 size_t Ext4DaWritePagesFtraceEvent::ByteSizeLong() const {
6244 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.Ext4DaWritePagesFtraceEvent)
6245   size_t total_size = 0;
6246 
6247   ::uint32_t cached_has_bits = 0;
6248   // Prevent compiler warnings about cached_has_bits being unused
6249   (void) cached_has_bits;
6250 
6251   cached_has_bits = _impl_._has_bits_[0];
6252   if (cached_has_bits & 0x000000ffu) {
6253     // optional uint64 dev = 1;
6254     if (cached_has_bits & 0x00000001u) {
6255       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
6256     }
6257 
6258     // optional uint64 ino = 2;
6259     if (cached_has_bits & 0x00000002u) {
6260       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ino());
6261     }
6262 
6263     // optional uint64 first_page = 3;
6264     if (cached_has_bits & 0x00000004u) {
6265       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_first_page());
6266     }
6267 
6268     // optional int64 nr_to_write = 4;
6269     if (cached_has_bits & 0x00000008u) {
6270       total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_nr_to_write());
6271     }
6272 
6273     // optional uint64 b_blocknr = 6;
6274     if (cached_has_bits & 0x00000010u) {
6275       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_b_blocknr());
6276     }
6277 
6278     // optional int32 sync_mode = 5;
6279     if (cached_has_bits & 0x00000020u) {
6280       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_sync_mode());
6281     }
6282 
6283     // optional uint32 b_size = 7;
6284     if (cached_has_bits & 0x00000040u) {
6285       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_b_size());
6286     }
6287 
6288     // optional uint32 b_state = 8;
6289     if (cached_has_bits & 0x00000080u) {
6290       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_b_state());
6291     }
6292 
6293   }
6294   if (cached_has_bits & 0x00000300u) {
6295     // optional int32 io_done = 9;
6296     if (cached_has_bits & 0x00000100u) {
6297       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_io_done());
6298     }
6299 
6300     // optional int32 pages_written = 10;
6301     if (cached_has_bits & 0x00000200u) {
6302       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_pages_written());
6303     }
6304 
6305   }
6306   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
6307     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
6308   }
6309   int cached_size = ::_pbi::ToCachedSize(total_size);
6310   SetCachedSize(cached_size);
6311   return total_size;
6312 }
6313 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)6314 void Ext4DaWritePagesFtraceEvent::CheckTypeAndMergeFrom(
6315     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
6316   MergeFrom(*::_pbi::DownCast<const Ext4DaWritePagesFtraceEvent*>(
6317       &from));
6318 }
6319 
MergeFrom(const Ext4DaWritePagesFtraceEvent & from)6320 void Ext4DaWritePagesFtraceEvent::MergeFrom(const Ext4DaWritePagesFtraceEvent& from) {
6321   Ext4DaWritePagesFtraceEvent* const _this = this;
6322   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.Ext4DaWritePagesFtraceEvent)
6323   GOOGLE_DCHECK_NE(&from, _this);
6324   ::uint32_t cached_has_bits = 0;
6325   (void) cached_has_bits;
6326 
6327   cached_has_bits = from._impl_._has_bits_[0];
6328   if (cached_has_bits & 0x000000ffu) {
6329     if (cached_has_bits & 0x00000001u) {
6330       _this->_impl_.dev_ = from._impl_.dev_;
6331     }
6332     if (cached_has_bits & 0x00000002u) {
6333       _this->_impl_.ino_ = from._impl_.ino_;
6334     }
6335     if (cached_has_bits & 0x00000004u) {
6336       _this->_impl_.first_page_ = from._impl_.first_page_;
6337     }
6338     if (cached_has_bits & 0x00000008u) {
6339       _this->_impl_.nr_to_write_ = from._impl_.nr_to_write_;
6340     }
6341     if (cached_has_bits & 0x00000010u) {
6342       _this->_impl_.b_blocknr_ = from._impl_.b_blocknr_;
6343     }
6344     if (cached_has_bits & 0x00000020u) {
6345       _this->_impl_.sync_mode_ = from._impl_.sync_mode_;
6346     }
6347     if (cached_has_bits & 0x00000040u) {
6348       _this->_impl_.b_size_ = from._impl_.b_size_;
6349     }
6350     if (cached_has_bits & 0x00000080u) {
6351       _this->_impl_.b_state_ = from._impl_.b_state_;
6352     }
6353     _this->_impl_._has_bits_[0] |= cached_has_bits;
6354   }
6355   if (cached_has_bits & 0x00000300u) {
6356     if (cached_has_bits & 0x00000100u) {
6357       _this->_impl_.io_done_ = from._impl_.io_done_;
6358     }
6359     if (cached_has_bits & 0x00000200u) {
6360       _this->_impl_.pages_written_ = from._impl_.pages_written_;
6361     }
6362     _this->_impl_._has_bits_[0] |= cached_has_bits;
6363   }
6364   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
6365 }
6366 
CopyFrom(const Ext4DaWritePagesFtraceEvent & from)6367 void Ext4DaWritePagesFtraceEvent::CopyFrom(const Ext4DaWritePagesFtraceEvent& from) {
6368 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.Ext4DaWritePagesFtraceEvent)
6369   if (&from == this) return;
6370   Clear();
6371   MergeFrom(from);
6372 }
6373 
IsInitialized() const6374 bool Ext4DaWritePagesFtraceEvent::IsInitialized() const {
6375   return true;
6376 }
6377 
InternalSwap(Ext4DaWritePagesFtraceEvent * other)6378 void Ext4DaWritePagesFtraceEvent::InternalSwap(Ext4DaWritePagesFtraceEvent* other) {
6379   using std::swap;
6380   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
6381   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
6382   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
6383       PROTOBUF_FIELD_OFFSET(Ext4DaWritePagesFtraceEvent, _impl_.pages_written_)
6384       + sizeof(Ext4DaWritePagesFtraceEvent::_impl_.pages_written_)  // NOLINT
6385       - PROTOBUF_FIELD_OFFSET(Ext4DaWritePagesFtraceEvent, _impl_.dev_)>(
6386           reinterpret_cast<char*>(&_impl_.dev_),
6387           reinterpret_cast<char*>(&other->_impl_.dev_));
6388 }
6389 
GetTypeName() const6390 std::string Ext4DaWritePagesFtraceEvent::GetTypeName() const {
6391   return "perfetto.protos.Ext4DaWritePagesFtraceEvent";
6392 }
6393 
6394 
6395 // ===================================================================
6396 
6397 class Ext4DaWritePagesExtentFtraceEvent::_Internal {
6398  public:
6399   using HasBits = decltype(std::declval<Ext4DaWritePagesExtentFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)6400   static void set_has_dev(HasBits* has_bits) {
6401     (*has_bits)[0] |= 1u;
6402   }
set_has_ino(HasBits * has_bits)6403   static void set_has_ino(HasBits* has_bits) {
6404     (*has_bits)[0] |= 2u;
6405   }
set_has_lblk(HasBits * has_bits)6406   static void set_has_lblk(HasBits* has_bits) {
6407     (*has_bits)[0] |= 4u;
6408   }
set_has_len(HasBits * has_bits)6409   static void set_has_len(HasBits* has_bits) {
6410     (*has_bits)[0] |= 8u;
6411   }
set_has_flags(HasBits * has_bits)6412   static void set_has_flags(HasBits* has_bits) {
6413     (*has_bits)[0] |= 16u;
6414   }
6415 };
6416 
Ext4DaWritePagesExtentFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)6417 Ext4DaWritePagesExtentFtraceEvent::Ext4DaWritePagesExtentFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
6418                          bool is_message_owned)
6419   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
6420   SharedCtor(arena, is_message_owned);
6421   // @@protoc_insertion_point(arena_constructor:perfetto.protos.Ext4DaWritePagesExtentFtraceEvent)
6422 }
Ext4DaWritePagesExtentFtraceEvent(const Ext4DaWritePagesExtentFtraceEvent & from)6423 Ext4DaWritePagesExtentFtraceEvent::Ext4DaWritePagesExtentFtraceEvent(const Ext4DaWritePagesExtentFtraceEvent& from)
6424   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
6425   Ext4DaWritePagesExtentFtraceEvent* const _this = this; (void)_this;
6426   new (&_impl_) Impl_{
6427       decltype(_impl_._has_bits_){from._impl_._has_bits_}
6428     , /*decltype(_impl_._cached_size_)*/{}
6429     , decltype(_impl_.dev_){}
6430     , decltype(_impl_.ino_){}
6431     , decltype(_impl_.lblk_){}
6432     , decltype(_impl_.len_){}
6433     , decltype(_impl_.flags_){}};
6434 
6435   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
6436   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
6437     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.flags_) -
6438     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.flags_));
6439   // @@protoc_insertion_point(copy_constructor:perfetto.protos.Ext4DaWritePagesExtentFtraceEvent)
6440 }
6441 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)6442 inline void Ext4DaWritePagesExtentFtraceEvent::SharedCtor(
6443     ::_pb::Arena* arena, bool is_message_owned) {
6444   (void)arena;
6445   (void)is_message_owned;
6446   new (&_impl_) Impl_{
6447       decltype(_impl_._has_bits_){}
6448     , /*decltype(_impl_._cached_size_)*/{}
6449     , decltype(_impl_.dev_){::uint64_t{0u}}
6450     , decltype(_impl_.ino_){::uint64_t{0u}}
6451     , decltype(_impl_.lblk_){::uint64_t{0u}}
6452     , decltype(_impl_.len_){0u}
6453     , decltype(_impl_.flags_){0u}
6454   };
6455 }
6456 
~Ext4DaWritePagesExtentFtraceEvent()6457 Ext4DaWritePagesExtentFtraceEvent::~Ext4DaWritePagesExtentFtraceEvent() {
6458   // @@protoc_insertion_point(destructor:perfetto.protos.Ext4DaWritePagesExtentFtraceEvent)
6459   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
6460   (void)arena;
6461     return;
6462   }
6463   SharedDtor();
6464 }
6465 
SharedDtor()6466 inline void Ext4DaWritePagesExtentFtraceEvent::SharedDtor() {
6467   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
6468 }
6469 
SetCachedSize(int size) const6470 void Ext4DaWritePagesExtentFtraceEvent::SetCachedSize(int size) const {
6471   _impl_._cached_size_.Set(size);
6472 }
6473 
Clear()6474 void Ext4DaWritePagesExtentFtraceEvent::Clear() {
6475 // @@protoc_insertion_point(message_clear_start:perfetto.protos.Ext4DaWritePagesExtentFtraceEvent)
6476   ::uint32_t cached_has_bits = 0;
6477   // Prevent compiler warnings about cached_has_bits being unused
6478   (void) cached_has_bits;
6479 
6480   cached_has_bits = _impl_._has_bits_[0];
6481   if (cached_has_bits & 0x0000001fu) {
6482     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
6483         reinterpret_cast<char*>(&_impl_.flags_) -
6484         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.flags_));
6485   }
6486   _impl_._has_bits_.Clear();
6487   _internal_metadata_.Clear<std::string>();
6488 }
6489 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)6490 const char* Ext4DaWritePagesExtentFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
6491 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
6492   _Internal::HasBits has_bits{};
6493   while (!ctx->Done(&ptr)) {
6494     ::uint32_t tag;
6495     ptr = ::_pbi::ReadTag(ptr, &tag);
6496     switch (tag >> 3) {
6497       // optional uint64 dev = 1;
6498       case 1:
6499         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
6500           _Internal::set_has_dev(&has_bits);
6501           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
6502           CHK_(ptr);
6503         } else {
6504           goto handle_unusual;
6505         }
6506         continue;
6507       // optional uint64 ino = 2;
6508       case 2:
6509         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
6510           _Internal::set_has_ino(&has_bits);
6511           _impl_.ino_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
6512           CHK_(ptr);
6513         } else {
6514           goto handle_unusual;
6515         }
6516         continue;
6517       // optional uint64 lblk = 3;
6518       case 3:
6519         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
6520           _Internal::set_has_lblk(&has_bits);
6521           _impl_.lblk_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
6522           CHK_(ptr);
6523         } else {
6524           goto handle_unusual;
6525         }
6526         continue;
6527       // optional uint32 len = 4;
6528       case 4:
6529         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
6530           _Internal::set_has_len(&has_bits);
6531           _impl_.len_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
6532           CHK_(ptr);
6533         } else {
6534           goto handle_unusual;
6535         }
6536         continue;
6537       // optional uint32 flags = 5;
6538       case 5:
6539         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) {
6540           _Internal::set_has_flags(&has_bits);
6541           _impl_.flags_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
6542           CHK_(ptr);
6543         } else {
6544           goto handle_unusual;
6545         }
6546         continue;
6547       default:
6548         goto handle_unusual;
6549     }  // switch
6550   handle_unusual:
6551     if ((tag == 0) || ((tag & 7) == 4)) {
6552       CHK_(ptr);
6553       ctx->SetLastTag(tag);
6554       goto message_done;
6555     }
6556     ptr = UnknownFieldParse(
6557         tag,
6558         _internal_metadata_.mutable_unknown_fields<std::string>(),
6559         ptr, ctx);
6560     CHK_(ptr != nullptr);
6561   }  // while
6562 message_done:
6563   _impl_._has_bits_.Or(has_bits);
6564   return ptr;
6565 failure:
6566   ptr = nullptr;
6567   goto message_done;
6568 #undef CHK_
6569 }
6570 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const6571 ::uint8_t* Ext4DaWritePagesExtentFtraceEvent::_InternalSerialize(
6572     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
6573   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.Ext4DaWritePagesExtentFtraceEvent)
6574   ::uint32_t cached_has_bits = 0;
6575   (void) cached_has_bits;
6576 
6577   cached_has_bits = _impl_._has_bits_[0];
6578   // optional uint64 dev = 1;
6579   if (cached_has_bits & 0x00000001u) {
6580     target = stream->EnsureSpace(target);
6581     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
6582   }
6583 
6584   // optional uint64 ino = 2;
6585   if (cached_has_bits & 0x00000002u) {
6586     target = stream->EnsureSpace(target);
6587     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_ino(), target);
6588   }
6589 
6590   // optional uint64 lblk = 3;
6591   if (cached_has_bits & 0x00000004u) {
6592     target = stream->EnsureSpace(target);
6593     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(3, this->_internal_lblk(), target);
6594   }
6595 
6596   // optional uint32 len = 4;
6597   if (cached_has_bits & 0x00000008u) {
6598     target = stream->EnsureSpace(target);
6599     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_len(), target);
6600   }
6601 
6602   // optional uint32 flags = 5;
6603   if (cached_has_bits & 0x00000010u) {
6604     target = stream->EnsureSpace(target);
6605     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_flags(), target);
6606   }
6607 
6608   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
6609     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
6610         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
6611   }
6612   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.Ext4DaWritePagesExtentFtraceEvent)
6613   return target;
6614 }
6615 
ByteSizeLong() const6616 size_t Ext4DaWritePagesExtentFtraceEvent::ByteSizeLong() const {
6617 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.Ext4DaWritePagesExtentFtraceEvent)
6618   size_t total_size = 0;
6619 
6620   ::uint32_t cached_has_bits = 0;
6621   // Prevent compiler warnings about cached_has_bits being unused
6622   (void) cached_has_bits;
6623 
6624   cached_has_bits = _impl_._has_bits_[0];
6625   if (cached_has_bits & 0x0000001fu) {
6626     // optional uint64 dev = 1;
6627     if (cached_has_bits & 0x00000001u) {
6628       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
6629     }
6630 
6631     // optional uint64 ino = 2;
6632     if (cached_has_bits & 0x00000002u) {
6633       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ino());
6634     }
6635 
6636     // optional uint64 lblk = 3;
6637     if (cached_has_bits & 0x00000004u) {
6638       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_lblk());
6639     }
6640 
6641     // optional uint32 len = 4;
6642     if (cached_has_bits & 0x00000008u) {
6643       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_len());
6644     }
6645 
6646     // optional uint32 flags = 5;
6647     if (cached_has_bits & 0x00000010u) {
6648       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_flags());
6649     }
6650 
6651   }
6652   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
6653     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
6654   }
6655   int cached_size = ::_pbi::ToCachedSize(total_size);
6656   SetCachedSize(cached_size);
6657   return total_size;
6658 }
6659 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)6660 void Ext4DaWritePagesExtentFtraceEvent::CheckTypeAndMergeFrom(
6661     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
6662   MergeFrom(*::_pbi::DownCast<const Ext4DaWritePagesExtentFtraceEvent*>(
6663       &from));
6664 }
6665 
MergeFrom(const Ext4DaWritePagesExtentFtraceEvent & from)6666 void Ext4DaWritePagesExtentFtraceEvent::MergeFrom(const Ext4DaWritePagesExtentFtraceEvent& from) {
6667   Ext4DaWritePagesExtentFtraceEvent* const _this = this;
6668   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.Ext4DaWritePagesExtentFtraceEvent)
6669   GOOGLE_DCHECK_NE(&from, _this);
6670   ::uint32_t cached_has_bits = 0;
6671   (void) cached_has_bits;
6672 
6673   cached_has_bits = from._impl_._has_bits_[0];
6674   if (cached_has_bits & 0x0000001fu) {
6675     if (cached_has_bits & 0x00000001u) {
6676       _this->_impl_.dev_ = from._impl_.dev_;
6677     }
6678     if (cached_has_bits & 0x00000002u) {
6679       _this->_impl_.ino_ = from._impl_.ino_;
6680     }
6681     if (cached_has_bits & 0x00000004u) {
6682       _this->_impl_.lblk_ = from._impl_.lblk_;
6683     }
6684     if (cached_has_bits & 0x00000008u) {
6685       _this->_impl_.len_ = from._impl_.len_;
6686     }
6687     if (cached_has_bits & 0x00000010u) {
6688       _this->_impl_.flags_ = from._impl_.flags_;
6689     }
6690     _this->_impl_._has_bits_[0] |= cached_has_bits;
6691   }
6692   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
6693 }
6694 
CopyFrom(const Ext4DaWritePagesExtentFtraceEvent & from)6695 void Ext4DaWritePagesExtentFtraceEvent::CopyFrom(const Ext4DaWritePagesExtentFtraceEvent& from) {
6696 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.Ext4DaWritePagesExtentFtraceEvent)
6697   if (&from == this) return;
6698   Clear();
6699   MergeFrom(from);
6700 }
6701 
IsInitialized() const6702 bool Ext4DaWritePagesExtentFtraceEvent::IsInitialized() const {
6703   return true;
6704 }
6705 
InternalSwap(Ext4DaWritePagesExtentFtraceEvent * other)6706 void Ext4DaWritePagesExtentFtraceEvent::InternalSwap(Ext4DaWritePagesExtentFtraceEvent* other) {
6707   using std::swap;
6708   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
6709   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
6710   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
6711       PROTOBUF_FIELD_OFFSET(Ext4DaWritePagesExtentFtraceEvent, _impl_.flags_)
6712       + sizeof(Ext4DaWritePagesExtentFtraceEvent::_impl_.flags_)  // NOLINT
6713       - PROTOBUF_FIELD_OFFSET(Ext4DaWritePagesExtentFtraceEvent, _impl_.dev_)>(
6714           reinterpret_cast<char*>(&_impl_.dev_),
6715           reinterpret_cast<char*>(&other->_impl_.dev_));
6716 }
6717 
GetTypeName() const6718 std::string Ext4DaWritePagesExtentFtraceEvent::GetTypeName() const {
6719   return "perfetto.protos.Ext4DaWritePagesExtentFtraceEvent";
6720 }
6721 
6722 
6723 // ===================================================================
6724 
6725 class Ext4DirectIOEnterFtraceEvent::_Internal {
6726  public:
6727   using HasBits = decltype(std::declval<Ext4DirectIOEnterFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)6728   static void set_has_dev(HasBits* has_bits) {
6729     (*has_bits)[0] |= 1u;
6730   }
set_has_ino(HasBits * has_bits)6731   static void set_has_ino(HasBits* has_bits) {
6732     (*has_bits)[0] |= 2u;
6733   }
set_has_pos(HasBits * has_bits)6734   static void set_has_pos(HasBits* has_bits) {
6735     (*has_bits)[0] |= 4u;
6736   }
set_has_len(HasBits * has_bits)6737   static void set_has_len(HasBits* has_bits) {
6738     (*has_bits)[0] |= 8u;
6739   }
set_has_rw(HasBits * has_bits)6740   static void set_has_rw(HasBits* has_bits) {
6741     (*has_bits)[0] |= 16u;
6742   }
6743 };
6744 
Ext4DirectIOEnterFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)6745 Ext4DirectIOEnterFtraceEvent::Ext4DirectIOEnterFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
6746                          bool is_message_owned)
6747   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
6748   SharedCtor(arena, is_message_owned);
6749   // @@protoc_insertion_point(arena_constructor:perfetto.protos.Ext4DirectIOEnterFtraceEvent)
6750 }
Ext4DirectIOEnterFtraceEvent(const Ext4DirectIOEnterFtraceEvent & from)6751 Ext4DirectIOEnterFtraceEvent::Ext4DirectIOEnterFtraceEvent(const Ext4DirectIOEnterFtraceEvent& from)
6752   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
6753   Ext4DirectIOEnterFtraceEvent* const _this = this; (void)_this;
6754   new (&_impl_) Impl_{
6755       decltype(_impl_._has_bits_){from._impl_._has_bits_}
6756     , /*decltype(_impl_._cached_size_)*/{}
6757     , decltype(_impl_.dev_){}
6758     , decltype(_impl_.ino_){}
6759     , decltype(_impl_.pos_){}
6760     , decltype(_impl_.len_){}
6761     , decltype(_impl_.rw_){}};
6762 
6763   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
6764   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
6765     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.rw_) -
6766     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.rw_));
6767   // @@protoc_insertion_point(copy_constructor:perfetto.protos.Ext4DirectIOEnterFtraceEvent)
6768 }
6769 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)6770 inline void Ext4DirectIOEnterFtraceEvent::SharedCtor(
6771     ::_pb::Arena* arena, bool is_message_owned) {
6772   (void)arena;
6773   (void)is_message_owned;
6774   new (&_impl_) Impl_{
6775       decltype(_impl_._has_bits_){}
6776     , /*decltype(_impl_._cached_size_)*/{}
6777     , decltype(_impl_.dev_){::uint64_t{0u}}
6778     , decltype(_impl_.ino_){::uint64_t{0u}}
6779     , decltype(_impl_.pos_){::int64_t{0}}
6780     , decltype(_impl_.len_){::uint64_t{0u}}
6781     , decltype(_impl_.rw_){0}
6782   };
6783 }
6784 
~Ext4DirectIOEnterFtraceEvent()6785 Ext4DirectIOEnterFtraceEvent::~Ext4DirectIOEnterFtraceEvent() {
6786   // @@protoc_insertion_point(destructor:perfetto.protos.Ext4DirectIOEnterFtraceEvent)
6787   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
6788   (void)arena;
6789     return;
6790   }
6791   SharedDtor();
6792 }
6793 
SharedDtor()6794 inline void Ext4DirectIOEnterFtraceEvent::SharedDtor() {
6795   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
6796 }
6797 
SetCachedSize(int size) const6798 void Ext4DirectIOEnterFtraceEvent::SetCachedSize(int size) const {
6799   _impl_._cached_size_.Set(size);
6800 }
6801 
Clear()6802 void Ext4DirectIOEnterFtraceEvent::Clear() {
6803 // @@protoc_insertion_point(message_clear_start:perfetto.protos.Ext4DirectIOEnterFtraceEvent)
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     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
6811         reinterpret_cast<char*>(&_impl_.rw_) -
6812         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.rw_));
6813   }
6814   _impl_._has_bits_.Clear();
6815   _internal_metadata_.Clear<std::string>();
6816 }
6817 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)6818 const char* Ext4DirectIOEnterFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
6819 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
6820   _Internal::HasBits has_bits{};
6821   while (!ctx->Done(&ptr)) {
6822     ::uint32_t tag;
6823     ptr = ::_pbi::ReadTag(ptr, &tag);
6824     switch (tag >> 3) {
6825       // optional uint64 dev = 1;
6826       case 1:
6827         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
6828           _Internal::set_has_dev(&has_bits);
6829           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
6830           CHK_(ptr);
6831         } else {
6832           goto handle_unusual;
6833         }
6834         continue;
6835       // optional uint64 ino = 2;
6836       case 2:
6837         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
6838           _Internal::set_has_ino(&has_bits);
6839           _impl_.ino_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
6840           CHK_(ptr);
6841         } else {
6842           goto handle_unusual;
6843         }
6844         continue;
6845       // optional int64 pos = 3;
6846       case 3:
6847         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
6848           _Internal::set_has_pos(&has_bits);
6849           _impl_.pos_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
6850           CHK_(ptr);
6851         } else {
6852           goto handle_unusual;
6853         }
6854         continue;
6855       // optional uint64 len = 4;
6856       case 4:
6857         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
6858           _Internal::set_has_len(&has_bits);
6859           _impl_.len_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
6860           CHK_(ptr);
6861         } else {
6862           goto handle_unusual;
6863         }
6864         continue;
6865       // optional int32 rw = 5;
6866       case 5:
6867         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) {
6868           _Internal::set_has_rw(&has_bits);
6869           _impl_.rw_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
6870           CHK_(ptr);
6871         } else {
6872           goto handle_unusual;
6873         }
6874         continue;
6875       default:
6876         goto handle_unusual;
6877     }  // switch
6878   handle_unusual:
6879     if ((tag == 0) || ((tag & 7) == 4)) {
6880       CHK_(ptr);
6881       ctx->SetLastTag(tag);
6882       goto message_done;
6883     }
6884     ptr = UnknownFieldParse(
6885         tag,
6886         _internal_metadata_.mutable_unknown_fields<std::string>(),
6887         ptr, ctx);
6888     CHK_(ptr != nullptr);
6889   }  // while
6890 message_done:
6891   _impl_._has_bits_.Or(has_bits);
6892   return ptr;
6893 failure:
6894   ptr = nullptr;
6895   goto message_done;
6896 #undef CHK_
6897 }
6898 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const6899 ::uint8_t* Ext4DirectIOEnterFtraceEvent::_InternalSerialize(
6900     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
6901   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.Ext4DirectIOEnterFtraceEvent)
6902   ::uint32_t cached_has_bits = 0;
6903   (void) cached_has_bits;
6904 
6905   cached_has_bits = _impl_._has_bits_[0];
6906   // optional uint64 dev = 1;
6907   if (cached_has_bits & 0x00000001u) {
6908     target = stream->EnsureSpace(target);
6909     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
6910   }
6911 
6912   // optional uint64 ino = 2;
6913   if (cached_has_bits & 0x00000002u) {
6914     target = stream->EnsureSpace(target);
6915     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_ino(), target);
6916   }
6917 
6918   // optional int64 pos = 3;
6919   if (cached_has_bits & 0x00000004u) {
6920     target = stream->EnsureSpace(target);
6921     target = ::_pbi::WireFormatLite::WriteInt64ToArray(3, this->_internal_pos(), target);
6922   }
6923 
6924   // optional uint64 len = 4;
6925   if (cached_has_bits & 0x00000008u) {
6926     target = stream->EnsureSpace(target);
6927     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(4, this->_internal_len(), target);
6928   }
6929 
6930   // optional int32 rw = 5;
6931   if (cached_has_bits & 0x00000010u) {
6932     target = stream->EnsureSpace(target);
6933     target = ::_pbi::WireFormatLite::WriteInt32ToArray(5, this->_internal_rw(), target);
6934   }
6935 
6936   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
6937     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
6938         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
6939   }
6940   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.Ext4DirectIOEnterFtraceEvent)
6941   return target;
6942 }
6943 
ByteSizeLong() const6944 size_t Ext4DirectIOEnterFtraceEvent::ByteSizeLong() const {
6945 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.Ext4DirectIOEnterFtraceEvent)
6946   size_t total_size = 0;
6947 
6948   ::uint32_t cached_has_bits = 0;
6949   // Prevent compiler warnings about cached_has_bits being unused
6950   (void) cached_has_bits;
6951 
6952   cached_has_bits = _impl_._has_bits_[0];
6953   if (cached_has_bits & 0x0000001fu) {
6954     // optional uint64 dev = 1;
6955     if (cached_has_bits & 0x00000001u) {
6956       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
6957     }
6958 
6959     // optional uint64 ino = 2;
6960     if (cached_has_bits & 0x00000002u) {
6961       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ino());
6962     }
6963 
6964     // optional int64 pos = 3;
6965     if (cached_has_bits & 0x00000004u) {
6966       total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_pos());
6967     }
6968 
6969     // optional uint64 len = 4;
6970     if (cached_has_bits & 0x00000008u) {
6971       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_len());
6972     }
6973 
6974     // optional int32 rw = 5;
6975     if (cached_has_bits & 0x00000010u) {
6976       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_rw());
6977     }
6978 
6979   }
6980   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
6981     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
6982   }
6983   int cached_size = ::_pbi::ToCachedSize(total_size);
6984   SetCachedSize(cached_size);
6985   return total_size;
6986 }
6987 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)6988 void Ext4DirectIOEnterFtraceEvent::CheckTypeAndMergeFrom(
6989     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
6990   MergeFrom(*::_pbi::DownCast<const Ext4DirectIOEnterFtraceEvent*>(
6991       &from));
6992 }
6993 
MergeFrom(const Ext4DirectIOEnterFtraceEvent & from)6994 void Ext4DirectIOEnterFtraceEvent::MergeFrom(const Ext4DirectIOEnterFtraceEvent& from) {
6995   Ext4DirectIOEnterFtraceEvent* const _this = this;
6996   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.Ext4DirectIOEnterFtraceEvent)
6997   GOOGLE_DCHECK_NE(&from, _this);
6998   ::uint32_t cached_has_bits = 0;
6999   (void) cached_has_bits;
7000 
7001   cached_has_bits = from._impl_._has_bits_[0];
7002   if (cached_has_bits & 0x0000001fu) {
7003     if (cached_has_bits & 0x00000001u) {
7004       _this->_impl_.dev_ = from._impl_.dev_;
7005     }
7006     if (cached_has_bits & 0x00000002u) {
7007       _this->_impl_.ino_ = from._impl_.ino_;
7008     }
7009     if (cached_has_bits & 0x00000004u) {
7010       _this->_impl_.pos_ = from._impl_.pos_;
7011     }
7012     if (cached_has_bits & 0x00000008u) {
7013       _this->_impl_.len_ = from._impl_.len_;
7014     }
7015     if (cached_has_bits & 0x00000010u) {
7016       _this->_impl_.rw_ = from._impl_.rw_;
7017     }
7018     _this->_impl_._has_bits_[0] |= cached_has_bits;
7019   }
7020   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
7021 }
7022 
CopyFrom(const Ext4DirectIOEnterFtraceEvent & from)7023 void Ext4DirectIOEnterFtraceEvent::CopyFrom(const Ext4DirectIOEnterFtraceEvent& from) {
7024 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.Ext4DirectIOEnterFtraceEvent)
7025   if (&from == this) return;
7026   Clear();
7027   MergeFrom(from);
7028 }
7029 
IsInitialized() const7030 bool Ext4DirectIOEnterFtraceEvent::IsInitialized() const {
7031   return true;
7032 }
7033 
InternalSwap(Ext4DirectIOEnterFtraceEvent * other)7034 void Ext4DirectIOEnterFtraceEvent::InternalSwap(Ext4DirectIOEnterFtraceEvent* other) {
7035   using std::swap;
7036   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
7037   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
7038   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
7039       PROTOBUF_FIELD_OFFSET(Ext4DirectIOEnterFtraceEvent, _impl_.rw_)
7040       + sizeof(Ext4DirectIOEnterFtraceEvent::_impl_.rw_)  // NOLINT
7041       - PROTOBUF_FIELD_OFFSET(Ext4DirectIOEnterFtraceEvent, _impl_.dev_)>(
7042           reinterpret_cast<char*>(&_impl_.dev_),
7043           reinterpret_cast<char*>(&other->_impl_.dev_));
7044 }
7045 
GetTypeName() const7046 std::string Ext4DirectIOEnterFtraceEvent::GetTypeName() const {
7047   return "perfetto.protos.Ext4DirectIOEnterFtraceEvent";
7048 }
7049 
7050 
7051 // ===================================================================
7052 
7053 class Ext4DirectIOExitFtraceEvent::_Internal {
7054  public:
7055   using HasBits = decltype(std::declval<Ext4DirectIOExitFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)7056   static void set_has_dev(HasBits* has_bits) {
7057     (*has_bits)[0] |= 1u;
7058   }
set_has_ino(HasBits * has_bits)7059   static void set_has_ino(HasBits* has_bits) {
7060     (*has_bits)[0] |= 2u;
7061   }
set_has_pos(HasBits * has_bits)7062   static void set_has_pos(HasBits* has_bits) {
7063     (*has_bits)[0] |= 4u;
7064   }
set_has_len(HasBits * has_bits)7065   static void set_has_len(HasBits* has_bits) {
7066     (*has_bits)[0] |= 8u;
7067   }
set_has_rw(HasBits * has_bits)7068   static void set_has_rw(HasBits* has_bits) {
7069     (*has_bits)[0] |= 16u;
7070   }
set_has_ret(HasBits * has_bits)7071   static void set_has_ret(HasBits* has_bits) {
7072     (*has_bits)[0] |= 32u;
7073   }
7074 };
7075 
Ext4DirectIOExitFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)7076 Ext4DirectIOExitFtraceEvent::Ext4DirectIOExitFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
7077                          bool is_message_owned)
7078   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
7079   SharedCtor(arena, is_message_owned);
7080   // @@protoc_insertion_point(arena_constructor:perfetto.protos.Ext4DirectIOExitFtraceEvent)
7081 }
Ext4DirectIOExitFtraceEvent(const Ext4DirectIOExitFtraceEvent & from)7082 Ext4DirectIOExitFtraceEvent::Ext4DirectIOExitFtraceEvent(const Ext4DirectIOExitFtraceEvent& from)
7083   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
7084   Ext4DirectIOExitFtraceEvent* const _this = this; (void)_this;
7085   new (&_impl_) Impl_{
7086       decltype(_impl_._has_bits_){from._impl_._has_bits_}
7087     , /*decltype(_impl_._cached_size_)*/{}
7088     , decltype(_impl_.dev_){}
7089     , decltype(_impl_.ino_){}
7090     , decltype(_impl_.pos_){}
7091     , decltype(_impl_.len_){}
7092     , decltype(_impl_.rw_){}
7093     , decltype(_impl_.ret_){}};
7094 
7095   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
7096   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
7097     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.ret_) -
7098     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.ret_));
7099   // @@protoc_insertion_point(copy_constructor:perfetto.protos.Ext4DirectIOExitFtraceEvent)
7100 }
7101 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)7102 inline void Ext4DirectIOExitFtraceEvent::SharedCtor(
7103     ::_pb::Arena* arena, bool is_message_owned) {
7104   (void)arena;
7105   (void)is_message_owned;
7106   new (&_impl_) Impl_{
7107       decltype(_impl_._has_bits_){}
7108     , /*decltype(_impl_._cached_size_)*/{}
7109     , decltype(_impl_.dev_){::uint64_t{0u}}
7110     , decltype(_impl_.ino_){::uint64_t{0u}}
7111     , decltype(_impl_.pos_){::int64_t{0}}
7112     , decltype(_impl_.len_){::uint64_t{0u}}
7113     , decltype(_impl_.rw_){0}
7114     , decltype(_impl_.ret_){0}
7115   };
7116 }
7117 
~Ext4DirectIOExitFtraceEvent()7118 Ext4DirectIOExitFtraceEvent::~Ext4DirectIOExitFtraceEvent() {
7119   // @@protoc_insertion_point(destructor:perfetto.protos.Ext4DirectIOExitFtraceEvent)
7120   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
7121   (void)arena;
7122     return;
7123   }
7124   SharedDtor();
7125 }
7126 
SharedDtor()7127 inline void Ext4DirectIOExitFtraceEvent::SharedDtor() {
7128   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
7129 }
7130 
SetCachedSize(int size) const7131 void Ext4DirectIOExitFtraceEvent::SetCachedSize(int size) const {
7132   _impl_._cached_size_.Set(size);
7133 }
7134 
Clear()7135 void Ext4DirectIOExitFtraceEvent::Clear() {
7136 // @@protoc_insertion_point(message_clear_start:perfetto.protos.Ext4DirectIOExitFtraceEvent)
7137   ::uint32_t cached_has_bits = 0;
7138   // Prevent compiler warnings about cached_has_bits being unused
7139   (void) cached_has_bits;
7140 
7141   cached_has_bits = _impl_._has_bits_[0];
7142   if (cached_has_bits & 0x0000003fu) {
7143     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
7144         reinterpret_cast<char*>(&_impl_.ret_) -
7145         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.ret_));
7146   }
7147   _impl_._has_bits_.Clear();
7148   _internal_metadata_.Clear<std::string>();
7149 }
7150 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)7151 const char* Ext4DirectIOExitFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
7152 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
7153   _Internal::HasBits has_bits{};
7154   while (!ctx->Done(&ptr)) {
7155     ::uint32_t tag;
7156     ptr = ::_pbi::ReadTag(ptr, &tag);
7157     switch (tag >> 3) {
7158       // optional uint64 dev = 1;
7159       case 1:
7160         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
7161           _Internal::set_has_dev(&has_bits);
7162           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
7163           CHK_(ptr);
7164         } else {
7165           goto handle_unusual;
7166         }
7167         continue;
7168       // optional uint64 ino = 2;
7169       case 2:
7170         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
7171           _Internal::set_has_ino(&has_bits);
7172           _impl_.ino_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
7173           CHK_(ptr);
7174         } else {
7175           goto handle_unusual;
7176         }
7177         continue;
7178       // optional int64 pos = 3;
7179       case 3:
7180         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
7181           _Internal::set_has_pos(&has_bits);
7182           _impl_.pos_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
7183           CHK_(ptr);
7184         } else {
7185           goto handle_unusual;
7186         }
7187         continue;
7188       // optional uint64 len = 4;
7189       case 4:
7190         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
7191           _Internal::set_has_len(&has_bits);
7192           _impl_.len_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
7193           CHK_(ptr);
7194         } else {
7195           goto handle_unusual;
7196         }
7197         continue;
7198       // optional int32 rw = 5;
7199       case 5:
7200         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) {
7201           _Internal::set_has_rw(&has_bits);
7202           _impl_.rw_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
7203           CHK_(ptr);
7204         } else {
7205           goto handle_unusual;
7206         }
7207         continue;
7208       // optional int32 ret = 6;
7209       case 6:
7210         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 48)) {
7211           _Internal::set_has_ret(&has_bits);
7212           _impl_.ret_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
7213           CHK_(ptr);
7214         } else {
7215           goto handle_unusual;
7216         }
7217         continue;
7218       default:
7219         goto handle_unusual;
7220     }  // switch
7221   handle_unusual:
7222     if ((tag == 0) || ((tag & 7) == 4)) {
7223       CHK_(ptr);
7224       ctx->SetLastTag(tag);
7225       goto message_done;
7226     }
7227     ptr = UnknownFieldParse(
7228         tag,
7229         _internal_metadata_.mutable_unknown_fields<std::string>(),
7230         ptr, ctx);
7231     CHK_(ptr != nullptr);
7232   }  // while
7233 message_done:
7234   _impl_._has_bits_.Or(has_bits);
7235   return ptr;
7236 failure:
7237   ptr = nullptr;
7238   goto message_done;
7239 #undef CHK_
7240 }
7241 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const7242 ::uint8_t* Ext4DirectIOExitFtraceEvent::_InternalSerialize(
7243     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
7244   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.Ext4DirectIOExitFtraceEvent)
7245   ::uint32_t cached_has_bits = 0;
7246   (void) cached_has_bits;
7247 
7248   cached_has_bits = _impl_._has_bits_[0];
7249   // optional uint64 dev = 1;
7250   if (cached_has_bits & 0x00000001u) {
7251     target = stream->EnsureSpace(target);
7252     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
7253   }
7254 
7255   // optional uint64 ino = 2;
7256   if (cached_has_bits & 0x00000002u) {
7257     target = stream->EnsureSpace(target);
7258     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_ino(), target);
7259   }
7260 
7261   // optional int64 pos = 3;
7262   if (cached_has_bits & 0x00000004u) {
7263     target = stream->EnsureSpace(target);
7264     target = ::_pbi::WireFormatLite::WriteInt64ToArray(3, this->_internal_pos(), target);
7265   }
7266 
7267   // optional uint64 len = 4;
7268   if (cached_has_bits & 0x00000008u) {
7269     target = stream->EnsureSpace(target);
7270     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(4, this->_internal_len(), target);
7271   }
7272 
7273   // optional int32 rw = 5;
7274   if (cached_has_bits & 0x00000010u) {
7275     target = stream->EnsureSpace(target);
7276     target = ::_pbi::WireFormatLite::WriteInt32ToArray(5, this->_internal_rw(), target);
7277   }
7278 
7279   // optional int32 ret = 6;
7280   if (cached_has_bits & 0x00000020u) {
7281     target = stream->EnsureSpace(target);
7282     target = ::_pbi::WireFormatLite::WriteInt32ToArray(6, this->_internal_ret(), target);
7283   }
7284 
7285   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
7286     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
7287         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
7288   }
7289   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.Ext4DirectIOExitFtraceEvent)
7290   return target;
7291 }
7292 
ByteSizeLong() const7293 size_t Ext4DirectIOExitFtraceEvent::ByteSizeLong() const {
7294 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.Ext4DirectIOExitFtraceEvent)
7295   size_t total_size = 0;
7296 
7297   ::uint32_t cached_has_bits = 0;
7298   // Prevent compiler warnings about cached_has_bits being unused
7299   (void) cached_has_bits;
7300 
7301   cached_has_bits = _impl_._has_bits_[0];
7302   if (cached_has_bits & 0x0000003fu) {
7303     // optional uint64 dev = 1;
7304     if (cached_has_bits & 0x00000001u) {
7305       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
7306     }
7307 
7308     // optional uint64 ino = 2;
7309     if (cached_has_bits & 0x00000002u) {
7310       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ino());
7311     }
7312 
7313     // optional int64 pos = 3;
7314     if (cached_has_bits & 0x00000004u) {
7315       total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_pos());
7316     }
7317 
7318     // optional uint64 len = 4;
7319     if (cached_has_bits & 0x00000008u) {
7320       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_len());
7321     }
7322 
7323     // optional int32 rw = 5;
7324     if (cached_has_bits & 0x00000010u) {
7325       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_rw());
7326     }
7327 
7328     // optional int32 ret = 6;
7329     if (cached_has_bits & 0x00000020u) {
7330       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_ret());
7331     }
7332 
7333   }
7334   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
7335     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
7336   }
7337   int cached_size = ::_pbi::ToCachedSize(total_size);
7338   SetCachedSize(cached_size);
7339   return total_size;
7340 }
7341 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)7342 void Ext4DirectIOExitFtraceEvent::CheckTypeAndMergeFrom(
7343     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
7344   MergeFrom(*::_pbi::DownCast<const Ext4DirectIOExitFtraceEvent*>(
7345       &from));
7346 }
7347 
MergeFrom(const Ext4DirectIOExitFtraceEvent & from)7348 void Ext4DirectIOExitFtraceEvent::MergeFrom(const Ext4DirectIOExitFtraceEvent& from) {
7349   Ext4DirectIOExitFtraceEvent* const _this = this;
7350   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.Ext4DirectIOExitFtraceEvent)
7351   GOOGLE_DCHECK_NE(&from, _this);
7352   ::uint32_t cached_has_bits = 0;
7353   (void) cached_has_bits;
7354 
7355   cached_has_bits = from._impl_._has_bits_[0];
7356   if (cached_has_bits & 0x0000003fu) {
7357     if (cached_has_bits & 0x00000001u) {
7358       _this->_impl_.dev_ = from._impl_.dev_;
7359     }
7360     if (cached_has_bits & 0x00000002u) {
7361       _this->_impl_.ino_ = from._impl_.ino_;
7362     }
7363     if (cached_has_bits & 0x00000004u) {
7364       _this->_impl_.pos_ = from._impl_.pos_;
7365     }
7366     if (cached_has_bits & 0x00000008u) {
7367       _this->_impl_.len_ = from._impl_.len_;
7368     }
7369     if (cached_has_bits & 0x00000010u) {
7370       _this->_impl_.rw_ = from._impl_.rw_;
7371     }
7372     if (cached_has_bits & 0x00000020u) {
7373       _this->_impl_.ret_ = from._impl_.ret_;
7374     }
7375     _this->_impl_._has_bits_[0] |= cached_has_bits;
7376   }
7377   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
7378 }
7379 
CopyFrom(const Ext4DirectIOExitFtraceEvent & from)7380 void Ext4DirectIOExitFtraceEvent::CopyFrom(const Ext4DirectIOExitFtraceEvent& from) {
7381 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.Ext4DirectIOExitFtraceEvent)
7382   if (&from == this) return;
7383   Clear();
7384   MergeFrom(from);
7385 }
7386 
IsInitialized() const7387 bool Ext4DirectIOExitFtraceEvent::IsInitialized() const {
7388   return true;
7389 }
7390 
InternalSwap(Ext4DirectIOExitFtraceEvent * other)7391 void Ext4DirectIOExitFtraceEvent::InternalSwap(Ext4DirectIOExitFtraceEvent* other) {
7392   using std::swap;
7393   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
7394   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
7395   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
7396       PROTOBUF_FIELD_OFFSET(Ext4DirectIOExitFtraceEvent, _impl_.ret_)
7397       + sizeof(Ext4DirectIOExitFtraceEvent::_impl_.ret_)  // NOLINT
7398       - PROTOBUF_FIELD_OFFSET(Ext4DirectIOExitFtraceEvent, _impl_.dev_)>(
7399           reinterpret_cast<char*>(&_impl_.dev_),
7400           reinterpret_cast<char*>(&other->_impl_.dev_));
7401 }
7402 
GetTypeName() const7403 std::string Ext4DirectIOExitFtraceEvent::GetTypeName() const {
7404   return "perfetto.protos.Ext4DirectIOExitFtraceEvent";
7405 }
7406 
7407 
7408 // ===================================================================
7409 
7410 class Ext4DiscardBlocksFtraceEvent::_Internal {
7411  public:
7412   using HasBits = decltype(std::declval<Ext4DiscardBlocksFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)7413   static void set_has_dev(HasBits* has_bits) {
7414     (*has_bits)[0] |= 1u;
7415   }
set_has_blk(HasBits * has_bits)7416   static void set_has_blk(HasBits* has_bits) {
7417     (*has_bits)[0] |= 2u;
7418   }
set_has_count(HasBits * has_bits)7419   static void set_has_count(HasBits* has_bits) {
7420     (*has_bits)[0] |= 4u;
7421   }
7422 };
7423 
Ext4DiscardBlocksFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)7424 Ext4DiscardBlocksFtraceEvent::Ext4DiscardBlocksFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
7425                          bool is_message_owned)
7426   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
7427   SharedCtor(arena, is_message_owned);
7428   // @@protoc_insertion_point(arena_constructor:perfetto.protos.Ext4DiscardBlocksFtraceEvent)
7429 }
Ext4DiscardBlocksFtraceEvent(const Ext4DiscardBlocksFtraceEvent & from)7430 Ext4DiscardBlocksFtraceEvent::Ext4DiscardBlocksFtraceEvent(const Ext4DiscardBlocksFtraceEvent& from)
7431   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
7432   Ext4DiscardBlocksFtraceEvent* const _this = this; (void)_this;
7433   new (&_impl_) Impl_{
7434       decltype(_impl_._has_bits_){from._impl_._has_bits_}
7435     , /*decltype(_impl_._cached_size_)*/{}
7436     , decltype(_impl_.dev_){}
7437     , decltype(_impl_.blk_){}
7438     , decltype(_impl_.count_){}};
7439 
7440   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
7441   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
7442     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.count_) -
7443     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.count_));
7444   // @@protoc_insertion_point(copy_constructor:perfetto.protos.Ext4DiscardBlocksFtraceEvent)
7445 }
7446 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)7447 inline void Ext4DiscardBlocksFtraceEvent::SharedCtor(
7448     ::_pb::Arena* arena, bool is_message_owned) {
7449   (void)arena;
7450   (void)is_message_owned;
7451   new (&_impl_) Impl_{
7452       decltype(_impl_._has_bits_){}
7453     , /*decltype(_impl_._cached_size_)*/{}
7454     , decltype(_impl_.dev_){::uint64_t{0u}}
7455     , decltype(_impl_.blk_){::uint64_t{0u}}
7456     , decltype(_impl_.count_){::uint64_t{0u}}
7457   };
7458 }
7459 
~Ext4DiscardBlocksFtraceEvent()7460 Ext4DiscardBlocksFtraceEvent::~Ext4DiscardBlocksFtraceEvent() {
7461   // @@protoc_insertion_point(destructor:perfetto.protos.Ext4DiscardBlocksFtraceEvent)
7462   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
7463   (void)arena;
7464     return;
7465   }
7466   SharedDtor();
7467 }
7468 
SharedDtor()7469 inline void Ext4DiscardBlocksFtraceEvent::SharedDtor() {
7470   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
7471 }
7472 
SetCachedSize(int size) const7473 void Ext4DiscardBlocksFtraceEvent::SetCachedSize(int size) const {
7474   _impl_._cached_size_.Set(size);
7475 }
7476 
Clear()7477 void Ext4DiscardBlocksFtraceEvent::Clear() {
7478 // @@protoc_insertion_point(message_clear_start:perfetto.protos.Ext4DiscardBlocksFtraceEvent)
7479   ::uint32_t cached_has_bits = 0;
7480   // Prevent compiler warnings about cached_has_bits being unused
7481   (void) cached_has_bits;
7482 
7483   cached_has_bits = _impl_._has_bits_[0];
7484   if (cached_has_bits & 0x00000007u) {
7485     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
7486         reinterpret_cast<char*>(&_impl_.count_) -
7487         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.count_));
7488   }
7489   _impl_._has_bits_.Clear();
7490   _internal_metadata_.Clear<std::string>();
7491 }
7492 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)7493 const char* Ext4DiscardBlocksFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
7494 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
7495   _Internal::HasBits has_bits{};
7496   while (!ctx->Done(&ptr)) {
7497     ::uint32_t tag;
7498     ptr = ::_pbi::ReadTag(ptr, &tag);
7499     switch (tag >> 3) {
7500       // optional uint64 dev = 1;
7501       case 1:
7502         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
7503           _Internal::set_has_dev(&has_bits);
7504           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
7505           CHK_(ptr);
7506         } else {
7507           goto handle_unusual;
7508         }
7509         continue;
7510       // optional uint64 blk = 2;
7511       case 2:
7512         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
7513           _Internal::set_has_blk(&has_bits);
7514           _impl_.blk_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
7515           CHK_(ptr);
7516         } else {
7517           goto handle_unusual;
7518         }
7519         continue;
7520       // optional uint64 count = 3;
7521       case 3:
7522         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
7523           _Internal::set_has_count(&has_bits);
7524           _impl_.count_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
7525           CHK_(ptr);
7526         } else {
7527           goto handle_unusual;
7528         }
7529         continue;
7530       default:
7531         goto handle_unusual;
7532     }  // switch
7533   handle_unusual:
7534     if ((tag == 0) || ((tag & 7) == 4)) {
7535       CHK_(ptr);
7536       ctx->SetLastTag(tag);
7537       goto message_done;
7538     }
7539     ptr = UnknownFieldParse(
7540         tag,
7541         _internal_metadata_.mutable_unknown_fields<std::string>(),
7542         ptr, ctx);
7543     CHK_(ptr != nullptr);
7544   }  // while
7545 message_done:
7546   _impl_._has_bits_.Or(has_bits);
7547   return ptr;
7548 failure:
7549   ptr = nullptr;
7550   goto message_done;
7551 #undef CHK_
7552 }
7553 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const7554 ::uint8_t* Ext4DiscardBlocksFtraceEvent::_InternalSerialize(
7555     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
7556   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.Ext4DiscardBlocksFtraceEvent)
7557   ::uint32_t cached_has_bits = 0;
7558   (void) cached_has_bits;
7559 
7560   cached_has_bits = _impl_._has_bits_[0];
7561   // optional uint64 dev = 1;
7562   if (cached_has_bits & 0x00000001u) {
7563     target = stream->EnsureSpace(target);
7564     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
7565   }
7566 
7567   // optional uint64 blk = 2;
7568   if (cached_has_bits & 0x00000002u) {
7569     target = stream->EnsureSpace(target);
7570     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_blk(), target);
7571   }
7572 
7573   // optional uint64 count = 3;
7574   if (cached_has_bits & 0x00000004u) {
7575     target = stream->EnsureSpace(target);
7576     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(3, this->_internal_count(), target);
7577   }
7578 
7579   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
7580     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
7581         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
7582   }
7583   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.Ext4DiscardBlocksFtraceEvent)
7584   return target;
7585 }
7586 
ByteSizeLong() const7587 size_t Ext4DiscardBlocksFtraceEvent::ByteSizeLong() const {
7588 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.Ext4DiscardBlocksFtraceEvent)
7589   size_t total_size = 0;
7590 
7591   ::uint32_t cached_has_bits = 0;
7592   // Prevent compiler warnings about cached_has_bits being unused
7593   (void) cached_has_bits;
7594 
7595   cached_has_bits = _impl_._has_bits_[0];
7596   if (cached_has_bits & 0x00000007u) {
7597     // optional uint64 dev = 1;
7598     if (cached_has_bits & 0x00000001u) {
7599       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
7600     }
7601 
7602     // optional uint64 blk = 2;
7603     if (cached_has_bits & 0x00000002u) {
7604       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_blk());
7605     }
7606 
7607     // optional uint64 count = 3;
7608     if (cached_has_bits & 0x00000004u) {
7609       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_count());
7610     }
7611 
7612   }
7613   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
7614     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
7615   }
7616   int cached_size = ::_pbi::ToCachedSize(total_size);
7617   SetCachedSize(cached_size);
7618   return total_size;
7619 }
7620 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)7621 void Ext4DiscardBlocksFtraceEvent::CheckTypeAndMergeFrom(
7622     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
7623   MergeFrom(*::_pbi::DownCast<const Ext4DiscardBlocksFtraceEvent*>(
7624       &from));
7625 }
7626 
MergeFrom(const Ext4DiscardBlocksFtraceEvent & from)7627 void Ext4DiscardBlocksFtraceEvent::MergeFrom(const Ext4DiscardBlocksFtraceEvent& from) {
7628   Ext4DiscardBlocksFtraceEvent* const _this = this;
7629   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.Ext4DiscardBlocksFtraceEvent)
7630   GOOGLE_DCHECK_NE(&from, _this);
7631   ::uint32_t cached_has_bits = 0;
7632   (void) cached_has_bits;
7633 
7634   cached_has_bits = from._impl_._has_bits_[0];
7635   if (cached_has_bits & 0x00000007u) {
7636     if (cached_has_bits & 0x00000001u) {
7637       _this->_impl_.dev_ = from._impl_.dev_;
7638     }
7639     if (cached_has_bits & 0x00000002u) {
7640       _this->_impl_.blk_ = from._impl_.blk_;
7641     }
7642     if (cached_has_bits & 0x00000004u) {
7643       _this->_impl_.count_ = from._impl_.count_;
7644     }
7645     _this->_impl_._has_bits_[0] |= cached_has_bits;
7646   }
7647   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
7648 }
7649 
CopyFrom(const Ext4DiscardBlocksFtraceEvent & from)7650 void Ext4DiscardBlocksFtraceEvent::CopyFrom(const Ext4DiscardBlocksFtraceEvent& from) {
7651 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.Ext4DiscardBlocksFtraceEvent)
7652   if (&from == this) return;
7653   Clear();
7654   MergeFrom(from);
7655 }
7656 
IsInitialized() const7657 bool Ext4DiscardBlocksFtraceEvent::IsInitialized() const {
7658   return true;
7659 }
7660 
InternalSwap(Ext4DiscardBlocksFtraceEvent * other)7661 void Ext4DiscardBlocksFtraceEvent::InternalSwap(Ext4DiscardBlocksFtraceEvent* other) {
7662   using std::swap;
7663   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
7664   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
7665   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
7666       PROTOBUF_FIELD_OFFSET(Ext4DiscardBlocksFtraceEvent, _impl_.count_)
7667       + sizeof(Ext4DiscardBlocksFtraceEvent::_impl_.count_)  // NOLINT
7668       - PROTOBUF_FIELD_OFFSET(Ext4DiscardBlocksFtraceEvent, _impl_.dev_)>(
7669           reinterpret_cast<char*>(&_impl_.dev_),
7670           reinterpret_cast<char*>(&other->_impl_.dev_));
7671 }
7672 
GetTypeName() const7673 std::string Ext4DiscardBlocksFtraceEvent::GetTypeName() const {
7674   return "perfetto.protos.Ext4DiscardBlocksFtraceEvent";
7675 }
7676 
7677 
7678 // ===================================================================
7679 
7680 class Ext4DiscardPreallocationsFtraceEvent::_Internal {
7681  public:
7682   using HasBits = decltype(std::declval<Ext4DiscardPreallocationsFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)7683   static void set_has_dev(HasBits* has_bits) {
7684     (*has_bits)[0] |= 1u;
7685   }
set_has_ino(HasBits * has_bits)7686   static void set_has_ino(HasBits* has_bits) {
7687     (*has_bits)[0] |= 2u;
7688   }
set_has_len(HasBits * has_bits)7689   static void set_has_len(HasBits* has_bits) {
7690     (*has_bits)[0] |= 4u;
7691   }
set_has_needed(HasBits * has_bits)7692   static void set_has_needed(HasBits* has_bits) {
7693     (*has_bits)[0] |= 8u;
7694   }
7695 };
7696 
Ext4DiscardPreallocationsFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)7697 Ext4DiscardPreallocationsFtraceEvent::Ext4DiscardPreallocationsFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
7698                          bool is_message_owned)
7699   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
7700   SharedCtor(arena, is_message_owned);
7701   // @@protoc_insertion_point(arena_constructor:perfetto.protos.Ext4DiscardPreallocationsFtraceEvent)
7702 }
Ext4DiscardPreallocationsFtraceEvent(const Ext4DiscardPreallocationsFtraceEvent & from)7703 Ext4DiscardPreallocationsFtraceEvent::Ext4DiscardPreallocationsFtraceEvent(const Ext4DiscardPreallocationsFtraceEvent& from)
7704   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
7705   Ext4DiscardPreallocationsFtraceEvent* const _this = this; (void)_this;
7706   new (&_impl_) Impl_{
7707       decltype(_impl_._has_bits_){from._impl_._has_bits_}
7708     , /*decltype(_impl_._cached_size_)*/{}
7709     , decltype(_impl_.dev_){}
7710     , decltype(_impl_.ino_){}
7711     , decltype(_impl_.len_){}
7712     , decltype(_impl_.needed_){}};
7713 
7714   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
7715   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
7716     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.needed_) -
7717     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.needed_));
7718   // @@protoc_insertion_point(copy_constructor:perfetto.protos.Ext4DiscardPreallocationsFtraceEvent)
7719 }
7720 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)7721 inline void Ext4DiscardPreallocationsFtraceEvent::SharedCtor(
7722     ::_pb::Arena* arena, bool is_message_owned) {
7723   (void)arena;
7724   (void)is_message_owned;
7725   new (&_impl_) Impl_{
7726       decltype(_impl_._has_bits_){}
7727     , /*decltype(_impl_._cached_size_)*/{}
7728     , decltype(_impl_.dev_){::uint64_t{0u}}
7729     , decltype(_impl_.ino_){::uint64_t{0u}}
7730     , decltype(_impl_.len_){0u}
7731     , decltype(_impl_.needed_){0u}
7732   };
7733 }
7734 
~Ext4DiscardPreallocationsFtraceEvent()7735 Ext4DiscardPreallocationsFtraceEvent::~Ext4DiscardPreallocationsFtraceEvent() {
7736   // @@protoc_insertion_point(destructor:perfetto.protos.Ext4DiscardPreallocationsFtraceEvent)
7737   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
7738   (void)arena;
7739     return;
7740   }
7741   SharedDtor();
7742 }
7743 
SharedDtor()7744 inline void Ext4DiscardPreallocationsFtraceEvent::SharedDtor() {
7745   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
7746 }
7747 
SetCachedSize(int size) const7748 void Ext4DiscardPreallocationsFtraceEvent::SetCachedSize(int size) const {
7749   _impl_._cached_size_.Set(size);
7750 }
7751 
Clear()7752 void Ext4DiscardPreallocationsFtraceEvent::Clear() {
7753 // @@protoc_insertion_point(message_clear_start:perfetto.protos.Ext4DiscardPreallocationsFtraceEvent)
7754   ::uint32_t cached_has_bits = 0;
7755   // Prevent compiler warnings about cached_has_bits being unused
7756   (void) cached_has_bits;
7757 
7758   cached_has_bits = _impl_._has_bits_[0];
7759   if (cached_has_bits & 0x0000000fu) {
7760     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
7761         reinterpret_cast<char*>(&_impl_.needed_) -
7762         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.needed_));
7763   }
7764   _impl_._has_bits_.Clear();
7765   _internal_metadata_.Clear<std::string>();
7766 }
7767 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)7768 const char* Ext4DiscardPreallocationsFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
7769 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
7770   _Internal::HasBits has_bits{};
7771   while (!ctx->Done(&ptr)) {
7772     ::uint32_t tag;
7773     ptr = ::_pbi::ReadTag(ptr, &tag);
7774     switch (tag >> 3) {
7775       // optional uint64 dev = 1;
7776       case 1:
7777         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
7778           _Internal::set_has_dev(&has_bits);
7779           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
7780           CHK_(ptr);
7781         } else {
7782           goto handle_unusual;
7783         }
7784         continue;
7785       // optional uint64 ino = 2;
7786       case 2:
7787         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
7788           _Internal::set_has_ino(&has_bits);
7789           _impl_.ino_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
7790           CHK_(ptr);
7791         } else {
7792           goto handle_unusual;
7793         }
7794         continue;
7795       // optional uint32 len = 3;
7796       case 3:
7797         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
7798           _Internal::set_has_len(&has_bits);
7799           _impl_.len_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
7800           CHK_(ptr);
7801         } else {
7802           goto handle_unusual;
7803         }
7804         continue;
7805       // optional uint32 needed = 4;
7806       case 4:
7807         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
7808           _Internal::set_has_needed(&has_bits);
7809           _impl_.needed_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
7810           CHK_(ptr);
7811         } else {
7812           goto handle_unusual;
7813         }
7814         continue;
7815       default:
7816         goto handle_unusual;
7817     }  // switch
7818   handle_unusual:
7819     if ((tag == 0) || ((tag & 7) == 4)) {
7820       CHK_(ptr);
7821       ctx->SetLastTag(tag);
7822       goto message_done;
7823     }
7824     ptr = UnknownFieldParse(
7825         tag,
7826         _internal_metadata_.mutable_unknown_fields<std::string>(),
7827         ptr, ctx);
7828     CHK_(ptr != nullptr);
7829   }  // while
7830 message_done:
7831   _impl_._has_bits_.Or(has_bits);
7832   return ptr;
7833 failure:
7834   ptr = nullptr;
7835   goto message_done;
7836 #undef CHK_
7837 }
7838 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const7839 ::uint8_t* Ext4DiscardPreallocationsFtraceEvent::_InternalSerialize(
7840     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
7841   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.Ext4DiscardPreallocationsFtraceEvent)
7842   ::uint32_t cached_has_bits = 0;
7843   (void) cached_has_bits;
7844 
7845   cached_has_bits = _impl_._has_bits_[0];
7846   // optional uint64 dev = 1;
7847   if (cached_has_bits & 0x00000001u) {
7848     target = stream->EnsureSpace(target);
7849     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
7850   }
7851 
7852   // optional uint64 ino = 2;
7853   if (cached_has_bits & 0x00000002u) {
7854     target = stream->EnsureSpace(target);
7855     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_ino(), target);
7856   }
7857 
7858   // optional uint32 len = 3;
7859   if (cached_has_bits & 0x00000004u) {
7860     target = stream->EnsureSpace(target);
7861     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_len(), target);
7862   }
7863 
7864   // optional uint32 needed = 4;
7865   if (cached_has_bits & 0x00000008u) {
7866     target = stream->EnsureSpace(target);
7867     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_needed(), target);
7868   }
7869 
7870   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
7871     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
7872         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
7873   }
7874   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.Ext4DiscardPreallocationsFtraceEvent)
7875   return target;
7876 }
7877 
ByteSizeLong() const7878 size_t Ext4DiscardPreallocationsFtraceEvent::ByteSizeLong() const {
7879 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.Ext4DiscardPreallocationsFtraceEvent)
7880   size_t total_size = 0;
7881 
7882   ::uint32_t cached_has_bits = 0;
7883   // Prevent compiler warnings about cached_has_bits being unused
7884   (void) cached_has_bits;
7885 
7886   cached_has_bits = _impl_._has_bits_[0];
7887   if (cached_has_bits & 0x0000000fu) {
7888     // optional uint64 dev = 1;
7889     if (cached_has_bits & 0x00000001u) {
7890       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
7891     }
7892 
7893     // optional uint64 ino = 2;
7894     if (cached_has_bits & 0x00000002u) {
7895       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ino());
7896     }
7897 
7898     // optional uint32 len = 3;
7899     if (cached_has_bits & 0x00000004u) {
7900       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_len());
7901     }
7902 
7903     // optional uint32 needed = 4;
7904     if (cached_has_bits & 0x00000008u) {
7905       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_needed());
7906     }
7907 
7908   }
7909   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
7910     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
7911   }
7912   int cached_size = ::_pbi::ToCachedSize(total_size);
7913   SetCachedSize(cached_size);
7914   return total_size;
7915 }
7916 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)7917 void Ext4DiscardPreallocationsFtraceEvent::CheckTypeAndMergeFrom(
7918     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
7919   MergeFrom(*::_pbi::DownCast<const Ext4DiscardPreallocationsFtraceEvent*>(
7920       &from));
7921 }
7922 
MergeFrom(const Ext4DiscardPreallocationsFtraceEvent & from)7923 void Ext4DiscardPreallocationsFtraceEvent::MergeFrom(const Ext4DiscardPreallocationsFtraceEvent& from) {
7924   Ext4DiscardPreallocationsFtraceEvent* const _this = this;
7925   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.Ext4DiscardPreallocationsFtraceEvent)
7926   GOOGLE_DCHECK_NE(&from, _this);
7927   ::uint32_t cached_has_bits = 0;
7928   (void) cached_has_bits;
7929 
7930   cached_has_bits = from._impl_._has_bits_[0];
7931   if (cached_has_bits & 0x0000000fu) {
7932     if (cached_has_bits & 0x00000001u) {
7933       _this->_impl_.dev_ = from._impl_.dev_;
7934     }
7935     if (cached_has_bits & 0x00000002u) {
7936       _this->_impl_.ino_ = from._impl_.ino_;
7937     }
7938     if (cached_has_bits & 0x00000004u) {
7939       _this->_impl_.len_ = from._impl_.len_;
7940     }
7941     if (cached_has_bits & 0x00000008u) {
7942       _this->_impl_.needed_ = from._impl_.needed_;
7943     }
7944     _this->_impl_._has_bits_[0] |= cached_has_bits;
7945   }
7946   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
7947 }
7948 
CopyFrom(const Ext4DiscardPreallocationsFtraceEvent & from)7949 void Ext4DiscardPreallocationsFtraceEvent::CopyFrom(const Ext4DiscardPreallocationsFtraceEvent& from) {
7950 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.Ext4DiscardPreallocationsFtraceEvent)
7951   if (&from == this) return;
7952   Clear();
7953   MergeFrom(from);
7954 }
7955 
IsInitialized() const7956 bool Ext4DiscardPreallocationsFtraceEvent::IsInitialized() const {
7957   return true;
7958 }
7959 
InternalSwap(Ext4DiscardPreallocationsFtraceEvent * other)7960 void Ext4DiscardPreallocationsFtraceEvent::InternalSwap(Ext4DiscardPreallocationsFtraceEvent* other) {
7961   using std::swap;
7962   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
7963   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
7964   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
7965       PROTOBUF_FIELD_OFFSET(Ext4DiscardPreallocationsFtraceEvent, _impl_.needed_)
7966       + sizeof(Ext4DiscardPreallocationsFtraceEvent::_impl_.needed_)  // NOLINT
7967       - PROTOBUF_FIELD_OFFSET(Ext4DiscardPreallocationsFtraceEvent, _impl_.dev_)>(
7968           reinterpret_cast<char*>(&_impl_.dev_),
7969           reinterpret_cast<char*>(&other->_impl_.dev_));
7970 }
7971 
GetTypeName() const7972 std::string Ext4DiscardPreallocationsFtraceEvent::GetTypeName() const {
7973   return "perfetto.protos.Ext4DiscardPreallocationsFtraceEvent";
7974 }
7975 
7976 
7977 // ===================================================================
7978 
7979 class Ext4DropInodeFtraceEvent::_Internal {
7980  public:
7981   using HasBits = decltype(std::declval<Ext4DropInodeFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)7982   static void set_has_dev(HasBits* has_bits) {
7983     (*has_bits)[0] |= 1u;
7984   }
set_has_ino(HasBits * has_bits)7985   static void set_has_ino(HasBits* has_bits) {
7986     (*has_bits)[0] |= 2u;
7987   }
set_has_drop(HasBits * has_bits)7988   static void set_has_drop(HasBits* has_bits) {
7989     (*has_bits)[0] |= 4u;
7990   }
7991 };
7992 
Ext4DropInodeFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)7993 Ext4DropInodeFtraceEvent::Ext4DropInodeFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
7994                          bool is_message_owned)
7995   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
7996   SharedCtor(arena, is_message_owned);
7997   // @@protoc_insertion_point(arena_constructor:perfetto.protos.Ext4DropInodeFtraceEvent)
7998 }
Ext4DropInodeFtraceEvent(const Ext4DropInodeFtraceEvent & from)7999 Ext4DropInodeFtraceEvent::Ext4DropInodeFtraceEvent(const Ext4DropInodeFtraceEvent& from)
8000   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
8001   Ext4DropInodeFtraceEvent* const _this = this; (void)_this;
8002   new (&_impl_) Impl_{
8003       decltype(_impl_._has_bits_){from._impl_._has_bits_}
8004     , /*decltype(_impl_._cached_size_)*/{}
8005     , decltype(_impl_.dev_){}
8006     , decltype(_impl_.ino_){}
8007     , decltype(_impl_.drop_){}};
8008 
8009   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
8010   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
8011     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.drop_) -
8012     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.drop_));
8013   // @@protoc_insertion_point(copy_constructor:perfetto.protos.Ext4DropInodeFtraceEvent)
8014 }
8015 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)8016 inline void Ext4DropInodeFtraceEvent::SharedCtor(
8017     ::_pb::Arena* arena, bool is_message_owned) {
8018   (void)arena;
8019   (void)is_message_owned;
8020   new (&_impl_) Impl_{
8021       decltype(_impl_._has_bits_){}
8022     , /*decltype(_impl_._cached_size_)*/{}
8023     , decltype(_impl_.dev_){::uint64_t{0u}}
8024     , decltype(_impl_.ino_){::uint64_t{0u}}
8025     , decltype(_impl_.drop_){0}
8026   };
8027 }
8028 
~Ext4DropInodeFtraceEvent()8029 Ext4DropInodeFtraceEvent::~Ext4DropInodeFtraceEvent() {
8030   // @@protoc_insertion_point(destructor:perfetto.protos.Ext4DropInodeFtraceEvent)
8031   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
8032   (void)arena;
8033     return;
8034   }
8035   SharedDtor();
8036 }
8037 
SharedDtor()8038 inline void Ext4DropInodeFtraceEvent::SharedDtor() {
8039   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
8040 }
8041 
SetCachedSize(int size) const8042 void Ext4DropInodeFtraceEvent::SetCachedSize(int size) const {
8043   _impl_._cached_size_.Set(size);
8044 }
8045 
Clear()8046 void Ext4DropInodeFtraceEvent::Clear() {
8047 // @@protoc_insertion_point(message_clear_start:perfetto.protos.Ext4DropInodeFtraceEvent)
8048   ::uint32_t cached_has_bits = 0;
8049   // Prevent compiler warnings about cached_has_bits being unused
8050   (void) cached_has_bits;
8051 
8052   cached_has_bits = _impl_._has_bits_[0];
8053   if (cached_has_bits & 0x00000007u) {
8054     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
8055         reinterpret_cast<char*>(&_impl_.drop_) -
8056         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.drop_));
8057   }
8058   _impl_._has_bits_.Clear();
8059   _internal_metadata_.Clear<std::string>();
8060 }
8061 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)8062 const char* Ext4DropInodeFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
8063 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
8064   _Internal::HasBits has_bits{};
8065   while (!ctx->Done(&ptr)) {
8066     ::uint32_t tag;
8067     ptr = ::_pbi::ReadTag(ptr, &tag);
8068     switch (tag >> 3) {
8069       // optional uint64 dev = 1;
8070       case 1:
8071         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
8072           _Internal::set_has_dev(&has_bits);
8073           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
8074           CHK_(ptr);
8075         } else {
8076           goto handle_unusual;
8077         }
8078         continue;
8079       // optional uint64 ino = 2;
8080       case 2:
8081         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
8082           _Internal::set_has_ino(&has_bits);
8083           _impl_.ino_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
8084           CHK_(ptr);
8085         } else {
8086           goto handle_unusual;
8087         }
8088         continue;
8089       // optional int32 drop = 3;
8090       case 3:
8091         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
8092           _Internal::set_has_drop(&has_bits);
8093           _impl_.drop_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
8094           CHK_(ptr);
8095         } else {
8096           goto handle_unusual;
8097         }
8098         continue;
8099       default:
8100         goto handle_unusual;
8101     }  // switch
8102   handle_unusual:
8103     if ((tag == 0) || ((tag & 7) == 4)) {
8104       CHK_(ptr);
8105       ctx->SetLastTag(tag);
8106       goto message_done;
8107     }
8108     ptr = UnknownFieldParse(
8109         tag,
8110         _internal_metadata_.mutable_unknown_fields<std::string>(),
8111         ptr, ctx);
8112     CHK_(ptr != nullptr);
8113   }  // while
8114 message_done:
8115   _impl_._has_bits_.Or(has_bits);
8116   return ptr;
8117 failure:
8118   ptr = nullptr;
8119   goto message_done;
8120 #undef CHK_
8121 }
8122 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const8123 ::uint8_t* Ext4DropInodeFtraceEvent::_InternalSerialize(
8124     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
8125   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.Ext4DropInodeFtraceEvent)
8126   ::uint32_t cached_has_bits = 0;
8127   (void) cached_has_bits;
8128 
8129   cached_has_bits = _impl_._has_bits_[0];
8130   // optional uint64 dev = 1;
8131   if (cached_has_bits & 0x00000001u) {
8132     target = stream->EnsureSpace(target);
8133     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
8134   }
8135 
8136   // optional uint64 ino = 2;
8137   if (cached_has_bits & 0x00000002u) {
8138     target = stream->EnsureSpace(target);
8139     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_ino(), target);
8140   }
8141 
8142   // optional int32 drop = 3;
8143   if (cached_has_bits & 0x00000004u) {
8144     target = stream->EnsureSpace(target);
8145     target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_drop(), target);
8146   }
8147 
8148   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
8149     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
8150         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
8151   }
8152   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.Ext4DropInodeFtraceEvent)
8153   return target;
8154 }
8155 
ByteSizeLong() const8156 size_t Ext4DropInodeFtraceEvent::ByteSizeLong() const {
8157 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.Ext4DropInodeFtraceEvent)
8158   size_t total_size = 0;
8159 
8160   ::uint32_t cached_has_bits = 0;
8161   // Prevent compiler warnings about cached_has_bits being unused
8162   (void) cached_has_bits;
8163 
8164   cached_has_bits = _impl_._has_bits_[0];
8165   if (cached_has_bits & 0x00000007u) {
8166     // optional uint64 dev = 1;
8167     if (cached_has_bits & 0x00000001u) {
8168       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
8169     }
8170 
8171     // optional uint64 ino = 2;
8172     if (cached_has_bits & 0x00000002u) {
8173       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ino());
8174     }
8175 
8176     // optional int32 drop = 3;
8177     if (cached_has_bits & 0x00000004u) {
8178       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_drop());
8179     }
8180 
8181   }
8182   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
8183     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
8184   }
8185   int cached_size = ::_pbi::ToCachedSize(total_size);
8186   SetCachedSize(cached_size);
8187   return total_size;
8188 }
8189 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)8190 void Ext4DropInodeFtraceEvent::CheckTypeAndMergeFrom(
8191     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
8192   MergeFrom(*::_pbi::DownCast<const Ext4DropInodeFtraceEvent*>(
8193       &from));
8194 }
8195 
MergeFrom(const Ext4DropInodeFtraceEvent & from)8196 void Ext4DropInodeFtraceEvent::MergeFrom(const Ext4DropInodeFtraceEvent& from) {
8197   Ext4DropInodeFtraceEvent* const _this = this;
8198   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.Ext4DropInodeFtraceEvent)
8199   GOOGLE_DCHECK_NE(&from, _this);
8200   ::uint32_t cached_has_bits = 0;
8201   (void) cached_has_bits;
8202 
8203   cached_has_bits = from._impl_._has_bits_[0];
8204   if (cached_has_bits & 0x00000007u) {
8205     if (cached_has_bits & 0x00000001u) {
8206       _this->_impl_.dev_ = from._impl_.dev_;
8207     }
8208     if (cached_has_bits & 0x00000002u) {
8209       _this->_impl_.ino_ = from._impl_.ino_;
8210     }
8211     if (cached_has_bits & 0x00000004u) {
8212       _this->_impl_.drop_ = from._impl_.drop_;
8213     }
8214     _this->_impl_._has_bits_[0] |= cached_has_bits;
8215   }
8216   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
8217 }
8218 
CopyFrom(const Ext4DropInodeFtraceEvent & from)8219 void Ext4DropInodeFtraceEvent::CopyFrom(const Ext4DropInodeFtraceEvent& from) {
8220 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.Ext4DropInodeFtraceEvent)
8221   if (&from == this) return;
8222   Clear();
8223   MergeFrom(from);
8224 }
8225 
IsInitialized() const8226 bool Ext4DropInodeFtraceEvent::IsInitialized() const {
8227   return true;
8228 }
8229 
InternalSwap(Ext4DropInodeFtraceEvent * other)8230 void Ext4DropInodeFtraceEvent::InternalSwap(Ext4DropInodeFtraceEvent* other) {
8231   using std::swap;
8232   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
8233   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
8234   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
8235       PROTOBUF_FIELD_OFFSET(Ext4DropInodeFtraceEvent, _impl_.drop_)
8236       + sizeof(Ext4DropInodeFtraceEvent::_impl_.drop_)  // NOLINT
8237       - PROTOBUF_FIELD_OFFSET(Ext4DropInodeFtraceEvent, _impl_.dev_)>(
8238           reinterpret_cast<char*>(&_impl_.dev_),
8239           reinterpret_cast<char*>(&other->_impl_.dev_));
8240 }
8241 
GetTypeName() const8242 std::string Ext4DropInodeFtraceEvent::GetTypeName() const {
8243   return "perfetto.protos.Ext4DropInodeFtraceEvent";
8244 }
8245 
8246 
8247 // ===================================================================
8248 
8249 class Ext4EsCacheExtentFtraceEvent::_Internal {
8250  public:
8251   using HasBits = decltype(std::declval<Ext4EsCacheExtentFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)8252   static void set_has_dev(HasBits* has_bits) {
8253     (*has_bits)[0] |= 1u;
8254   }
set_has_ino(HasBits * has_bits)8255   static void set_has_ino(HasBits* has_bits) {
8256     (*has_bits)[0] |= 2u;
8257   }
set_has_lblk(HasBits * has_bits)8258   static void set_has_lblk(HasBits* has_bits) {
8259     (*has_bits)[0] |= 4u;
8260   }
set_has_len(HasBits * has_bits)8261   static void set_has_len(HasBits* has_bits) {
8262     (*has_bits)[0] |= 8u;
8263   }
set_has_pblk(HasBits * has_bits)8264   static void set_has_pblk(HasBits* has_bits) {
8265     (*has_bits)[0] |= 16u;
8266   }
set_has_status(HasBits * has_bits)8267   static void set_has_status(HasBits* has_bits) {
8268     (*has_bits)[0] |= 32u;
8269   }
8270 };
8271 
Ext4EsCacheExtentFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)8272 Ext4EsCacheExtentFtraceEvent::Ext4EsCacheExtentFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
8273                          bool is_message_owned)
8274   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
8275   SharedCtor(arena, is_message_owned);
8276   // @@protoc_insertion_point(arena_constructor:perfetto.protos.Ext4EsCacheExtentFtraceEvent)
8277 }
Ext4EsCacheExtentFtraceEvent(const Ext4EsCacheExtentFtraceEvent & from)8278 Ext4EsCacheExtentFtraceEvent::Ext4EsCacheExtentFtraceEvent(const Ext4EsCacheExtentFtraceEvent& from)
8279   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
8280   Ext4EsCacheExtentFtraceEvent* const _this = this; (void)_this;
8281   new (&_impl_) Impl_{
8282       decltype(_impl_._has_bits_){from._impl_._has_bits_}
8283     , /*decltype(_impl_._cached_size_)*/{}
8284     , decltype(_impl_.dev_){}
8285     , decltype(_impl_.ino_){}
8286     , decltype(_impl_.lblk_){}
8287     , decltype(_impl_.len_){}
8288     , decltype(_impl_.pblk_){}
8289     , decltype(_impl_.status_){}};
8290 
8291   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
8292   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
8293     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.status_) -
8294     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.status_));
8295   // @@protoc_insertion_point(copy_constructor:perfetto.protos.Ext4EsCacheExtentFtraceEvent)
8296 }
8297 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)8298 inline void Ext4EsCacheExtentFtraceEvent::SharedCtor(
8299     ::_pb::Arena* arena, bool is_message_owned) {
8300   (void)arena;
8301   (void)is_message_owned;
8302   new (&_impl_) Impl_{
8303       decltype(_impl_._has_bits_){}
8304     , /*decltype(_impl_._cached_size_)*/{}
8305     , decltype(_impl_.dev_){::uint64_t{0u}}
8306     , decltype(_impl_.ino_){::uint64_t{0u}}
8307     , decltype(_impl_.lblk_){0u}
8308     , decltype(_impl_.len_){0u}
8309     , decltype(_impl_.pblk_){::uint64_t{0u}}
8310     , decltype(_impl_.status_){0u}
8311   };
8312 }
8313 
~Ext4EsCacheExtentFtraceEvent()8314 Ext4EsCacheExtentFtraceEvent::~Ext4EsCacheExtentFtraceEvent() {
8315   // @@protoc_insertion_point(destructor:perfetto.protos.Ext4EsCacheExtentFtraceEvent)
8316   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
8317   (void)arena;
8318     return;
8319   }
8320   SharedDtor();
8321 }
8322 
SharedDtor()8323 inline void Ext4EsCacheExtentFtraceEvent::SharedDtor() {
8324   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
8325 }
8326 
SetCachedSize(int size) const8327 void Ext4EsCacheExtentFtraceEvent::SetCachedSize(int size) const {
8328   _impl_._cached_size_.Set(size);
8329 }
8330 
Clear()8331 void Ext4EsCacheExtentFtraceEvent::Clear() {
8332 // @@protoc_insertion_point(message_clear_start:perfetto.protos.Ext4EsCacheExtentFtraceEvent)
8333   ::uint32_t cached_has_bits = 0;
8334   // Prevent compiler warnings about cached_has_bits being unused
8335   (void) cached_has_bits;
8336 
8337   cached_has_bits = _impl_._has_bits_[0];
8338   if (cached_has_bits & 0x0000003fu) {
8339     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
8340         reinterpret_cast<char*>(&_impl_.status_) -
8341         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.status_));
8342   }
8343   _impl_._has_bits_.Clear();
8344   _internal_metadata_.Clear<std::string>();
8345 }
8346 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)8347 const char* Ext4EsCacheExtentFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
8348 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
8349   _Internal::HasBits has_bits{};
8350   while (!ctx->Done(&ptr)) {
8351     ::uint32_t tag;
8352     ptr = ::_pbi::ReadTag(ptr, &tag);
8353     switch (tag >> 3) {
8354       // optional uint64 dev = 1;
8355       case 1:
8356         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
8357           _Internal::set_has_dev(&has_bits);
8358           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
8359           CHK_(ptr);
8360         } else {
8361           goto handle_unusual;
8362         }
8363         continue;
8364       // optional uint64 ino = 2;
8365       case 2:
8366         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
8367           _Internal::set_has_ino(&has_bits);
8368           _impl_.ino_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
8369           CHK_(ptr);
8370         } else {
8371           goto handle_unusual;
8372         }
8373         continue;
8374       // optional uint32 lblk = 3;
8375       case 3:
8376         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
8377           _Internal::set_has_lblk(&has_bits);
8378           _impl_.lblk_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
8379           CHK_(ptr);
8380         } else {
8381           goto handle_unusual;
8382         }
8383         continue;
8384       // optional uint32 len = 4;
8385       case 4:
8386         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
8387           _Internal::set_has_len(&has_bits);
8388           _impl_.len_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
8389           CHK_(ptr);
8390         } else {
8391           goto handle_unusual;
8392         }
8393         continue;
8394       // optional uint64 pblk = 5;
8395       case 5:
8396         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) {
8397           _Internal::set_has_pblk(&has_bits);
8398           _impl_.pblk_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
8399           CHK_(ptr);
8400         } else {
8401           goto handle_unusual;
8402         }
8403         continue;
8404       // optional uint32 status = 6;
8405       case 6:
8406         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 48)) {
8407           _Internal::set_has_status(&has_bits);
8408           _impl_.status_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
8409           CHK_(ptr);
8410         } else {
8411           goto handle_unusual;
8412         }
8413         continue;
8414       default:
8415         goto handle_unusual;
8416     }  // switch
8417   handle_unusual:
8418     if ((tag == 0) || ((tag & 7) == 4)) {
8419       CHK_(ptr);
8420       ctx->SetLastTag(tag);
8421       goto message_done;
8422     }
8423     ptr = UnknownFieldParse(
8424         tag,
8425         _internal_metadata_.mutable_unknown_fields<std::string>(),
8426         ptr, ctx);
8427     CHK_(ptr != nullptr);
8428   }  // while
8429 message_done:
8430   _impl_._has_bits_.Or(has_bits);
8431   return ptr;
8432 failure:
8433   ptr = nullptr;
8434   goto message_done;
8435 #undef CHK_
8436 }
8437 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const8438 ::uint8_t* Ext4EsCacheExtentFtraceEvent::_InternalSerialize(
8439     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
8440   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.Ext4EsCacheExtentFtraceEvent)
8441   ::uint32_t cached_has_bits = 0;
8442   (void) cached_has_bits;
8443 
8444   cached_has_bits = _impl_._has_bits_[0];
8445   // optional uint64 dev = 1;
8446   if (cached_has_bits & 0x00000001u) {
8447     target = stream->EnsureSpace(target);
8448     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
8449   }
8450 
8451   // optional uint64 ino = 2;
8452   if (cached_has_bits & 0x00000002u) {
8453     target = stream->EnsureSpace(target);
8454     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_ino(), target);
8455   }
8456 
8457   // optional uint32 lblk = 3;
8458   if (cached_has_bits & 0x00000004u) {
8459     target = stream->EnsureSpace(target);
8460     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_lblk(), target);
8461   }
8462 
8463   // optional uint32 len = 4;
8464   if (cached_has_bits & 0x00000008u) {
8465     target = stream->EnsureSpace(target);
8466     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_len(), target);
8467   }
8468 
8469   // optional uint64 pblk = 5;
8470   if (cached_has_bits & 0x00000010u) {
8471     target = stream->EnsureSpace(target);
8472     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(5, this->_internal_pblk(), target);
8473   }
8474 
8475   // optional uint32 status = 6;
8476   if (cached_has_bits & 0x00000020u) {
8477     target = stream->EnsureSpace(target);
8478     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_status(), target);
8479   }
8480 
8481   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
8482     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
8483         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
8484   }
8485   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.Ext4EsCacheExtentFtraceEvent)
8486   return target;
8487 }
8488 
ByteSizeLong() const8489 size_t Ext4EsCacheExtentFtraceEvent::ByteSizeLong() const {
8490 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.Ext4EsCacheExtentFtraceEvent)
8491   size_t total_size = 0;
8492 
8493   ::uint32_t cached_has_bits = 0;
8494   // Prevent compiler warnings about cached_has_bits being unused
8495   (void) cached_has_bits;
8496 
8497   cached_has_bits = _impl_._has_bits_[0];
8498   if (cached_has_bits & 0x0000003fu) {
8499     // optional uint64 dev = 1;
8500     if (cached_has_bits & 0x00000001u) {
8501       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
8502     }
8503 
8504     // optional uint64 ino = 2;
8505     if (cached_has_bits & 0x00000002u) {
8506       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ino());
8507     }
8508 
8509     // optional uint32 lblk = 3;
8510     if (cached_has_bits & 0x00000004u) {
8511       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_lblk());
8512     }
8513 
8514     // optional uint32 len = 4;
8515     if (cached_has_bits & 0x00000008u) {
8516       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_len());
8517     }
8518 
8519     // optional uint64 pblk = 5;
8520     if (cached_has_bits & 0x00000010u) {
8521       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_pblk());
8522     }
8523 
8524     // optional uint32 status = 6;
8525     if (cached_has_bits & 0x00000020u) {
8526       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_status());
8527     }
8528 
8529   }
8530   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
8531     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
8532   }
8533   int cached_size = ::_pbi::ToCachedSize(total_size);
8534   SetCachedSize(cached_size);
8535   return total_size;
8536 }
8537 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)8538 void Ext4EsCacheExtentFtraceEvent::CheckTypeAndMergeFrom(
8539     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
8540   MergeFrom(*::_pbi::DownCast<const Ext4EsCacheExtentFtraceEvent*>(
8541       &from));
8542 }
8543 
MergeFrom(const Ext4EsCacheExtentFtraceEvent & from)8544 void Ext4EsCacheExtentFtraceEvent::MergeFrom(const Ext4EsCacheExtentFtraceEvent& from) {
8545   Ext4EsCacheExtentFtraceEvent* const _this = this;
8546   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.Ext4EsCacheExtentFtraceEvent)
8547   GOOGLE_DCHECK_NE(&from, _this);
8548   ::uint32_t cached_has_bits = 0;
8549   (void) cached_has_bits;
8550 
8551   cached_has_bits = from._impl_._has_bits_[0];
8552   if (cached_has_bits & 0x0000003fu) {
8553     if (cached_has_bits & 0x00000001u) {
8554       _this->_impl_.dev_ = from._impl_.dev_;
8555     }
8556     if (cached_has_bits & 0x00000002u) {
8557       _this->_impl_.ino_ = from._impl_.ino_;
8558     }
8559     if (cached_has_bits & 0x00000004u) {
8560       _this->_impl_.lblk_ = from._impl_.lblk_;
8561     }
8562     if (cached_has_bits & 0x00000008u) {
8563       _this->_impl_.len_ = from._impl_.len_;
8564     }
8565     if (cached_has_bits & 0x00000010u) {
8566       _this->_impl_.pblk_ = from._impl_.pblk_;
8567     }
8568     if (cached_has_bits & 0x00000020u) {
8569       _this->_impl_.status_ = from._impl_.status_;
8570     }
8571     _this->_impl_._has_bits_[0] |= cached_has_bits;
8572   }
8573   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
8574 }
8575 
CopyFrom(const Ext4EsCacheExtentFtraceEvent & from)8576 void Ext4EsCacheExtentFtraceEvent::CopyFrom(const Ext4EsCacheExtentFtraceEvent& from) {
8577 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.Ext4EsCacheExtentFtraceEvent)
8578   if (&from == this) return;
8579   Clear();
8580   MergeFrom(from);
8581 }
8582 
IsInitialized() const8583 bool Ext4EsCacheExtentFtraceEvent::IsInitialized() const {
8584   return true;
8585 }
8586 
InternalSwap(Ext4EsCacheExtentFtraceEvent * other)8587 void Ext4EsCacheExtentFtraceEvent::InternalSwap(Ext4EsCacheExtentFtraceEvent* other) {
8588   using std::swap;
8589   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
8590   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
8591   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
8592       PROTOBUF_FIELD_OFFSET(Ext4EsCacheExtentFtraceEvent, _impl_.status_)
8593       + sizeof(Ext4EsCacheExtentFtraceEvent::_impl_.status_)  // NOLINT
8594       - PROTOBUF_FIELD_OFFSET(Ext4EsCacheExtentFtraceEvent, _impl_.dev_)>(
8595           reinterpret_cast<char*>(&_impl_.dev_),
8596           reinterpret_cast<char*>(&other->_impl_.dev_));
8597 }
8598 
GetTypeName() const8599 std::string Ext4EsCacheExtentFtraceEvent::GetTypeName() const {
8600   return "perfetto.protos.Ext4EsCacheExtentFtraceEvent";
8601 }
8602 
8603 
8604 // ===================================================================
8605 
8606 class Ext4EsFindDelayedExtentRangeEnterFtraceEvent::_Internal {
8607  public:
8608   using HasBits = decltype(std::declval<Ext4EsFindDelayedExtentRangeEnterFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)8609   static void set_has_dev(HasBits* has_bits) {
8610     (*has_bits)[0] |= 1u;
8611   }
set_has_ino(HasBits * has_bits)8612   static void set_has_ino(HasBits* has_bits) {
8613     (*has_bits)[0] |= 2u;
8614   }
set_has_lblk(HasBits * has_bits)8615   static void set_has_lblk(HasBits* has_bits) {
8616     (*has_bits)[0] |= 4u;
8617   }
8618 };
8619 
Ext4EsFindDelayedExtentRangeEnterFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)8620 Ext4EsFindDelayedExtentRangeEnterFtraceEvent::Ext4EsFindDelayedExtentRangeEnterFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
8621                          bool is_message_owned)
8622   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
8623   SharedCtor(arena, is_message_owned);
8624   // @@protoc_insertion_point(arena_constructor:perfetto.protos.Ext4EsFindDelayedExtentRangeEnterFtraceEvent)
8625 }
Ext4EsFindDelayedExtentRangeEnterFtraceEvent(const Ext4EsFindDelayedExtentRangeEnterFtraceEvent & from)8626 Ext4EsFindDelayedExtentRangeEnterFtraceEvent::Ext4EsFindDelayedExtentRangeEnterFtraceEvent(const Ext4EsFindDelayedExtentRangeEnterFtraceEvent& from)
8627   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
8628   Ext4EsFindDelayedExtentRangeEnterFtraceEvent* const _this = this; (void)_this;
8629   new (&_impl_) Impl_{
8630       decltype(_impl_._has_bits_){from._impl_._has_bits_}
8631     , /*decltype(_impl_._cached_size_)*/{}
8632     , decltype(_impl_.dev_){}
8633     , decltype(_impl_.ino_){}
8634     , decltype(_impl_.lblk_){}};
8635 
8636   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
8637   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
8638     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.lblk_) -
8639     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.lblk_));
8640   // @@protoc_insertion_point(copy_constructor:perfetto.protos.Ext4EsFindDelayedExtentRangeEnterFtraceEvent)
8641 }
8642 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)8643 inline void Ext4EsFindDelayedExtentRangeEnterFtraceEvent::SharedCtor(
8644     ::_pb::Arena* arena, bool is_message_owned) {
8645   (void)arena;
8646   (void)is_message_owned;
8647   new (&_impl_) Impl_{
8648       decltype(_impl_._has_bits_){}
8649     , /*decltype(_impl_._cached_size_)*/{}
8650     , decltype(_impl_.dev_){::uint64_t{0u}}
8651     , decltype(_impl_.ino_){::uint64_t{0u}}
8652     , decltype(_impl_.lblk_){0u}
8653   };
8654 }
8655 
~Ext4EsFindDelayedExtentRangeEnterFtraceEvent()8656 Ext4EsFindDelayedExtentRangeEnterFtraceEvent::~Ext4EsFindDelayedExtentRangeEnterFtraceEvent() {
8657   // @@protoc_insertion_point(destructor:perfetto.protos.Ext4EsFindDelayedExtentRangeEnterFtraceEvent)
8658   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
8659   (void)arena;
8660     return;
8661   }
8662   SharedDtor();
8663 }
8664 
SharedDtor()8665 inline void Ext4EsFindDelayedExtentRangeEnterFtraceEvent::SharedDtor() {
8666   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
8667 }
8668 
SetCachedSize(int size) const8669 void Ext4EsFindDelayedExtentRangeEnterFtraceEvent::SetCachedSize(int size) const {
8670   _impl_._cached_size_.Set(size);
8671 }
8672 
Clear()8673 void Ext4EsFindDelayedExtentRangeEnterFtraceEvent::Clear() {
8674 // @@protoc_insertion_point(message_clear_start:perfetto.protos.Ext4EsFindDelayedExtentRangeEnterFtraceEvent)
8675   ::uint32_t cached_has_bits = 0;
8676   // Prevent compiler warnings about cached_has_bits being unused
8677   (void) cached_has_bits;
8678 
8679   cached_has_bits = _impl_._has_bits_[0];
8680   if (cached_has_bits & 0x00000007u) {
8681     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
8682         reinterpret_cast<char*>(&_impl_.lblk_) -
8683         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.lblk_));
8684   }
8685   _impl_._has_bits_.Clear();
8686   _internal_metadata_.Clear<std::string>();
8687 }
8688 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)8689 const char* Ext4EsFindDelayedExtentRangeEnterFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
8690 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
8691   _Internal::HasBits has_bits{};
8692   while (!ctx->Done(&ptr)) {
8693     ::uint32_t tag;
8694     ptr = ::_pbi::ReadTag(ptr, &tag);
8695     switch (tag >> 3) {
8696       // optional uint64 dev = 1;
8697       case 1:
8698         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
8699           _Internal::set_has_dev(&has_bits);
8700           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
8701           CHK_(ptr);
8702         } else {
8703           goto handle_unusual;
8704         }
8705         continue;
8706       // optional uint64 ino = 2;
8707       case 2:
8708         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
8709           _Internal::set_has_ino(&has_bits);
8710           _impl_.ino_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
8711           CHK_(ptr);
8712         } else {
8713           goto handle_unusual;
8714         }
8715         continue;
8716       // optional uint32 lblk = 3;
8717       case 3:
8718         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
8719           _Internal::set_has_lblk(&has_bits);
8720           _impl_.lblk_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
8721           CHK_(ptr);
8722         } else {
8723           goto handle_unusual;
8724         }
8725         continue;
8726       default:
8727         goto handle_unusual;
8728     }  // switch
8729   handle_unusual:
8730     if ((tag == 0) || ((tag & 7) == 4)) {
8731       CHK_(ptr);
8732       ctx->SetLastTag(tag);
8733       goto message_done;
8734     }
8735     ptr = UnknownFieldParse(
8736         tag,
8737         _internal_metadata_.mutable_unknown_fields<std::string>(),
8738         ptr, ctx);
8739     CHK_(ptr != nullptr);
8740   }  // while
8741 message_done:
8742   _impl_._has_bits_.Or(has_bits);
8743   return ptr;
8744 failure:
8745   ptr = nullptr;
8746   goto message_done;
8747 #undef CHK_
8748 }
8749 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const8750 ::uint8_t* Ext4EsFindDelayedExtentRangeEnterFtraceEvent::_InternalSerialize(
8751     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
8752   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.Ext4EsFindDelayedExtentRangeEnterFtraceEvent)
8753   ::uint32_t cached_has_bits = 0;
8754   (void) cached_has_bits;
8755 
8756   cached_has_bits = _impl_._has_bits_[0];
8757   // optional uint64 dev = 1;
8758   if (cached_has_bits & 0x00000001u) {
8759     target = stream->EnsureSpace(target);
8760     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
8761   }
8762 
8763   // optional uint64 ino = 2;
8764   if (cached_has_bits & 0x00000002u) {
8765     target = stream->EnsureSpace(target);
8766     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_ino(), target);
8767   }
8768 
8769   // optional uint32 lblk = 3;
8770   if (cached_has_bits & 0x00000004u) {
8771     target = stream->EnsureSpace(target);
8772     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_lblk(), target);
8773   }
8774 
8775   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
8776     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
8777         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
8778   }
8779   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.Ext4EsFindDelayedExtentRangeEnterFtraceEvent)
8780   return target;
8781 }
8782 
ByteSizeLong() const8783 size_t Ext4EsFindDelayedExtentRangeEnterFtraceEvent::ByteSizeLong() const {
8784 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.Ext4EsFindDelayedExtentRangeEnterFtraceEvent)
8785   size_t total_size = 0;
8786 
8787   ::uint32_t cached_has_bits = 0;
8788   // Prevent compiler warnings about cached_has_bits being unused
8789   (void) cached_has_bits;
8790 
8791   cached_has_bits = _impl_._has_bits_[0];
8792   if (cached_has_bits & 0x00000007u) {
8793     // optional uint64 dev = 1;
8794     if (cached_has_bits & 0x00000001u) {
8795       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
8796     }
8797 
8798     // optional uint64 ino = 2;
8799     if (cached_has_bits & 0x00000002u) {
8800       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ino());
8801     }
8802 
8803     // optional uint32 lblk = 3;
8804     if (cached_has_bits & 0x00000004u) {
8805       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_lblk());
8806     }
8807 
8808   }
8809   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
8810     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
8811   }
8812   int cached_size = ::_pbi::ToCachedSize(total_size);
8813   SetCachedSize(cached_size);
8814   return total_size;
8815 }
8816 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)8817 void Ext4EsFindDelayedExtentRangeEnterFtraceEvent::CheckTypeAndMergeFrom(
8818     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
8819   MergeFrom(*::_pbi::DownCast<const Ext4EsFindDelayedExtentRangeEnterFtraceEvent*>(
8820       &from));
8821 }
8822 
MergeFrom(const Ext4EsFindDelayedExtentRangeEnterFtraceEvent & from)8823 void Ext4EsFindDelayedExtentRangeEnterFtraceEvent::MergeFrom(const Ext4EsFindDelayedExtentRangeEnterFtraceEvent& from) {
8824   Ext4EsFindDelayedExtentRangeEnterFtraceEvent* const _this = this;
8825   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.Ext4EsFindDelayedExtentRangeEnterFtraceEvent)
8826   GOOGLE_DCHECK_NE(&from, _this);
8827   ::uint32_t cached_has_bits = 0;
8828   (void) cached_has_bits;
8829 
8830   cached_has_bits = from._impl_._has_bits_[0];
8831   if (cached_has_bits & 0x00000007u) {
8832     if (cached_has_bits & 0x00000001u) {
8833       _this->_impl_.dev_ = from._impl_.dev_;
8834     }
8835     if (cached_has_bits & 0x00000002u) {
8836       _this->_impl_.ino_ = from._impl_.ino_;
8837     }
8838     if (cached_has_bits & 0x00000004u) {
8839       _this->_impl_.lblk_ = from._impl_.lblk_;
8840     }
8841     _this->_impl_._has_bits_[0] |= cached_has_bits;
8842   }
8843   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
8844 }
8845 
CopyFrom(const Ext4EsFindDelayedExtentRangeEnterFtraceEvent & from)8846 void Ext4EsFindDelayedExtentRangeEnterFtraceEvent::CopyFrom(const Ext4EsFindDelayedExtentRangeEnterFtraceEvent& from) {
8847 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.Ext4EsFindDelayedExtentRangeEnterFtraceEvent)
8848   if (&from == this) return;
8849   Clear();
8850   MergeFrom(from);
8851 }
8852 
IsInitialized() const8853 bool Ext4EsFindDelayedExtentRangeEnterFtraceEvent::IsInitialized() const {
8854   return true;
8855 }
8856 
InternalSwap(Ext4EsFindDelayedExtentRangeEnterFtraceEvent * other)8857 void Ext4EsFindDelayedExtentRangeEnterFtraceEvent::InternalSwap(Ext4EsFindDelayedExtentRangeEnterFtraceEvent* other) {
8858   using std::swap;
8859   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
8860   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
8861   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
8862       PROTOBUF_FIELD_OFFSET(Ext4EsFindDelayedExtentRangeEnterFtraceEvent, _impl_.lblk_)
8863       + sizeof(Ext4EsFindDelayedExtentRangeEnterFtraceEvent::_impl_.lblk_)  // NOLINT
8864       - PROTOBUF_FIELD_OFFSET(Ext4EsFindDelayedExtentRangeEnterFtraceEvent, _impl_.dev_)>(
8865           reinterpret_cast<char*>(&_impl_.dev_),
8866           reinterpret_cast<char*>(&other->_impl_.dev_));
8867 }
8868 
GetTypeName() const8869 std::string Ext4EsFindDelayedExtentRangeEnterFtraceEvent::GetTypeName() const {
8870   return "perfetto.protos.Ext4EsFindDelayedExtentRangeEnterFtraceEvent";
8871 }
8872 
8873 
8874 // ===================================================================
8875 
8876 class Ext4EsFindDelayedExtentRangeExitFtraceEvent::_Internal {
8877  public:
8878   using HasBits = decltype(std::declval<Ext4EsFindDelayedExtentRangeExitFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)8879   static void set_has_dev(HasBits* has_bits) {
8880     (*has_bits)[0] |= 1u;
8881   }
set_has_ino(HasBits * has_bits)8882   static void set_has_ino(HasBits* has_bits) {
8883     (*has_bits)[0] |= 2u;
8884   }
set_has_lblk(HasBits * has_bits)8885   static void set_has_lblk(HasBits* has_bits) {
8886     (*has_bits)[0] |= 4u;
8887   }
set_has_len(HasBits * has_bits)8888   static void set_has_len(HasBits* has_bits) {
8889     (*has_bits)[0] |= 8u;
8890   }
set_has_pblk(HasBits * has_bits)8891   static void set_has_pblk(HasBits* has_bits) {
8892     (*has_bits)[0] |= 16u;
8893   }
set_has_status(HasBits * has_bits)8894   static void set_has_status(HasBits* has_bits) {
8895     (*has_bits)[0] |= 32u;
8896   }
8897 };
8898 
Ext4EsFindDelayedExtentRangeExitFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)8899 Ext4EsFindDelayedExtentRangeExitFtraceEvent::Ext4EsFindDelayedExtentRangeExitFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
8900                          bool is_message_owned)
8901   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
8902   SharedCtor(arena, is_message_owned);
8903   // @@protoc_insertion_point(arena_constructor:perfetto.protos.Ext4EsFindDelayedExtentRangeExitFtraceEvent)
8904 }
Ext4EsFindDelayedExtentRangeExitFtraceEvent(const Ext4EsFindDelayedExtentRangeExitFtraceEvent & from)8905 Ext4EsFindDelayedExtentRangeExitFtraceEvent::Ext4EsFindDelayedExtentRangeExitFtraceEvent(const Ext4EsFindDelayedExtentRangeExitFtraceEvent& from)
8906   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
8907   Ext4EsFindDelayedExtentRangeExitFtraceEvent* const _this = this; (void)_this;
8908   new (&_impl_) Impl_{
8909       decltype(_impl_._has_bits_){from._impl_._has_bits_}
8910     , /*decltype(_impl_._cached_size_)*/{}
8911     , decltype(_impl_.dev_){}
8912     , decltype(_impl_.ino_){}
8913     , decltype(_impl_.lblk_){}
8914     , decltype(_impl_.len_){}
8915     , decltype(_impl_.pblk_){}
8916     , decltype(_impl_.status_){}};
8917 
8918   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
8919   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
8920     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.status_) -
8921     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.status_));
8922   // @@protoc_insertion_point(copy_constructor:perfetto.protos.Ext4EsFindDelayedExtentRangeExitFtraceEvent)
8923 }
8924 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)8925 inline void Ext4EsFindDelayedExtentRangeExitFtraceEvent::SharedCtor(
8926     ::_pb::Arena* arena, bool is_message_owned) {
8927   (void)arena;
8928   (void)is_message_owned;
8929   new (&_impl_) Impl_{
8930       decltype(_impl_._has_bits_){}
8931     , /*decltype(_impl_._cached_size_)*/{}
8932     , decltype(_impl_.dev_){::uint64_t{0u}}
8933     , decltype(_impl_.ino_){::uint64_t{0u}}
8934     , decltype(_impl_.lblk_){0u}
8935     , decltype(_impl_.len_){0u}
8936     , decltype(_impl_.pblk_){::uint64_t{0u}}
8937     , decltype(_impl_.status_){::uint64_t{0u}}
8938   };
8939 }
8940 
~Ext4EsFindDelayedExtentRangeExitFtraceEvent()8941 Ext4EsFindDelayedExtentRangeExitFtraceEvent::~Ext4EsFindDelayedExtentRangeExitFtraceEvent() {
8942   // @@protoc_insertion_point(destructor:perfetto.protos.Ext4EsFindDelayedExtentRangeExitFtraceEvent)
8943   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
8944   (void)arena;
8945     return;
8946   }
8947   SharedDtor();
8948 }
8949 
SharedDtor()8950 inline void Ext4EsFindDelayedExtentRangeExitFtraceEvent::SharedDtor() {
8951   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
8952 }
8953 
SetCachedSize(int size) const8954 void Ext4EsFindDelayedExtentRangeExitFtraceEvent::SetCachedSize(int size) const {
8955   _impl_._cached_size_.Set(size);
8956 }
8957 
Clear()8958 void Ext4EsFindDelayedExtentRangeExitFtraceEvent::Clear() {
8959 // @@protoc_insertion_point(message_clear_start:perfetto.protos.Ext4EsFindDelayedExtentRangeExitFtraceEvent)
8960   ::uint32_t cached_has_bits = 0;
8961   // Prevent compiler warnings about cached_has_bits being unused
8962   (void) cached_has_bits;
8963 
8964   cached_has_bits = _impl_._has_bits_[0];
8965   if (cached_has_bits & 0x0000003fu) {
8966     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
8967         reinterpret_cast<char*>(&_impl_.status_) -
8968         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.status_));
8969   }
8970   _impl_._has_bits_.Clear();
8971   _internal_metadata_.Clear<std::string>();
8972 }
8973 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)8974 const char* Ext4EsFindDelayedExtentRangeExitFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
8975 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
8976   _Internal::HasBits has_bits{};
8977   while (!ctx->Done(&ptr)) {
8978     ::uint32_t tag;
8979     ptr = ::_pbi::ReadTag(ptr, &tag);
8980     switch (tag >> 3) {
8981       // optional uint64 dev = 1;
8982       case 1:
8983         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
8984           _Internal::set_has_dev(&has_bits);
8985           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
8986           CHK_(ptr);
8987         } else {
8988           goto handle_unusual;
8989         }
8990         continue;
8991       // optional uint64 ino = 2;
8992       case 2:
8993         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
8994           _Internal::set_has_ino(&has_bits);
8995           _impl_.ino_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
8996           CHK_(ptr);
8997         } else {
8998           goto handle_unusual;
8999         }
9000         continue;
9001       // optional uint32 lblk = 3;
9002       case 3:
9003         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
9004           _Internal::set_has_lblk(&has_bits);
9005           _impl_.lblk_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
9006           CHK_(ptr);
9007         } else {
9008           goto handle_unusual;
9009         }
9010         continue;
9011       // optional uint32 len = 4;
9012       case 4:
9013         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
9014           _Internal::set_has_len(&has_bits);
9015           _impl_.len_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
9016           CHK_(ptr);
9017         } else {
9018           goto handle_unusual;
9019         }
9020         continue;
9021       // optional uint64 pblk = 5;
9022       case 5:
9023         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) {
9024           _Internal::set_has_pblk(&has_bits);
9025           _impl_.pblk_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
9026           CHK_(ptr);
9027         } else {
9028           goto handle_unusual;
9029         }
9030         continue;
9031       // optional uint64 status = 6;
9032       case 6:
9033         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 48)) {
9034           _Internal::set_has_status(&has_bits);
9035           _impl_.status_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
9036           CHK_(ptr);
9037         } else {
9038           goto handle_unusual;
9039         }
9040         continue;
9041       default:
9042         goto handle_unusual;
9043     }  // switch
9044   handle_unusual:
9045     if ((tag == 0) || ((tag & 7) == 4)) {
9046       CHK_(ptr);
9047       ctx->SetLastTag(tag);
9048       goto message_done;
9049     }
9050     ptr = UnknownFieldParse(
9051         tag,
9052         _internal_metadata_.mutable_unknown_fields<std::string>(),
9053         ptr, ctx);
9054     CHK_(ptr != nullptr);
9055   }  // while
9056 message_done:
9057   _impl_._has_bits_.Or(has_bits);
9058   return ptr;
9059 failure:
9060   ptr = nullptr;
9061   goto message_done;
9062 #undef CHK_
9063 }
9064 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const9065 ::uint8_t* Ext4EsFindDelayedExtentRangeExitFtraceEvent::_InternalSerialize(
9066     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
9067   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.Ext4EsFindDelayedExtentRangeExitFtraceEvent)
9068   ::uint32_t cached_has_bits = 0;
9069   (void) cached_has_bits;
9070 
9071   cached_has_bits = _impl_._has_bits_[0];
9072   // optional uint64 dev = 1;
9073   if (cached_has_bits & 0x00000001u) {
9074     target = stream->EnsureSpace(target);
9075     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
9076   }
9077 
9078   // optional uint64 ino = 2;
9079   if (cached_has_bits & 0x00000002u) {
9080     target = stream->EnsureSpace(target);
9081     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_ino(), target);
9082   }
9083 
9084   // optional uint32 lblk = 3;
9085   if (cached_has_bits & 0x00000004u) {
9086     target = stream->EnsureSpace(target);
9087     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_lblk(), target);
9088   }
9089 
9090   // optional uint32 len = 4;
9091   if (cached_has_bits & 0x00000008u) {
9092     target = stream->EnsureSpace(target);
9093     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_len(), target);
9094   }
9095 
9096   // optional uint64 pblk = 5;
9097   if (cached_has_bits & 0x00000010u) {
9098     target = stream->EnsureSpace(target);
9099     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(5, this->_internal_pblk(), target);
9100   }
9101 
9102   // optional uint64 status = 6;
9103   if (cached_has_bits & 0x00000020u) {
9104     target = stream->EnsureSpace(target);
9105     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(6, this->_internal_status(), target);
9106   }
9107 
9108   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
9109     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
9110         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
9111   }
9112   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.Ext4EsFindDelayedExtentRangeExitFtraceEvent)
9113   return target;
9114 }
9115 
ByteSizeLong() const9116 size_t Ext4EsFindDelayedExtentRangeExitFtraceEvent::ByteSizeLong() const {
9117 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.Ext4EsFindDelayedExtentRangeExitFtraceEvent)
9118   size_t total_size = 0;
9119 
9120   ::uint32_t cached_has_bits = 0;
9121   // Prevent compiler warnings about cached_has_bits being unused
9122   (void) cached_has_bits;
9123 
9124   cached_has_bits = _impl_._has_bits_[0];
9125   if (cached_has_bits & 0x0000003fu) {
9126     // optional uint64 dev = 1;
9127     if (cached_has_bits & 0x00000001u) {
9128       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
9129     }
9130 
9131     // optional uint64 ino = 2;
9132     if (cached_has_bits & 0x00000002u) {
9133       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ino());
9134     }
9135 
9136     // optional uint32 lblk = 3;
9137     if (cached_has_bits & 0x00000004u) {
9138       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_lblk());
9139     }
9140 
9141     // optional uint32 len = 4;
9142     if (cached_has_bits & 0x00000008u) {
9143       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_len());
9144     }
9145 
9146     // optional uint64 pblk = 5;
9147     if (cached_has_bits & 0x00000010u) {
9148       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_pblk());
9149     }
9150 
9151     // optional uint64 status = 6;
9152     if (cached_has_bits & 0x00000020u) {
9153       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_status());
9154     }
9155 
9156   }
9157   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
9158     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
9159   }
9160   int cached_size = ::_pbi::ToCachedSize(total_size);
9161   SetCachedSize(cached_size);
9162   return total_size;
9163 }
9164 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)9165 void Ext4EsFindDelayedExtentRangeExitFtraceEvent::CheckTypeAndMergeFrom(
9166     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
9167   MergeFrom(*::_pbi::DownCast<const Ext4EsFindDelayedExtentRangeExitFtraceEvent*>(
9168       &from));
9169 }
9170 
MergeFrom(const Ext4EsFindDelayedExtentRangeExitFtraceEvent & from)9171 void Ext4EsFindDelayedExtentRangeExitFtraceEvent::MergeFrom(const Ext4EsFindDelayedExtentRangeExitFtraceEvent& from) {
9172   Ext4EsFindDelayedExtentRangeExitFtraceEvent* const _this = this;
9173   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.Ext4EsFindDelayedExtentRangeExitFtraceEvent)
9174   GOOGLE_DCHECK_NE(&from, _this);
9175   ::uint32_t cached_has_bits = 0;
9176   (void) cached_has_bits;
9177 
9178   cached_has_bits = from._impl_._has_bits_[0];
9179   if (cached_has_bits & 0x0000003fu) {
9180     if (cached_has_bits & 0x00000001u) {
9181       _this->_impl_.dev_ = from._impl_.dev_;
9182     }
9183     if (cached_has_bits & 0x00000002u) {
9184       _this->_impl_.ino_ = from._impl_.ino_;
9185     }
9186     if (cached_has_bits & 0x00000004u) {
9187       _this->_impl_.lblk_ = from._impl_.lblk_;
9188     }
9189     if (cached_has_bits & 0x00000008u) {
9190       _this->_impl_.len_ = from._impl_.len_;
9191     }
9192     if (cached_has_bits & 0x00000010u) {
9193       _this->_impl_.pblk_ = from._impl_.pblk_;
9194     }
9195     if (cached_has_bits & 0x00000020u) {
9196       _this->_impl_.status_ = from._impl_.status_;
9197     }
9198     _this->_impl_._has_bits_[0] |= cached_has_bits;
9199   }
9200   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
9201 }
9202 
CopyFrom(const Ext4EsFindDelayedExtentRangeExitFtraceEvent & from)9203 void Ext4EsFindDelayedExtentRangeExitFtraceEvent::CopyFrom(const Ext4EsFindDelayedExtentRangeExitFtraceEvent& from) {
9204 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.Ext4EsFindDelayedExtentRangeExitFtraceEvent)
9205   if (&from == this) return;
9206   Clear();
9207   MergeFrom(from);
9208 }
9209 
IsInitialized() const9210 bool Ext4EsFindDelayedExtentRangeExitFtraceEvent::IsInitialized() const {
9211   return true;
9212 }
9213 
InternalSwap(Ext4EsFindDelayedExtentRangeExitFtraceEvent * other)9214 void Ext4EsFindDelayedExtentRangeExitFtraceEvent::InternalSwap(Ext4EsFindDelayedExtentRangeExitFtraceEvent* other) {
9215   using std::swap;
9216   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
9217   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
9218   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
9219       PROTOBUF_FIELD_OFFSET(Ext4EsFindDelayedExtentRangeExitFtraceEvent, _impl_.status_)
9220       + sizeof(Ext4EsFindDelayedExtentRangeExitFtraceEvent::_impl_.status_)  // NOLINT
9221       - PROTOBUF_FIELD_OFFSET(Ext4EsFindDelayedExtentRangeExitFtraceEvent, _impl_.dev_)>(
9222           reinterpret_cast<char*>(&_impl_.dev_),
9223           reinterpret_cast<char*>(&other->_impl_.dev_));
9224 }
9225 
GetTypeName() const9226 std::string Ext4EsFindDelayedExtentRangeExitFtraceEvent::GetTypeName() const {
9227   return "perfetto.protos.Ext4EsFindDelayedExtentRangeExitFtraceEvent";
9228 }
9229 
9230 
9231 // ===================================================================
9232 
9233 class Ext4EsInsertExtentFtraceEvent::_Internal {
9234  public:
9235   using HasBits = decltype(std::declval<Ext4EsInsertExtentFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)9236   static void set_has_dev(HasBits* has_bits) {
9237     (*has_bits)[0] |= 1u;
9238   }
set_has_ino(HasBits * has_bits)9239   static void set_has_ino(HasBits* has_bits) {
9240     (*has_bits)[0] |= 2u;
9241   }
set_has_lblk(HasBits * has_bits)9242   static void set_has_lblk(HasBits* has_bits) {
9243     (*has_bits)[0] |= 4u;
9244   }
set_has_len(HasBits * has_bits)9245   static void set_has_len(HasBits* has_bits) {
9246     (*has_bits)[0] |= 8u;
9247   }
set_has_pblk(HasBits * has_bits)9248   static void set_has_pblk(HasBits* has_bits) {
9249     (*has_bits)[0] |= 16u;
9250   }
set_has_status(HasBits * has_bits)9251   static void set_has_status(HasBits* has_bits) {
9252     (*has_bits)[0] |= 32u;
9253   }
9254 };
9255 
Ext4EsInsertExtentFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)9256 Ext4EsInsertExtentFtraceEvent::Ext4EsInsertExtentFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
9257                          bool is_message_owned)
9258   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
9259   SharedCtor(arena, is_message_owned);
9260   // @@protoc_insertion_point(arena_constructor:perfetto.protos.Ext4EsInsertExtentFtraceEvent)
9261 }
Ext4EsInsertExtentFtraceEvent(const Ext4EsInsertExtentFtraceEvent & from)9262 Ext4EsInsertExtentFtraceEvent::Ext4EsInsertExtentFtraceEvent(const Ext4EsInsertExtentFtraceEvent& from)
9263   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
9264   Ext4EsInsertExtentFtraceEvent* const _this = this; (void)_this;
9265   new (&_impl_) Impl_{
9266       decltype(_impl_._has_bits_){from._impl_._has_bits_}
9267     , /*decltype(_impl_._cached_size_)*/{}
9268     , decltype(_impl_.dev_){}
9269     , decltype(_impl_.ino_){}
9270     , decltype(_impl_.lblk_){}
9271     , decltype(_impl_.len_){}
9272     , decltype(_impl_.pblk_){}
9273     , decltype(_impl_.status_){}};
9274 
9275   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
9276   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
9277     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.status_) -
9278     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.status_));
9279   // @@protoc_insertion_point(copy_constructor:perfetto.protos.Ext4EsInsertExtentFtraceEvent)
9280 }
9281 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)9282 inline void Ext4EsInsertExtentFtraceEvent::SharedCtor(
9283     ::_pb::Arena* arena, bool is_message_owned) {
9284   (void)arena;
9285   (void)is_message_owned;
9286   new (&_impl_) Impl_{
9287       decltype(_impl_._has_bits_){}
9288     , /*decltype(_impl_._cached_size_)*/{}
9289     , decltype(_impl_.dev_){::uint64_t{0u}}
9290     , decltype(_impl_.ino_){::uint64_t{0u}}
9291     , decltype(_impl_.lblk_){0u}
9292     , decltype(_impl_.len_){0u}
9293     , decltype(_impl_.pblk_){::uint64_t{0u}}
9294     , decltype(_impl_.status_){::uint64_t{0u}}
9295   };
9296 }
9297 
~Ext4EsInsertExtentFtraceEvent()9298 Ext4EsInsertExtentFtraceEvent::~Ext4EsInsertExtentFtraceEvent() {
9299   // @@protoc_insertion_point(destructor:perfetto.protos.Ext4EsInsertExtentFtraceEvent)
9300   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
9301   (void)arena;
9302     return;
9303   }
9304   SharedDtor();
9305 }
9306 
SharedDtor()9307 inline void Ext4EsInsertExtentFtraceEvent::SharedDtor() {
9308   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
9309 }
9310 
SetCachedSize(int size) const9311 void Ext4EsInsertExtentFtraceEvent::SetCachedSize(int size) const {
9312   _impl_._cached_size_.Set(size);
9313 }
9314 
Clear()9315 void Ext4EsInsertExtentFtraceEvent::Clear() {
9316 // @@protoc_insertion_point(message_clear_start:perfetto.protos.Ext4EsInsertExtentFtraceEvent)
9317   ::uint32_t cached_has_bits = 0;
9318   // Prevent compiler warnings about cached_has_bits being unused
9319   (void) cached_has_bits;
9320 
9321   cached_has_bits = _impl_._has_bits_[0];
9322   if (cached_has_bits & 0x0000003fu) {
9323     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
9324         reinterpret_cast<char*>(&_impl_.status_) -
9325         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.status_));
9326   }
9327   _impl_._has_bits_.Clear();
9328   _internal_metadata_.Clear<std::string>();
9329 }
9330 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)9331 const char* Ext4EsInsertExtentFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
9332 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
9333   _Internal::HasBits has_bits{};
9334   while (!ctx->Done(&ptr)) {
9335     ::uint32_t tag;
9336     ptr = ::_pbi::ReadTag(ptr, &tag);
9337     switch (tag >> 3) {
9338       // optional uint64 dev = 1;
9339       case 1:
9340         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
9341           _Internal::set_has_dev(&has_bits);
9342           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
9343           CHK_(ptr);
9344         } else {
9345           goto handle_unusual;
9346         }
9347         continue;
9348       // optional uint64 ino = 2;
9349       case 2:
9350         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
9351           _Internal::set_has_ino(&has_bits);
9352           _impl_.ino_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
9353           CHK_(ptr);
9354         } else {
9355           goto handle_unusual;
9356         }
9357         continue;
9358       // optional uint32 lblk = 3;
9359       case 3:
9360         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
9361           _Internal::set_has_lblk(&has_bits);
9362           _impl_.lblk_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
9363           CHK_(ptr);
9364         } else {
9365           goto handle_unusual;
9366         }
9367         continue;
9368       // optional uint32 len = 4;
9369       case 4:
9370         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
9371           _Internal::set_has_len(&has_bits);
9372           _impl_.len_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
9373           CHK_(ptr);
9374         } else {
9375           goto handle_unusual;
9376         }
9377         continue;
9378       // optional uint64 pblk = 5;
9379       case 5:
9380         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) {
9381           _Internal::set_has_pblk(&has_bits);
9382           _impl_.pblk_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
9383           CHK_(ptr);
9384         } else {
9385           goto handle_unusual;
9386         }
9387         continue;
9388       // optional uint64 status = 6;
9389       case 6:
9390         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 48)) {
9391           _Internal::set_has_status(&has_bits);
9392           _impl_.status_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
9393           CHK_(ptr);
9394         } else {
9395           goto handle_unusual;
9396         }
9397         continue;
9398       default:
9399         goto handle_unusual;
9400     }  // switch
9401   handle_unusual:
9402     if ((tag == 0) || ((tag & 7) == 4)) {
9403       CHK_(ptr);
9404       ctx->SetLastTag(tag);
9405       goto message_done;
9406     }
9407     ptr = UnknownFieldParse(
9408         tag,
9409         _internal_metadata_.mutable_unknown_fields<std::string>(),
9410         ptr, ctx);
9411     CHK_(ptr != nullptr);
9412   }  // while
9413 message_done:
9414   _impl_._has_bits_.Or(has_bits);
9415   return ptr;
9416 failure:
9417   ptr = nullptr;
9418   goto message_done;
9419 #undef CHK_
9420 }
9421 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const9422 ::uint8_t* Ext4EsInsertExtentFtraceEvent::_InternalSerialize(
9423     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
9424   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.Ext4EsInsertExtentFtraceEvent)
9425   ::uint32_t cached_has_bits = 0;
9426   (void) cached_has_bits;
9427 
9428   cached_has_bits = _impl_._has_bits_[0];
9429   // optional uint64 dev = 1;
9430   if (cached_has_bits & 0x00000001u) {
9431     target = stream->EnsureSpace(target);
9432     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
9433   }
9434 
9435   // optional uint64 ino = 2;
9436   if (cached_has_bits & 0x00000002u) {
9437     target = stream->EnsureSpace(target);
9438     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_ino(), target);
9439   }
9440 
9441   // optional uint32 lblk = 3;
9442   if (cached_has_bits & 0x00000004u) {
9443     target = stream->EnsureSpace(target);
9444     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_lblk(), target);
9445   }
9446 
9447   // optional uint32 len = 4;
9448   if (cached_has_bits & 0x00000008u) {
9449     target = stream->EnsureSpace(target);
9450     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_len(), target);
9451   }
9452 
9453   // optional uint64 pblk = 5;
9454   if (cached_has_bits & 0x00000010u) {
9455     target = stream->EnsureSpace(target);
9456     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(5, this->_internal_pblk(), target);
9457   }
9458 
9459   // optional uint64 status = 6;
9460   if (cached_has_bits & 0x00000020u) {
9461     target = stream->EnsureSpace(target);
9462     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(6, this->_internal_status(), target);
9463   }
9464 
9465   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
9466     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
9467         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
9468   }
9469   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.Ext4EsInsertExtentFtraceEvent)
9470   return target;
9471 }
9472 
ByteSizeLong() const9473 size_t Ext4EsInsertExtentFtraceEvent::ByteSizeLong() const {
9474 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.Ext4EsInsertExtentFtraceEvent)
9475   size_t total_size = 0;
9476 
9477   ::uint32_t cached_has_bits = 0;
9478   // Prevent compiler warnings about cached_has_bits being unused
9479   (void) cached_has_bits;
9480 
9481   cached_has_bits = _impl_._has_bits_[0];
9482   if (cached_has_bits & 0x0000003fu) {
9483     // optional uint64 dev = 1;
9484     if (cached_has_bits & 0x00000001u) {
9485       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
9486     }
9487 
9488     // optional uint64 ino = 2;
9489     if (cached_has_bits & 0x00000002u) {
9490       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ino());
9491     }
9492 
9493     // optional uint32 lblk = 3;
9494     if (cached_has_bits & 0x00000004u) {
9495       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_lblk());
9496     }
9497 
9498     // optional uint32 len = 4;
9499     if (cached_has_bits & 0x00000008u) {
9500       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_len());
9501     }
9502 
9503     // optional uint64 pblk = 5;
9504     if (cached_has_bits & 0x00000010u) {
9505       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_pblk());
9506     }
9507 
9508     // optional uint64 status = 6;
9509     if (cached_has_bits & 0x00000020u) {
9510       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_status());
9511     }
9512 
9513   }
9514   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
9515     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
9516   }
9517   int cached_size = ::_pbi::ToCachedSize(total_size);
9518   SetCachedSize(cached_size);
9519   return total_size;
9520 }
9521 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)9522 void Ext4EsInsertExtentFtraceEvent::CheckTypeAndMergeFrom(
9523     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
9524   MergeFrom(*::_pbi::DownCast<const Ext4EsInsertExtentFtraceEvent*>(
9525       &from));
9526 }
9527 
MergeFrom(const Ext4EsInsertExtentFtraceEvent & from)9528 void Ext4EsInsertExtentFtraceEvent::MergeFrom(const Ext4EsInsertExtentFtraceEvent& from) {
9529   Ext4EsInsertExtentFtraceEvent* const _this = this;
9530   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.Ext4EsInsertExtentFtraceEvent)
9531   GOOGLE_DCHECK_NE(&from, _this);
9532   ::uint32_t cached_has_bits = 0;
9533   (void) cached_has_bits;
9534 
9535   cached_has_bits = from._impl_._has_bits_[0];
9536   if (cached_has_bits & 0x0000003fu) {
9537     if (cached_has_bits & 0x00000001u) {
9538       _this->_impl_.dev_ = from._impl_.dev_;
9539     }
9540     if (cached_has_bits & 0x00000002u) {
9541       _this->_impl_.ino_ = from._impl_.ino_;
9542     }
9543     if (cached_has_bits & 0x00000004u) {
9544       _this->_impl_.lblk_ = from._impl_.lblk_;
9545     }
9546     if (cached_has_bits & 0x00000008u) {
9547       _this->_impl_.len_ = from._impl_.len_;
9548     }
9549     if (cached_has_bits & 0x00000010u) {
9550       _this->_impl_.pblk_ = from._impl_.pblk_;
9551     }
9552     if (cached_has_bits & 0x00000020u) {
9553       _this->_impl_.status_ = from._impl_.status_;
9554     }
9555     _this->_impl_._has_bits_[0] |= cached_has_bits;
9556   }
9557   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
9558 }
9559 
CopyFrom(const Ext4EsInsertExtentFtraceEvent & from)9560 void Ext4EsInsertExtentFtraceEvent::CopyFrom(const Ext4EsInsertExtentFtraceEvent& from) {
9561 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.Ext4EsInsertExtentFtraceEvent)
9562   if (&from == this) return;
9563   Clear();
9564   MergeFrom(from);
9565 }
9566 
IsInitialized() const9567 bool Ext4EsInsertExtentFtraceEvent::IsInitialized() const {
9568   return true;
9569 }
9570 
InternalSwap(Ext4EsInsertExtentFtraceEvent * other)9571 void Ext4EsInsertExtentFtraceEvent::InternalSwap(Ext4EsInsertExtentFtraceEvent* other) {
9572   using std::swap;
9573   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
9574   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
9575   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
9576       PROTOBUF_FIELD_OFFSET(Ext4EsInsertExtentFtraceEvent, _impl_.status_)
9577       + sizeof(Ext4EsInsertExtentFtraceEvent::_impl_.status_)  // NOLINT
9578       - PROTOBUF_FIELD_OFFSET(Ext4EsInsertExtentFtraceEvent, _impl_.dev_)>(
9579           reinterpret_cast<char*>(&_impl_.dev_),
9580           reinterpret_cast<char*>(&other->_impl_.dev_));
9581 }
9582 
GetTypeName() const9583 std::string Ext4EsInsertExtentFtraceEvent::GetTypeName() const {
9584   return "perfetto.protos.Ext4EsInsertExtentFtraceEvent";
9585 }
9586 
9587 
9588 // ===================================================================
9589 
9590 class Ext4EsLookupExtentEnterFtraceEvent::_Internal {
9591  public:
9592   using HasBits = decltype(std::declval<Ext4EsLookupExtentEnterFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)9593   static void set_has_dev(HasBits* has_bits) {
9594     (*has_bits)[0] |= 1u;
9595   }
set_has_ino(HasBits * has_bits)9596   static void set_has_ino(HasBits* has_bits) {
9597     (*has_bits)[0] |= 2u;
9598   }
set_has_lblk(HasBits * has_bits)9599   static void set_has_lblk(HasBits* has_bits) {
9600     (*has_bits)[0] |= 4u;
9601   }
9602 };
9603 
Ext4EsLookupExtentEnterFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)9604 Ext4EsLookupExtentEnterFtraceEvent::Ext4EsLookupExtentEnterFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
9605                          bool is_message_owned)
9606   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
9607   SharedCtor(arena, is_message_owned);
9608   // @@protoc_insertion_point(arena_constructor:perfetto.protos.Ext4EsLookupExtentEnterFtraceEvent)
9609 }
Ext4EsLookupExtentEnterFtraceEvent(const Ext4EsLookupExtentEnterFtraceEvent & from)9610 Ext4EsLookupExtentEnterFtraceEvent::Ext4EsLookupExtentEnterFtraceEvent(const Ext4EsLookupExtentEnterFtraceEvent& from)
9611   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
9612   Ext4EsLookupExtentEnterFtraceEvent* const _this = this; (void)_this;
9613   new (&_impl_) Impl_{
9614       decltype(_impl_._has_bits_){from._impl_._has_bits_}
9615     , /*decltype(_impl_._cached_size_)*/{}
9616     , decltype(_impl_.dev_){}
9617     , decltype(_impl_.ino_){}
9618     , decltype(_impl_.lblk_){}};
9619 
9620   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
9621   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
9622     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.lblk_) -
9623     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.lblk_));
9624   // @@protoc_insertion_point(copy_constructor:perfetto.protos.Ext4EsLookupExtentEnterFtraceEvent)
9625 }
9626 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)9627 inline void Ext4EsLookupExtentEnterFtraceEvent::SharedCtor(
9628     ::_pb::Arena* arena, bool is_message_owned) {
9629   (void)arena;
9630   (void)is_message_owned;
9631   new (&_impl_) Impl_{
9632       decltype(_impl_._has_bits_){}
9633     , /*decltype(_impl_._cached_size_)*/{}
9634     , decltype(_impl_.dev_){::uint64_t{0u}}
9635     , decltype(_impl_.ino_){::uint64_t{0u}}
9636     , decltype(_impl_.lblk_){0u}
9637   };
9638 }
9639 
~Ext4EsLookupExtentEnterFtraceEvent()9640 Ext4EsLookupExtentEnterFtraceEvent::~Ext4EsLookupExtentEnterFtraceEvent() {
9641   // @@protoc_insertion_point(destructor:perfetto.protos.Ext4EsLookupExtentEnterFtraceEvent)
9642   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
9643   (void)arena;
9644     return;
9645   }
9646   SharedDtor();
9647 }
9648 
SharedDtor()9649 inline void Ext4EsLookupExtentEnterFtraceEvent::SharedDtor() {
9650   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
9651 }
9652 
SetCachedSize(int size) const9653 void Ext4EsLookupExtentEnterFtraceEvent::SetCachedSize(int size) const {
9654   _impl_._cached_size_.Set(size);
9655 }
9656 
Clear()9657 void Ext4EsLookupExtentEnterFtraceEvent::Clear() {
9658 // @@protoc_insertion_point(message_clear_start:perfetto.protos.Ext4EsLookupExtentEnterFtraceEvent)
9659   ::uint32_t cached_has_bits = 0;
9660   // Prevent compiler warnings about cached_has_bits being unused
9661   (void) cached_has_bits;
9662 
9663   cached_has_bits = _impl_._has_bits_[0];
9664   if (cached_has_bits & 0x00000007u) {
9665     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
9666         reinterpret_cast<char*>(&_impl_.lblk_) -
9667         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.lblk_));
9668   }
9669   _impl_._has_bits_.Clear();
9670   _internal_metadata_.Clear<std::string>();
9671 }
9672 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)9673 const char* Ext4EsLookupExtentEnterFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
9674 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
9675   _Internal::HasBits has_bits{};
9676   while (!ctx->Done(&ptr)) {
9677     ::uint32_t tag;
9678     ptr = ::_pbi::ReadTag(ptr, &tag);
9679     switch (tag >> 3) {
9680       // optional uint64 dev = 1;
9681       case 1:
9682         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
9683           _Internal::set_has_dev(&has_bits);
9684           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
9685           CHK_(ptr);
9686         } else {
9687           goto handle_unusual;
9688         }
9689         continue;
9690       // optional uint64 ino = 2;
9691       case 2:
9692         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
9693           _Internal::set_has_ino(&has_bits);
9694           _impl_.ino_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
9695           CHK_(ptr);
9696         } else {
9697           goto handle_unusual;
9698         }
9699         continue;
9700       // optional uint32 lblk = 3;
9701       case 3:
9702         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
9703           _Internal::set_has_lblk(&has_bits);
9704           _impl_.lblk_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
9705           CHK_(ptr);
9706         } else {
9707           goto handle_unusual;
9708         }
9709         continue;
9710       default:
9711         goto handle_unusual;
9712     }  // switch
9713   handle_unusual:
9714     if ((tag == 0) || ((tag & 7) == 4)) {
9715       CHK_(ptr);
9716       ctx->SetLastTag(tag);
9717       goto message_done;
9718     }
9719     ptr = UnknownFieldParse(
9720         tag,
9721         _internal_metadata_.mutable_unknown_fields<std::string>(),
9722         ptr, ctx);
9723     CHK_(ptr != nullptr);
9724   }  // while
9725 message_done:
9726   _impl_._has_bits_.Or(has_bits);
9727   return ptr;
9728 failure:
9729   ptr = nullptr;
9730   goto message_done;
9731 #undef CHK_
9732 }
9733 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const9734 ::uint8_t* Ext4EsLookupExtentEnterFtraceEvent::_InternalSerialize(
9735     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
9736   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.Ext4EsLookupExtentEnterFtraceEvent)
9737   ::uint32_t cached_has_bits = 0;
9738   (void) cached_has_bits;
9739 
9740   cached_has_bits = _impl_._has_bits_[0];
9741   // optional uint64 dev = 1;
9742   if (cached_has_bits & 0x00000001u) {
9743     target = stream->EnsureSpace(target);
9744     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
9745   }
9746 
9747   // optional uint64 ino = 2;
9748   if (cached_has_bits & 0x00000002u) {
9749     target = stream->EnsureSpace(target);
9750     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_ino(), target);
9751   }
9752 
9753   // optional uint32 lblk = 3;
9754   if (cached_has_bits & 0x00000004u) {
9755     target = stream->EnsureSpace(target);
9756     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_lblk(), target);
9757   }
9758 
9759   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
9760     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
9761         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
9762   }
9763   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.Ext4EsLookupExtentEnterFtraceEvent)
9764   return target;
9765 }
9766 
ByteSizeLong() const9767 size_t Ext4EsLookupExtentEnterFtraceEvent::ByteSizeLong() const {
9768 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.Ext4EsLookupExtentEnterFtraceEvent)
9769   size_t total_size = 0;
9770 
9771   ::uint32_t cached_has_bits = 0;
9772   // Prevent compiler warnings about cached_has_bits being unused
9773   (void) cached_has_bits;
9774 
9775   cached_has_bits = _impl_._has_bits_[0];
9776   if (cached_has_bits & 0x00000007u) {
9777     // optional uint64 dev = 1;
9778     if (cached_has_bits & 0x00000001u) {
9779       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
9780     }
9781 
9782     // optional uint64 ino = 2;
9783     if (cached_has_bits & 0x00000002u) {
9784       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ino());
9785     }
9786 
9787     // optional uint32 lblk = 3;
9788     if (cached_has_bits & 0x00000004u) {
9789       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_lblk());
9790     }
9791 
9792   }
9793   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
9794     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
9795   }
9796   int cached_size = ::_pbi::ToCachedSize(total_size);
9797   SetCachedSize(cached_size);
9798   return total_size;
9799 }
9800 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)9801 void Ext4EsLookupExtentEnterFtraceEvent::CheckTypeAndMergeFrom(
9802     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
9803   MergeFrom(*::_pbi::DownCast<const Ext4EsLookupExtentEnterFtraceEvent*>(
9804       &from));
9805 }
9806 
MergeFrom(const Ext4EsLookupExtentEnterFtraceEvent & from)9807 void Ext4EsLookupExtentEnterFtraceEvent::MergeFrom(const Ext4EsLookupExtentEnterFtraceEvent& from) {
9808   Ext4EsLookupExtentEnterFtraceEvent* const _this = this;
9809   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.Ext4EsLookupExtentEnterFtraceEvent)
9810   GOOGLE_DCHECK_NE(&from, _this);
9811   ::uint32_t cached_has_bits = 0;
9812   (void) cached_has_bits;
9813 
9814   cached_has_bits = from._impl_._has_bits_[0];
9815   if (cached_has_bits & 0x00000007u) {
9816     if (cached_has_bits & 0x00000001u) {
9817       _this->_impl_.dev_ = from._impl_.dev_;
9818     }
9819     if (cached_has_bits & 0x00000002u) {
9820       _this->_impl_.ino_ = from._impl_.ino_;
9821     }
9822     if (cached_has_bits & 0x00000004u) {
9823       _this->_impl_.lblk_ = from._impl_.lblk_;
9824     }
9825     _this->_impl_._has_bits_[0] |= cached_has_bits;
9826   }
9827   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
9828 }
9829 
CopyFrom(const Ext4EsLookupExtentEnterFtraceEvent & from)9830 void Ext4EsLookupExtentEnterFtraceEvent::CopyFrom(const Ext4EsLookupExtentEnterFtraceEvent& from) {
9831 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.Ext4EsLookupExtentEnterFtraceEvent)
9832   if (&from == this) return;
9833   Clear();
9834   MergeFrom(from);
9835 }
9836 
IsInitialized() const9837 bool Ext4EsLookupExtentEnterFtraceEvent::IsInitialized() const {
9838   return true;
9839 }
9840 
InternalSwap(Ext4EsLookupExtentEnterFtraceEvent * other)9841 void Ext4EsLookupExtentEnterFtraceEvent::InternalSwap(Ext4EsLookupExtentEnterFtraceEvent* other) {
9842   using std::swap;
9843   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
9844   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
9845   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
9846       PROTOBUF_FIELD_OFFSET(Ext4EsLookupExtentEnterFtraceEvent, _impl_.lblk_)
9847       + sizeof(Ext4EsLookupExtentEnterFtraceEvent::_impl_.lblk_)  // NOLINT
9848       - PROTOBUF_FIELD_OFFSET(Ext4EsLookupExtentEnterFtraceEvent, _impl_.dev_)>(
9849           reinterpret_cast<char*>(&_impl_.dev_),
9850           reinterpret_cast<char*>(&other->_impl_.dev_));
9851 }
9852 
GetTypeName() const9853 std::string Ext4EsLookupExtentEnterFtraceEvent::GetTypeName() const {
9854   return "perfetto.protos.Ext4EsLookupExtentEnterFtraceEvent";
9855 }
9856 
9857 
9858 // ===================================================================
9859 
9860 class Ext4EsLookupExtentExitFtraceEvent::_Internal {
9861  public:
9862   using HasBits = decltype(std::declval<Ext4EsLookupExtentExitFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)9863   static void set_has_dev(HasBits* has_bits) {
9864     (*has_bits)[0] |= 1u;
9865   }
set_has_ino(HasBits * has_bits)9866   static void set_has_ino(HasBits* has_bits) {
9867     (*has_bits)[0] |= 2u;
9868   }
set_has_lblk(HasBits * has_bits)9869   static void set_has_lblk(HasBits* has_bits) {
9870     (*has_bits)[0] |= 4u;
9871   }
set_has_len(HasBits * has_bits)9872   static void set_has_len(HasBits* has_bits) {
9873     (*has_bits)[0] |= 8u;
9874   }
set_has_pblk(HasBits * has_bits)9875   static void set_has_pblk(HasBits* has_bits) {
9876     (*has_bits)[0] |= 16u;
9877   }
set_has_status(HasBits * has_bits)9878   static void set_has_status(HasBits* has_bits) {
9879     (*has_bits)[0] |= 32u;
9880   }
set_has_found(HasBits * has_bits)9881   static void set_has_found(HasBits* has_bits) {
9882     (*has_bits)[0] |= 64u;
9883   }
9884 };
9885 
Ext4EsLookupExtentExitFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)9886 Ext4EsLookupExtentExitFtraceEvent::Ext4EsLookupExtentExitFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
9887                          bool is_message_owned)
9888   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
9889   SharedCtor(arena, is_message_owned);
9890   // @@protoc_insertion_point(arena_constructor:perfetto.protos.Ext4EsLookupExtentExitFtraceEvent)
9891 }
Ext4EsLookupExtentExitFtraceEvent(const Ext4EsLookupExtentExitFtraceEvent & from)9892 Ext4EsLookupExtentExitFtraceEvent::Ext4EsLookupExtentExitFtraceEvent(const Ext4EsLookupExtentExitFtraceEvent& from)
9893   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
9894   Ext4EsLookupExtentExitFtraceEvent* const _this = this; (void)_this;
9895   new (&_impl_) Impl_{
9896       decltype(_impl_._has_bits_){from._impl_._has_bits_}
9897     , /*decltype(_impl_._cached_size_)*/{}
9898     , decltype(_impl_.dev_){}
9899     , decltype(_impl_.ino_){}
9900     , decltype(_impl_.lblk_){}
9901     , decltype(_impl_.len_){}
9902     , decltype(_impl_.pblk_){}
9903     , decltype(_impl_.status_){}
9904     , decltype(_impl_.found_){}};
9905 
9906   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
9907   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
9908     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.found_) -
9909     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.found_));
9910   // @@protoc_insertion_point(copy_constructor:perfetto.protos.Ext4EsLookupExtentExitFtraceEvent)
9911 }
9912 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)9913 inline void Ext4EsLookupExtentExitFtraceEvent::SharedCtor(
9914     ::_pb::Arena* arena, bool is_message_owned) {
9915   (void)arena;
9916   (void)is_message_owned;
9917   new (&_impl_) Impl_{
9918       decltype(_impl_._has_bits_){}
9919     , /*decltype(_impl_._cached_size_)*/{}
9920     , decltype(_impl_.dev_){::uint64_t{0u}}
9921     , decltype(_impl_.ino_){::uint64_t{0u}}
9922     , decltype(_impl_.lblk_){0u}
9923     , decltype(_impl_.len_){0u}
9924     , decltype(_impl_.pblk_){::uint64_t{0u}}
9925     , decltype(_impl_.status_){::uint64_t{0u}}
9926     , decltype(_impl_.found_){0}
9927   };
9928 }
9929 
~Ext4EsLookupExtentExitFtraceEvent()9930 Ext4EsLookupExtentExitFtraceEvent::~Ext4EsLookupExtentExitFtraceEvent() {
9931   // @@protoc_insertion_point(destructor:perfetto.protos.Ext4EsLookupExtentExitFtraceEvent)
9932   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
9933   (void)arena;
9934     return;
9935   }
9936   SharedDtor();
9937 }
9938 
SharedDtor()9939 inline void Ext4EsLookupExtentExitFtraceEvent::SharedDtor() {
9940   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
9941 }
9942 
SetCachedSize(int size) const9943 void Ext4EsLookupExtentExitFtraceEvent::SetCachedSize(int size) const {
9944   _impl_._cached_size_.Set(size);
9945 }
9946 
Clear()9947 void Ext4EsLookupExtentExitFtraceEvent::Clear() {
9948 // @@protoc_insertion_point(message_clear_start:perfetto.protos.Ext4EsLookupExtentExitFtraceEvent)
9949   ::uint32_t cached_has_bits = 0;
9950   // Prevent compiler warnings about cached_has_bits being unused
9951   (void) cached_has_bits;
9952 
9953   cached_has_bits = _impl_._has_bits_[0];
9954   if (cached_has_bits & 0x0000007fu) {
9955     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
9956         reinterpret_cast<char*>(&_impl_.found_) -
9957         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.found_));
9958   }
9959   _impl_._has_bits_.Clear();
9960   _internal_metadata_.Clear<std::string>();
9961 }
9962 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)9963 const char* Ext4EsLookupExtentExitFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
9964 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
9965   _Internal::HasBits has_bits{};
9966   while (!ctx->Done(&ptr)) {
9967     ::uint32_t tag;
9968     ptr = ::_pbi::ReadTag(ptr, &tag);
9969     switch (tag >> 3) {
9970       // optional uint64 dev = 1;
9971       case 1:
9972         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
9973           _Internal::set_has_dev(&has_bits);
9974           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
9975           CHK_(ptr);
9976         } else {
9977           goto handle_unusual;
9978         }
9979         continue;
9980       // optional uint64 ino = 2;
9981       case 2:
9982         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
9983           _Internal::set_has_ino(&has_bits);
9984           _impl_.ino_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
9985           CHK_(ptr);
9986         } else {
9987           goto handle_unusual;
9988         }
9989         continue;
9990       // optional uint32 lblk = 3;
9991       case 3:
9992         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
9993           _Internal::set_has_lblk(&has_bits);
9994           _impl_.lblk_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
9995           CHK_(ptr);
9996         } else {
9997           goto handle_unusual;
9998         }
9999         continue;
10000       // optional uint32 len = 4;
10001       case 4:
10002         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
10003           _Internal::set_has_len(&has_bits);
10004           _impl_.len_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
10005           CHK_(ptr);
10006         } else {
10007           goto handle_unusual;
10008         }
10009         continue;
10010       // optional uint64 pblk = 5;
10011       case 5:
10012         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) {
10013           _Internal::set_has_pblk(&has_bits);
10014           _impl_.pblk_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
10015           CHK_(ptr);
10016         } else {
10017           goto handle_unusual;
10018         }
10019         continue;
10020       // optional uint64 status = 6;
10021       case 6:
10022         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 48)) {
10023           _Internal::set_has_status(&has_bits);
10024           _impl_.status_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
10025           CHK_(ptr);
10026         } else {
10027           goto handle_unusual;
10028         }
10029         continue;
10030       // optional int32 found = 7;
10031       case 7:
10032         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 56)) {
10033           _Internal::set_has_found(&has_bits);
10034           _impl_.found_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
10035           CHK_(ptr);
10036         } else {
10037           goto handle_unusual;
10038         }
10039         continue;
10040       default:
10041         goto handle_unusual;
10042     }  // switch
10043   handle_unusual:
10044     if ((tag == 0) || ((tag & 7) == 4)) {
10045       CHK_(ptr);
10046       ctx->SetLastTag(tag);
10047       goto message_done;
10048     }
10049     ptr = UnknownFieldParse(
10050         tag,
10051         _internal_metadata_.mutable_unknown_fields<std::string>(),
10052         ptr, ctx);
10053     CHK_(ptr != nullptr);
10054   }  // while
10055 message_done:
10056   _impl_._has_bits_.Or(has_bits);
10057   return ptr;
10058 failure:
10059   ptr = nullptr;
10060   goto message_done;
10061 #undef CHK_
10062 }
10063 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const10064 ::uint8_t* Ext4EsLookupExtentExitFtraceEvent::_InternalSerialize(
10065     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
10066   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.Ext4EsLookupExtentExitFtraceEvent)
10067   ::uint32_t cached_has_bits = 0;
10068   (void) cached_has_bits;
10069 
10070   cached_has_bits = _impl_._has_bits_[0];
10071   // optional uint64 dev = 1;
10072   if (cached_has_bits & 0x00000001u) {
10073     target = stream->EnsureSpace(target);
10074     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
10075   }
10076 
10077   // optional uint64 ino = 2;
10078   if (cached_has_bits & 0x00000002u) {
10079     target = stream->EnsureSpace(target);
10080     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_ino(), target);
10081   }
10082 
10083   // optional uint32 lblk = 3;
10084   if (cached_has_bits & 0x00000004u) {
10085     target = stream->EnsureSpace(target);
10086     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_lblk(), target);
10087   }
10088 
10089   // optional uint32 len = 4;
10090   if (cached_has_bits & 0x00000008u) {
10091     target = stream->EnsureSpace(target);
10092     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_len(), target);
10093   }
10094 
10095   // optional uint64 pblk = 5;
10096   if (cached_has_bits & 0x00000010u) {
10097     target = stream->EnsureSpace(target);
10098     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(5, this->_internal_pblk(), target);
10099   }
10100 
10101   // optional uint64 status = 6;
10102   if (cached_has_bits & 0x00000020u) {
10103     target = stream->EnsureSpace(target);
10104     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(6, this->_internal_status(), target);
10105   }
10106 
10107   // optional int32 found = 7;
10108   if (cached_has_bits & 0x00000040u) {
10109     target = stream->EnsureSpace(target);
10110     target = ::_pbi::WireFormatLite::WriteInt32ToArray(7, this->_internal_found(), target);
10111   }
10112 
10113   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
10114     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
10115         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
10116   }
10117   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.Ext4EsLookupExtentExitFtraceEvent)
10118   return target;
10119 }
10120 
ByteSizeLong() const10121 size_t Ext4EsLookupExtentExitFtraceEvent::ByteSizeLong() const {
10122 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.Ext4EsLookupExtentExitFtraceEvent)
10123   size_t total_size = 0;
10124 
10125   ::uint32_t cached_has_bits = 0;
10126   // Prevent compiler warnings about cached_has_bits being unused
10127   (void) cached_has_bits;
10128 
10129   cached_has_bits = _impl_._has_bits_[0];
10130   if (cached_has_bits & 0x0000007fu) {
10131     // optional uint64 dev = 1;
10132     if (cached_has_bits & 0x00000001u) {
10133       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
10134     }
10135 
10136     // optional uint64 ino = 2;
10137     if (cached_has_bits & 0x00000002u) {
10138       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ino());
10139     }
10140 
10141     // optional uint32 lblk = 3;
10142     if (cached_has_bits & 0x00000004u) {
10143       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_lblk());
10144     }
10145 
10146     // optional uint32 len = 4;
10147     if (cached_has_bits & 0x00000008u) {
10148       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_len());
10149     }
10150 
10151     // optional uint64 pblk = 5;
10152     if (cached_has_bits & 0x00000010u) {
10153       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_pblk());
10154     }
10155 
10156     // optional uint64 status = 6;
10157     if (cached_has_bits & 0x00000020u) {
10158       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_status());
10159     }
10160 
10161     // optional int32 found = 7;
10162     if (cached_has_bits & 0x00000040u) {
10163       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_found());
10164     }
10165 
10166   }
10167   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
10168     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
10169   }
10170   int cached_size = ::_pbi::ToCachedSize(total_size);
10171   SetCachedSize(cached_size);
10172   return total_size;
10173 }
10174 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)10175 void Ext4EsLookupExtentExitFtraceEvent::CheckTypeAndMergeFrom(
10176     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
10177   MergeFrom(*::_pbi::DownCast<const Ext4EsLookupExtentExitFtraceEvent*>(
10178       &from));
10179 }
10180 
MergeFrom(const Ext4EsLookupExtentExitFtraceEvent & from)10181 void Ext4EsLookupExtentExitFtraceEvent::MergeFrom(const Ext4EsLookupExtentExitFtraceEvent& from) {
10182   Ext4EsLookupExtentExitFtraceEvent* const _this = this;
10183   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.Ext4EsLookupExtentExitFtraceEvent)
10184   GOOGLE_DCHECK_NE(&from, _this);
10185   ::uint32_t cached_has_bits = 0;
10186   (void) cached_has_bits;
10187 
10188   cached_has_bits = from._impl_._has_bits_[0];
10189   if (cached_has_bits & 0x0000007fu) {
10190     if (cached_has_bits & 0x00000001u) {
10191       _this->_impl_.dev_ = from._impl_.dev_;
10192     }
10193     if (cached_has_bits & 0x00000002u) {
10194       _this->_impl_.ino_ = from._impl_.ino_;
10195     }
10196     if (cached_has_bits & 0x00000004u) {
10197       _this->_impl_.lblk_ = from._impl_.lblk_;
10198     }
10199     if (cached_has_bits & 0x00000008u) {
10200       _this->_impl_.len_ = from._impl_.len_;
10201     }
10202     if (cached_has_bits & 0x00000010u) {
10203       _this->_impl_.pblk_ = from._impl_.pblk_;
10204     }
10205     if (cached_has_bits & 0x00000020u) {
10206       _this->_impl_.status_ = from._impl_.status_;
10207     }
10208     if (cached_has_bits & 0x00000040u) {
10209       _this->_impl_.found_ = from._impl_.found_;
10210     }
10211     _this->_impl_._has_bits_[0] |= cached_has_bits;
10212   }
10213   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
10214 }
10215 
CopyFrom(const Ext4EsLookupExtentExitFtraceEvent & from)10216 void Ext4EsLookupExtentExitFtraceEvent::CopyFrom(const Ext4EsLookupExtentExitFtraceEvent& from) {
10217 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.Ext4EsLookupExtentExitFtraceEvent)
10218   if (&from == this) return;
10219   Clear();
10220   MergeFrom(from);
10221 }
10222 
IsInitialized() const10223 bool Ext4EsLookupExtentExitFtraceEvent::IsInitialized() const {
10224   return true;
10225 }
10226 
InternalSwap(Ext4EsLookupExtentExitFtraceEvent * other)10227 void Ext4EsLookupExtentExitFtraceEvent::InternalSwap(Ext4EsLookupExtentExitFtraceEvent* other) {
10228   using std::swap;
10229   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
10230   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
10231   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
10232       PROTOBUF_FIELD_OFFSET(Ext4EsLookupExtentExitFtraceEvent, _impl_.found_)
10233       + sizeof(Ext4EsLookupExtentExitFtraceEvent::_impl_.found_)  // NOLINT
10234       - PROTOBUF_FIELD_OFFSET(Ext4EsLookupExtentExitFtraceEvent, _impl_.dev_)>(
10235           reinterpret_cast<char*>(&_impl_.dev_),
10236           reinterpret_cast<char*>(&other->_impl_.dev_));
10237 }
10238 
GetTypeName() const10239 std::string Ext4EsLookupExtentExitFtraceEvent::GetTypeName() const {
10240   return "perfetto.protos.Ext4EsLookupExtentExitFtraceEvent";
10241 }
10242 
10243 
10244 // ===================================================================
10245 
10246 class Ext4EsRemoveExtentFtraceEvent::_Internal {
10247  public:
10248   using HasBits = decltype(std::declval<Ext4EsRemoveExtentFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)10249   static void set_has_dev(HasBits* has_bits) {
10250     (*has_bits)[0] |= 1u;
10251   }
set_has_ino(HasBits * has_bits)10252   static void set_has_ino(HasBits* has_bits) {
10253     (*has_bits)[0] |= 2u;
10254   }
set_has_lblk(HasBits * has_bits)10255   static void set_has_lblk(HasBits* has_bits) {
10256     (*has_bits)[0] |= 4u;
10257   }
set_has_len(HasBits * has_bits)10258   static void set_has_len(HasBits* has_bits) {
10259     (*has_bits)[0] |= 8u;
10260   }
10261 };
10262 
Ext4EsRemoveExtentFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)10263 Ext4EsRemoveExtentFtraceEvent::Ext4EsRemoveExtentFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
10264                          bool is_message_owned)
10265   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
10266   SharedCtor(arena, is_message_owned);
10267   // @@protoc_insertion_point(arena_constructor:perfetto.protos.Ext4EsRemoveExtentFtraceEvent)
10268 }
Ext4EsRemoveExtentFtraceEvent(const Ext4EsRemoveExtentFtraceEvent & from)10269 Ext4EsRemoveExtentFtraceEvent::Ext4EsRemoveExtentFtraceEvent(const Ext4EsRemoveExtentFtraceEvent& from)
10270   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
10271   Ext4EsRemoveExtentFtraceEvent* const _this = this; (void)_this;
10272   new (&_impl_) Impl_{
10273       decltype(_impl_._has_bits_){from._impl_._has_bits_}
10274     , /*decltype(_impl_._cached_size_)*/{}
10275     , decltype(_impl_.dev_){}
10276     , decltype(_impl_.ino_){}
10277     , decltype(_impl_.lblk_){}
10278     , decltype(_impl_.len_){}};
10279 
10280   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
10281   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
10282     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.len_) -
10283     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.len_));
10284   // @@protoc_insertion_point(copy_constructor:perfetto.protos.Ext4EsRemoveExtentFtraceEvent)
10285 }
10286 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)10287 inline void Ext4EsRemoveExtentFtraceEvent::SharedCtor(
10288     ::_pb::Arena* arena, bool is_message_owned) {
10289   (void)arena;
10290   (void)is_message_owned;
10291   new (&_impl_) Impl_{
10292       decltype(_impl_._has_bits_){}
10293     , /*decltype(_impl_._cached_size_)*/{}
10294     , decltype(_impl_.dev_){::uint64_t{0u}}
10295     , decltype(_impl_.ino_){::uint64_t{0u}}
10296     , decltype(_impl_.lblk_){::int64_t{0}}
10297     , decltype(_impl_.len_){::int64_t{0}}
10298   };
10299 }
10300 
~Ext4EsRemoveExtentFtraceEvent()10301 Ext4EsRemoveExtentFtraceEvent::~Ext4EsRemoveExtentFtraceEvent() {
10302   // @@protoc_insertion_point(destructor:perfetto.protos.Ext4EsRemoveExtentFtraceEvent)
10303   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
10304   (void)arena;
10305     return;
10306   }
10307   SharedDtor();
10308 }
10309 
SharedDtor()10310 inline void Ext4EsRemoveExtentFtraceEvent::SharedDtor() {
10311   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
10312 }
10313 
SetCachedSize(int size) const10314 void Ext4EsRemoveExtentFtraceEvent::SetCachedSize(int size) const {
10315   _impl_._cached_size_.Set(size);
10316 }
10317 
Clear()10318 void Ext4EsRemoveExtentFtraceEvent::Clear() {
10319 // @@protoc_insertion_point(message_clear_start:perfetto.protos.Ext4EsRemoveExtentFtraceEvent)
10320   ::uint32_t cached_has_bits = 0;
10321   // Prevent compiler warnings about cached_has_bits being unused
10322   (void) cached_has_bits;
10323 
10324   cached_has_bits = _impl_._has_bits_[0];
10325   if (cached_has_bits & 0x0000000fu) {
10326     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
10327         reinterpret_cast<char*>(&_impl_.len_) -
10328         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.len_));
10329   }
10330   _impl_._has_bits_.Clear();
10331   _internal_metadata_.Clear<std::string>();
10332 }
10333 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)10334 const char* Ext4EsRemoveExtentFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
10335 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
10336   _Internal::HasBits has_bits{};
10337   while (!ctx->Done(&ptr)) {
10338     ::uint32_t tag;
10339     ptr = ::_pbi::ReadTag(ptr, &tag);
10340     switch (tag >> 3) {
10341       // optional uint64 dev = 1;
10342       case 1:
10343         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
10344           _Internal::set_has_dev(&has_bits);
10345           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
10346           CHK_(ptr);
10347         } else {
10348           goto handle_unusual;
10349         }
10350         continue;
10351       // optional uint64 ino = 2;
10352       case 2:
10353         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
10354           _Internal::set_has_ino(&has_bits);
10355           _impl_.ino_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
10356           CHK_(ptr);
10357         } else {
10358           goto handle_unusual;
10359         }
10360         continue;
10361       // optional int64 lblk = 3;
10362       case 3:
10363         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
10364           _Internal::set_has_lblk(&has_bits);
10365           _impl_.lblk_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
10366           CHK_(ptr);
10367         } else {
10368           goto handle_unusual;
10369         }
10370         continue;
10371       // optional int64 len = 4;
10372       case 4:
10373         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
10374           _Internal::set_has_len(&has_bits);
10375           _impl_.len_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
10376           CHK_(ptr);
10377         } else {
10378           goto handle_unusual;
10379         }
10380         continue;
10381       default:
10382         goto handle_unusual;
10383     }  // switch
10384   handle_unusual:
10385     if ((tag == 0) || ((tag & 7) == 4)) {
10386       CHK_(ptr);
10387       ctx->SetLastTag(tag);
10388       goto message_done;
10389     }
10390     ptr = UnknownFieldParse(
10391         tag,
10392         _internal_metadata_.mutable_unknown_fields<std::string>(),
10393         ptr, ctx);
10394     CHK_(ptr != nullptr);
10395   }  // while
10396 message_done:
10397   _impl_._has_bits_.Or(has_bits);
10398   return ptr;
10399 failure:
10400   ptr = nullptr;
10401   goto message_done;
10402 #undef CHK_
10403 }
10404 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const10405 ::uint8_t* Ext4EsRemoveExtentFtraceEvent::_InternalSerialize(
10406     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
10407   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.Ext4EsRemoveExtentFtraceEvent)
10408   ::uint32_t cached_has_bits = 0;
10409   (void) cached_has_bits;
10410 
10411   cached_has_bits = _impl_._has_bits_[0];
10412   // optional uint64 dev = 1;
10413   if (cached_has_bits & 0x00000001u) {
10414     target = stream->EnsureSpace(target);
10415     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
10416   }
10417 
10418   // optional uint64 ino = 2;
10419   if (cached_has_bits & 0x00000002u) {
10420     target = stream->EnsureSpace(target);
10421     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_ino(), target);
10422   }
10423 
10424   // optional int64 lblk = 3;
10425   if (cached_has_bits & 0x00000004u) {
10426     target = stream->EnsureSpace(target);
10427     target = ::_pbi::WireFormatLite::WriteInt64ToArray(3, this->_internal_lblk(), target);
10428   }
10429 
10430   // optional int64 len = 4;
10431   if (cached_has_bits & 0x00000008u) {
10432     target = stream->EnsureSpace(target);
10433     target = ::_pbi::WireFormatLite::WriteInt64ToArray(4, this->_internal_len(), target);
10434   }
10435 
10436   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
10437     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
10438         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
10439   }
10440   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.Ext4EsRemoveExtentFtraceEvent)
10441   return target;
10442 }
10443 
ByteSizeLong() const10444 size_t Ext4EsRemoveExtentFtraceEvent::ByteSizeLong() const {
10445 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.Ext4EsRemoveExtentFtraceEvent)
10446   size_t total_size = 0;
10447 
10448   ::uint32_t cached_has_bits = 0;
10449   // Prevent compiler warnings about cached_has_bits being unused
10450   (void) cached_has_bits;
10451 
10452   cached_has_bits = _impl_._has_bits_[0];
10453   if (cached_has_bits & 0x0000000fu) {
10454     // optional uint64 dev = 1;
10455     if (cached_has_bits & 0x00000001u) {
10456       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
10457     }
10458 
10459     // optional uint64 ino = 2;
10460     if (cached_has_bits & 0x00000002u) {
10461       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ino());
10462     }
10463 
10464     // optional int64 lblk = 3;
10465     if (cached_has_bits & 0x00000004u) {
10466       total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_lblk());
10467     }
10468 
10469     // optional int64 len = 4;
10470     if (cached_has_bits & 0x00000008u) {
10471       total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_len());
10472     }
10473 
10474   }
10475   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
10476     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
10477   }
10478   int cached_size = ::_pbi::ToCachedSize(total_size);
10479   SetCachedSize(cached_size);
10480   return total_size;
10481 }
10482 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)10483 void Ext4EsRemoveExtentFtraceEvent::CheckTypeAndMergeFrom(
10484     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
10485   MergeFrom(*::_pbi::DownCast<const Ext4EsRemoveExtentFtraceEvent*>(
10486       &from));
10487 }
10488 
MergeFrom(const Ext4EsRemoveExtentFtraceEvent & from)10489 void Ext4EsRemoveExtentFtraceEvent::MergeFrom(const Ext4EsRemoveExtentFtraceEvent& from) {
10490   Ext4EsRemoveExtentFtraceEvent* const _this = this;
10491   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.Ext4EsRemoveExtentFtraceEvent)
10492   GOOGLE_DCHECK_NE(&from, _this);
10493   ::uint32_t cached_has_bits = 0;
10494   (void) cached_has_bits;
10495 
10496   cached_has_bits = from._impl_._has_bits_[0];
10497   if (cached_has_bits & 0x0000000fu) {
10498     if (cached_has_bits & 0x00000001u) {
10499       _this->_impl_.dev_ = from._impl_.dev_;
10500     }
10501     if (cached_has_bits & 0x00000002u) {
10502       _this->_impl_.ino_ = from._impl_.ino_;
10503     }
10504     if (cached_has_bits & 0x00000004u) {
10505       _this->_impl_.lblk_ = from._impl_.lblk_;
10506     }
10507     if (cached_has_bits & 0x00000008u) {
10508       _this->_impl_.len_ = from._impl_.len_;
10509     }
10510     _this->_impl_._has_bits_[0] |= cached_has_bits;
10511   }
10512   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
10513 }
10514 
CopyFrom(const Ext4EsRemoveExtentFtraceEvent & from)10515 void Ext4EsRemoveExtentFtraceEvent::CopyFrom(const Ext4EsRemoveExtentFtraceEvent& from) {
10516 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.Ext4EsRemoveExtentFtraceEvent)
10517   if (&from == this) return;
10518   Clear();
10519   MergeFrom(from);
10520 }
10521 
IsInitialized() const10522 bool Ext4EsRemoveExtentFtraceEvent::IsInitialized() const {
10523   return true;
10524 }
10525 
InternalSwap(Ext4EsRemoveExtentFtraceEvent * other)10526 void Ext4EsRemoveExtentFtraceEvent::InternalSwap(Ext4EsRemoveExtentFtraceEvent* other) {
10527   using std::swap;
10528   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
10529   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
10530   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
10531       PROTOBUF_FIELD_OFFSET(Ext4EsRemoveExtentFtraceEvent, _impl_.len_)
10532       + sizeof(Ext4EsRemoveExtentFtraceEvent::_impl_.len_)  // NOLINT
10533       - PROTOBUF_FIELD_OFFSET(Ext4EsRemoveExtentFtraceEvent, _impl_.dev_)>(
10534           reinterpret_cast<char*>(&_impl_.dev_),
10535           reinterpret_cast<char*>(&other->_impl_.dev_));
10536 }
10537 
GetTypeName() const10538 std::string Ext4EsRemoveExtentFtraceEvent::GetTypeName() const {
10539   return "perfetto.protos.Ext4EsRemoveExtentFtraceEvent";
10540 }
10541 
10542 
10543 // ===================================================================
10544 
10545 class Ext4EsShrinkFtraceEvent::_Internal {
10546  public:
10547   using HasBits = decltype(std::declval<Ext4EsShrinkFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)10548   static void set_has_dev(HasBits* has_bits) {
10549     (*has_bits)[0] |= 1u;
10550   }
set_has_nr_shrunk(HasBits * has_bits)10551   static void set_has_nr_shrunk(HasBits* has_bits) {
10552     (*has_bits)[0] |= 4u;
10553   }
set_has_scan_time(HasBits * has_bits)10554   static void set_has_scan_time(HasBits* has_bits) {
10555     (*has_bits)[0] |= 2u;
10556   }
set_has_nr_skipped(HasBits * has_bits)10557   static void set_has_nr_skipped(HasBits* has_bits) {
10558     (*has_bits)[0] |= 8u;
10559   }
set_has_retried(HasBits * has_bits)10560   static void set_has_retried(HasBits* has_bits) {
10561     (*has_bits)[0] |= 16u;
10562   }
10563 };
10564 
Ext4EsShrinkFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)10565 Ext4EsShrinkFtraceEvent::Ext4EsShrinkFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
10566                          bool is_message_owned)
10567   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
10568   SharedCtor(arena, is_message_owned);
10569   // @@protoc_insertion_point(arena_constructor:perfetto.protos.Ext4EsShrinkFtraceEvent)
10570 }
Ext4EsShrinkFtraceEvent(const Ext4EsShrinkFtraceEvent & from)10571 Ext4EsShrinkFtraceEvent::Ext4EsShrinkFtraceEvent(const Ext4EsShrinkFtraceEvent& from)
10572   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
10573   Ext4EsShrinkFtraceEvent* const _this = this; (void)_this;
10574   new (&_impl_) Impl_{
10575       decltype(_impl_._has_bits_){from._impl_._has_bits_}
10576     , /*decltype(_impl_._cached_size_)*/{}
10577     , decltype(_impl_.dev_){}
10578     , decltype(_impl_.scan_time_){}
10579     , decltype(_impl_.nr_shrunk_){}
10580     , decltype(_impl_.nr_skipped_){}
10581     , decltype(_impl_.retried_){}};
10582 
10583   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
10584   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
10585     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.retried_) -
10586     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.retried_));
10587   // @@protoc_insertion_point(copy_constructor:perfetto.protos.Ext4EsShrinkFtraceEvent)
10588 }
10589 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)10590 inline void Ext4EsShrinkFtraceEvent::SharedCtor(
10591     ::_pb::Arena* arena, bool is_message_owned) {
10592   (void)arena;
10593   (void)is_message_owned;
10594   new (&_impl_) Impl_{
10595       decltype(_impl_._has_bits_){}
10596     , /*decltype(_impl_._cached_size_)*/{}
10597     , decltype(_impl_.dev_){::uint64_t{0u}}
10598     , decltype(_impl_.scan_time_){::uint64_t{0u}}
10599     , decltype(_impl_.nr_shrunk_){0}
10600     , decltype(_impl_.nr_skipped_){0}
10601     , decltype(_impl_.retried_){0}
10602   };
10603 }
10604 
~Ext4EsShrinkFtraceEvent()10605 Ext4EsShrinkFtraceEvent::~Ext4EsShrinkFtraceEvent() {
10606   // @@protoc_insertion_point(destructor:perfetto.protos.Ext4EsShrinkFtraceEvent)
10607   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
10608   (void)arena;
10609     return;
10610   }
10611   SharedDtor();
10612 }
10613 
SharedDtor()10614 inline void Ext4EsShrinkFtraceEvent::SharedDtor() {
10615   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
10616 }
10617 
SetCachedSize(int size) const10618 void Ext4EsShrinkFtraceEvent::SetCachedSize(int size) const {
10619   _impl_._cached_size_.Set(size);
10620 }
10621 
Clear()10622 void Ext4EsShrinkFtraceEvent::Clear() {
10623 // @@protoc_insertion_point(message_clear_start:perfetto.protos.Ext4EsShrinkFtraceEvent)
10624   ::uint32_t cached_has_bits = 0;
10625   // Prevent compiler warnings about cached_has_bits being unused
10626   (void) cached_has_bits;
10627 
10628   cached_has_bits = _impl_._has_bits_[0];
10629   if (cached_has_bits & 0x0000001fu) {
10630     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
10631         reinterpret_cast<char*>(&_impl_.retried_) -
10632         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.retried_));
10633   }
10634   _impl_._has_bits_.Clear();
10635   _internal_metadata_.Clear<std::string>();
10636 }
10637 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)10638 const char* Ext4EsShrinkFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
10639 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
10640   _Internal::HasBits has_bits{};
10641   while (!ctx->Done(&ptr)) {
10642     ::uint32_t tag;
10643     ptr = ::_pbi::ReadTag(ptr, &tag);
10644     switch (tag >> 3) {
10645       // optional uint64 dev = 1;
10646       case 1:
10647         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
10648           _Internal::set_has_dev(&has_bits);
10649           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
10650           CHK_(ptr);
10651         } else {
10652           goto handle_unusual;
10653         }
10654         continue;
10655       // optional int32 nr_shrunk = 2;
10656       case 2:
10657         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
10658           _Internal::set_has_nr_shrunk(&has_bits);
10659           _impl_.nr_shrunk_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
10660           CHK_(ptr);
10661         } else {
10662           goto handle_unusual;
10663         }
10664         continue;
10665       // optional uint64 scan_time = 3;
10666       case 3:
10667         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
10668           _Internal::set_has_scan_time(&has_bits);
10669           _impl_.scan_time_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
10670           CHK_(ptr);
10671         } else {
10672           goto handle_unusual;
10673         }
10674         continue;
10675       // optional int32 nr_skipped = 4;
10676       case 4:
10677         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
10678           _Internal::set_has_nr_skipped(&has_bits);
10679           _impl_.nr_skipped_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
10680           CHK_(ptr);
10681         } else {
10682           goto handle_unusual;
10683         }
10684         continue;
10685       // optional int32 retried = 5;
10686       case 5:
10687         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) {
10688           _Internal::set_has_retried(&has_bits);
10689           _impl_.retried_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
10690           CHK_(ptr);
10691         } else {
10692           goto handle_unusual;
10693         }
10694         continue;
10695       default:
10696         goto handle_unusual;
10697     }  // switch
10698   handle_unusual:
10699     if ((tag == 0) || ((tag & 7) == 4)) {
10700       CHK_(ptr);
10701       ctx->SetLastTag(tag);
10702       goto message_done;
10703     }
10704     ptr = UnknownFieldParse(
10705         tag,
10706         _internal_metadata_.mutable_unknown_fields<std::string>(),
10707         ptr, ctx);
10708     CHK_(ptr != nullptr);
10709   }  // while
10710 message_done:
10711   _impl_._has_bits_.Or(has_bits);
10712   return ptr;
10713 failure:
10714   ptr = nullptr;
10715   goto message_done;
10716 #undef CHK_
10717 }
10718 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const10719 ::uint8_t* Ext4EsShrinkFtraceEvent::_InternalSerialize(
10720     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
10721   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.Ext4EsShrinkFtraceEvent)
10722   ::uint32_t cached_has_bits = 0;
10723   (void) cached_has_bits;
10724 
10725   cached_has_bits = _impl_._has_bits_[0];
10726   // optional uint64 dev = 1;
10727   if (cached_has_bits & 0x00000001u) {
10728     target = stream->EnsureSpace(target);
10729     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
10730   }
10731 
10732   // optional int32 nr_shrunk = 2;
10733   if (cached_has_bits & 0x00000004u) {
10734     target = stream->EnsureSpace(target);
10735     target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_nr_shrunk(), target);
10736   }
10737 
10738   // optional uint64 scan_time = 3;
10739   if (cached_has_bits & 0x00000002u) {
10740     target = stream->EnsureSpace(target);
10741     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(3, this->_internal_scan_time(), target);
10742   }
10743 
10744   // optional int32 nr_skipped = 4;
10745   if (cached_has_bits & 0x00000008u) {
10746     target = stream->EnsureSpace(target);
10747     target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_nr_skipped(), target);
10748   }
10749 
10750   // optional int32 retried = 5;
10751   if (cached_has_bits & 0x00000010u) {
10752     target = stream->EnsureSpace(target);
10753     target = ::_pbi::WireFormatLite::WriteInt32ToArray(5, this->_internal_retried(), target);
10754   }
10755 
10756   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
10757     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
10758         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
10759   }
10760   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.Ext4EsShrinkFtraceEvent)
10761   return target;
10762 }
10763 
ByteSizeLong() const10764 size_t Ext4EsShrinkFtraceEvent::ByteSizeLong() const {
10765 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.Ext4EsShrinkFtraceEvent)
10766   size_t total_size = 0;
10767 
10768   ::uint32_t cached_has_bits = 0;
10769   // Prevent compiler warnings about cached_has_bits being unused
10770   (void) cached_has_bits;
10771 
10772   cached_has_bits = _impl_._has_bits_[0];
10773   if (cached_has_bits & 0x0000001fu) {
10774     // optional uint64 dev = 1;
10775     if (cached_has_bits & 0x00000001u) {
10776       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
10777     }
10778 
10779     // optional uint64 scan_time = 3;
10780     if (cached_has_bits & 0x00000002u) {
10781       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_scan_time());
10782     }
10783 
10784     // optional int32 nr_shrunk = 2;
10785     if (cached_has_bits & 0x00000004u) {
10786       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_nr_shrunk());
10787     }
10788 
10789     // optional int32 nr_skipped = 4;
10790     if (cached_has_bits & 0x00000008u) {
10791       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_nr_skipped());
10792     }
10793 
10794     // optional int32 retried = 5;
10795     if (cached_has_bits & 0x00000010u) {
10796       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_retried());
10797     }
10798 
10799   }
10800   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
10801     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
10802   }
10803   int cached_size = ::_pbi::ToCachedSize(total_size);
10804   SetCachedSize(cached_size);
10805   return total_size;
10806 }
10807 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)10808 void Ext4EsShrinkFtraceEvent::CheckTypeAndMergeFrom(
10809     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
10810   MergeFrom(*::_pbi::DownCast<const Ext4EsShrinkFtraceEvent*>(
10811       &from));
10812 }
10813 
MergeFrom(const Ext4EsShrinkFtraceEvent & from)10814 void Ext4EsShrinkFtraceEvent::MergeFrom(const Ext4EsShrinkFtraceEvent& from) {
10815   Ext4EsShrinkFtraceEvent* const _this = this;
10816   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.Ext4EsShrinkFtraceEvent)
10817   GOOGLE_DCHECK_NE(&from, _this);
10818   ::uint32_t cached_has_bits = 0;
10819   (void) cached_has_bits;
10820 
10821   cached_has_bits = from._impl_._has_bits_[0];
10822   if (cached_has_bits & 0x0000001fu) {
10823     if (cached_has_bits & 0x00000001u) {
10824       _this->_impl_.dev_ = from._impl_.dev_;
10825     }
10826     if (cached_has_bits & 0x00000002u) {
10827       _this->_impl_.scan_time_ = from._impl_.scan_time_;
10828     }
10829     if (cached_has_bits & 0x00000004u) {
10830       _this->_impl_.nr_shrunk_ = from._impl_.nr_shrunk_;
10831     }
10832     if (cached_has_bits & 0x00000008u) {
10833       _this->_impl_.nr_skipped_ = from._impl_.nr_skipped_;
10834     }
10835     if (cached_has_bits & 0x00000010u) {
10836       _this->_impl_.retried_ = from._impl_.retried_;
10837     }
10838     _this->_impl_._has_bits_[0] |= cached_has_bits;
10839   }
10840   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
10841 }
10842 
CopyFrom(const Ext4EsShrinkFtraceEvent & from)10843 void Ext4EsShrinkFtraceEvent::CopyFrom(const Ext4EsShrinkFtraceEvent& from) {
10844 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.Ext4EsShrinkFtraceEvent)
10845   if (&from == this) return;
10846   Clear();
10847   MergeFrom(from);
10848 }
10849 
IsInitialized() const10850 bool Ext4EsShrinkFtraceEvent::IsInitialized() const {
10851   return true;
10852 }
10853 
InternalSwap(Ext4EsShrinkFtraceEvent * other)10854 void Ext4EsShrinkFtraceEvent::InternalSwap(Ext4EsShrinkFtraceEvent* other) {
10855   using std::swap;
10856   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
10857   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
10858   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
10859       PROTOBUF_FIELD_OFFSET(Ext4EsShrinkFtraceEvent, _impl_.retried_)
10860       + sizeof(Ext4EsShrinkFtraceEvent::_impl_.retried_)  // NOLINT
10861       - PROTOBUF_FIELD_OFFSET(Ext4EsShrinkFtraceEvent, _impl_.dev_)>(
10862           reinterpret_cast<char*>(&_impl_.dev_),
10863           reinterpret_cast<char*>(&other->_impl_.dev_));
10864 }
10865 
GetTypeName() const10866 std::string Ext4EsShrinkFtraceEvent::GetTypeName() const {
10867   return "perfetto.protos.Ext4EsShrinkFtraceEvent";
10868 }
10869 
10870 
10871 // ===================================================================
10872 
10873 class Ext4EsShrinkCountFtraceEvent::_Internal {
10874  public:
10875   using HasBits = decltype(std::declval<Ext4EsShrinkCountFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)10876   static void set_has_dev(HasBits* has_bits) {
10877     (*has_bits)[0] |= 1u;
10878   }
set_has_nr_to_scan(HasBits * has_bits)10879   static void set_has_nr_to_scan(HasBits* has_bits) {
10880     (*has_bits)[0] |= 2u;
10881   }
set_has_cache_cnt(HasBits * has_bits)10882   static void set_has_cache_cnt(HasBits* has_bits) {
10883     (*has_bits)[0] |= 4u;
10884   }
10885 };
10886 
Ext4EsShrinkCountFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)10887 Ext4EsShrinkCountFtraceEvent::Ext4EsShrinkCountFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
10888                          bool is_message_owned)
10889   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
10890   SharedCtor(arena, is_message_owned);
10891   // @@protoc_insertion_point(arena_constructor:perfetto.protos.Ext4EsShrinkCountFtraceEvent)
10892 }
Ext4EsShrinkCountFtraceEvent(const Ext4EsShrinkCountFtraceEvent & from)10893 Ext4EsShrinkCountFtraceEvent::Ext4EsShrinkCountFtraceEvent(const Ext4EsShrinkCountFtraceEvent& from)
10894   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
10895   Ext4EsShrinkCountFtraceEvent* const _this = this; (void)_this;
10896   new (&_impl_) Impl_{
10897       decltype(_impl_._has_bits_){from._impl_._has_bits_}
10898     , /*decltype(_impl_._cached_size_)*/{}
10899     , decltype(_impl_.dev_){}
10900     , decltype(_impl_.nr_to_scan_){}
10901     , decltype(_impl_.cache_cnt_){}};
10902 
10903   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
10904   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
10905     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.cache_cnt_) -
10906     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.cache_cnt_));
10907   // @@protoc_insertion_point(copy_constructor:perfetto.protos.Ext4EsShrinkCountFtraceEvent)
10908 }
10909 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)10910 inline void Ext4EsShrinkCountFtraceEvent::SharedCtor(
10911     ::_pb::Arena* arena, bool is_message_owned) {
10912   (void)arena;
10913   (void)is_message_owned;
10914   new (&_impl_) Impl_{
10915       decltype(_impl_._has_bits_){}
10916     , /*decltype(_impl_._cached_size_)*/{}
10917     , decltype(_impl_.dev_){::uint64_t{0u}}
10918     , decltype(_impl_.nr_to_scan_){0}
10919     , decltype(_impl_.cache_cnt_){0}
10920   };
10921 }
10922 
~Ext4EsShrinkCountFtraceEvent()10923 Ext4EsShrinkCountFtraceEvent::~Ext4EsShrinkCountFtraceEvent() {
10924   // @@protoc_insertion_point(destructor:perfetto.protos.Ext4EsShrinkCountFtraceEvent)
10925   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
10926   (void)arena;
10927     return;
10928   }
10929   SharedDtor();
10930 }
10931 
SharedDtor()10932 inline void Ext4EsShrinkCountFtraceEvent::SharedDtor() {
10933   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
10934 }
10935 
SetCachedSize(int size) const10936 void Ext4EsShrinkCountFtraceEvent::SetCachedSize(int size) const {
10937   _impl_._cached_size_.Set(size);
10938 }
10939 
Clear()10940 void Ext4EsShrinkCountFtraceEvent::Clear() {
10941 // @@protoc_insertion_point(message_clear_start:perfetto.protos.Ext4EsShrinkCountFtraceEvent)
10942   ::uint32_t cached_has_bits = 0;
10943   // Prevent compiler warnings about cached_has_bits being unused
10944   (void) cached_has_bits;
10945 
10946   cached_has_bits = _impl_._has_bits_[0];
10947   if (cached_has_bits & 0x00000007u) {
10948     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
10949         reinterpret_cast<char*>(&_impl_.cache_cnt_) -
10950         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.cache_cnt_));
10951   }
10952   _impl_._has_bits_.Clear();
10953   _internal_metadata_.Clear<std::string>();
10954 }
10955 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)10956 const char* Ext4EsShrinkCountFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
10957 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
10958   _Internal::HasBits has_bits{};
10959   while (!ctx->Done(&ptr)) {
10960     ::uint32_t tag;
10961     ptr = ::_pbi::ReadTag(ptr, &tag);
10962     switch (tag >> 3) {
10963       // optional uint64 dev = 1;
10964       case 1:
10965         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
10966           _Internal::set_has_dev(&has_bits);
10967           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
10968           CHK_(ptr);
10969         } else {
10970           goto handle_unusual;
10971         }
10972         continue;
10973       // optional int32 nr_to_scan = 2;
10974       case 2:
10975         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
10976           _Internal::set_has_nr_to_scan(&has_bits);
10977           _impl_.nr_to_scan_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
10978           CHK_(ptr);
10979         } else {
10980           goto handle_unusual;
10981         }
10982         continue;
10983       // optional int32 cache_cnt = 3;
10984       case 3:
10985         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
10986           _Internal::set_has_cache_cnt(&has_bits);
10987           _impl_.cache_cnt_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
10988           CHK_(ptr);
10989         } else {
10990           goto handle_unusual;
10991         }
10992         continue;
10993       default:
10994         goto handle_unusual;
10995     }  // switch
10996   handle_unusual:
10997     if ((tag == 0) || ((tag & 7) == 4)) {
10998       CHK_(ptr);
10999       ctx->SetLastTag(tag);
11000       goto message_done;
11001     }
11002     ptr = UnknownFieldParse(
11003         tag,
11004         _internal_metadata_.mutable_unknown_fields<std::string>(),
11005         ptr, ctx);
11006     CHK_(ptr != nullptr);
11007   }  // while
11008 message_done:
11009   _impl_._has_bits_.Or(has_bits);
11010   return ptr;
11011 failure:
11012   ptr = nullptr;
11013   goto message_done;
11014 #undef CHK_
11015 }
11016 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const11017 ::uint8_t* Ext4EsShrinkCountFtraceEvent::_InternalSerialize(
11018     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
11019   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.Ext4EsShrinkCountFtraceEvent)
11020   ::uint32_t cached_has_bits = 0;
11021   (void) cached_has_bits;
11022 
11023   cached_has_bits = _impl_._has_bits_[0];
11024   // optional uint64 dev = 1;
11025   if (cached_has_bits & 0x00000001u) {
11026     target = stream->EnsureSpace(target);
11027     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
11028   }
11029 
11030   // optional int32 nr_to_scan = 2;
11031   if (cached_has_bits & 0x00000002u) {
11032     target = stream->EnsureSpace(target);
11033     target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_nr_to_scan(), target);
11034   }
11035 
11036   // optional int32 cache_cnt = 3;
11037   if (cached_has_bits & 0x00000004u) {
11038     target = stream->EnsureSpace(target);
11039     target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_cache_cnt(), target);
11040   }
11041 
11042   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
11043     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
11044         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
11045   }
11046   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.Ext4EsShrinkCountFtraceEvent)
11047   return target;
11048 }
11049 
ByteSizeLong() const11050 size_t Ext4EsShrinkCountFtraceEvent::ByteSizeLong() const {
11051 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.Ext4EsShrinkCountFtraceEvent)
11052   size_t total_size = 0;
11053 
11054   ::uint32_t cached_has_bits = 0;
11055   // Prevent compiler warnings about cached_has_bits being unused
11056   (void) cached_has_bits;
11057 
11058   cached_has_bits = _impl_._has_bits_[0];
11059   if (cached_has_bits & 0x00000007u) {
11060     // optional uint64 dev = 1;
11061     if (cached_has_bits & 0x00000001u) {
11062       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
11063     }
11064 
11065     // optional int32 nr_to_scan = 2;
11066     if (cached_has_bits & 0x00000002u) {
11067       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_nr_to_scan());
11068     }
11069 
11070     // optional int32 cache_cnt = 3;
11071     if (cached_has_bits & 0x00000004u) {
11072       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_cache_cnt());
11073     }
11074 
11075   }
11076   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
11077     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
11078   }
11079   int cached_size = ::_pbi::ToCachedSize(total_size);
11080   SetCachedSize(cached_size);
11081   return total_size;
11082 }
11083 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)11084 void Ext4EsShrinkCountFtraceEvent::CheckTypeAndMergeFrom(
11085     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
11086   MergeFrom(*::_pbi::DownCast<const Ext4EsShrinkCountFtraceEvent*>(
11087       &from));
11088 }
11089 
MergeFrom(const Ext4EsShrinkCountFtraceEvent & from)11090 void Ext4EsShrinkCountFtraceEvent::MergeFrom(const Ext4EsShrinkCountFtraceEvent& from) {
11091   Ext4EsShrinkCountFtraceEvent* const _this = this;
11092   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.Ext4EsShrinkCountFtraceEvent)
11093   GOOGLE_DCHECK_NE(&from, _this);
11094   ::uint32_t cached_has_bits = 0;
11095   (void) cached_has_bits;
11096 
11097   cached_has_bits = from._impl_._has_bits_[0];
11098   if (cached_has_bits & 0x00000007u) {
11099     if (cached_has_bits & 0x00000001u) {
11100       _this->_impl_.dev_ = from._impl_.dev_;
11101     }
11102     if (cached_has_bits & 0x00000002u) {
11103       _this->_impl_.nr_to_scan_ = from._impl_.nr_to_scan_;
11104     }
11105     if (cached_has_bits & 0x00000004u) {
11106       _this->_impl_.cache_cnt_ = from._impl_.cache_cnt_;
11107     }
11108     _this->_impl_._has_bits_[0] |= cached_has_bits;
11109   }
11110   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
11111 }
11112 
CopyFrom(const Ext4EsShrinkCountFtraceEvent & from)11113 void Ext4EsShrinkCountFtraceEvent::CopyFrom(const Ext4EsShrinkCountFtraceEvent& from) {
11114 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.Ext4EsShrinkCountFtraceEvent)
11115   if (&from == this) return;
11116   Clear();
11117   MergeFrom(from);
11118 }
11119 
IsInitialized() const11120 bool Ext4EsShrinkCountFtraceEvent::IsInitialized() const {
11121   return true;
11122 }
11123 
InternalSwap(Ext4EsShrinkCountFtraceEvent * other)11124 void Ext4EsShrinkCountFtraceEvent::InternalSwap(Ext4EsShrinkCountFtraceEvent* other) {
11125   using std::swap;
11126   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
11127   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
11128   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
11129       PROTOBUF_FIELD_OFFSET(Ext4EsShrinkCountFtraceEvent, _impl_.cache_cnt_)
11130       + sizeof(Ext4EsShrinkCountFtraceEvent::_impl_.cache_cnt_)  // NOLINT
11131       - PROTOBUF_FIELD_OFFSET(Ext4EsShrinkCountFtraceEvent, _impl_.dev_)>(
11132           reinterpret_cast<char*>(&_impl_.dev_),
11133           reinterpret_cast<char*>(&other->_impl_.dev_));
11134 }
11135 
GetTypeName() const11136 std::string Ext4EsShrinkCountFtraceEvent::GetTypeName() const {
11137   return "perfetto.protos.Ext4EsShrinkCountFtraceEvent";
11138 }
11139 
11140 
11141 // ===================================================================
11142 
11143 class Ext4EsShrinkScanEnterFtraceEvent::_Internal {
11144  public:
11145   using HasBits = decltype(std::declval<Ext4EsShrinkScanEnterFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)11146   static void set_has_dev(HasBits* has_bits) {
11147     (*has_bits)[0] |= 1u;
11148   }
set_has_nr_to_scan(HasBits * has_bits)11149   static void set_has_nr_to_scan(HasBits* has_bits) {
11150     (*has_bits)[0] |= 2u;
11151   }
set_has_cache_cnt(HasBits * has_bits)11152   static void set_has_cache_cnt(HasBits* has_bits) {
11153     (*has_bits)[0] |= 4u;
11154   }
11155 };
11156 
Ext4EsShrinkScanEnterFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)11157 Ext4EsShrinkScanEnterFtraceEvent::Ext4EsShrinkScanEnterFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
11158                          bool is_message_owned)
11159   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
11160   SharedCtor(arena, is_message_owned);
11161   // @@protoc_insertion_point(arena_constructor:perfetto.protos.Ext4EsShrinkScanEnterFtraceEvent)
11162 }
Ext4EsShrinkScanEnterFtraceEvent(const Ext4EsShrinkScanEnterFtraceEvent & from)11163 Ext4EsShrinkScanEnterFtraceEvent::Ext4EsShrinkScanEnterFtraceEvent(const Ext4EsShrinkScanEnterFtraceEvent& from)
11164   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
11165   Ext4EsShrinkScanEnterFtraceEvent* const _this = this; (void)_this;
11166   new (&_impl_) Impl_{
11167       decltype(_impl_._has_bits_){from._impl_._has_bits_}
11168     , /*decltype(_impl_._cached_size_)*/{}
11169     , decltype(_impl_.dev_){}
11170     , decltype(_impl_.nr_to_scan_){}
11171     , decltype(_impl_.cache_cnt_){}};
11172 
11173   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
11174   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
11175     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.cache_cnt_) -
11176     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.cache_cnt_));
11177   // @@protoc_insertion_point(copy_constructor:perfetto.protos.Ext4EsShrinkScanEnterFtraceEvent)
11178 }
11179 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)11180 inline void Ext4EsShrinkScanEnterFtraceEvent::SharedCtor(
11181     ::_pb::Arena* arena, bool is_message_owned) {
11182   (void)arena;
11183   (void)is_message_owned;
11184   new (&_impl_) Impl_{
11185       decltype(_impl_._has_bits_){}
11186     , /*decltype(_impl_._cached_size_)*/{}
11187     , decltype(_impl_.dev_){::uint64_t{0u}}
11188     , decltype(_impl_.nr_to_scan_){0}
11189     , decltype(_impl_.cache_cnt_){0}
11190   };
11191 }
11192 
~Ext4EsShrinkScanEnterFtraceEvent()11193 Ext4EsShrinkScanEnterFtraceEvent::~Ext4EsShrinkScanEnterFtraceEvent() {
11194   // @@protoc_insertion_point(destructor:perfetto.protos.Ext4EsShrinkScanEnterFtraceEvent)
11195   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
11196   (void)arena;
11197     return;
11198   }
11199   SharedDtor();
11200 }
11201 
SharedDtor()11202 inline void Ext4EsShrinkScanEnterFtraceEvent::SharedDtor() {
11203   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
11204 }
11205 
SetCachedSize(int size) const11206 void Ext4EsShrinkScanEnterFtraceEvent::SetCachedSize(int size) const {
11207   _impl_._cached_size_.Set(size);
11208 }
11209 
Clear()11210 void Ext4EsShrinkScanEnterFtraceEvent::Clear() {
11211 // @@protoc_insertion_point(message_clear_start:perfetto.protos.Ext4EsShrinkScanEnterFtraceEvent)
11212   ::uint32_t cached_has_bits = 0;
11213   // Prevent compiler warnings about cached_has_bits being unused
11214   (void) cached_has_bits;
11215 
11216   cached_has_bits = _impl_._has_bits_[0];
11217   if (cached_has_bits & 0x00000007u) {
11218     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
11219         reinterpret_cast<char*>(&_impl_.cache_cnt_) -
11220         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.cache_cnt_));
11221   }
11222   _impl_._has_bits_.Clear();
11223   _internal_metadata_.Clear<std::string>();
11224 }
11225 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)11226 const char* Ext4EsShrinkScanEnterFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
11227 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
11228   _Internal::HasBits has_bits{};
11229   while (!ctx->Done(&ptr)) {
11230     ::uint32_t tag;
11231     ptr = ::_pbi::ReadTag(ptr, &tag);
11232     switch (tag >> 3) {
11233       // optional uint64 dev = 1;
11234       case 1:
11235         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
11236           _Internal::set_has_dev(&has_bits);
11237           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
11238           CHK_(ptr);
11239         } else {
11240           goto handle_unusual;
11241         }
11242         continue;
11243       // optional int32 nr_to_scan = 2;
11244       case 2:
11245         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
11246           _Internal::set_has_nr_to_scan(&has_bits);
11247           _impl_.nr_to_scan_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
11248           CHK_(ptr);
11249         } else {
11250           goto handle_unusual;
11251         }
11252         continue;
11253       // optional int32 cache_cnt = 3;
11254       case 3:
11255         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
11256           _Internal::set_has_cache_cnt(&has_bits);
11257           _impl_.cache_cnt_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
11258           CHK_(ptr);
11259         } else {
11260           goto handle_unusual;
11261         }
11262         continue;
11263       default:
11264         goto handle_unusual;
11265     }  // switch
11266   handle_unusual:
11267     if ((tag == 0) || ((tag & 7) == 4)) {
11268       CHK_(ptr);
11269       ctx->SetLastTag(tag);
11270       goto message_done;
11271     }
11272     ptr = UnknownFieldParse(
11273         tag,
11274         _internal_metadata_.mutable_unknown_fields<std::string>(),
11275         ptr, ctx);
11276     CHK_(ptr != nullptr);
11277   }  // while
11278 message_done:
11279   _impl_._has_bits_.Or(has_bits);
11280   return ptr;
11281 failure:
11282   ptr = nullptr;
11283   goto message_done;
11284 #undef CHK_
11285 }
11286 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const11287 ::uint8_t* Ext4EsShrinkScanEnterFtraceEvent::_InternalSerialize(
11288     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
11289   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.Ext4EsShrinkScanEnterFtraceEvent)
11290   ::uint32_t cached_has_bits = 0;
11291   (void) cached_has_bits;
11292 
11293   cached_has_bits = _impl_._has_bits_[0];
11294   // optional uint64 dev = 1;
11295   if (cached_has_bits & 0x00000001u) {
11296     target = stream->EnsureSpace(target);
11297     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
11298   }
11299 
11300   // optional int32 nr_to_scan = 2;
11301   if (cached_has_bits & 0x00000002u) {
11302     target = stream->EnsureSpace(target);
11303     target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_nr_to_scan(), target);
11304   }
11305 
11306   // optional int32 cache_cnt = 3;
11307   if (cached_has_bits & 0x00000004u) {
11308     target = stream->EnsureSpace(target);
11309     target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_cache_cnt(), target);
11310   }
11311 
11312   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
11313     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
11314         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
11315   }
11316   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.Ext4EsShrinkScanEnterFtraceEvent)
11317   return target;
11318 }
11319 
ByteSizeLong() const11320 size_t Ext4EsShrinkScanEnterFtraceEvent::ByteSizeLong() const {
11321 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.Ext4EsShrinkScanEnterFtraceEvent)
11322   size_t total_size = 0;
11323 
11324   ::uint32_t cached_has_bits = 0;
11325   // Prevent compiler warnings about cached_has_bits being unused
11326   (void) cached_has_bits;
11327 
11328   cached_has_bits = _impl_._has_bits_[0];
11329   if (cached_has_bits & 0x00000007u) {
11330     // optional uint64 dev = 1;
11331     if (cached_has_bits & 0x00000001u) {
11332       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
11333     }
11334 
11335     // optional int32 nr_to_scan = 2;
11336     if (cached_has_bits & 0x00000002u) {
11337       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_nr_to_scan());
11338     }
11339 
11340     // optional int32 cache_cnt = 3;
11341     if (cached_has_bits & 0x00000004u) {
11342       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_cache_cnt());
11343     }
11344 
11345   }
11346   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
11347     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
11348   }
11349   int cached_size = ::_pbi::ToCachedSize(total_size);
11350   SetCachedSize(cached_size);
11351   return total_size;
11352 }
11353 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)11354 void Ext4EsShrinkScanEnterFtraceEvent::CheckTypeAndMergeFrom(
11355     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
11356   MergeFrom(*::_pbi::DownCast<const Ext4EsShrinkScanEnterFtraceEvent*>(
11357       &from));
11358 }
11359 
MergeFrom(const Ext4EsShrinkScanEnterFtraceEvent & from)11360 void Ext4EsShrinkScanEnterFtraceEvent::MergeFrom(const Ext4EsShrinkScanEnterFtraceEvent& from) {
11361   Ext4EsShrinkScanEnterFtraceEvent* const _this = this;
11362   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.Ext4EsShrinkScanEnterFtraceEvent)
11363   GOOGLE_DCHECK_NE(&from, _this);
11364   ::uint32_t cached_has_bits = 0;
11365   (void) cached_has_bits;
11366 
11367   cached_has_bits = from._impl_._has_bits_[0];
11368   if (cached_has_bits & 0x00000007u) {
11369     if (cached_has_bits & 0x00000001u) {
11370       _this->_impl_.dev_ = from._impl_.dev_;
11371     }
11372     if (cached_has_bits & 0x00000002u) {
11373       _this->_impl_.nr_to_scan_ = from._impl_.nr_to_scan_;
11374     }
11375     if (cached_has_bits & 0x00000004u) {
11376       _this->_impl_.cache_cnt_ = from._impl_.cache_cnt_;
11377     }
11378     _this->_impl_._has_bits_[0] |= cached_has_bits;
11379   }
11380   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
11381 }
11382 
CopyFrom(const Ext4EsShrinkScanEnterFtraceEvent & from)11383 void Ext4EsShrinkScanEnterFtraceEvent::CopyFrom(const Ext4EsShrinkScanEnterFtraceEvent& from) {
11384 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.Ext4EsShrinkScanEnterFtraceEvent)
11385   if (&from == this) return;
11386   Clear();
11387   MergeFrom(from);
11388 }
11389 
IsInitialized() const11390 bool Ext4EsShrinkScanEnterFtraceEvent::IsInitialized() const {
11391   return true;
11392 }
11393 
InternalSwap(Ext4EsShrinkScanEnterFtraceEvent * other)11394 void Ext4EsShrinkScanEnterFtraceEvent::InternalSwap(Ext4EsShrinkScanEnterFtraceEvent* other) {
11395   using std::swap;
11396   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
11397   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
11398   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
11399       PROTOBUF_FIELD_OFFSET(Ext4EsShrinkScanEnterFtraceEvent, _impl_.cache_cnt_)
11400       + sizeof(Ext4EsShrinkScanEnterFtraceEvent::_impl_.cache_cnt_)  // NOLINT
11401       - PROTOBUF_FIELD_OFFSET(Ext4EsShrinkScanEnterFtraceEvent, _impl_.dev_)>(
11402           reinterpret_cast<char*>(&_impl_.dev_),
11403           reinterpret_cast<char*>(&other->_impl_.dev_));
11404 }
11405 
GetTypeName() const11406 std::string Ext4EsShrinkScanEnterFtraceEvent::GetTypeName() const {
11407   return "perfetto.protos.Ext4EsShrinkScanEnterFtraceEvent";
11408 }
11409 
11410 
11411 // ===================================================================
11412 
11413 class Ext4EsShrinkScanExitFtraceEvent::_Internal {
11414  public:
11415   using HasBits = decltype(std::declval<Ext4EsShrinkScanExitFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)11416   static void set_has_dev(HasBits* has_bits) {
11417     (*has_bits)[0] |= 1u;
11418   }
set_has_nr_shrunk(HasBits * has_bits)11419   static void set_has_nr_shrunk(HasBits* has_bits) {
11420     (*has_bits)[0] |= 2u;
11421   }
set_has_cache_cnt(HasBits * has_bits)11422   static void set_has_cache_cnt(HasBits* has_bits) {
11423     (*has_bits)[0] |= 4u;
11424   }
11425 };
11426 
Ext4EsShrinkScanExitFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)11427 Ext4EsShrinkScanExitFtraceEvent::Ext4EsShrinkScanExitFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
11428                          bool is_message_owned)
11429   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
11430   SharedCtor(arena, is_message_owned);
11431   // @@protoc_insertion_point(arena_constructor:perfetto.protos.Ext4EsShrinkScanExitFtraceEvent)
11432 }
Ext4EsShrinkScanExitFtraceEvent(const Ext4EsShrinkScanExitFtraceEvent & from)11433 Ext4EsShrinkScanExitFtraceEvent::Ext4EsShrinkScanExitFtraceEvent(const Ext4EsShrinkScanExitFtraceEvent& from)
11434   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
11435   Ext4EsShrinkScanExitFtraceEvent* const _this = this; (void)_this;
11436   new (&_impl_) Impl_{
11437       decltype(_impl_._has_bits_){from._impl_._has_bits_}
11438     , /*decltype(_impl_._cached_size_)*/{}
11439     , decltype(_impl_.dev_){}
11440     , decltype(_impl_.nr_shrunk_){}
11441     , decltype(_impl_.cache_cnt_){}};
11442 
11443   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
11444   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
11445     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.cache_cnt_) -
11446     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.cache_cnt_));
11447   // @@protoc_insertion_point(copy_constructor:perfetto.protos.Ext4EsShrinkScanExitFtraceEvent)
11448 }
11449 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)11450 inline void Ext4EsShrinkScanExitFtraceEvent::SharedCtor(
11451     ::_pb::Arena* arena, bool is_message_owned) {
11452   (void)arena;
11453   (void)is_message_owned;
11454   new (&_impl_) Impl_{
11455       decltype(_impl_._has_bits_){}
11456     , /*decltype(_impl_._cached_size_)*/{}
11457     , decltype(_impl_.dev_){::uint64_t{0u}}
11458     , decltype(_impl_.nr_shrunk_){0}
11459     , decltype(_impl_.cache_cnt_){0}
11460   };
11461 }
11462 
~Ext4EsShrinkScanExitFtraceEvent()11463 Ext4EsShrinkScanExitFtraceEvent::~Ext4EsShrinkScanExitFtraceEvent() {
11464   // @@protoc_insertion_point(destructor:perfetto.protos.Ext4EsShrinkScanExitFtraceEvent)
11465   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
11466   (void)arena;
11467     return;
11468   }
11469   SharedDtor();
11470 }
11471 
SharedDtor()11472 inline void Ext4EsShrinkScanExitFtraceEvent::SharedDtor() {
11473   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
11474 }
11475 
SetCachedSize(int size) const11476 void Ext4EsShrinkScanExitFtraceEvent::SetCachedSize(int size) const {
11477   _impl_._cached_size_.Set(size);
11478 }
11479 
Clear()11480 void Ext4EsShrinkScanExitFtraceEvent::Clear() {
11481 // @@protoc_insertion_point(message_clear_start:perfetto.protos.Ext4EsShrinkScanExitFtraceEvent)
11482   ::uint32_t cached_has_bits = 0;
11483   // Prevent compiler warnings about cached_has_bits being unused
11484   (void) cached_has_bits;
11485 
11486   cached_has_bits = _impl_._has_bits_[0];
11487   if (cached_has_bits & 0x00000007u) {
11488     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
11489         reinterpret_cast<char*>(&_impl_.cache_cnt_) -
11490         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.cache_cnt_));
11491   }
11492   _impl_._has_bits_.Clear();
11493   _internal_metadata_.Clear<std::string>();
11494 }
11495 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)11496 const char* Ext4EsShrinkScanExitFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
11497 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
11498   _Internal::HasBits has_bits{};
11499   while (!ctx->Done(&ptr)) {
11500     ::uint32_t tag;
11501     ptr = ::_pbi::ReadTag(ptr, &tag);
11502     switch (tag >> 3) {
11503       // optional uint64 dev = 1;
11504       case 1:
11505         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
11506           _Internal::set_has_dev(&has_bits);
11507           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
11508           CHK_(ptr);
11509         } else {
11510           goto handle_unusual;
11511         }
11512         continue;
11513       // optional int32 nr_shrunk = 2;
11514       case 2:
11515         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
11516           _Internal::set_has_nr_shrunk(&has_bits);
11517           _impl_.nr_shrunk_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
11518           CHK_(ptr);
11519         } else {
11520           goto handle_unusual;
11521         }
11522         continue;
11523       // optional int32 cache_cnt = 3;
11524       case 3:
11525         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
11526           _Internal::set_has_cache_cnt(&has_bits);
11527           _impl_.cache_cnt_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
11528           CHK_(ptr);
11529         } else {
11530           goto handle_unusual;
11531         }
11532         continue;
11533       default:
11534         goto handle_unusual;
11535     }  // switch
11536   handle_unusual:
11537     if ((tag == 0) || ((tag & 7) == 4)) {
11538       CHK_(ptr);
11539       ctx->SetLastTag(tag);
11540       goto message_done;
11541     }
11542     ptr = UnknownFieldParse(
11543         tag,
11544         _internal_metadata_.mutable_unknown_fields<std::string>(),
11545         ptr, ctx);
11546     CHK_(ptr != nullptr);
11547   }  // while
11548 message_done:
11549   _impl_._has_bits_.Or(has_bits);
11550   return ptr;
11551 failure:
11552   ptr = nullptr;
11553   goto message_done;
11554 #undef CHK_
11555 }
11556 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const11557 ::uint8_t* Ext4EsShrinkScanExitFtraceEvent::_InternalSerialize(
11558     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
11559   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.Ext4EsShrinkScanExitFtraceEvent)
11560   ::uint32_t cached_has_bits = 0;
11561   (void) cached_has_bits;
11562 
11563   cached_has_bits = _impl_._has_bits_[0];
11564   // optional uint64 dev = 1;
11565   if (cached_has_bits & 0x00000001u) {
11566     target = stream->EnsureSpace(target);
11567     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
11568   }
11569 
11570   // optional int32 nr_shrunk = 2;
11571   if (cached_has_bits & 0x00000002u) {
11572     target = stream->EnsureSpace(target);
11573     target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_nr_shrunk(), target);
11574   }
11575 
11576   // optional int32 cache_cnt = 3;
11577   if (cached_has_bits & 0x00000004u) {
11578     target = stream->EnsureSpace(target);
11579     target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_cache_cnt(), target);
11580   }
11581 
11582   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
11583     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
11584         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
11585   }
11586   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.Ext4EsShrinkScanExitFtraceEvent)
11587   return target;
11588 }
11589 
ByteSizeLong() const11590 size_t Ext4EsShrinkScanExitFtraceEvent::ByteSizeLong() const {
11591 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.Ext4EsShrinkScanExitFtraceEvent)
11592   size_t total_size = 0;
11593 
11594   ::uint32_t cached_has_bits = 0;
11595   // Prevent compiler warnings about cached_has_bits being unused
11596   (void) cached_has_bits;
11597 
11598   cached_has_bits = _impl_._has_bits_[0];
11599   if (cached_has_bits & 0x00000007u) {
11600     // optional uint64 dev = 1;
11601     if (cached_has_bits & 0x00000001u) {
11602       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
11603     }
11604 
11605     // optional int32 nr_shrunk = 2;
11606     if (cached_has_bits & 0x00000002u) {
11607       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_nr_shrunk());
11608     }
11609 
11610     // optional int32 cache_cnt = 3;
11611     if (cached_has_bits & 0x00000004u) {
11612       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_cache_cnt());
11613     }
11614 
11615   }
11616   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
11617     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
11618   }
11619   int cached_size = ::_pbi::ToCachedSize(total_size);
11620   SetCachedSize(cached_size);
11621   return total_size;
11622 }
11623 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)11624 void Ext4EsShrinkScanExitFtraceEvent::CheckTypeAndMergeFrom(
11625     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
11626   MergeFrom(*::_pbi::DownCast<const Ext4EsShrinkScanExitFtraceEvent*>(
11627       &from));
11628 }
11629 
MergeFrom(const Ext4EsShrinkScanExitFtraceEvent & from)11630 void Ext4EsShrinkScanExitFtraceEvent::MergeFrom(const Ext4EsShrinkScanExitFtraceEvent& from) {
11631   Ext4EsShrinkScanExitFtraceEvent* const _this = this;
11632   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.Ext4EsShrinkScanExitFtraceEvent)
11633   GOOGLE_DCHECK_NE(&from, _this);
11634   ::uint32_t cached_has_bits = 0;
11635   (void) cached_has_bits;
11636 
11637   cached_has_bits = from._impl_._has_bits_[0];
11638   if (cached_has_bits & 0x00000007u) {
11639     if (cached_has_bits & 0x00000001u) {
11640       _this->_impl_.dev_ = from._impl_.dev_;
11641     }
11642     if (cached_has_bits & 0x00000002u) {
11643       _this->_impl_.nr_shrunk_ = from._impl_.nr_shrunk_;
11644     }
11645     if (cached_has_bits & 0x00000004u) {
11646       _this->_impl_.cache_cnt_ = from._impl_.cache_cnt_;
11647     }
11648     _this->_impl_._has_bits_[0] |= cached_has_bits;
11649   }
11650   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
11651 }
11652 
CopyFrom(const Ext4EsShrinkScanExitFtraceEvent & from)11653 void Ext4EsShrinkScanExitFtraceEvent::CopyFrom(const Ext4EsShrinkScanExitFtraceEvent& from) {
11654 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.Ext4EsShrinkScanExitFtraceEvent)
11655   if (&from == this) return;
11656   Clear();
11657   MergeFrom(from);
11658 }
11659 
IsInitialized() const11660 bool Ext4EsShrinkScanExitFtraceEvent::IsInitialized() const {
11661   return true;
11662 }
11663 
InternalSwap(Ext4EsShrinkScanExitFtraceEvent * other)11664 void Ext4EsShrinkScanExitFtraceEvent::InternalSwap(Ext4EsShrinkScanExitFtraceEvent* other) {
11665   using std::swap;
11666   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
11667   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
11668   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
11669       PROTOBUF_FIELD_OFFSET(Ext4EsShrinkScanExitFtraceEvent, _impl_.cache_cnt_)
11670       + sizeof(Ext4EsShrinkScanExitFtraceEvent::_impl_.cache_cnt_)  // NOLINT
11671       - PROTOBUF_FIELD_OFFSET(Ext4EsShrinkScanExitFtraceEvent, _impl_.dev_)>(
11672           reinterpret_cast<char*>(&_impl_.dev_),
11673           reinterpret_cast<char*>(&other->_impl_.dev_));
11674 }
11675 
GetTypeName() const11676 std::string Ext4EsShrinkScanExitFtraceEvent::GetTypeName() const {
11677   return "perfetto.protos.Ext4EsShrinkScanExitFtraceEvent";
11678 }
11679 
11680 
11681 // ===================================================================
11682 
11683 class Ext4EvictInodeFtraceEvent::_Internal {
11684  public:
11685   using HasBits = decltype(std::declval<Ext4EvictInodeFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)11686   static void set_has_dev(HasBits* has_bits) {
11687     (*has_bits)[0] |= 1u;
11688   }
set_has_ino(HasBits * has_bits)11689   static void set_has_ino(HasBits* has_bits) {
11690     (*has_bits)[0] |= 2u;
11691   }
set_has_nlink(HasBits * has_bits)11692   static void set_has_nlink(HasBits* has_bits) {
11693     (*has_bits)[0] |= 4u;
11694   }
11695 };
11696 
Ext4EvictInodeFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)11697 Ext4EvictInodeFtraceEvent::Ext4EvictInodeFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
11698                          bool is_message_owned)
11699   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
11700   SharedCtor(arena, is_message_owned);
11701   // @@protoc_insertion_point(arena_constructor:perfetto.protos.Ext4EvictInodeFtraceEvent)
11702 }
Ext4EvictInodeFtraceEvent(const Ext4EvictInodeFtraceEvent & from)11703 Ext4EvictInodeFtraceEvent::Ext4EvictInodeFtraceEvent(const Ext4EvictInodeFtraceEvent& from)
11704   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
11705   Ext4EvictInodeFtraceEvent* const _this = this; (void)_this;
11706   new (&_impl_) Impl_{
11707       decltype(_impl_._has_bits_){from._impl_._has_bits_}
11708     , /*decltype(_impl_._cached_size_)*/{}
11709     , decltype(_impl_.dev_){}
11710     , decltype(_impl_.ino_){}
11711     , decltype(_impl_.nlink_){}};
11712 
11713   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
11714   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
11715     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.nlink_) -
11716     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.nlink_));
11717   // @@protoc_insertion_point(copy_constructor:perfetto.protos.Ext4EvictInodeFtraceEvent)
11718 }
11719 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)11720 inline void Ext4EvictInodeFtraceEvent::SharedCtor(
11721     ::_pb::Arena* arena, bool is_message_owned) {
11722   (void)arena;
11723   (void)is_message_owned;
11724   new (&_impl_) Impl_{
11725       decltype(_impl_._has_bits_){}
11726     , /*decltype(_impl_._cached_size_)*/{}
11727     , decltype(_impl_.dev_){::uint64_t{0u}}
11728     , decltype(_impl_.ino_){::uint64_t{0u}}
11729     , decltype(_impl_.nlink_){0}
11730   };
11731 }
11732 
~Ext4EvictInodeFtraceEvent()11733 Ext4EvictInodeFtraceEvent::~Ext4EvictInodeFtraceEvent() {
11734   // @@protoc_insertion_point(destructor:perfetto.protos.Ext4EvictInodeFtraceEvent)
11735   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
11736   (void)arena;
11737     return;
11738   }
11739   SharedDtor();
11740 }
11741 
SharedDtor()11742 inline void Ext4EvictInodeFtraceEvent::SharedDtor() {
11743   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
11744 }
11745 
SetCachedSize(int size) const11746 void Ext4EvictInodeFtraceEvent::SetCachedSize(int size) const {
11747   _impl_._cached_size_.Set(size);
11748 }
11749 
Clear()11750 void Ext4EvictInodeFtraceEvent::Clear() {
11751 // @@protoc_insertion_point(message_clear_start:perfetto.protos.Ext4EvictInodeFtraceEvent)
11752   ::uint32_t cached_has_bits = 0;
11753   // Prevent compiler warnings about cached_has_bits being unused
11754   (void) cached_has_bits;
11755 
11756   cached_has_bits = _impl_._has_bits_[0];
11757   if (cached_has_bits & 0x00000007u) {
11758     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
11759         reinterpret_cast<char*>(&_impl_.nlink_) -
11760         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.nlink_));
11761   }
11762   _impl_._has_bits_.Clear();
11763   _internal_metadata_.Clear<std::string>();
11764 }
11765 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)11766 const char* Ext4EvictInodeFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
11767 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
11768   _Internal::HasBits has_bits{};
11769   while (!ctx->Done(&ptr)) {
11770     ::uint32_t tag;
11771     ptr = ::_pbi::ReadTag(ptr, &tag);
11772     switch (tag >> 3) {
11773       // optional uint64 dev = 1;
11774       case 1:
11775         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
11776           _Internal::set_has_dev(&has_bits);
11777           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
11778           CHK_(ptr);
11779         } else {
11780           goto handle_unusual;
11781         }
11782         continue;
11783       // optional uint64 ino = 2;
11784       case 2:
11785         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
11786           _Internal::set_has_ino(&has_bits);
11787           _impl_.ino_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
11788           CHK_(ptr);
11789         } else {
11790           goto handle_unusual;
11791         }
11792         continue;
11793       // optional int32 nlink = 3;
11794       case 3:
11795         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
11796           _Internal::set_has_nlink(&has_bits);
11797           _impl_.nlink_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
11798           CHK_(ptr);
11799         } else {
11800           goto handle_unusual;
11801         }
11802         continue;
11803       default:
11804         goto handle_unusual;
11805     }  // switch
11806   handle_unusual:
11807     if ((tag == 0) || ((tag & 7) == 4)) {
11808       CHK_(ptr);
11809       ctx->SetLastTag(tag);
11810       goto message_done;
11811     }
11812     ptr = UnknownFieldParse(
11813         tag,
11814         _internal_metadata_.mutable_unknown_fields<std::string>(),
11815         ptr, ctx);
11816     CHK_(ptr != nullptr);
11817   }  // while
11818 message_done:
11819   _impl_._has_bits_.Or(has_bits);
11820   return ptr;
11821 failure:
11822   ptr = nullptr;
11823   goto message_done;
11824 #undef CHK_
11825 }
11826 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const11827 ::uint8_t* Ext4EvictInodeFtraceEvent::_InternalSerialize(
11828     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
11829   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.Ext4EvictInodeFtraceEvent)
11830   ::uint32_t cached_has_bits = 0;
11831   (void) cached_has_bits;
11832 
11833   cached_has_bits = _impl_._has_bits_[0];
11834   // optional uint64 dev = 1;
11835   if (cached_has_bits & 0x00000001u) {
11836     target = stream->EnsureSpace(target);
11837     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
11838   }
11839 
11840   // optional uint64 ino = 2;
11841   if (cached_has_bits & 0x00000002u) {
11842     target = stream->EnsureSpace(target);
11843     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_ino(), target);
11844   }
11845 
11846   // optional int32 nlink = 3;
11847   if (cached_has_bits & 0x00000004u) {
11848     target = stream->EnsureSpace(target);
11849     target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_nlink(), target);
11850   }
11851 
11852   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
11853     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
11854         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
11855   }
11856   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.Ext4EvictInodeFtraceEvent)
11857   return target;
11858 }
11859 
ByteSizeLong() const11860 size_t Ext4EvictInodeFtraceEvent::ByteSizeLong() const {
11861 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.Ext4EvictInodeFtraceEvent)
11862   size_t total_size = 0;
11863 
11864   ::uint32_t cached_has_bits = 0;
11865   // Prevent compiler warnings about cached_has_bits being unused
11866   (void) cached_has_bits;
11867 
11868   cached_has_bits = _impl_._has_bits_[0];
11869   if (cached_has_bits & 0x00000007u) {
11870     // optional uint64 dev = 1;
11871     if (cached_has_bits & 0x00000001u) {
11872       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
11873     }
11874 
11875     // optional uint64 ino = 2;
11876     if (cached_has_bits & 0x00000002u) {
11877       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ino());
11878     }
11879 
11880     // optional int32 nlink = 3;
11881     if (cached_has_bits & 0x00000004u) {
11882       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_nlink());
11883     }
11884 
11885   }
11886   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
11887     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
11888   }
11889   int cached_size = ::_pbi::ToCachedSize(total_size);
11890   SetCachedSize(cached_size);
11891   return total_size;
11892 }
11893 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)11894 void Ext4EvictInodeFtraceEvent::CheckTypeAndMergeFrom(
11895     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
11896   MergeFrom(*::_pbi::DownCast<const Ext4EvictInodeFtraceEvent*>(
11897       &from));
11898 }
11899 
MergeFrom(const Ext4EvictInodeFtraceEvent & from)11900 void Ext4EvictInodeFtraceEvent::MergeFrom(const Ext4EvictInodeFtraceEvent& from) {
11901   Ext4EvictInodeFtraceEvent* const _this = this;
11902   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.Ext4EvictInodeFtraceEvent)
11903   GOOGLE_DCHECK_NE(&from, _this);
11904   ::uint32_t cached_has_bits = 0;
11905   (void) cached_has_bits;
11906 
11907   cached_has_bits = from._impl_._has_bits_[0];
11908   if (cached_has_bits & 0x00000007u) {
11909     if (cached_has_bits & 0x00000001u) {
11910       _this->_impl_.dev_ = from._impl_.dev_;
11911     }
11912     if (cached_has_bits & 0x00000002u) {
11913       _this->_impl_.ino_ = from._impl_.ino_;
11914     }
11915     if (cached_has_bits & 0x00000004u) {
11916       _this->_impl_.nlink_ = from._impl_.nlink_;
11917     }
11918     _this->_impl_._has_bits_[0] |= cached_has_bits;
11919   }
11920   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
11921 }
11922 
CopyFrom(const Ext4EvictInodeFtraceEvent & from)11923 void Ext4EvictInodeFtraceEvent::CopyFrom(const Ext4EvictInodeFtraceEvent& from) {
11924 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.Ext4EvictInodeFtraceEvent)
11925   if (&from == this) return;
11926   Clear();
11927   MergeFrom(from);
11928 }
11929 
IsInitialized() const11930 bool Ext4EvictInodeFtraceEvent::IsInitialized() const {
11931   return true;
11932 }
11933 
InternalSwap(Ext4EvictInodeFtraceEvent * other)11934 void Ext4EvictInodeFtraceEvent::InternalSwap(Ext4EvictInodeFtraceEvent* other) {
11935   using std::swap;
11936   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
11937   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
11938   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
11939       PROTOBUF_FIELD_OFFSET(Ext4EvictInodeFtraceEvent, _impl_.nlink_)
11940       + sizeof(Ext4EvictInodeFtraceEvent::_impl_.nlink_)  // NOLINT
11941       - PROTOBUF_FIELD_OFFSET(Ext4EvictInodeFtraceEvent, _impl_.dev_)>(
11942           reinterpret_cast<char*>(&_impl_.dev_),
11943           reinterpret_cast<char*>(&other->_impl_.dev_));
11944 }
11945 
GetTypeName() const11946 std::string Ext4EvictInodeFtraceEvent::GetTypeName() const {
11947   return "perfetto.protos.Ext4EvictInodeFtraceEvent";
11948 }
11949 
11950 
11951 // ===================================================================
11952 
11953 class Ext4ExtConvertToInitializedEnterFtraceEvent::_Internal {
11954  public:
11955   using HasBits = decltype(std::declval<Ext4ExtConvertToInitializedEnterFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)11956   static void set_has_dev(HasBits* has_bits) {
11957     (*has_bits)[0] |= 1u;
11958   }
set_has_ino(HasBits * has_bits)11959   static void set_has_ino(HasBits* has_bits) {
11960     (*has_bits)[0] |= 2u;
11961   }
set_has_m_lblk(HasBits * has_bits)11962   static void set_has_m_lblk(HasBits* has_bits) {
11963     (*has_bits)[0] |= 4u;
11964   }
set_has_m_len(HasBits * has_bits)11965   static void set_has_m_len(HasBits* has_bits) {
11966     (*has_bits)[0] |= 8u;
11967   }
set_has_u_lblk(HasBits * has_bits)11968   static void set_has_u_lblk(HasBits* has_bits) {
11969     (*has_bits)[0] |= 16u;
11970   }
set_has_u_len(HasBits * has_bits)11971   static void set_has_u_len(HasBits* has_bits) {
11972     (*has_bits)[0] |= 32u;
11973   }
set_has_u_pblk(HasBits * has_bits)11974   static void set_has_u_pblk(HasBits* has_bits) {
11975     (*has_bits)[0] |= 64u;
11976   }
11977 };
11978 
Ext4ExtConvertToInitializedEnterFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)11979 Ext4ExtConvertToInitializedEnterFtraceEvent::Ext4ExtConvertToInitializedEnterFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
11980                          bool is_message_owned)
11981   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
11982   SharedCtor(arena, is_message_owned);
11983   // @@protoc_insertion_point(arena_constructor:perfetto.protos.Ext4ExtConvertToInitializedEnterFtraceEvent)
11984 }
Ext4ExtConvertToInitializedEnterFtraceEvent(const Ext4ExtConvertToInitializedEnterFtraceEvent & from)11985 Ext4ExtConvertToInitializedEnterFtraceEvent::Ext4ExtConvertToInitializedEnterFtraceEvent(const Ext4ExtConvertToInitializedEnterFtraceEvent& from)
11986   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
11987   Ext4ExtConvertToInitializedEnterFtraceEvent* const _this = this; (void)_this;
11988   new (&_impl_) Impl_{
11989       decltype(_impl_._has_bits_){from._impl_._has_bits_}
11990     , /*decltype(_impl_._cached_size_)*/{}
11991     , decltype(_impl_.dev_){}
11992     , decltype(_impl_.ino_){}
11993     , decltype(_impl_.m_lblk_){}
11994     , decltype(_impl_.m_len_){}
11995     , decltype(_impl_.u_lblk_){}
11996     , decltype(_impl_.u_len_){}
11997     , decltype(_impl_.u_pblk_){}};
11998 
11999   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
12000   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
12001     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.u_pblk_) -
12002     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.u_pblk_));
12003   // @@protoc_insertion_point(copy_constructor:perfetto.protos.Ext4ExtConvertToInitializedEnterFtraceEvent)
12004 }
12005 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)12006 inline void Ext4ExtConvertToInitializedEnterFtraceEvent::SharedCtor(
12007     ::_pb::Arena* arena, bool is_message_owned) {
12008   (void)arena;
12009   (void)is_message_owned;
12010   new (&_impl_) Impl_{
12011       decltype(_impl_._has_bits_){}
12012     , /*decltype(_impl_._cached_size_)*/{}
12013     , decltype(_impl_.dev_){::uint64_t{0u}}
12014     , decltype(_impl_.ino_){::uint64_t{0u}}
12015     , decltype(_impl_.m_lblk_){0u}
12016     , decltype(_impl_.m_len_){0u}
12017     , decltype(_impl_.u_lblk_){0u}
12018     , decltype(_impl_.u_len_){0u}
12019     , decltype(_impl_.u_pblk_){::uint64_t{0u}}
12020   };
12021 }
12022 
~Ext4ExtConvertToInitializedEnterFtraceEvent()12023 Ext4ExtConvertToInitializedEnterFtraceEvent::~Ext4ExtConvertToInitializedEnterFtraceEvent() {
12024   // @@protoc_insertion_point(destructor:perfetto.protos.Ext4ExtConvertToInitializedEnterFtraceEvent)
12025   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
12026   (void)arena;
12027     return;
12028   }
12029   SharedDtor();
12030 }
12031 
SharedDtor()12032 inline void Ext4ExtConvertToInitializedEnterFtraceEvent::SharedDtor() {
12033   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
12034 }
12035 
SetCachedSize(int size) const12036 void Ext4ExtConvertToInitializedEnterFtraceEvent::SetCachedSize(int size) const {
12037   _impl_._cached_size_.Set(size);
12038 }
12039 
Clear()12040 void Ext4ExtConvertToInitializedEnterFtraceEvent::Clear() {
12041 // @@protoc_insertion_point(message_clear_start:perfetto.protos.Ext4ExtConvertToInitializedEnterFtraceEvent)
12042   ::uint32_t cached_has_bits = 0;
12043   // Prevent compiler warnings about cached_has_bits being unused
12044   (void) cached_has_bits;
12045 
12046   cached_has_bits = _impl_._has_bits_[0];
12047   if (cached_has_bits & 0x0000007fu) {
12048     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
12049         reinterpret_cast<char*>(&_impl_.u_pblk_) -
12050         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.u_pblk_));
12051   }
12052   _impl_._has_bits_.Clear();
12053   _internal_metadata_.Clear<std::string>();
12054 }
12055 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)12056 const char* Ext4ExtConvertToInitializedEnterFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
12057 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
12058   _Internal::HasBits has_bits{};
12059   while (!ctx->Done(&ptr)) {
12060     ::uint32_t tag;
12061     ptr = ::_pbi::ReadTag(ptr, &tag);
12062     switch (tag >> 3) {
12063       // optional uint64 dev = 1;
12064       case 1:
12065         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
12066           _Internal::set_has_dev(&has_bits);
12067           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
12068           CHK_(ptr);
12069         } else {
12070           goto handle_unusual;
12071         }
12072         continue;
12073       // optional uint64 ino = 2;
12074       case 2:
12075         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
12076           _Internal::set_has_ino(&has_bits);
12077           _impl_.ino_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
12078           CHK_(ptr);
12079         } else {
12080           goto handle_unusual;
12081         }
12082         continue;
12083       // optional uint32 m_lblk = 3;
12084       case 3:
12085         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
12086           _Internal::set_has_m_lblk(&has_bits);
12087           _impl_.m_lblk_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
12088           CHK_(ptr);
12089         } else {
12090           goto handle_unusual;
12091         }
12092         continue;
12093       // optional uint32 m_len = 4;
12094       case 4:
12095         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
12096           _Internal::set_has_m_len(&has_bits);
12097           _impl_.m_len_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
12098           CHK_(ptr);
12099         } else {
12100           goto handle_unusual;
12101         }
12102         continue;
12103       // optional uint32 u_lblk = 5;
12104       case 5:
12105         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) {
12106           _Internal::set_has_u_lblk(&has_bits);
12107           _impl_.u_lblk_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
12108           CHK_(ptr);
12109         } else {
12110           goto handle_unusual;
12111         }
12112         continue;
12113       // optional uint32 u_len = 6;
12114       case 6:
12115         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 48)) {
12116           _Internal::set_has_u_len(&has_bits);
12117           _impl_.u_len_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
12118           CHK_(ptr);
12119         } else {
12120           goto handle_unusual;
12121         }
12122         continue;
12123       // optional uint64 u_pblk = 7;
12124       case 7:
12125         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 56)) {
12126           _Internal::set_has_u_pblk(&has_bits);
12127           _impl_.u_pblk_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
12128           CHK_(ptr);
12129         } else {
12130           goto handle_unusual;
12131         }
12132         continue;
12133       default:
12134         goto handle_unusual;
12135     }  // switch
12136   handle_unusual:
12137     if ((tag == 0) || ((tag & 7) == 4)) {
12138       CHK_(ptr);
12139       ctx->SetLastTag(tag);
12140       goto message_done;
12141     }
12142     ptr = UnknownFieldParse(
12143         tag,
12144         _internal_metadata_.mutable_unknown_fields<std::string>(),
12145         ptr, ctx);
12146     CHK_(ptr != nullptr);
12147   }  // while
12148 message_done:
12149   _impl_._has_bits_.Or(has_bits);
12150   return ptr;
12151 failure:
12152   ptr = nullptr;
12153   goto message_done;
12154 #undef CHK_
12155 }
12156 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const12157 ::uint8_t* Ext4ExtConvertToInitializedEnterFtraceEvent::_InternalSerialize(
12158     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
12159   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.Ext4ExtConvertToInitializedEnterFtraceEvent)
12160   ::uint32_t cached_has_bits = 0;
12161   (void) cached_has_bits;
12162 
12163   cached_has_bits = _impl_._has_bits_[0];
12164   // optional uint64 dev = 1;
12165   if (cached_has_bits & 0x00000001u) {
12166     target = stream->EnsureSpace(target);
12167     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
12168   }
12169 
12170   // optional uint64 ino = 2;
12171   if (cached_has_bits & 0x00000002u) {
12172     target = stream->EnsureSpace(target);
12173     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_ino(), target);
12174   }
12175 
12176   // optional uint32 m_lblk = 3;
12177   if (cached_has_bits & 0x00000004u) {
12178     target = stream->EnsureSpace(target);
12179     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_m_lblk(), target);
12180   }
12181 
12182   // optional uint32 m_len = 4;
12183   if (cached_has_bits & 0x00000008u) {
12184     target = stream->EnsureSpace(target);
12185     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_m_len(), target);
12186   }
12187 
12188   // optional uint32 u_lblk = 5;
12189   if (cached_has_bits & 0x00000010u) {
12190     target = stream->EnsureSpace(target);
12191     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_u_lblk(), target);
12192   }
12193 
12194   // optional uint32 u_len = 6;
12195   if (cached_has_bits & 0x00000020u) {
12196     target = stream->EnsureSpace(target);
12197     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_u_len(), target);
12198   }
12199 
12200   // optional uint64 u_pblk = 7;
12201   if (cached_has_bits & 0x00000040u) {
12202     target = stream->EnsureSpace(target);
12203     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(7, this->_internal_u_pblk(), target);
12204   }
12205 
12206   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
12207     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
12208         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
12209   }
12210   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.Ext4ExtConvertToInitializedEnterFtraceEvent)
12211   return target;
12212 }
12213 
ByteSizeLong() const12214 size_t Ext4ExtConvertToInitializedEnterFtraceEvent::ByteSizeLong() const {
12215 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.Ext4ExtConvertToInitializedEnterFtraceEvent)
12216   size_t total_size = 0;
12217 
12218   ::uint32_t cached_has_bits = 0;
12219   // Prevent compiler warnings about cached_has_bits being unused
12220   (void) cached_has_bits;
12221 
12222   cached_has_bits = _impl_._has_bits_[0];
12223   if (cached_has_bits & 0x0000007fu) {
12224     // optional uint64 dev = 1;
12225     if (cached_has_bits & 0x00000001u) {
12226       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
12227     }
12228 
12229     // optional uint64 ino = 2;
12230     if (cached_has_bits & 0x00000002u) {
12231       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ino());
12232     }
12233 
12234     // optional uint32 m_lblk = 3;
12235     if (cached_has_bits & 0x00000004u) {
12236       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_m_lblk());
12237     }
12238 
12239     // optional uint32 m_len = 4;
12240     if (cached_has_bits & 0x00000008u) {
12241       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_m_len());
12242     }
12243 
12244     // optional uint32 u_lblk = 5;
12245     if (cached_has_bits & 0x00000010u) {
12246       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_u_lblk());
12247     }
12248 
12249     // optional uint32 u_len = 6;
12250     if (cached_has_bits & 0x00000020u) {
12251       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_u_len());
12252     }
12253 
12254     // optional uint64 u_pblk = 7;
12255     if (cached_has_bits & 0x00000040u) {
12256       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_u_pblk());
12257     }
12258 
12259   }
12260   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
12261     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
12262   }
12263   int cached_size = ::_pbi::ToCachedSize(total_size);
12264   SetCachedSize(cached_size);
12265   return total_size;
12266 }
12267 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)12268 void Ext4ExtConvertToInitializedEnterFtraceEvent::CheckTypeAndMergeFrom(
12269     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
12270   MergeFrom(*::_pbi::DownCast<const Ext4ExtConvertToInitializedEnterFtraceEvent*>(
12271       &from));
12272 }
12273 
MergeFrom(const Ext4ExtConvertToInitializedEnterFtraceEvent & from)12274 void Ext4ExtConvertToInitializedEnterFtraceEvent::MergeFrom(const Ext4ExtConvertToInitializedEnterFtraceEvent& from) {
12275   Ext4ExtConvertToInitializedEnterFtraceEvent* const _this = this;
12276   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.Ext4ExtConvertToInitializedEnterFtraceEvent)
12277   GOOGLE_DCHECK_NE(&from, _this);
12278   ::uint32_t cached_has_bits = 0;
12279   (void) cached_has_bits;
12280 
12281   cached_has_bits = from._impl_._has_bits_[0];
12282   if (cached_has_bits & 0x0000007fu) {
12283     if (cached_has_bits & 0x00000001u) {
12284       _this->_impl_.dev_ = from._impl_.dev_;
12285     }
12286     if (cached_has_bits & 0x00000002u) {
12287       _this->_impl_.ino_ = from._impl_.ino_;
12288     }
12289     if (cached_has_bits & 0x00000004u) {
12290       _this->_impl_.m_lblk_ = from._impl_.m_lblk_;
12291     }
12292     if (cached_has_bits & 0x00000008u) {
12293       _this->_impl_.m_len_ = from._impl_.m_len_;
12294     }
12295     if (cached_has_bits & 0x00000010u) {
12296       _this->_impl_.u_lblk_ = from._impl_.u_lblk_;
12297     }
12298     if (cached_has_bits & 0x00000020u) {
12299       _this->_impl_.u_len_ = from._impl_.u_len_;
12300     }
12301     if (cached_has_bits & 0x00000040u) {
12302       _this->_impl_.u_pblk_ = from._impl_.u_pblk_;
12303     }
12304     _this->_impl_._has_bits_[0] |= cached_has_bits;
12305   }
12306   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
12307 }
12308 
CopyFrom(const Ext4ExtConvertToInitializedEnterFtraceEvent & from)12309 void Ext4ExtConvertToInitializedEnterFtraceEvent::CopyFrom(const Ext4ExtConvertToInitializedEnterFtraceEvent& from) {
12310 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.Ext4ExtConvertToInitializedEnterFtraceEvent)
12311   if (&from == this) return;
12312   Clear();
12313   MergeFrom(from);
12314 }
12315 
IsInitialized() const12316 bool Ext4ExtConvertToInitializedEnterFtraceEvent::IsInitialized() const {
12317   return true;
12318 }
12319 
InternalSwap(Ext4ExtConvertToInitializedEnterFtraceEvent * other)12320 void Ext4ExtConvertToInitializedEnterFtraceEvent::InternalSwap(Ext4ExtConvertToInitializedEnterFtraceEvent* other) {
12321   using std::swap;
12322   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
12323   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
12324   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
12325       PROTOBUF_FIELD_OFFSET(Ext4ExtConvertToInitializedEnterFtraceEvent, _impl_.u_pblk_)
12326       + sizeof(Ext4ExtConvertToInitializedEnterFtraceEvent::_impl_.u_pblk_)  // NOLINT
12327       - PROTOBUF_FIELD_OFFSET(Ext4ExtConvertToInitializedEnterFtraceEvent, _impl_.dev_)>(
12328           reinterpret_cast<char*>(&_impl_.dev_),
12329           reinterpret_cast<char*>(&other->_impl_.dev_));
12330 }
12331 
GetTypeName() const12332 std::string Ext4ExtConvertToInitializedEnterFtraceEvent::GetTypeName() const {
12333   return "perfetto.protos.Ext4ExtConvertToInitializedEnterFtraceEvent";
12334 }
12335 
12336 
12337 // ===================================================================
12338 
12339 class Ext4ExtConvertToInitializedFastpathFtraceEvent::_Internal {
12340  public:
12341   using HasBits = decltype(std::declval<Ext4ExtConvertToInitializedFastpathFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)12342   static void set_has_dev(HasBits* has_bits) {
12343     (*has_bits)[0] |= 1u;
12344   }
set_has_ino(HasBits * has_bits)12345   static void set_has_ino(HasBits* has_bits) {
12346     (*has_bits)[0] |= 2u;
12347   }
set_has_m_lblk(HasBits * has_bits)12348   static void set_has_m_lblk(HasBits* has_bits) {
12349     (*has_bits)[0] |= 4u;
12350   }
set_has_m_len(HasBits * has_bits)12351   static void set_has_m_len(HasBits* has_bits) {
12352     (*has_bits)[0] |= 8u;
12353   }
set_has_u_lblk(HasBits * has_bits)12354   static void set_has_u_lblk(HasBits* has_bits) {
12355     (*has_bits)[0] |= 16u;
12356   }
set_has_u_len(HasBits * has_bits)12357   static void set_has_u_len(HasBits* has_bits) {
12358     (*has_bits)[0] |= 32u;
12359   }
set_has_u_pblk(HasBits * has_bits)12360   static void set_has_u_pblk(HasBits* has_bits) {
12361     (*has_bits)[0] |= 64u;
12362   }
set_has_i_lblk(HasBits * has_bits)12363   static void set_has_i_lblk(HasBits* has_bits) {
12364     (*has_bits)[0] |= 128u;
12365   }
set_has_i_len(HasBits * has_bits)12366   static void set_has_i_len(HasBits* has_bits) {
12367     (*has_bits)[0] |= 256u;
12368   }
set_has_i_pblk(HasBits * has_bits)12369   static void set_has_i_pblk(HasBits* has_bits) {
12370     (*has_bits)[0] |= 512u;
12371   }
12372 };
12373 
Ext4ExtConvertToInitializedFastpathFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)12374 Ext4ExtConvertToInitializedFastpathFtraceEvent::Ext4ExtConvertToInitializedFastpathFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
12375                          bool is_message_owned)
12376   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
12377   SharedCtor(arena, is_message_owned);
12378   // @@protoc_insertion_point(arena_constructor:perfetto.protos.Ext4ExtConvertToInitializedFastpathFtraceEvent)
12379 }
Ext4ExtConvertToInitializedFastpathFtraceEvent(const Ext4ExtConvertToInitializedFastpathFtraceEvent & from)12380 Ext4ExtConvertToInitializedFastpathFtraceEvent::Ext4ExtConvertToInitializedFastpathFtraceEvent(const Ext4ExtConvertToInitializedFastpathFtraceEvent& from)
12381   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
12382   Ext4ExtConvertToInitializedFastpathFtraceEvent* const _this = this; (void)_this;
12383   new (&_impl_) Impl_{
12384       decltype(_impl_._has_bits_){from._impl_._has_bits_}
12385     , /*decltype(_impl_._cached_size_)*/{}
12386     , decltype(_impl_.dev_){}
12387     , decltype(_impl_.ino_){}
12388     , decltype(_impl_.m_lblk_){}
12389     , decltype(_impl_.m_len_){}
12390     , decltype(_impl_.u_lblk_){}
12391     , decltype(_impl_.u_len_){}
12392     , decltype(_impl_.u_pblk_){}
12393     , decltype(_impl_.i_lblk_){}
12394     , decltype(_impl_.i_len_){}
12395     , decltype(_impl_.i_pblk_){}};
12396 
12397   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
12398   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
12399     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.i_pblk_) -
12400     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.i_pblk_));
12401   // @@protoc_insertion_point(copy_constructor:perfetto.protos.Ext4ExtConvertToInitializedFastpathFtraceEvent)
12402 }
12403 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)12404 inline void Ext4ExtConvertToInitializedFastpathFtraceEvent::SharedCtor(
12405     ::_pb::Arena* arena, bool is_message_owned) {
12406   (void)arena;
12407   (void)is_message_owned;
12408   new (&_impl_) Impl_{
12409       decltype(_impl_._has_bits_){}
12410     , /*decltype(_impl_._cached_size_)*/{}
12411     , decltype(_impl_.dev_){::uint64_t{0u}}
12412     , decltype(_impl_.ino_){::uint64_t{0u}}
12413     , decltype(_impl_.m_lblk_){0u}
12414     , decltype(_impl_.m_len_){0u}
12415     , decltype(_impl_.u_lblk_){0u}
12416     , decltype(_impl_.u_len_){0u}
12417     , decltype(_impl_.u_pblk_){::uint64_t{0u}}
12418     , decltype(_impl_.i_lblk_){0u}
12419     , decltype(_impl_.i_len_){0u}
12420     , decltype(_impl_.i_pblk_){::uint64_t{0u}}
12421   };
12422 }
12423 
~Ext4ExtConvertToInitializedFastpathFtraceEvent()12424 Ext4ExtConvertToInitializedFastpathFtraceEvent::~Ext4ExtConvertToInitializedFastpathFtraceEvent() {
12425   // @@protoc_insertion_point(destructor:perfetto.protos.Ext4ExtConvertToInitializedFastpathFtraceEvent)
12426   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
12427   (void)arena;
12428     return;
12429   }
12430   SharedDtor();
12431 }
12432 
SharedDtor()12433 inline void Ext4ExtConvertToInitializedFastpathFtraceEvent::SharedDtor() {
12434   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
12435 }
12436 
SetCachedSize(int size) const12437 void Ext4ExtConvertToInitializedFastpathFtraceEvent::SetCachedSize(int size) const {
12438   _impl_._cached_size_.Set(size);
12439 }
12440 
Clear()12441 void Ext4ExtConvertToInitializedFastpathFtraceEvent::Clear() {
12442 // @@protoc_insertion_point(message_clear_start:perfetto.protos.Ext4ExtConvertToInitializedFastpathFtraceEvent)
12443   ::uint32_t cached_has_bits = 0;
12444   // Prevent compiler warnings about cached_has_bits being unused
12445   (void) cached_has_bits;
12446 
12447   cached_has_bits = _impl_._has_bits_[0];
12448   if (cached_has_bits & 0x000000ffu) {
12449     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
12450         reinterpret_cast<char*>(&_impl_.i_lblk_) -
12451         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.i_lblk_));
12452   }
12453   if (cached_has_bits & 0x00000300u) {
12454     ::memset(&_impl_.i_len_, 0, static_cast<size_t>(
12455         reinterpret_cast<char*>(&_impl_.i_pblk_) -
12456         reinterpret_cast<char*>(&_impl_.i_len_)) + sizeof(_impl_.i_pblk_));
12457   }
12458   _impl_._has_bits_.Clear();
12459   _internal_metadata_.Clear<std::string>();
12460 }
12461 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)12462 const char* Ext4ExtConvertToInitializedFastpathFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
12463 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
12464   _Internal::HasBits has_bits{};
12465   while (!ctx->Done(&ptr)) {
12466     ::uint32_t tag;
12467     ptr = ::_pbi::ReadTag(ptr, &tag);
12468     switch (tag >> 3) {
12469       // optional uint64 dev = 1;
12470       case 1:
12471         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
12472           _Internal::set_has_dev(&has_bits);
12473           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
12474           CHK_(ptr);
12475         } else {
12476           goto handle_unusual;
12477         }
12478         continue;
12479       // optional uint64 ino = 2;
12480       case 2:
12481         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
12482           _Internal::set_has_ino(&has_bits);
12483           _impl_.ino_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
12484           CHK_(ptr);
12485         } else {
12486           goto handle_unusual;
12487         }
12488         continue;
12489       // optional uint32 m_lblk = 3;
12490       case 3:
12491         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
12492           _Internal::set_has_m_lblk(&has_bits);
12493           _impl_.m_lblk_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
12494           CHK_(ptr);
12495         } else {
12496           goto handle_unusual;
12497         }
12498         continue;
12499       // optional uint32 m_len = 4;
12500       case 4:
12501         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
12502           _Internal::set_has_m_len(&has_bits);
12503           _impl_.m_len_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
12504           CHK_(ptr);
12505         } else {
12506           goto handle_unusual;
12507         }
12508         continue;
12509       // optional uint32 u_lblk = 5;
12510       case 5:
12511         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) {
12512           _Internal::set_has_u_lblk(&has_bits);
12513           _impl_.u_lblk_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
12514           CHK_(ptr);
12515         } else {
12516           goto handle_unusual;
12517         }
12518         continue;
12519       // optional uint32 u_len = 6;
12520       case 6:
12521         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 48)) {
12522           _Internal::set_has_u_len(&has_bits);
12523           _impl_.u_len_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
12524           CHK_(ptr);
12525         } else {
12526           goto handle_unusual;
12527         }
12528         continue;
12529       // optional uint64 u_pblk = 7;
12530       case 7:
12531         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 56)) {
12532           _Internal::set_has_u_pblk(&has_bits);
12533           _impl_.u_pblk_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
12534           CHK_(ptr);
12535         } else {
12536           goto handle_unusual;
12537         }
12538         continue;
12539       // optional uint32 i_lblk = 8;
12540       case 8:
12541         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 64)) {
12542           _Internal::set_has_i_lblk(&has_bits);
12543           _impl_.i_lblk_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
12544           CHK_(ptr);
12545         } else {
12546           goto handle_unusual;
12547         }
12548         continue;
12549       // optional uint32 i_len = 9;
12550       case 9:
12551         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 72)) {
12552           _Internal::set_has_i_len(&has_bits);
12553           _impl_.i_len_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
12554           CHK_(ptr);
12555         } else {
12556           goto handle_unusual;
12557         }
12558         continue;
12559       // optional uint64 i_pblk = 10;
12560       case 10:
12561         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 80)) {
12562           _Internal::set_has_i_pblk(&has_bits);
12563           _impl_.i_pblk_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
12564           CHK_(ptr);
12565         } else {
12566           goto handle_unusual;
12567         }
12568         continue;
12569       default:
12570         goto handle_unusual;
12571     }  // switch
12572   handle_unusual:
12573     if ((tag == 0) || ((tag & 7) == 4)) {
12574       CHK_(ptr);
12575       ctx->SetLastTag(tag);
12576       goto message_done;
12577     }
12578     ptr = UnknownFieldParse(
12579         tag,
12580         _internal_metadata_.mutable_unknown_fields<std::string>(),
12581         ptr, ctx);
12582     CHK_(ptr != nullptr);
12583   }  // while
12584 message_done:
12585   _impl_._has_bits_.Or(has_bits);
12586   return ptr;
12587 failure:
12588   ptr = nullptr;
12589   goto message_done;
12590 #undef CHK_
12591 }
12592 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const12593 ::uint8_t* Ext4ExtConvertToInitializedFastpathFtraceEvent::_InternalSerialize(
12594     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
12595   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.Ext4ExtConvertToInitializedFastpathFtraceEvent)
12596   ::uint32_t cached_has_bits = 0;
12597   (void) cached_has_bits;
12598 
12599   cached_has_bits = _impl_._has_bits_[0];
12600   // optional uint64 dev = 1;
12601   if (cached_has_bits & 0x00000001u) {
12602     target = stream->EnsureSpace(target);
12603     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
12604   }
12605 
12606   // optional uint64 ino = 2;
12607   if (cached_has_bits & 0x00000002u) {
12608     target = stream->EnsureSpace(target);
12609     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_ino(), target);
12610   }
12611 
12612   // optional uint32 m_lblk = 3;
12613   if (cached_has_bits & 0x00000004u) {
12614     target = stream->EnsureSpace(target);
12615     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_m_lblk(), target);
12616   }
12617 
12618   // optional uint32 m_len = 4;
12619   if (cached_has_bits & 0x00000008u) {
12620     target = stream->EnsureSpace(target);
12621     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_m_len(), target);
12622   }
12623 
12624   // optional uint32 u_lblk = 5;
12625   if (cached_has_bits & 0x00000010u) {
12626     target = stream->EnsureSpace(target);
12627     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_u_lblk(), target);
12628   }
12629 
12630   // optional uint32 u_len = 6;
12631   if (cached_has_bits & 0x00000020u) {
12632     target = stream->EnsureSpace(target);
12633     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_u_len(), target);
12634   }
12635 
12636   // optional uint64 u_pblk = 7;
12637   if (cached_has_bits & 0x00000040u) {
12638     target = stream->EnsureSpace(target);
12639     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(7, this->_internal_u_pblk(), target);
12640   }
12641 
12642   // optional uint32 i_lblk = 8;
12643   if (cached_has_bits & 0x00000080u) {
12644     target = stream->EnsureSpace(target);
12645     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(8, this->_internal_i_lblk(), target);
12646   }
12647 
12648   // optional uint32 i_len = 9;
12649   if (cached_has_bits & 0x00000100u) {
12650     target = stream->EnsureSpace(target);
12651     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(9, this->_internal_i_len(), target);
12652   }
12653 
12654   // optional uint64 i_pblk = 10;
12655   if (cached_has_bits & 0x00000200u) {
12656     target = stream->EnsureSpace(target);
12657     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(10, this->_internal_i_pblk(), target);
12658   }
12659 
12660   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
12661     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
12662         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
12663   }
12664   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.Ext4ExtConvertToInitializedFastpathFtraceEvent)
12665   return target;
12666 }
12667 
ByteSizeLong() const12668 size_t Ext4ExtConvertToInitializedFastpathFtraceEvent::ByteSizeLong() const {
12669 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.Ext4ExtConvertToInitializedFastpathFtraceEvent)
12670   size_t total_size = 0;
12671 
12672   ::uint32_t cached_has_bits = 0;
12673   // Prevent compiler warnings about cached_has_bits being unused
12674   (void) cached_has_bits;
12675 
12676   cached_has_bits = _impl_._has_bits_[0];
12677   if (cached_has_bits & 0x000000ffu) {
12678     // optional uint64 dev = 1;
12679     if (cached_has_bits & 0x00000001u) {
12680       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
12681     }
12682 
12683     // optional uint64 ino = 2;
12684     if (cached_has_bits & 0x00000002u) {
12685       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ino());
12686     }
12687 
12688     // optional uint32 m_lblk = 3;
12689     if (cached_has_bits & 0x00000004u) {
12690       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_m_lblk());
12691     }
12692 
12693     // optional uint32 m_len = 4;
12694     if (cached_has_bits & 0x00000008u) {
12695       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_m_len());
12696     }
12697 
12698     // optional uint32 u_lblk = 5;
12699     if (cached_has_bits & 0x00000010u) {
12700       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_u_lblk());
12701     }
12702 
12703     // optional uint32 u_len = 6;
12704     if (cached_has_bits & 0x00000020u) {
12705       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_u_len());
12706     }
12707 
12708     // optional uint64 u_pblk = 7;
12709     if (cached_has_bits & 0x00000040u) {
12710       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_u_pblk());
12711     }
12712 
12713     // optional uint32 i_lblk = 8;
12714     if (cached_has_bits & 0x00000080u) {
12715       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_i_lblk());
12716     }
12717 
12718   }
12719   if (cached_has_bits & 0x00000300u) {
12720     // optional uint32 i_len = 9;
12721     if (cached_has_bits & 0x00000100u) {
12722       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_i_len());
12723     }
12724 
12725     // optional uint64 i_pblk = 10;
12726     if (cached_has_bits & 0x00000200u) {
12727       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_i_pblk());
12728     }
12729 
12730   }
12731   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
12732     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
12733   }
12734   int cached_size = ::_pbi::ToCachedSize(total_size);
12735   SetCachedSize(cached_size);
12736   return total_size;
12737 }
12738 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)12739 void Ext4ExtConvertToInitializedFastpathFtraceEvent::CheckTypeAndMergeFrom(
12740     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
12741   MergeFrom(*::_pbi::DownCast<const Ext4ExtConvertToInitializedFastpathFtraceEvent*>(
12742       &from));
12743 }
12744 
MergeFrom(const Ext4ExtConvertToInitializedFastpathFtraceEvent & from)12745 void Ext4ExtConvertToInitializedFastpathFtraceEvent::MergeFrom(const Ext4ExtConvertToInitializedFastpathFtraceEvent& from) {
12746   Ext4ExtConvertToInitializedFastpathFtraceEvent* const _this = this;
12747   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.Ext4ExtConvertToInitializedFastpathFtraceEvent)
12748   GOOGLE_DCHECK_NE(&from, _this);
12749   ::uint32_t cached_has_bits = 0;
12750   (void) cached_has_bits;
12751 
12752   cached_has_bits = from._impl_._has_bits_[0];
12753   if (cached_has_bits & 0x000000ffu) {
12754     if (cached_has_bits & 0x00000001u) {
12755       _this->_impl_.dev_ = from._impl_.dev_;
12756     }
12757     if (cached_has_bits & 0x00000002u) {
12758       _this->_impl_.ino_ = from._impl_.ino_;
12759     }
12760     if (cached_has_bits & 0x00000004u) {
12761       _this->_impl_.m_lblk_ = from._impl_.m_lblk_;
12762     }
12763     if (cached_has_bits & 0x00000008u) {
12764       _this->_impl_.m_len_ = from._impl_.m_len_;
12765     }
12766     if (cached_has_bits & 0x00000010u) {
12767       _this->_impl_.u_lblk_ = from._impl_.u_lblk_;
12768     }
12769     if (cached_has_bits & 0x00000020u) {
12770       _this->_impl_.u_len_ = from._impl_.u_len_;
12771     }
12772     if (cached_has_bits & 0x00000040u) {
12773       _this->_impl_.u_pblk_ = from._impl_.u_pblk_;
12774     }
12775     if (cached_has_bits & 0x00000080u) {
12776       _this->_impl_.i_lblk_ = from._impl_.i_lblk_;
12777     }
12778     _this->_impl_._has_bits_[0] |= cached_has_bits;
12779   }
12780   if (cached_has_bits & 0x00000300u) {
12781     if (cached_has_bits & 0x00000100u) {
12782       _this->_impl_.i_len_ = from._impl_.i_len_;
12783     }
12784     if (cached_has_bits & 0x00000200u) {
12785       _this->_impl_.i_pblk_ = from._impl_.i_pblk_;
12786     }
12787     _this->_impl_._has_bits_[0] |= cached_has_bits;
12788   }
12789   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
12790 }
12791 
CopyFrom(const Ext4ExtConvertToInitializedFastpathFtraceEvent & from)12792 void Ext4ExtConvertToInitializedFastpathFtraceEvent::CopyFrom(const Ext4ExtConvertToInitializedFastpathFtraceEvent& from) {
12793 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.Ext4ExtConvertToInitializedFastpathFtraceEvent)
12794   if (&from == this) return;
12795   Clear();
12796   MergeFrom(from);
12797 }
12798 
IsInitialized() const12799 bool Ext4ExtConvertToInitializedFastpathFtraceEvent::IsInitialized() const {
12800   return true;
12801 }
12802 
InternalSwap(Ext4ExtConvertToInitializedFastpathFtraceEvent * other)12803 void Ext4ExtConvertToInitializedFastpathFtraceEvent::InternalSwap(Ext4ExtConvertToInitializedFastpathFtraceEvent* other) {
12804   using std::swap;
12805   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
12806   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
12807   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
12808       PROTOBUF_FIELD_OFFSET(Ext4ExtConvertToInitializedFastpathFtraceEvent, _impl_.i_pblk_)
12809       + sizeof(Ext4ExtConvertToInitializedFastpathFtraceEvent::_impl_.i_pblk_)  // NOLINT
12810       - PROTOBUF_FIELD_OFFSET(Ext4ExtConvertToInitializedFastpathFtraceEvent, _impl_.dev_)>(
12811           reinterpret_cast<char*>(&_impl_.dev_),
12812           reinterpret_cast<char*>(&other->_impl_.dev_));
12813 }
12814 
GetTypeName() const12815 std::string Ext4ExtConvertToInitializedFastpathFtraceEvent::GetTypeName() const {
12816   return "perfetto.protos.Ext4ExtConvertToInitializedFastpathFtraceEvent";
12817 }
12818 
12819 
12820 // ===================================================================
12821 
12822 class Ext4ExtHandleUnwrittenExtentsFtraceEvent::_Internal {
12823  public:
12824   using HasBits = decltype(std::declval<Ext4ExtHandleUnwrittenExtentsFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)12825   static void set_has_dev(HasBits* has_bits) {
12826     (*has_bits)[0] |= 1u;
12827   }
set_has_ino(HasBits * has_bits)12828   static void set_has_ino(HasBits* has_bits) {
12829     (*has_bits)[0] |= 2u;
12830   }
set_has_flags(HasBits * has_bits)12831   static void set_has_flags(HasBits* has_bits) {
12832     (*has_bits)[0] |= 4u;
12833   }
set_has_lblk(HasBits * has_bits)12834   static void set_has_lblk(HasBits* has_bits) {
12835     (*has_bits)[0] |= 8u;
12836   }
set_has_pblk(HasBits * has_bits)12837   static void set_has_pblk(HasBits* has_bits) {
12838     (*has_bits)[0] |= 16u;
12839   }
set_has_len(HasBits * has_bits)12840   static void set_has_len(HasBits* has_bits) {
12841     (*has_bits)[0] |= 32u;
12842   }
set_has_allocated(HasBits * has_bits)12843   static void set_has_allocated(HasBits* has_bits) {
12844     (*has_bits)[0] |= 64u;
12845   }
set_has_newblk(HasBits * has_bits)12846   static void set_has_newblk(HasBits* has_bits) {
12847     (*has_bits)[0] |= 128u;
12848   }
12849 };
12850 
Ext4ExtHandleUnwrittenExtentsFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)12851 Ext4ExtHandleUnwrittenExtentsFtraceEvent::Ext4ExtHandleUnwrittenExtentsFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
12852                          bool is_message_owned)
12853   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
12854   SharedCtor(arena, is_message_owned);
12855   // @@protoc_insertion_point(arena_constructor:perfetto.protos.Ext4ExtHandleUnwrittenExtentsFtraceEvent)
12856 }
Ext4ExtHandleUnwrittenExtentsFtraceEvent(const Ext4ExtHandleUnwrittenExtentsFtraceEvent & from)12857 Ext4ExtHandleUnwrittenExtentsFtraceEvent::Ext4ExtHandleUnwrittenExtentsFtraceEvent(const Ext4ExtHandleUnwrittenExtentsFtraceEvent& from)
12858   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
12859   Ext4ExtHandleUnwrittenExtentsFtraceEvent* const _this = this; (void)_this;
12860   new (&_impl_) Impl_{
12861       decltype(_impl_._has_bits_){from._impl_._has_bits_}
12862     , /*decltype(_impl_._cached_size_)*/{}
12863     , decltype(_impl_.dev_){}
12864     , decltype(_impl_.ino_){}
12865     , decltype(_impl_.flags_){}
12866     , decltype(_impl_.lblk_){}
12867     , decltype(_impl_.pblk_){}
12868     , decltype(_impl_.len_){}
12869     , decltype(_impl_.allocated_){}
12870     , decltype(_impl_.newblk_){}};
12871 
12872   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
12873   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
12874     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.newblk_) -
12875     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.newblk_));
12876   // @@protoc_insertion_point(copy_constructor:perfetto.protos.Ext4ExtHandleUnwrittenExtentsFtraceEvent)
12877 }
12878 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)12879 inline void Ext4ExtHandleUnwrittenExtentsFtraceEvent::SharedCtor(
12880     ::_pb::Arena* arena, bool is_message_owned) {
12881   (void)arena;
12882   (void)is_message_owned;
12883   new (&_impl_) Impl_{
12884       decltype(_impl_._has_bits_){}
12885     , /*decltype(_impl_._cached_size_)*/{}
12886     , decltype(_impl_.dev_){::uint64_t{0u}}
12887     , decltype(_impl_.ino_){::uint64_t{0u}}
12888     , decltype(_impl_.flags_){0}
12889     , decltype(_impl_.lblk_){0u}
12890     , decltype(_impl_.pblk_){::uint64_t{0u}}
12891     , decltype(_impl_.len_){0u}
12892     , decltype(_impl_.allocated_){0u}
12893     , decltype(_impl_.newblk_){::uint64_t{0u}}
12894   };
12895 }
12896 
~Ext4ExtHandleUnwrittenExtentsFtraceEvent()12897 Ext4ExtHandleUnwrittenExtentsFtraceEvent::~Ext4ExtHandleUnwrittenExtentsFtraceEvent() {
12898   // @@protoc_insertion_point(destructor:perfetto.protos.Ext4ExtHandleUnwrittenExtentsFtraceEvent)
12899   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
12900   (void)arena;
12901     return;
12902   }
12903   SharedDtor();
12904 }
12905 
SharedDtor()12906 inline void Ext4ExtHandleUnwrittenExtentsFtraceEvent::SharedDtor() {
12907   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
12908 }
12909 
SetCachedSize(int size) const12910 void Ext4ExtHandleUnwrittenExtentsFtraceEvent::SetCachedSize(int size) const {
12911   _impl_._cached_size_.Set(size);
12912 }
12913 
Clear()12914 void Ext4ExtHandleUnwrittenExtentsFtraceEvent::Clear() {
12915 // @@protoc_insertion_point(message_clear_start:perfetto.protos.Ext4ExtHandleUnwrittenExtentsFtraceEvent)
12916   ::uint32_t cached_has_bits = 0;
12917   // Prevent compiler warnings about cached_has_bits being unused
12918   (void) cached_has_bits;
12919 
12920   cached_has_bits = _impl_._has_bits_[0];
12921   if (cached_has_bits & 0x000000ffu) {
12922     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
12923         reinterpret_cast<char*>(&_impl_.newblk_) -
12924         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.newblk_));
12925   }
12926   _impl_._has_bits_.Clear();
12927   _internal_metadata_.Clear<std::string>();
12928 }
12929 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)12930 const char* Ext4ExtHandleUnwrittenExtentsFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
12931 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
12932   _Internal::HasBits has_bits{};
12933   while (!ctx->Done(&ptr)) {
12934     ::uint32_t tag;
12935     ptr = ::_pbi::ReadTag(ptr, &tag);
12936     switch (tag >> 3) {
12937       // optional uint64 dev = 1;
12938       case 1:
12939         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
12940           _Internal::set_has_dev(&has_bits);
12941           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
12942           CHK_(ptr);
12943         } else {
12944           goto handle_unusual;
12945         }
12946         continue;
12947       // optional uint64 ino = 2;
12948       case 2:
12949         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
12950           _Internal::set_has_ino(&has_bits);
12951           _impl_.ino_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
12952           CHK_(ptr);
12953         } else {
12954           goto handle_unusual;
12955         }
12956         continue;
12957       // optional int32 flags = 3;
12958       case 3:
12959         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
12960           _Internal::set_has_flags(&has_bits);
12961           _impl_.flags_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
12962           CHK_(ptr);
12963         } else {
12964           goto handle_unusual;
12965         }
12966         continue;
12967       // optional uint32 lblk = 4;
12968       case 4:
12969         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
12970           _Internal::set_has_lblk(&has_bits);
12971           _impl_.lblk_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
12972           CHK_(ptr);
12973         } else {
12974           goto handle_unusual;
12975         }
12976         continue;
12977       // optional uint64 pblk = 5;
12978       case 5:
12979         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) {
12980           _Internal::set_has_pblk(&has_bits);
12981           _impl_.pblk_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
12982           CHK_(ptr);
12983         } else {
12984           goto handle_unusual;
12985         }
12986         continue;
12987       // optional uint32 len = 6;
12988       case 6:
12989         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 48)) {
12990           _Internal::set_has_len(&has_bits);
12991           _impl_.len_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
12992           CHK_(ptr);
12993         } else {
12994           goto handle_unusual;
12995         }
12996         continue;
12997       // optional uint32 allocated = 7;
12998       case 7:
12999         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 56)) {
13000           _Internal::set_has_allocated(&has_bits);
13001           _impl_.allocated_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
13002           CHK_(ptr);
13003         } else {
13004           goto handle_unusual;
13005         }
13006         continue;
13007       // optional uint64 newblk = 8;
13008       case 8:
13009         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 64)) {
13010           _Internal::set_has_newblk(&has_bits);
13011           _impl_.newblk_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
13012           CHK_(ptr);
13013         } else {
13014           goto handle_unusual;
13015         }
13016         continue;
13017       default:
13018         goto handle_unusual;
13019     }  // switch
13020   handle_unusual:
13021     if ((tag == 0) || ((tag & 7) == 4)) {
13022       CHK_(ptr);
13023       ctx->SetLastTag(tag);
13024       goto message_done;
13025     }
13026     ptr = UnknownFieldParse(
13027         tag,
13028         _internal_metadata_.mutable_unknown_fields<std::string>(),
13029         ptr, ctx);
13030     CHK_(ptr != nullptr);
13031   }  // while
13032 message_done:
13033   _impl_._has_bits_.Or(has_bits);
13034   return ptr;
13035 failure:
13036   ptr = nullptr;
13037   goto message_done;
13038 #undef CHK_
13039 }
13040 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const13041 ::uint8_t* Ext4ExtHandleUnwrittenExtentsFtraceEvent::_InternalSerialize(
13042     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
13043   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.Ext4ExtHandleUnwrittenExtentsFtraceEvent)
13044   ::uint32_t cached_has_bits = 0;
13045   (void) cached_has_bits;
13046 
13047   cached_has_bits = _impl_._has_bits_[0];
13048   // optional uint64 dev = 1;
13049   if (cached_has_bits & 0x00000001u) {
13050     target = stream->EnsureSpace(target);
13051     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
13052   }
13053 
13054   // optional uint64 ino = 2;
13055   if (cached_has_bits & 0x00000002u) {
13056     target = stream->EnsureSpace(target);
13057     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_ino(), target);
13058   }
13059 
13060   // optional int32 flags = 3;
13061   if (cached_has_bits & 0x00000004u) {
13062     target = stream->EnsureSpace(target);
13063     target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_flags(), target);
13064   }
13065 
13066   // optional uint32 lblk = 4;
13067   if (cached_has_bits & 0x00000008u) {
13068     target = stream->EnsureSpace(target);
13069     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_lblk(), target);
13070   }
13071 
13072   // optional uint64 pblk = 5;
13073   if (cached_has_bits & 0x00000010u) {
13074     target = stream->EnsureSpace(target);
13075     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(5, this->_internal_pblk(), target);
13076   }
13077 
13078   // optional uint32 len = 6;
13079   if (cached_has_bits & 0x00000020u) {
13080     target = stream->EnsureSpace(target);
13081     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_len(), target);
13082   }
13083 
13084   // optional uint32 allocated = 7;
13085   if (cached_has_bits & 0x00000040u) {
13086     target = stream->EnsureSpace(target);
13087     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(7, this->_internal_allocated(), target);
13088   }
13089 
13090   // optional uint64 newblk = 8;
13091   if (cached_has_bits & 0x00000080u) {
13092     target = stream->EnsureSpace(target);
13093     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(8, this->_internal_newblk(), target);
13094   }
13095 
13096   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
13097     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
13098         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
13099   }
13100   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.Ext4ExtHandleUnwrittenExtentsFtraceEvent)
13101   return target;
13102 }
13103 
ByteSizeLong() const13104 size_t Ext4ExtHandleUnwrittenExtentsFtraceEvent::ByteSizeLong() const {
13105 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.Ext4ExtHandleUnwrittenExtentsFtraceEvent)
13106   size_t total_size = 0;
13107 
13108   ::uint32_t cached_has_bits = 0;
13109   // Prevent compiler warnings about cached_has_bits being unused
13110   (void) cached_has_bits;
13111 
13112   cached_has_bits = _impl_._has_bits_[0];
13113   if (cached_has_bits & 0x000000ffu) {
13114     // optional uint64 dev = 1;
13115     if (cached_has_bits & 0x00000001u) {
13116       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
13117     }
13118 
13119     // optional uint64 ino = 2;
13120     if (cached_has_bits & 0x00000002u) {
13121       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ino());
13122     }
13123 
13124     // optional int32 flags = 3;
13125     if (cached_has_bits & 0x00000004u) {
13126       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_flags());
13127     }
13128 
13129     // optional uint32 lblk = 4;
13130     if (cached_has_bits & 0x00000008u) {
13131       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_lblk());
13132     }
13133 
13134     // optional uint64 pblk = 5;
13135     if (cached_has_bits & 0x00000010u) {
13136       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_pblk());
13137     }
13138 
13139     // optional uint32 len = 6;
13140     if (cached_has_bits & 0x00000020u) {
13141       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_len());
13142     }
13143 
13144     // optional uint32 allocated = 7;
13145     if (cached_has_bits & 0x00000040u) {
13146       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_allocated());
13147     }
13148 
13149     // optional uint64 newblk = 8;
13150     if (cached_has_bits & 0x00000080u) {
13151       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_newblk());
13152     }
13153 
13154   }
13155   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
13156     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
13157   }
13158   int cached_size = ::_pbi::ToCachedSize(total_size);
13159   SetCachedSize(cached_size);
13160   return total_size;
13161 }
13162 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)13163 void Ext4ExtHandleUnwrittenExtentsFtraceEvent::CheckTypeAndMergeFrom(
13164     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
13165   MergeFrom(*::_pbi::DownCast<const Ext4ExtHandleUnwrittenExtentsFtraceEvent*>(
13166       &from));
13167 }
13168 
MergeFrom(const Ext4ExtHandleUnwrittenExtentsFtraceEvent & from)13169 void Ext4ExtHandleUnwrittenExtentsFtraceEvent::MergeFrom(const Ext4ExtHandleUnwrittenExtentsFtraceEvent& from) {
13170   Ext4ExtHandleUnwrittenExtentsFtraceEvent* const _this = this;
13171   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.Ext4ExtHandleUnwrittenExtentsFtraceEvent)
13172   GOOGLE_DCHECK_NE(&from, _this);
13173   ::uint32_t cached_has_bits = 0;
13174   (void) cached_has_bits;
13175 
13176   cached_has_bits = from._impl_._has_bits_[0];
13177   if (cached_has_bits & 0x000000ffu) {
13178     if (cached_has_bits & 0x00000001u) {
13179       _this->_impl_.dev_ = from._impl_.dev_;
13180     }
13181     if (cached_has_bits & 0x00000002u) {
13182       _this->_impl_.ino_ = from._impl_.ino_;
13183     }
13184     if (cached_has_bits & 0x00000004u) {
13185       _this->_impl_.flags_ = from._impl_.flags_;
13186     }
13187     if (cached_has_bits & 0x00000008u) {
13188       _this->_impl_.lblk_ = from._impl_.lblk_;
13189     }
13190     if (cached_has_bits & 0x00000010u) {
13191       _this->_impl_.pblk_ = from._impl_.pblk_;
13192     }
13193     if (cached_has_bits & 0x00000020u) {
13194       _this->_impl_.len_ = from._impl_.len_;
13195     }
13196     if (cached_has_bits & 0x00000040u) {
13197       _this->_impl_.allocated_ = from._impl_.allocated_;
13198     }
13199     if (cached_has_bits & 0x00000080u) {
13200       _this->_impl_.newblk_ = from._impl_.newblk_;
13201     }
13202     _this->_impl_._has_bits_[0] |= cached_has_bits;
13203   }
13204   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
13205 }
13206 
CopyFrom(const Ext4ExtHandleUnwrittenExtentsFtraceEvent & from)13207 void Ext4ExtHandleUnwrittenExtentsFtraceEvent::CopyFrom(const Ext4ExtHandleUnwrittenExtentsFtraceEvent& from) {
13208 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.Ext4ExtHandleUnwrittenExtentsFtraceEvent)
13209   if (&from == this) return;
13210   Clear();
13211   MergeFrom(from);
13212 }
13213 
IsInitialized() const13214 bool Ext4ExtHandleUnwrittenExtentsFtraceEvent::IsInitialized() const {
13215   return true;
13216 }
13217 
InternalSwap(Ext4ExtHandleUnwrittenExtentsFtraceEvent * other)13218 void Ext4ExtHandleUnwrittenExtentsFtraceEvent::InternalSwap(Ext4ExtHandleUnwrittenExtentsFtraceEvent* other) {
13219   using std::swap;
13220   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
13221   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
13222   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
13223       PROTOBUF_FIELD_OFFSET(Ext4ExtHandleUnwrittenExtentsFtraceEvent, _impl_.newblk_)
13224       + sizeof(Ext4ExtHandleUnwrittenExtentsFtraceEvent::_impl_.newblk_)  // NOLINT
13225       - PROTOBUF_FIELD_OFFSET(Ext4ExtHandleUnwrittenExtentsFtraceEvent, _impl_.dev_)>(
13226           reinterpret_cast<char*>(&_impl_.dev_),
13227           reinterpret_cast<char*>(&other->_impl_.dev_));
13228 }
13229 
GetTypeName() const13230 std::string Ext4ExtHandleUnwrittenExtentsFtraceEvent::GetTypeName() const {
13231   return "perfetto.protos.Ext4ExtHandleUnwrittenExtentsFtraceEvent";
13232 }
13233 
13234 
13235 // ===================================================================
13236 
13237 class Ext4ExtInCacheFtraceEvent::_Internal {
13238  public:
13239   using HasBits = decltype(std::declval<Ext4ExtInCacheFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)13240   static void set_has_dev(HasBits* has_bits) {
13241     (*has_bits)[0] |= 1u;
13242   }
set_has_ino(HasBits * has_bits)13243   static void set_has_ino(HasBits* has_bits) {
13244     (*has_bits)[0] |= 2u;
13245   }
set_has_lblk(HasBits * has_bits)13246   static void set_has_lblk(HasBits* has_bits) {
13247     (*has_bits)[0] |= 4u;
13248   }
set_has_ret(HasBits * has_bits)13249   static void set_has_ret(HasBits* has_bits) {
13250     (*has_bits)[0] |= 8u;
13251   }
13252 };
13253 
Ext4ExtInCacheFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)13254 Ext4ExtInCacheFtraceEvent::Ext4ExtInCacheFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
13255                          bool is_message_owned)
13256   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
13257   SharedCtor(arena, is_message_owned);
13258   // @@protoc_insertion_point(arena_constructor:perfetto.protos.Ext4ExtInCacheFtraceEvent)
13259 }
Ext4ExtInCacheFtraceEvent(const Ext4ExtInCacheFtraceEvent & from)13260 Ext4ExtInCacheFtraceEvent::Ext4ExtInCacheFtraceEvent(const Ext4ExtInCacheFtraceEvent& from)
13261   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
13262   Ext4ExtInCacheFtraceEvent* const _this = this; (void)_this;
13263   new (&_impl_) Impl_{
13264       decltype(_impl_._has_bits_){from._impl_._has_bits_}
13265     , /*decltype(_impl_._cached_size_)*/{}
13266     , decltype(_impl_.dev_){}
13267     , decltype(_impl_.ino_){}
13268     , decltype(_impl_.lblk_){}
13269     , decltype(_impl_.ret_){}};
13270 
13271   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
13272   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
13273     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.ret_) -
13274     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.ret_));
13275   // @@protoc_insertion_point(copy_constructor:perfetto.protos.Ext4ExtInCacheFtraceEvent)
13276 }
13277 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)13278 inline void Ext4ExtInCacheFtraceEvent::SharedCtor(
13279     ::_pb::Arena* arena, bool is_message_owned) {
13280   (void)arena;
13281   (void)is_message_owned;
13282   new (&_impl_) Impl_{
13283       decltype(_impl_._has_bits_){}
13284     , /*decltype(_impl_._cached_size_)*/{}
13285     , decltype(_impl_.dev_){::uint64_t{0u}}
13286     , decltype(_impl_.ino_){::uint64_t{0u}}
13287     , decltype(_impl_.lblk_){0u}
13288     , decltype(_impl_.ret_){0}
13289   };
13290 }
13291 
~Ext4ExtInCacheFtraceEvent()13292 Ext4ExtInCacheFtraceEvent::~Ext4ExtInCacheFtraceEvent() {
13293   // @@protoc_insertion_point(destructor:perfetto.protos.Ext4ExtInCacheFtraceEvent)
13294   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
13295   (void)arena;
13296     return;
13297   }
13298   SharedDtor();
13299 }
13300 
SharedDtor()13301 inline void Ext4ExtInCacheFtraceEvent::SharedDtor() {
13302   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
13303 }
13304 
SetCachedSize(int size) const13305 void Ext4ExtInCacheFtraceEvent::SetCachedSize(int size) const {
13306   _impl_._cached_size_.Set(size);
13307 }
13308 
Clear()13309 void Ext4ExtInCacheFtraceEvent::Clear() {
13310 // @@protoc_insertion_point(message_clear_start:perfetto.protos.Ext4ExtInCacheFtraceEvent)
13311   ::uint32_t cached_has_bits = 0;
13312   // Prevent compiler warnings about cached_has_bits being unused
13313   (void) cached_has_bits;
13314 
13315   cached_has_bits = _impl_._has_bits_[0];
13316   if (cached_has_bits & 0x0000000fu) {
13317     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
13318         reinterpret_cast<char*>(&_impl_.ret_) -
13319         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.ret_));
13320   }
13321   _impl_._has_bits_.Clear();
13322   _internal_metadata_.Clear<std::string>();
13323 }
13324 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)13325 const char* Ext4ExtInCacheFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
13326 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
13327   _Internal::HasBits has_bits{};
13328   while (!ctx->Done(&ptr)) {
13329     ::uint32_t tag;
13330     ptr = ::_pbi::ReadTag(ptr, &tag);
13331     switch (tag >> 3) {
13332       // optional uint64 dev = 1;
13333       case 1:
13334         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
13335           _Internal::set_has_dev(&has_bits);
13336           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
13337           CHK_(ptr);
13338         } else {
13339           goto handle_unusual;
13340         }
13341         continue;
13342       // optional uint64 ino = 2;
13343       case 2:
13344         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
13345           _Internal::set_has_ino(&has_bits);
13346           _impl_.ino_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
13347           CHK_(ptr);
13348         } else {
13349           goto handle_unusual;
13350         }
13351         continue;
13352       // optional uint32 lblk = 3;
13353       case 3:
13354         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
13355           _Internal::set_has_lblk(&has_bits);
13356           _impl_.lblk_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
13357           CHK_(ptr);
13358         } else {
13359           goto handle_unusual;
13360         }
13361         continue;
13362       // optional int32 ret = 4;
13363       case 4:
13364         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
13365           _Internal::set_has_ret(&has_bits);
13366           _impl_.ret_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
13367           CHK_(ptr);
13368         } else {
13369           goto handle_unusual;
13370         }
13371         continue;
13372       default:
13373         goto handle_unusual;
13374     }  // switch
13375   handle_unusual:
13376     if ((tag == 0) || ((tag & 7) == 4)) {
13377       CHK_(ptr);
13378       ctx->SetLastTag(tag);
13379       goto message_done;
13380     }
13381     ptr = UnknownFieldParse(
13382         tag,
13383         _internal_metadata_.mutable_unknown_fields<std::string>(),
13384         ptr, ctx);
13385     CHK_(ptr != nullptr);
13386   }  // while
13387 message_done:
13388   _impl_._has_bits_.Or(has_bits);
13389   return ptr;
13390 failure:
13391   ptr = nullptr;
13392   goto message_done;
13393 #undef CHK_
13394 }
13395 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const13396 ::uint8_t* Ext4ExtInCacheFtraceEvent::_InternalSerialize(
13397     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
13398   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.Ext4ExtInCacheFtraceEvent)
13399   ::uint32_t cached_has_bits = 0;
13400   (void) cached_has_bits;
13401 
13402   cached_has_bits = _impl_._has_bits_[0];
13403   // optional uint64 dev = 1;
13404   if (cached_has_bits & 0x00000001u) {
13405     target = stream->EnsureSpace(target);
13406     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
13407   }
13408 
13409   // optional uint64 ino = 2;
13410   if (cached_has_bits & 0x00000002u) {
13411     target = stream->EnsureSpace(target);
13412     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_ino(), target);
13413   }
13414 
13415   // optional uint32 lblk = 3;
13416   if (cached_has_bits & 0x00000004u) {
13417     target = stream->EnsureSpace(target);
13418     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_lblk(), target);
13419   }
13420 
13421   // optional int32 ret = 4;
13422   if (cached_has_bits & 0x00000008u) {
13423     target = stream->EnsureSpace(target);
13424     target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_ret(), target);
13425   }
13426 
13427   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
13428     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
13429         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
13430   }
13431   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.Ext4ExtInCacheFtraceEvent)
13432   return target;
13433 }
13434 
ByteSizeLong() const13435 size_t Ext4ExtInCacheFtraceEvent::ByteSizeLong() const {
13436 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.Ext4ExtInCacheFtraceEvent)
13437   size_t total_size = 0;
13438 
13439   ::uint32_t cached_has_bits = 0;
13440   // Prevent compiler warnings about cached_has_bits being unused
13441   (void) cached_has_bits;
13442 
13443   cached_has_bits = _impl_._has_bits_[0];
13444   if (cached_has_bits & 0x0000000fu) {
13445     // optional uint64 dev = 1;
13446     if (cached_has_bits & 0x00000001u) {
13447       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
13448     }
13449 
13450     // optional uint64 ino = 2;
13451     if (cached_has_bits & 0x00000002u) {
13452       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ino());
13453     }
13454 
13455     // optional uint32 lblk = 3;
13456     if (cached_has_bits & 0x00000004u) {
13457       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_lblk());
13458     }
13459 
13460     // optional int32 ret = 4;
13461     if (cached_has_bits & 0x00000008u) {
13462       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_ret());
13463     }
13464 
13465   }
13466   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
13467     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
13468   }
13469   int cached_size = ::_pbi::ToCachedSize(total_size);
13470   SetCachedSize(cached_size);
13471   return total_size;
13472 }
13473 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)13474 void Ext4ExtInCacheFtraceEvent::CheckTypeAndMergeFrom(
13475     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
13476   MergeFrom(*::_pbi::DownCast<const Ext4ExtInCacheFtraceEvent*>(
13477       &from));
13478 }
13479 
MergeFrom(const Ext4ExtInCacheFtraceEvent & from)13480 void Ext4ExtInCacheFtraceEvent::MergeFrom(const Ext4ExtInCacheFtraceEvent& from) {
13481   Ext4ExtInCacheFtraceEvent* const _this = this;
13482   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.Ext4ExtInCacheFtraceEvent)
13483   GOOGLE_DCHECK_NE(&from, _this);
13484   ::uint32_t cached_has_bits = 0;
13485   (void) cached_has_bits;
13486 
13487   cached_has_bits = from._impl_._has_bits_[0];
13488   if (cached_has_bits & 0x0000000fu) {
13489     if (cached_has_bits & 0x00000001u) {
13490       _this->_impl_.dev_ = from._impl_.dev_;
13491     }
13492     if (cached_has_bits & 0x00000002u) {
13493       _this->_impl_.ino_ = from._impl_.ino_;
13494     }
13495     if (cached_has_bits & 0x00000004u) {
13496       _this->_impl_.lblk_ = from._impl_.lblk_;
13497     }
13498     if (cached_has_bits & 0x00000008u) {
13499       _this->_impl_.ret_ = from._impl_.ret_;
13500     }
13501     _this->_impl_._has_bits_[0] |= cached_has_bits;
13502   }
13503   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
13504 }
13505 
CopyFrom(const Ext4ExtInCacheFtraceEvent & from)13506 void Ext4ExtInCacheFtraceEvent::CopyFrom(const Ext4ExtInCacheFtraceEvent& from) {
13507 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.Ext4ExtInCacheFtraceEvent)
13508   if (&from == this) return;
13509   Clear();
13510   MergeFrom(from);
13511 }
13512 
IsInitialized() const13513 bool Ext4ExtInCacheFtraceEvent::IsInitialized() const {
13514   return true;
13515 }
13516 
InternalSwap(Ext4ExtInCacheFtraceEvent * other)13517 void Ext4ExtInCacheFtraceEvent::InternalSwap(Ext4ExtInCacheFtraceEvent* other) {
13518   using std::swap;
13519   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
13520   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
13521   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
13522       PROTOBUF_FIELD_OFFSET(Ext4ExtInCacheFtraceEvent, _impl_.ret_)
13523       + sizeof(Ext4ExtInCacheFtraceEvent::_impl_.ret_)  // NOLINT
13524       - PROTOBUF_FIELD_OFFSET(Ext4ExtInCacheFtraceEvent, _impl_.dev_)>(
13525           reinterpret_cast<char*>(&_impl_.dev_),
13526           reinterpret_cast<char*>(&other->_impl_.dev_));
13527 }
13528 
GetTypeName() const13529 std::string Ext4ExtInCacheFtraceEvent::GetTypeName() const {
13530   return "perfetto.protos.Ext4ExtInCacheFtraceEvent";
13531 }
13532 
13533 
13534 // ===================================================================
13535 
13536 class Ext4ExtLoadExtentFtraceEvent::_Internal {
13537  public:
13538   using HasBits = decltype(std::declval<Ext4ExtLoadExtentFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)13539   static void set_has_dev(HasBits* has_bits) {
13540     (*has_bits)[0] |= 1u;
13541   }
set_has_ino(HasBits * has_bits)13542   static void set_has_ino(HasBits* has_bits) {
13543     (*has_bits)[0] |= 2u;
13544   }
set_has_pblk(HasBits * has_bits)13545   static void set_has_pblk(HasBits* has_bits) {
13546     (*has_bits)[0] |= 4u;
13547   }
set_has_lblk(HasBits * has_bits)13548   static void set_has_lblk(HasBits* has_bits) {
13549     (*has_bits)[0] |= 8u;
13550   }
13551 };
13552 
Ext4ExtLoadExtentFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)13553 Ext4ExtLoadExtentFtraceEvent::Ext4ExtLoadExtentFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
13554                          bool is_message_owned)
13555   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
13556   SharedCtor(arena, is_message_owned);
13557   // @@protoc_insertion_point(arena_constructor:perfetto.protos.Ext4ExtLoadExtentFtraceEvent)
13558 }
Ext4ExtLoadExtentFtraceEvent(const Ext4ExtLoadExtentFtraceEvent & from)13559 Ext4ExtLoadExtentFtraceEvent::Ext4ExtLoadExtentFtraceEvent(const Ext4ExtLoadExtentFtraceEvent& from)
13560   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
13561   Ext4ExtLoadExtentFtraceEvent* const _this = this; (void)_this;
13562   new (&_impl_) Impl_{
13563       decltype(_impl_._has_bits_){from._impl_._has_bits_}
13564     , /*decltype(_impl_._cached_size_)*/{}
13565     , decltype(_impl_.dev_){}
13566     , decltype(_impl_.ino_){}
13567     , decltype(_impl_.pblk_){}
13568     , decltype(_impl_.lblk_){}};
13569 
13570   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
13571   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
13572     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.lblk_) -
13573     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.lblk_));
13574   // @@protoc_insertion_point(copy_constructor:perfetto.protos.Ext4ExtLoadExtentFtraceEvent)
13575 }
13576 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)13577 inline void Ext4ExtLoadExtentFtraceEvent::SharedCtor(
13578     ::_pb::Arena* arena, bool is_message_owned) {
13579   (void)arena;
13580   (void)is_message_owned;
13581   new (&_impl_) Impl_{
13582       decltype(_impl_._has_bits_){}
13583     , /*decltype(_impl_._cached_size_)*/{}
13584     , decltype(_impl_.dev_){::uint64_t{0u}}
13585     , decltype(_impl_.ino_){::uint64_t{0u}}
13586     , decltype(_impl_.pblk_){::uint64_t{0u}}
13587     , decltype(_impl_.lblk_){0u}
13588   };
13589 }
13590 
~Ext4ExtLoadExtentFtraceEvent()13591 Ext4ExtLoadExtentFtraceEvent::~Ext4ExtLoadExtentFtraceEvent() {
13592   // @@protoc_insertion_point(destructor:perfetto.protos.Ext4ExtLoadExtentFtraceEvent)
13593   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
13594   (void)arena;
13595     return;
13596   }
13597   SharedDtor();
13598 }
13599 
SharedDtor()13600 inline void Ext4ExtLoadExtentFtraceEvent::SharedDtor() {
13601   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
13602 }
13603 
SetCachedSize(int size) const13604 void Ext4ExtLoadExtentFtraceEvent::SetCachedSize(int size) const {
13605   _impl_._cached_size_.Set(size);
13606 }
13607 
Clear()13608 void Ext4ExtLoadExtentFtraceEvent::Clear() {
13609 // @@protoc_insertion_point(message_clear_start:perfetto.protos.Ext4ExtLoadExtentFtraceEvent)
13610   ::uint32_t cached_has_bits = 0;
13611   // Prevent compiler warnings about cached_has_bits being unused
13612   (void) cached_has_bits;
13613 
13614   cached_has_bits = _impl_._has_bits_[0];
13615   if (cached_has_bits & 0x0000000fu) {
13616     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
13617         reinterpret_cast<char*>(&_impl_.lblk_) -
13618         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.lblk_));
13619   }
13620   _impl_._has_bits_.Clear();
13621   _internal_metadata_.Clear<std::string>();
13622 }
13623 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)13624 const char* Ext4ExtLoadExtentFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
13625 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
13626   _Internal::HasBits has_bits{};
13627   while (!ctx->Done(&ptr)) {
13628     ::uint32_t tag;
13629     ptr = ::_pbi::ReadTag(ptr, &tag);
13630     switch (tag >> 3) {
13631       // optional uint64 dev = 1;
13632       case 1:
13633         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
13634           _Internal::set_has_dev(&has_bits);
13635           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
13636           CHK_(ptr);
13637         } else {
13638           goto handle_unusual;
13639         }
13640         continue;
13641       // optional uint64 ino = 2;
13642       case 2:
13643         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
13644           _Internal::set_has_ino(&has_bits);
13645           _impl_.ino_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
13646           CHK_(ptr);
13647         } else {
13648           goto handle_unusual;
13649         }
13650         continue;
13651       // optional uint64 pblk = 3;
13652       case 3:
13653         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
13654           _Internal::set_has_pblk(&has_bits);
13655           _impl_.pblk_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
13656           CHK_(ptr);
13657         } else {
13658           goto handle_unusual;
13659         }
13660         continue;
13661       // optional uint32 lblk = 4;
13662       case 4:
13663         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
13664           _Internal::set_has_lblk(&has_bits);
13665           _impl_.lblk_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
13666           CHK_(ptr);
13667         } else {
13668           goto handle_unusual;
13669         }
13670         continue;
13671       default:
13672         goto handle_unusual;
13673     }  // switch
13674   handle_unusual:
13675     if ((tag == 0) || ((tag & 7) == 4)) {
13676       CHK_(ptr);
13677       ctx->SetLastTag(tag);
13678       goto message_done;
13679     }
13680     ptr = UnknownFieldParse(
13681         tag,
13682         _internal_metadata_.mutable_unknown_fields<std::string>(),
13683         ptr, ctx);
13684     CHK_(ptr != nullptr);
13685   }  // while
13686 message_done:
13687   _impl_._has_bits_.Or(has_bits);
13688   return ptr;
13689 failure:
13690   ptr = nullptr;
13691   goto message_done;
13692 #undef CHK_
13693 }
13694 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const13695 ::uint8_t* Ext4ExtLoadExtentFtraceEvent::_InternalSerialize(
13696     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
13697   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.Ext4ExtLoadExtentFtraceEvent)
13698   ::uint32_t cached_has_bits = 0;
13699   (void) cached_has_bits;
13700 
13701   cached_has_bits = _impl_._has_bits_[0];
13702   // optional uint64 dev = 1;
13703   if (cached_has_bits & 0x00000001u) {
13704     target = stream->EnsureSpace(target);
13705     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
13706   }
13707 
13708   // optional uint64 ino = 2;
13709   if (cached_has_bits & 0x00000002u) {
13710     target = stream->EnsureSpace(target);
13711     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_ino(), target);
13712   }
13713 
13714   // optional uint64 pblk = 3;
13715   if (cached_has_bits & 0x00000004u) {
13716     target = stream->EnsureSpace(target);
13717     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(3, this->_internal_pblk(), target);
13718   }
13719 
13720   // optional uint32 lblk = 4;
13721   if (cached_has_bits & 0x00000008u) {
13722     target = stream->EnsureSpace(target);
13723     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_lblk(), target);
13724   }
13725 
13726   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
13727     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
13728         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
13729   }
13730   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.Ext4ExtLoadExtentFtraceEvent)
13731   return target;
13732 }
13733 
ByteSizeLong() const13734 size_t Ext4ExtLoadExtentFtraceEvent::ByteSizeLong() const {
13735 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.Ext4ExtLoadExtentFtraceEvent)
13736   size_t total_size = 0;
13737 
13738   ::uint32_t cached_has_bits = 0;
13739   // Prevent compiler warnings about cached_has_bits being unused
13740   (void) cached_has_bits;
13741 
13742   cached_has_bits = _impl_._has_bits_[0];
13743   if (cached_has_bits & 0x0000000fu) {
13744     // optional uint64 dev = 1;
13745     if (cached_has_bits & 0x00000001u) {
13746       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
13747     }
13748 
13749     // optional uint64 ino = 2;
13750     if (cached_has_bits & 0x00000002u) {
13751       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ino());
13752     }
13753 
13754     // optional uint64 pblk = 3;
13755     if (cached_has_bits & 0x00000004u) {
13756       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_pblk());
13757     }
13758 
13759     // optional uint32 lblk = 4;
13760     if (cached_has_bits & 0x00000008u) {
13761       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_lblk());
13762     }
13763 
13764   }
13765   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
13766     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
13767   }
13768   int cached_size = ::_pbi::ToCachedSize(total_size);
13769   SetCachedSize(cached_size);
13770   return total_size;
13771 }
13772 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)13773 void Ext4ExtLoadExtentFtraceEvent::CheckTypeAndMergeFrom(
13774     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
13775   MergeFrom(*::_pbi::DownCast<const Ext4ExtLoadExtentFtraceEvent*>(
13776       &from));
13777 }
13778 
MergeFrom(const Ext4ExtLoadExtentFtraceEvent & from)13779 void Ext4ExtLoadExtentFtraceEvent::MergeFrom(const Ext4ExtLoadExtentFtraceEvent& from) {
13780   Ext4ExtLoadExtentFtraceEvent* const _this = this;
13781   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.Ext4ExtLoadExtentFtraceEvent)
13782   GOOGLE_DCHECK_NE(&from, _this);
13783   ::uint32_t cached_has_bits = 0;
13784   (void) cached_has_bits;
13785 
13786   cached_has_bits = from._impl_._has_bits_[0];
13787   if (cached_has_bits & 0x0000000fu) {
13788     if (cached_has_bits & 0x00000001u) {
13789       _this->_impl_.dev_ = from._impl_.dev_;
13790     }
13791     if (cached_has_bits & 0x00000002u) {
13792       _this->_impl_.ino_ = from._impl_.ino_;
13793     }
13794     if (cached_has_bits & 0x00000004u) {
13795       _this->_impl_.pblk_ = from._impl_.pblk_;
13796     }
13797     if (cached_has_bits & 0x00000008u) {
13798       _this->_impl_.lblk_ = from._impl_.lblk_;
13799     }
13800     _this->_impl_._has_bits_[0] |= cached_has_bits;
13801   }
13802   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
13803 }
13804 
CopyFrom(const Ext4ExtLoadExtentFtraceEvent & from)13805 void Ext4ExtLoadExtentFtraceEvent::CopyFrom(const Ext4ExtLoadExtentFtraceEvent& from) {
13806 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.Ext4ExtLoadExtentFtraceEvent)
13807   if (&from == this) return;
13808   Clear();
13809   MergeFrom(from);
13810 }
13811 
IsInitialized() const13812 bool Ext4ExtLoadExtentFtraceEvent::IsInitialized() const {
13813   return true;
13814 }
13815 
InternalSwap(Ext4ExtLoadExtentFtraceEvent * other)13816 void Ext4ExtLoadExtentFtraceEvent::InternalSwap(Ext4ExtLoadExtentFtraceEvent* other) {
13817   using std::swap;
13818   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
13819   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
13820   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
13821       PROTOBUF_FIELD_OFFSET(Ext4ExtLoadExtentFtraceEvent, _impl_.lblk_)
13822       + sizeof(Ext4ExtLoadExtentFtraceEvent::_impl_.lblk_)  // NOLINT
13823       - PROTOBUF_FIELD_OFFSET(Ext4ExtLoadExtentFtraceEvent, _impl_.dev_)>(
13824           reinterpret_cast<char*>(&_impl_.dev_),
13825           reinterpret_cast<char*>(&other->_impl_.dev_));
13826 }
13827 
GetTypeName() const13828 std::string Ext4ExtLoadExtentFtraceEvent::GetTypeName() const {
13829   return "perfetto.protos.Ext4ExtLoadExtentFtraceEvent";
13830 }
13831 
13832 
13833 // ===================================================================
13834 
13835 class Ext4ExtMapBlocksEnterFtraceEvent::_Internal {
13836  public:
13837   using HasBits = decltype(std::declval<Ext4ExtMapBlocksEnterFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)13838   static void set_has_dev(HasBits* has_bits) {
13839     (*has_bits)[0] |= 1u;
13840   }
set_has_ino(HasBits * has_bits)13841   static void set_has_ino(HasBits* has_bits) {
13842     (*has_bits)[0] |= 2u;
13843   }
set_has_lblk(HasBits * has_bits)13844   static void set_has_lblk(HasBits* has_bits) {
13845     (*has_bits)[0] |= 4u;
13846   }
set_has_len(HasBits * has_bits)13847   static void set_has_len(HasBits* has_bits) {
13848     (*has_bits)[0] |= 8u;
13849   }
set_has_flags(HasBits * has_bits)13850   static void set_has_flags(HasBits* has_bits) {
13851     (*has_bits)[0] |= 16u;
13852   }
13853 };
13854 
Ext4ExtMapBlocksEnterFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)13855 Ext4ExtMapBlocksEnterFtraceEvent::Ext4ExtMapBlocksEnterFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
13856                          bool is_message_owned)
13857   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
13858   SharedCtor(arena, is_message_owned);
13859   // @@protoc_insertion_point(arena_constructor:perfetto.protos.Ext4ExtMapBlocksEnterFtraceEvent)
13860 }
Ext4ExtMapBlocksEnterFtraceEvent(const Ext4ExtMapBlocksEnterFtraceEvent & from)13861 Ext4ExtMapBlocksEnterFtraceEvent::Ext4ExtMapBlocksEnterFtraceEvent(const Ext4ExtMapBlocksEnterFtraceEvent& from)
13862   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
13863   Ext4ExtMapBlocksEnterFtraceEvent* const _this = this; (void)_this;
13864   new (&_impl_) Impl_{
13865       decltype(_impl_._has_bits_){from._impl_._has_bits_}
13866     , /*decltype(_impl_._cached_size_)*/{}
13867     , decltype(_impl_.dev_){}
13868     , decltype(_impl_.ino_){}
13869     , decltype(_impl_.lblk_){}
13870     , decltype(_impl_.len_){}
13871     , decltype(_impl_.flags_){}};
13872 
13873   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
13874   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
13875     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.flags_) -
13876     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.flags_));
13877   // @@protoc_insertion_point(copy_constructor:perfetto.protos.Ext4ExtMapBlocksEnterFtraceEvent)
13878 }
13879 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)13880 inline void Ext4ExtMapBlocksEnterFtraceEvent::SharedCtor(
13881     ::_pb::Arena* arena, bool is_message_owned) {
13882   (void)arena;
13883   (void)is_message_owned;
13884   new (&_impl_) Impl_{
13885       decltype(_impl_._has_bits_){}
13886     , /*decltype(_impl_._cached_size_)*/{}
13887     , decltype(_impl_.dev_){::uint64_t{0u}}
13888     , decltype(_impl_.ino_){::uint64_t{0u}}
13889     , decltype(_impl_.lblk_){0u}
13890     , decltype(_impl_.len_){0u}
13891     , decltype(_impl_.flags_){0u}
13892   };
13893 }
13894 
~Ext4ExtMapBlocksEnterFtraceEvent()13895 Ext4ExtMapBlocksEnterFtraceEvent::~Ext4ExtMapBlocksEnterFtraceEvent() {
13896   // @@protoc_insertion_point(destructor:perfetto.protos.Ext4ExtMapBlocksEnterFtraceEvent)
13897   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
13898   (void)arena;
13899     return;
13900   }
13901   SharedDtor();
13902 }
13903 
SharedDtor()13904 inline void Ext4ExtMapBlocksEnterFtraceEvent::SharedDtor() {
13905   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
13906 }
13907 
SetCachedSize(int size) const13908 void Ext4ExtMapBlocksEnterFtraceEvent::SetCachedSize(int size) const {
13909   _impl_._cached_size_.Set(size);
13910 }
13911 
Clear()13912 void Ext4ExtMapBlocksEnterFtraceEvent::Clear() {
13913 // @@protoc_insertion_point(message_clear_start:perfetto.protos.Ext4ExtMapBlocksEnterFtraceEvent)
13914   ::uint32_t cached_has_bits = 0;
13915   // Prevent compiler warnings about cached_has_bits being unused
13916   (void) cached_has_bits;
13917 
13918   cached_has_bits = _impl_._has_bits_[0];
13919   if (cached_has_bits & 0x0000001fu) {
13920     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
13921         reinterpret_cast<char*>(&_impl_.flags_) -
13922         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.flags_));
13923   }
13924   _impl_._has_bits_.Clear();
13925   _internal_metadata_.Clear<std::string>();
13926 }
13927 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)13928 const char* Ext4ExtMapBlocksEnterFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
13929 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
13930   _Internal::HasBits has_bits{};
13931   while (!ctx->Done(&ptr)) {
13932     ::uint32_t tag;
13933     ptr = ::_pbi::ReadTag(ptr, &tag);
13934     switch (tag >> 3) {
13935       // optional uint64 dev = 1;
13936       case 1:
13937         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
13938           _Internal::set_has_dev(&has_bits);
13939           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
13940           CHK_(ptr);
13941         } else {
13942           goto handle_unusual;
13943         }
13944         continue;
13945       // optional uint64 ino = 2;
13946       case 2:
13947         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
13948           _Internal::set_has_ino(&has_bits);
13949           _impl_.ino_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
13950           CHK_(ptr);
13951         } else {
13952           goto handle_unusual;
13953         }
13954         continue;
13955       // optional uint32 lblk = 3;
13956       case 3:
13957         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
13958           _Internal::set_has_lblk(&has_bits);
13959           _impl_.lblk_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
13960           CHK_(ptr);
13961         } else {
13962           goto handle_unusual;
13963         }
13964         continue;
13965       // optional uint32 len = 4;
13966       case 4:
13967         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
13968           _Internal::set_has_len(&has_bits);
13969           _impl_.len_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
13970           CHK_(ptr);
13971         } else {
13972           goto handle_unusual;
13973         }
13974         continue;
13975       // optional uint32 flags = 5;
13976       case 5:
13977         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) {
13978           _Internal::set_has_flags(&has_bits);
13979           _impl_.flags_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
13980           CHK_(ptr);
13981         } else {
13982           goto handle_unusual;
13983         }
13984         continue;
13985       default:
13986         goto handle_unusual;
13987     }  // switch
13988   handle_unusual:
13989     if ((tag == 0) || ((tag & 7) == 4)) {
13990       CHK_(ptr);
13991       ctx->SetLastTag(tag);
13992       goto message_done;
13993     }
13994     ptr = UnknownFieldParse(
13995         tag,
13996         _internal_metadata_.mutable_unknown_fields<std::string>(),
13997         ptr, ctx);
13998     CHK_(ptr != nullptr);
13999   }  // while
14000 message_done:
14001   _impl_._has_bits_.Or(has_bits);
14002   return ptr;
14003 failure:
14004   ptr = nullptr;
14005   goto message_done;
14006 #undef CHK_
14007 }
14008 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const14009 ::uint8_t* Ext4ExtMapBlocksEnterFtraceEvent::_InternalSerialize(
14010     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
14011   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.Ext4ExtMapBlocksEnterFtraceEvent)
14012   ::uint32_t cached_has_bits = 0;
14013   (void) cached_has_bits;
14014 
14015   cached_has_bits = _impl_._has_bits_[0];
14016   // optional uint64 dev = 1;
14017   if (cached_has_bits & 0x00000001u) {
14018     target = stream->EnsureSpace(target);
14019     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
14020   }
14021 
14022   // optional uint64 ino = 2;
14023   if (cached_has_bits & 0x00000002u) {
14024     target = stream->EnsureSpace(target);
14025     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_ino(), target);
14026   }
14027 
14028   // optional uint32 lblk = 3;
14029   if (cached_has_bits & 0x00000004u) {
14030     target = stream->EnsureSpace(target);
14031     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_lblk(), target);
14032   }
14033 
14034   // optional uint32 len = 4;
14035   if (cached_has_bits & 0x00000008u) {
14036     target = stream->EnsureSpace(target);
14037     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_len(), target);
14038   }
14039 
14040   // optional uint32 flags = 5;
14041   if (cached_has_bits & 0x00000010u) {
14042     target = stream->EnsureSpace(target);
14043     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_flags(), target);
14044   }
14045 
14046   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
14047     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
14048         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
14049   }
14050   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.Ext4ExtMapBlocksEnterFtraceEvent)
14051   return target;
14052 }
14053 
ByteSizeLong() const14054 size_t Ext4ExtMapBlocksEnterFtraceEvent::ByteSizeLong() const {
14055 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.Ext4ExtMapBlocksEnterFtraceEvent)
14056   size_t total_size = 0;
14057 
14058   ::uint32_t cached_has_bits = 0;
14059   // Prevent compiler warnings about cached_has_bits being unused
14060   (void) cached_has_bits;
14061 
14062   cached_has_bits = _impl_._has_bits_[0];
14063   if (cached_has_bits & 0x0000001fu) {
14064     // optional uint64 dev = 1;
14065     if (cached_has_bits & 0x00000001u) {
14066       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
14067     }
14068 
14069     // optional uint64 ino = 2;
14070     if (cached_has_bits & 0x00000002u) {
14071       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ino());
14072     }
14073 
14074     // optional uint32 lblk = 3;
14075     if (cached_has_bits & 0x00000004u) {
14076       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_lblk());
14077     }
14078 
14079     // optional uint32 len = 4;
14080     if (cached_has_bits & 0x00000008u) {
14081       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_len());
14082     }
14083 
14084     // optional uint32 flags = 5;
14085     if (cached_has_bits & 0x00000010u) {
14086       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_flags());
14087     }
14088 
14089   }
14090   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
14091     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
14092   }
14093   int cached_size = ::_pbi::ToCachedSize(total_size);
14094   SetCachedSize(cached_size);
14095   return total_size;
14096 }
14097 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)14098 void Ext4ExtMapBlocksEnterFtraceEvent::CheckTypeAndMergeFrom(
14099     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
14100   MergeFrom(*::_pbi::DownCast<const Ext4ExtMapBlocksEnterFtraceEvent*>(
14101       &from));
14102 }
14103 
MergeFrom(const Ext4ExtMapBlocksEnterFtraceEvent & from)14104 void Ext4ExtMapBlocksEnterFtraceEvent::MergeFrom(const Ext4ExtMapBlocksEnterFtraceEvent& from) {
14105   Ext4ExtMapBlocksEnterFtraceEvent* const _this = this;
14106   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.Ext4ExtMapBlocksEnterFtraceEvent)
14107   GOOGLE_DCHECK_NE(&from, _this);
14108   ::uint32_t cached_has_bits = 0;
14109   (void) cached_has_bits;
14110 
14111   cached_has_bits = from._impl_._has_bits_[0];
14112   if (cached_has_bits & 0x0000001fu) {
14113     if (cached_has_bits & 0x00000001u) {
14114       _this->_impl_.dev_ = from._impl_.dev_;
14115     }
14116     if (cached_has_bits & 0x00000002u) {
14117       _this->_impl_.ino_ = from._impl_.ino_;
14118     }
14119     if (cached_has_bits & 0x00000004u) {
14120       _this->_impl_.lblk_ = from._impl_.lblk_;
14121     }
14122     if (cached_has_bits & 0x00000008u) {
14123       _this->_impl_.len_ = from._impl_.len_;
14124     }
14125     if (cached_has_bits & 0x00000010u) {
14126       _this->_impl_.flags_ = from._impl_.flags_;
14127     }
14128     _this->_impl_._has_bits_[0] |= cached_has_bits;
14129   }
14130   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
14131 }
14132 
CopyFrom(const Ext4ExtMapBlocksEnterFtraceEvent & from)14133 void Ext4ExtMapBlocksEnterFtraceEvent::CopyFrom(const Ext4ExtMapBlocksEnterFtraceEvent& from) {
14134 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.Ext4ExtMapBlocksEnterFtraceEvent)
14135   if (&from == this) return;
14136   Clear();
14137   MergeFrom(from);
14138 }
14139 
IsInitialized() const14140 bool Ext4ExtMapBlocksEnterFtraceEvent::IsInitialized() const {
14141   return true;
14142 }
14143 
InternalSwap(Ext4ExtMapBlocksEnterFtraceEvent * other)14144 void Ext4ExtMapBlocksEnterFtraceEvent::InternalSwap(Ext4ExtMapBlocksEnterFtraceEvent* other) {
14145   using std::swap;
14146   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
14147   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
14148   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
14149       PROTOBUF_FIELD_OFFSET(Ext4ExtMapBlocksEnterFtraceEvent, _impl_.flags_)
14150       + sizeof(Ext4ExtMapBlocksEnterFtraceEvent::_impl_.flags_)  // NOLINT
14151       - PROTOBUF_FIELD_OFFSET(Ext4ExtMapBlocksEnterFtraceEvent, _impl_.dev_)>(
14152           reinterpret_cast<char*>(&_impl_.dev_),
14153           reinterpret_cast<char*>(&other->_impl_.dev_));
14154 }
14155 
GetTypeName() const14156 std::string Ext4ExtMapBlocksEnterFtraceEvent::GetTypeName() const {
14157   return "perfetto.protos.Ext4ExtMapBlocksEnterFtraceEvent";
14158 }
14159 
14160 
14161 // ===================================================================
14162 
14163 class Ext4ExtMapBlocksExitFtraceEvent::_Internal {
14164  public:
14165   using HasBits = decltype(std::declval<Ext4ExtMapBlocksExitFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)14166   static void set_has_dev(HasBits* has_bits) {
14167     (*has_bits)[0] |= 1u;
14168   }
set_has_ino(HasBits * has_bits)14169   static void set_has_ino(HasBits* has_bits) {
14170     (*has_bits)[0] |= 2u;
14171   }
set_has_flags(HasBits * has_bits)14172   static void set_has_flags(HasBits* has_bits) {
14173     (*has_bits)[0] |= 8u;
14174   }
set_has_pblk(HasBits * has_bits)14175   static void set_has_pblk(HasBits* has_bits) {
14176     (*has_bits)[0] |= 4u;
14177   }
set_has_lblk(HasBits * has_bits)14178   static void set_has_lblk(HasBits* has_bits) {
14179     (*has_bits)[0] |= 16u;
14180   }
set_has_len(HasBits * has_bits)14181   static void set_has_len(HasBits* has_bits) {
14182     (*has_bits)[0] |= 32u;
14183   }
set_has_mflags(HasBits * has_bits)14184   static void set_has_mflags(HasBits* has_bits) {
14185     (*has_bits)[0] |= 64u;
14186   }
set_has_ret(HasBits * has_bits)14187   static void set_has_ret(HasBits* has_bits) {
14188     (*has_bits)[0] |= 128u;
14189   }
14190 };
14191 
Ext4ExtMapBlocksExitFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)14192 Ext4ExtMapBlocksExitFtraceEvent::Ext4ExtMapBlocksExitFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
14193                          bool is_message_owned)
14194   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
14195   SharedCtor(arena, is_message_owned);
14196   // @@protoc_insertion_point(arena_constructor:perfetto.protos.Ext4ExtMapBlocksExitFtraceEvent)
14197 }
Ext4ExtMapBlocksExitFtraceEvent(const Ext4ExtMapBlocksExitFtraceEvent & from)14198 Ext4ExtMapBlocksExitFtraceEvent::Ext4ExtMapBlocksExitFtraceEvent(const Ext4ExtMapBlocksExitFtraceEvent& from)
14199   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
14200   Ext4ExtMapBlocksExitFtraceEvent* const _this = this; (void)_this;
14201   new (&_impl_) Impl_{
14202       decltype(_impl_._has_bits_){from._impl_._has_bits_}
14203     , /*decltype(_impl_._cached_size_)*/{}
14204     , decltype(_impl_.dev_){}
14205     , decltype(_impl_.ino_){}
14206     , decltype(_impl_.pblk_){}
14207     , decltype(_impl_.flags_){}
14208     , decltype(_impl_.lblk_){}
14209     , decltype(_impl_.len_){}
14210     , decltype(_impl_.mflags_){}
14211     , decltype(_impl_.ret_){}};
14212 
14213   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
14214   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
14215     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.ret_) -
14216     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.ret_));
14217   // @@protoc_insertion_point(copy_constructor:perfetto.protos.Ext4ExtMapBlocksExitFtraceEvent)
14218 }
14219 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)14220 inline void Ext4ExtMapBlocksExitFtraceEvent::SharedCtor(
14221     ::_pb::Arena* arena, bool is_message_owned) {
14222   (void)arena;
14223   (void)is_message_owned;
14224   new (&_impl_) Impl_{
14225       decltype(_impl_._has_bits_){}
14226     , /*decltype(_impl_._cached_size_)*/{}
14227     , decltype(_impl_.dev_){::uint64_t{0u}}
14228     , decltype(_impl_.ino_){::uint64_t{0u}}
14229     , decltype(_impl_.pblk_){::uint64_t{0u}}
14230     , decltype(_impl_.flags_){0u}
14231     , decltype(_impl_.lblk_){0u}
14232     , decltype(_impl_.len_){0u}
14233     , decltype(_impl_.mflags_){0u}
14234     , decltype(_impl_.ret_){0}
14235   };
14236 }
14237 
~Ext4ExtMapBlocksExitFtraceEvent()14238 Ext4ExtMapBlocksExitFtraceEvent::~Ext4ExtMapBlocksExitFtraceEvent() {
14239   // @@protoc_insertion_point(destructor:perfetto.protos.Ext4ExtMapBlocksExitFtraceEvent)
14240   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
14241   (void)arena;
14242     return;
14243   }
14244   SharedDtor();
14245 }
14246 
SharedDtor()14247 inline void Ext4ExtMapBlocksExitFtraceEvent::SharedDtor() {
14248   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
14249 }
14250 
SetCachedSize(int size) const14251 void Ext4ExtMapBlocksExitFtraceEvent::SetCachedSize(int size) const {
14252   _impl_._cached_size_.Set(size);
14253 }
14254 
Clear()14255 void Ext4ExtMapBlocksExitFtraceEvent::Clear() {
14256 // @@protoc_insertion_point(message_clear_start:perfetto.protos.Ext4ExtMapBlocksExitFtraceEvent)
14257   ::uint32_t cached_has_bits = 0;
14258   // Prevent compiler warnings about cached_has_bits being unused
14259   (void) cached_has_bits;
14260 
14261   cached_has_bits = _impl_._has_bits_[0];
14262   if (cached_has_bits & 0x000000ffu) {
14263     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
14264         reinterpret_cast<char*>(&_impl_.ret_) -
14265         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.ret_));
14266   }
14267   _impl_._has_bits_.Clear();
14268   _internal_metadata_.Clear<std::string>();
14269 }
14270 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)14271 const char* Ext4ExtMapBlocksExitFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
14272 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
14273   _Internal::HasBits has_bits{};
14274   while (!ctx->Done(&ptr)) {
14275     ::uint32_t tag;
14276     ptr = ::_pbi::ReadTag(ptr, &tag);
14277     switch (tag >> 3) {
14278       // optional uint64 dev = 1;
14279       case 1:
14280         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
14281           _Internal::set_has_dev(&has_bits);
14282           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
14283           CHK_(ptr);
14284         } else {
14285           goto handle_unusual;
14286         }
14287         continue;
14288       // optional uint64 ino = 2;
14289       case 2:
14290         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
14291           _Internal::set_has_ino(&has_bits);
14292           _impl_.ino_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
14293           CHK_(ptr);
14294         } else {
14295           goto handle_unusual;
14296         }
14297         continue;
14298       // optional uint32 flags = 3;
14299       case 3:
14300         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
14301           _Internal::set_has_flags(&has_bits);
14302           _impl_.flags_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
14303           CHK_(ptr);
14304         } else {
14305           goto handle_unusual;
14306         }
14307         continue;
14308       // optional uint64 pblk = 4;
14309       case 4:
14310         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
14311           _Internal::set_has_pblk(&has_bits);
14312           _impl_.pblk_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
14313           CHK_(ptr);
14314         } else {
14315           goto handle_unusual;
14316         }
14317         continue;
14318       // optional uint32 lblk = 5;
14319       case 5:
14320         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) {
14321           _Internal::set_has_lblk(&has_bits);
14322           _impl_.lblk_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
14323           CHK_(ptr);
14324         } else {
14325           goto handle_unusual;
14326         }
14327         continue;
14328       // optional uint32 len = 6;
14329       case 6:
14330         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 48)) {
14331           _Internal::set_has_len(&has_bits);
14332           _impl_.len_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
14333           CHK_(ptr);
14334         } else {
14335           goto handle_unusual;
14336         }
14337         continue;
14338       // optional uint32 mflags = 7;
14339       case 7:
14340         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 56)) {
14341           _Internal::set_has_mflags(&has_bits);
14342           _impl_.mflags_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
14343           CHK_(ptr);
14344         } else {
14345           goto handle_unusual;
14346         }
14347         continue;
14348       // optional int32 ret = 8;
14349       case 8:
14350         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 64)) {
14351           _Internal::set_has_ret(&has_bits);
14352           _impl_.ret_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
14353           CHK_(ptr);
14354         } else {
14355           goto handle_unusual;
14356         }
14357         continue;
14358       default:
14359         goto handle_unusual;
14360     }  // switch
14361   handle_unusual:
14362     if ((tag == 0) || ((tag & 7) == 4)) {
14363       CHK_(ptr);
14364       ctx->SetLastTag(tag);
14365       goto message_done;
14366     }
14367     ptr = UnknownFieldParse(
14368         tag,
14369         _internal_metadata_.mutable_unknown_fields<std::string>(),
14370         ptr, ctx);
14371     CHK_(ptr != nullptr);
14372   }  // while
14373 message_done:
14374   _impl_._has_bits_.Or(has_bits);
14375   return ptr;
14376 failure:
14377   ptr = nullptr;
14378   goto message_done;
14379 #undef CHK_
14380 }
14381 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const14382 ::uint8_t* Ext4ExtMapBlocksExitFtraceEvent::_InternalSerialize(
14383     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
14384   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.Ext4ExtMapBlocksExitFtraceEvent)
14385   ::uint32_t cached_has_bits = 0;
14386   (void) cached_has_bits;
14387 
14388   cached_has_bits = _impl_._has_bits_[0];
14389   // optional uint64 dev = 1;
14390   if (cached_has_bits & 0x00000001u) {
14391     target = stream->EnsureSpace(target);
14392     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
14393   }
14394 
14395   // optional uint64 ino = 2;
14396   if (cached_has_bits & 0x00000002u) {
14397     target = stream->EnsureSpace(target);
14398     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_ino(), target);
14399   }
14400 
14401   // optional uint32 flags = 3;
14402   if (cached_has_bits & 0x00000008u) {
14403     target = stream->EnsureSpace(target);
14404     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_flags(), target);
14405   }
14406 
14407   // optional uint64 pblk = 4;
14408   if (cached_has_bits & 0x00000004u) {
14409     target = stream->EnsureSpace(target);
14410     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(4, this->_internal_pblk(), target);
14411   }
14412 
14413   // optional uint32 lblk = 5;
14414   if (cached_has_bits & 0x00000010u) {
14415     target = stream->EnsureSpace(target);
14416     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_lblk(), target);
14417   }
14418 
14419   // optional uint32 len = 6;
14420   if (cached_has_bits & 0x00000020u) {
14421     target = stream->EnsureSpace(target);
14422     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_len(), target);
14423   }
14424 
14425   // optional uint32 mflags = 7;
14426   if (cached_has_bits & 0x00000040u) {
14427     target = stream->EnsureSpace(target);
14428     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(7, this->_internal_mflags(), target);
14429   }
14430 
14431   // optional int32 ret = 8;
14432   if (cached_has_bits & 0x00000080u) {
14433     target = stream->EnsureSpace(target);
14434     target = ::_pbi::WireFormatLite::WriteInt32ToArray(8, this->_internal_ret(), target);
14435   }
14436 
14437   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
14438     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
14439         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
14440   }
14441   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.Ext4ExtMapBlocksExitFtraceEvent)
14442   return target;
14443 }
14444 
ByteSizeLong() const14445 size_t Ext4ExtMapBlocksExitFtraceEvent::ByteSizeLong() const {
14446 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.Ext4ExtMapBlocksExitFtraceEvent)
14447   size_t total_size = 0;
14448 
14449   ::uint32_t cached_has_bits = 0;
14450   // Prevent compiler warnings about cached_has_bits being unused
14451   (void) cached_has_bits;
14452 
14453   cached_has_bits = _impl_._has_bits_[0];
14454   if (cached_has_bits & 0x000000ffu) {
14455     // optional uint64 dev = 1;
14456     if (cached_has_bits & 0x00000001u) {
14457       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
14458     }
14459 
14460     // optional uint64 ino = 2;
14461     if (cached_has_bits & 0x00000002u) {
14462       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ino());
14463     }
14464 
14465     // optional uint64 pblk = 4;
14466     if (cached_has_bits & 0x00000004u) {
14467       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_pblk());
14468     }
14469 
14470     // optional uint32 flags = 3;
14471     if (cached_has_bits & 0x00000008u) {
14472       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_flags());
14473     }
14474 
14475     // optional uint32 lblk = 5;
14476     if (cached_has_bits & 0x00000010u) {
14477       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_lblk());
14478     }
14479 
14480     // optional uint32 len = 6;
14481     if (cached_has_bits & 0x00000020u) {
14482       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_len());
14483     }
14484 
14485     // optional uint32 mflags = 7;
14486     if (cached_has_bits & 0x00000040u) {
14487       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_mflags());
14488     }
14489 
14490     // optional int32 ret = 8;
14491     if (cached_has_bits & 0x00000080u) {
14492       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_ret());
14493     }
14494 
14495   }
14496   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
14497     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
14498   }
14499   int cached_size = ::_pbi::ToCachedSize(total_size);
14500   SetCachedSize(cached_size);
14501   return total_size;
14502 }
14503 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)14504 void Ext4ExtMapBlocksExitFtraceEvent::CheckTypeAndMergeFrom(
14505     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
14506   MergeFrom(*::_pbi::DownCast<const Ext4ExtMapBlocksExitFtraceEvent*>(
14507       &from));
14508 }
14509 
MergeFrom(const Ext4ExtMapBlocksExitFtraceEvent & from)14510 void Ext4ExtMapBlocksExitFtraceEvent::MergeFrom(const Ext4ExtMapBlocksExitFtraceEvent& from) {
14511   Ext4ExtMapBlocksExitFtraceEvent* const _this = this;
14512   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.Ext4ExtMapBlocksExitFtraceEvent)
14513   GOOGLE_DCHECK_NE(&from, _this);
14514   ::uint32_t cached_has_bits = 0;
14515   (void) cached_has_bits;
14516 
14517   cached_has_bits = from._impl_._has_bits_[0];
14518   if (cached_has_bits & 0x000000ffu) {
14519     if (cached_has_bits & 0x00000001u) {
14520       _this->_impl_.dev_ = from._impl_.dev_;
14521     }
14522     if (cached_has_bits & 0x00000002u) {
14523       _this->_impl_.ino_ = from._impl_.ino_;
14524     }
14525     if (cached_has_bits & 0x00000004u) {
14526       _this->_impl_.pblk_ = from._impl_.pblk_;
14527     }
14528     if (cached_has_bits & 0x00000008u) {
14529       _this->_impl_.flags_ = from._impl_.flags_;
14530     }
14531     if (cached_has_bits & 0x00000010u) {
14532       _this->_impl_.lblk_ = from._impl_.lblk_;
14533     }
14534     if (cached_has_bits & 0x00000020u) {
14535       _this->_impl_.len_ = from._impl_.len_;
14536     }
14537     if (cached_has_bits & 0x00000040u) {
14538       _this->_impl_.mflags_ = from._impl_.mflags_;
14539     }
14540     if (cached_has_bits & 0x00000080u) {
14541       _this->_impl_.ret_ = from._impl_.ret_;
14542     }
14543     _this->_impl_._has_bits_[0] |= cached_has_bits;
14544   }
14545   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
14546 }
14547 
CopyFrom(const Ext4ExtMapBlocksExitFtraceEvent & from)14548 void Ext4ExtMapBlocksExitFtraceEvent::CopyFrom(const Ext4ExtMapBlocksExitFtraceEvent& from) {
14549 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.Ext4ExtMapBlocksExitFtraceEvent)
14550   if (&from == this) return;
14551   Clear();
14552   MergeFrom(from);
14553 }
14554 
IsInitialized() const14555 bool Ext4ExtMapBlocksExitFtraceEvent::IsInitialized() const {
14556   return true;
14557 }
14558 
InternalSwap(Ext4ExtMapBlocksExitFtraceEvent * other)14559 void Ext4ExtMapBlocksExitFtraceEvent::InternalSwap(Ext4ExtMapBlocksExitFtraceEvent* other) {
14560   using std::swap;
14561   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
14562   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
14563   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
14564       PROTOBUF_FIELD_OFFSET(Ext4ExtMapBlocksExitFtraceEvent, _impl_.ret_)
14565       + sizeof(Ext4ExtMapBlocksExitFtraceEvent::_impl_.ret_)  // NOLINT
14566       - PROTOBUF_FIELD_OFFSET(Ext4ExtMapBlocksExitFtraceEvent, _impl_.dev_)>(
14567           reinterpret_cast<char*>(&_impl_.dev_),
14568           reinterpret_cast<char*>(&other->_impl_.dev_));
14569 }
14570 
GetTypeName() const14571 std::string Ext4ExtMapBlocksExitFtraceEvent::GetTypeName() const {
14572   return "perfetto.protos.Ext4ExtMapBlocksExitFtraceEvent";
14573 }
14574 
14575 
14576 // ===================================================================
14577 
14578 class Ext4ExtPutInCacheFtraceEvent::_Internal {
14579  public:
14580   using HasBits = decltype(std::declval<Ext4ExtPutInCacheFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)14581   static void set_has_dev(HasBits* has_bits) {
14582     (*has_bits)[0] |= 1u;
14583   }
set_has_ino(HasBits * has_bits)14584   static void set_has_ino(HasBits* has_bits) {
14585     (*has_bits)[0] |= 2u;
14586   }
set_has_lblk(HasBits * has_bits)14587   static void set_has_lblk(HasBits* has_bits) {
14588     (*has_bits)[0] |= 4u;
14589   }
set_has_len(HasBits * has_bits)14590   static void set_has_len(HasBits* has_bits) {
14591     (*has_bits)[0] |= 8u;
14592   }
set_has_start(HasBits * has_bits)14593   static void set_has_start(HasBits* has_bits) {
14594     (*has_bits)[0] |= 16u;
14595   }
14596 };
14597 
Ext4ExtPutInCacheFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)14598 Ext4ExtPutInCacheFtraceEvent::Ext4ExtPutInCacheFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
14599                          bool is_message_owned)
14600   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
14601   SharedCtor(arena, is_message_owned);
14602   // @@protoc_insertion_point(arena_constructor:perfetto.protos.Ext4ExtPutInCacheFtraceEvent)
14603 }
Ext4ExtPutInCacheFtraceEvent(const Ext4ExtPutInCacheFtraceEvent & from)14604 Ext4ExtPutInCacheFtraceEvent::Ext4ExtPutInCacheFtraceEvent(const Ext4ExtPutInCacheFtraceEvent& from)
14605   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
14606   Ext4ExtPutInCacheFtraceEvent* const _this = this; (void)_this;
14607   new (&_impl_) Impl_{
14608       decltype(_impl_._has_bits_){from._impl_._has_bits_}
14609     , /*decltype(_impl_._cached_size_)*/{}
14610     , decltype(_impl_.dev_){}
14611     , decltype(_impl_.ino_){}
14612     , decltype(_impl_.lblk_){}
14613     , decltype(_impl_.len_){}
14614     , decltype(_impl_.start_){}};
14615 
14616   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
14617   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
14618     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.start_) -
14619     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.start_));
14620   // @@protoc_insertion_point(copy_constructor:perfetto.protos.Ext4ExtPutInCacheFtraceEvent)
14621 }
14622 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)14623 inline void Ext4ExtPutInCacheFtraceEvent::SharedCtor(
14624     ::_pb::Arena* arena, bool is_message_owned) {
14625   (void)arena;
14626   (void)is_message_owned;
14627   new (&_impl_) Impl_{
14628       decltype(_impl_._has_bits_){}
14629     , /*decltype(_impl_._cached_size_)*/{}
14630     , decltype(_impl_.dev_){::uint64_t{0u}}
14631     , decltype(_impl_.ino_){::uint64_t{0u}}
14632     , decltype(_impl_.lblk_){0u}
14633     , decltype(_impl_.len_){0u}
14634     , decltype(_impl_.start_){::uint64_t{0u}}
14635   };
14636 }
14637 
~Ext4ExtPutInCacheFtraceEvent()14638 Ext4ExtPutInCacheFtraceEvent::~Ext4ExtPutInCacheFtraceEvent() {
14639   // @@protoc_insertion_point(destructor:perfetto.protos.Ext4ExtPutInCacheFtraceEvent)
14640   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
14641   (void)arena;
14642     return;
14643   }
14644   SharedDtor();
14645 }
14646 
SharedDtor()14647 inline void Ext4ExtPutInCacheFtraceEvent::SharedDtor() {
14648   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
14649 }
14650 
SetCachedSize(int size) const14651 void Ext4ExtPutInCacheFtraceEvent::SetCachedSize(int size) const {
14652   _impl_._cached_size_.Set(size);
14653 }
14654 
Clear()14655 void Ext4ExtPutInCacheFtraceEvent::Clear() {
14656 // @@protoc_insertion_point(message_clear_start:perfetto.protos.Ext4ExtPutInCacheFtraceEvent)
14657   ::uint32_t cached_has_bits = 0;
14658   // Prevent compiler warnings about cached_has_bits being unused
14659   (void) cached_has_bits;
14660 
14661   cached_has_bits = _impl_._has_bits_[0];
14662   if (cached_has_bits & 0x0000001fu) {
14663     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
14664         reinterpret_cast<char*>(&_impl_.start_) -
14665         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.start_));
14666   }
14667   _impl_._has_bits_.Clear();
14668   _internal_metadata_.Clear<std::string>();
14669 }
14670 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)14671 const char* Ext4ExtPutInCacheFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
14672 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
14673   _Internal::HasBits has_bits{};
14674   while (!ctx->Done(&ptr)) {
14675     ::uint32_t tag;
14676     ptr = ::_pbi::ReadTag(ptr, &tag);
14677     switch (tag >> 3) {
14678       // optional uint64 dev = 1;
14679       case 1:
14680         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
14681           _Internal::set_has_dev(&has_bits);
14682           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
14683           CHK_(ptr);
14684         } else {
14685           goto handle_unusual;
14686         }
14687         continue;
14688       // optional uint64 ino = 2;
14689       case 2:
14690         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
14691           _Internal::set_has_ino(&has_bits);
14692           _impl_.ino_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
14693           CHK_(ptr);
14694         } else {
14695           goto handle_unusual;
14696         }
14697         continue;
14698       // optional uint32 lblk = 3;
14699       case 3:
14700         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
14701           _Internal::set_has_lblk(&has_bits);
14702           _impl_.lblk_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
14703           CHK_(ptr);
14704         } else {
14705           goto handle_unusual;
14706         }
14707         continue;
14708       // optional uint32 len = 4;
14709       case 4:
14710         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
14711           _Internal::set_has_len(&has_bits);
14712           _impl_.len_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
14713           CHK_(ptr);
14714         } else {
14715           goto handle_unusual;
14716         }
14717         continue;
14718       // optional uint64 start = 5;
14719       case 5:
14720         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) {
14721           _Internal::set_has_start(&has_bits);
14722           _impl_.start_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
14723           CHK_(ptr);
14724         } else {
14725           goto handle_unusual;
14726         }
14727         continue;
14728       default:
14729         goto handle_unusual;
14730     }  // switch
14731   handle_unusual:
14732     if ((tag == 0) || ((tag & 7) == 4)) {
14733       CHK_(ptr);
14734       ctx->SetLastTag(tag);
14735       goto message_done;
14736     }
14737     ptr = UnknownFieldParse(
14738         tag,
14739         _internal_metadata_.mutable_unknown_fields<std::string>(),
14740         ptr, ctx);
14741     CHK_(ptr != nullptr);
14742   }  // while
14743 message_done:
14744   _impl_._has_bits_.Or(has_bits);
14745   return ptr;
14746 failure:
14747   ptr = nullptr;
14748   goto message_done;
14749 #undef CHK_
14750 }
14751 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const14752 ::uint8_t* Ext4ExtPutInCacheFtraceEvent::_InternalSerialize(
14753     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
14754   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.Ext4ExtPutInCacheFtraceEvent)
14755   ::uint32_t cached_has_bits = 0;
14756   (void) cached_has_bits;
14757 
14758   cached_has_bits = _impl_._has_bits_[0];
14759   // optional uint64 dev = 1;
14760   if (cached_has_bits & 0x00000001u) {
14761     target = stream->EnsureSpace(target);
14762     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
14763   }
14764 
14765   // optional uint64 ino = 2;
14766   if (cached_has_bits & 0x00000002u) {
14767     target = stream->EnsureSpace(target);
14768     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_ino(), target);
14769   }
14770 
14771   // optional uint32 lblk = 3;
14772   if (cached_has_bits & 0x00000004u) {
14773     target = stream->EnsureSpace(target);
14774     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_lblk(), target);
14775   }
14776 
14777   // optional uint32 len = 4;
14778   if (cached_has_bits & 0x00000008u) {
14779     target = stream->EnsureSpace(target);
14780     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_len(), target);
14781   }
14782 
14783   // optional uint64 start = 5;
14784   if (cached_has_bits & 0x00000010u) {
14785     target = stream->EnsureSpace(target);
14786     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(5, this->_internal_start(), target);
14787   }
14788 
14789   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
14790     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
14791         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
14792   }
14793   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.Ext4ExtPutInCacheFtraceEvent)
14794   return target;
14795 }
14796 
ByteSizeLong() const14797 size_t Ext4ExtPutInCacheFtraceEvent::ByteSizeLong() const {
14798 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.Ext4ExtPutInCacheFtraceEvent)
14799   size_t total_size = 0;
14800 
14801   ::uint32_t cached_has_bits = 0;
14802   // Prevent compiler warnings about cached_has_bits being unused
14803   (void) cached_has_bits;
14804 
14805   cached_has_bits = _impl_._has_bits_[0];
14806   if (cached_has_bits & 0x0000001fu) {
14807     // optional uint64 dev = 1;
14808     if (cached_has_bits & 0x00000001u) {
14809       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
14810     }
14811 
14812     // optional uint64 ino = 2;
14813     if (cached_has_bits & 0x00000002u) {
14814       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ino());
14815     }
14816 
14817     // optional uint32 lblk = 3;
14818     if (cached_has_bits & 0x00000004u) {
14819       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_lblk());
14820     }
14821 
14822     // optional uint32 len = 4;
14823     if (cached_has_bits & 0x00000008u) {
14824       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_len());
14825     }
14826 
14827     // optional uint64 start = 5;
14828     if (cached_has_bits & 0x00000010u) {
14829       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_start());
14830     }
14831 
14832   }
14833   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
14834     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
14835   }
14836   int cached_size = ::_pbi::ToCachedSize(total_size);
14837   SetCachedSize(cached_size);
14838   return total_size;
14839 }
14840 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)14841 void Ext4ExtPutInCacheFtraceEvent::CheckTypeAndMergeFrom(
14842     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
14843   MergeFrom(*::_pbi::DownCast<const Ext4ExtPutInCacheFtraceEvent*>(
14844       &from));
14845 }
14846 
MergeFrom(const Ext4ExtPutInCacheFtraceEvent & from)14847 void Ext4ExtPutInCacheFtraceEvent::MergeFrom(const Ext4ExtPutInCacheFtraceEvent& from) {
14848   Ext4ExtPutInCacheFtraceEvent* const _this = this;
14849   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.Ext4ExtPutInCacheFtraceEvent)
14850   GOOGLE_DCHECK_NE(&from, _this);
14851   ::uint32_t cached_has_bits = 0;
14852   (void) cached_has_bits;
14853 
14854   cached_has_bits = from._impl_._has_bits_[0];
14855   if (cached_has_bits & 0x0000001fu) {
14856     if (cached_has_bits & 0x00000001u) {
14857       _this->_impl_.dev_ = from._impl_.dev_;
14858     }
14859     if (cached_has_bits & 0x00000002u) {
14860       _this->_impl_.ino_ = from._impl_.ino_;
14861     }
14862     if (cached_has_bits & 0x00000004u) {
14863       _this->_impl_.lblk_ = from._impl_.lblk_;
14864     }
14865     if (cached_has_bits & 0x00000008u) {
14866       _this->_impl_.len_ = from._impl_.len_;
14867     }
14868     if (cached_has_bits & 0x00000010u) {
14869       _this->_impl_.start_ = from._impl_.start_;
14870     }
14871     _this->_impl_._has_bits_[0] |= cached_has_bits;
14872   }
14873   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
14874 }
14875 
CopyFrom(const Ext4ExtPutInCacheFtraceEvent & from)14876 void Ext4ExtPutInCacheFtraceEvent::CopyFrom(const Ext4ExtPutInCacheFtraceEvent& from) {
14877 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.Ext4ExtPutInCacheFtraceEvent)
14878   if (&from == this) return;
14879   Clear();
14880   MergeFrom(from);
14881 }
14882 
IsInitialized() const14883 bool Ext4ExtPutInCacheFtraceEvent::IsInitialized() const {
14884   return true;
14885 }
14886 
InternalSwap(Ext4ExtPutInCacheFtraceEvent * other)14887 void Ext4ExtPutInCacheFtraceEvent::InternalSwap(Ext4ExtPutInCacheFtraceEvent* other) {
14888   using std::swap;
14889   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
14890   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
14891   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
14892       PROTOBUF_FIELD_OFFSET(Ext4ExtPutInCacheFtraceEvent, _impl_.start_)
14893       + sizeof(Ext4ExtPutInCacheFtraceEvent::_impl_.start_)  // NOLINT
14894       - PROTOBUF_FIELD_OFFSET(Ext4ExtPutInCacheFtraceEvent, _impl_.dev_)>(
14895           reinterpret_cast<char*>(&_impl_.dev_),
14896           reinterpret_cast<char*>(&other->_impl_.dev_));
14897 }
14898 
GetTypeName() const14899 std::string Ext4ExtPutInCacheFtraceEvent::GetTypeName() const {
14900   return "perfetto.protos.Ext4ExtPutInCacheFtraceEvent";
14901 }
14902 
14903 
14904 // ===================================================================
14905 
14906 class Ext4ExtRemoveSpaceFtraceEvent::_Internal {
14907  public:
14908   using HasBits = decltype(std::declval<Ext4ExtRemoveSpaceFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)14909   static void set_has_dev(HasBits* has_bits) {
14910     (*has_bits)[0] |= 1u;
14911   }
set_has_ino(HasBits * has_bits)14912   static void set_has_ino(HasBits* has_bits) {
14913     (*has_bits)[0] |= 2u;
14914   }
set_has_start(HasBits * has_bits)14915   static void set_has_start(HasBits* has_bits) {
14916     (*has_bits)[0] |= 4u;
14917   }
set_has_end(HasBits * has_bits)14918   static void set_has_end(HasBits* has_bits) {
14919     (*has_bits)[0] |= 8u;
14920   }
set_has_depth(HasBits * has_bits)14921   static void set_has_depth(HasBits* has_bits) {
14922     (*has_bits)[0] |= 16u;
14923   }
14924 };
14925 
Ext4ExtRemoveSpaceFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)14926 Ext4ExtRemoveSpaceFtraceEvent::Ext4ExtRemoveSpaceFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
14927                          bool is_message_owned)
14928   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
14929   SharedCtor(arena, is_message_owned);
14930   // @@protoc_insertion_point(arena_constructor:perfetto.protos.Ext4ExtRemoveSpaceFtraceEvent)
14931 }
Ext4ExtRemoveSpaceFtraceEvent(const Ext4ExtRemoveSpaceFtraceEvent & from)14932 Ext4ExtRemoveSpaceFtraceEvent::Ext4ExtRemoveSpaceFtraceEvent(const Ext4ExtRemoveSpaceFtraceEvent& from)
14933   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
14934   Ext4ExtRemoveSpaceFtraceEvent* const _this = this; (void)_this;
14935   new (&_impl_) Impl_{
14936       decltype(_impl_._has_bits_){from._impl_._has_bits_}
14937     , /*decltype(_impl_._cached_size_)*/{}
14938     , decltype(_impl_.dev_){}
14939     , decltype(_impl_.ino_){}
14940     , decltype(_impl_.start_){}
14941     , decltype(_impl_.end_){}
14942     , decltype(_impl_.depth_){}};
14943 
14944   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
14945   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
14946     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.depth_) -
14947     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.depth_));
14948   // @@protoc_insertion_point(copy_constructor:perfetto.protos.Ext4ExtRemoveSpaceFtraceEvent)
14949 }
14950 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)14951 inline void Ext4ExtRemoveSpaceFtraceEvent::SharedCtor(
14952     ::_pb::Arena* arena, bool is_message_owned) {
14953   (void)arena;
14954   (void)is_message_owned;
14955   new (&_impl_) Impl_{
14956       decltype(_impl_._has_bits_){}
14957     , /*decltype(_impl_._cached_size_)*/{}
14958     , decltype(_impl_.dev_){::uint64_t{0u}}
14959     , decltype(_impl_.ino_){::uint64_t{0u}}
14960     , decltype(_impl_.start_){0u}
14961     , decltype(_impl_.end_){0u}
14962     , decltype(_impl_.depth_){0}
14963   };
14964 }
14965 
~Ext4ExtRemoveSpaceFtraceEvent()14966 Ext4ExtRemoveSpaceFtraceEvent::~Ext4ExtRemoveSpaceFtraceEvent() {
14967   // @@protoc_insertion_point(destructor:perfetto.protos.Ext4ExtRemoveSpaceFtraceEvent)
14968   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
14969   (void)arena;
14970     return;
14971   }
14972   SharedDtor();
14973 }
14974 
SharedDtor()14975 inline void Ext4ExtRemoveSpaceFtraceEvent::SharedDtor() {
14976   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
14977 }
14978 
SetCachedSize(int size) const14979 void Ext4ExtRemoveSpaceFtraceEvent::SetCachedSize(int size) const {
14980   _impl_._cached_size_.Set(size);
14981 }
14982 
Clear()14983 void Ext4ExtRemoveSpaceFtraceEvent::Clear() {
14984 // @@protoc_insertion_point(message_clear_start:perfetto.protos.Ext4ExtRemoveSpaceFtraceEvent)
14985   ::uint32_t cached_has_bits = 0;
14986   // Prevent compiler warnings about cached_has_bits being unused
14987   (void) cached_has_bits;
14988 
14989   cached_has_bits = _impl_._has_bits_[0];
14990   if (cached_has_bits & 0x0000001fu) {
14991     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
14992         reinterpret_cast<char*>(&_impl_.depth_) -
14993         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.depth_));
14994   }
14995   _impl_._has_bits_.Clear();
14996   _internal_metadata_.Clear<std::string>();
14997 }
14998 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)14999 const char* Ext4ExtRemoveSpaceFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
15000 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
15001   _Internal::HasBits has_bits{};
15002   while (!ctx->Done(&ptr)) {
15003     ::uint32_t tag;
15004     ptr = ::_pbi::ReadTag(ptr, &tag);
15005     switch (tag >> 3) {
15006       // optional uint64 dev = 1;
15007       case 1:
15008         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
15009           _Internal::set_has_dev(&has_bits);
15010           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
15011           CHK_(ptr);
15012         } else {
15013           goto handle_unusual;
15014         }
15015         continue;
15016       // optional uint64 ino = 2;
15017       case 2:
15018         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
15019           _Internal::set_has_ino(&has_bits);
15020           _impl_.ino_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
15021           CHK_(ptr);
15022         } else {
15023           goto handle_unusual;
15024         }
15025         continue;
15026       // optional uint32 start = 3;
15027       case 3:
15028         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
15029           _Internal::set_has_start(&has_bits);
15030           _impl_.start_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
15031           CHK_(ptr);
15032         } else {
15033           goto handle_unusual;
15034         }
15035         continue;
15036       // optional uint32 end = 4;
15037       case 4:
15038         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
15039           _Internal::set_has_end(&has_bits);
15040           _impl_.end_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
15041           CHK_(ptr);
15042         } else {
15043           goto handle_unusual;
15044         }
15045         continue;
15046       // optional int32 depth = 5;
15047       case 5:
15048         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) {
15049           _Internal::set_has_depth(&has_bits);
15050           _impl_.depth_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
15051           CHK_(ptr);
15052         } else {
15053           goto handle_unusual;
15054         }
15055         continue;
15056       default:
15057         goto handle_unusual;
15058     }  // switch
15059   handle_unusual:
15060     if ((tag == 0) || ((tag & 7) == 4)) {
15061       CHK_(ptr);
15062       ctx->SetLastTag(tag);
15063       goto message_done;
15064     }
15065     ptr = UnknownFieldParse(
15066         tag,
15067         _internal_metadata_.mutable_unknown_fields<std::string>(),
15068         ptr, ctx);
15069     CHK_(ptr != nullptr);
15070   }  // while
15071 message_done:
15072   _impl_._has_bits_.Or(has_bits);
15073   return ptr;
15074 failure:
15075   ptr = nullptr;
15076   goto message_done;
15077 #undef CHK_
15078 }
15079 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const15080 ::uint8_t* Ext4ExtRemoveSpaceFtraceEvent::_InternalSerialize(
15081     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
15082   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.Ext4ExtRemoveSpaceFtraceEvent)
15083   ::uint32_t cached_has_bits = 0;
15084   (void) cached_has_bits;
15085 
15086   cached_has_bits = _impl_._has_bits_[0];
15087   // optional uint64 dev = 1;
15088   if (cached_has_bits & 0x00000001u) {
15089     target = stream->EnsureSpace(target);
15090     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
15091   }
15092 
15093   // optional uint64 ino = 2;
15094   if (cached_has_bits & 0x00000002u) {
15095     target = stream->EnsureSpace(target);
15096     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_ino(), target);
15097   }
15098 
15099   // optional uint32 start = 3;
15100   if (cached_has_bits & 0x00000004u) {
15101     target = stream->EnsureSpace(target);
15102     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_start(), target);
15103   }
15104 
15105   // optional uint32 end = 4;
15106   if (cached_has_bits & 0x00000008u) {
15107     target = stream->EnsureSpace(target);
15108     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_end(), target);
15109   }
15110 
15111   // optional int32 depth = 5;
15112   if (cached_has_bits & 0x00000010u) {
15113     target = stream->EnsureSpace(target);
15114     target = ::_pbi::WireFormatLite::WriteInt32ToArray(5, this->_internal_depth(), target);
15115   }
15116 
15117   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
15118     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
15119         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
15120   }
15121   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.Ext4ExtRemoveSpaceFtraceEvent)
15122   return target;
15123 }
15124 
ByteSizeLong() const15125 size_t Ext4ExtRemoveSpaceFtraceEvent::ByteSizeLong() const {
15126 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.Ext4ExtRemoveSpaceFtraceEvent)
15127   size_t total_size = 0;
15128 
15129   ::uint32_t cached_has_bits = 0;
15130   // Prevent compiler warnings about cached_has_bits being unused
15131   (void) cached_has_bits;
15132 
15133   cached_has_bits = _impl_._has_bits_[0];
15134   if (cached_has_bits & 0x0000001fu) {
15135     // optional uint64 dev = 1;
15136     if (cached_has_bits & 0x00000001u) {
15137       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
15138     }
15139 
15140     // optional uint64 ino = 2;
15141     if (cached_has_bits & 0x00000002u) {
15142       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ino());
15143     }
15144 
15145     // optional uint32 start = 3;
15146     if (cached_has_bits & 0x00000004u) {
15147       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_start());
15148     }
15149 
15150     // optional uint32 end = 4;
15151     if (cached_has_bits & 0x00000008u) {
15152       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_end());
15153     }
15154 
15155     // optional int32 depth = 5;
15156     if (cached_has_bits & 0x00000010u) {
15157       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_depth());
15158     }
15159 
15160   }
15161   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
15162     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
15163   }
15164   int cached_size = ::_pbi::ToCachedSize(total_size);
15165   SetCachedSize(cached_size);
15166   return total_size;
15167 }
15168 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)15169 void Ext4ExtRemoveSpaceFtraceEvent::CheckTypeAndMergeFrom(
15170     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
15171   MergeFrom(*::_pbi::DownCast<const Ext4ExtRemoveSpaceFtraceEvent*>(
15172       &from));
15173 }
15174 
MergeFrom(const Ext4ExtRemoveSpaceFtraceEvent & from)15175 void Ext4ExtRemoveSpaceFtraceEvent::MergeFrom(const Ext4ExtRemoveSpaceFtraceEvent& from) {
15176   Ext4ExtRemoveSpaceFtraceEvent* const _this = this;
15177   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.Ext4ExtRemoveSpaceFtraceEvent)
15178   GOOGLE_DCHECK_NE(&from, _this);
15179   ::uint32_t cached_has_bits = 0;
15180   (void) cached_has_bits;
15181 
15182   cached_has_bits = from._impl_._has_bits_[0];
15183   if (cached_has_bits & 0x0000001fu) {
15184     if (cached_has_bits & 0x00000001u) {
15185       _this->_impl_.dev_ = from._impl_.dev_;
15186     }
15187     if (cached_has_bits & 0x00000002u) {
15188       _this->_impl_.ino_ = from._impl_.ino_;
15189     }
15190     if (cached_has_bits & 0x00000004u) {
15191       _this->_impl_.start_ = from._impl_.start_;
15192     }
15193     if (cached_has_bits & 0x00000008u) {
15194       _this->_impl_.end_ = from._impl_.end_;
15195     }
15196     if (cached_has_bits & 0x00000010u) {
15197       _this->_impl_.depth_ = from._impl_.depth_;
15198     }
15199     _this->_impl_._has_bits_[0] |= cached_has_bits;
15200   }
15201   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
15202 }
15203 
CopyFrom(const Ext4ExtRemoveSpaceFtraceEvent & from)15204 void Ext4ExtRemoveSpaceFtraceEvent::CopyFrom(const Ext4ExtRemoveSpaceFtraceEvent& from) {
15205 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.Ext4ExtRemoveSpaceFtraceEvent)
15206   if (&from == this) return;
15207   Clear();
15208   MergeFrom(from);
15209 }
15210 
IsInitialized() const15211 bool Ext4ExtRemoveSpaceFtraceEvent::IsInitialized() const {
15212   return true;
15213 }
15214 
InternalSwap(Ext4ExtRemoveSpaceFtraceEvent * other)15215 void Ext4ExtRemoveSpaceFtraceEvent::InternalSwap(Ext4ExtRemoveSpaceFtraceEvent* other) {
15216   using std::swap;
15217   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
15218   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
15219   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
15220       PROTOBUF_FIELD_OFFSET(Ext4ExtRemoveSpaceFtraceEvent, _impl_.depth_)
15221       + sizeof(Ext4ExtRemoveSpaceFtraceEvent::_impl_.depth_)  // NOLINT
15222       - PROTOBUF_FIELD_OFFSET(Ext4ExtRemoveSpaceFtraceEvent, _impl_.dev_)>(
15223           reinterpret_cast<char*>(&_impl_.dev_),
15224           reinterpret_cast<char*>(&other->_impl_.dev_));
15225 }
15226 
GetTypeName() const15227 std::string Ext4ExtRemoveSpaceFtraceEvent::GetTypeName() const {
15228   return "perfetto.protos.Ext4ExtRemoveSpaceFtraceEvent";
15229 }
15230 
15231 
15232 // ===================================================================
15233 
15234 class Ext4ExtRemoveSpaceDoneFtraceEvent::_Internal {
15235  public:
15236   using HasBits = decltype(std::declval<Ext4ExtRemoveSpaceDoneFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)15237   static void set_has_dev(HasBits* has_bits) {
15238     (*has_bits)[0] |= 1u;
15239   }
set_has_ino(HasBits * has_bits)15240   static void set_has_ino(HasBits* has_bits) {
15241     (*has_bits)[0] |= 2u;
15242   }
set_has_start(HasBits * has_bits)15243   static void set_has_start(HasBits* has_bits) {
15244     (*has_bits)[0] |= 4u;
15245   }
set_has_end(HasBits * has_bits)15246   static void set_has_end(HasBits* has_bits) {
15247     (*has_bits)[0] |= 8u;
15248   }
set_has_depth(HasBits * has_bits)15249   static void set_has_depth(HasBits* has_bits) {
15250     (*has_bits)[0] |= 32u;
15251   }
set_has_partial(HasBits * has_bits)15252   static void set_has_partial(HasBits* has_bits) {
15253     (*has_bits)[0] |= 16u;
15254   }
set_has_eh_entries(HasBits * has_bits)15255   static void set_has_eh_entries(HasBits* has_bits) {
15256     (*has_bits)[0] |= 64u;
15257   }
set_has_pc_lblk(HasBits * has_bits)15258   static void set_has_pc_lblk(HasBits* has_bits) {
15259     (*has_bits)[0] |= 256u;
15260   }
set_has_pc_pclu(HasBits * has_bits)15261   static void set_has_pc_pclu(HasBits* has_bits) {
15262     (*has_bits)[0] |= 128u;
15263   }
set_has_pc_state(HasBits * has_bits)15264   static void set_has_pc_state(HasBits* has_bits) {
15265     (*has_bits)[0] |= 512u;
15266   }
15267 };
15268 
Ext4ExtRemoveSpaceDoneFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)15269 Ext4ExtRemoveSpaceDoneFtraceEvent::Ext4ExtRemoveSpaceDoneFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
15270                          bool is_message_owned)
15271   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
15272   SharedCtor(arena, is_message_owned);
15273   // @@protoc_insertion_point(arena_constructor:perfetto.protos.Ext4ExtRemoveSpaceDoneFtraceEvent)
15274 }
Ext4ExtRemoveSpaceDoneFtraceEvent(const Ext4ExtRemoveSpaceDoneFtraceEvent & from)15275 Ext4ExtRemoveSpaceDoneFtraceEvent::Ext4ExtRemoveSpaceDoneFtraceEvent(const Ext4ExtRemoveSpaceDoneFtraceEvent& from)
15276   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
15277   Ext4ExtRemoveSpaceDoneFtraceEvent* const _this = this; (void)_this;
15278   new (&_impl_) Impl_{
15279       decltype(_impl_._has_bits_){from._impl_._has_bits_}
15280     , /*decltype(_impl_._cached_size_)*/{}
15281     , decltype(_impl_.dev_){}
15282     , decltype(_impl_.ino_){}
15283     , decltype(_impl_.start_){}
15284     , decltype(_impl_.end_){}
15285     , decltype(_impl_.partial_){}
15286     , decltype(_impl_.depth_){}
15287     , decltype(_impl_.eh_entries_){}
15288     , decltype(_impl_.pc_pclu_){}
15289     , decltype(_impl_.pc_lblk_){}
15290     , decltype(_impl_.pc_state_){}};
15291 
15292   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
15293   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
15294     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.pc_state_) -
15295     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.pc_state_));
15296   // @@protoc_insertion_point(copy_constructor:perfetto.protos.Ext4ExtRemoveSpaceDoneFtraceEvent)
15297 }
15298 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)15299 inline void Ext4ExtRemoveSpaceDoneFtraceEvent::SharedCtor(
15300     ::_pb::Arena* arena, bool is_message_owned) {
15301   (void)arena;
15302   (void)is_message_owned;
15303   new (&_impl_) Impl_{
15304       decltype(_impl_._has_bits_){}
15305     , /*decltype(_impl_._cached_size_)*/{}
15306     , decltype(_impl_.dev_){::uint64_t{0u}}
15307     , decltype(_impl_.ino_){::uint64_t{0u}}
15308     , decltype(_impl_.start_){0u}
15309     , decltype(_impl_.end_){0u}
15310     , decltype(_impl_.partial_){::int64_t{0}}
15311     , decltype(_impl_.depth_){0}
15312     , decltype(_impl_.eh_entries_){0u}
15313     , decltype(_impl_.pc_pclu_){::uint64_t{0u}}
15314     , decltype(_impl_.pc_lblk_){0u}
15315     , decltype(_impl_.pc_state_){0}
15316   };
15317 }
15318 
~Ext4ExtRemoveSpaceDoneFtraceEvent()15319 Ext4ExtRemoveSpaceDoneFtraceEvent::~Ext4ExtRemoveSpaceDoneFtraceEvent() {
15320   // @@protoc_insertion_point(destructor:perfetto.protos.Ext4ExtRemoveSpaceDoneFtraceEvent)
15321   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
15322   (void)arena;
15323     return;
15324   }
15325   SharedDtor();
15326 }
15327 
SharedDtor()15328 inline void Ext4ExtRemoveSpaceDoneFtraceEvent::SharedDtor() {
15329   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
15330 }
15331 
SetCachedSize(int size) const15332 void Ext4ExtRemoveSpaceDoneFtraceEvent::SetCachedSize(int size) const {
15333   _impl_._cached_size_.Set(size);
15334 }
15335 
Clear()15336 void Ext4ExtRemoveSpaceDoneFtraceEvent::Clear() {
15337 // @@protoc_insertion_point(message_clear_start:perfetto.protos.Ext4ExtRemoveSpaceDoneFtraceEvent)
15338   ::uint32_t cached_has_bits = 0;
15339   // Prevent compiler warnings about cached_has_bits being unused
15340   (void) cached_has_bits;
15341 
15342   cached_has_bits = _impl_._has_bits_[0];
15343   if (cached_has_bits & 0x000000ffu) {
15344     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
15345         reinterpret_cast<char*>(&_impl_.pc_pclu_) -
15346         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.pc_pclu_));
15347   }
15348   if (cached_has_bits & 0x00000300u) {
15349     ::memset(&_impl_.pc_lblk_, 0, static_cast<size_t>(
15350         reinterpret_cast<char*>(&_impl_.pc_state_) -
15351         reinterpret_cast<char*>(&_impl_.pc_lblk_)) + sizeof(_impl_.pc_state_));
15352   }
15353   _impl_._has_bits_.Clear();
15354   _internal_metadata_.Clear<std::string>();
15355 }
15356 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)15357 const char* Ext4ExtRemoveSpaceDoneFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
15358 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
15359   _Internal::HasBits has_bits{};
15360   while (!ctx->Done(&ptr)) {
15361     ::uint32_t tag;
15362     ptr = ::_pbi::ReadTag(ptr, &tag);
15363     switch (tag >> 3) {
15364       // optional uint64 dev = 1;
15365       case 1:
15366         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
15367           _Internal::set_has_dev(&has_bits);
15368           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
15369           CHK_(ptr);
15370         } else {
15371           goto handle_unusual;
15372         }
15373         continue;
15374       // optional uint64 ino = 2;
15375       case 2:
15376         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
15377           _Internal::set_has_ino(&has_bits);
15378           _impl_.ino_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
15379           CHK_(ptr);
15380         } else {
15381           goto handle_unusual;
15382         }
15383         continue;
15384       // optional uint32 start = 3;
15385       case 3:
15386         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
15387           _Internal::set_has_start(&has_bits);
15388           _impl_.start_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
15389           CHK_(ptr);
15390         } else {
15391           goto handle_unusual;
15392         }
15393         continue;
15394       // optional uint32 end = 4;
15395       case 4:
15396         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
15397           _Internal::set_has_end(&has_bits);
15398           _impl_.end_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
15399           CHK_(ptr);
15400         } else {
15401           goto handle_unusual;
15402         }
15403         continue;
15404       // optional int32 depth = 5;
15405       case 5:
15406         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) {
15407           _Internal::set_has_depth(&has_bits);
15408           _impl_.depth_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
15409           CHK_(ptr);
15410         } else {
15411           goto handle_unusual;
15412         }
15413         continue;
15414       // optional int64 partial = 6;
15415       case 6:
15416         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 48)) {
15417           _Internal::set_has_partial(&has_bits);
15418           _impl_.partial_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
15419           CHK_(ptr);
15420         } else {
15421           goto handle_unusual;
15422         }
15423         continue;
15424       // optional uint32 eh_entries = 7;
15425       case 7:
15426         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 56)) {
15427           _Internal::set_has_eh_entries(&has_bits);
15428           _impl_.eh_entries_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
15429           CHK_(ptr);
15430         } else {
15431           goto handle_unusual;
15432         }
15433         continue;
15434       // optional uint32 pc_lblk = 8;
15435       case 8:
15436         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 64)) {
15437           _Internal::set_has_pc_lblk(&has_bits);
15438           _impl_.pc_lblk_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
15439           CHK_(ptr);
15440         } else {
15441           goto handle_unusual;
15442         }
15443         continue;
15444       // optional uint64 pc_pclu = 9;
15445       case 9:
15446         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 72)) {
15447           _Internal::set_has_pc_pclu(&has_bits);
15448           _impl_.pc_pclu_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
15449           CHK_(ptr);
15450         } else {
15451           goto handle_unusual;
15452         }
15453         continue;
15454       // optional int32 pc_state = 10;
15455       case 10:
15456         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 80)) {
15457           _Internal::set_has_pc_state(&has_bits);
15458           _impl_.pc_state_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
15459           CHK_(ptr);
15460         } else {
15461           goto handle_unusual;
15462         }
15463         continue;
15464       default:
15465         goto handle_unusual;
15466     }  // switch
15467   handle_unusual:
15468     if ((tag == 0) || ((tag & 7) == 4)) {
15469       CHK_(ptr);
15470       ctx->SetLastTag(tag);
15471       goto message_done;
15472     }
15473     ptr = UnknownFieldParse(
15474         tag,
15475         _internal_metadata_.mutable_unknown_fields<std::string>(),
15476         ptr, ctx);
15477     CHK_(ptr != nullptr);
15478   }  // while
15479 message_done:
15480   _impl_._has_bits_.Or(has_bits);
15481   return ptr;
15482 failure:
15483   ptr = nullptr;
15484   goto message_done;
15485 #undef CHK_
15486 }
15487 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const15488 ::uint8_t* Ext4ExtRemoveSpaceDoneFtraceEvent::_InternalSerialize(
15489     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
15490   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.Ext4ExtRemoveSpaceDoneFtraceEvent)
15491   ::uint32_t cached_has_bits = 0;
15492   (void) cached_has_bits;
15493 
15494   cached_has_bits = _impl_._has_bits_[0];
15495   // optional uint64 dev = 1;
15496   if (cached_has_bits & 0x00000001u) {
15497     target = stream->EnsureSpace(target);
15498     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
15499   }
15500 
15501   // optional uint64 ino = 2;
15502   if (cached_has_bits & 0x00000002u) {
15503     target = stream->EnsureSpace(target);
15504     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_ino(), target);
15505   }
15506 
15507   // optional uint32 start = 3;
15508   if (cached_has_bits & 0x00000004u) {
15509     target = stream->EnsureSpace(target);
15510     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_start(), target);
15511   }
15512 
15513   // optional uint32 end = 4;
15514   if (cached_has_bits & 0x00000008u) {
15515     target = stream->EnsureSpace(target);
15516     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_end(), target);
15517   }
15518 
15519   // optional int32 depth = 5;
15520   if (cached_has_bits & 0x00000020u) {
15521     target = stream->EnsureSpace(target);
15522     target = ::_pbi::WireFormatLite::WriteInt32ToArray(5, this->_internal_depth(), target);
15523   }
15524 
15525   // optional int64 partial = 6;
15526   if (cached_has_bits & 0x00000010u) {
15527     target = stream->EnsureSpace(target);
15528     target = ::_pbi::WireFormatLite::WriteInt64ToArray(6, this->_internal_partial(), target);
15529   }
15530 
15531   // optional uint32 eh_entries = 7;
15532   if (cached_has_bits & 0x00000040u) {
15533     target = stream->EnsureSpace(target);
15534     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(7, this->_internal_eh_entries(), target);
15535   }
15536 
15537   // optional uint32 pc_lblk = 8;
15538   if (cached_has_bits & 0x00000100u) {
15539     target = stream->EnsureSpace(target);
15540     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(8, this->_internal_pc_lblk(), target);
15541   }
15542 
15543   // optional uint64 pc_pclu = 9;
15544   if (cached_has_bits & 0x00000080u) {
15545     target = stream->EnsureSpace(target);
15546     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(9, this->_internal_pc_pclu(), target);
15547   }
15548 
15549   // optional int32 pc_state = 10;
15550   if (cached_has_bits & 0x00000200u) {
15551     target = stream->EnsureSpace(target);
15552     target = ::_pbi::WireFormatLite::WriteInt32ToArray(10, this->_internal_pc_state(), target);
15553   }
15554 
15555   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
15556     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
15557         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
15558   }
15559   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.Ext4ExtRemoveSpaceDoneFtraceEvent)
15560   return target;
15561 }
15562 
ByteSizeLong() const15563 size_t Ext4ExtRemoveSpaceDoneFtraceEvent::ByteSizeLong() const {
15564 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.Ext4ExtRemoveSpaceDoneFtraceEvent)
15565   size_t total_size = 0;
15566 
15567   ::uint32_t cached_has_bits = 0;
15568   // Prevent compiler warnings about cached_has_bits being unused
15569   (void) cached_has_bits;
15570 
15571   cached_has_bits = _impl_._has_bits_[0];
15572   if (cached_has_bits & 0x000000ffu) {
15573     // optional uint64 dev = 1;
15574     if (cached_has_bits & 0x00000001u) {
15575       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
15576     }
15577 
15578     // optional uint64 ino = 2;
15579     if (cached_has_bits & 0x00000002u) {
15580       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ino());
15581     }
15582 
15583     // optional uint32 start = 3;
15584     if (cached_has_bits & 0x00000004u) {
15585       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_start());
15586     }
15587 
15588     // optional uint32 end = 4;
15589     if (cached_has_bits & 0x00000008u) {
15590       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_end());
15591     }
15592 
15593     // optional int64 partial = 6;
15594     if (cached_has_bits & 0x00000010u) {
15595       total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_partial());
15596     }
15597 
15598     // optional int32 depth = 5;
15599     if (cached_has_bits & 0x00000020u) {
15600       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_depth());
15601     }
15602 
15603     // optional uint32 eh_entries = 7;
15604     if (cached_has_bits & 0x00000040u) {
15605       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_eh_entries());
15606     }
15607 
15608     // optional uint64 pc_pclu = 9;
15609     if (cached_has_bits & 0x00000080u) {
15610       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_pc_pclu());
15611     }
15612 
15613   }
15614   if (cached_has_bits & 0x00000300u) {
15615     // optional uint32 pc_lblk = 8;
15616     if (cached_has_bits & 0x00000100u) {
15617       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_pc_lblk());
15618     }
15619 
15620     // optional int32 pc_state = 10;
15621     if (cached_has_bits & 0x00000200u) {
15622       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_pc_state());
15623     }
15624 
15625   }
15626   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
15627     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
15628   }
15629   int cached_size = ::_pbi::ToCachedSize(total_size);
15630   SetCachedSize(cached_size);
15631   return total_size;
15632 }
15633 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)15634 void Ext4ExtRemoveSpaceDoneFtraceEvent::CheckTypeAndMergeFrom(
15635     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
15636   MergeFrom(*::_pbi::DownCast<const Ext4ExtRemoveSpaceDoneFtraceEvent*>(
15637       &from));
15638 }
15639 
MergeFrom(const Ext4ExtRemoveSpaceDoneFtraceEvent & from)15640 void Ext4ExtRemoveSpaceDoneFtraceEvent::MergeFrom(const Ext4ExtRemoveSpaceDoneFtraceEvent& from) {
15641   Ext4ExtRemoveSpaceDoneFtraceEvent* const _this = this;
15642   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.Ext4ExtRemoveSpaceDoneFtraceEvent)
15643   GOOGLE_DCHECK_NE(&from, _this);
15644   ::uint32_t cached_has_bits = 0;
15645   (void) cached_has_bits;
15646 
15647   cached_has_bits = from._impl_._has_bits_[0];
15648   if (cached_has_bits & 0x000000ffu) {
15649     if (cached_has_bits & 0x00000001u) {
15650       _this->_impl_.dev_ = from._impl_.dev_;
15651     }
15652     if (cached_has_bits & 0x00000002u) {
15653       _this->_impl_.ino_ = from._impl_.ino_;
15654     }
15655     if (cached_has_bits & 0x00000004u) {
15656       _this->_impl_.start_ = from._impl_.start_;
15657     }
15658     if (cached_has_bits & 0x00000008u) {
15659       _this->_impl_.end_ = from._impl_.end_;
15660     }
15661     if (cached_has_bits & 0x00000010u) {
15662       _this->_impl_.partial_ = from._impl_.partial_;
15663     }
15664     if (cached_has_bits & 0x00000020u) {
15665       _this->_impl_.depth_ = from._impl_.depth_;
15666     }
15667     if (cached_has_bits & 0x00000040u) {
15668       _this->_impl_.eh_entries_ = from._impl_.eh_entries_;
15669     }
15670     if (cached_has_bits & 0x00000080u) {
15671       _this->_impl_.pc_pclu_ = from._impl_.pc_pclu_;
15672     }
15673     _this->_impl_._has_bits_[0] |= cached_has_bits;
15674   }
15675   if (cached_has_bits & 0x00000300u) {
15676     if (cached_has_bits & 0x00000100u) {
15677       _this->_impl_.pc_lblk_ = from._impl_.pc_lblk_;
15678     }
15679     if (cached_has_bits & 0x00000200u) {
15680       _this->_impl_.pc_state_ = from._impl_.pc_state_;
15681     }
15682     _this->_impl_._has_bits_[0] |= cached_has_bits;
15683   }
15684   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
15685 }
15686 
CopyFrom(const Ext4ExtRemoveSpaceDoneFtraceEvent & from)15687 void Ext4ExtRemoveSpaceDoneFtraceEvent::CopyFrom(const Ext4ExtRemoveSpaceDoneFtraceEvent& from) {
15688 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.Ext4ExtRemoveSpaceDoneFtraceEvent)
15689   if (&from == this) return;
15690   Clear();
15691   MergeFrom(from);
15692 }
15693 
IsInitialized() const15694 bool Ext4ExtRemoveSpaceDoneFtraceEvent::IsInitialized() const {
15695   return true;
15696 }
15697 
InternalSwap(Ext4ExtRemoveSpaceDoneFtraceEvent * other)15698 void Ext4ExtRemoveSpaceDoneFtraceEvent::InternalSwap(Ext4ExtRemoveSpaceDoneFtraceEvent* other) {
15699   using std::swap;
15700   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
15701   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
15702   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
15703       PROTOBUF_FIELD_OFFSET(Ext4ExtRemoveSpaceDoneFtraceEvent, _impl_.pc_state_)
15704       + sizeof(Ext4ExtRemoveSpaceDoneFtraceEvent::_impl_.pc_state_)  // NOLINT
15705       - PROTOBUF_FIELD_OFFSET(Ext4ExtRemoveSpaceDoneFtraceEvent, _impl_.dev_)>(
15706           reinterpret_cast<char*>(&_impl_.dev_),
15707           reinterpret_cast<char*>(&other->_impl_.dev_));
15708 }
15709 
GetTypeName() const15710 std::string Ext4ExtRemoveSpaceDoneFtraceEvent::GetTypeName() const {
15711   return "perfetto.protos.Ext4ExtRemoveSpaceDoneFtraceEvent";
15712 }
15713 
15714 
15715 // ===================================================================
15716 
15717 class Ext4ExtRmIdxFtraceEvent::_Internal {
15718  public:
15719   using HasBits = decltype(std::declval<Ext4ExtRmIdxFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)15720   static void set_has_dev(HasBits* has_bits) {
15721     (*has_bits)[0] |= 1u;
15722   }
set_has_ino(HasBits * has_bits)15723   static void set_has_ino(HasBits* has_bits) {
15724     (*has_bits)[0] |= 2u;
15725   }
set_has_pblk(HasBits * has_bits)15726   static void set_has_pblk(HasBits* has_bits) {
15727     (*has_bits)[0] |= 4u;
15728   }
15729 };
15730 
Ext4ExtRmIdxFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)15731 Ext4ExtRmIdxFtraceEvent::Ext4ExtRmIdxFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
15732                          bool is_message_owned)
15733   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
15734   SharedCtor(arena, is_message_owned);
15735   // @@protoc_insertion_point(arena_constructor:perfetto.protos.Ext4ExtRmIdxFtraceEvent)
15736 }
Ext4ExtRmIdxFtraceEvent(const Ext4ExtRmIdxFtraceEvent & from)15737 Ext4ExtRmIdxFtraceEvent::Ext4ExtRmIdxFtraceEvent(const Ext4ExtRmIdxFtraceEvent& from)
15738   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
15739   Ext4ExtRmIdxFtraceEvent* const _this = this; (void)_this;
15740   new (&_impl_) Impl_{
15741       decltype(_impl_._has_bits_){from._impl_._has_bits_}
15742     , /*decltype(_impl_._cached_size_)*/{}
15743     , decltype(_impl_.dev_){}
15744     , decltype(_impl_.ino_){}
15745     , decltype(_impl_.pblk_){}};
15746 
15747   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
15748   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
15749     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.pblk_) -
15750     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.pblk_));
15751   // @@protoc_insertion_point(copy_constructor:perfetto.protos.Ext4ExtRmIdxFtraceEvent)
15752 }
15753 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)15754 inline void Ext4ExtRmIdxFtraceEvent::SharedCtor(
15755     ::_pb::Arena* arena, bool is_message_owned) {
15756   (void)arena;
15757   (void)is_message_owned;
15758   new (&_impl_) Impl_{
15759       decltype(_impl_._has_bits_){}
15760     , /*decltype(_impl_._cached_size_)*/{}
15761     , decltype(_impl_.dev_){::uint64_t{0u}}
15762     , decltype(_impl_.ino_){::uint64_t{0u}}
15763     , decltype(_impl_.pblk_){::uint64_t{0u}}
15764   };
15765 }
15766 
~Ext4ExtRmIdxFtraceEvent()15767 Ext4ExtRmIdxFtraceEvent::~Ext4ExtRmIdxFtraceEvent() {
15768   // @@protoc_insertion_point(destructor:perfetto.protos.Ext4ExtRmIdxFtraceEvent)
15769   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
15770   (void)arena;
15771     return;
15772   }
15773   SharedDtor();
15774 }
15775 
SharedDtor()15776 inline void Ext4ExtRmIdxFtraceEvent::SharedDtor() {
15777   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
15778 }
15779 
SetCachedSize(int size) const15780 void Ext4ExtRmIdxFtraceEvent::SetCachedSize(int size) const {
15781   _impl_._cached_size_.Set(size);
15782 }
15783 
Clear()15784 void Ext4ExtRmIdxFtraceEvent::Clear() {
15785 // @@protoc_insertion_point(message_clear_start:perfetto.protos.Ext4ExtRmIdxFtraceEvent)
15786   ::uint32_t cached_has_bits = 0;
15787   // Prevent compiler warnings about cached_has_bits being unused
15788   (void) cached_has_bits;
15789 
15790   cached_has_bits = _impl_._has_bits_[0];
15791   if (cached_has_bits & 0x00000007u) {
15792     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
15793         reinterpret_cast<char*>(&_impl_.pblk_) -
15794         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.pblk_));
15795   }
15796   _impl_._has_bits_.Clear();
15797   _internal_metadata_.Clear<std::string>();
15798 }
15799 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)15800 const char* Ext4ExtRmIdxFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
15801 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
15802   _Internal::HasBits has_bits{};
15803   while (!ctx->Done(&ptr)) {
15804     ::uint32_t tag;
15805     ptr = ::_pbi::ReadTag(ptr, &tag);
15806     switch (tag >> 3) {
15807       // optional uint64 dev = 1;
15808       case 1:
15809         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
15810           _Internal::set_has_dev(&has_bits);
15811           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
15812           CHK_(ptr);
15813         } else {
15814           goto handle_unusual;
15815         }
15816         continue;
15817       // optional uint64 ino = 2;
15818       case 2:
15819         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
15820           _Internal::set_has_ino(&has_bits);
15821           _impl_.ino_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
15822           CHK_(ptr);
15823         } else {
15824           goto handle_unusual;
15825         }
15826         continue;
15827       // optional uint64 pblk = 3;
15828       case 3:
15829         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
15830           _Internal::set_has_pblk(&has_bits);
15831           _impl_.pblk_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
15832           CHK_(ptr);
15833         } else {
15834           goto handle_unusual;
15835         }
15836         continue;
15837       default:
15838         goto handle_unusual;
15839     }  // switch
15840   handle_unusual:
15841     if ((tag == 0) || ((tag & 7) == 4)) {
15842       CHK_(ptr);
15843       ctx->SetLastTag(tag);
15844       goto message_done;
15845     }
15846     ptr = UnknownFieldParse(
15847         tag,
15848         _internal_metadata_.mutable_unknown_fields<std::string>(),
15849         ptr, ctx);
15850     CHK_(ptr != nullptr);
15851   }  // while
15852 message_done:
15853   _impl_._has_bits_.Or(has_bits);
15854   return ptr;
15855 failure:
15856   ptr = nullptr;
15857   goto message_done;
15858 #undef CHK_
15859 }
15860 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const15861 ::uint8_t* Ext4ExtRmIdxFtraceEvent::_InternalSerialize(
15862     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
15863   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.Ext4ExtRmIdxFtraceEvent)
15864   ::uint32_t cached_has_bits = 0;
15865   (void) cached_has_bits;
15866 
15867   cached_has_bits = _impl_._has_bits_[0];
15868   // optional uint64 dev = 1;
15869   if (cached_has_bits & 0x00000001u) {
15870     target = stream->EnsureSpace(target);
15871     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
15872   }
15873 
15874   // optional uint64 ino = 2;
15875   if (cached_has_bits & 0x00000002u) {
15876     target = stream->EnsureSpace(target);
15877     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_ino(), target);
15878   }
15879 
15880   // optional uint64 pblk = 3;
15881   if (cached_has_bits & 0x00000004u) {
15882     target = stream->EnsureSpace(target);
15883     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(3, this->_internal_pblk(), target);
15884   }
15885 
15886   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
15887     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
15888         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
15889   }
15890   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.Ext4ExtRmIdxFtraceEvent)
15891   return target;
15892 }
15893 
ByteSizeLong() const15894 size_t Ext4ExtRmIdxFtraceEvent::ByteSizeLong() const {
15895 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.Ext4ExtRmIdxFtraceEvent)
15896   size_t total_size = 0;
15897 
15898   ::uint32_t cached_has_bits = 0;
15899   // Prevent compiler warnings about cached_has_bits being unused
15900   (void) cached_has_bits;
15901 
15902   cached_has_bits = _impl_._has_bits_[0];
15903   if (cached_has_bits & 0x00000007u) {
15904     // optional uint64 dev = 1;
15905     if (cached_has_bits & 0x00000001u) {
15906       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
15907     }
15908 
15909     // optional uint64 ino = 2;
15910     if (cached_has_bits & 0x00000002u) {
15911       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ino());
15912     }
15913 
15914     // optional uint64 pblk = 3;
15915     if (cached_has_bits & 0x00000004u) {
15916       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_pblk());
15917     }
15918 
15919   }
15920   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
15921     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
15922   }
15923   int cached_size = ::_pbi::ToCachedSize(total_size);
15924   SetCachedSize(cached_size);
15925   return total_size;
15926 }
15927 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)15928 void Ext4ExtRmIdxFtraceEvent::CheckTypeAndMergeFrom(
15929     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
15930   MergeFrom(*::_pbi::DownCast<const Ext4ExtRmIdxFtraceEvent*>(
15931       &from));
15932 }
15933 
MergeFrom(const Ext4ExtRmIdxFtraceEvent & from)15934 void Ext4ExtRmIdxFtraceEvent::MergeFrom(const Ext4ExtRmIdxFtraceEvent& from) {
15935   Ext4ExtRmIdxFtraceEvent* const _this = this;
15936   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.Ext4ExtRmIdxFtraceEvent)
15937   GOOGLE_DCHECK_NE(&from, _this);
15938   ::uint32_t cached_has_bits = 0;
15939   (void) cached_has_bits;
15940 
15941   cached_has_bits = from._impl_._has_bits_[0];
15942   if (cached_has_bits & 0x00000007u) {
15943     if (cached_has_bits & 0x00000001u) {
15944       _this->_impl_.dev_ = from._impl_.dev_;
15945     }
15946     if (cached_has_bits & 0x00000002u) {
15947       _this->_impl_.ino_ = from._impl_.ino_;
15948     }
15949     if (cached_has_bits & 0x00000004u) {
15950       _this->_impl_.pblk_ = from._impl_.pblk_;
15951     }
15952     _this->_impl_._has_bits_[0] |= cached_has_bits;
15953   }
15954   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
15955 }
15956 
CopyFrom(const Ext4ExtRmIdxFtraceEvent & from)15957 void Ext4ExtRmIdxFtraceEvent::CopyFrom(const Ext4ExtRmIdxFtraceEvent& from) {
15958 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.Ext4ExtRmIdxFtraceEvent)
15959   if (&from == this) return;
15960   Clear();
15961   MergeFrom(from);
15962 }
15963 
IsInitialized() const15964 bool Ext4ExtRmIdxFtraceEvent::IsInitialized() const {
15965   return true;
15966 }
15967 
InternalSwap(Ext4ExtRmIdxFtraceEvent * other)15968 void Ext4ExtRmIdxFtraceEvent::InternalSwap(Ext4ExtRmIdxFtraceEvent* other) {
15969   using std::swap;
15970   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
15971   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
15972   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
15973       PROTOBUF_FIELD_OFFSET(Ext4ExtRmIdxFtraceEvent, _impl_.pblk_)
15974       + sizeof(Ext4ExtRmIdxFtraceEvent::_impl_.pblk_)  // NOLINT
15975       - PROTOBUF_FIELD_OFFSET(Ext4ExtRmIdxFtraceEvent, _impl_.dev_)>(
15976           reinterpret_cast<char*>(&_impl_.dev_),
15977           reinterpret_cast<char*>(&other->_impl_.dev_));
15978 }
15979 
GetTypeName() const15980 std::string Ext4ExtRmIdxFtraceEvent::GetTypeName() const {
15981   return "perfetto.protos.Ext4ExtRmIdxFtraceEvent";
15982 }
15983 
15984 
15985 // ===================================================================
15986 
15987 class Ext4ExtRmLeafFtraceEvent::_Internal {
15988  public:
15989   using HasBits = decltype(std::declval<Ext4ExtRmLeafFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)15990   static void set_has_dev(HasBits* has_bits) {
15991     (*has_bits)[0] |= 1u;
15992   }
set_has_ino(HasBits * has_bits)15993   static void set_has_ino(HasBits* has_bits) {
15994     (*has_bits)[0] |= 2u;
15995   }
set_has_partial(HasBits * has_bits)15996   static void set_has_partial(HasBits* has_bits) {
15997     (*has_bits)[0] |= 4u;
15998   }
set_has_start(HasBits * has_bits)15999   static void set_has_start(HasBits* has_bits) {
16000     (*has_bits)[0] |= 8u;
16001   }
set_has_ee_lblk(HasBits * has_bits)16002   static void set_has_ee_lblk(HasBits* has_bits) {
16003     (*has_bits)[0] |= 16u;
16004   }
set_has_ee_pblk(HasBits * has_bits)16005   static void set_has_ee_pblk(HasBits* has_bits) {
16006     (*has_bits)[0] |= 32u;
16007   }
set_has_ee_len(HasBits * has_bits)16008   static void set_has_ee_len(HasBits* has_bits) {
16009     (*has_bits)[0] |= 64u;
16010   }
set_has_pc_lblk(HasBits * has_bits)16011   static void set_has_pc_lblk(HasBits* has_bits) {
16012     (*has_bits)[0] |= 128u;
16013   }
set_has_pc_pclu(HasBits * has_bits)16014   static void set_has_pc_pclu(HasBits* has_bits) {
16015     (*has_bits)[0] |= 256u;
16016   }
set_has_pc_state(HasBits * has_bits)16017   static void set_has_pc_state(HasBits* has_bits) {
16018     (*has_bits)[0] |= 512u;
16019   }
16020 };
16021 
Ext4ExtRmLeafFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)16022 Ext4ExtRmLeafFtraceEvent::Ext4ExtRmLeafFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
16023                          bool is_message_owned)
16024   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
16025   SharedCtor(arena, is_message_owned);
16026   // @@protoc_insertion_point(arena_constructor:perfetto.protos.Ext4ExtRmLeafFtraceEvent)
16027 }
Ext4ExtRmLeafFtraceEvent(const Ext4ExtRmLeafFtraceEvent & from)16028 Ext4ExtRmLeafFtraceEvent::Ext4ExtRmLeafFtraceEvent(const Ext4ExtRmLeafFtraceEvent& from)
16029   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
16030   Ext4ExtRmLeafFtraceEvent* const _this = this; (void)_this;
16031   new (&_impl_) Impl_{
16032       decltype(_impl_._has_bits_){from._impl_._has_bits_}
16033     , /*decltype(_impl_._cached_size_)*/{}
16034     , decltype(_impl_.dev_){}
16035     , decltype(_impl_.ino_){}
16036     , decltype(_impl_.partial_){}
16037     , decltype(_impl_.start_){}
16038     , decltype(_impl_.ee_lblk_){}
16039     , decltype(_impl_.ee_pblk_){}
16040     , decltype(_impl_.ee_len_){}
16041     , decltype(_impl_.pc_lblk_){}
16042     , decltype(_impl_.pc_pclu_){}
16043     , decltype(_impl_.pc_state_){}};
16044 
16045   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
16046   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
16047     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.pc_state_) -
16048     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.pc_state_));
16049   // @@protoc_insertion_point(copy_constructor:perfetto.protos.Ext4ExtRmLeafFtraceEvent)
16050 }
16051 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)16052 inline void Ext4ExtRmLeafFtraceEvent::SharedCtor(
16053     ::_pb::Arena* arena, bool is_message_owned) {
16054   (void)arena;
16055   (void)is_message_owned;
16056   new (&_impl_) Impl_{
16057       decltype(_impl_._has_bits_){}
16058     , /*decltype(_impl_._cached_size_)*/{}
16059     , decltype(_impl_.dev_){::uint64_t{0u}}
16060     , decltype(_impl_.ino_){::uint64_t{0u}}
16061     , decltype(_impl_.partial_){::int64_t{0}}
16062     , decltype(_impl_.start_){0u}
16063     , decltype(_impl_.ee_lblk_){0u}
16064     , decltype(_impl_.ee_pblk_){::uint64_t{0u}}
16065     , decltype(_impl_.ee_len_){0}
16066     , decltype(_impl_.pc_lblk_){0u}
16067     , decltype(_impl_.pc_pclu_){::uint64_t{0u}}
16068     , decltype(_impl_.pc_state_){0}
16069   };
16070 }
16071 
~Ext4ExtRmLeafFtraceEvent()16072 Ext4ExtRmLeafFtraceEvent::~Ext4ExtRmLeafFtraceEvent() {
16073   // @@protoc_insertion_point(destructor:perfetto.protos.Ext4ExtRmLeafFtraceEvent)
16074   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
16075   (void)arena;
16076     return;
16077   }
16078   SharedDtor();
16079 }
16080 
SharedDtor()16081 inline void Ext4ExtRmLeafFtraceEvent::SharedDtor() {
16082   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
16083 }
16084 
SetCachedSize(int size) const16085 void Ext4ExtRmLeafFtraceEvent::SetCachedSize(int size) const {
16086   _impl_._cached_size_.Set(size);
16087 }
16088 
Clear()16089 void Ext4ExtRmLeafFtraceEvent::Clear() {
16090 // @@protoc_insertion_point(message_clear_start:perfetto.protos.Ext4ExtRmLeafFtraceEvent)
16091   ::uint32_t cached_has_bits = 0;
16092   // Prevent compiler warnings about cached_has_bits being unused
16093   (void) cached_has_bits;
16094 
16095   cached_has_bits = _impl_._has_bits_[0];
16096   if (cached_has_bits & 0x000000ffu) {
16097     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
16098         reinterpret_cast<char*>(&_impl_.pc_lblk_) -
16099         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.pc_lblk_));
16100   }
16101   if (cached_has_bits & 0x00000300u) {
16102     ::memset(&_impl_.pc_pclu_, 0, static_cast<size_t>(
16103         reinterpret_cast<char*>(&_impl_.pc_state_) -
16104         reinterpret_cast<char*>(&_impl_.pc_pclu_)) + sizeof(_impl_.pc_state_));
16105   }
16106   _impl_._has_bits_.Clear();
16107   _internal_metadata_.Clear<std::string>();
16108 }
16109 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)16110 const char* Ext4ExtRmLeafFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
16111 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
16112   _Internal::HasBits has_bits{};
16113   while (!ctx->Done(&ptr)) {
16114     ::uint32_t tag;
16115     ptr = ::_pbi::ReadTag(ptr, &tag);
16116     switch (tag >> 3) {
16117       // optional uint64 dev = 1;
16118       case 1:
16119         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
16120           _Internal::set_has_dev(&has_bits);
16121           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
16122           CHK_(ptr);
16123         } else {
16124           goto handle_unusual;
16125         }
16126         continue;
16127       // optional uint64 ino = 2;
16128       case 2:
16129         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
16130           _Internal::set_has_ino(&has_bits);
16131           _impl_.ino_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
16132           CHK_(ptr);
16133         } else {
16134           goto handle_unusual;
16135         }
16136         continue;
16137       // optional int64 partial = 3;
16138       case 3:
16139         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
16140           _Internal::set_has_partial(&has_bits);
16141           _impl_.partial_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
16142           CHK_(ptr);
16143         } else {
16144           goto handle_unusual;
16145         }
16146         continue;
16147       // optional uint32 start = 4;
16148       case 4:
16149         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
16150           _Internal::set_has_start(&has_bits);
16151           _impl_.start_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
16152           CHK_(ptr);
16153         } else {
16154           goto handle_unusual;
16155         }
16156         continue;
16157       // optional uint32 ee_lblk = 5;
16158       case 5:
16159         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) {
16160           _Internal::set_has_ee_lblk(&has_bits);
16161           _impl_.ee_lblk_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
16162           CHK_(ptr);
16163         } else {
16164           goto handle_unusual;
16165         }
16166         continue;
16167       // optional uint64 ee_pblk = 6;
16168       case 6:
16169         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 48)) {
16170           _Internal::set_has_ee_pblk(&has_bits);
16171           _impl_.ee_pblk_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
16172           CHK_(ptr);
16173         } else {
16174           goto handle_unusual;
16175         }
16176         continue;
16177       // optional int32 ee_len = 7;
16178       case 7:
16179         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 56)) {
16180           _Internal::set_has_ee_len(&has_bits);
16181           _impl_.ee_len_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
16182           CHK_(ptr);
16183         } else {
16184           goto handle_unusual;
16185         }
16186         continue;
16187       // optional uint32 pc_lblk = 8;
16188       case 8:
16189         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 64)) {
16190           _Internal::set_has_pc_lblk(&has_bits);
16191           _impl_.pc_lblk_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
16192           CHK_(ptr);
16193         } else {
16194           goto handle_unusual;
16195         }
16196         continue;
16197       // optional uint64 pc_pclu = 9;
16198       case 9:
16199         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 72)) {
16200           _Internal::set_has_pc_pclu(&has_bits);
16201           _impl_.pc_pclu_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
16202           CHK_(ptr);
16203         } else {
16204           goto handle_unusual;
16205         }
16206         continue;
16207       // optional int32 pc_state = 10;
16208       case 10:
16209         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 80)) {
16210           _Internal::set_has_pc_state(&has_bits);
16211           _impl_.pc_state_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
16212           CHK_(ptr);
16213         } else {
16214           goto handle_unusual;
16215         }
16216         continue;
16217       default:
16218         goto handle_unusual;
16219     }  // switch
16220   handle_unusual:
16221     if ((tag == 0) || ((tag & 7) == 4)) {
16222       CHK_(ptr);
16223       ctx->SetLastTag(tag);
16224       goto message_done;
16225     }
16226     ptr = UnknownFieldParse(
16227         tag,
16228         _internal_metadata_.mutable_unknown_fields<std::string>(),
16229         ptr, ctx);
16230     CHK_(ptr != nullptr);
16231   }  // while
16232 message_done:
16233   _impl_._has_bits_.Or(has_bits);
16234   return ptr;
16235 failure:
16236   ptr = nullptr;
16237   goto message_done;
16238 #undef CHK_
16239 }
16240 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const16241 ::uint8_t* Ext4ExtRmLeafFtraceEvent::_InternalSerialize(
16242     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
16243   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.Ext4ExtRmLeafFtraceEvent)
16244   ::uint32_t cached_has_bits = 0;
16245   (void) cached_has_bits;
16246 
16247   cached_has_bits = _impl_._has_bits_[0];
16248   // optional uint64 dev = 1;
16249   if (cached_has_bits & 0x00000001u) {
16250     target = stream->EnsureSpace(target);
16251     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
16252   }
16253 
16254   // optional uint64 ino = 2;
16255   if (cached_has_bits & 0x00000002u) {
16256     target = stream->EnsureSpace(target);
16257     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_ino(), target);
16258   }
16259 
16260   // optional int64 partial = 3;
16261   if (cached_has_bits & 0x00000004u) {
16262     target = stream->EnsureSpace(target);
16263     target = ::_pbi::WireFormatLite::WriteInt64ToArray(3, this->_internal_partial(), target);
16264   }
16265 
16266   // optional uint32 start = 4;
16267   if (cached_has_bits & 0x00000008u) {
16268     target = stream->EnsureSpace(target);
16269     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_start(), target);
16270   }
16271 
16272   // optional uint32 ee_lblk = 5;
16273   if (cached_has_bits & 0x00000010u) {
16274     target = stream->EnsureSpace(target);
16275     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_ee_lblk(), target);
16276   }
16277 
16278   // optional uint64 ee_pblk = 6;
16279   if (cached_has_bits & 0x00000020u) {
16280     target = stream->EnsureSpace(target);
16281     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(6, this->_internal_ee_pblk(), target);
16282   }
16283 
16284   // optional int32 ee_len = 7;
16285   if (cached_has_bits & 0x00000040u) {
16286     target = stream->EnsureSpace(target);
16287     target = ::_pbi::WireFormatLite::WriteInt32ToArray(7, this->_internal_ee_len(), target);
16288   }
16289 
16290   // optional uint32 pc_lblk = 8;
16291   if (cached_has_bits & 0x00000080u) {
16292     target = stream->EnsureSpace(target);
16293     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(8, this->_internal_pc_lblk(), target);
16294   }
16295 
16296   // optional uint64 pc_pclu = 9;
16297   if (cached_has_bits & 0x00000100u) {
16298     target = stream->EnsureSpace(target);
16299     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(9, this->_internal_pc_pclu(), target);
16300   }
16301 
16302   // optional int32 pc_state = 10;
16303   if (cached_has_bits & 0x00000200u) {
16304     target = stream->EnsureSpace(target);
16305     target = ::_pbi::WireFormatLite::WriteInt32ToArray(10, this->_internal_pc_state(), target);
16306   }
16307 
16308   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
16309     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
16310         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
16311   }
16312   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.Ext4ExtRmLeafFtraceEvent)
16313   return target;
16314 }
16315 
ByteSizeLong() const16316 size_t Ext4ExtRmLeafFtraceEvent::ByteSizeLong() const {
16317 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.Ext4ExtRmLeafFtraceEvent)
16318   size_t total_size = 0;
16319 
16320   ::uint32_t cached_has_bits = 0;
16321   // Prevent compiler warnings about cached_has_bits being unused
16322   (void) cached_has_bits;
16323 
16324   cached_has_bits = _impl_._has_bits_[0];
16325   if (cached_has_bits & 0x000000ffu) {
16326     // optional uint64 dev = 1;
16327     if (cached_has_bits & 0x00000001u) {
16328       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
16329     }
16330 
16331     // optional uint64 ino = 2;
16332     if (cached_has_bits & 0x00000002u) {
16333       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ino());
16334     }
16335 
16336     // optional int64 partial = 3;
16337     if (cached_has_bits & 0x00000004u) {
16338       total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_partial());
16339     }
16340 
16341     // optional uint32 start = 4;
16342     if (cached_has_bits & 0x00000008u) {
16343       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_start());
16344     }
16345 
16346     // optional uint32 ee_lblk = 5;
16347     if (cached_has_bits & 0x00000010u) {
16348       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_ee_lblk());
16349     }
16350 
16351     // optional uint64 ee_pblk = 6;
16352     if (cached_has_bits & 0x00000020u) {
16353       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ee_pblk());
16354     }
16355 
16356     // optional int32 ee_len = 7;
16357     if (cached_has_bits & 0x00000040u) {
16358       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_ee_len());
16359     }
16360 
16361     // optional uint32 pc_lblk = 8;
16362     if (cached_has_bits & 0x00000080u) {
16363       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_pc_lblk());
16364     }
16365 
16366   }
16367   if (cached_has_bits & 0x00000300u) {
16368     // optional uint64 pc_pclu = 9;
16369     if (cached_has_bits & 0x00000100u) {
16370       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_pc_pclu());
16371     }
16372 
16373     // optional int32 pc_state = 10;
16374     if (cached_has_bits & 0x00000200u) {
16375       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_pc_state());
16376     }
16377 
16378   }
16379   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
16380     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
16381   }
16382   int cached_size = ::_pbi::ToCachedSize(total_size);
16383   SetCachedSize(cached_size);
16384   return total_size;
16385 }
16386 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)16387 void Ext4ExtRmLeafFtraceEvent::CheckTypeAndMergeFrom(
16388     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
16389   MergeFrom(*::_pbi::DownCast<const Ext4ExtRmLeafFtraceEvent*>(
16390       &from));
16391 }
16392 
MergeFrom(const Ext4ExtRmLeafFtraceEvent & from)16393 void Ext4ExtRmLeafFtraceEvent::MergeFrom(const Ext4ExtRmLeafFtraceEvent& from) {
16394   Ext4ExtRmLeafFtraceEvent* const _this = this;
16395   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.Ext4ExtRmLeafFtraceEvent)
16396   GOOGLE_DCHECK_NE(&from, _this);
16397   ::uint32_t cached_has_bits = 0;
16398   (void) cached_has_bits;
16399 
16400   cached_has_bits = from._impl_._has_bits_[0];
16401   if (cached_has_bits & 0x000000ffu) {
16402     if (cached_has_bits & 0x00000001u) {
16403       _this->_impl_.dev_ = from._impl_.dev_;
16404     }
16405     if (cached_has_bits & 0x00000002u) {
16406       _this->_impl_.ino_ = from._impl_.ino_;
16407     }
16408     if (cached_has_bits & 0x00000004u) {
16409       _this->_impl_.partial_ = from._impl_.partial_;
16410     }
16411     if (cached_has_bits & 0x00000008u) {
16412       _this->_impl_.start_ = from._impl_.start_;
16413     }
16414     if (cached_has_bits & 0x00000010u) {
16415       _this->_impl_.ee_lblk_ = from._impl_.ee_lblk_;
16416     }
16417     if (cached_has_bits & 0x00000020u) {
16418       _this->_impl_.ee_pblk_ = from._impl_.ee_pblk_;
16419     }
16420     if (cached_has_bits & 0x00000040u) {
16421       _this->_impl_.ee_len_ = from._impl_.ee_len_;
16422     }
16423     if (cached_has_bits & 0x00000080u) {
16424       _this->_impl_.pc_lblk_ = from._impl_.pc_lblk_;
16425     }
16426     _this->_impl_._has_bits_[0] |= cached_has_bits;
16427   }
16428   if (cached_has_bits & 0x00000300u) {
16429     if (cached_has_bits & 0x00000100u) {
16430       _this->_impl_.pc_pclu_ = from._impl_.pc_pclu_;
16431     }
16432     if (cached_has_bits & 0x00000200u) {
16433       _this->_impl_.pc_state_ = from._impl_.pc_state_;
16434     }
16435     _this->_impl_._has_bits_[0] |= cached_has_bits;
16436   }
16437   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
16438 }
16439 
CopyFrom(const Ext4ExtRmLeafFtraceEvent & from)16440 void Ext4ExtRmLeafFtraceEvent::CopyFrom(const Ext4ExtRmLeafFtraceEvent& from) {
16441 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.Ext4ExtRmLeafFtraceEvent)
16442   if (&from == this) return;
16443   Clear();
16444   MergeFrom(from);
16445 }
16446 
IsInitialized() const16447 bool Ext4ExtRmLeafFtraceEvent::IsInitialized() const {
16448   return true;
16449 }
16450 
InternalSwap(Ext4ExtRmLeafFtraceEvent * other)16451 void Ext4ExtRmLeafFtraceEvent::InternalSwap(Ext4ExtRmLeafFtraceEvent* other) {
16452   using std::swap;
16453   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
16454   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
16455   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
16456       PROTOBUF_FIELD_OFFSET(Ext4ExtRmLeafFtraceEvent, _impl_.pc_state_)
16457       + sizeof(Ext4ExtRmLeafFtraceEvent::_impl_.pc_state_)  // NOLINT
16458       - PROTOBUF_FIELD_OFFSET(Ext4ExtRmLeafFtraceEvent, _impl_.dev_)>(
16459           reinterpret_cast<char*>(&_impl_.dev_),
16460           reinterpret_cast<char*>(&other->_impl_.dev_));
16461 }
16462 
GetTypeName() const16463 std::string Ext4ExtRmLeafFtraceEvent::GetTypeName() const {
16464   return "perfetto.protos.Ext4ExtRmLeafFtraceEvent";
16465 }
16466 
16467 
16468 // ===================================================================
16469 
16470 class Ext4ExtShowExtentFtraceEvent::_Internal {
16471  public:
16472   using HasBits = decltype(std::declval<Ext4ExtShowExtentFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)16473   static void set_has_dev(HasBits* has_bits) {
16474     (*has_bits)[0] |= 1u;
16475   }
set_has_ino(HasBits * has_bits)16476   static void set_has_ino(HasBits* has_bits) {
16477     (*has_bits)[0] |= 2u;
16478   }
set_has_pblk(HasBits * has_bits)16479   static void set_has_pblk(HasBits* has_bits) {
16480     (*has_bits)[0] |= 4u;
16481   }
set_has_lblk(HasBits * has_bits)16482   static void set_has_lblk(HasBits* has_bits) {
16483     (*has_bits)[0] |= 8u;
16484   }
set_has_len(HasBits * has_bits)16485   static void set_has_len(HasBits* has_bits) {
16486     (*has_bits)[0] |= 16u;
16487   }
16488 };
16489 
Ext4ExtShowExtentFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)16490 Ext4ExtShowExtentFtraceEvent::Ext4ExtShowExtentFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
16491                          bool is_message_owned)
16492   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
16493   SharedCtor(arena, is_message_owned);
16494   // @@protoc_insertion_point(arena_constructor:perfetto.protos.Ext4ExtShowExtentFtraceEvent)
16495 }
Ext4ExtShowExtentFtraceEvent(const Ext4ExtShowExtentFtraceEvent & from)16496 Ext4ExtShowExtentFtraceEvent::Ext4ExtShowExtentFtraceEvent(const Ext4ExtShowExtentFtraceEvent& from)
16497   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
16498   Ext4ExtShowExtentFtraceEvent* const _this = this; (void)_this;
16499   new (&_impl_) Impl_{
16500       decltype(_impl_._has_bits_){from._impl_._has_bits_}
16501     , /*decltype(_impl_._cached_size_)*/{}
16502     , decltype(_impl_.dev_){}
16503     , decltype(_impl_.ino_){}
16504     , decltype(_impl_.pblk_){}
16505     , decltype(_impl_.lblk_){}
16506     , decltype(_impl_.len_){}};
16507 
16508   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
16509   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
16510     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.len_) -
16511     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.len_));
16512   // @@protoc_insertion_point(copy_constructor:perfetto.protos.Ext4ExtShowExtentFtraceEvent)
16513 }
16514 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)16515 inline void Ext4ExtShowExtentFtraceEvent::SharedCtor(
16516     ::_pb::Arena* arena, bool is_message_owned) {
16517   (void)arena;
16518   (void)is_message_owned;
16519   new (&_impl_) Impl_{
16520       decltype(_impl_._has_bits_){}
16521     , /*decltype(_impl_._cached_size_)*/{}
16522     , decltype(_impl_.dev_){::uint64_t{0u}}
16523     , decltype(_impl_.ino_){::uint64_t{0u}}
16524     , decltype(_impl_.pblk_){::uint64_t{0u}}
16525     , decltype(_impl_.lblk_){0u}
16526     , decltype(_impl_.len_){0u}
16527   };
16528 }
16529 
~Ext4ExtShowExtentFtraceEvent()16530 Ext4ExtShowExtentFtraceEvent::~Ext4ExtShowExtentFtraceEvent() {
16531   // @@protoc_insertion_point(destructor:perfetto.protos.Ext4ExtShowExtentFtraceEvent)
16532   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
16533   (void)arena;
16534     return;
16535   }
16536   SharedDtor();
16537 }
16538 
SharedDtor()16539 inline void Ext4ExtShowExtentFtraceEvent::SharedDtor() {
16540   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
16541 }
16542 
SetCachedSize(int size) const16543 void Ext4ExtShowExtentFtraceEvent::SetCachedSize(int size) const {
16544   _impl_._cached_size_.Set(size);
16545 }
16546 
Clear()16547 void Ext4ExtShowExtentFtraceEvent::Clear() {
16548 // @@protoc_insertion_point(message_clear_start:perfetto.protos.Ext4ExtShowExtentFtraceEvent)
16549   ::uint32_t cached_has_bits = 0;
16550   // Prevent compiler warnings about cached_has_bits being unused
16551   (void) cached_has_bits;
16552 
16553   cached_has_bits = _impl_._has_bits_[0];
16554   if (cached_has_bits & 0x0000001fu) {
16555     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
16556         reinterpret_cast<char*>(&_impl_.len_) -
16557         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.len_));
16558   }
16559   _impl_._has_bits_.Clear();
16560   _internal_metadata_.Clear<std::string>();
16561 }
16562 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)16563 const char* Ext4ExtShowExtentFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
16564 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
16565   _Internal::HasBits has_bits{};
16566   while (!ctx->Done(&ptr)) {
16567     ::uint32_t tag;
16568     ptr = ::_pbi::ReadTag(ptr, &tag);
16569     switch (tag >> 3) {
16570       // optional uint64 dev = 1;
16571       case 1:
16572         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
16573           _Internal::set_has_dev(&has_bits);
16574           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
16575           CHK_(ptr);
16576         } else {
16577           goto handle_unusual;
16578         }
16579         continue;
16580       // optional uint64 ino = 2;
16581       case 2:
16582         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
16583           _Internal::set_has_ino(&has_bits);
16584           _impl_.ino_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
16585           CHK_(ptr);
16586         } else {
16587           goto handle_unusual;
16588         }
16589         continue;
16590       // optional uint64 pblk = 3;
16591       case 3:
16592         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
16593           _Internal::set_has_pblk(&has_bits);
16594           _impl_.pblk_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
16595           CHK_(ptr);
16596         } else {
16597           goto handle_unusual;
16598         }
16599         continue;
16600       // optional uint32 lblk = 4;
16601       case 4:
16602         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
16603           _Internal::set_has_lblk(&has_bits);
16604           _impl_.lblk_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
16605           CHK_(ptr);
16606         } else {
16607           goto handle_unusual;
16608         }
16609         continue;
16610       // optional uint32 len = 5;
16611       case 5:
16612         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) {
16613           _Internal::set_has_len(&has_bits);
16614           _impl_.len_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
16615           CHK_(ptr);
16616         } else {
16617           goto handle_unusual;
16618         }
16619         continue;
16620       default:
16621         goto handle_unusual;
16622     }  // switch
16623   handle_unusual:
16624     if ((tag == 0) || ((tag & 7) == 4)) {
16625       CHK_(ptr);
16626       ctx->SetLastTag(tag);
16627       goto message_done;
16628     }
16629     ptr = UnknownFieldParse(
16630         tag,
16631         _internal_metadata_.mutable_unknown_fields<std::string>(),
16632         ptr, ctx);
16633     CHK_(ptr != nullptr);
16634   }  // while
16635 message_done:
16636   _impl_._has_bits_.Or(has_bits);
16637   return ptr;
16638 failure:
16639   ptr = nullptr;
16640   goto message_done;
16641 #undef CHK_
16642 }
16643 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const16644 ::uint8_t* Ext4ExtShowExtentFtraceEvent::_InternalSerialize(
16645     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
16646   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.Ext4ExtShowExtentFtraceEvent)
16647   ::uint32_t cached_has_bits = 0;
16648   (void) cached_has_bits;
16649 
16650   cached_has_bits = _impl_._has_bits_[0];
16651   // optional uint64 dev = 1;
16652   if (cached_has_bits & 0x00000001u) {
16653     target = stream->EnsureSpace(target);
16654     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
16655   }
16656 
16657   // optional uint64 ino = 2;
16658   if (cached_has_bits & 0x00000002u) {
16659     target = stream->EnsureSpace(target);
16660     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_ino(), target);
16661   }
16662 
16663   // optional uint64 pblk = 3;
16664   if (cached_has_bits & 0x00000004u) {
16665     target = stream->EnsureSpace(target);
16666     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(3, this->_internal_pblk(), target);
16667   }
16668 
16669   // optional uint32 lblk = 4;
16670   if (cached_has_bits & 0x00000008u) {
16671     target = stream->EnsureSpace(target);
16672     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_lblk(), target);
16673   }
16674 
16675   // optional uint32 len = 5;
16676   if (cached_has_bits & 0x00000010u) {
16677     target = stream->EnsureSpace(target);
16678     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_len(), target);
16679   }
16680 
16681   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
16682     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
16683         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
16684   }
16685   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.Ext4ExtShowExtentFtraceEvent)
16686   return target;
16687 }
16688 
ByteSizeLong() const16689 size_t Ext4ExtShowExtentFtraceEvent::ByteSizeLong() const {
16690 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.Ext4ExtShowExtentFtraceEvent)
16691   size_t total_size = 0;
16692 
16693   ::uint32_t cached_has_bits = 0;
16694   // Prevent compiler warnings about cached_has_bits being unused
16695   (void) cached_has_bits;
16696 
16697   cached_has_bits = _impl_._has_bits_[0];
16698   if (cached_has_bits & 0x0000001fu) {
16699     // optional uint64 dev = 1;
16700     if (cached_has_bits & 0x00000001u) {
16701       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
16702     }
16703 
16704     // optional uint64 ino = 2;
16705     if (cached_has_bits & 0x00000002u) {
16706       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ino());
16707     }
16708 
16709     // optional uint64 pblk = 3;
16710     if (cached_has_bits & 0x00000004u) {
16711       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_pblk());
16712     }
16713 
16714     // optional uint32 lblk = 4;
16715     if (cached_has_bits & 0x00000008u) {
16716       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_lblk());
16717     }
16718 
16719     // optional uint32 len = 5;
16720     if (cached_has_bits & 0x00000010u) {
16721       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_len());
16722     }
16723 
16724   }
16725   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
16726     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
16727   }
16728   int cached_size = ::_pbi::ToCachedSize(total_size);
16729   SetCachedSize(cached_size);
16730   return total_size;
16731 }
16732 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)16733 void Ext4ExtShowExtentFtraceEvent::CheckTypeAndMergeFrom(
16734     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
16735   MergeFrom(*::_pbi::DownCast<const Ext4ExtShowExtentFtraceEvent*>(
16736       &from));
16737 }
16738 
MergeFrom(const Ext4ExtShowExtentFtraceEvent & from)16739 void Ext4ExtShowExtentFtraceEvent::MergeFrom(const Ext4ExtShowExtentFtraceEvent& from) {
16740   Ext4ExtShowExtentFtraceEvent* const _this = this;
16741   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.Ext4ExtShowExtentFtraceEvent)
16742   GOOGLE_DCHECK_NE(&from, _this);
16743   ::uint32_t cached_has_bits = 0;
16744   (void) cached_has_bits;
16745 
16746   cached_has_bits = from._impl_._has_bits_[0];
16747   if (cached_has_bits & 0x0000001fu) {
16748     if (cached_has_bits & 0x00000001u) {
16749       _this->_impl_.dev_ = from._impl_.dev_;
16750     }
16751     if (cached_has_bits & 0x00000002u) {
16752       _this->_impl_.ino_ = from._impl_.ino_;
16753     }
16754     if (cached_has_bits & 0x00000004u) {
16755       _this->_impl_.pblk_ = from._impl_.pblk_;
16756     }
16757     if (cached_has_bits & 0x00000008u) {
16758       _this->_impl_.lblk_ = from._impl_.lblk_;
16759     }
16760     if (cached_has_bits & 0x00000010u) {
16761       _this->_impl_.len_ = from._impl_.len_;
16762     }
16763     _this->_impl_._has_bits_[0] |= cached_has_bits;
16764   }
16765   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
16766 }
16767 
CopyFrom(const Ext4ExtShowExtentFtraceEvent & from)16768 void Ext4ExtShowExtentFtraceEvent::CopyFrom(const Ext4ExtShowExtentFtraceEvent& from) {
16769 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.Ext4ExtShowExtentFtraceEvent)
16770   if (&from == this) return;
16771   Clear();
16772   MergeFrom(from);
16773 }
16774 
IsInitialized() const16775 bool Ext4ExtShowExtentFtraceEvent::IsInitialized() const {
16776   return true;
16777 }
16778 
InternalSwap(Ext4ExtShowExtentFtraceEvent * other)16779 void Ext4ExtShowExtentFtraceEvent::InternalSwap(Ext4ExtShowExtentFtraceEvent* other) {
16780   using std::swap;
16781   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
16782   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
16783   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
16784       PROTOBUF_FIELD_OFFSET(Ext4ExtShowExtentFtraceEvent, _impl_.len_)
16785       + sizeof(Ext4ExtShowExtentFtraceEvent::_impl_.len_)  // NOLINT
16786       - PROTOBUF_FIELD_OFFSET(Ext4ExtShowExtentFtraceEvent, _impl_.dev_)>(
16787           reinterpret_cast<char*>(&_impl_.dev_),
16788           reinterpret_cast<char*>(&other->_impl_.dev_));
16789 }
16790 
GetTypeName() const16791 std::string Ext4ExtShowExtentFtraceEvent::GetTypeName() const {
16792   return "perfetto.protos.Ext4ExtShowExtentFtraceEvent";
16793 }
16794 
16795 
16796 // ===================================================================
16797 
16798 class Ext4FallocateEnterFtraceEvent::_Internal {
16799  public:
16800   using HasBits = decltype(std::declval<Ext4FallocateEnterFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)16801   static void set_has_dev(HasBits* has_bits) {
16802     (*has_bits)[0] |= 1u;
16803   }
set_has_ino(HasBits * has_bits)16804   static void set_has_ino(HasBits* has_bits) {
16805     (*has_bits)[0] |= 2u;
16806   }
set_has_offset(HasBits * has_bits)16807   static void set_has_offset(HasBits* has_bits) {
16808     (*has_bits)[0] |= 4u;
16809   }
set_has_len(HasBits * has_bits)16810   static void set_has_len(HasBits* has_bits) {
16811     (*has_bits)[0] |= 8u;
16812   }
set_has_mode(HasBits * has_bits)16813   static void set_has_mode(HasBits* has_bits) {
16814     (*has_bits)[0] |= 32u;
16815   }
set_has_pos(HasBits * has_bits)16816   static void set_has_pos(HasBits* has_bits) {
16817     (*has_bits)[0] |= 16u;
16818   }
16819 };
16820 
Ext4FallocateEnterFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)16821 Ext4FallocateEnterFtraceEvent::Ext4FallocateEnterFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
16822                          bool is_message_owned)
16823   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
16824   SharedCtor(arena, is_message_owned);
16825   // @@protoc_insertion_point(arena_constructor:perfetto.protos.Ext4FallocateEnterFtraceEvent)
16826 }
Ext4FallocateEnterFtraceEvent(const Ext4FallocateEnterFtraceEvent & from)16827 Ext4FallocateEnterFtraceEvent::Ext4FallocateEnterFtraceEvent(const Ext4FallocateEnterFtraceEvent& from)
16828   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
16829   Ext4FallocateEnterFtraceEvent* const _this = this; (void)_this;
16830   new (&_impl_) Impl_{
16831       decltype(_impl_._has_bits_){from._impl_._has_bits_}
16832     , /*decltype(_impl_._cached_size_)*/{}
16833     , decltype(_impl_.dev_){}
16834     , decltype(_impl_.ino_){}
16835     , decltype(_impl_.offset_){}
16836     , decltype(_impl_.len_){}
16837     , decltype(_impl_.pos_){}
16838     , decltype(_impl_.mode_){}};
16839 
16840   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
16841   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
16842     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.mode_) -
16843     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.mode_));
16844   // @@protoc_insertion_point(copy_constructor:perfetto.protos.Ext4FallocateEnterFtraceEvent)
16845 }
16846 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)16847 inline void Ext4FallocateEnterFtraceEvent::SharedCtor(
16848     ::_pb::Arena* arena, bool is_message_owned) {
16849   (void)arena;
16850   (void)is_message_owned;
16851   new (&_impl_) Impl_{
16852       decltype(_impl_._has_bits_){}
16853     , /*decltype(_impl_._cached_size_)*/{}
16854     , decltype(_impl_.dev_){::uint64_t{0u}}
16855     , decltype(_impl_.ino_){::uint64_t{0u}}
16856     , decltype(_impl_.offset_){::int64_t{0}}
16857     , decltype(_impl_.len_){::int64_t{0}}
16858     , decltype(_impl_.pos_){::int64_t{0}}
16859     , decltype(_impl_.mode_){0}
16860   };
16861 }
16862 
~Ext4FallocateEnterFtraceEvent()16863 Ext4FallocateEnterFtraceEvent::~Ext4FallocateEnterFtraceEvent() {
16864   // @@protoc_insertion_point(destructor:perfetto.protos.Ext4FallocateEnterFtraceEvent)
16865   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
16866   (void)arena;
16867     return;
16868   }
16869   SharedDtor();
16870 }
16871 
SharedDtor()16872 inline void Ext4FallocateEnterFtraceEvent::SharedDtor() {
16873   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
16874 }
16875 
SetCachedSize(int size) const16876 void Ext4FallocateEnterFtraceEvent::SetCachedSize(int size) const {
16877   _impl_._cached_size_.Set(size);
16878 }
16879 
Clear()16880 void Ext4FallocateEnterFtraceEvent::Clear() {
16881 // @@protoc_insertion_point(message_clear_start:perfetto.protos.Ext4FallocateEnterFtraceEvent)
16882   ::uint32_t cached_has_bits = 0;
16883   // Prevent compiler warnings about cached_has_bits being unused
16884   (void) cached_has_bits;
16885 
16886   cached_has_bits = _impl_._has_bits_[0];
16887   if (cached_has_bits & 0x0000003fu) {
16888     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
16889         reinterpret_cast<char*>(&_impl_.mode_) -
16890         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.mode_));
16891   }
16892   _impl_._has_bits_.Clear();
16893   _internal_metadata_.Clear<std::string>();
16894 }
16895 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)16896 const char* Ext4FallocateEnterFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
16897 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
16898   _Internal::HasBits has_bits{};
16899   while (!ctx->Done(&ptr)) {
16900     ::uint32_t tag;
16901     ptr = ::_pbi::ReadTag(ptr, &tag);
16902     switch (tag >> 3) {
16903       // optional uint64 dev = 1;
16904       case 1:
16905         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
16906           _Internal::set_has_dev(&has_bits);
16907           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
16908           CHK_(ptr);
16909         } else {
16910           goto handle_unusual;
16911         }
16912         continue;
16913       // optional uint64 ino = 2;
16914       case 2:
16915         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
16916           _Internal::set_has_ino(&has_bits);
16917           _impl_.ino_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
16918           CHK_(ptr);
16919         } else {
16920           goto handle_unusual;
16921         }
16922         continue;
16923       // optional int64 offset = 3;
16924       case 3:
16925         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
16926           _Internal::set_has_offset(&has_bits);
16927           _impl_.offset_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
16928           CHK_(ptr);
16929         } else {
16930           goto handle_unusual;
16931         }
16932         continue;
16933       // optional int64 len = 4;
16934       case 4:
16935         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
16936           _Internal::set_has_len(&has_bits);
16937           _impl_.len_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
16938           CHK_(ptr);
16939         } else {
16940           goto handle_unusual;
16941         }
16942         continue;
16943       // optional int32 mode = 5;
16944       case 5:
16945         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) {
16946           _Internal::set_has_mode(&has_bits);
16947           _impl_.mode_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
16948           CHK_(ptr);
16949         } else {
16950           goto handle_unusual;
16951         }
16952         continue;
16953       // optional int64 pos = 6;
16954       case 6:
16955         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 48)) {
16956           _Internal::set_has_pos(&has_bits);
16957           _impl_.pos_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
16958           CHK_(ptr);
16959         } else {
16960           goto handle_unusual;
16961         }
16962         continue;
16963       default:
16964         goto handle_unusual;
16965     }  // switch
16966   handle_unusual:
16967     if ((tag == 0) || ((tag & 7) == 4)) {
16968       CHK_(ptr);
16969       ctx->SetLastTag(tag);
16970       goto message_done;
16971     }
16972     ptr = UnknownFieldParse(
16973         tag,
16974         _internal_metadata_.mutable_unknown_fields<std::string>(),
16975         ptr, ctx);
16976     CHK_(ptr != nullptr);
16977   }  // while
16978 message_done:
16979   _impl_._has_bits_.Or(has_bits);
16980   return ptr;
16981 failure:
16982   ptr = nullptr;
16983   goto message_done;
16984 #undef CHK_
16985 }
16986 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const16987 ::uint8_t* Ext4FallocateEnterFtraceEvent::_InternalSerialize(
16988     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
16989   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.Ext4FallocateEnterFtraceEvent)
16990   ::uint32_t cached_has_bits = 0;
16991   (void) cached_has_bits;
16992 
16993   cached_has_bits = _impl_._has_bits_[0];
16994   // optional uint64 dev = 1;
16995   if (cached_has_bits & 0x00000001u) {
16996     target = stream->EnsureSpace(target);
16997     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
16998   }
16999 
17000   // optional uint64 ino = 2;
17001   if (cached_has_bits & 0x00000002u) {
17002     target = stream->EnsureSpace(target);
17003     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_ino(), target);
17004   }
17005 
17006   // optional int64 offset = 3;
17007   if (cached_has_bits & 0x00000004u) {
17008     target = stream->EnsureSpace(target);
17009     target = ::_pbi::WireFormatLite::WriteInt64ToArray(3, this->_internal_offset(), target);
17010   }
17011 
17012   // optional int64 len = 4;
17013   if (cached_has_bits & 0x00000008u) {
17014     target = stream->EnsureSpace(target);
17015     target = ::_pbi::WireFormatLite::WriteInt64ToArray(4, this->_internal_len(), target);
17016   }
17017 
17018   // optional int32 mode = 5;
17019   if (cached_has_bits & 0x00000020u) {
17020     target = stream->EnsureSpace(target);
17021     target = ::_pbi::WireFormatLite::WriteInt32ToArray(5, this->_internal_mode(), target);
17022   }
17023 
17024   // optional int64 pos = 6;
17025   if (cached_has_bits & 0x00000010u) {
17026     target = stream->EnsureSpace(target);
17027     target = ::_pbi::WireFormatLite::WriteInt64ToArray(6, this->_internal_pos(), target);
17028   }
17029 
17030   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
17031     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
17032         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
17033   }
17034   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.Ext4FallocateEnterFtraceEvent)
17035   return target;
17036 }
17037 
ByteSizeLong() const17038 size_t Ext4FallocateEnterFtraceEvent::ByteSizeLong() const {
17039 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.Ext4FallocateEnterFtraceEvent)
17040   size_t total_size = 0;
17041 
17042   ::uint32_t cached_has_bits = 0;
17043   // Prevent compiler warnings about cached_has_bits being unused
17044   (void) cached_has_bits;
17045 
17046   cached_has_bits = _impl_._has_bits_[0];
17047   if (cached_has_bits & 0x0000003fu) {
17048     // optional uint64 dev = 1;
17049     if (cached_has_bits & 0x00000001u) {
17050       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
17051     }
17052 
17053     // optional uint64 ino = 2;
17054     if (cached_has_bits & 0x00000002u) {
17055       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ino());
17056     }
17057 
17058     // optional int64 offset = 3;
17059     if (cached_has_bits & 0x00000004u) {
17060       total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_offset());
17061     }
17062 
17063     // optional int64 len = 4;
17064     if (cached_has_bits & 0x00000008u) {
17065       total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_len());
17066     }
17067 
17068     // optional int64 pos = 6;
17069     if (cached_has_bits & 0x00000010u) {
17070       total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_pos());
17071     }
17072 
17073     // optional int32 mode = 5;
17074     if (cached_has_bits & 0x00000020u) {
17075       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_mode());
17076     }
17077 
17078   }
17079   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
17080     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
17081   }
17082   int cached_size = ::_pbi::ToCachedSize(total_size);
17083   SetCachedSize(cached_size);
17084   return total_size;
17085 }
17086 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)17087 void Ext4FallocateEnterFtraceEvent::CheckTypeAndMergeFrom(
17088     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
17089   MergeFrom(*::_pbi::DownCast<const Ext4FallocateEnterFtraceEvent*>(
17090       &from));
17091 }
17092 
MergeFrom(const Ext4FallocateEnterFtraceEvent & from)17093 void Ext4FallocateEnterFtraceEvent::MergeFrom(const Ext4FallocateEnterFtraceEvent& from) {
17094   Ext4FallocateEnterFtraceEvent* const _this = this;
17095   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.Ext4FallocateEnterFtraceEvent)
17096   GOOGLE_DCHECK_NE(&from, _this);
17097   ::uint32_t cached_has_bits = 0;
17098   (void) cached_has_bits;
17099 
17100   cached_has_bits = from._impl_._has_bits_[0];
17101   if (cached_has_bits & 0x0000003fu) {
17102     if (cached_has_bits & 0x00000001u) {
17103       _this->_impl_.dev_ = from._impl_.dev_;
17104     }
17105     if (cached_has_bits & 0x00000002u) {
17106       _this->_impl_.ino_ = from._impl_.ino_;
17107     }
17108     if (cached_has_bits & 0x00000004u) {
17109       _this->_impl_.offset_ = from._impl_.offset_;
17110     }
17111     if (cached_has_bits & 0x00000008u) {
17112       _this->_impl_.len_ = from._impl_.len_;
17113     }
17114     if (cached_has_bits & 0x00000010u) {
17115       _this->_impl_.pos_ = from._impl_.pos_;
17116     }
17117     if (cached_has_bits & 0x00000020u) {
17118       _this->_impl_.mode_ = from._impl_.mode_;
17119     }
17120     _this->_impl_._has_bits_[0] |= cached_has_bits;
17121   }
17122   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
17123 }
17124 
CopyFrom(const Ext4FallocateEnterFtraceEvent & from)17125 void Ext4FallocateEnterFtraceEvent::CopyFrom(const Ext4FallocateEnterFtraceEvent& from) {
17126 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.Ext4FallocateEnterFtraceEvent)
17127   if (&from == this) return;
17128   Clear();
17129   MergeFrom(from);
17130 }
17131 
IsInitialized() const17132 bool Ext4FallocateEnterFtraceEvent::IsInitialized() const {
17133   return true;
17134 }
17135 
InternalSwap(Ext4FallocateEnterFtraceEvent * other)17136 void Ext4FallocateEnterFtraceEvent::InternalSwap(Ext4FallocateEnterFtraceEvent* other) {
17137   using std::swap;
17138   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
17139   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
17140   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
17141       PROTOBUF_FIELD_OFFSET(Ext4FallocateEnterFtraceEvent, _impl_.mode_)
17142       + sizeof(Ext4FallocateEnterFtraceEvent::_impl_.mode_)  // NOLINT
17143       - PROTOBUF_FIELD_OFFSET(Ext4FallocateEnterFtraceEvent, _impl_.dev_)>(
17144           reinterpret_cast<char*>(&_impl_.dev_),
17145           reinterpret_cast<char*>(&other->_impl_.dev_));
17146 }
17147 
GetTypeName() const17148 std::string Ext4FallocateEnterFtraceEvent::GetTypeName() const {
17149   return "perfetto.protos.Ext4FallocateEnterFtraceEvent";
17150 }
17151 
17152 
17153 // ===================================================================
17154 
17155 class Ext4FallocateExitFtraceEvent::_Internal {
17156  public:
17157   using HasBits = decltype(std::declval<Ext4FallocateExitFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)17158   static void set_has_dev(HasBits* has_bits) {
17159     (*has_bits)[0] |= 1u;
17160   }
set_has_ino(HasBits * has_bits)17161   static void set_has_ino(HasBits* has_bits) {
17162     (*has_bits)[0] |= 2u;
17163   }
set_has_pos(HasBits * has_bits)17164   static void set_has_pos(HasBits* has_bits) {
17165     (*has_bits)[0] |= 4u;
17166   }
set_has_blocks(HasBits * has_bits)17167   static void set_has_blocks(HasBits* has_bits) {
17168     (*has_bits)[0] |= 8u;
17169   }
set_has_ret(HasBits * has_bits)17170   static void set_has_ret(HasBits* has_bits) {
17171     (*has_bits)[0] |= 16u;
17172   }
17173 };
17174 
Ext4FallocateExitFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)17175 Ext4FallocateExitFtraceEvent::Ext4FallocateExitFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
17176                          bool is_message_owned)
17177   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
17178   SharedCtor(arena, is_message_owned);
17179   // @@protoc_insertion_point(arena_constructor:perfetto.protos.Ext4FallocateExitFtraceEvent)
17180 }
Ext4FallocateExitFtraceEvent(const Ext4FallocateExitFtraceEvent & from)17181 Ext4FallocateExitFtraceEvent::Ext4FallocateExitFtraceEvent(const Ext4FallocateExitFtraceEvent& from)
17182   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
17183   Ext4FallocateExitFtraceEvent* const _this = this; (void)_this;
17184   new (&_impl_) Impl_{
17185       decltype(_impl_._has_bits_){from._impl_._has_bits_}
17186     , /*decltype(_impl_._cached_size_)*/{}
17187     , decltype(_impl_.dev_){}
17188     , decltype(_impl_.ino_){}
17189     , decltype(_impl_.pos_){}
17190     , decltype(_impl_.blocks_){}
17191     , decltype(_impl_.ret_){}};
17192 
17193   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
17194   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
17195     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.ret_) -
17196     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.ret_));
17197   // @@protoc_insertion_point(copy_constructor:perfetto.protos.Ext4FallocateExitFtraceEvent)
17198 }
17199 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)17200 inline void Ext4FallocateExitFtraceEvent::SharedCtor(
17201     ::_pb::Arena* arena, bool is_message_owned) {
17202   (void)arena;
17203   (void)is_message_owned;
17204   new (&_impl_) Impl_{
17205       decltype(_impl_._has_bits_){}
17206     , /*decltype(_impl_._cached_size_)*/{}
17207     , decltype(_impl_.dev_){::uint64_t{0u}}
17208     , decltype(_impl_.ino_){::uint64_t{0u}}
17209     , decltype(_impl_.pos_){::int64_t{0}}
17210     , decltype(_impl_.blocks_){0u}
17211     , decltype(_impl_.ret_){0}
17212   };
17213 }
17214 
~Ext4FallocateExitFtraceEvent()17215 Ext4FallocateExitFtraceEvent::~Ext4FallocateExitFtraceEvent() {
17216   // @@protoc_insertion_point(destructor:perfetto.protos.Ext4FallocateExitFtraceEvent)
17217   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
17218   (void)arena;
17219     return;
17220   }
17221   SharedDtor();
17222 }
17223 
SharedDtor()17224 inline void Ext4FallocateExitFtraceEvent::SharedDtor() {
17225   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
17226 }
17227 
SetCachedSize(int size) const17228 void Ext4FallocateExitFtraceEvent::SetCachedSize(int size) const {
17229   _impl_._cached_size_.Set(size);
17230 }
17231 
Clear()17232 void Ext4FallocateExitFtraceEvent::Clear() {
17233 // @@protoc_insertion_point(message_clear_start:perfetto.protos.Ext4FallocateExitFtraceEvent)
17234   ::uint32_t cached_has_bits = 0;
17235   // Prevent compiler warnings about cached_has_bits being unused
17236   (void) cached_has_bits;
17237 
17238   cached_has_bits = _impl_._has_bits_[0];
17239   if (cached_has_bits & 0x0000001fu) {
17240     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
17241         reinterpret_cast<char*>(&_impl_.ret_) -
17242         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.ret_));
17243   }
17244   _impl_._has_bits_.Clear();
17245   _internal_metadata_.Clear<std::string>();
17246 }
17247 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)17248 const char* Ext4FallocateExitFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
17249 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
17250   _Internal::HasBits has_bits{};
17251   while (!ctx->Done(&ptr)) {
17252     ::uint32_t tag;
17253     ptr = ::_pbi::ReadTag(ptr, &tag);
17254     switch (tag >> 3) {
17255       // optional uint64 dev = 1;
17256       case 1:
17257         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
17258           _Internal::set_has_dev(&has_bits);
17259           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
17260           CHK_(ptr);
17261         } else {
17262           goto handle_unusual;
17263         }
17264         continue;
17265       // optional uint64 ino = 2;
17266       case 2:
17267         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
17268           _Internal::set_has_ino(&has_bits);
17269           _impl_.ino_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
17270           CHK_(ptr);
17271         } else {
17272           goto handle_unusual;
17273         }
17274         continue;
17275       // optional int64 pos = 3;
17276       case 3:
17277         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
17278           _Internal::set_has_pos(&has_bits);
17279           _impl_.pos_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
17280           CHK_(ptr);
17281         } else {
17282           goto handle_unusual;
17283         }
17284         continue;
17285       // optional uint32 blocks = 4;
17286       case 4:
17287         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
17288           _Internal::set_has_blocks(&has_bits);
17289           _impl_.blocks_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
17290           CHK_(ptr);
17291         } else {
17292           goto handle_unusual;
17293         }
17294         continue;
17295       // optional int32 ret = 5;
17296       case 5:
17297         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) {
17298           _Internal::set_has_ret(&has_bits);
17299           _impl_.ret_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
17300           CHK_(ptr);
17301         } else {
17302           goto handle_unusual;
17303         }
17304         continue;
17305       default:
17306         goto handle_unusual;
17307     }  // switch
17308   handle_unusual:
17309     if ((tag == 0) || ((tag & 7) == 4)) {
17310       CHK_(ptr);
17311       ctx->SetLastTag(tag);
17312       goto message_done;
17313     }
17314     ptr = UnknownFieldParse(
17315         tag,
17316         _internal_metadata_.mutable_unknown_fields<std::string>(),
17317         ptr, ctx);
17318     CHK_(ptr != nullptr);
17319   }  // while
17320 message_done:
17321   _impl_._has_bits_.Or(has_bits);
17322   return ptr;
17323 failure:
17324   ptr = nullptr;
17325   goto message_done;
17326 #undef CHK_
17327 }
17328 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const17329 ::uint8_t* Ext4FallocateExitFtraceEvent::_InternalSerialize(
17330     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
17331   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.Ext4FallocateExitFtraceEvent)
17332   ::uint32_t cached_has_bits = 0;
17333   (void) cached_has_bits;
17334 
17335   cached_has_bits = _impl_._has_bits_[0];
17336   // optional uint64 dev = 1;
17337   if (cached_has_bits & 0x00000001u) {
17338     target = stream->EnsureSpace(target);
17339     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
17340   }
17341 
17342   // optional uint64 ino = 2;
17343   if (cached_has_bits & 0x00000002u) {
17344     target = stream->EnsureSpace(target);
17345     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_ino(), target);
17346   }
17347 
17348   // optional int64 pos = 3;
17349   if (cached_has_bits & 0x00000004u) {
17350     target = stream->EnsureSpace(target);
17351     target = ::_pbi::WireFormatLite::WriteInt64ToArray(3, this->_internal_pos(), target);
17352   }
17353 
17354   // optional uint32 blocks = 4;
17355   if (cached_has_bits & 0x00000008u) {
17356     target = stream->EnsureSpace(target);
17357     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_blocks(), target);
17358   }
17359 
17360   // optional int32 ret = 5;
17361   if (cached_has_bits & 0x00000010u) {
17362     target = stream->EnsureSpace(target);
17363     target = ::_pbi::WireFormatLite::WriteInt32ToArray(5, this->_internal_ret(), target);
17364   }
17365 
17366   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
17367     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
17368         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
17369   }
17370   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.Ext4FallocateExitFtraceEvent)
17371   return target;
17372 }
17373 
ByteSizeLong() const17374 size_t Ext4FallocateExitFtraceEvent::ByteSizeLong() const {
17375 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.Ext4FallocateExitFtraceEvent)
17376   size_t total_size = 0;
17377 
17378   ::uint32_t cached_has_bits = 0;
17379   // Prevent compiler warnings about cached_has_bits being unused
17380   (void) cached_has_bits;
17381 
17382   cached_has_bits = _impl_._has_bits_[0];
17383   if (cached_has_bits & 0x0000001fu) {
17384     // optional uint64 dev = 1;
17385     if (cached_has_bits & 0x00000001u) {
17386       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
17387     }
17388 
17389     // optional uint64 ino = 2;
17390     if (cached_has_bits & 0x00000002u) {
17391       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ino());
17392     }
17393 
17394     // optional int64 pos = 3;
17395     if (cached_has_bits & 0x00000004u) {
17396       total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_pos());
17397     }
17398 
17399     // optional uint32 blocks = 4;
17400     if (cached_has_bits & 0x00000008u) {
17401       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_blocks());
17402     }
17403 
17404     // optional int32 ret = 5;
17405     if (cached_has_bits & 0x00000010u) {
17406       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_ret());
17407     }
17408 
17409   }
17410   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
17411     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
17412   }
17413   int cached_size = ::_pbi::ToCachedSize(total_size);
17414   SetCachedSize(cached_size);
17415   return total_size;
17416 }
17417 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)17418 void Ext4FallocateExitFtraceEvent::CheckTypeAndMergeFrom(
17419     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
17420   MergeFrom(*::_pbi::DownCast<const Ext4FallocateExitFtraceEvent*>(
17421       &from));
17422 }
17423 
MergeFrom(const Ext4FallocateExitFtraceEvent & from)17424 void Ext4FallocateExitFtraceEvent::MergeFrom(const Ext4FallocateExitFtraceEvent& from) {
17425   Ext4FallocateExitFtraceEvent* const _this = this;
17426   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.Ext4FallocateExitFtraceEvent)
17427   GOOGLE_DCHECK_NE(&from, _this);
17428   ::uint32_t cached_has_bits = 0;
17429   (void) cached_has_bits;
17430 
17431   cached_has_bits = from._impl_._has_bits_[0];
17432   if (cached_has_bits & 0x0000001fu) {
17433     if (cached_has_bits & 0x00000001u) {
17434       _this->_impl_.dev_ = from._impl_.dev_;
17435     }
17436     if (cached_has_bits & 0x00000002u) {
17437       _this->_impl_.ino_ = from._impl_.ino_;
17438     }
17439     if (cached_has_bits & 0x00000004u) {
17440       _this->_impl_.pos_ = from._impl_.pos_;
17441     }
17442     if (cached_has_bits & 0x00000008u) {
17443       _this->_impl_.blocks_ = from._impl_.blocks_;
17444     }
17445     if (cached_has_bits & 0x00000010u) {
17446       _this->_impl_.ret_ = from._impl_.ret_;
17447     }
17448     _this->_impl_._has_bits_[0] |= cached_has_bits;
17449   }
17450   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
17451 }
17452 
CopyFrom(const Ext4FallocateExitFtraceEvent & from)17453 void Ext4FallocateExitFtraceEvent::CopyFrom(const Ext4FallocateExitFtraceEvent& from) {
17454 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.Ext4FallocateExitFtraceEvent)
17455   if (&from == this) return;
17456   Clear();
17457   MergeFrom(from);
17458 }
17459 
IsInitialized() const17460 bool Ext4FallocateExitFtraceEvent::IsInitialized() const {
17461   return true;
17462 }
17463 
InternalSwap(Ext4FallocateExitFtraceEvent * other)17464 void Ext4FallocateExitFtraceEvent::InternalSwap(Ext4FallocateExitFtraceEvent* other) {
17465   using std::swap;
17466   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
17467   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
17468   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
17469       PROTOBUF_FIELD_OFFSET(Ext4FallocateExitFtraceEvent, _impl_.ret_)
17470       + sizeof(Ext4FallocateExitFtraceEvent::_impl_.ret_)  // NOLINT
17471       - PROTOBUF_FIELD_OFFSET(Ext4FallocateExitFtraceEvent, _impl_.dev_)>(
17472           reinterpret_cast<char*>(&_impl_.dev_),
17473           reinterpret_cast<char*>(&other->_impl_.dev_));
17474 }
17475 
GetTypeName() const17476 std::string Ext4FallocateExitFtraceEvent::GetTypeName() const {
17477   return "perfetto.protos.Ext4FallocateExitFtraceEvent";
17478 }
17479 
17480 
17481 // ===================================================================
17482 
17483 class Ext4FindDelallocRangeFtraceEvent::_Internal {
17484  public:
17485   using HasBits = decltype(std::declval<Ext4FindDelallocRangeFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)17486   static void set_has_dev(HasBits* has_bits) {
17487     (*has_bits)[0] |= 1u;
17488   }
set_has_ino(HasBits * has_bits)17489   static void set_has_ino(HasBits* has_bits) {
17490     (*has_bits)[0] |= 2u;
17491   }
set_has_from(HasBits * has_bits)17492   static void set_has_from(HasBits* has_bits) {
17493     (*has_bits)[0] |= 4u;
17494   }
set_has_to(HasBits * has_bits)17495   static void set_has_to(HasBits* has_bits) {
17496     (*has_bits)[0] |= 8u;
17497   }
set_has_reverse(HasBits * has_bits)17498   static void set_has_reverse(HasBits* has_bits) {
17499     (*has_bits)[0] |= 16u;
17500   }
set_has_found(HasBits * has_bits)17501   static void set_has_found(HasBits* has_bits) {
17502     (*has_bits)[0] |= 32u;
17503   }
set_has_found_blk(HasBits * has_bits)17504   static void set_has_found_blk(HasBits* has_bits) {
17505     (*has_bits)[0] |= 64u;
17506   }
17507 };
17508 
Ext4FindDelallocRangeFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)17509 Ext4FindDelallocRangeFtraceEvent::Ext4FindDelallocRangeFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
17510                          bool is_message_owned)
17511   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
17512   SharedCtor(arena, is_message_owned);
17513   // @@protoc_insertion_point(arena_constructor:perfetto.protos.Ext4FindDelallocRangeFtraceEvent)
17514 }
Ext4FindDelallocRangeFtraceEvent(const Ext4FindDelallocRangeFtraceEvent & from)17515 Ext4FindDelallocRangeFtraceEvent::Ext4FindDelallocRangeFtraceEvent(const Ext4FindDelallocRangeFtraceEvent& from)
17516   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
17517   Ext4FindDelallocRangeFtraceEvent* const _this = this; (void)_this;
17518   new (&_impl_) Impl_{
17519       decltype(_impl_._has_bits_){from._impl_._has_bits_}
17520     , /*decltype(_impl_._cached_size_)*/{}
17521     , decltype(_impl_.dev_){}
17522     , decltype(_impl_.ino_){}
17523     , decltype(_impl_.from_){}
17524     , decltype(_impl_.to_){}
17525     , decltype(_impl_.reverse_){}
17526     , decltype(_impl_.found_){}
17527     , decltype(_impl_.found_blk_){}};
17528 
17529   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
17530   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
17531     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.found_blk_) -
17532     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.found_blk_));
17533   // @@protoc_insertion_point(copy_constructor:perfetto.protos.Ext4FindDelallocRangeFtraceEvent)
17534 }
17535 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)17536 inline void Ext4FindDelallocRangeFtraceEvent::SharedCtor(
17537     ::_pb::Arena* arena, bool is_message_owned) {
17538   (void)arena;
17539   (void)is_message_owned;
17540   new (&_impl_) Impl_{
17541       decltype(_impl_._has_bits_){}
17542     , /*decltype(_impl_._cached_size_)*/{}
17543     , decltype(_impl_.dev_){::uint64_t{0u}}
17544     , decltype(_impl_.ino_){::uint64_t{0u}}
17545     , decltype(_impl_.from_){0u}
17546     , decltype(_impl_.to_){0u}
17547     , decltype(_impl_.reverse_){0}
17548     , decltype(_impl_.found_){0}
17549     , decltype(_impl_.found_blk_){0u}
17550   };
17551 }
17552 
~Ext4FindDelallocRangeFtraceEvent()17553 Ext4FindDelallocRangeFtraceEvent::~Ext4FindDelallocRangeFtraceEvent() {
17554   // @@protoc_insertion_point(destructor:perfetto.protos.Ext4FindDelallocRangeFtraceEvent)
17555   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
17556   (void)arena;
17557     return;
17558   }
17559   SharedDtor();
17560 }
17561 
SharedDtor()17562 inline void Ext4FindDelallocRangeFtraceEvent::SharedDtor() {
17563   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
17564 }
17565 
SetCachedSize(int size) const17566 void Ext4FindDelallocRangeFtraceEvent::SetCachedSize(int size) const {
17567   _impl_._cached_size_.Set(size);
17568 }
17569 
Clear()17570 void Ext4FindDelallocRangeFtraceEvent::Clear() {
17571 // @@protoc_insertion_point(message_clear_start:perfetto.protos.Ext4FindDelallocRangeFtraceEvent)
17572   ::uint32_t cached_has_bits = 0;
17573   // Prevent compiler warnings about cached_has_bits being unused
17574   (void) cached_has_bits;
17575 
17576   cached_has_bits = _impl_._has_bits_[0];
17577   if (cached_has_bits & 0x0000007fu) {
17578     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
17579         reinterpret_cast<char*>(&_impl_.found_blk_) -
17580         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.found_blk_));
17581   }
17582   _impl_._has_bits_.Clear();
17583   _internal_metadata_.Clear<std::string>();
17584 }
17585 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)17586 const char* Ext4FindDelallocRangeFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
17587 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
17588   _Internal::HasBits has_bits{};
17589   while (!ctx->Done(&ptr)) {
17590     ::uint32_t tag;
17591     ptr = ::_pbi::ReadTag(ptr, &tag);
17592     switch (tag >> 3) {
17593       // optional uint64 dev = 1;
17594       case 1:
17595         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
17596           _Internal::set_has_dev(&has_bits);
17597           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
17598           CHK_(ptr);
17599         } else {
17600           goto handle_unusual;
17601         }
17602         continue;
17603       // optional uint64 ino = 2;
17604       case 2:
17605         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
17606           _Internal::set_has_ino(&has_bits);
17607           _impl_.ino_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
17608           CHK_(ptr);
17609         } else {
17610           goto handle_unusual;
17611         }
17612         continue;
17613       // optional uint32 from = 3;
17614       case 3:
17615         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
17616           _Internal::set_has_from(&has_bits);
17617           _impl_.from_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
17618           CHK_(ptr);
17619         } else {
17620           goto handle_unusual;
17621         }
17622         continue;
17623       // optional uint32 to = 4;
17624       case 4:
17625         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
17626           _Internal::set_has_to(&has_bits);
17627           _impl_.to_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
17628           CHK_(ptr);
17629         } else {
17630           goto handle_unusual;
17631         }
17632         continue;
17633       // optional int32 reverse = 5;
17634       case 5:
17635         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) {
17636           _Internal::set_has_reverse(&has_bits);
17637           _impl_.reverse_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
17638           CHK_(ptr);
17639         } else {
17640           goto handle_unusual;
17641         }
17642         continue;
17643       // optional int32 found = 6;
17644       case 6:
17645         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 48)) {
17646           _Internal::set_has_found(&has_bits);
17647           _impl_.found_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
17648           CHK_(ptr);
17649         } else {
17650           goto handle_unusual;
17651         }
17652         continue;
17653       // optional uint32 found_blk = 7;
17654       case 7:
17655         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 56)) {
17656           _Internal::set_has_found_blk(&has_bits);
17657           _impl_.found_blk_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
17658           CHK_(ptr);
17659         } else {
17660           goto handle_unusual;
17661         }
17662         continue;
17663       default:
17664         goto handle_unusual;
17665     }  // switch
17666   handle_unusual:
17667     if ((tag == 0) || ((tag & 7) == 4)) {
17668       CHK_(ptr);
17669       ctx->SetLastTag(tag);
17670       goto message_done;
17671     }
17672     ptr = UnknownFieldParse(
17673         tag,
17674         _internal_metadata_.mutable_unknown_fields<std::string>(),
17675         ptr, ctx);
17676     CHK_(ptr != nullptr);
17677   }  // while
17678 message_done:
17679   _impl_._has_bits_.Or(has_bits);
17680   return ptr;
17681 failure:
17682   ptr = nullptr;
17683   goto message_done;
17684 #undef CHK_
17685 }
17686 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const17687 ::uint8_t* Ext4FindDelallocRangeFtraceEvent::_InternalSerialize(
17688     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
17689   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.Ext4FindDelallocRangeFtraceEvent)
17690   ::uint32_t cached_has_bits = 0;
17691   (void) cached_has_bits;
17692 
17693   cached_has_bits = _impl_._has_bits_[0];
17694   // optional uint64 dev = 1;
17695   if (cached_has_bits & 0x00000001u) {
17696     target = stream->EnsureSpace(target);
17697     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
17698   }
17699 
17700   // optional uint64 ino = 2;
17701   if (cached_has_bits & 0x00000002u) {
17702     target = stream->EnsureSpace(target);
17703     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_ino(), target);
17704   }
17705 
17706   // optional uint32 from = 3;
17707   if (cached_has_bits & 0x00000004u) {
17708     target = stream->EnsureSpace(target);
17709     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_from(), target);
17710   }
17711 
17712   // optional uint32 to = 4;
17713   if (cached_has_bits & 0x00000008u) {
17714     target = stream->EnsureSpace(target);
17715     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_to(), target);
17716   }
17717 
17718   // optional int32 reverse = 5;
17719   if (cached_has_bits & 0x00000010u) {
17720     target = stream->EnsureSpace(target);
17721     target = ::_pbi::WireFormatLite::WriteInt32ToArray(5, this->_internal_reverse(), target);
17722   }
17723 
17724   // optional int32 found = 6;
17725   if (cached_has_bits & 0x00000020u) {
17726     target = stream->EnsureSpace(target);
17727     target = ::_pbi::WireFormatLite::WriteInt32ToArray(6, this->_internal_found(), target);
17728   }
17729 
17730   // optional uint32 found_blk = 7;
17731   if (cached_has_bits & 0x00000040u) {
17732     target = stream->EnsureSpace(target);
17733     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(7, this->_internal_found_blk(), target);
17734   }
17735 
17736   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
17737     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
17738         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
17739   }
17740   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.Ext4FindDelallocRangeFtraceEvent)
17741   return target;
17742 }
17743 
ByteSizeLong() const17744 size_t Ext4FindDelallocRangeFtraceEvent::ByteSizeLong() const {
17745 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.Ext4FindDelallocRangeFtraceEvent)
17746   size_t total_size = 0;
17747 
17748   ::uint32_t cached_has_bits = 0;
17749   // Prevent compiler warnings about cached_has_bits being unused
17750   (void) cached_has_bits;
17751 
17752   cached_has_bits = _impl_._has_bits_[0];
17753   if (cached_has_bits & 0x0000007fu) {
17754     // optional uint64 dev = 1;
17755     if (cached_has_bits & 0x00000001u) {
17756       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
17757     }
17758 
17759     // optional uint64 ino = 2;
17760     if (cached_has_bits & 0x00000002u) {
17761       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ino());
17762     }
17763 
17764     // optional uint32 from = 3;
17765     if (cached_has_bits & 0x00000004u) {
17766       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_from());
17767     }
17768 
17769     // optional uint32 to = 4;
17770     if (cached_has_bits & 0x00000008u) {
17771       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_to());
17772     }
17773 
17774     // optional int32 reverse = 5;
17775     if (cached_has_bits & 0x00000010u) {
17776       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_reverse());
17777     }
17778 
17779     // optional int32 found = 6;
17780     if (cached_has_bits & 0x00000020u) {
17781       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_found());
17782     }
17783 
17784     // optional uint32 found_blk = 7;
17785     if (cached_has_bits & 0x00000040u) {
17786       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_found_blk());
17787     }
17788 
17789   }
17790   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
17791     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
17792   }
17793   int cached_size = ::_pbi::ToCachedSize(total_size);
17794   SetCachedSize(cached_size);
17795   return total_size;
17796 }
17797 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)17798 void Ext4FindDelallocRangeFtraceEvent::CheckTypeAndMergeFrom(
17799     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
17800   MergeFrom(*::_pbi::DownCast<const Ext4FindDelallocRangeFtraceEvent*>(
17801       &from));
17802 }
17803 
MergeFrom(const Ext4FindDelallocRangeFtraceEvent & from)17804 void Ext4FindDelallocRangeFtraceEvent::MergeFrom(const Ext4FindDelallocRangeFtraceEvent& from) {
17805   Ext4FindDelallocRangeFtraceEvent* const _this = this;
17806   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.Ext4FindDelallocRangeFtraceEvent)
17807   GOOGLE_DCHECK_NE(&from, _this);
17808   ::uint32_t cached_has_bits = 0;
17809   (void) cached_has_bits;
17810 
17811   cached_has_bits = from._impl_._has_bits_[0];
17812   if (cached_has_bits & 0x0000007fu) {
17813     if (cached_has_bits & 0x00000001u) {
17814       _this->_impl_.dev_ = from._impl_.dev_;
17815     }
17816     if (cached_has_bits & 0x00000002u) {
17817       _this->_impl_.ino_ = from._impl_.ino_;
17818     }
17819     if (cached_has_bits & 0x00000004u) {
17820       _this->_impl_.from_ = from._impl_.from_;
17821     }
17822     if (cached_has_bits & 0x00000008u) {
17823       _this->_impl_.to_ = from._impl_.to_;
17824     }
17825     if (cached_has_bits & 0x00000010u) {
17826       _this->_impl_.reverse_ = from._impl_.reverse_;
17827     }
17828     if (cached_has_bits & 0x00000020u) {
17829       _this->_impl_.found_ = from._impl_.found_;
17830     }
17831     if (cached_has_bits & 0x00000040u) {
17832       _this->_impl_.found_blk_ = from._impl_.found_blk_;
17833     }
17834     _this->_impl_._has_bits_[0] |= cached_has_bits;
17835   }
17836   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
17837 }
17838 
CopyFrom(const Ext4FindDelallocRangeFtraceEvent & from)17839 void Ext4FindDelallocRangeFtraceEvent::CopyFrom(const Ext4FindDelallocRangeFtraceEvent& from) {
17840 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.Ext4FindDelallocRangeFtraceEvent)
17841   if (&from == this) return;
17842   Clear();
17843   MergeFrom(from);
17844 }
17845 
IsInitialized() const17846 bool Ext4FindDelallocRangeFtraceEvent::IsInitialized() const {
17847   return true;
17848 }
17849 
InternalSwap(Ext4FindDelallocRangeFtraceEvent * other)17850 void Ext4FindDelallocRangeFtraceEvent::InternalSwap(Ext4FindDelallocRangeFtraceEvent* other) {
17851   using std::swap;
17852   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
17853   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
17854   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
17855       PROTOBUF_FIELD_OFFSET(Ext4FindDelallocRangeFtraceEvent, _impl_.found_blk_)
17856       + sizeof(Ext4FindDelallocRangeFtraceEvent::_impl_.found_blk_)  // NOLINT
17857       - PROTOBUF_FIELD_OFFSET(Ext4FindDelallocRangeFtraceEvent, _impl_.dev_)>(
17858           reinterpret_cast<char*>(&_impl_.dev_),
17859           reinterpret_cast<char*>(&other->_impl_.dev_));
17860 }
17861 
GetTypeName() const17862 std::string Ext4FindDelallocRangeFtraceEvent::GetTypeName() const {
17863   return "perfetto.protos.Ext4FindDelallocRangeFtraceEvent";
17864 }
17865 
17866 
17867 // ===================================================================
17868 
17869 class Ext4ForgetFtraceEvent::_Internal {
17870  public:
17871   using HasBits = decltype(std::declval<Ext4ForgetFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)17872   static void set_has_dev(HasBits* has_bits) {
17873     (*has_bits)[0] |= 1u;
17874   }
set_has_ino(HasBits * has_bits)17875   static void set_has_ino(HasBits* has_bits) {
17876     (*has_bits)[0] |= 2u;
17877   }
set_has_block(HasBits * has_bits)17878   static void set_has_block(HasBits* has_bits) {
17879     (*has_bits)[0] |= 4u;
17880   }
set_has_is_metadata(HasBits * has_bits)17881   static void set_has_is_metadata(HasBits* has_bits) {
17882     (*has_bits)[0] |= 8u;
17883   }
set_has_mode(HasBits * has_bits)17884   static void set_has_mode(HasBits* has_bits) {
17885     (*has_bits)[0] |= 16u;
17886   }
17887 };
17888 
Ext4ForgetFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)17889 Ext4ForgetFtraceEvent::Ext4ForgetFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
17890                          bool is_message_owned)
17891   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
17892   SharedCtor(arena, is_message_owned);
17893   // @@protoc_insertion_point(arena_constructor:perfetto.protos.Ext4ForgetFtraceEvent)
17894 }
Ext4ForgetFtraceEvent(const Ext4ForgetFtraceEvent & from)17895 Ext4ForgetFtraceEvent::Ext4ForgetFtraceEvent(const Ext4ForgetFtraceEvent& from)
17896   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
17897   Ext4ForgetFtraceEvent* const _this = this; (void)_this;
17898   new (&_impl_) Impl_{
17899       decltype(_impl_._has_bits_){from._impl_._has_bits_}
17900     , /*decltype(_impl_._cached_size_)*/{}
17901     , decltype(_impl_.dev_){}
17902     , decltype(_impl_.ino_){}
17903     , decltype(_impl_.block_){}
17904     , decltype(_impl_.is_metadata_){}
17905     , decltype(_impl_.mode_){}};
17906 
17907   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
17908   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
17909     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.mode_) -
17910     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.mode_));
17911   // @@protoc_insertion_point(copy_constructor:perfetto.protos.Ext4ForgetFtraceEvent)
17912 }
17913 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)17914 inline void Ext4ForgetFtraceEvent::SharedCtor(
17915     ::_pb::Arena* arena, bool is_message_owned) {
17916   (void)arena;
17917   (void)is_message_owned;
17918   new (&_impl_) Impl_{
17919       decltype(_impl_._has_bits_){}
17920     , /*decltype(_impl_._cached_size_)*/{}
17921     , decltype(_impl_.dev_){::uint64_t{0u}}
17922     , decltype(_impl_.ino_){::uint64_t{0u}}
17923     , decltype(_impl_.block_){::uint64_t{0u}}
17924     , decltype(_impl_.is_metadata_){0}
17925     , decltype(_impl_.mode_){0u}
17926   };
17927 }
17928 
~Ext4ForgetFtraceEvent()17929 Ext4ForgetFtraceEvent::~Ext4ForgetFtraceEvent() {
17930   // @@protoc_insertion_point(destructor:perfetto.protos.Ext4ForgetFtraceEvent)
17931   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
17932   (void)arena;
17933     return;
17934   }
17935   SharedDtor();
17936 }
17937 
SharedDtor()17938 inline void Ext4ForgetFtraceEvent::SharedDtor() {
17939   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
17940 }
17941 
SetCachedSize(int size) const17942 void Ext4ForgetFtraceEvent::SetCachedSize(int size) const {
17943   _impl_._cached_size_.Set(size);
17944 }
17945 
Clear()17946 void Ext4ForgetFtraceEvent::Clear() {
17947 // @@protoc_insertion_point(message_clear_start:perfetto.protos.Ext4ForgetFtraceEvent)
17948   ::uint32_t cached_has_bits = 0;
17949   // Prevent compiler warnings about cached_has_bits being unused
17950   (void) cached_has_bits;
17951 
17952   cached_has_bits = _impl_._has_bits_[0];
17953   if (cached_has_bits & 0x0000001fu) {
17954     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
17955         reinterpret_cast<char*>(&_impl_.mode_) -
17956         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.mode_));
17957   }
17958   _impl_._has_bits_.Clear();
17959   _internal_metadata_.Clear<std::string>();
17960 }
17961 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)17962 const char* Ext4ForgetFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
17963 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
17964   _Internal::HasBits has_bits{};
17965   while (!ctx->Done(&ptr)) {
17966     ::uint32_t tag;
17967     ptr = ::_pbi::ReadTag(ptr, &tag);
17968     switch (tag >> 3) {
17969       // optional uint64 dev = 1;
17970       case 1:
17971         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
17972           _Internal::set_has_dev(&has_bits);
17973           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
17974           CHK_(ptr);
17975         } else {
17976           goto handle_unusual;
17977         }
17978         continue;
17979       // optional uint64 ino = 2;
17980       case 2:
17981         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
17982           _Internal::set_has_ino(&has_bits);
17983           _impl_.ino_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
17984           CHK_(ptr);
17985         } else {
17986           goto handle_unusual;
17987         }
17988         continue;
17989       // optional uint64 block = 3;
17990       case 3:
17991         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
17992           _Internal::set_has_block(&has_bits);
17993           _impl_.block_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
17994           CHK_(ptr);
17995         } else {
17996           goto handle_unusual;
17997         }
17998         continue;
17999       // optional int32 is_metadata = 4;
18000       case 4:
18001         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
18002           _Internal::set_has_is_metadata(&has_bits);
18003           _impl_.is_metadata_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
18004           CHK_(ptr);
18005         } else {
18006           goto handle_unusual;
18007         }
18008         continue;
18009       // optional uint32 mode = 5;
18010       case 5:
18011         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) {
18012           _Internal::set_has_mode(&has_bits);
18013           _impl_.mode_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
18014           CHK_(ptr);
18015         } else {
18016           goto handle_unusual;
18017         }
18018         continue;
18019       default:
18020         goto handle_unusual;
18021     }  // switch
18022   handle_unusual:
18023     if ((tag == 0) || ((tag & 7) == 4)) {
18024       CHK_(ptr);
18025       ctx->SetLastTag(tag);
18026       goto message_done;
18027     }
18028     ptr = UnknownFieldParse(
18029         tag,
18030         _internal_metadata_.mutable_unknown_fields<std::string>(),
18031         ptr, ctx);
18032     CHK_(ptr != nullptr);
18033   }  // while
18034 message_done:
18035   _impl_._has_bits_.Or(has_bits);
18036   return ptr;
18037 failure:
18038   ptr = nullptr;
18039   goto message_done;
18040 #undef CHK_
18041 }
18042 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const18043 ::uint8_t* Ext4ForgetFtraceEvent::_InternalSerialize(
18044     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
18045   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.Ext4ForgetFtraceEvent)
18046   ::uint32_t cached_has_bits = 0;
18047   (void) cached_has_bits;
18048 
18049   cached_has_bits = _impl_._has_bits_[0];
18050   // optional uint64 dev = 1;
18051   if (cached_has_bits & 0x00000001u) {
18052     target = stream->EnsureSpace(target);
18053     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
18054   }
18055 
18056   // optional uint64 ino = 2;
18057   if (cached_has_bits & 0x00000002u) {
18058     target = stream->EnsureSpace(target);
18059     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_ino(), target);
18060   }
18061 
18062   // optional uint64 block = 3;
18063   if (cached_has_bits & 0x00000004u) {
18064     target = stream->EnsureSpace(target);
18065     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(3, this->_internal_block(), target);
18066   }
18067 
18068   // optional int32 is_metadata = 4;
18069   if (cached_has_bits & 0x00000008u) {
18070     target = stream->EnsureSpace(target);
18071     target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_is_metadata(), target);
18072   }
18073 
18074   // optional uint32 mode = 5;
18075   if (cached_has_bits & 0x00000010u) {
18076     target = stream->EnsureSpace(target);
18077     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_mode(), target);
18078   }
18079 
18080   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
18081     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
18082         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
18083   }
18084   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.Ext4ForgetFtraceEvent)
18085   return target;
18086 }
18087 
ByteSizeLong() const18088 size_t Ext4ForgetFtraceEvent::ByteSizeLong() const {
18089 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.Ext4ForgetFtraceEvent)
18090   size_t total_size = 0;
18091 
18092   ::uint32_t cached_has_bits = 0;
18093   // Prevent compiler warnings about cached_has_bits being unused
18094   (void) cached_has_bits;
18095 
18096   cached_has_bits = _impl_._has_bits_[0];
18097   if (cached_has_bits & 0x0000001fu) {
18098     // optional uint64 dev = 1;
18099     if (cached_has_bits & 0x00000001u) {
18100       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
18101     }
18102 
18103     // optional uint64 ino = 2;
18104     if (cached_has_bits & 0x00000002u) {
18105       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ino());
18106     }
18107 
18108     // optional uint64 block = 3;
18109     if (cached_has_bits & 0x00000004u) {
18110       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_block());
18111     }
18112 
18113     // optional int32 is_metadata = 4;
18114     if (cached_has_bits & 0x00000008u) {
18115       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_is_metadata());
18116     }
18117 
18118     // optional uint32 mode = 5;
18119     if (cached_has_bits & 0x00000010u) {
18120       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_mode());
18121     }
18122 
18123   }
18124   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
18125     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
18126   }
18127   int cached_size = ::_pbi::ToCachedSize(total_size);
18128   SetCachedSize(cached_size);
18129   return total_size;
18130 }
18131 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)18132 void Ext4ForgetFtraceEvent::CheckTypeAndMergeFrom(
18133     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
18134   MergeFrom(*::_pbi::DownCast<const Ext4ForgetFtraceEvent*>(
18135       &from));
18136 }
18137 
MergeFrom(const Ext4ForgetFtraceEvent & from)18138 void Ext4ForgetFtraceEvent::MergeFrom(const Ext4ForgetFtraceEvent& from) {
18139   Ext4ForgetFtraceEvent* const _this = this;
18140   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.Ext4ForgetFtraceEvent)
18141   GOOGLE_DCHECK_NE(&from, _this);
18142   ::uint32_t cached_has_bits = 0;
18143   (void) cached_has_bits;
18144 
18145   cached_has_bits = from._impl_._has_bits_[0];
18146   if (cached_has_bits & 0x0000001fu) {
18147     if (cached_has_bits & 0x00000001u) {
18148       _this->_impl_.dev_ = from._impl_.dev_;
18149     }
18150     if (cached_has_bits & 0x00000002u) {
18151       _this->_impl_.ino_ = from._impl_.ino_;
18152     }
18153     if (cached_has_bits & 0x00000004u) {
18154       _this->_impl_.block_ = from._impl_.block_;
18155     }
18156     if (cached_has_bits & 0x00000008u) {
18157       _this->_impl_.is_metadata_ = from._impl_.is_metadata_;
18158     }
18159     if (cached_has_bits & 0x00000010u) {
18160       _this->_impl_.mode_ = from._impl_.mode_;
18161     }
18162     _this->_impl_._has_bits_[0] |= cached_has_bits;
18163   }
18164   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
18165 }
18166 
CopyFrom(const Ext4ForgetFtraceEvent & from)18167 void Ext4ForgetFtraceEvent::CopyFrom(const Ext4ForgetFtraceEvent& from) {
18168 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.Ext4ForgetFtraceEvent)
18169   if (&from == this) return;
18170   Clear();
18171   MergeFrom(from);
18172 }
18173 
IsInitialized() const18174 bool Ext4ForgetFtraceEvent::IsInitialized() const {
18175   return true;
18176 }
18177 
InternalSwap(Ext4ForgetFtraceEvent * other)18178 void Ext4ForgetFtraceEvent::InternalSwap(Ext4ForgetFtraceEvent* other) {
18179   using std::swap;
18180   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
18181   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
18182   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
18183       PROTOBUF_FIELD_OFFSET(Ext4ForgetFtraceEvent, _impl_.mode_)
18184       + sizeof(Ext4ForgetFtraceEvent::_impl_.mode_)  // NOLINT
18185       - PROTOBUF_FIELD_OFFSET(Ext4ForgetFtraceEvent, _impl_.dev_)>(
18186           reinterpret_cast<char*>(&_impl_.dev_),
18187           reinterpret_cast<char*>(&other->_impl_.dev_));
18188 }
18189 
GetTypeName() const18190 std::string Ext4ForgetFtraceEvent::GetTypeName() const {
18191   return "perfetto.protos.Ext4ForgetFtraceEvent";
18192 }
18193 
18194 
18195 // ===================================================================
18196 
18197 class Ext4FreeBlocksFtraceEvent::_Internal {
18198  public:
18199   using HasBits = decltype(std::declval<Ext4FreeBlocksFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)18200   static void set_has_dev(HasBits* has_bits) {
18201     (*has_bits)[0] |= 1u;
18202   }
set_has_ino(HasBits * has_bits)18203   static void set_has_ino(HasBits* has_bits) {
18204     (*has_bits)[0] |= 2u;
18205   }
set_has_block(HasBits * has_bits)18206   static void set_has_block(HasBits* has_bits) {
18207     (*has_bits)[0] |= 4u;
18208   }
set_has_count(HasBits * has_bits)18209   static void set_has_count(HasBits* has_bits) {
18210     (*has_bits)[0] |= 8u;
18211   }
set_has_flags(HasBits * has_bits)18212   static void set_has_flags(HasBits* has_bits) {
18213     (*has_bits)[0] |= 16u;
18214   }
set_has_mode(HasBits * has_bits)18215   static void set_has_mode(HasBits* has_bits) {
18216     (*has_bits)[0] |= 32u;
18217   }
18218 };
18219 
Ext4FreeBlocksFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)18220 Ext4FreeBlocksFtraceEvent::Ext4FreeBlocksFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
18221                          bool is_message_owned)
18222   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
18223   SharedCtor(arena, is_message_owned);
18224   // @@protoc_insertion_point(arena_constructor:perfetto.protos.Ext4FreeBlocksFtraceEvent)
18225 }
Ext4FreeBlocksFtraceEvent(const Ext4FreeBlocksFtraceEvent & from)18226 Ext4FreeBlocksFtraceEvent::Ext4FreeBlocksFtraceEvent(const Ext4FreeBlocksFtraceEvent& from)
18227   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
18228   Ext4FreeBlocksFtraceEvent* const _this = this; (void)_this;
18229   new (&_impl_) Impl_{
18230       decltype(_impl_._has_bits_){from._impl_._has_bits_}
18231     , /*decltype(_impl_._cached_size_)*/{}
18232     , decltype(_impl_.dev_){}
18233     , decltype(_impl_.ino_){}
18234     , decltype(_impl_.block_){}
18235     , decltype(_impl_.count_){}
18236     , decltype(_impl_.flags_){}
18237     , decltype(_impl_.mode_){}};
18238 
18239   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
18240   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
18241     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.mode_) -
18242     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.mode_));
18243   // @@protoc_insertion_point(copy_constructor:perfetto.protos.Ext4FreeBlocksFtraceEvent)
18244 }
18245 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)18246 inline void Ext4FreeBlocksFtraceEvent::SharedCtor(
18247     ::_pb::Arena* arena, bool is_message_owned) {
18248   (void)arena;
18249   (void)is_message_owned;
18250   new (&_impl_) Impl_{
18251       decltype(_impl_._has_bits_){}
18252     , /*decltype(_impl_._cached_size_)*/{}
18253     , decltype(_impl_.dev_){::uint64_t{0u}}
18254     , decltype(_impl_.ino_){::uint64_t{0u}}
18255     , decltype(_impl_.block_){::uint64_t{0u}}
18256     , decltype(_impl_.count_){::uint64_t{0u}}
18257     , decltype(_impl_.flags_){0}
18258     , decltype(_impl_.mode_){0u}
18259   };
18260 }
18261 
~Ext4FreeBlocksFtraceEvent()18262 Ext4FreeBlocksFtraceEvent::~Ext4FreeBlocksFtraceEvent() {
18263   // @@protoc_insertion_point(destructor:perfetto.protos.Ext4FreeBlocksFtraceEvent)
18264   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
18265   (void)arena;
18266     return;
18267   }
18268   SharedDtor();
18269 }
18270 
SharedDtor()18271 inline void Ext4FreeBlocksFtraceEvent::SharedDtor() {
18272   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
18273 }
18274 
SetCachedSize(int size) const18275 void Ext4FreeBlocksFtraceEvent::SetCachedSize(int size) const {
18276   _impl_._cached_size_.Set(size);
18277 }
18278 
Clear()18279 void Ext4FreeBlocksFtraceEvent::Clear() {
18280 // @@protoc_insertion_point(message_clear_start:perfetto.protos.Ext4FreeBlocksFtraceEvent)
18281   ::uint32_t cached_has_bits = 0;
18282   // Prevent compiler warnings about cached_has_bits being unused
18283   (void) cached_has_bits;
18284 
18285   cached_has_bits = _impl_._has_bits_[0];
18286   if (cached_has_bits & 0x0000003fu) {
18287     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
18288         reinterpret_cast<char*>(&_impl_.mode_) -
18289         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.mode_));
18290   }
18291   _impl_._has_bits_.Clear();
18292   _internal_metadata_.Clear<std::string>();
18293 }
18294 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)18295 const char* Ext4FreeBlocksFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
18296 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
18297   _Internal::HasBits has_bits{};
18298   while (!ctx->Done(&ptr)) {
18299     ::uint32_t tag;
18300     ptr = ::_pbi::ReadTag(ptr, &tag);
18301     switch (tag >> 3) {
18302       // optional uint64 dev = 1;
18303       case 1:
18304         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
18305           _Internal::set_has_dev(&has_bits);
18306           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
18307           CHK_(ptr);
18308         } else {
18309           goto handle_unusual;
18310         }
18311         continue;
18312       // optional uint64 ino = 2;
18313       case 2:
18314         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
18315           _Internal::set_has_ino(&has_bits);
18316           _impl_.ino_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
18317           CHK_(ptr);
18318         } else {
18319           goto handle_unusual;
18320         }
18321         continue;
18322       // optional uint64 block = 3;
18323       case 3:
18324         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
18325           _Internal::set_has_block(&has_bits);
18326           _impl_.block_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
18327           CHK_(ptr);
18328         } else {
18329           goto handle_unusual;
18330         }
18331         continue;
18332       // optional uint64 count = 4;
18333       case 4:
18334         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
18335           _Internal::set_has_count(&has_bits);
18336           _impl_.count_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
18337           CHK_(ptr);
18338         } else {
18339           goto handle_unusual;
18340         }
18341         continue;
18342       // optional int32 flags = 5;
18343       case 5:
18344         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) {
18345           _Internal::set_has_flags(&has_bits);
18346           _impl_.flags_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
18347           CHK_(ptr);
18348         } else {
18349           goto handle_unusual;
18350         }
18351         continue;
18352       // optional uint32 mode = 6;
18353       case 6:
18354         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 48)) {
18355           _Internal::set_has_mode(&has_bits);
18356           _impl_.mode_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
18357           CHK_(ptr);
18358         } else {
18359           goto handle_unusual;
18360         }
18361         continue;
18362       default:
18363         goto handle_unusual;
18364     }  // switch
18365   handle_unusual:
18366     if ((tag == 0) || ((tag & 7) == 4)) {
18367       CHK_(ptr);
18368       ctx->SetLastTag(tag);
18369       goto message_done;
18370     }
18371     ptr = UnknownFieldParse(
18372         tag,
18373         _internal_metadata_.mutable_unknown_fields<std::string>(),
18374         ptr, ctx);
18375     CHK_(ptr != nullptr);
18376   }  // while
18377 message_done:
18378   _impl_._has_bits_.Or(has_bits);
18379   return ptr;
18380 failure:
18381   ptr = nullptr;
18382   goto message_done;
18383 #undef CHK_
18384 }
18385 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const18386 ::uint8_t* Ext4FreeBlocksFtraceEvent::_InternalSerialize(
18387     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
18388   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.Ext4FreeBlocksFtraceEvent)
18389   ::uint32_t cached_has_bits = 0;
18390   (void) cached_has_bits;
18391 
18392   cached_has_bits = _impl_._has_bits_[0];
18393   // optional uint64 dev = 1;
18394   if (cached_has_bits & 0x00000001u) {
18395     target = stream->EnsureSpace(target);
18396     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
18397   }
18398 
18399   // optional uint64 ino = 2;
18400   if (cached_has_bits & 0x00000002u) {
18401     target = stream->EnsureSpace(target);
18402     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_ino(), target);
18403   }
18404 
18405   // optional uint64 block = 3;
18406   if (cached_has_bits & 0x00000004u) {
18407     target = stream->EnsureSpace(target);
18408     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(3, this->_internal_block(), target);
18409   }
18410 
18411   // optional uint64 count = 4;
18412   if (cached_has_bits & 0x00000008u) {
18413     target = stream->EnsureSpace(target);
18414     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(4, this->_internal_count(), target);
18415   }
18416 
18417   // optional int32 flags = 5;
18418   if (cached_has_bits & 0x00000010u) {
18419     target = stream->EnsureSpace(target);
18420     target = ::_pbi::WireFormatLite::WriteInt32ToArray(5, this->_internal_flags(), target);
18421   }
18422 
18423   // optional uint32 mode = 6;
18424   if (cached_has_bits & 0x00000020u) {
18425     target = stream->EnsureSpace(target);
18426     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_mode(), target);
18427   }
18428 
18429   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
18430     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
18431         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
18432   }
18433   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.Ext4FreeBlocksFtraceEvent)
18434   return target;
18435 }
18436 
ByteSizeLong() const18437 size_t Ext4FreeBlocksFtraceEvent::ByteSizeLong() const {
18438 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.Ext4FreeBlocksFtraceEvent)
18439   size_t total_size = 0;
18440 
18441   ::uint32_t cached_has_bits = 0;
18442   // Prevent compiler warnings about cached_has_bits being unused
18443   (void) cached_has_bits;
18444 
18445   cached_has_bits = _impl_._has_bits_[0];
18446   if (cached_has_bits & 0x0000003fu) {
18447     // optional uint64 dev = 1;
18448     if (cached_has_bits & 0x00000001u) {
18449       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
18450     }
18451 
18452     // optional uint64 ino = 2;
18453     if (cached_has_bits & 0x00000002u) {
18454       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ino());
18455     }
18456 
18457     // optional uint64 block = 3;
18458     if (cached_has_bits & 0x00000004u) {
18459       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_block());
18460     }
18461 
18462     // optional uint64 count = 4;
18463     if (cached_has_bits & 0x00000008u) {
18464       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_count());
18465     }
18466 
18467     // optional int32 flags = 5;
18468     if (cached_has_bits & 0x00000010u) {
18469       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_flags());
18470     }
18471 
18472     // optional uint32 mode = 6;
18473     if (cached_has_bits & 0x00000020u) {
18474       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_mode());
18475     }
18476 
18477   }
18478   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
18479     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
18480   }
18481   int cached_size = ::_pbi::ToCachedSize(total_size);
18482   SetCachedSize(cached_size);
18483   return total_size;
18484 }
18485 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)18486 void Ext4FreeBlocksFtraceEvent::CheckTypeAndMergeFrom(
18487     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
18488   MergeFrom(*::_pbi::DownCast<const Ext4FreeBlocksFtraceEvent*>(
18489       &from));
18490 }
18491 
MergeFrom(const Ext4FreeBlocksFtraceEvent & from)18492 void Ext4FreeBlocksFtraceEvent::MergeFrom(const Ext4FreeBlocksFtraceEvent& from) {
18493   Ext4FreeBlocksFtraceEvent* const _this = this;
18494   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.Ext4FreeBlocksFtraceEvent)
18495   GOOGLE_DCHECK_NE(&from, _this);
18496   ::uint32_t cached_has_bits = 0;
18497   (void) cached_has_bits;
18498 
18499   cached_has_bits = from._impl_._has_bits_[0];
18500   if (cached_has_bits & 0x0000003fu) {
18501     if (cached_has_bits & 0x00000001u) {
18502       _this->_impl_.dev_ = from._impl_.dev_;
18503     }
18504     if (cached_has_bits & 0x00000002u) {
18505       _this->_impl_.ino_ = from._impl_.ino_;
18506     }
18507     if (cached_has_bits & 0x00000004u) {
18508       _this->_impl_.block_ = from._impl_.block_;
18509     }
18510     if (cached_has_bits & 0x00000008u) {
18511       _this->_impl_.count_ = from._impl_.count_;
18512     }
18513     if (cached_has_bits & 0x00000010u) {
18514       _this->_impl_.flags_ = from._impl_.flags_;
18515     }
18516     if (cached_has_bits & 0x00000020u) {
18517       _this->_impl_.mode_ = from._impl_.mode_;
18518     }
18519     _this->_impl_._has_bits_[0] |= cached_has_bits;
18520   }
18521   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
18522 }
18523 
CopyFrom(const Ext4FreeBlocksFtraceEvent & from)18524 void Ext4FreeBlocksFtraceEvent::CopyFrom(const Ext4FreeBlocksFtraceEvent& from) {
18525 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.Ext4FreeBlocksFtraceEvent)
18526   if (&from == this) return;
18527   Clear();
18528   MergeFrom(from);
18529 }
18530 
IsInitialized() const18531 bool Ext4FreeBlocksFtraceEvent::IsInitialized() const {
18532   return true;
18533 }
18534 
InternalSwap(Ext4FreeBlocksFtraceEvent * other)18535 void Ext4FreeBlocksFtraceEvent::InternalSwap(Ext4FreeBlocksFtraceEvent* other) {
18536   using std::swap;
18537   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
18538   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
18539   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
18540       PROTOBUF_FIELD_OFFSET(Ext4FreeBlocksFtraceEvent, _impl_.mode_)
18541       + sizeof(Ext4FreeBlocksFtraceEvent::_impl_.mode_)  // NOLINT
18542       - PROTOBUF_FIELD_OFFSET(Ext4FreeBlocksFtraceEvent, _impl_.dev_)>(
18543           reinterpret_cast<char*>(&_impl_.dev_),
18544           reinterpret_cast<char*>(&other->_impl_.dev_));
18545 }
18546 
GetTypeName() const18547 std::string Ext4FreeBlocksFtraceEvent::GetTypeName() const {
18548   return "perfetto.protos.Ext4FreeBlocksFtraceEvent";
18549 }
18550 
18551 
18552 // ===================================================================
18553 
18554 class Ext4FreeInodeFtraceEvent::_Internal {
18555  public:
18556   using HasBits = decltype(std::declval<Ext4FreeInodeFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)18557   static void set_has_dev(HasBits* has_bits) {
18558     (*has_bits)[0] |= 1u;
18559   }
set_has_ino(HasBits * has_bits)18560   static void set_has_ino(HasBits* has_bits) {
18561     (*has_bits)[0] |= 2u;
18562   }
set_has_uid(HasBits * has_bits)18563   static void set_has_uid(HasBits* has_bits) {
18564     (*has_bits)[0] |= 4u;
18565   }
set_has_gid(HasBits * has_bits)18566   static void set_has_gid(HasBits* has_bits) {
18567     (*has_bits)[0] |= 8u;
18568   }
set_has_blocks(HasBits * has_bits)18569   static void set_has_blocks(HasBits* has_bits) {
18570     (*has_bits)[0] |= 16u;
18571   }
set_has_mode(HasBits * has_bits)18572   static void set_has_mode(HasBits* has_bits) {
18573     (*has_bits)[0] |= 32u;
18574   }
18575 };
18576 
Ext4FreeInodeFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)18577 Ext4FreeInodeFtraceEvent::Ext4FreeInodeFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
18578                          bool is_message_owned)
18579   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
18580   SharedCtor(arena, is_message_owned);
18581   // @@protoc_insertion_point(arena_constructor:perfetto.protos.Ext4FreeInodeFtraceEvent)
18582 }
Ext4FreeInodeFtraceEvent(const Ext4FreeInodeFtraceEvent & from)18583 Ext4FreeInodeFtraceEvent::Ext4FreeInodeFtraceEvent(const Ext4FreeInodeFtraceEvent& from)
18584   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
18585   Ext4FreeInodeFtraceEvent* const _this = this; (void)_this;
18586   new (&_impl_) Impl_{
18587       decltype(_impl_._has_bits_){from._impl_._has_bits_}
18588     , /*decltype(_impl_._cached_size_)*/{}
18589     , decltype(_impl_.dev_){}
18590     , decltype(_impl_.ino_){}
18591     , decltype(_impl_.uid_){}
18592     , decltype(_impl_.gid_){}
18593     , decltype(_impl_.blocks_){}
18594     , decltype(_impl_.mode_){}};
18595 
18596   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
18597   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
18598     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.mode_) -
18599     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.mode_));
18600   // @@protoc_insertion_point(copy_constructor:perfetto.protos.Ext4FreeInodeFtraceEvent)
18601 }
18602 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)18603 inline void Ext4FreeInodeFtraceEvent::SharedCtor(
18604     ::_pb::Arena* arena, bool is_message_owned) {
18605   (void)arena;
18606   (void)is_message_owned;
18607   new (&_impl_) Impl_{
18608       decltype(_impl_._has_bits_){}
18609     , /*decltype(_impl_._cached_size_)*/{}
18610     , decltype(_impl_.dev_){::uint64_t{0u}}
18611     , decltype(_impl_.ino_){::uint64_t{0u}}
18612     , decltype(_impl_.uid_){0u}
18613     , decltype(_impl_.gid_){0u}
18614     , decltype(_impl_.blocks_){::uint64_t{0u}}
18615     , decltype(_impl_.mode_){0u}
18616   };
18617 }
18618 
~Ext4FreeInodeFtraceEvent()18619 Ext4FreeInodeFtraceEvent::~Ext4FreeInodeFtraceEvent() {
18620   // @@protoc_insertion_point(destructor:perfetto.protos.Ext4FreeInodeFtraceEvent)
18621   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
18622   (void)arena;
18623     return;
18624   }
18625   SharedDtor();
18626 }
18627 
SharedDtor()18628 inline void Ext4FreeInodeFtraceEvent::SharedDtor() {
18629   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
18630 }
18631 
SetCachedSize(int size) const18632 void Ext4FreeInodeFtraceEvent::SetCachedSize(int size) const {
18633   _impl_._cached_size_.Set(size);
18634 }
18635 
Clear()18636 void Ext4FreeInodeFtraceEvent::Clear() {
18637 // @@protoc_insertion_point(message_clear_start:perfetto.protos.Ext4FreeInodeFtraceEvent)
18638   ::uint32_t cached_has_bits = 0;
18639   // Prevent compiler warnings about cached_has_bits being unused
18640   (void) cached_has_bits;
18641 
18642   cached_has_bits = _impl_._has_bits_[0];
18643   if (cached_has_bits & 0x0000003fu) {
18644     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
18645         reinterpret_cast<char*>(&_impl_.mode_) -
18646         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.mode_));
18647   }
18648   _impl_._has_bits_.Clear();
18649   _internal_metadata_.Clear<std::string>();
18650 }
18651 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)18652 const char* Ext4FreeInodeFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
18653 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
18654   _Internal::HasBits has_bits{};
18655   while (!ctx->Done(&ptr)) {
18656     ::uint32_t tag;
18657     ptr = ::_pbi::ReadTag(ptr, &tag);
18658     switch (tag >> 3) {
18659       // optional uint64 dev = 1;
18660       case 1:
18661         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
18662           _Internal::set_has_dev(&has_bits);
18663           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
18664           CHK_(ptr);
18665         } else {
18666           goto handle_unusual;
18667         }
18668         continue;
18669       // optional uint64 ino = 2;
18670       case 2:
18671         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
18672           _Internal::set_has_ino(&has_bits);
18673           _impl_.ino_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
18674           CHK_(ptr);
18675         } else {
18676           goto handle_unusual;
18677         }
18678         continue;
18679       // optional uint32 uid = 3;
18680       case 3:
18681         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
18682           _Internal::set_has_uid(&has_bits);
18683           _impl_.uid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
18684           CHK_(ptr);
18685         } else {
18686           goto handle_unusual;
18687         }
18688         continue;
18689       // optional uint32 gid = 4;
18690       case 4:
18691         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
18692           _Internal::set_has_gid(&has_bits);
18693           _impl_.gid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
18694           CHK_(ptr);
18695         } else {
18696           goto handle_unusual;
18697         }
18698         continue;
18699       // optional uint64 blocks = 5;
18700       case 5:
18701         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) {
18702           _Internal::set_has_blocks(&has_bits);
18703           _impl_.blocks_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
18704           CHK_(ptr);
18705         } else {
18706           goto handle_unusual;
18707         }
18708         continue;
18709       // optional uint32 mode = 6;
18710       case 6:
18711         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 48)) {
18712           _Internal::set_has_mode(&has_bits);
18713           _impl_.mode_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
18714           CHK_(ptr);
18715         } else {
18716           goto handle_unusual;
18717         }
18718         continue;
18719       default:
18720         goto handle_unusual;
18721     }  // switch
18722   handle_unusual:
18723     if ((tag == 0) || ((tag & 7) == 4)) {
18724       CHK_(ptr);
18725       ctx->SetLastTag(tag);
18726       goto message_done;
18727     }
18728     ptr = UnknownFieldParse(
18729         tag,
18730         _internal_metadata_.mutable_unknown_fields<std::string>(),
18731         ptr, ctx);
18732     CHK_(ptr != nullptr);
18733   }  // while
18734 message_done:
18735   _impl_._has_bits_.Or(has_bits);
18736   return ptr;
18737 failure:
18738   ptr = nullptr;
18739   goto message_done;
18740 #undef CHK_
18741 }
18742 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const18743 ::uint8_t* Ext4FreeInodeFtraceEvent::_InternalSerialize(
18744     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
18745   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.Ext4FreeInodeFtraceEvent)
18746   ::uint32_t cached_has_bits = 0;
18747   (void) cached_has_bits;
18748 
18749   cached_has_bits = _impl_._has_bits_[0];
18750   // optional uint64 dev = 1;
18751   if (cached_has_bits & 0x00000001u) {
18752     target = stream->EnsureSpace(target);
18753     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
18754   }
18755 
18756   // optional uint64 ino = 2;
18757   if (cached_has_bits & 0x00000002u) {
18758     target = stream->EnsureSpace(target);
18759     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_ino(), target);
18760   }
18761 
18762   // optional uint32 uid = 3;
18763   if (cached_has_bits & 0x00000004u) {
18764     target = stream->EnsureSpace(target);
18765     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_uid(), target);
18766   }
18767 
18768   // optional uint32 gid = 4;
18769   if (cached_has_bits & 0x00000008u) {
18770     target = stream->EnsureSpace(target);
18771     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_gid(), target);
18772   }
18773 
18774   // optional uint64 blocks = 5;
18775   if (cached_has_bits & 0x00000010u) {
18776     target = stream->EnsureSpace(target);
18777     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(5, this->_internal_blocks(), target);
18778   }
18779 
18780   // optional uint32 mode = 6;
18781   if (cached_has_bits & 0x00000020u) {
18782     target = stream->EnsureSpace(target);
18783     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_mode(), target);
18784   }
18785 
18786   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
18787     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
18788         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
18789   }
18790   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.Ext4FreeInodeFtraceEvent)
18791   return target;
18792 }
18793 
ByteSizeLong() const18794 size_t Ext4FreeInodeFtraceEvent::ByteSizeLong() const {
18795 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.Ext4FreeInodeFtraceEvent)
18796   size_t total_size = 0;
18797 
18798   ::uint32_t cached_has_bits = 0;
18799   // Prevent compiler warnings about cached_has_bits being unused
18800   (void) cached_has_bits;
18801 
18802   cached_has_bits = _impl_._has_bits_[0];
18803   if (cached_has_bits & 0x0000003fu) {
18804     // optional uint64 dev = 1;
18805     if (cached_has_bits & 0x00000001u) {
18806       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
18807     }
18808 
18809     // optional uint64 ino = 2;
18810     if (cached_has_bits & 0x00000002u) {
18811       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ino());
18812     }
18813 
18814     // optional uint32 uid = 3;
18815     if (cached_has_bits & 0x00000004u) {
18816       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_uid());
18817     }
18818 
18819     // optional uint32 gid = 4;
18820     if (cached_has_bits & 0x00000008u) {
18821       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_gid());
18822     }
18823 
18824     // optional uint64 blocks = 5;
18825     if (cached_has_bits & 0x00000010u) {
18826       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_blocks());
18827     }
18828 
18829     // optional uint32 mode = 6;
18830     if (cached_has_bits & 0x00000020u) {
18831       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_mode());
18832     }
18833 
18834   }
18835   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
18836     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
18837   }
18838   int cached_size = ::_pbi::ToCachedSize(total_size);
18839   SetCachedSize(cached_size);
18840   return total_size;
18841 }
18842 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)18843 void Ext4FreeInodeFtraceEvent::CheckTypeAndMergeFrom(
18844     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
18845   MergeFrom(*::_pbi::DownCast<const Ext4FreeInodeFtraceEvent*>(
18846       &from));
18847 }
18848 
MergeFrom(const Ext4FreeInodeFtraceEvent & from)18849 void Ext4FreeInodeFtraceEvent::MergeFrom(const Ext4FreeInodeFtraceEvent& from) {
18850   Ext4FreeInodeFtraceEvent* const _this = this;
18851   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.Ext4FreeInodeFtraceEvent)
18852   GOOGLE_DCHECK_NE(&from, _this);
18853   ::uint32_t cached_has_bits = 0;
18854   (void) cached_has_bits;
18855 
18856   cached_has_bits = from._impl_._has_bits_[0];
18857   if (cached_has_bits & 0x0000003fu) {
18858     if (cached_has_bits & 0x00000001u) {
18859       _this->_impl_.dev_ = from._impl_.dev_;
18860     }
18861     if (cached_has_bits & 0x00000002u) {
18862       _this->_impl_.ino_ = from._impl_.ino_;
18863     }
18864     if (cached_has_bits & 0x00000004u) {
18865       _this->_impl_.uid_ = from._impl_.uid_;
18866     }
18867     if (cached_has_bits & 0x00000008u) {
18868       _this->_impl_.gid_ = from._impl_.gid_;
18869     }
18870     if (cached_has_bits & 0x00000010u) {
18871       _this->_impl_.blocks_ = from._impl_.blocks_;
18872     }
18873     if (cached_has_bits & 0x00000020u) {
18874       _this->_impl_.mode_ = from._impl_.mode_;
18875     }
18876     _this->_impl_._has_bits_[0] |= cached_has_bits;
18877   }
18878   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
18879 }
18880 
CopyFrom(const Ext4FreeInodeFtraceEvent & from)18881 void Ext4FreeInodeFtraceEvent::CopyFrom(const Ext4FreeInodeFtraceEvent& from) {
18882 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.Ext4FreeInodeFtraceEvent)
18883   if (&from == this) return;
18884   Clear();
18885   MergeFrom(from);
18886 }
18887 
IsInitialized() const18888 bool Ext4FreeInodeFtraceEvent::IsInitialized() const {
18889   return true;
18890 }
18891 
InternalSwap(Ext4FreeInodeFtraceEvent * other)18892 void Ext4FreeInodeFtraceEvent::InternalSwap(Ext4FreeInodeFtraceEvent* other) {
18893   using std::swap;
18894   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
18895   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
18896   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
18897       PROTOBUF_FIELD_OFFSET(Ext4FreeInodeFtraceEvent, _impl_.mode_)
18898       + sizeof(Ext4FreeInodeFtraceEvent::_impl_.mode_)  // NOLINT
18899       - PROTOBUF_FIELD_OFFSET(Ext4FreeInodeFtraceEvent, _impl_.dev_)>(
18900           reinterpret_cast<char*>(&_impl_.dev_),
18901           reinterpret_cast<char*>(&other->_impl_.dev_));
18902 }
18903 
GetTypeName() const18904 std::string Ext4FreeInodeFtraceEvent::GetTypeName() const {
18905   return "perfetto.protos.Ext4FreeInodeFtraceEvent";
18906 }
18907 
18908 
18909 // ===================================================================
18910 
18911 class Ext4GetImpliedClusterAllocExitFtraceEvent::_Internal {
18912  public:
18913   using HasBits = decltype(std::declval<Ext4GetImpliedClusterAllocExitFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)18914   static void set_has_dev(HasBits* has_bits) {
18915     (*has_bits)[0] |= 1u;
18916   }
set_has_flags(HasBits * has_bits)18917   static void set_has_flags(HasBits* has_bits) {
18918     (*has_bits)[0] |= 2u;
18919   }
set_has_lblk(HasBits * has_bits)18920   static void set_has_lblk(HasBits* has_bits) {
18921     (*has_bits)[0] |= 4u;
18922   }
set_has_pblk(HasBits * has_bits)18923   static void set_has_pblk(HasBits* has_bits) {
18924     (*has_bits)[0] |= 8u;
18925   }
set_has_len(HasBits * has_bits)18926   static void set_has_len(HasBits* has_bits) {
18927     (*has_bits)[0] |= 16u;
18928   }
set_has_ret(HasBits * has_bits)18929   static void set_has_ret(HasBits* has_bits) {
18930     (*has_bits)[0] |= 32u;
18931   }
18932 };
18933 
Ext4GetImpliedClusterAllocExitFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)18934 Ext4GetImpliedClusterAllocExitFtraceEvent::Ext4GetImpliedClusterAllocExitFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
18935                          bool is_message_owned)
18936   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
18937   SharedCtor(arena, is_message_owned);
18938   // @@protoc_insertion_point(arena_constructor:perfetto.protos.Ext4GetImpliedClusterAllocExitFtraceEvent)
18939 }
Ext4GetImpliedClusterAllocExitFtraceEvent(const Ext4GetImpliedClusterAllocExitFtraceEvent & from)18940 Ext4GetImpliedClusterAllocExitFtraceEvent::Ext4GetImpliedClusterAllocExitFtraceEvent(const Ext4GetImpliedClusterAllocExitFtraceEvent& from)
18941   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
18942   Ext4GetImpliedClusterAllocExitFtraceEvent* const _this = this; (void)_this;
18943   new (&_impl_) Impl_{
18944       decltype(_impl_._has_bits_){from._impl_._has_bits_}
18945     , /*decltype(_impl_._cached_size_)*/{}
18946     , decltype(_impl_.dev_){}
18947     , decltype(_impl_.flags_){}
18948     , decltype(_impl_.lblk_){}
18949     , decltype(_impl_.pblk_){}
18950     , decltype(_impl_.len_){}
18951     , decltype(_impl_.ret_){}};
18952 
18953   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
18954   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
18955     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.ret_) -
18956     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.ret_));
18957   // @@protoc_insertion_point(copy_constructor:perfetto.protos.Ext4GetImpliedClusterAllocExitFtraceEvent)
18958 }
18959 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)18960 inline void Ext4GetImpliedClusterAllocExitFtraceEvent::SharedCtor(
18961     ::_pb::Arena* arena, bool is_message_owned) {
18962   (void)arena;
18963   (void)is_message_owned;
18964   new (&_impl_) Impl_{
18965       decltype(_impl_._has_bits_){}
18966     , /*decltype(_impl_._cached_size_)*/{}
18967     , decltype(_impl_.dev_){::uint64_t{0u}}
18968     , decltype(_impl_.flags_){0u}
18969     , decltype(_impl_.lblk_){0u}
18970     , decltype(_impl_.pblk_){::uint64_t{0u}}
18971     , decltype(_impl_.len_){0u}
18972     , decltype(_impl_.ret_){0}
18973   };
18974 }
18975 
~Ext4GetImpliedClusterAllocExitFtraceEvent()18976 Ext4GetImpliedClusterAllocExitFtraceEvent::~Ext4GetImpliedClusterAllocExitFtraceEvent() {
18977   // @@protoc_insertion_point(destructor:perfetto.protos.Ext4GetImpliedClusterAllocExitFtraceEvent)
18978   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
18979   (void)arena;
18980     return;
18981   }
18982   SharedDtor();
18983 }
18984 
SharedDtor()18985 inline void Ext4GetImpliedClusterAllocExitFtraceEvent::SharedDtor() {
18986   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
18987 }
18988 
SetCachedSize(int size) const18989 void Ext4GetImpliedClusterAllocExitFtraceEvent::SetCachedSize(int size) const {
18990   _impl_._cached_size_.Set(size);
18991 }
18992 
Clear()18993 void Ext4GetImpliedClusterAllocExitFtraceEvent::Clear() {
18994 // @@protoc_insertion_point(message_clear_start:perfetto.protos.Ext4GetImpliedClusterAllocExitFtraceEvent)
18995   ::uint32_t cached_has_bits = 0;
18996   // Prevent compiler warnings about cached_has_bits being unused
18997   (void) cached_has_bits;
18998 
18999   cached_has_bits = _impl_._has_bits_[0];
19000   if (cached_has_bits & 0x0000003fu) {
19001     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
19002         reinterpret_cast<char*>(&_impl_.ret_) -
19003         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.ret_));
19004   }
19005   _impl_._has_bits_.Clear();
19006   _internal_metadata_.Clear<std::string>();
19007 }
19008 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)19009 const char* Ext4GetImpliedClusterAllocExitFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
19010 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
19011   _Internal::HasBits has_bits{};
19012   while (!ctx->Done(&ptr)) {
19013     ::uint32_t tag;
19014     ptr = ::_pbi::ReadTag(ptr, &tag);
19015     switch (tag >> 3) {
19016       // optional uint64 dev = 1;
19017       case 1:
19018         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
19019           _Internal::set_has_dev(&has_bits);
19020           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
19021           CHK_(ptr);
19022         } else {
19023           goto handle_unusual;
19024         }
19025         continue;
19026       // optional uint32 flags = 2;
19027       case 2:
19028         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
19029           _Internal::set_has_flags(&has_bits);
19030           _impl_.flags_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
19031           CHK_(ptr);
19032         } else {
19033           goto handle_unusual;
19034         }
19035         continue;
19036       // optional uint32 lblk = 3;
19037       case 3:
19038         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
19039           _Internal::set_has_lblk(&has_bits);
19040           _impl_.lblk_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
19041           CHK_(ptr);
19042         } else {
19043           goto handle_unusual;
19044         }
19045         continue;
19046       // optional uint64 pblk = 4;
19047       case 4:
19048         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
19049           _Internal::set_has_pblk(&has_bits);
19050           _impl_.pblk_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
19051           CHK_(ptr);
19052         } else {
19053           goto handle_unusual;
19054         }
19055         continue;
19056       // optional uint32 len = 5;
19057       case 5:
19058         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) {
19059           _Internal::set_has_len(&has_bits);
19060           _impl_.len_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
19061           CHK_(ptr);
19062         } else {
19063           goto handle_unusual;
19064         }
19065         continue;
19066       // optional int32 ret = 6;
19067       case 6:
19068         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 48)) {
19069           _Internal::set_has_ret(&has_bits);
19070           _impl_.ret_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
19071           CHK_(ptr);
19072         } else {
19073           goto handle_unusual;
19074         }
19075         continue;
19076       default:
19077         goto handle_unusual;
19078     }  // switch
19079   handle_unusual:
19080     if ((tag == 0) || ((tag & 7) == 4)) {
19081       CHK_(ptr);
19082       ctx->SetLastTag(tag);
19083       goto message_done;
19084     }
19085     ptr = UnknownFieldParse(
19086         tag,
19087         _internal_metadata_.mutable_unknown_fields<std::string>(),
19088         ptr, ctx);
19089     CHK_(ptr != nullptr);
19090   }  // while
19091 message_done:
19092   _impl_._has_bits_.Or(has_bits);
19093   return ptr;
19094 failure:
19095   ptr = nullptr;
19096   goto message_done;
19097 #undef CHK_
19098 }
19099 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const19100 ::uint8_t* Ext4GetImpliedClusterAllocExitFtraceEvent::_InternalSerialize(
19101     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
19102   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.Ext4GetImpliedClusterAllocExitFtraceEvent)
19103   ::uint32_t cached_has_bits = 0;
19104   (void) cached_has_bits;
19105 
19106   cached_has_bits = _impl_._has_bits_[0];
19107   // optional uint64 dev = 1;
19108   if (cached_has_bits & 0x00000001u) {
19109     target = stream->EnsureSpace(target);
19110     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
19111   }
19112 
19113   // optional uint32 flags = 2;
19114   if (cached_has_bits & 0x00000002u) {
19115     target = stream->EnsureSpace(target);
19116     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_flags(), target);
19117   }
19118 
19119   // optional uint32 lblk = 3;
19120   if (cached_has_bits & 0x00000004u) {
19121     target = stream->EnsureSpace(target);
19122     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_lblk(), target);
19123   }
19124 
19125   // optional uint64 pblk = 4;
19126   if (cached_has_bits & 0x00000008u) {
19127     target = stream->EnsureSpace(target);
19128     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(4, this->_internal_pblk(), target);
19129   }
19130 
19131   // optional uint32 len = 5;
19132   if (cached_has_bits & 0x00000010u) {
19133     target = stream->EnsureSpace(target);
19134     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_len(), target);
19135   }
19136 
19137   // optional int32 ret = 6;
19138   if (cached_has_bits & 0x00000020u) {
19139     target = stream->EnsureSpace(target);
19140     target = ::_pbi::WireFormatLite::WriteInt32ToArray(6, this->_internal_ret(), target);
19141   }
19142 
19143   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
19144     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
19145         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
19146   }
19147   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.Ext4GetImpliedClusterAllocExitFtraceEvent)
19148   return target;
19149 }
19150 
ByteSizeLong() const19151 size_t Ext4GetImpliedClusterAllocExitFtraceEvent::ByteSizeLong() const {
19152 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.Ext4GetImpliedClusterAllocExitFtraceEvent)
19153   size_t total_size = 0;
19154 
19155   ::uint32_t cached_has_bits = 0;
19156   // Prevent compiler warnings about cached_has_bits being unused
19157   (void) cached_has_bits;
19158 
19159   cached_has_bits = _impl_._has_bits_[0];
19160   if (cached_has_bits & 0x0000003fu) {
19161     // optional uint64 dev = 1;
19162     if (cached_has_bits & 0x00000001u) {
19163       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
19164     }
19165 
19166     // optional uint32 flags = 2;
19167     if (cached_has_bits & 0x00000002u) {
19168       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_flags());
19169     }
19170 
19171     // optional uint32 lblk = 3;
19172     if (cached_has_bits & 0x00000004u) {
19173       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_lblk());
19174     }
19175 
19176     // optional uint64 pblk = 4;
19177     if (cached_has_bits & 0x00000008u) {
19178       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_pblk());
19179     }
19180 
19181     // optional uint32 len = 5;
19182     if (cached_has_bits & 0x00000010u) {
19183       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_len());
19184     }
19185 
19186     // optional int32 ret = 6;
19187     if (cached_has_bits & 0x00000020u) {
19188       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_ret());
19189     }
19190 
19191   }
19192   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
19193     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
19194   }
19195   int cached_size = ::_pbi::ToCachedSize(total_size);
19196   SetCachedSize(cached_size);
19197   return total_size;
19198 }
19199 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)19200 void Ext4GetImpliedClusterAllocExitFtraceEvent::CheckTypeAndMergeFrom(
19201     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
19202   MergeFrom(*::_pbi::DownCast<const Ext4GetImpliedClusterAllocExitFtraceEvent*>(
19203       &from));
19204 }
19205 
MergeFrom(const Ext4GetImpliedClusterAllocExitFtraceEvent & from)19206 void Ext4GetImpliedClusterAllocExitFtraceEvent::MergeFrom(const Ext4GetImpliedClusterAllocExitFtraceEvent& from) {
19207   Ext4GetImpliedClusterAllocExitFtraceEvent* const _this = this;
19208   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.Ext4GetImpliedClusterAllocExitFtraceEvent)
19209   GOOGLE_DCHECK_NE(&from, _this);
19210   ::uint32_t cached_has_bits = 0;
19211   (void) cached_has_bits;
19212 
19213   cached_has_bits = from._impl_._has_bits_[0];
19214   if (cached_has_bits & 0x0000003fu) {
19215     if (cached_has_bits & 0x00000001u) {
19216       _this->_impl_.dev_ = from._impl_.dev_;
19217     }
19218     if (cached_has_bits & 0x00000002u) {
19219       _this->_impl_.flags_ = from._impl_.flags_;
19220     }
19221     if (cached_has_bits & 0x00000004u) {
19222       _this->_impl_.lblk_ = from._impl_.lblk_;
19223     }
19224     if (cached_has_bits & 0x00000008u) {
19225       _this->_impl_.pblk_ = from._impl_.pblk_;
19226     }
19227     if (cached_has_bits & 0x00000010u) {
19228       _this->_impl_.len_ = from._impl_.len_;
19229     }
19230     if (cached_has_bits & 0x00000020u) {
19231       _this->_impl_.ret_ = from._impl_.ret_;
19232     }
19233     _this->_impl_._has_bits_[0] |= cached_has_bits;
19234   }
19235   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
19236 }
19237 
CopyFrom(const Ext4GetImpliedClusterAllocExitFtraceEvent & from)19238 void Ext4GetImpliedClusterAllocExitFtraceEvent::CopyFrom(const Ext4GetImpliedClusterAllocExitFtraceEvent& from) {
19239 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.Ext4GetImpliedClusterAllocExitFtraceEvent)
19240   if (&from == this) return;
19241   Clear();
19242   MergeFrom(from);
19243 }
19244 
IsInitialized() const19245 bool Ext4GetImpliedClusterAllocExitFtraceEvent::IsInitialized() const {
19246   return true;
19247 }
19248 
InternalSwap(Ext4GetImpliedClusterAllocExitFtraceEvent * other)19249 void Ext4GetImpliedClusterAllocExitFtraceEvent::InternalSwap(Ext4GetImpliedClusterAllocExitFtraceEvent* other) {
19250   using std::swap;
19251   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
19252   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
19253   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
19254       PROTOBUF_FIELD_OFFSET(Ext4GetImpliedClusterAllocExitFtraceEvent, _impl_.ret_)
19255       + sizeof(Ext4GetImpliedClusterAllocExitFtraceEvent::_impl_.ret_)  // NOLINT
19256       - PROTOBUF_FIELD_OFFSET(Ext4GetImpliedClusterAllocExitFtraceEvent, _impl_.dev_)>(
19257           reinterpret_cast<char*>(&_impl_.dev_),
19258           reinterpret_cast<char*>(&other->_impl_.dev_));
19259 }
19260 
GetTypeName() const19261 std::string Ext4GetImpliedClusterAllocExitFtraceEvent::GetTypeName() const {
19262   return "perfetto.protos.Ext4GetImpliedClusterAllocExitFtraceEvent";
19263 }
19264 
19265 
19266 // ===================================================================
19267 
19268 class Ext4GetReservedClusterAllocFtraceEvent::_Internal {
19269  public:
19270   using HasBits = decltype(std::declval<Ext4GetReservedClusterAllocFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)19271   static void set_has_dev(HasBits* has_bits) {
19272     (*has_bits)[0] |= 1u;
19273   }
set_has_ino(HasBits * has_bits)19274   static void set_has_ino(HasBits* has_bits) {
19275     (*has_bits)[0] |= 2u;
19276   }
set_has_lblk(HasBits * has_bits)19277   static void set_has_lblk(HasBits* has_bits) {
19278     (*has_bits)[0] |= 4u;
19279   }
set_has_len(HasBits * has_bits)19280   static void set_has_len(HasBits* has_bits) {
19281     (*has_bits)[0] |= 8u;
19282   }
19283 };
19284 
Ext4GetReservedClusterAllocFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)19285 Ext4GetReservedClusterAllocFtraceEvent::Ext4GetReservedClusterAllocFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
19286                          bool is_message_owned)
19287   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
19288   SharedCtor(arena, is_message_owned);
19289   // @@protoc_insertion_point(arena_constructor:perfetto.protos.Ext4GetReservedClusterAllocFtraceEvent)
19290 }
Ext4GetReservedClusterAllocFtraceEvent(const Ext4GetReservedClusterAllocFtraceEvent & from)19291 Ext4GetReservedClusterAllocFtraceEvent::Ext4GetReservedClusterAllocFtraceEvent(const Ext4GetReservedClusterAllocFtraceEvent& from)
19292   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
19293   Ext4GetReservedClusterAllocFtraceEvent* const _this = this; (void)_this;
19294   new (&_impl_) Impl_{
19295       decltype(_impl_._has_bits_){from._impl_._has_bits_}
19296     , /*decltype(_impl_._cached_size_)*/{}
19297     , decltype(_impl_.dev_){}
19298     , decltype(_impl_.ino_){}
19299     , decltype(_impl_.lblk_){}
19300     , decltype(_impl_.len_){}};
19301 
19302   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
19303   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
19304     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.len_) -
19305     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.len_));
19306   // @@protoc_insertion_point(copy_constructor:perfetto.protos.Ext4GetReservedClusterAllocFtraceEvent)
19307 }
19308 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)19309 inline void Ext4GetReservedClusterAllocFtraceEvent::SharedCtor(
19310     ::_pb::Arena* arena, bool is_message_owned) {
19311   (void)arena;
19312   (void)is_message_owned;
19313   new (&_impl_) Impl_{
19314       decltype(_impl_._has_bits_){}
19315     , /*decltype(_impl_._cached_size_)*/{}
19316     , decltype(_impl_.dev_){::uint64_t{0u}}
19317     , decltype(_impl_.ino_){::uint64_t{0u}}
19318     , decltype(_impl_.lblk_){0u}
19319     , decltype(_impl_.len_){0u}
19320   };
19321 }
19322 
~Ext4GetReservedClusterAllocFtraceEvent()19323 Ext4GetReservedClusterAllocFtraceEvent::~Ext4GetReservedClusterAllocFtraceEvent() {
19324   // @@protoc_insertion_point(destructor:perfetto.protos.Ext4GetReservedClusterAllocFtraceEvent)
19325   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
19326   (void)arena;
19327     return;
19328   }
19329   SharedDtor();
19330 }
19331 
SharedDtor()19332 inline void Ext4GetReservedClusterAllocFtraceEvent::SharedDtor() {
19333   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
19334 }
19335 
SetCachedSize(int size) const19336 void Ext4GetReservedClusterAllocFtraceEvent::SetCachedSize(int size) const {
19337   _impl_._cached_size_.Set(size);
19338 }
19339 
Clear()19340 void Ext4GetReservedClusterAllocFtraceEvent::Clear() {
19341 // @@protoc_insertion_point(message_clear_start:perfetto.protos.Ext4GetReservedClusterAllocFtraceEvent)
19342   ::uint32_t cached_has_bits = 0;
19343   // Prevent compiler warnings about cached_has_bits being unused
19344   (void) cached_has_bits;
19345 
19346   cached_has_bits = _impl_._has_bits_[0];
19347   if (cached_has_bits & 0x0000000fu) {
19348     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
19349         reinterpret_cast<char*>(&_impl_.len_) -
19350         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.len_));
19351   }
19352   _impl_._has_bits_.Clear();
19353   _internal_metadata_.Clear<std::string>();
19354 }
19355 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)19356 const char* Ext4GetReservedClusterAllocFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
19357 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
19358   _Internal::HasBits has_bits{};
19359   while (!ctx->Done(&ptr)) {
19360     ::uint32_t tag;
19361     ptr = ::_pbi::ReadTag(ptr, &tag);
19362     switch (tag >> 3) {
19363       // optional uint64 dev = 1;
19364       case 1:
19365         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
19366           _Internal::set_has_dev(&has_bits);
19367           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
19368           CHK_(ptr);
19369         } else {
19370           goto handle_unusual;
19371         }
19372         continue;
19373       // optional uint64 ino = 2;
19374       case 2:
19375         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
19376           _Internal::set_has_ino(&has_bits);
19377           _impl_.ino_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
19378           CHK_(ptr);
19379         } else {
19380           goto handle_unusual;
19381         }
19382         continue;
19383       // optional uint32 lblk = 3;
19384       case 3:
19385         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
19386           _Internal::set_has_lblk(&has_bits);
19387           _impl_.lblk_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
19388           CHK_(ptr);
19389         } else {
19390           goto handle_unusual;
19391         }
19392         continue;
19393       // optional uint32 len = 4;
19394       case 4:
19395         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
19396           _Internal::set_has_len(&has_bits);
19397           _impl_.len_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
19398           CHK_(ptr);
19399         } else {
19400           goto handle_unusual;
19401         }
19402         continue;
19403       default:
19404         goto handle_unusual;
19405     }  // switch
19406   handle_unusual:
19407     if ((tag == 0) || ((tag & 7) == 4)) {
19408       CHK_(ptr);
19409       ctx->SetLastTag(tag);
19410       goto message_done;
19411     }
19412     ptr = UnknownFieldParse(
19413         tag,
19414         _internal_metadata_.mutable_unknown_fields<std::string>(),
19415         ptr, ctx);
19416     CHK_(ptr != nullptr);
19417   }  // while
19418 message_done:
19419   _impl_._has_bits_.Or(has_bits);
19420   return ptr;
19421 failure:
19422   ptr = nullptr;
19423   goto message_done;
19424 #undef CHK_
19425 }
19426 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const19427 ::uint8_t* Ext4GetReservedClusterAllocFtraceEvent::_InternalSerialize(
19428     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
19429   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.Ext4GetReservedClusterAllocFtraceEvent)
19430   ::uint32_t cached_has_bits = 0;
19431   (void) cached_has_bits;
19432 
19433   cached_has_bits = _impl_._has_bits_[0];
19434   // optional uint64 dev = 1;
19435   if (cached_has_bits & 0x00000001u) {
19436     target = stream->EnsureSpace(target);
19437     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
19438   }
19439 
19440   // optional uint64 ino = 2;
19441   if (cached_has_bits & 0x00000002u) {
19442     target = stream->EnsureSpace(target);
19443     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_ino(), target);
19444   }
19445 
19446   // optional uint32 lblk = 3;
19447   if (cached_has_bits & 0x00000004u) {
19448     target = stream->EnsureSpace(target);
19449     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_lblk(), target);
19450   }
19451 
19452   // optional uint32 len = 4;
19453   if (cached_has_bits & 0x00000008u) {
19454     target = stream->EnsureSpace(target);
19455     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_len(), target);
19456   }
19457 
19458   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
19459     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
19460         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
19461   }
19462   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.Ext4GetReservedClusterAllocFtraceEvent)
19463   return target;
19464 }
19465 
ByteSizeLong() const19466 size_t Ext4GetReservedClusterAllocFtraceEvent::ByteSizeLong() const {
19467 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.Ext4GetReservedClusterAllocFtraceEvent)
19468   size_t total_size = 0;
19469 
19470   ::uint32_t cached_has_bits = 0;
19471   // Prevent compiler warnings about cached_has_bits being unused
19472   (void) cached_has_bits;
19473 
19474   cached_has_bits = _impl_._has_bits_[0];
19475   if (cached_has_bits & 0x0000000fu) {
19476     // optional uint64 dev = 1;
19477     if (cached_has_bits & 0x00000001u) {
19478       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
19479     }
19480 
19481     // optional uint64 ino = 2;
19482     if (cached_has_bits & 0x00000002u) {
19483       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ino());
19484     }
19485 
19486     // optional uint32 lblk = 3;
19487     if (cached_has_bits & 0x00000004u) {
19488       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_lblk());
19489     }
19490 
19491     // optional uint32 len = 4;
19492     if (cached_has_bits & 0x00000008u) {
19493       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_len());
19494     }
19495 
19496   }
19497   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
19498     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
19499   }
19500   int cached_size = ::_pbi::ToCachedSize(total_size);
19501   SetCachedSize(cached_size);
19502   return total_size;
19503 }
19504 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)19505 void Ext4GetReservedClusterAllocFtraceEvent::CheckTypeAndMergeFrom(
19506     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
19507   MergeFrom(*::_pbi::DownCast<const Ext4GetReservedClusterAllocFtraceEvent*>(
19508       &from));
19509 }
19510 
MergeFrom(const Ext4GetReservedClusterAllocFtraceEvent & from)19511 void Ext4GetReservedClusterAllocFtraceEvent::MergeFrom(const Ext4GetReservedClusterAllocFtraceEvent& from) {
19512   Ext4GetReservedClusterAllocFtraceEvent* const _this = this;
19513   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.Ext4GetReservedClusterAllocFtraceEvent)
19514   GOOGLE_DCHECK_NE(&from, _this);
19515   ::uint32_t cached_has_bits = 0;
19516   (void) cached_has_bits;
19517 
19518   cached_has_bits = from._impl_._has_bits_[0];
19519   if (cached_has_bits & 0x0000000fu) {
19520     if (cached_has_bits & 0x00000001u) {
19521       _this->_impl_.dev_ = from._impl_.dev_;
19522     }
19523     if (cached_has_bits & 0x00000002u) {
19524       _this->_impl_.ino_ = from._impl_.ino_;
19525     }
19526     if (cached_has_bits & 0x00000004u) {
19527       _this->_impl_.lblk_ = from._impl_.lblk_;
19528     }
19529     if (cached_has_bits & 0x00000008u) {
19530       _this->_impl_.len_ = from._impl_.len_;
19531     }
19532     _this->_impl_._has_bits_[0] |= cached_has_bits;
19533   }
19534   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
19535 }
19536 
CopyFrom(const Ext4GetReservedClusterAllocFtraceEvent & from)19537 void Ext4GetReservedClusterAllocFtraceEvent::CopyFrom(const Ext4GetReservedClusterAllocFtraceEvent& from) {
19538 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.Ext4GetReservedClusterAllocFtraceEvent)
19539   if (&from == this) return;
19540   Clear();
19541   MergeFrom(from);
19542 }
19543 
IsInitialized() const19544 bool Ext4GetReservedClusterAllocFtraceEvent::IsInitialized() const {
19545   return true;
19546 }
19547 
InternalSwap(Ext4GetReservedClusterAllocFtraceEvent * other)19548 void Ext4GetReservedClusterAllocFtraceEvent::InternalSwap(Ext4GetReservedClusterAllocFtraceEvent* other) {
19549   using std::swap;
19550   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
19551   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
19552   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
19553       PROTOBUF_FIELD_OFFSET(Ext4GetReservedClusterAllocFtraceEvent, _impl_.len_)
19554       + sizeof(Ext4GetReservedClusterAllocFtraceEvent::_impl_.len_)  // NOLINT
19555       - PROTOBUF_FIELD_OFFSET(Ext4GetReservedClusterAllocFtraceEvent, _impl_.dev_)>(
19556           reinterpret_cast<char*>(&_impl_.dev_),
19557           reinterpret_cast<char*>(&other->_impl_.dev_));
19558 }
19559 
GetTypeName() const19560 std::string Ext4GetReservedClusterAllocFtraceEvent::GetTypeName() const {
19561   return "perfetto.protos.Ext4GetReservedClusterAllocFtraceEvent";
19562 }
19563 
19564 
19565 // ===================================================================
19566 
19567 class Ext4IndMapBlocksEnterFtraceEvent::_Internal {
19568  public:
19569   using HasBits = decltype(std::declval<Ext4IndMapBlocksEnterFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)19570   static void set_has_dev(HasBits* has_bits) {
19571     (*has_bits)[0] |= 1u;
19572   }
set_has_ino(HasBits * has_bits)19573   static void set_has_ino(HasBits* has_bits) {
19574     (*has_bits)[0] |= 2u;
19575   }
set_has_lblk(HasBits * has_bits)19576   static void set_has_lblk(HasBits* has_bits) {
19577     (*has_bits)[0] |= 4u;
19578   }
set_has_len(HasBits * has_bits)19579   static void set_has_len(HasBits* has_bits) {
19580     (*has_bits)[0] |= 8u;
19581   }
set_has_flags(HasBits * has_bits)19582   static void set_has_flags(HasBits* has_bits) {
19583     (*has_bits)[0] |= 16u;
19584   }
19585 };
19586 
Ext4IndMapBlocksEnterFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)19587 Ext4IndMapBlocksEnterFtraceEvent::Ext4IndMapBlocksEnterFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
19588                          bool is_message_owned)
19589   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
19590   SharedCtor(arena, is_message_owned);
19591   // @@protoc_insertion_point(arena_constructor:perfetto.protos.Ext4IndMapBlocksEnterFtraceEvent)
19592 }
Ext4IndMapBlocksEnterFtraceEvent(const Ext4IndMapBlocksEnterFtraceEvent & from)19593 Ext4IndMapBlocksEnterFtraceEvent::Ext4IndMapBlocksEnterFtraceEvent(const Ext4IndMapBlocksEnterFtraceEvent& from)
19594   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
19595   Ext4IndMapBlocksEnterFtraceEvent* const _this = this; (void)_this;
19596   new (&_impl_) Impl_{
19597       decltype(_impl_._has_bits_){from._impl_._has_bits_}
19598     , /*decltype(_impl_._cached_size_)*/{}
19599     , decltype(_impl_.dev_){}
19600     , decltype(_impl_.ino_){}
19601     , decltype(_impl_.lblk_){}
19602     , decltype(_impl_.len_){}
19603     , decltype(_impl_.flags_){}};
19604 
19605   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
19606   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
19607     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.flags_) -
19608     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.flags_));
19609   // @@protoc_insertion_point(copy_constructor:perfetto.protos.Ext4IndMapBlocksEnterFtraceEvent)
19610 }
19611 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)19612 inline void Ext4IndMapBlocksEnterFtraceEvent::SharedCtor(
19613     ::_pb::Arena* arena, bool is_message_owned) {
19614   (void)arena;
19615   (void)is_message_owned;
19616   new (&_impl_) Impl_{
19617       decltype(_impl_._has_bits_){}
19618     , /*decltype(_impl_._cached_size_)*/{}
19619     , decltype(_impl_.dev_){::uint64_t{0u}}
19620     , decltype(_impl_.ino_){::uint64_t{0u}}
19621     , decltype(_impl_.lblk_){0u}
19622     , decltype(_impl_.len_){0u}
19623     , decltype(_impl_.flags_){0u}
19624   };
19625 }
19626 
~Ext4IndMapBlocksEnterFtraceEvent()19627 Ext4IndMapBlocksEnterFtraceEvent::~Ext4IndMapBlocksEnterFtraceEvent() {
19628   // @@protoc_insertion_point(destructor:perfetto.protos.Ext4IndMapBlocksEnterFtraceEvent)
19629   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
19630   (void)arena;
19631     return;
19632   }
19633   SharedDtor();
19634 }
19635 
SharedDtor()19636 inline void Ext4IndMapBlocksEnterFtraceEvent::SharedDtor() {
19637   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
19638 }
19639 
SetCachedSize(int size) const19640 void Ext4IndMapBlocksEnterFtraceEvent::SetCachedSize(int size) const {
19641   _impl_._cached_size_.Set(size);
19642 }
19643 
Clear()19644 void Ext4IndMapBlocksEnterFtraceEvent::Clear() {
19645 // @@protoc_insertion_point(message_clear_start:perfetto.protos.Ext4IndMapBlocksEnterFtraceEvent)
19646   ::uint32_t cached_has_bits = 0;
19647   // Prevent compiler warnings about cached_has_bits being unused
19648   (void) cached_has_bits;
19649 
19650   cached_has_bits = _impl_._has_bits_[0];
19651   if (cached_has_bits & 0x0000001fu) {
19652     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
19653         reinterpret_cast<char*>(&_impl_.flags_) -
19654         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.flags_));
19655   }
19656   _impl_._has_bits_.Clear();
19657   _internal_metadata_.Clear<std::string>();
19658 }
19659 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)19660 const char* Ext4IndMapBlocksEnterFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
19661 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
19662   _Internal::HasBits has_bits{};
19663   while (!ctx->Done(&ptr)) {
19664     ::uint32_t tag;
19665     ptr = ::_pbi::ReadTag(ptr, &tag);
19666     switch (tag >> 3) {
19667       // optional uint64 dev = 1;
19668       case 1:
19669         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
19670           _Internal::set_has_dev(&has_bits);
19671           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
19672           CHK_(ptr);
19673         } else {
19674           goto handle_unusual;
19675         }
19676         continue;
19677       // optional uint64 ino = 2;
19678       case 2:
19679         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
19680           _Internal::set_has_ino(&has_bits);
19681           _impl_.ino_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
19682           CHK_(ptr);
19683         } else {
19684           goto handle_unusual;
19685         }
19686         continue;
19687       // optional uint32 lblk = 3;
19688       case 3:
19689         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
19690           _Internal::set_has_lblk(&has_bits);
19691           _impl_.lblk_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
19692           CHK_(ptr);
19693         } else {
19694           goto handle_unusual;
19695         }
19696         continue;
19697       // optional uint32 len = 4;
19698       case 4:
19699         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
19700           _Internal::set_has_len(&has_bits);
19701           _impl_.len_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
19702           CHK_(ptr);
19703         } else {
19704           goto handle_unusual;
19705         }
19706         continue;
19707       // optional uint32 flags = 5;
19708       case 5:
19709         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) {
19710           _Internal::set_has_flags(&has_bits);
19711           _impl_.flags_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
19712           CHK_(ptr);
19713         } else {
19714           goto handle_unusual;
19715         }
19716         continue;
19717       default:
19718         goto handle_unusual;
19719     }  // switch
19720   handle_unusual:
19721     if ((tag == 0) || ((tag & 7) == 4)) {
19722       CHK_(ptr);
19723       ctx->SetLastTag(tag);
19724       goto message_done;
19725     }
19726     ptr = UnknownFieldParse(
19727         tag,
19728         _internal_metadata_.mutable_unknown_fields<std::string>(),
19729         ptr, ctx);
19730     CHK_(ptr != nullptr);
19731   }  // while
19732 message_done:
19733   _impl_._has_bits_.Or(has_bits);
19734   return ptr;
19735 failure:
19736   ptr = nullptr;
19737   goto message_done;
19738 #undef CHK_
19739 }
19740 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const19741 ::uint8_t* Ext4IndMapBlocksEnterFtraceEvent::_InternalSerialize(
19742     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
19743   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.Ext4IndMapBlocksEnterFtraceEvent)
19744   ::uint32_t cached_has_bits = 0;
19745   (void) cached_has_bits;
19746 
19747   cached_has_bits = _impl_._has_bits_[0];
19748   // optional uint64 dev = 1;
19749   if (cached_has_bits & 0x00000001u) {
19750     target = stream->EnsureSpace(target);
19751     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
19752   }
19753 
19754   // optional uint64 ino = 2;
19755   if (cached_has_bits & 0x00000002u) {
19756     target = stream->EnsureSpace(target);
19757     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_ino(), target);
19758   }
19759 
19760   // optional uint32 lblk = 3;
19761   if (cached_has_bits & 0x00000004u) {
19762     target = stream->EnsureSpace(target);
19763     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_lblk(), target);
19764   }
19765 
19766   // optional uint32 len = 4;
19767   if (cached_has_bits & 0x00000008u) {
19768     target = stream->EnsureSpace(target);
19769     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_len(), target);
19770   }
19771 
19772   // optional uint32 flags = 5;
19773   if (cached_has_bits & 0x00000010u) {
19774     target = stream->EnsureSpace(target);
19775     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_flags(), target);
19776   }
19777 
19778   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
19779     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
19780         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
19781   }
19782   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.Ext4IndMapBlocksEnterFtraceEvent)
19783   return target;
19784 }
19785 
ByteSizeLong() const19786 size_t Ext4IndMapBlocksEnterFtraceEvent::ByteSizeLong() const {
19787 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.Ext4IndMapBlocksEnterFtraceEvent)
19788   size_t total_size = 0;
19789 
19790   ::uint32_t cached_has_bits = 0;
19791   // Prevent compiler warnings about cached_has_bits being unused
19792   (void) cached_has_bits;
19793 
19794   cached_has_bits = _impl_._has_bits_[0];
19795   if (cached_has_bits & 0x0000001fu) {
19796     // optional uint64 dev = 1;
19797     if (cached_has_bits & 0x00000001u) {
19798       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
19799     }
19800 
19801     // optional uint64 ino = 2;
19802     if (cached_has_bits & 0x00000002u) {
19803       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ino());
19804     }
19805 
19806     // optional uint32 lblk = 3;
19807     if (cached_has_bits & 0x00000004u) {
19808       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_lblk());
19809     }
19810 
19811     // optional uint32 len = 4;
19812     if (cached_has_bits & 0x00000008u) {
19813       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_len());
19814     }
19815 
19816     // optional uint32 flags = 5;
19817     if (cached_has_bits & 0x00000010u) {
19818       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_flags());
19819     }
19820 
19821   }
19822   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
19823     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
19824   }
19825   int cached_size = ::_pbi::ToCachedSize(total_size);
19826   SetCachedSize(cached_size);
19827   return total_size;
19828 }
19829 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)19830 void Ext4IndMapBlocksEnterFtraceEvent::CheckTypeAndMergeFrom(
19831     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
19832   MergeFrom(*::_pbi::DownCast<const Ext4IndMapBlocksEnterFtraceEvent*>(
19833       &from));
19834 }
19835 
MergeFrom(const Ext4IndMapBlocksEnterFtraceEvent & from)19836 void Ext4IndMapBlocksEnterFtraceEvent::MergeFrom(const Ext4IndMapBlocksEnterFtraceEvent& from) {
19837   Ext4IndMapBlocksEnterFtraceEvent* const _this = this;
19838   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.Ext4IndMapBlocksEnterFtraceEvent)
19839   GOOGLE_DCHECK_NE(&from, _this);
19840   ::uint32_t cached_has_bits = 0;
19841   (void) cached_has_bits;
19842 
19843   cached_has_bits = from._impl_._has_bits_[0];
19844   if (cached_has_bits & 0x0000001fu) {
19845     if (cached_has_bits & 0x00000001u) {
19846       _this->_impl_.dev_ = from._impl_.dev_;
19847     }
19848     if (cached_has_bits & 0x00000002u) {
19849       _this->_impl_.ino_ = from._impl_.ino_;
19850     }
19851     if (cached_has_bits & 0x00000004u) {
19852       _this->_impl_.lblk_ = from._impl_.lblk_;
19853     }
19854     if (cached_has_bits & 0x00000008u) {
19855       _this->_impl_.len_ = from._impl_.len_;
19856     }
19857     if (cached_has_bits & 0x00000010u) {
19858       _this->_impl_.flags_ = from._impl_.flags_;
19859     }
19860     _this->_impl_._has_bits_[0] |= cached_has_bits;
19861   }
19862   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
19863 }
19864 
CopyFrom(const Ext4IndMapBlocksEnterFtraceEvent & from)19865 void Ext4IndMapBlocksEnterFtraceEvent::CopyFrom(const Ext4IndMapBlocksEnterFtraceEvent& from) {
19866 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.Ext4IndMapBlocksEnterFtraceEvent)
19867   if (&from == this) return;
19868   Clear();
19869   MergeFrom(from);
19870 }
19871 
IsInitialized() const19872 bool Ext4IndMapBlocksEnterFtraceEvent::IsInitialized() const {
19873   return true;
19874 }
19875 
InternalSwap(Ext4IndMapBlocksEnterFtraceEvent * other)19876 void Ext4IndMapBlocksEnterFtraceEvent::InternalSwap(Ext4IndMapBlocksEnterFtraceEvent* other) {
19877   using std::swap;
19878   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
19879   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
19880   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
19881       PROTOBUF_FIELD_OFFSET(Ext4IndMapBlocksEnterFtraceEvent, _impl_.flags_)
19882       + sizeof(Ext4IndMapBlocksEnterFtraceEvent::_impl_.flags_)  // NOLINT
19883       - PROTOBUF_FIELD_OFFSET(Ext4IndMapBlocksEnterFtraceEvent, _impl_.dev_)>(
19884           reinterpret_cast<char*>(&_impl_.dev_),
19885           reinterpret_cast<char*>(&other->_impl_.dev_));
19886 }
19887 
GetTypeName() const19888 std::string Ext4IndMapBlocksEnterFtraceEvent::GetTypeName() const {
19889   return "perfetto.protos.Ext4IndMapBlocksEnterFtraceEvent";
19890 }
19891 
19892 
19893 // ===================================================================
19894 
19895 class Ext4IndMapBlocksExitFtraceEvent::_Internal {
19896  public:
19897   using HasBits = decltype(std::declval<Ext4IndMapBlocksExitFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)19898   static void set_has_dev(HasBits* has_bits) {
19899     (*has_bits)[0] |= 1u;
19900   }
set_has_ino(HasBits * has_bits)19901   static void set_has_ino(HasBits* has_bits) {
19902     (*has_bits)[0] |= 2u;
19903   }
set_has_flags(HasBits * has_bits)19904   static void set_has_flags(HasBits* has_bits) {
19905     (*has_bits)[0] |= 8u;
19906   }
set_has_pblk(HasBits * has_bits)19907   static void set_has_pblk(HasBits* has_bits) {
19908     (*has_bits)[0] |= 4u;
19909   }
set_has_lblk(HasBits * has_bits)19910   static void set_has_lblk(HasBits* has_bits) {
19911     (*has_bits)[0] |= 16u;
19912   }
set_has_len(HasBits * has_bits)19913   static void set_has_len(HasBits* has_bits) {
19914     (*has_bits)[0] |= 32u;
19915   }
set_has_mflags(HasBits * has_bits)19916   static void set_has_mflags(HasBits* has_bits) {
19917     (*has_bits)[0] |= 64u;
19918   }
set_has_ret(HasBits * has_bits)19919   static void set_has_ret(HasBits* has_bits) {
19920     (*has_bits)[0] |= 128u;
19921   }
19922 };
19923 
Ext4IndMapBlocksExitFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)19924 Ext4IndMapBlocksExitFtraceEvent::Ext4IndMapBlocksExitFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
19925                          bool is_message_owned)
19926   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
19927   SharedCtor(arena, is_message_owned);
19928   // @@protoc_insertion_point(arena_constructor:perfetto.protos.Ext4IndMapBlocksExitFtraceEvent)
19929 }
Ext4IndMapBlocksExitFtraceEvent(const Ext4IndMapBlocksExitFtraceEvent & from)19930 Ext4IndMapBlocksExitFtraceEvent::Ext4IndMapBlocksExitFtraceEvent(const Ext4IndMapBlocksExitFtraceEvent& from)
19931   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
19932   Ext4IndMapBlocksExitFtraceEvent* const _this = this; (void)_this;
19933   new (&_impl_) Impl_{
19934       decltype(_impl_._has_bits_){from._impl_._has_bits_}
19935     , /*decltype(_impl_._cached_size_)*/{}
19936     , decltype(_impl_.dev_){}
19937     , decltype(_impl_.ino_){}
19938     , decltype(_impl_.pblk_){}
19939     , decltype(_impl_.flags_){}
19940     , decltype(_impl_.lblk_){}
19941     , decltype(_impl_.len_){}
19942     , decltype(_impl_.mflags_){}
19943     , decltype(_impl_.ret_){}};
19944 
19945   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
19946   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
19947     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.ret_) -
19948     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.ret_));
19949   // @@protoc_insertion_point(copy_constructor:perfetto.protos.Ext4IndMapBlocksExitFtraceEvent)
19950 }
19951 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)19952 inline void Ext4IndMapBlocksExitFtraceEvent::SharedCtor(
19953     ::_pb::Arena* arena, bool is_message_owned) {
19954   (void)arena;
19955   (void)is_message_owned;
19956   new (&_impl_) Impl_{
19957       decltype(_impl_._has_bits_){}
19958     , /*decltype(_impl_._cached_size_)*/{}
19959     , decltype(_impl_.dev_){::uint64_t{0u}}
19960     , decltype(_impl_.ino_){::uint64_t{0u}}
19961     , decltype(_impl_.pblk_){::uint64_t{0u}}
19962     , decltype(_impl_.flags_){0u}
19963     , decltype(_impl_.lblk_){0u}
19964     , decltype(_impl_.len_){0u}
19965     , decltype(_impl_.mflags_){0u}
19966     , decltype(_impl_.ret_){0}
19967   };
19968 }
19969 
~Ext4IndMapBlocksExitFtraceEvent()19970 Ext4IndMapBlocksExitFtraceEvent::~Ext4IndMapBlocksExitFtraceEvent() {
19971   // @@protoc_insertion_point(destructor:perfetto.protos.Ext4IndMapBlocksExitFtraceEvent)
19972   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
19973   (void)arena;
19974     return;
19975   }
19976   SharedDtor();
19977 }
19978 
SharedDtor()19979 inline void Ext4IndMapBlocksExitFtraceEvent::SharedDtor() {
19980   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
19981 }
19982 
SetCachedSize(int size) const19983 void Ext4IndMapBlocksExitFtraceEvent::SetCachedSize(int size) const {
19984   _impl_._cached_size_.Set(size);
19985 }
19986 
Clear()19987 void Ext4IndMapBlocksExitFtraceEvent::Clear() {
19988 // @@protoc_insertion_point(message_clear_start:perfetto.protos.Ext4IndMapBlocksExitFtraceEvent)
19989   ::uint32_t cached_has_bits = 0;
19990   // Prevent compiler warnings about cached_has_bits being unused
19991   (void) cached_has_bits;
19992 
19993   cached_has_bits = _impl_._has_bits_[0];
19994   if (cached_has_bits & 0x000000ffu) {
19995     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
19996         reinterpret_cast<char*>(&_impl_.ret_) -
19997         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.ret_));
19998   }
19999   _impl_._has_bits_.Clear();
20000   _internal_metadata_.Clear<std::string>();
20001 }
20002 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)20003 const char* Ext4IndMapBlocksExitFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
20004 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
20005   _Internal::HasBits has_bits{};
20006   while (!ctx->Done(&ptr)) {
20007     ::uint32_t tag;
20008     ptr = ::_pbi::ReadTag(ptr, &tag);
20009     switch (tag >> 3) {
20010       // optional uint64 dev = 1;
20011       case 1:
20012         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
20013           _Internal::set_has_dev(&has_bits);
20014           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
20015           CHK_(ptr);
20016         } else {
20017           goto handle_unusual;
20018         }
20019         continue;
20020       // optional uint64 ino = 2;
20021       case 2:
20022         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
20023           _Internal::set_has_ino(&has_bits);
20024           _impl_.ino_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
20025           CHK_(ptr);
20026         } else {
20027           goto handle_unusual;
20028         }
20029         continue;
20030       // optional uint32 flags = 3;
20031       case 3:
20032         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
20033           _Internal::set_has_flags(&has_bits);
20034           _impl_.flags_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
20035           CHK_(ptr);
20036         } else {
20037           goto handle_unusual;
20038         }
20039         continue;
20040       // optional uint64 pblk = 4;
20041       case 4:
20042         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
20043           _Internal::set_has_pblk(&has_bits);
20044           _impl_.pblk_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
20045           CHK_(ptr);
20046         } else {
20047           goto handle_unusual;
20048         }
20049         continue;
20050       // optional uint32 lblk = 5;
20051       case 5:
20052         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) {
20053           _Internal::set_has_lblk(&has_bits);
20054           _impl_.lblk_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
20055           CHK_(ptr);
20056         } else {
20057           goto handle_unusual;
20058         }
20059         continue;
20060       // optional uint32 len = 6;
20061       case 6:
20062         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 48)) {
20063           _Internal::set_has_len(&has_bits);
20064           _impl_.len_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
20065           CHK_(ptr);
20066         } else {
20067           goto handle_unusual;
20068         }
20069         continue;
20070       // optional uint32 mflags = 7;
20071       case 7:
20072         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 56)) {
20073           _Internal::set_has_mflags(&has_bits);
20074           _impl_.mflags_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
20075           CHK_(ptr);
20076         } else {
20077           goto handle_unusual;
20078         }
20079         continue;
20080       // optional int32 ret = 8;
20081       case 8:
20082         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 64)) {
20083           _Internal::set_has_ret(&has_bits);
20084           _impl_.ret_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
20085           CHK_(ptr);
20086         } else {
20087           goto handle_unusual;
20088         }
20089         continue;
20090       default:
20091         goto handle_unusual;
20092     }  // switch
20093   handle_unusual:
20094     if ((tag == 0) || ((tag & 7) == 4)) {
20095       CHK_(ptr);
20096       ctx->SetLastTag(tag);
20097       goto message_done;
20098     }
20099     ptr = UnknownFieldParse(
20100         tag,
20101         _internal_metadata_.mutable_unknown_fields<std::string>(),
20102         ptr, ctx);
20103     CHK_(ptr != nullptr);
20104   }  // while
20105 message_done:
20106   _impl_._has_bits_.Or(has_bits);
20107   return ptr;
20108 failure:
20109   ptr = nullptr;
20110   goto message_done;
20111 #undef CHK_
20112 }
20113 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const20114 ::uint8_t* Ext4IndMapBlocksExitFtraceEvent::_InternalSerialize(
20115     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
20116   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.Ext4IndMapBlocksExitFtraceEvent)
20117   ::uint32_t cached_has_bits = 0;
20118   (void) cached_has_bits;
20119 
20120   cached_has_bits = _impl_._has_bits_[0];
20121   // optional uint64 dev = 1;
20122   if (cached_has_bits & 0x00000001u) {
20123     target = stream->EnsureSpace(target);
20124     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
20125   }
20126 
20127   // optional uint64 ino = 2;
20128   if (cached_has_bits & 0x00000002u) {
20129     target = stream->EnsureSpace(target);
20130     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_ino(), target);
20131   }
20132 
20133   // optional uint32 flags = 3;
20134   if (cached_has_bits & 0x00000008u) {
20135     target = stream->EnsureSpace(target);
20136     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_flags(), target);
20137   }
20138 
20139   // optional uint64 pblk = 4;
20140   if (cached_has_bits & 0x00000004u) {
20141     target = stream->EnsureSpace(target);
20142     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(4, this->_internal_pblk(), target);
20143   }
20144 
20145   // optional uint32 lblk = 5;
20146   if (cached_has_bits & 0x00000010u) {
20147     target = stream->EnsureSpace(target);
20148     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_lblk(), target);
20149   }
20150 
20151   // optional uint32 len = 6;
20152   if (cached_has_bits & 0x00000020u) {
20153     target = stream->EnsureSpace(target);
20154     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_len(), target);
20155   }
20156 
20157   // optional uint32 mflags = 7;
20158   if (cached_has_bits & 0x00000040u) {
20159     target = stream->EnsureSpace(target);
20160     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(7, this->_internal_mflags(), target);
20161   }
20162 
20163   // optional int32 ret = 8;
20164   if (cached_has_bits & 0x00000080u) {
20165     target = stream->EnsureSpace(target);
20166     target = ::_pbi::WireFormatLite::WriteInt32ToArray(8, this->_internal_ret(), target);
20167   }
20168 
20169   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
20170     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
20171         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
20172   }
20173   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.Ext4IndMapBlocksExitFtraceEvent)
20174   return target;
20175 }
20176 
ByteSizeLong() const20177 size_t Ext4IndMapBlocksExitFtraceEvent::ByteSizeLong() const {
20178 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.Ext4IndMapBlocksExitFtraceEvent)
20179   size_t total_size = 0;
20180 
20181   ::uint32_t cached_has_bits = 0;
20182   // Prevent compiler warnings about cached_has_bits being unused
20183   (void) cached_has_bits;
20184 
20185   cached_has_bits = _impl_._has_bits_[0];
20186   if (cached_has_bits & 0x000000ffu) {
20187     // optional uint64 dev = 1;
20188     if (cached_has_bits & 0x00000001u) {
20189       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
20190     }
20191 
20192     // optional uint64 ino = 2;
20193     if (cached_has_bits & 0x00000002u) {
20194       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ino());
20195     }
20196 
20197     // optional uint64 pblk = 4;
20198     if (cached_has_bits & 0x00000004u) {
20199       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_pblk());
20200     }
20201 
20202     // optional uint32 flags = 3;
20203     if (cached_has_bits & 0x00000008u) {
20204       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_flags());
20205     }
20206 
20207     // optional uint32 lblk = 5;
20208     if (cached_has_bits & 0x00000010u) {
20209       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_lblk());
20210     }
20211 
20212     // optional uint32 len = 6;
20213     if (cached_has_bits & 0x00000020u) {
20214       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_len());
20215     }
20216 
20217     // optional uint32 mflags = 7;
20218     if (cached_has_bits & 0x00000040u) {
20219       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_mflags());
20220     }
20221 
20222     // optional int32 ret = 8;
20223     if (cached_has_bits & 0x00000080u) {
20224       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_ret());
20225     }
20226 
20227   }
20228   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
20229     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
20230   }
20231   int cached_size = ::_pbi::ToCachedSize(total_size);
20232   SetCachedSize(cached_size);
20233   return total_size;
20234 }
20235 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)20236 void Ext4IndMapBlocksExitFtraceEvent::CheckTypeAndMergeFrom(
20237     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
20238   MergeFrom(*::_pbi::DownCast<const Ext4IndMapBlocksExitFtraceEvent*>(
20239       &from));
20240 }
20241 
MergeFrom(const Ext4IndMapBlocksExitFtraceEvent & from)20242 void Ext4IndMapBlocksExitFtraceEvent::MergeFrom(const Ext4IndMapBlocksExitFtraceEvent& from) {
20243   Ext4IndMapBlocksExitFtraceEvent* const _this = this;
20244   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.Ext4IndMapBlocksExitFtraceEvent)
20245   GOOGLE_DCHECK_NE(&from, _this);
20246   ::uint32_t cached_has_bits = 0;
20247   (void) cached_has_bits;
20248 
20249   cached_has_bits = from._impl_._has_bits_[0];
20250   if (cached_has_bits & 0x000000ffu) {
20251     if (cached_has_bits & 0x00000001u) {
20252       _this->_impl_.dev_ = from._impl_.dev_;
20253     }
20254     if (cached_has_bits & 0x00000002u) {
20255       _this->_impl_.ino_ = from._impl_.ino_;
20256     }
20257     if (cached_has_bits & 0x00000004u) {
20258       _this->_impl_.pblk_ = from._impl_.pblk_;
20259     }
20260     if (cached_has_bits & 0x00000008u) {
20261       _this->_impl_.flags_ = from._impl_.flags_;
20262     }
20263     if (cached_has_bits & 0x00000010u) {
20264       _this->_impl_.lblk_ = from._impl_.lblk_;
20265     }
20266     if (cached_has_bits & 0x00000020u) {
20267       _this->_impl_.len_ = from._impl_.len_;
20268     }
20269     if (cached_has_bits & 0x00000040u) {
20270       _this->_impl_.mflags_ = from._impl_.mflags_;
20271     }
20272     if (cached_has_bits & 0x00000080u) {
20273       _this->_impl_.ret_ = from._impl_.ret_;
20274     }
20275     _this->_impl_._has_bits_[0] |= cached_has_bits;
20276   }
20277   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
20278 }
20279 
CopyFrom(const Ext4IndMapBlocksExitFtraceEvent & from)20280 void Ext4IndMapBlocksExitFtraceEvent::CopyFrom(const Ext4IndMapBlocksExitFtraceEvent& from) {
20281 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.Ext4IndMapBlocksExitFtraceEvent)
20282   if (&from == this) return;
20283   Clear();
20284   MergeFrom(from);
20285 }
20286 
IsInitialized() const20287 bool Ext4IndMapBlocksExitFtraceEvent::IsInitialized() const {
20288   return true;
20289 }
20290 
InternalSwap(Ext4IndMapBlocksExitFtraceEvent * other)20291 void Ext4IndMapBlocksExitFtraceEvent::InternalSwap(Ext4IndMapBlocksExitFtraceEvent* other) {
20292   using std::swap;
20293   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
20294   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
20295   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
20296       PROTOBUF_FIELD_OFFSET(Ext4IndMapBlocksExitFtraceEvent, _impl_.ret_)
20297       + sizeof(Ext4IndMapBlocksExitFtraceEvent::_impl_.ret_)  // NOLINT
20298       - PROTOBUF_FIELD_OFFSET(Ext4IndMapBlocksExitFtraceEvent, _impl_.dev_)>(
20299           reinterpret_cast<char*>(&_impl_.dev_),
20300           reinterpret_cast<char*>(&other->_impl_.dev_));
20301 }
20302 
GetTypeName() const20303 std::string Ext4IndMapBlocksExitFtraceEvent::GetTypeName() const {
20304   return "perfetto.protos.Ext4IndMapBlocksExitFtraceEvent";
20305 }
20306 
20307 
20308 // ===================================================================
20309 
20310 class Ext4InsertRangeFtraceEvent::_Internal {
20311  public:
20312   using HasBits = decltype(std::declval<Ext4InsertRangeFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)20313   static void set_has_dev(HasBits* has_bits) {
20314     (*has_bits)[0] |= 1u;
20315   }
set_has_ino(HasBits * has_bits)20316   static void set_has_ino(HasBits* has_bits) {
20317     (*has_bits)[0] |= 2u;
20318   }
set_has_offset(HasBits * has_bits)20319   static void set_has_offset(HasBits* has_bits) {
20320     (*has_bits)[0] |= 4u;
20321   }
set_has_len(HasBits * has_bits)20322   static void set_has_len(HasBits* has_bits) {
20323     (*has_bits)[0] |= 8u;
20324   }
20325 };
20326 
Ext4InsertRangeFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)20327 Ext4InsertRangeFtraceEvent::Ext4InsertRangeFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
20328                          bool is_message_owned)
20329   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
20330   SharedCtor(arena, is_message_owned);
20331   // @@protoc_insertion_point(arena_constructor:perfetto.protos.Ext4InsertRangeFtraceEvent)
20332 }
Ext4InsertRangeFtraceEvent(const Ext4InsertRangeFtraceEvent & from)20333 Ext4InsertRangeFtraceEvent::Ext4InsertRangeFtraceEvent(const Ext4InsertRangeFtraceEvent& from)
20334   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
20335   Ext4InsertRangeFtraceEvent* const _this = this; (void)_this;
20336   new (&_impl_) Impl_{
20337       decltype(_impl_._has_bits_){from._impl_._has_bits_}
20338     , /*decltype(_impl_._cached_size_)*/{}
20339     , decltype(_impl_.dev_){}
20340     , decltype(_impl_.ino_){}
20341     , decltype(_impl_.offset_){}
20342     , decltype(_impl_.len_){}};
20343 
20344   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
20345   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
20346     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.len_) -
20347     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.len_));
20348   // @@protoc_insertion_point(copy_constructor:perfetto.protos.Ext4InsertRangeFtraceEvent)
20349 }
20350 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)20351 inline void Ext4InsertRangeFtraceEvent::SharedCtor(
20352     ::_pb::Arena* arena, bool is_message_owned) {
20353   (void)arena;
20354   (void)is_message_owned;
20355   new (&_impl_) Impl_{
20356       decltype(_impl_._has_bits_){}
20357     , /*decltype(_impl_._cached_size_)*/{}
20358     , decltype(_impl_.dev_){::uint64_t{0u}}
20359     , decltype(_impl_.ino_){::uint64_t{0u}}
20360     , decltype(_impl_.offset_){::int64_t{0}}
20361     , decltype(_impl_.len_){::int64_t{0}}
20362   };
20363 }
20364 
~Ext4InsertRangeFtraceEvent()20365 Ext4InsertRangeFtraceEvent::~Ext4InsertRangeFtraceEvent() {
20366   // @@protoc_insertion_point(destructor:perfetto.protos.Ext4InsertRangeFtraceEvent)
20367   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
20368   (void)arena;
20369     return;
20370   }
20371   SharedDtor();
20372 }
20373 
SharedDtor()20374 inline void Ext4InsertRangeFtraceEvent::SharedDtor() {
20375   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
20376 }
20377 
SetCachedSize(int size) const20378 void Ext4InsertRangeFtraceEvent::SetCachedSize(int size) const {
20379   _impl_._cached_size_.Set(size);
20380 }
20381 
Clear()20382 void Ext4InsertRangeFtraceEvent::Clear() {
20383 // @@protoc_insertion_point(message_clear_start:perfetto.protos.Ext4InsertRangeFtraceEvent)
20384   ::uint32_t cached_has_bits = 0;
20385   // Prevent compiler warnings about cached_has_bits being unused
20386   (void) cached_has_bits;
20387 
20388   cached_has_bits = _impl_._has_bits_[0];
20389   if (cached_has_bits & 0x0000000fu) {
20390     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
20391         reinterpret_cast<char*>(&_impl_.len_) -
20392         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.len_));
20393   }
20394   _impl_._has_bits_.Clear();
20395   _internal_metadata_.Clear<std::string>();
20396 }
20397 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)20398 const char* Ext4InsertRangeFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
20399 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
20400   _Internal::HasBits has_bits{};
20401   while (!ctx->Done(&ptr)) {
20402     ::uint32_t tag;
20403     ptr = ::_pbi::ReadTag(ptr, &tag);
20404     switch (tag >> 3) {
20405       // optional uint64 dev = 1;
20406       case 1:
20407         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
20408           _Internal::set_has_dev(&has_bits);
20409           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
20410           CHK_(ptr);
20411         } else {
20412           goto handle_unusual;
20413         }
20414         continue;
20415       // optional uint64 ino = 2;
20416       case 2:
20417         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
20418           _Internal::set_has_ino(&has_bits);
20419           _impl_.ino_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
20420           CHK_(ptr);
20421         } else {
20422           goto handle_unusual;
20423         }
20424         continue;
20425       // optional int64 offset = 3;
20426       case 3:
20427         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
20428           _Internal::set_has_offset(&has_bits);
20429           _impl_.offset_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
20430           CHK_(ptr);
20431         } else {
20432           goto handle_unusual;
20433         }
20434         continue;
20435       // optional int64 len = 4;
20436       case 4:
20437         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
20438           _Internal::set_has_len(&has_bits);
20439           _impl_.len_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
20440           CHK_(ptr);
20441         } else {
20442           goto handle_unusual;
20443         }
20444         continue;
20445       default:
20446         goto handle_unusual;
20447     }  // switch
20448   handle_unusual:
20449     if ((tag == 0) || ((tag & 7) == 4)) {
20450       CHK_(ptr);
20451       ctx->SetLastTag(tag);
20452       goto message_done;
20453     }
20454     ptr = UnknownFieldParse(
20455         tag,
20456         _internal_metadata_.mutable_unknown_fields<std::string>(),
20457         ptr, ctx);
20458     CHK_(ptr != nullptr);
20459   }  // while
20460 message_done:
20461   _impl_._has_bits_.Or(has_bits);
20462   return ptr;
20463 failure:
20464   ptr = nullptr;
20465   goto message_done;
20466 #undef CHK_
20467 }
20468 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const20469 ::uint8_t* Ext4InsertRangeFtraceEvent::_InternalSerialize(
20470     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
20471   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.Ext4InsertRangeFtraceEvent)
20472   ::uint32_t cached_has_bits = 0;
20473   (void) cached_has_bits;
20474 
20475   cached_has_bits = _impl_._has_bits_[0];
20476   // optional uint64 dev = 1;
20477   if (cached_has_bits & 0x00000001u) {
20478     target = stream->EnsureSpace(target);
20479     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
20480   }
20481 
20482   // optional uint64 ino = 2;
20483   if (cached_has_bits & 0x00000002u) {
20484     target = stream->EnsureSpace(target);
20485     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_ino(), target);
20486   }
20487 
20488   // optional int64 offset = 3;
20489   if (cached_has_bits & 0x00000004u) {
20490     target = stream->EnsureSpace(target);
20491     target = ::_pbi::WireFormatLite::WriteInt64ToArray(3, this->_internal_offset(), target);
20492   }
20493 
20494   // optional int64 len = 4;
20495   if (cached_has_bits & 0x00000008u) {
20496     target = stream->EnsureSpace(target);
20497     target = ::_pbi::WireFormatLite::WriteInt64ToArray(4, this->_internal_len(), target);
20498   }
20499 
20500   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
20501     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
20502         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
20503   }
20504   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.Ext4InsertRangeFtraceEvent)
20505   return target;
20506 }
20507 
ByteSizeLong() const20508 size_t Ext4InsertRangeFtraceEvent::ByteSizeLong() const {
20509 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.Ext4InsertRangeFtraceEvent)
20510   size_t total_size = 0;
20511 
20512   ::uint32_t cached_has_bits = 0;
20513   // Prevent compiler warnings about cached_has_bits being unused
20514   (void) cached_has_bits;
20515 
20516   cached_has_bits = _impl_._has_bits_[0];
20517   if (cached_has_bits & 0x0000000fu) {
20518     // optional uint64 dev = 1;
20519     if (cached_has_bits & 0x00000001u) {
20520       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
20521     }
20522 
20523     // optional uint64 ino = 2;
20524     if (cached_has_bits & 0x00000002u) {
20525       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ino());
20526     }
20527 
20528     // optional int64 offset = 3;
20529     if (cached_has_bits & 0x00000004u) {
20530       total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_offset());
20531     }
20532 
20533     // optional int64 len = 4;
20534     if (cached_has_bits & 0x00000008u) {
20535       total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_len());
20536     }
20537 
20538   }
20539   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
20540     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
20541   }
20542   int cached_size = ::_pbi::ToCachedSize(total_size);
20543   SetCachedSize(cached_size);
20544   return total_size;
20545 }
20546 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)20547 void Ext4InsertRangeFtraceEvent::CheckTypeAndMergeFrom(
20548     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
20549   MergeFrom(*::_pbi::DownCast<const Ext4InsertRangeFtraceEvent*>(
20550       &from));
20551 }
20552 
MergeFrom(const Ext4InsertRangeFtraceEvent & from)20553 void Ext4InsertRangeFtraceEvent::MergeFrom(const Ext4InsertRangeFtraceEvent& from) {
20554   Ext4InsertRangeFtraceEvent* const _this = this;
20555   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.Ext4InsertRangeFtraceEvent)
20556   GOOGLE_DCHECK_NE(&from, _this);
20557   ::uint32_t cached_has_bits = 0;
20558   (void) cached_has_bits;
20559 
20560   cached_has_bits = from._impl_._has_bits_[0];
20561   if (cached_has_bits & 0x0000000fu) {
20562     if (cached_has_bits & 0x00000001u) {
20563       _this->_impl_.dev_ = from._impl_.dev_;
20564     }
20565     if (cached_has_bits & 0x00000002u) {
20566       _this->_impl_.ino_ = from._impl_.ino_;
20567     }
20568     if (cached_has_bits & 0x00000004u) {
20569       _this->_impl_.offset_ = from._impl_.offset_;
20570     }
20571     if (cached_has_bits & 0x00000008u) {
20572       _this->_impl_.len_ = from._impl_.len_;
20573     }
20574     _this->_impl_._has_bits_[0] |= cached_has_bits;
20575   }
20576   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
20577 }
20578 
CopyFrom(const Ext4InsertRangeFtraceEvent & from)20579 void Ext4InsertRangeFtraceEvent::CopyFrom(const Ext4InsertRangeFtraceEvent& from) {
20580 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.Ext4InsertRangeFtraceEvent)
20581   if (&from == this) return;
20582   Clear();
20583   MergeFrom(from);
20584 }
20585 
IsInitialized() const20586 bool Ext4InsertRangeFtraceEvent::IsInitialized() const {
20587   return true;
20588 }
20589 
InternalSwap(Ext4InsertRangeFtraceEvent * other)20590 void Ext4InsertRangeFtraceEvent::InternalSwap(Ext4InsertRangeFtraceEvent* other) {
20591   using std::swap;
20592   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
20593   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
20594   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
20595       PROTOBUF_FIELD_OFFSET(Ext4InsertRangeFtraceEvent, _impl_.len_)
20596       + sizeof(Ext4InsertRangeFtraceEvent::_impl_.len_)  // NOLINT
20597       - PROTOBUF_FIELD_OFFSET(Ext4InsertRangeFtraceEvent, _impl_.dev_)>(
20598           reinterpret_cast<char*>(&_impl_.dev_),
20599           reinterpret_cast<char*>(&other->_impl_.dev_));
20600 }
20601 
GetTypeName() const20602 std::string Ext4InsertRangeFtraceEvent::GetTypeName() const {
20603   return "perfetto.protos.Ext4InsertRangeFtraceEvent";
20604 }
20605 
20606 
20607 // ===================================================================
20608 
20609 class Ext4InvalidatepageFtraceEvent::_Internal {
20610  public:
20611   using HasBits = decltype(std::declval<Ext4InvalidatepageFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)20612   static void set_has_dev(HasBits* has_bits) {
20613     (*has_bits)[0] |= 1u;
20614   }
set_has_ino(HasBits * has_bits)20615   static void set_has_ino(HasBits* has_bits) {
20616     (*has_bits)[0] |= 2u;
20617   }
set_has_index(HasBits * has_bits)20618   static void set_has_index(HasBits* has_bits) {
20619     (*has_bits)[0] |= 4u;
20620   }
set_has_offset(HasBits * has_bits)20621   static void set_has_offset(HasBits* has_bits) {
20622     (*has_bits)[0] |= 8u;
20623   }
set_has_length(HasBits * has_bits)20624   static void set_has_length(HasBits* has_bits) {
20625     (*has_bits)[0] |= 16u;
20626   }
20627 };
20628 
Ext4InvalidatepageFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)20629 Ext4InvalidatepageFtraceEvent::Ext4InvalidatepageFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
20630                          bool is_message_owned)
20631   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
20632   SharedCtor(arena, is_message_owned);
20633   // @@protoc_insertion_point(arena_constructor:perfetto.protos.Ext4InvalidatepageFtraceEvent)
20634 }
Ext4InvalidatepageFtraceEvent(const Ext4InvalidatepageFtraceEvent & from)20635 Ext4InvalidatepageFtraceEvent::Ext4InvalidatepageFtraceEvent(const Ext4InvalidatepageFtraceEvent& from)
20636   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
20637   Ext4InvalidatepageFtraceEvent* const _this = this; (void)_this;
20638   new (&_impl_) Impl_{
20639       decltype(_impl_._has_bits_){from._impl_._has_bits_}
20640     , /*decltype(_impl_._cached_size_)*/{}
20641     , decltype(_impl_.dev_){}
20642     , decltype(_impl_.ino_){}
20643     , decltype(_impl_.index_){}
20644     , decltype(_impl_.offset_){}
20645     , decltype(_impl_.length_){}};
20646 
20647   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
20648   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
20649     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.length_) -
20650     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.length_));
20651   // @@protoc_insertion_point(copy_constructor:perfetto.protos.Ext4InvalidatepageFtraceEvent)
20652 }
20653 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)20654 inline void Ext4InvalidatepageFtraceEvent::SharedCtor(
20655     ::_pb::Arena* arena, bool is_message_owned) {
20656   (void)arena;
20657   (void)is_message_owned;
20658   new (&_impl_) Impl_{
20659       decltype(_impl_._has_bits_){}
20660     , /*decltype(_impl_._cached_size_)*/{}
20661     , decltype(_impl_.dev_){::uint64_t{0u}}
20662     , decltype(_impl_.ino_){::uint64_t{0u}}
20663     , decltype(_impl_.index_){::uint64_t{0u}}
20664     , decltype(_impl_.offset_){::uint64_t{0u}}
20665     , decltype(_impl_.length_){0u}
20666   };
20667 }
20668 
~Ext4InvalidatepageFtraceEvent()20669 Ext4InvalidatepageFtraceEvent::~Ext4InvalidatepageFtraceEvent() {
20670   // @@protoc_insertion_point(destructor:perfetto.protos.Ext4InvalidatepageFtraceEvent)
20671   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
20672   (void)arena;
20673     return;
20674   }
20675   SharedDtor();
20676 }
20677 
SharedDtor()20678 inline void Ext4InvalidatepageFtraceEvent::SharedDtor() {
20679   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
20680 }
20681 
SetCachedSize(int size) const20682 void Ext4InvalidatepageFtraceEvent::SetCachedSize(int size) const {
20683   _impl_._cached_size_.Set(size);
20684 }
20685 
Clear()20686 void Ext4InvalidatepageFtraceEvent::Clear() {
20687 // @@protoc_insertion_point(message_clear_start:perfetto.protos.Ext4InvalidatepageFtraceEvent)
20688   ::uint32_t cached_has_bits = 0;
20689   // Prevent compiler warnings about cached_has_bits being unused
20690   (void) cached_has_bits;
20691 
20692   cached_has_bits = _impl_._has_bits_[0];
20693   if (cached_has_bits & 0x0000001fu) {
20694     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
20695         reinterpret_cast<char*>(&_impl_.length_) -
20696         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.length_));
20697   }
20698   _impl_._has_bits_.Clear();
20699   _internal_metadata_.Clear<std::string>();
20700 }
20701 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)20702 const char* Ext4InvalidatepageFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
20703 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
20704   _Internal::HasBits has_bits{};
20705   while (!ctx->Done(&ptr)) {
20706     ::uint32_t tag;
20707     ptr = ::_pbi::ReadTag(ptr, &tag);
20708     switch (tag >> 3) {
20709       // optional uint64 dev = 1;
20710       case 1:
20711         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
20712           _Internal::set_has_dev(&has_bits);
20713           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
20714           CHK_(ptr);
20715         } else {
20716           goto handle_unusual;
20717         }
20718         continue;
20719       // optional uint64 ino = 2;
20720       case 2:
20721         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
20722           _Internal::set_has_ino(&has_bits);
20723           _impl_.ino_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
20724           CHK_(ptr);
20725         } else {
20726           goto handle_unusual;
20727         }
20728         continue;
20729       // optional uint64 index = 3;
20730       case 3:
20731         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
20732           _Internal::set_has_index(&has_bits);
20733           _impl_.index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
20734           CHK_(ptr);
20735         } else {
20736           goto handle_unusual;
20737         }
20738         continue;
20739       // optional uint64 offset = 4;
20740       case 4:
20741         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
20742           _Internal::set_has_offset(&has_bits);
20743           _impl_.offset_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
20744           CHK_(ptr);
20745         } else {
20746           goto handle_unusual;
20747         }
20748         continue;
20749       // optional uint32 length = 5;
20750       case 5:
20751         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) {
20752           _Internal::set_has_length(&has_bits);
20753           _impl_.length_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
20754           CHK_(ptr);
20755         } else {
20756           goto handle_unusual;
20757         }
20758         continue;
20759       default:
20760         goto handle_unusual;
20761     }  // switch
20762   handle_unusual:
20763     if ((tag == 0) || ((tag & 7) == 4)) {
20764       CHK_(ptr);
20765       ctx->SetLastTag(tag);
20766       goto message_done;
20767     }
20768     ptr = UnknownFieldParse(
20769         tag,
20770         _internal_metadata_.mutable_unknown_fields<std::string>(),
20771         ptr, ctx);
20772     CHK_(ptr != nullptr);
20773   }  // while
20774 message_done:
20775   _impl_._has_bits_.Or(has_bits);
20776   return ptr;
20777 failure:
20778   ptr = nullptr;
20779   goto message_done;
20780 #undef CHK_
20781 }
20782 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const20783 ::uint8_t* Ext4InvalidatepageFtraceEvent::_InternalSerialize(
20784     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
20785   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.Ext4InvalidatepageFtraceEvent)
20786   ::uint32_t cached_has_bits = 0;
20787   (void) cached_has_bits;
20788 
20789   cached_has_bits = _impl_._has_bits_[0];
20790   // optional uint64 dev = 1;
20791   if (cached_has_bits & 0x00000001u) {
20792     target = stream->EnsureSpace(target);
20793     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
20794   }
20795 
20796   // optional uint64 ino = 2;
20797   if (cached_has_bits & 0x00000002u) {
20798     target = stream->EnsureSpace(target);
20799     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_ino(), target);
20800   }
20801 
20802   // optional uint64 index = 3;
20803   if (cached_has_bits & 0x00000004u) {
20804     target = stream->EnsureSpace(target);
20805     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(3, this->_internal_index(), target);
20806   }
20807 
20808   // optional uint64 offset = 4;
20809   if (cached_has_bits & 0x00000008u) {
20810     target = stream->EnsureSpace(target);
20811     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(4, this->_internal_offset(), target);
20812   }
20813 
20814   // optional uint32 length = 5;
20815   if (cached_has_bits & 0x00000010u) {
20816     target = stream->EnsureSpace(target);
20817     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_length(), target);
20818   }
20819 
20820   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
20821     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
20822         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
20823   }
20824   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.Ext4InvalidatepageFtraceEvent)
20825   return target;
20826 }
20827 
ByteSizeLong() const20828 size_t Ext4InvalidatepageFtraceEvent::ByteSizeLong() const {
20829 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.Ext4InvalidatepageFtraceEvent)
20830   size_t total_size = 0;
20831 
20832   ::uint32_t cached_has_bits = 0;
20833   // Prevent compiler warnings about cached_has_bits being unused
20834   (void) cached_has_bits;
20835 
20836   cached_has_bits = _impl_._has_bits_[0];
20837   if (cached_has_bits & 0x0000001fu) {
20838     // optional uint64 dev = 1;
20839     if (cached_has_bits & 0x00000001u) {
20840       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
20841     }
20842 
20843     // optional uint64 ino = 2;
20844     if (cached_has_bits & 0x00000002u) {
20845       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ino());
20846     }
20847 
20848     // optional uint64 index = 3;
20849     if (cached_has_bits & 0x00000004u) {
20850       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_index());
20851     }
20852 
20853     // optional uint64 offset = 4;
20854     if (cached_has_bits & 0x00000008u) {
20855       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_offset());
20856     }
20857 
20858     // optional uint32 length = 5;
20859     if (cached_has_bits & 0x00000010u) {
20860       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_length());
20861     }
20862 
20863   }
20864   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
20865     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
20866   }
20867   int cached_size = ::_pbi::ToCachedSize(total_size);
20868   SetCachedSize(cached_size);
20869   return total_size;
20870 }
20871 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)20872 void Ext4InvalidatepageFtraceEvent::CheckTypeAndMergeFrom(
20873     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
20874   MergeFrom(*::_pbi::DownCast<const Ext4InvalidatepageFtraceEvent*>(
20875       &from));
20876 }
20877 
MergeFrom(const Ext4InvalidatepageFtraceEvent & from)20878 void Ext4InvalidatepageFtraceEvent::MergeFrom(const Ext4InvalidatepageFtraceEvent& from) {
20879   Ext4InvalidatepageFtraceEvent* const _this = this;
20880   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.Ext4InvalidatepageFtraceEvent)
20881   GOOGLE_DCHECK_NE(&from, _this);
20882   ::uint32_t cached_has_bits = 0;
20883   (void) cached_has_bits;
20884 
20885   cached_has_bits = from._impl_._has_bits_[0];
20886   if (cached_has_bits & 0x0000001fu) {
20887     if (cached_has_bits & 0x00000001u) {
20888       _this->_impl_.dev_ = from._impl_.dev_;
20889     }
20890     if (cached_has_bits & 0x00000002u) {
20891       _this->_impl_.ino_ = from._impl_.ino_;
20892     }
20893     if (cached_has_bits & 0x00000004u) {
20894       _this->_impl_.index_ = from._impl_.index_;
20895     }
20896     if (cached_has_bits & 0x00000008u) {
20897       _this->_impl_.offset_ = from._impl_.offset_;
20898     }
20899     if (cached_has_bits & 0x00000010u) {
20900       _this->_impl_.length_ = from._impl_.length_;
20901     }
20902     _this->_impl_._has_bits_[0] |= cached_has_bits;
20903   }
20904   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
20905 }
20906 
CopyFrom(const Ext4InvalidatepageFtraceEvent & from)20907 void Ext4InvalidatepageFtraceEvent::CopyFrom(const Ext4InvalidatepageFtraceEvent& from) {
20908 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.Ext4InvalidatepageFtraceEvent)
20909   if (&from == this) return;
20910   Clear();
20911   MergeFrom(from);
20912 }
20913 
IsInitialized() const20914 bool Ext4InvalidatepageFtraceEvent::IsInitialized() const {
20915   return true;
20916 }
20917 
InternalSwap(Ext4InvalidatepageFtraceEvent * other)20918 void Ext4InvalidatepageFtraceEvent::InternalSwap(Ext4InvalidatepageFtraceEvent* other) {
20919   using std::swap;
20920   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
20921   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
20922   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
20923       PROTOBUF_FIELD_OFFSET(Ext4InvalidatepageFtraceEvent, _impl_.length_)
20924       + sizeof(Ext4InvalidatepageFtraceEvent::_impl_.length_)  // NOLINT
20925       - PROTOBUF_FIELD_OFFSET(Ext4InvalidatepageFtraceEvent, _impl_.dev_)>(
20926           reinterpret_cast<char*>(&_impl_.dev_),
20927           reinterpret_cast<char*>(&other->_impl_.dev_));
20928 }
20929 
GetTypeName() const20930 std::string Ext4InvalidatepageFtraceEvent::GetTypeName() const {
20931   return "perfetto.protos.Ext4InvalidatepageFtraceEvent";
20932 }
20933 
20934 
20935 // ===================================================================
20936 
20937 class Ext4JournalStartFtraceEvent::_Internal {
20938  public:
20939   using HasBits = decltype(std::declval<Ext4JournalStartFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)20940   static void set_has_dev(HasBits* has_bits) {
20941     (*has_bits)[0] |= 1u;
20942   }
set_has_ip(HasBits * has_bits)20943   static void set_has_ip(HasBits* has_bits) {
20944     (*has_bits)[0] |= 2u;
20945   }
set_has_blocks(HasBits * has_bits)20946   static void set_has_blocks(HasBits* has_bits) {
20947     (*has_bits)[0] |= 4u;
20948   }
set_has_rsv_blocks(HasBits * has_bits)20949   static void set_has_rsv_blocks(HasBits* has_bits) {
20950     (*has_bits)[0] |= 8u;
20951   }
set_has_nblocks(HasBits * has_bits)20952   static void set_has_nblocks(HasBits* has_bits) {
20953     (*has_bits)[0] |= 16u;
20954   }
set_has_revoke_creds(HasBits * has_bits)20955   static void set_has_revoke_creds(HasBits* has_bits) {
20956     (*has_bits)[0] |= 32u;
20957   }
20958 };
20959 
Ext4JournalStartFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)20960 Ext4JournalStartFtraceEvent::Ext4JournalStartFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
20961                          bool is_message_owned)
20962   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
20963   SharedCtor(arena, is_message_owned);
20964   // @@protoc_insertion_point(arena_constructor:perfetto.protos.Ext4JournalStartFtraceEvent)
20965 }
Ext4JournalStartFtraceEvent(const Ext4JournalStartFtraceEvent & from)20966 Ext4JournalStartFtraceEvent::Ext4JournalStartFtraceEvent(const Ext4JournalStartFtraceEvent& from)
20967   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
20968   Ext4JournalStartFtraceEvent* const _this = this; (void)_this;
20969   new (&_impl_) Impl_{
20970       decltype(_impl_._has_bits_){from._impl_._has_bits_}
20971     , /*decltype(_impl_._cached_size_)*/{}
20972     , decltype(_impl_.dev_){}
20973     , decltype(_impl_.ip_){}
20974     , decltype(_impl_.blocks_){}
20975     , decltype(_impl_.rsv_blocks_){}
20976     , decltype(_impl_.nblocks_){}
20977     , decltype(_impl_.revoke_creds_){}};
20978 
20979   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
20980   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
20981     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.revoke_creds_) -
20982     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.revoke_creds_));
20983   // @@protoc_insertion_point(copy_constructor:perfetto.protos.Ext4JournalStartFtraceEvent)
20984 }
20985 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)20986 inline void Ext4JournalStartFtraceEvent::SharedCtor(
20987     ::_pb::Arena* arena, bool is_message_owned) {
20988   (void)arena;
20989   (void)is_message_owned;
20990   new (&_impl_) Impl_{
20991       decltype(_impl_._has_bits_){}
20992     , /*decltype(_impl_._cached_size_)*/{}
20993     , decltype(_impl_.dev_){::uint64_t{0u}}
20994     , decltype(_impl_.ip_){::uint64_t{0u}}
20995     , decltype(_impl_.blocks_){0}
20996     , decltype(_impl_.rsv_blocks_){0}
20997     , decltype(_impl_.nblocks_){0}
20998     , decltype(_impl_.revoke_creds_){0}
20999   };
21000 }
21001 
~Ext4JournalStartFtraceEvent()21002 Ext4JournalStartFtraceEvent::~Ext4JournalStartFtraceEvent() {
21003   // @@protoc_insertion_point(destructor:perfetto.protos.Ext4JournalStartFtraceEvent)
21004   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
21005   (void)arena;
21006     return;
21007   }
21008   SharedDtor();
21009 }
21010 
SharedDtor()21011 inline void Ext4JournalStartFtraceEvent::SharedDtor() {
21012   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
21013 }
21014 
SetCachedSize(int size) const21015 void Ext4JournalStartFtraceEvent::SetCachedSize(int size) const {
21016   _impl_._cached_size_.Set(size);
21017 }
21018 
Clear()21019 void Ext4JournalStartFtraceEvent::Clear() {
21020 // @@protoc_insertion_point(message_clear_start:perfetto.protos.Ext4JournalStartFtraceEvent)
21021   ::uint32_t cached_has_bits = 0;
21022   // Prevent compiler warnings about cached_has_bits being unused
21023   (void) cached_has_bits;
21024 
21025   cached_has_bits = _impl_._has_bits_[0];
21026   if (cached_has_bits & 0x0000003fu) {
21027     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
21028         reinterpret_cast<char*>(&_impl_.revoke_creds_) -
21029         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.revoke_creds_));
21030   }
21031   _impl_._has_bits_.Clear();
21032   _internal_metadata_.Clear<std::string>();
21033 }
21034 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)21035 const char* Ext4JournalStartFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
21036 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
21037   _Internal::HasBits has_bits{};
21038   while (!ctx->Done(&ptr)) {
21039     ::uint32_t tag;
21040     ptr = ::_pbi::ReadTag(ptr, &tag);
21041     switch (tag >> 3) {
21042       // optional uint64 dev = 1;
21043       case 1:
21044         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
21045           _Internal::set_has_dev(&has_bits);
21046           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
21047           CHK_(ptr);
21048         } else {
21049           goto handle_unusual;
21050         }
21051         continue;
21052       // optional uint64 ip = 2;
21053       case 2:
21054         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
21055           _Internal::set_has_ip(&has_bits);
21056           _impl_.ip_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
21057           CHK_(ptr);
21058         } else {
21059           goto handle_unusual;
21060         }
21061         continue;
21062       // optional int32 blocks = 3;
21063       case 3:
21064         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
21065           _Internal::set_has_blocks(&has_bits);
21066           _impl_.blocks_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
21067           CHK_(ptr);
21068         } else {
21069           goto handle_unusual;
21070         }
21071         continue;
21072       // optional int32 rsv_blocks = 4;
21073       case 4:
21074         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
21075           _Internal::set_has_rsv_blocks(&has_bits);
21076           _impl_.rsv_blocks_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
21077           CHK_(ptr);
21078         } else {
21079           goto handle_unusual;
21080         }
21081         continue;
21082       // optional int32 nblocks = 5;
21083       case 5:
21084         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) {
21085           _Internal::set_has_nblocks(&has_bits);
21086           _impl_.nblocks_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
21087           CHK_(ptr);
21088         } else {
21089           goto handle_unusual;
21090         }
21091         continue;
21092       // optional int32 revoke_creds = 6;
21093       case 6:
21094         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 48)) {
21095           _Internal::set_has_revoke_creds(&has_bits);
21096           _impl_.revoke_creds_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
21097           CHK_(ptr);
21098         } else {
21099           goto handle_unusual;
21100         }
21101         continue;
21102       default:
21103         goto handle_unusual;
21104     }  // switch
21105   handle_unusual:
21106     if ((tag == 0) || ((tag & 7) == 4)) {
21107       CHK_(ptr);
21108       ctx->SetLastTag(tag);
21109       goto message_done;
21110     }
21111     ptr = UnknownFieldParse(
21112         tag,
21113         _internal_metadata_.mutable_unknown_fields<std::string>(),
21114         ptr, ctx);
21115     CHK_(ptr != nullptr);
21116   }  // while
21117 message_done:
21118   _impl_._has_bits_.Or(has_bits);
21119   return ptr;
21120 failure:
21121   ptr = nullptr;
21122   goto message_done;
21123 #undef CHK_
21124 }
21125 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const21126 ::uint8_t* Ext4JournalStartFtraceEvent::_InternalSerialize(
21127     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
21128   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.Ext4JournalStartFtraceEvent)
21129   ::uint32_t cached_has_bits = 0;
21130   (void) cached_has_bits;
21131 
21132   cached_has_bits = _impl_._has_bits_[0];
21133   // optional uint64 dev = 1;
21134   if (cached_has_bits & 0x00000001u) {
21135     target = stream->EnsureSpace(target);
21136     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
21137   }
21138 
21139   // optional uint64 ip = 2;
21140   if (cached_has_bits & 0x00000002u) {
21141     target = stream->EnsureSpace(target);
21142     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_ip(), target);
21143   }
21144 
21145   // optional int32 blocks = 3;
21146   if (cached_has_bits & 0x00000004u) {
21147     target = stream->EnsureSpace(target);
21148     target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_blocks(), target);
21149   }
21150 
21151   // optional int32 rsv_blocks = 4;
21152   if (cached_has_bits & 0x00000008u) {
21153     target = stream->EnsureSpace(target);
21154     target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_rsv_blocks(), target);
21155   }
21156 
21157   // optional int32 nblocks = 5;
21158   if (cached_has_bits & 0x00000010u) {
21159     target = stream->EnsureSpace(target);
21160     target = ::_pbi::WireFormatLite::WriteInt32ToArray(5, this->_internal_nblocks(), target);
21161   }
21162 
21163   // optional int32 revoke_creds = 6;
21164   if (cached_has_bits & 0x00000020u) {
21165     target = stream->EnsureSpace(target);
21166     target = ::_pbi::WireFormatLite::WriteInt32ToArray(6, this->_internal_revoke_creds(), target);
21167   }
21168 
21169   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
21170     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
21171         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
21172   }
21173   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.Ext4JournalStartFtraceEvent)
21174   return target;
21175 }
21176 
ByteSizeLong() const21177 size_t Ext4JournalStartFtraceEvent::ByteSizeLong() const {
21178 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.Ext4JournalStartFtraceEvent)
21179   size_t total_size = 0;
21180 
21181   ::uint32_t cached_has_bits = 0;
21182   // Prevent compiler warnings about cached_has_bits being unused
21183   (void) cached_has_bits;
21184 
21185   cached_has_bits = _impl_._has_bits_[0];
21186   if (cached_has_bits & 0x0000003fu) {
21187     // optional uint64 dev = 1;
21188     if (cached_has_bits & 0x00000001u) {
21189       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
21190     }
21191 
21192     // optional uint64 ip = 2;
21193     if (cached_has_bits & 0x00000002u) {
21194       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ip());
21195     }
21196 
21197     // optional int32 blocks = 3;
21198     if (cached_has_bits & 0x00000004u) {
21199       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_blocks());
21200     }
21201 
21202     // optional int32 rsv_blocks = 4;
21203     if (cached_has_bits & 0x00000008u) {
21204       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_rsv_blocks());
21205     }
21206 
21207     // optional int32 nblocks = 5;
21208     if (cached_has_bits & 0x00000010u) {
21209       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_nblocks());
21210     }
21211 
21212     // optional int32 revoke_creds = 6;
21213     if (cached_has_bits & 0x00000020u) {
21214       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_revoke_creds());
21215     }
21216 
21217   }
21218   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
21219     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
21220   }
21221   int cached_size = ::_pbi::ToCachedSize(total_size);
21222   SetCachedSize(cached_size);
21223   return total_size;
21224 }
21225 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)21226 void Ext4JournalStartFtraceEvent::CheckTypeAndMergeFrom(
21227     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
21228   MergeFrom(*::_pbi::DownCast<const Ext4JournalStartFtraceEvent*>(
21229       &from));
21230 }
21231 
MergeFrom(const Ext4JournalStartFtraceEvent & from)21232 void Ext4JournalStartFtraceEvent::MergeFrom(const Ext4JournalStartFtraceEvent& from) {
21233   Ext4JournalStartFtraceEvent* const _this = this;
21234   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.Ext4JournalStartFtraceEvent)
21235   GOOGLE_DCHECK_NE(&from, _this);
21236   ::uint32_t cached_has_bits = 0;
21237   (void) cached_has_bits;
21238 
21239   cached_has_bits = from._impl_._has_bits_[0];
21240   if (cached_has_bits & 0x0000003fu) {
21241     if (cached_has_bits & 0x00000001u) {
21242       _this->_impl_.dev_ = from._impl_.dev_;
21243     }
21244     if (cached_has_bits & 0x00000002u) {
21245       _this->_impl_.ip_ = from._impl_.ip_;
21246     }
21247     if (cached_has_bits & 0x00000004u) {
21248       _this->_impl_.blocks_ = from._impl_.blocks_;
21249     }
21250     if (cached_has_bits & 0x00000008u) {
21251       _this->_impl_.rsv_blocks_ = from._impl_.rsv_blocks_;
21252     }
21253     if (cached_has_bits & 0x00000010u) {
21254       _this->_impl_.nblocks_ = from._impl_.nblocks_;
21255     }
21256     if (cached_has_bits & 0x00000020u) {
21257       _this->_impl_.revoke_creds_ = from._impl_.revoke_creds_;
21258     }
21259     _this->_impl_._has_bits_[0] |= cached_has_bits;
21260   }
21261   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
21262 }
21263 
CopyFrom(const Ext4JournalStartFtraceEvent & from)21264 void Ext4JournalStartFtraceEvent::CopyFrom(const Ext4JournalStartFtraceEvent& from) {
21265 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.Ext4JournalStartFtraceEvent)
21266   if (&from == this) return;
21267   Clear();
21268   MergeFrom(from);
21269 }
21270 
IsInitialized() const21271 bool Ext4JournalStartFtraceEvent::IsInitialized() const {
21272   return true;
21273 }
21274 
InternalSwap(Ext4JournalStartFtraceEvent * other)21275 void Ext4JournalStartFtraceEvent::InternalSwap(Ext4JournalStartFtraceEvent* other) {
21276   using std::swap;
21277   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
21278   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
21279   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
21280       PROTOBUF_FIELD_OFFSET(Ext4JournalStartFtraceEvent, _impl_.revoke_creds_)
21281       + sizeof(Ext4JournalStartFtraceEvent::_impl_.revoke_creds_)  // NOLINT
21282       - PROTOBUF_FIELD_OFFSET(Ext4JournalStartFtraceEvent, _impl_.dev_)>(
21283           reinterpret_cast<char*>(&_impl_.dev_),
21284           reinterpret_cast<char*>(&other->_impl_.dev_));
21285 }
21286 
GetTypeName() const21287 std::string Ext4JournalStartFtraceEvent::GetTypeName() const {
21288   return "perfetto.protos.Ext4JournalStartFtraceEvent";
21289 }
21290 
21291 
21292 // ===================================================================
21293 
21294 class Ext4JournalStartReservedFtraceEvent::_Internal {
21295  public:
21296   using HasBits = decltype(std::declval<Ext4JournalStartReservedFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)21297   static void set_has_dev(HasBits* has_bits) {
21298     (*has_bits)[0] |= 1u;
21299   }
set_has_ip(HasBits * has_bits)21300   static void set_has_ip(HasBits* has_bits) {
21301     (*has_bits)[0] |= 2u;
21302   }
set_has_blocks(HasBits * has_bits)21303   static void set_has_blocks(HasBits* has_bits) {
21304     (*has_bits)[0] |= 4u;
21305   }
21306 };
21307 
Ext4JournalStartReservedFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)21308 Ext4JournalStartReservedFtraceEvent::Ext4JournalStartReservedFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
21309                          bool is_message_owned)
21310   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
21311   SharedCtor(arena, is_message_owned);
21312   // @@protoc_insertion_point(arena_constructor:perfetto.protos.Ext4JournalStartReservedFtraceEvent)
21313 }
Ext4JournalStartReservedFtraceEvent(const Ext4JournalStartReservedFtraceEvent & from)21314 Ext4JournalStartReservedFtraceEvent::Ext4JournalStartReservedFtraceEvent(const Ext4JournalStartReservedFtraceEvent& from)
21315   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
21316   Ext4JournalStartReservedFtraceEvent* const _this = this; (void)_this;
21317   new (&_impl_) Impl_{
21318       decltype(_impl_._has_bits_){from._impl_._has_bits_}
21319     , /*decltype(_impl_._cached_size_)*/{}
21320     , decltype(_impl_.dev_){}
21321     , decltype(_impl_.ip_){}
21322     , decltype(_impl_.blocks_){}};
21323 
21324   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
21325   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
21326     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.blocks_) -
21327     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.blocks_));
21328   // @@protoc_insertion_point(copy_constructor:perfetto.protos.Ext4JournalStartReservedFtraceEvent)
21329 }
21330 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)21331 inline void Ext4JournalStartReservedFtraceEvent::SharedCtor(
21332     ::_pb::Arena* arena, bool is_message_owned) {
21333   (void)arena;
21334   (void)is_message_owned;
21335   new (&_impl_) Impl_{
21336       decltype(_impl_._has_bits_){}
21337     , /*decltype(_impl_._cached_size_)*/{}
21338     , decltype(_impl_.dev_){::uint64_t{0u}}
21339     , decltype(_impl_.ip_){::uint64_t{0u}}
21340     , decltype(_impl_.blocks_){0}
21341   };
21342 }
21343 
~Ext4JournalStartReservedFtraceEvent()21344 Ext4JournalStartReservedFtraceEvent::~Ext4JournalStartReservedFtraceEvent() {
21345   // @@protoc_insertion_point(destructor:perfetto.protos.Ext4JournalStartReservedFtraceEvent)
21346   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
21347   (void)arena;
21348     return;
21349   }
21350   SharedDtor();
21351 }
21352 
SharedDtor()21353 inline void Ext4JournalStartReservedFtraceEvent::SharedDtor() {
21354   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
21355 }
21356 
SetCachedSize(int size) const21357 void Ext4JournalStartReservedFtraceEvent::SetCachedSize(int size) const {
21358   _impl_._cached_size_.Set(size);
21359 }
21360 
Clear()21361 void Ext4JournalStartReservedFtraceEvent::Clear() {
21362 // @@protoc_insertion_point(message_clear_start:perfetto.protos.Ext4JournalStartReservedFtraceEvent)
21363   ::uint32_t cached_has_bits = 0;
21364   // Prevent compiler warnings about cached_has_bits being unused
21365   (void) cached_has_bits;
21366 
21367   cached_has_bits = _impl_._has_bits_[0];
21368   if (cached_has_bits & 0x00000007u) {
21369     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
21370         reinterpret_cast<char*>(&_impl_.blocks_) -
21371         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.blocks_));
21372   }
21373   _impl_._has_bits_.Clear();
21374   _internal_metadata_.Clear<std::string>();
21375 }
21376 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)21377 const char* Ext4JournalStartReservedFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
21378 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
21379   _Internal::HasBits has_bits{};
21380   while (!ctx->Done(&ptr)) {
21381     ::uint32_t tag;
21382     ptr = ::_pbi::ReadTag(ptr, &tag);
21383     switch (tag >> 3) {
21384       // optional uint64 dev = 1;
21385       case 1:
21386         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
21387           _Internal::set_has_dev(&has_bits);
21388           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
21389           CHK_(ptr);
21390         } else {
21391           goto handle_unusual;
21392         }
21393         continue;
21394       // optional uint64 ip = 2;
21395       case 2:
21396         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
21397           _Internal::set_has_ip(&has_bits);
21398           _impl_.ip_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
21399           CHK_(ptr);
21400         } else {
21401           goto handle_unusual;
21402         }
21403         continue;
21404       // optional int32 blocks = 3;
21405       case 3:
21406         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
21407           _Internal::set_has_blocks(&has_bits);
21408           _impl_.blocks_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
21409           CHK_(ptr);
21410         } else {
21411           goto handle_unusual;
21412         }
21413         continue;
21414       default:
21415         goto handle_unusual;
21416     }  // switch
21417   handle_unusual:
21418     if ((tag == 0) || ((tag & 7) == 4)) {
21419       CHK_(ptr);
21420       ctx->SetLastTag(tag);
21421       goto message_done;
21422     }
21423     ptr = UnknownFieldParse(
21424         tag,
21425         _internal_metadata_.mutable_unknown_fields<std::string>(),
21426         ptr, ctx);
21427     CHK_(ptr != nullptr);
21428   }  // while
21429 message_done:
21430   _impl_._has_bits_.Or(has_bits);
21431   return ptr;
21432 failure:
21433   ptr = nullptr;
21434   goto message_done;
21435 #undef CHK_
21436 }
21437 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const21438 ::uint8_t* Ext4JournalStartReservedFtraceEvent::_InternalSerialize(
21439     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
21440   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.Ext4JournalStartReservedFtraceEvent)
21441   ::uint32_t cached_has_bits = 0;
21442   (void) cached_has_bits;
21443 
21444   cached_has_bits = _impl_._has_bits_[0];
21445   // optional uint64 dev = 1;
21446   if (cached_has_bits & 0x00000001u) {
21447     target = stream->EnsureSpace(target);
21448     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
21449   }
21450 
21451   // optional uint64 ip = 2;
21452   if (cached_has_bits & 0x00000002u) {
21453     target = stream->EnsureSpace(target);
21454     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_ip(), target);
21455   }
21456 
21457   // optional int32 blocks = 3;
21458   if (cached_has_bits & 0x00000004u) {
21459     target = stream->EnsureSpace(target);
21460     target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_blocks(), target);
21461   }
21462 
21463   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
21464     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
21465         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
21466   }
21467   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.Ext4JournalStartReservedFtraceEvent)
21468   return target;
21469 }
21470 
ByteSizeLong() const21471 size_t Ext4JournalStartReservedFtraceEvent::ByteSizeLong() const {
21472 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.Ext4JournalStartReservedFtraceEvent)
21473   size_t total_size = 0;
21474 
21475   ::uint32_t cached_has_bits = 0;
21476   // Prevent compiler warnings about cached_has_bits being unused
21477   (void) cached_has_bits;
21478 
21479   cached_has_bits = _impl_._has_bits_[0];
21480   if (cached_has_bits & 0x00000007u) {
21481     // optional uint64 dev = 1;
21482     if (cached_has_bits & 0x00000001u) {
21483       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
21484     }
21485 
21486     // optional uint64 ip = 2;
21487     if (cached_has_bits & 0x00000002u) {
21488       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ip());
21489     }
21490 
21491     // optional int32 blocks = 3;
21492     if (cached_has_bits & 0x00000004u) {
21493       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_blocks());
21494     }
21495 
21496   }
21497   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
21498     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
21499   }
21500   int cached_size = ::_pbi::ToCachedSize(total_size);
21501   SetCachedSize(cached_size);
21502   return total_size;
21503 }
21504 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)21505 void Ext4JournalStartReservedFtraceEvent::CheckTypeAndMergeFrom(
21506     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
21507   MergeFrom(*::_pbi::DownCast<const Ext4JournalStartReservedFtraceEvent*>(
21508       &from));
21509 }
21510 
MergeFrom(const Ext4JournalStartReservedFtraceEvent & from)21511 void Ext4JournalStartReservedFtraceEvent::MergeFrom(const Ext4JournalStartReservedFtraceEvent& from) {
21512   Ext4JournalStartReservedFtraceEvent* const _this = this;
21513   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.Ext4JournalStartReservedFtraceEvent)
21514   GOOGLE_DCHECK_NE(&from, _this);
21515   ::uint32_t cached_has_bits = 0;
21516   (void) cached_has_bits;
21517 
21518   cached_has_bits = from._impl_._has_bits_[0];
21519   if (cached_has_bits & 0x00000007u) {
21520     if (cached_has_bits & 0x00000001u) {
21521       _this->_impl_.dev_ = from._impl_.dev_;
21522     }
21523     if (cached_has_bits & 0x00000002u) {
21524       _this->_impl_.ip_ = from._impl_.ip_;
21525     }
21526     if (cached_has_bits & 0x00000004u) {
21527       _this->_impl_.blocks_ = from._impl_.blocks_;
21528     }
21529     _this->_impl_._has_bits_[0] |= cached_has_bits;
21530   }
21531   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
21532 }
21533 
CopyFrom(const Ext4JournalStartReservedFtraceEvent & from)21534 void Ext4JournalStartReservedFtraceEvent::CopyFrom(const Ext4JournalStartReservedFtraceEvent& from) {
21535 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.Ext4JournalStartReservedFtraceEvent)
21536   if (&from == this) return;
21537   Clear();
21538   MergeFrom(from);
21539 }
21540 
IsInitialized() const21541 bool Ext4JournalStartReservedFtraceEvent::IsInitialized() const {
21542   return true;
21543 }
21544 
InternalSwap(Ext4JournalStartReservedFtraceEvent * other)21545 void Ext4JournalStartReservedFtraceEvent::InternalSwap(Ext4JournalStartReservedFtraceEvent* other) {
21546   using std::swap;
21547   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
21548   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
21549   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
21550       PROTOBUF_FIELD_OFFSET(Ext4JournalStartReservedFtraceEvent, _impl_.blocks_)
21551       + sizeof(Ext4JournalStartReservedFtraceEvent::_impl_.blocks_)  // NOLINT
21552       - PROTOBUF_FIELD_OFFSET(Ext4JournalStartReservedFtraceEvent, _impl_.dev_)>(
21553           reinterpret_cast<char*>(&_impl_.dev_),
21554           reinterpret_cast<char*>(&other->_impl_.dev_));
21555 }
21556 
GetTypeName() const21557 std::string Ext4JournalStartReservedFtraceEvent::GetTypeName() const {
21558   return "perfetto.protos.Ext4JournalStartReservedFtraceEvent";
21559 }
21560 
21561 
21562 // ===================================================================
21563 
21564 class Ext4JournalledInvalidatepageFtraceEvent::_Internal {
21565  public:
21566   using HasBits = decltype(std::declval<Ext4JournalledInvalidatepageFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)21567   static void set_has_dev(HasBits* has_bits) {
21568     (*has_bits)[0] |= 1u;
21569   }
set_has_ino(HasBits * has_bits)21570   static void set_has_ino(HasBits* has_bits) {
21571     (*has_bits)[0] |= 2u;
21572   }
set_has_index(HasBits * has_bits)21573   static void set_has_index(HasBits* has_bits) {
21574     (*has_bits)[0] |= 4u;
21575   }
set_has_offset(HasBits * has_bits)21576   static void set_has_offset(HasBits* has_bits) {
21577     (*has_bits)[0] |= 8u;
21578   }
set_has_length(HasBits * has_bits)21579   static void set_has_length(HasBits* has_bits) {
21580     (*has_bits)[0] |= 16u;
21581   }
21582 };
21583 
Ext4JournalledInvalidatepageFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)21584 Ext4JournalledInvalidatepageFtraceEvent::Ext4JournalledInvalidatepageFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
21585                          bool is_message_owned)
21586   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
21587   SharedCtor(arena, is_message_owned);
21588   // @@protoc_insertion_point(arena_constructor:perfetto.protos.Ext4JournalledInvalidatepageFtraceEvent)
21589 }
Ext4JournalledInvalidatepageFtraceEvent(const Ext4JournalledInvalidatepageFtraceEvent & from)21590 Ext4JournalledInvalidatepageFtraceEvent::Ext4JournalledInvalidatepageFtraceEvent(const Ext4JournalledInvalidatepageFtraceEvent& from)
21591   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
21592   Ext4JournalledInvalidatepageFtraceEvent* const _this = this; (void)_this;
21593   new (&_impl_) Impl_{
21594       decltype(_impl_._has_bits_){from._impl_._has_bits_}
21595     , /*decltype(_impl_._cached_size_)*/{}
21596     , decltype(_impl_.dev_){}
21597     , decltype(_impl_.ino_){}
21598     , decltype(_impl_.index_){}
21599     , decltype(_impl_.offset_){}
21600     , decltype(_impl_.length_){}};
21601 
21602   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
21603   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
21604     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.length_) -
21605     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.length_));
21606   // @@protoc_insertion_point(copy_constructor:perfetto.protos.Ext4JournalledInvalidatepageFtraceEvent)
21607 }
21608 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)21609 inline void Ext4JournalledInvalidatepageFtraceEvent::SharedCtor(
21610     ::_pb::Arena* arena, bool is_message_owned) {
21611   (void)arena;
21612   (void)is_message_owned;
21613   new (&_impl_) Impl_{
21614       decltype(_impl_._has_bits_){}
21615     , /*decltype(_impl_._cached_size_)*/{}
21616     , decltype(_impl_.dev_){::uint64_t{0u}}
21617     , decltype(_impl_.ino_){::uint64_t{0u}}
21618     , decltype(_impl_.index_){::uint64_t{0u}}
21619     , decltype(_impl_.offset_){::uint64_t{0u}}
21620     , decltype(_impl_.length_){0u}
21621   };
21622 }
21623 
~Ext4JournalledInvalidatepageFtraceEvent()21624 Ext4JournalledInvalidatepageFtraceEvent::~Ext4JournalledInvalidatepageFtraceEvent() {
21625   // @@protoc_insertion_point(destructor:perfetto.protos.Ext4JournalledInvalidatepageFtraceEvent)
21626   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
21627   (void)arena;
21628     return;
21629   }
21630   SharedDtor();
21631 }
21632 
SharedDtor()21633 inline void Ext4JournalledInvalidatepageFtraceEvent::SharedDtor() {
21634   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
21635 }
21636 
SetCachedSize(int size) const21637 void Ext4JournalledInvalidatepageFtraceEvent::SetCachedSize(int size) const {
21638   _impl_._cached_size_.Set(size);
21639 }
21640 
Clear()21641 void Ext4JournalledInvalidatepageFtraceEvent::Clear() {
21642 // @@protoc_insertion_point(message_clear_start:perfetto.protos.Ext4JournalledInvalidatepageFtraceEvent)
21643   ::uint32_t cached_has_bits = 0;
21644   // Prevent compiler warnings about cached_has_bits being unused
21645   (void) cached_has_bits;
21646 
21647   cached_has_bits = _impl_._has_bits_[0];
21648   if (cached_has_bits & 0x0000001fu) {
21649     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
21650         reinterpret_cast<char*>(&_impl_.length_) -
21651         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.length_));
21652   }
21653   _impl_._has_bits_.Clear();
21654   _internal_metadata_.Clear<std::string>();
21655 }
21656 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)21657 const char* Ext4JournalledInvalidatepageFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
21658 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
21659   _Internal::HasBits has_bits{};
21660   while (!ctx->Done(&ptr)) {
21661     ::uint32_t tag;
21662     ptr = ::_pbi::ReadTag(ptr, &tag);
21663     switch (tag >> 3) {
21664       // optional uint64 dev = 1;
21665       case 1:
21666         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
21667           _Internal::set_has_dev(&has_bits);
21668           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
21669           CHK_(ptr);
21670         } else {
21671           goto handle_unusual;
21672         }
21673         continue;
21674       // optional uint64 ino = 2;
21675       case 2:
21676         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
21677           _Internal::set_has_ino(&has_bits);
21678           _impl_.ino_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
21679           CHK_(ptr);
21680         } else {
21681           goto handle_unusual;
21682         }
21683         continue;
21684       // optional uint64 index = 3;
21685       case 3:
21686         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
21687           _Internal::set_has_index(&has_bits);
21688           _impl_.index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
21689           CHK_(ptr);
21690         } else {
21691           goto handle_unusual;
21692         }
21693         continue;
21694       // optional uint64 offset = 4;
21695       case 4:
21696         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
21697           _Internal::set_has_offset(&has_bits);
21698           _impl_.offset_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
21699           CHK_(ptr);
21700         } else {
21701           goto handle_unusual;
21702         }
21703         continue;
21704       // optional uint32 length = 5;
21705       case 5:
21706         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) {
21707           _Internal::set_has_length(&has_bits);
21708           _impl_.length_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
21709           CHK_(ptr);
21710         } else {
21711           goto handle_unusual;
21712         }
21713         continue;
21714       default:
21715         goto handle_unusual;
21716     }  // switch
21717   handle_unusual:
21718     if ((tag == 0) || ((tag & 7) == 4)) {
21719       CHK_(ptr);
21720       ctx->SetLastTag(tag);
21721       goto message_done;
21722     }
21723     ptr = UnknownFieldParse(
21724         tag,
21725         _internal_metadata_.mutable_unknown_fields<std::string>(),
21726         ptr, ctx);
21727     CHK_(ptr != nullptr);
21728   }  // while
21729 message_done:
21730   _impl_._has_bits_.Or(has_bits);
21731   return ptr;
21732 failure:
21733   ptr = nullptr;
21734   goto message_done;
21735 #undef CHK_
21736 }
21737 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const21738 ::uint8_t* Ext4JournalledInvalidatepageFtraceEvent::_InternalSerialize(
21739     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
21740   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.Ext4JournalledInvalidatepageFtraceEvent)
21741   ::uint32_t cached_has_bits = 0;
21742   (void) cached_has_bits;
21743 
21744   cached_has_bits = _impl_._has_bits_[0];
21745   // optional uint64 dev = 1;
21746   if (cached_has_bits & 0x00000001u) {
21747     target = stream->EnsureSpace(target);
21748     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
21749   }
21750 
21751   // optional uint64 ino = 2;
21752   if (cached_has_bits & 0x00000002u) {
21753     target = stream->EnsureSpace(target);
21754     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_ino(), target);
21755   }
21756 
21757   // optional uint64 index = 3;
21758   if (cached_has_bits & 0x00000004u) {
21759     target = stream->EnsureSpace(target);
21760     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(3, this->_internal_index(), target);
21761   }
21762 
21763   // optional uint64 offset = 4;
21764   if (cached_has_bits & 0x00000008u) {
21765     target = stream->EnsureSpace(target);
21766     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(4, this->_internal_offset(), target);
21767   }
21768 
21769   // optional uint32 length = 5;
21770   if (cached_has_bits & 0x00000010u) {
21771     target = stream->EnsureSpace(target);
21772     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_length(), target);
21773   }
21774 
21775   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
21776     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
21777         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
21778   }
21779   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.Ext4JournalledInvalidatepageFtraceEvent)
21780   return target;
21781 }
21782 
ByteSizeLong() const21783 size_t Ext4JournalledInvalidatepageFtraceEvent::ByteSizeLong() const {
21784 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.Ext4JournalledInvalidatepageFtraceEvent)
21785   size_t total_size = 0;
21786 
21787   ::uint32_t cached_has_bits = 0;
21788   // Prevent compiler warnings about cached_has_bits being unused
21789   (void) cached_has_bits;
21790 
21791   cached_has_bits = _impl_._has_bits_[0];
21792   if (cached_has_bits & 0x0000001fu) {
21793     // optional uint64 dev = 1;
21794     if (cached_has_bits & 0x00000001u) {
21795       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
21796     }
21797 
21798     // optional uint64 ino = 2;
21799     if (cached_has_bits & 0x00000002u) {
21800       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ino());
21801     }
21802 
21803     // optional uint64 index = 3;
21804     if (cached_has_bits & 0x00000004u) {
21805       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_index());
21806     }
21807 
21808     // optional uint64 offset = 4;
21809     if (cached_has_bits & 0x00000008u) {
21810       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_offset());
21811     }
21812 
21813     // optional uint32 length = 5;
21814     if (cached_has_bits & 0x00000010u) {
21815       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_length());
21816     }
21817 
21818   }
21819   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
21820     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
21821   }
21822   int cached_size = ::_pbi::ToCachedSize(total_size);
21823   SetCachedSize(cached_size);
21824   return total_size;
21825 }
21826 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)21827 void Ext4JournalledInvalidatepageFtraceEvent::CheckTypeAndMergeFrom(
21828     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
21829   MergeFrom(*::_pbi::DownCast<const Ext4JournalledInvalidatepageFtraceEvent*>(
21830       &from));
21831 }
21832 
MergeFrom(const Ext4JournalledInvalidatepageFtraceEvent & from)21833 void Ext4JournalledInvalidatepageFtraceEvent::MergeFrom(const Ext4JournalledInvalidatepageFtraceEvent& from) {
21834   Ext4JournalledInvalidatepageFtraceEvent* const _this = this;
21835   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.Ext4JournalledInvalidatepageFtraceEvent)
21836   GOOGLE_DCHECK_NE(&from, _this);
21837   ::uint32_t cached_has_bits = 0;
21838   (void) cached_has_bits;
21839 
21840   cached_has_bits = from._impl_._has_bits_[0];
21841   if (cached_has_bits & 0x0000001fu) {
21842     if (cached_has_bits & 0x00000001u) {
21843       _this->_impl_.dev_ = from._impl_.dev_;
21844     }
21845     if (cached_has_bits & 0x00000002u) {
21846       _this->_impl_.ino_ = from._impl_.ino_;
21847     }
21848     if (cached_has_bits & 0x00000004u) {
21849       _this->_impl_.index_ = from._impl_.index_;
21850     }
21851     if (cached_has_bits & 0x00000008u) {
21852       _this->_impl_.offset_ = from._impl_.offset_;
21853     }
21854     if (cached_has_bits & 0x00000010u) {
21855       _this->_impl_.length_ = from._impl_.length_;
21856     }
21857     _this->_impl_._has_bits_[0] |= cached_has_bits;
21858   }
21859   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
21860 }
21861 
CopyFrom(const Ext4JournalledInvalidatepageFtraceEvent & from)21862 void Ext4JournalledInvalidatepageFtraceEvent::CopyFrom(const Ext4JournalledInvalidatepageFtraceEvent& from) {
21863 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.Ext4JournalledInvalidatepageFtraceEvent)
21864   if (&from == this) return;
21865   Clear();
21866   MergeFrom(from);
21867 }
21868 
IsInitialized() const21869 bool Ext4JournalledInvalidatepageFtraceEvent::IsInitialized() const {
21870   return true;
21871 }
21872 
InternalSwap(Ext4JournalledInvalidatepageFtraceEvent * other)21873 void Ext4JournalledInvalidatepageFtraceEvent::InternalSwap(Ext4JournalledInvalidatepageFtraceEvent* other) {
21874   using std::swap;
21875   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
21876   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
21877   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
21878       PROTOBUF_FIELD_OFFSET(Ext4JournalledInvalidatepageFtraceEvent, _impl_.length_)
21879       + sizeof(Ext4JournalledInvalidatepageFtraceEvent::_impl_.length_)  // NOLINT
21880       - PROTOBUF_FIELD_OFFSET(Ext4JournalledInvalidatepageFtraceEvent, _impl_.dev_)>(
21881           reinterpret_cast<char*>(&_impl_.dev_),
21882           reinterpret_cast<char*>(&other->_impl_.dev_));
21883 }
21884 
GetTypeName() const21885 std::string Ext4JournalledInvalidatepageFtraceEvent::GetTypeName() const {
21886   return "perfetto.protos.Ext4JournalledInvalidatepageFtraceEvent";
21887 }
21888 
21889 
21890 // ===================================================================
21891 
21892 class Ext4JournalledWriteEndFtraceEvent::_Internal {
21893  public:
21894   using HasBits = decltype(std::declval<Ext4JournalledWriteEndFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)21895   static void set_has_dev(HasBits* has_bits) {
21896     (*has_bits)[0] |= 1u;
21897   }
set_has_ino(HasBits * has_bits)21898   static void set_has_ino(HasBits* has_bits) {
21899     (*has_bits)[0] |= 2u;
21900   }
set_has_pos(HasBits * has_bits)21901   static void set_has_pos(HasBits* has_bits) {
21902     (*has_bits)[0] |= 4u;
21903   }
set_has_len(HasBits * has_bits)21904   static void set_has_len(HasBits* has_bits) {
21905     (*has_bits)[0] |= 8u;
21906   }
set_has_copied(HasBits * has_bits)21907   static void set_has_copied(HasBits* has_bits) {
21908     (*has_bits)[0] |= 16u;
21909   }
21910 };
21911 
Ext4JournalledWriteEndFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)21912 Ext4JournalledWriteEndFtraceEvent::Ext4JournalledWriteEndFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
21913                          bool is_message_owned)
21914   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
21915   SharedCtor(arena, is_message_owned);
21916   // @@protoc_insertion_point(arena_constructor:perfetto.protos.Ext4JournalledWriteEndFtraceEvent)
21917 }
Ext4JournalledWriteEndFtraceEvent(const Ext4JournalledWriteEndFtraceEvent & from)21918 Ext4JournalledWriteEndFtraceEvent::Ext4JournalledWriteEndFtraceEvent(const Ext4JournalledWriteEndFtraceEvent& from)
21919   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
21920   Ext4JournalledWriteEndFtraceEvent* const _this = this; (void)_this;
21921   new (&_impl_) Impl_{
21922       decltype(_impl_._has_bits_){from._impl_._has_bits_}
21923     , /*decltype(_impl_._cached_size_)*/{}
21924     , decltype(_impl_.dev_){}
21925     , decltype(_impl_.ino_){}
21926     , decltype(_impl_.pos_){}
21927     , decltype(_impl_.len_){}
21928     , decltype(_impl_.copied_){}};
21929 
21930   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
21931   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
21932     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.copied_) -
21933     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.copied_));
21934   // @@protoc_insertion_point(copy_constructor:perfetto.protos.Ext4JournalledWriteEndFtraceEvent)
21935 }
21936 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)21937 inline void Ext4JournalledWriteEndFtraceEvent::SharedCtor(
21938     ::_pb::Arena* arena, bool is_message_owned) {
21939   (void)arena;
21940   (void)is_message_owned;
21941   new (&_impl_) Impl_{
21942       decltype(_impl_._has_bits_){}
21943     , /*decltype(_impl_._cached_size_)*/{}
21944     , decltype(_impl_.dev_){::uint64_t{0u}}
21945     , decltype(_impl_.ino_){::uint64_t{0u}}
21946     , decltype(_impl_.pos_){::int64_t{0}}
21947     , decltype(_impl_.len_){0u}
21948     , decltype(_impl_.copied_){0u}
21949   };
21950 }
21951 
~Ext4JournalledWriteEndFtraceEvent()21952 Ext4JournalledWriteEndFtraceEvent::~Ext4JournalledWriteEndFtraceEvent() {
21953   // @@protoc_insertion_point(destructor:perfetto.protos.Ext4JournalledWriteEndFtraceEvent)
21954   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
21955   (void)arena;
21956     return;
21957   }
21958   SharedDtor();
21959 }
21960 
SharedDtor()21961 inline void Ext4JournalledWriteEndFtraceEvent::SharedDtor() {
21962   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
21963 }
21964 
SetCachedSize(int size) const21965 void Ext4JournalledWriteEndFtraceEvent::SetCachedSize(int size) const {
21966   _impl_._cached_size_.Set(size);
21967 }
21968 
Clear()21969 void Ext4JournalledWriteEndFtraceEvent::Clear() {
21970 // @@protoc_insertion_point(message_clear_start:perfetto.protos.Ext4JournalledWriteEndFtraceEvent)
21971   ::uint32_t cached_has_bits = 0;
21972   // Prevent compiler warnings about cached_has_bits being unused
21973   (void) cached_has_bits;
21974 
21975   cached_has_bits = _impl_._has_bits_[0];
21976   if (cached_has_bits & 0x0000001fu) {
21977     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
21978         reinterpret_cast<char*>(&_impl_.copied_) -
21979         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.copied_));
21980   }
21981   _impl_._has_bits_.Clear();
21982   _internal_metadata_.Clear<std::string>();
21983 }
21984 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)21985 const char* Ext4JournalledWriteEndFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
21986 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
21987   _Internal::HasBits has_bits{};
21988   while (!ctx->Done(&ptr)) {
21989     ::uint32_t tag;
21990     ptr = ::_pbi::ReadTag(ptr, &tag);
21991     switch (tag >> 3) {
21992       // optional uint64 dev = 1;
21993       case 1:
21994         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
21995           _Internal::set_has_dev(&has_bits);
21996           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
21997           CHK_(ptr);
21998         } else {
21999           goto handle_unusual;
22000         }
22001         continue;
22002       // optional uint64 ino = 2;
22003       case 2:
22004         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
22005           _Internal::set_has_ino(&has_bits);
22006           _impl_.ino_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
22007           CHK_(ptr);
22008         } else {
22009           goto handle_unusual;
22010         }
22011         continue;
22012       // optional int64 pos = 3;
22013       case 3:
22014         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
22015           _Internal::set_has_pos(&has_bits);
22016           _impl_.pos_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
22017           CHK_(ptr);
22018         } else {
22019           goto handle_unusual;
22020         }
22021         continue;
22022       // optional uint32 len = 4;
22023       case 4:
22024         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
22025           _Internal::set_has_len(&has_bits);
22026           _impl_.len_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
22027           CHK_(ptr);
22028         } else {
22029           goto handle_unusual;
22030         }
22031         continue;
22032       // optional uint32 copied = 5;
22033       case 5:
22034         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) {
22035           _Internal::set_has_copied(&has_bits);
22036           _impl_.copied_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
22037           CHK_(ptr);
22038         } else {
22039           goto handle_unusual;
22040         }
22041         continue;
22042       default:
22043         goto handle_unusual;
22044     }  // switch
22045   handle_unusual:
22046     if ((tag == 0) || ((tag & 7) == 4)) {
22047       CHK_(ptr);
22048       ctx->SetLastTag(tag);
22049       goto message_done;
22050     }
22051     ptr = UnknownFieldParse(
22052         tag,
22053         _internal_metadata_.mutable_unknown_fields<std::string>(),
22054         ptr, ctx);
22055     CHK_(ptr != nullptr);
22056   }  // while
22057 message_done:
22058   _impl_._has_bits_.Or(has_bits);
22059   return ptr;
22060 failure:
22061   ptr = nullptr;
22062   goto message_done;
22063 #undef CHK_
22064 }
22065 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const22066 ::uint8_t* Ext4JournalledWriteEndFtraceEvent::_InternalSerialize(
22067     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
22068   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.Ext4JournalledWriteEndFtraceEvent)
22069   ::uint32_t cached_has_bits = 0;
22070   (void) cached_has_bits;
22071 
22072   cached_has_bits = _impl_._has_bits_[0];
22073   // optional uint64 dev = 1;
22074   if (cached_has_bits & 0x00000001u) {
22075     target = stream->EnsureSpace(target);
22076     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
22077   }
22078 
22079   // optional uint64 ino = 2;
22080   if (cached_has_bits & 0x00000002u) {
22081     target = stream->EnsureSpace(target);
22082     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_ino(), target);
22083   }
22084 
22085   // optional int64 pos = 3;
22086   if (cached_has_bits & 0x00000004u) {
22087     target = stream->EnsureSpace(target);
22088     target = ::_pbi::WireFormatLite::WriteInt64ToArray(3, this->_internal_pos(), target);
22089   }
22090 
22091   // optional uint32 len = 4;
22092   if (cached_has_bits & 0x00000008u) {
22093     target = stream->EnsureSpace(target);
22094     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_len(), target);
22095   }
22096 
22097   // optional uint32 copied = 5;
22098   if (cached_has_bits & 0x00000010u) {
22099     target = stream->EnsureSpace(target);
22100     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_copied(), target);
22101   }
22102 
22103   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
22104     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
22105         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
22106   }
22107   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.Ext4JournalledWriteEndFtraceEvent)
22108   return target;
22109 }
22110 
ByteSizeLong() const22111 size_t Ext4JournalledWriteEndFtraceEvent::ByteSizeLong() const {
22112 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.Ext4JournalledWriteEndFtraceEvent)
22113   size_t total_size = 0;
22114 
22115   ::uint32_t cached_has_bits = 0;
22116   // Prevent compiler warnings about cached_has_bits being unused
22117   (void) cached_has_bits;
22118 
22119   cached_has_bits = _impl_._has_bits_[0];
22120   if (cached_has_bits & 0x0000001fu) {
22121     // optional uint64 dev = 1;
22122     if (cached_has_bits & 0x00000001u) {
22123       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
22124     }
22125 
22126     // optional uint64 ino = 2;
22127     if (cached_has_bits & 0x00000002u) {
22128       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ino());
22129     }
22130 
22131     // optional int64 pos = 3;
22132     if (cached_has_bits & 0x00000004u) {
22133       total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_pos());
22134     }
22135 
22136     // optional uint32 len = 4;
22137     if (cached_has_bits & 0x00000008u) {
22138       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_len());
22139     }
22140 
22141     // optional uint32 copied = 5;
22142     if (cached_has_bits & 0x00000010u) {
22143       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_copied());
22144     }
22145 
22146   }
22147   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
22148     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
22149   }
22150   int cached_size = ::_pbi::ToCachedSize(total_size);
22151   SetCachedSize(cached_size);
22152   return total_size;
22153 }
22154 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)22155 void Ext4JournalledWriteEndFtraceEvent::CheckTypeAndMergeFrom(
22156     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
22157   MergeFrom(*::_pbi::DownCast<const Ext4JournalledWriteEndFtraceEvent*>(
22158       &from));
22159 }
22160 
MergeFrom(const Ext4JournalledWriteEndFtraceEvent & from)22161 void Ext4JournalledWriteEndFtraceEvent::MergeFrom(const Ext4JournalledWriteEndFtraceEvent& from) {
22162   Ext4JournalledWriteEndFtraceEvent* const _this = this;
22163   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.Ext4JournalledWriteEndFtraceEvent)
22164   GOOGLE_DCHECK_NE(&from, _this);
22165   ::uint32_t cached_has_bits = 0;
22166   (void) cached_has_bits;
22167 
22168   cached_has_bits = from._impl_._has_bits_[0];
22169   if (cached_has_bits & 0x0000001fu) {
22170     if (cached_has_bits & 0x00000001u) {
22171       _this->_impl_.dev_ = from._impl_.dev_;
22172     }
22173     if (cached_has_bits & 0x00000002u) {
22174       _this->_impl_.ino_ = from._impl_.ino_;
22175     }
22176     if (cached_has_bits & 0x00000004u) {
22177       _this->_impl_.pos_ = from._impl_.pos_;
22178     }
22179     if (cached_has_bits & 0x00000008u) {
22180       _this->_impl_.len_ = from._impl_.len_;
22181     }
22182     if (cached_has_bits & 0x00000010u) {
22183       _this->_impl_.copied_ = from._impl_.copied_;
22184     }
22185     _this->_impl_._has_bits_[0] |= cached_has_bits;
22186   }
22187   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
22188 }
22189 
CopyFrom(const Ext4JournalledWriteEndFtraceEvent & from)22190 void Ext4JournalledWriteEndFtraceEvent::CopyFrom(const Ext4JournalledWriteEndFtraceEvent& from) {
22191 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.Ext4JournalledWriteEndFtraceEvent)
22192   if (&from == this) return;
22193   Clear();
22194   MergeFrom(from);
22195 }
22196 
IsInitialized() const22197 bool Ext4JournalledWriteEndFtraceEvent::IsInitialized() const {
22198   return true;
22199 }
22200 
InternalSwap(Ext4JournalledWriteEndFtraceEvent * other)22201 void Ext4JournalledWriteEndFtraceEvent::InternalSwap(Ext4JournalledWriteEndFtraceEvent* other) {
22202   using std::swap;
22203   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
22204   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
22205   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
22206       PROTOBUF_FIELD_OFFSET(Ext4JournalledWriteEndFtraceEvent, _impl_.copied_)
22207       + sizeof(Ext4JournalledWriteEndFtraceEvent::_impl_.copied_)  // NOLINT
22208       - PROTOBUF_FIELD_OFFSET(Ext4JournalledWriteEndFtraceEvent, _impl_.dev_)>(
22209           reinterpret_cast<char*>(&_impl_.dev_),
22210           reinterpret_cast<char*>(&other->_impl_.dev_));
22211 }
22212 
GetTypeName() const22213 std::string Ext4JournalledWriteEndFtraceEvent::GetTypeName() const {
22214   return "perfetto.protos.Ext4JournalledWriteEndFtraceEvent";
22215 }
22216 
22217 
22218 // ===================================================================
22219 
22220 class Ext4LoadInodeFtraceEvent::_Internal {
22221  public:
22222   using HasBits = decltype(std::declval<Ext4LoadInodeFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)22223   static void set_has_dev(HasBits* has_bits) {
22224     (*has_bits)[0] |= 1u;
22225   }
set_has_ino(HasBits * has_bits)22226   static void set_has_ino(HasBits* has_bits) {
22227     (*has_bits)[0] |= 2u;
22228   }
22229 };
22230 
Ext4LoadInodeFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)22231 Ext4LoadInodeFtraceEvent::Ext4LoadInodeFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
22232                          bool is_message_owned)
22233   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
22234   SharedCtor(arena, is_message_owned);
22235   // @@protoc_insertion_point(arena_constructor:perfetto.protos.Ext4LoadInodeFtraceEvent)
22236 }
Ext4LoadInodeFtraceEvent(const Ext4LoadInodeFtraceEvent & from)22237 Ext4LoadInodeFtraceEvent::Ext4LoadInodeFtraceEvent(const Ext4LoadInodeFtraceEvent& from)
22238   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
22239   Ext4LoadInodeFtraceEvent* const _this = this; (void)_this;
22240   new (&_impl_) Impl_{
22241       decltype(_impl_._has_bits_){from._impl_._has_bits_}
22242     , /*decltype(_impl_._cached_size_)*/{}
22243     , decltype(_impl_.dev_){}
22244     , decltype(_impl_.ino_){}};
22245 
22246   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
22247   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
22248     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.ino_) -
22249     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.ino_));
22250   // @@protoc_insertion_point(copy_constructor:perfetto.protos.Ext4LoadInodeFtraceEvent)
22251 }
22252 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)22253 inline void Ext4LoadInodeFtraceEvent::SharedCtor(
22254     ::_pb::Arena* arena, bool is_message_owned) {
22255   (void)arena;
22256   (void)is_message_owned;
22257   new (&_impl_) Impl_{
22258       decltype(_impl_._has_bits_){}
22259     , /*decltype(_impl_._cached_size_)*/{}
22260     , decltype(_impl_.dev_){::uint64_t{0u}}
22261     , decltype(_impl_.ino_){::uint64_t{0u}}
22262   };
22263 }
22264 
~Ext4LoadInodeFtraceEvent()22265 Ext4LoadInodeFtraceEvent::~Ext4LoadInodeFtraceEvent() {
22266   // @@protoc_insertion_point(destructor:perfetto.protos.Ext4LoadInodeFtraceEvent)
22267   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
22268   (void)arena;
22269     return;
22270   }
22271   SharedDtor();
22272 }
22273 
SharedDtor()22274 inline void Ext4LoadInodeFtraceEvent::SharedDtor() {
22275   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
22276 }
22277 
SetCachedSize(int size) const22278 void Ext4LoadInodeFtraceEvent::SetCachedSize(int size) const {
22279   _impl_._cached_size_.Set(size);
22280 }
22281 
Clear()22282 void Ext4LoadInodeFtraceEvent::Clear() {
22283 // @@protoc_insertion_point(message_clear_start:perfetto.protos.Ext4LoadInodeFtraceEvent)
22284   ::uint32_t cached_has_bits = 0;
22285   // Prevent compiler warnings about cached_has_bits being unused
22286   (void) cached_has_bits;
22287 
22288   cached_has_bits = _impl_._has_bits_[0];
22289   if (cached_has_bits & 0x00000003u) {
22290     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
22291         reinterpret_cast<char*>(&_impl_.ino_) -
22292         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.ino_));
22293   }
22294   _impl_._has_bits_.Clear();
22295   _internal_metadata_.Clear<std::string>();
22296 }
22297 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)22298 const char* Ext4LoadInodeFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
22299 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
22300   _Internal::HasBits has_bits{};
22301   while (!ctx->Done(&ptr)) {
22302     ::uint32_t tag;
22303     ptr = ::_pbi::ReadTag(ptr, &tag);
22304     switch (tag >> 3) {
22305       // optional uint64 dev = 1;
22306       case 1:
22307         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
22308           _Internal::set_has_dev(&has_bits);
22309           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
22310           CHK_(ptr);
22311         } else {
22312           goto handle_unusual;
22313         }
22314         continue;
22315       // optional uint64 ino = 2;
22316       case 2:
22317         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
22318           _Internal::set_has_ino(&has_bits);
22319           _impl_.ino_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
22320           CHK_(ptr);
22321         } else {
22322           goto handle_unusual;
22323         }
22324         continue;
22325       default:
22326         goto handle_unusual;
22327     }  // switch
22328   handle_unusual:
22329     if ((tag == 0) || ((tag & 7) == 4)) {
22330       CHK_(ptr);
22331       ctx->SetLastTag(tag);
22332       goto message_done;
22333     }
22334     ptr = UnknownFieldParse(
22335         tag,
22336         _internal_metadata_.mutable_unknown_fields<std::string>(),
22337         ptr, ctx);
22338     CHK_(ptr != nullptr);
22339   }  // while
22340 message_done:
22341   _impl_._has_bits_.Or(has_bits);
22342   return ptr;
22343 failure:
22344   ptr = nullptr;
22345   goto message_done;
22346 #undef CHK_
22347 }
22348 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const22349 ::uint8_t* Ext4LoadInodeFtraceEvent::_InternalSerialize(
22350     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
22351   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.Ext4LoadInodeFtraceEvent)
22352   ::uint32_t cached_has_bits = 0;
22353   (void) cached_has_bits;
22354 
22355   cached_has_bits = _impl_._has_bits_[0];
22356   // optional uint64 dev = 1;
22357   if (cached_has_bits & 0x00000001u) {
22358     target = stream->EnsureSpace(target);
22359     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
22360   }
22361 
22362   // optional uint64 ino = 2;
22363   if (cached_has_bits & 0x00000002u) {
22364     target = stream->EnsureSpace(target);
22365     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_ino(), target);
22366   }
22367 
22368   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
22369     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
22370         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
22371   }
22372   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.Ext4LoadInodeFtraceEvent)
22373   return target;
22374 }
22375 
ByteSizeLong() const22376 size_t Ext4LoadInodeFtraceEvent::ByteSizeLong() const {
22377 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.Ext4LoadInodeFtraceEvent)
22378   size_t total_size = 0;
22379 
22380   ::uint32_t cached_has_bits = 0;
22381   // Prevent compiler warnings about cached_has_bits being unused
22382   (void) cached_has_bits;
22383 
22384   cached_has_bits = _impl_._has_bits_[0];
22385   if (cached_has_bits & 0x00000003u) {
22386     // optional uint64 dev = 1;
22387     if (cached_has_bits & 0x00000001u) {
22388       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
22389     }
22390 
22391     // optional uint64 ino = 2;
22392     if (cached_has_bits & 0x00000002u) {
22393       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ino());
22394     }
22395 
22396   }
22397   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
22398     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
22399   }
22400   int cached_size = ::_pbi::ToCachedSize(total_size);
22401   SetCachedSize(cached_size);
22402   return total_size;
22403 }
22404 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)22405 void Ext4LoadInodeFtraceEvent::CheckTypeAndMergeFrom(
22406     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
22407   MergeFrom(*::_pbi::DownCast<const Ext4LoadInodeFtraceEvent*>(
22408       &from));
22409 }
22410 
MergeFrom(const Ext4LoadInodeFtraceEvent & from)22411 void Ext4LoadInodeFtraceEvent::MergeFrom(const Ext4LoadInodeFtraceEvent& from) {
22412   Ext4LoadInodeFtraceEvent* const _this = this;
22413   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.Ext4LoadInodeFtraceEvent)
22414   GOOGLE_DCHECK_NE(&from, _this);
22415   ::uint32_t cached_has_bits = 0;
22416   (void) cached_has_bits;
22417 
22418   cached_has_bits = from._impl_._has_bits_[0];
22419   if (cached_has_bits & 0x00000003u) {
22420     if (cached_has_bits & 0x00000001u) {
22421       _this->_impl_.dev_ = from._impl_.dev_;
22422     }
22423     if (cached_has_bits & 0x00000002u) {
22424       _this->_impl_.ino_ = from._impl_.ino_;
22425     }
22426     _this->_impl_._has_bits_[0] |= cached_has_bits;
22427   }
22428   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
22429 }
22430 
CopyFrom(const Ext4LoadInodeFtraceEvent & from)22431 void Ext4LoadInodeFtraceEvent::CopyFrom(const Ext4LoadInodeFtraceEvent& from) {
22432 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.Ext4LoadInodeFtraceEvent)
22433   if (&from == this) return;
22434   Clear();
22435   MergeFrom(from);
22436 }
22437 
IsInitialized() const22438 bool Ext4LoadInodeFtraceEvent::IsInitialized() const {
22439   return true;
22440 }
22441 
InternalSwap(Ext4LoadInodeFtraceEvent * other)22442 void Ext4LoadInodeFtraceEvent::InternalSwap(Ext4LoadInodeFtraceEvent* other) {
22443   using std::swap;
22444   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
22445   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
22446   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
22447       PROTOBUF_FIELD_OFFSET(Ext4LoadInodeFtraceEvent, _impl_.ino_)
22448       + sizeof(Ext4LoadInodeFtraceEvent::_impl_.ino_)  // NOLINT
22449       - PROTOBUF_FIELD_OFFSET(Ext4LoadInodeFtraceEvent, _impl_.dev_)>(
22450           reinterpret_cast<char*>(&_impl_.dev_),
22451           reinterpret_cast<char*>(&other->_impl_.dev_));
22452 }
22453 
GetTypeName() const22454 std::string Ext4LoadInodeFtraceEvent::GetTypeName() const {
22455   return "perfetto.protos.Ext4LoadInodeFtraceEvent";
22456 }
22457 
22458 
22459 // ===================================================================
22460 
22461 class Ext4LoadInodeBitmapFtraceEvent::_Internal {
22462  public:
22463   using HasBits = decltype(std::declval<Ext4LoadInodeBitmapFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)22464   static void set_has_dev(HasBits* has_bits) {
22465     (*has_bits)[0] |= 1u;
22466   }
set_has_group(HasBits * has_bits)22467   static void set_has_group(HasBits* has_bits) {
22468     (*has_bits)[0] |= 2u;
22469   }
22470 };
22471 
Ext4LoadInodeBitmapFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)22472 Ext4LoadInodeBitmapFtraceEvent::Ext4LoadInodeBitmapFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
22473                          bool is_message_owned)
22474   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
22475   SharedCtor(arena, is_message_owned);
22476   // @@protoc_insertion_point(arena_constructor:perfetto.protos.Ext4LoadInodeBitmapFtraceEvent)
22477 }
Ext4LoadInodeBitmapFtraceEvent(const Ext4LoadInodeBitmapFtraceEvent & from)22478 Ext4LoadInodeBitmapFtraceEvent::Ext4LoadInodeBitmapFtraceEvent(const Ext4LoadInodeBitmapFtraceEvent& from)
22479   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
22480   Ext4LoadInodeBitmapFtraceEvent* const _this = this; (void)_this;
22481   new (&_impl_) Impl_{
22482       decltype(_impl_._has_bits_){from._impl_._has_bits_}
22483     , /*decltype(_impl_._cached_size_)*/{}
22484     , decltype(_impl_.dev_){}
22485     , decltype(_impl_.group_){}};
22486 
22487   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
22488   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
22489     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.group_) -
22490     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.group_));
22491   // @@protoc_insertion_point(copy_constructor:perfetto.protos.Ext4LoadInodeBitmapFtraceEvent)
22492 }
22493 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)22494 inline void Ext4LoadInodeBitmapFtraceEvent::SharedCtor(
22495     ::_pb::Arena* arena, bool is_message_owned) {
22496   (void)arena;
22497   (void)is_message_owned;
22498   new (&_impl_) Impl_{
22499       decltype(_impl_._has_bits_){}
22500     , /*decltype(_impl_._cached_size_)*/{}
22501     , decltype(_impl_.dev_){::uint64_t{0u}}
22502     , decltype(_impl_.group_){0u}
22503   };
22504 }
22505 
~Ext4LoadInodeBitmapFtraceEvent()22506 Ext4LoadInodeBitmapFtraceEvent::~Ext4LoadInodeBitmapFtraceEvent() {
22507   // @@protoc_insertion_point(destructor:perfetto.protos.Ext4LoadInodeBitmapFtraceEvent)
22508   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
22509   (void)arena;
22510     return;
22511   }
22512   SharedDtor();
22513 }
22514 
SharedDtor()22515 inline void Ext4LoadInodeBitmapFtraceEvent::SharedDtor() {
22516   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
22517 }
22518 
SetCachedSize(int size) const22519 void Ext4LoadInodeBitmapFtraceEvent::SetCachedSize(int size) const {
22520   _impl_._cached_size_.Set(size);
22521 }
22522 
Clear()22523 void Ext4LoadInodeBitmapFtraceEvent::Clear() {
22524 // @@protoc_insertion_point(message_clear_start:perfetto.protos.Ext4LoadInodeBitmapFtraceEvent)
22525   ::uint32_t cached_has_bits = 0;
22526   // Prevent compiler warnings about cached_has_bits being unused
22527   (void) cached_has_bits;
22528 
22529   cached_has_bits = _impl_._has_bits_[0];
22530   if (cached_has_bits & 0x00000003u) {
22531     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
22532         reinterpret_cast<char*>(&_impl_.group_) -
22533         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.group_));
22534   }
22535   _impl_._has_bits_.Clear();
22536   _internal_metadata_.Clear<std::string>();
22537 }
22538 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)22539 const char* Ext4LoadInodeBitmapFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
22540 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
22541   _Internal::HasBits has_bits{};
22542   while (!ctx->Done(&ptr)) {
22543     ::uint32_t tag;
22544     ptr = ::_pbi::ReadTag(ptr, &tag);
22545     switch (tag >> 3) {
22546       // optional uint64 dev = 1;
22547       case 1:
22548         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
22549           _Internal::set_has_dev(&has_bits);
22550           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
22551           CHK_(ptr);
22552         } else {
22553           goto handle_unusual;
22554         }
22555         continue;
22556       // optional uint32 group = 2;
22557       case 2:
22558         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
22559           _Internal::set_has_group(&has_bits);
22560           _impl_.group_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
22561           CHK_(ptr);
22562         } else {
22563           goto handle_unusual;
22564         }
22565         continue;
22566       default:
22567         goto handle_unusual;
22568     }  // switch
22569   handle_unusual:
22570     if ((tag == 0) || ((tag & 7) == 4)) {
22571       CHK_(ptr);
22572       ctx->SetLastTag(tag);
22573       goto message_done;
22574     }
22575     ptr = UnknownFieldParse(
22576         tag,
22577         _internal_metadata_.mutable_unknown_fields<std::string>(),
22578         ptr, ctx);
22579     CHK_(ptr != nullptr);
22580   }  // while
22581 message_done:
22582   _impl_._has_bits_.Or(has_bits);
22583   return ptr;
22584 failure:
22585   ptr = nullptr;
22586   goto message_done;
22587 #undef CHK_
22588 }
22589 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const22590 ::uint8_t* Ext4LoadInodeBitmapFtraceEvent::_InternalSerialize(
22591     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
22592   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.Ext4LoadInodeBitmapFtraceEvent)
22593   ::uint32_t cached_has_bits = 0;
22594   (void) cached_has_bits;
22595 
22596   cached_has_bits = _impl_._has_bits_[0];
22597   // optional uint64 dev = 1;
22598   if (cached_has_bits & 0x00000001u) {
22599     target = stream->EnsureSpace(target);
22600     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
22601   }
22602 
22603   // optional uint32 group = 2;
22604   if (cached_has_bits & 0x00000002u) {
22605     target = stream->EnsureSpace(target);
22606     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_group(), target);
22607   }
22608 
22609   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
22610     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
22611         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
22612   }
22613   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.Ext4LoadInodeBitmapFtraceEvent)
22614   return target;
22615 }
22616 
ByteSizeLong() const22617 size_t Ext4LoadInodeBitmapFtraceEvent::ByteSizeLong() const {
22618 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.Ext4LoadInodeBitmapFtraceEvent)
22619   size_t total_size = 0;
22620 
22621   ::uint32_t cached_has_bits = 0;
22622   // Prevent compiler warnings about cached_has_bits being unused
22623   (void) cached_has_bits;
22624 
22625   cached_has_bits = _impl_._has_bits_[0];
22626   if (cached_has_bits & 0x00000003u) {
22627     // optional uint64 dev = 1;
22628     if (cached_has_bits & 0x00000001u) {
22629       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
22630     }
22631 
22632     // optional uint32 group = 2;
22633     if (cached_has_bits & 0x00000002u) {
22634       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_group());
22635     }
22636 
22637   }
22638   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
22639     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
22640   }
22641   int cached_size = ::_pbi::ToCachedSize(total_size);
22642   SetCachedSize(cached_size);
22643   return total_size;
22644 }
22645 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)22646 void Ext4LoadInodeBitmapFtraceEvent::CheckTypeAndMergeFrom(
22647     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
22648   MergeFrom(*::_pbi::DownCast<const Ext4LoadInodeBitmapFtraceEvent*>(
22649       &from));
22650 }
22651 
MergeFrom(const Ext4LoadInodeBitmapFtraceEvent & from)22652 void Ext4LoadInodeBitmapFtraceEvent::MergeFrom(const Ext4LoadInodeBitmapFtraceEvent& from) {
22653   Ext4LoadInodeBitmapFtraceEvent* const _this = this;
22654   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.Ext4LoadInodeBitmapFtraceEvent)
22655   GOOGLE_DCHECK_NE(&from, _this);
22656   ::uint32_t cached_has_bits = 0;
22657   (void) cached_has_bits;
22658 
22659   cached_has_bits = from._impl_._has_bits_[0];
22660   if (cached_has_bits & 0x00000003u) {
22661     if (cached_has_bits & 0x00000001u) {
22662       _this->_impl_.dev_ = from._impl_.dev_;
22663     }
22664     if (cached_has_bits & 0x00000002u) {
22665       _this->_impl_.group_ = from._impl_.group_;
22666     }
22667     _this->_impl_._has_bits_[0] |= cached_has_bits;
22668   }
22669   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
22670 }
22671 
CopyFrom(const Ext4LoadInodeBitmapFtraceEvent & from)22672 void Ext4LoadInodeBitmapFtraceEvent::CopyFrom(const Ext4LoadInodeBitmapFtraceEvent& from) {
22673 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.Ext4LoadInodeBitmapFtraceEvent)
22674   if (&from == this) return;
22675   Clear();
22676   MergeFrom(from);
22677 }
22678 
IsInitialized() const22679 bool Ext4LoadInodeBitmapFtraceEvent::IsInitialized() const {
22680   return true;
22681 }
22682 
InternalSwap(Ext4LoadInodeBitmapFtraceEvent * other)22683 void Ext4LoadInodeBitmapFtraceEvent::InternalSwap(Ext4LoadInodeBitmapFtraceEvent* other) {
22684   using std::swap;
22685   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
22686   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
22687   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
22688       PROTOBUF_FIELD_OFFSET(Ext4LoadInodeBitmapFtraceEvent, _impl_.group_)
22689       + sizeof(Ext4LoadInodeBitmapFtraceEvent::_impl_.group_)  // NOLINT
22690       - PROTOBUF_FIELD_OFFSET(Ext4LoadInodeBitmapFtraceEvent, _impl_.dev_)>(
22691           reinterpret_cast<char*>(&_impl_.dev_),
22692           reinterpret_cast<char*>(&other->_impl_.dev_));
22693 }
22694 
GetTypeName() const22695 std::string Ext4LoadInodeBitmapFtraceEvent::GetTypeName() const {
22696   return "perfetto.protos.Ext4LoadInodeBitmapFtraceEvent";
22697 }
22698 
22699 
22700 // ===================================================================
22701 
22702 class Ext4MarkInodeDirtyFtraceEvent::_Internal {
22703  public:
22704   using HasBits = decltype(std::declval<Ext4MarkInodeDirtyFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)22705   static void set_has_dev(HasBits* has_bits) {
22706     (*has_bits)[0] |= 1u;
22707   }
set_has_ino(HasBits * has_bits)22708   static void set_has_ino(HasBits* has_bits) {
22709     (*has_bits)[0] |= 2u;
22710   }
set_has_ip(HasBits * has_bits)22711   static void set_has_ip(HasBits* has_bits) {
22712     (*has_bits)[0] |= 4u;
22713   }
22714 };
22715 
Ext4MarkInodeDirtyFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)22716 Ext4MarkInodeDirtyFtraceEvent::Ext4MarkInodeDirtyFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
22717                          bool is_message_owned)
22718   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
22719   SharedCtor(arena, is_message_owned);
22720   // @@protoc_insertion_point(arena_constructor:perfetto.protos.Ext4MarkInodeDirtyFtraceEvent)
22721 }
Ext4MarkInodeDirtyFtraceEvent(const Ext4MarkInodeDirtyFtraceEvent & from)22722 Ext4MarkInodeDirtyFtraceEvent::Ext4MarkInodeDirtyFtraceEvent(const Ext4MarkInodeDirtyFtraceEvent& from)
22723   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
22724   Ext4MarkInodeDirtyFtraceEvent* const _this = this; (void)_this;
22725   new (&_impl_) Impl_{
22726       decltype(_impl_._has_bits_){from._impl_._has_bits_}
22727     , /*decltype(_impl_._cached_size_)*/{}
22728     , decltype(_impl_.dev_){}
22729     , decltype(_impl_.ino_){}
22730     , decltype(_impl_.ip_){}};
22731 
22732   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
22733   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
22734     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.ip_) -
22735     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.ip_));
22736   // @@protoc_insertion_point(copy_constructor:perfetto.protos.Ext4MarkInodeDirtyFtraceEvent)
22737 }
22738 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)22739 inline void Ext4MarkInodeDirtyFtraceEvent::SharedCtor(
22740     ::_pb::Arena* arena, bool is_message_owned) {
22741   (void)arena;
22742   (void)is_message_owned;
22743   new (&_impl_) Impl_{
22744       decltype(_impl_._has_bits_){}
22745     , /*decltype(_impl_._cached_size_)*/{}
22746     , decltype(_impl_.dev_){::uint64_t{0u}}
22747     , decltype(_impl_.ino_){::uint64_t{0u}}
22748     , decltype(_impl_.ip_){::uint64_t{0u}}
22749   };
22750 }
22751 
~Ext4MarkInodeDirtyFtraceEvent()22752 Ext4MarkInodeDirtyFtraceEvent::~Ext4MarkInodeDirtyFtraceEvent() {
22753   // @@protoc_insertion_point(destructor:perfetto.protos.Ext4MarkInodeDirtyFtraceEvent)
22754   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
22755   (void)arena;
22756     return;
22757   }
22758   SharedDtor();
22759 }
22760 
SharedDtor()22761 inline void Ext4MarkInodeDirtyFtraceEvent::SharedDtor() {
22762   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
22763 }
22764 
SetCachedSize(int size) const22765 void Ext4MarkInodeDirtyFtraceEvent::SetCachedSize(int size) const {
22766   _impl_._cached_size_.Set(size);
22767 }
22768 
Clear()22769 void Ext4MarkInodeDirtyFtraceEvent::Clear() {
22770 // @@protoc_insertion_point(message_clear_start:perfetto.protos.Ext4MarkInodeDirtyFtraceEvent)
22771   ::uint32_t cached_has_bits = 0;
22772   // Prevent compiler warnings about cached_has_bits being unused
22773   (void) cached_has_bits;
22774 
22775   cached_has_bits = _impl_._has_bits_[0];
22776   if (cached_has_bits & 0x00000007u) {
22777     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
22778         reinterpret_cast<char*>(&_impl_.ip_) -
22779         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.ip_));
22780   }
22781   _impl_._has_bits_.Clear();
22782   _internal_metadata_.Clear<std::string>();
22783 }
22784 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)22785 const char* Ext4MarkInodeDirtyFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
22786 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
22787   _Internal::HasBits has_bits{};
22788   while (!ctx->Done(&ptr)) {
22789     ::uint32_t tag;
22790     ptr = ::_pbi::ReadTag(ptr, &tag);
22791     switch (tag >> 3) {
22792       // optional uint64 dev = 1;
22793       case 1:
22794         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
22795           _Internal::set_has_dev(&has_bits);
22796           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
22797           CHK_(ptr);
22798         } else {
22799           goto handle_unusual;
22800         }
22801         continue;
22802       // optional uint64 ino = 2;
22803       case 2:
22804         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
22805           _Internal::set_has_ino(&has_bits);
22806           _impl_.ino_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
22807           CHK_(ptr);
22808         } else {
22809           goto handle_unusual;
22810         }
22811         continue;
22812       // optional uint64 ip = 3;
22813       case 3:
22814         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
22815           _Internal::set_has_ip(&has_bits);
22816           _impl_.ip_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
22817           CHK_(ptr);
22818         } else {
22819           goto handle_unusual;
22820         }
22821         continue;
22822       default:
22823         goto handle_unusual;
22824     }  // switch
22825   handle_unusual:
22826     if ((tag == 0) || ((tag & 7) == 4)) {
22827       CHK_(ptr);
22828       ctx->SetLastTag(tag);
22829       goto message_done;
22830     }
22831     ptr = UnknownFieldParse(
22832         tag,
22833         _internal_metadata_.mutable_unknown_fields<std::string>(),
22834         ptr, ctx);
22835     CHK_(ptr != nullptr);
22836   }  // while
22837 message_done:
22838   _impl_._has_bits_.Or(has_bits);
22839   return ptr;
22840 failure:
22841   ptr = nullptr;
22842   goto message_done;
22843 #undef CHK_
22844 }
22845 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const22846 ::uint8_t* Ext4MarkInodeDirtyFtraceEvent::_InternalSerialize(
22847     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
22848   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.Ext4MarkInodeDirtyFtraceEvent)
22849   ::uint32_t cached_has_bits = 0;
22850   (void) cached_has_bits;
22851 
22852   cached_has_bits = _impl_._has_bits_[0];
22853   // optional uint64 dev = 1;
22854   if (cached_has_bits & 0x00000001u) {
22855     target = stream->EnsureSpace(target);
22856     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
22857   }
22858 
22859   // optional uint64 ino = 2;
22860   if (cached_has_bits & 0x00000002u) {
22861     target = stream->EnsureSpace(target);
22862     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_ino(), target);
22863   }
22864 
22865   // optional uint64 ip = 3;
22866   if (cached_has_bits & 0x00000004u) {
22867     target = stream->EnsureSpace(target);
22868     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(3, this->_internal_ip(), target);
22869   }
22870 
22871   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
22872     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
22873         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
22874   }
22875   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.Ext4MarkInodeDirtyFtraceEvent)
22876   return target;
22877 }
22878 
ByteSizeLong() const22879 size_t Ext4MarkInodeDirtyFtraceEvent::ByteSizeLong() const {
22880 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.Ext4MarkInodeDirtyFtraceEvent)
22881   size_t total_size = 0;
22882 
22883   ::uint32_t cached_has_bits = 0;
22884   // Prevent compiler warnings about cached_has_bits being unused
22885   (void) cached_has_bits;
22886 
22887   cached_has_bits = _impl_._has_bits_[0];
22888   if (cached_has_bits & 0x00000007u) {
22889     // optional uint64 dev = 1;
22890     if (cached_has_bits & 0x00000001u) {
22891       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
22892     }
22893 
22894     // optional uint64 ino = 2;
22895     if (cached_has_bits & 0x00000002u) {
22896       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ino());
22897     }
22898 
22899     // optional uint64 ip = 3;
22900     if (cached_has_bits & 0x00000004u) {
22901       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ip());
22902     }
22903 
22904   }
22905   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
22906     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
22907   }
22908   int cached_size = ::_pbi::ToCachedSize(total_size);
22909   SetCachedSize(cached_size);
22910   return total_size;
22911 }
22912 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)22913 void Ext4MarkInodeDirtyFtraceEvent::CheckTypeAndMergeFrom(
22914     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
22915   MergeFrom(*::_pbi::DownCast<const Ext4MarkInodeDirtyFtraceEvent*>(
22916       &from));
22917 }
22918 
MergeFrom(const Ext4MarkInodeDirtyFtraceEvent & from)22919 void Ext4MarkInodeDirtyFtraceEvent::MergeFrom(const Ext4MarkInodeDirtyFtraceEvent& from) {
22920   Ext4MarkInodeDirtyFtraceEvent* const _this = this;
22921   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.Ext4MarkInodeDirtyFtraceEvent)
22922   GOOGLE_DCHECK_NE(&from, _this);
22923   ::uint32_t cached_has_bits = 0;
22924   (void) cached_has_bits;
22925 
22926   cached_has_bits = from._impl_._has_bits_[0];
22927   if (cached_has_bits & 0x00000007u) {
22928     if (cached_has_bits & 0x00000001u) {
22929       _this->_impl_.dev_ = from._impl_.dev_;
22930     }
22931     if (cached_has_bits & 0x00000002u) {
22932       _this->_impl_.ino_ = from._impl_.ino_;
22933     }
22934     if (cached_has_bits & 0x00000004u) {
22935       _this->_impl_.ip_ = from._impl_.ip_;
22936     }
22937     _this->_impl_._has_bits_[0] |= cached_has_bits;
22938   }
22939   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
22940 }
22941 
CopyFrom(const Ext4MarkInodeDirtyFtraceEvent & from)22942 void Ext4MarkInodeDirtyFtraceEvent::CopyFrom(const Ext4MarkInodeDirtyFtraceEvent& from) {
22943 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.Ext4MarkInodeDirtyFtraceEvent)
22944   if (&from == this) return;
22945   Clear();
22946   MergeFrom(from);
22947 }
22948 
IsInitialized() const22949 bool Ext4MarkInodeDirtyFtraceEvent::IsInitialized() const {
22950   return true;
22951 }
22952 
InternalSwap(Ext4MarkInodeDirtyFtraceEvent * other)22953 void Ext4MarkInodeDirtyFtraceEvent::InternalSwap(Ext4MarkInodeDirtyFtraceEvent* other) {
22954   using std::swap;
22955   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
22956   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
22957   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
22958       PROTOBUF_FIELD_OFFSET(Ext4MarkInodeDirtyFtraceEvent, _impl_.ip_)
22959       + sizeof(Ext4MarkInodeDirtyFtraceEvent::_impl_.ip_)  // NOLINT
22960       - PROTOBUF_FIELD_OFFSET(Ext4MarkInodeDirtyFtraceEvent, _impl_.dev_)>(
22961           reinterpret_cast<char*>(&_impl_.dev_),
22962           reinterpret_cast<char*>(&other->_impl_.dev_));
22963 }
22964 
GetTypeName() const22965 std::string Ext4MarkInodeDirtyFtraceEvent::GetTypeName() const {
22966   return "perfetto.protos.Ext4MarkInodeDirtyFtraceEvent";
22967 }
22968 
22969 
22970 // ===================================================================
22971 
22972 class Ext4MbBitmapLoadFtraceEvent::_Internal {
22973  public:
22974   using HasBits = decltype(std::declval<Ext4MbBitmapLoadFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)22975   static void set_has_dev(HasBits* has_bits) {
22976     (*has_bits)[0] |= 1u;
22977   }
set_has_group(HasBits * has_bits)22978   static void set_has_group(HasBits* has_bits) {
22979     (*has_bits)[0] |= 2u;
22980   }
22981 };
22982 
Ext4MbBitmapLoadFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)22983 Ext4MbBitmapLoadFtraceEvent::Ext4MbBitmapLoadFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
22984                          bool is_message_owned)
22985   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
22986   SharedCtor(arena, is_message_owned);
22987   // @@protoc_insertion_point(arena_constructor:perfetto.protos.Ext4MbBitmapLoadFtraceEvent)
22988 }
Ext4MbBitmapLoadFtraceEvent(const Ext4MbBitmapLoadFtraceEvent & from)22989 Ext4MbBitmapLoadFtraceEvent::Ext4MbBitmapLoadFtraceEvent(const Ext4MbBitmapLoadFtraceEvent& from)
22990   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
22991   Ext4MbBitmapLoadFtraceEvent* const _this = this; (void)_this;
22992   new (&_impl_) Impl_{
22993       decltype(_impl_._has_bits_){from._impl_._has_bits_}
22994     , /*decltype(_impl_._cached_size_)*/{}
22995     , decltype(_impl_.dev_){}
22996     , decltype(_impl_.group_){}};
22997 
22998   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
22999   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
23000     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.group_) -
23001     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.group_));
23002   // @@protoc_insertion_point(copy_constructor:perfetto.protos.Ext4MbBitmapLoadFtraceEvent)
23003 }
23004 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)23005 inline void Ext4MbBitmapLoadFtraceEvent::SharedCtor(
23006     ::_pb::Arena* arena, bool is_message_owned) {
23007   (void)arena;
23008   (void)is_message_owned;
23009   new (&_impl_) Impl_{
23010       decltype(_impl_._has_bits_){}
23011     , /*decltype(_impl_._cached_size_)*/{}
23012     , decltype(_impl_.dev_){::uint64_t{0u}}
23013     , decltype(_impl_.group_){0u}
23014   };
23015 }
23016 
~Ext4MbBitmapLoadFtraceEvent()23017 Ext4MbBitmapLoadFtraceEvent::~Ext4MbBitmapLoadFtraceEvent() {
23018   // @@protoc_insertion_point(destructor:perfetto.protos.Ext4MbBitmapLoadFtraceEvent)
23019   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
23020   (void)arena;
23021     return;
23022   }
23023   SharedDtor();
23024 }
23025 
SharedDtor()23026 inline void Ext4MbBitmapLoadFtraceEvent::SharedDtor() {
23027   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
23028 }
23029 
SetCachedSize(int size) const23030 void Ext4MbBitmapLoadFtraceEvent::SetCachedSize(int size) const {
23031   _impl_._cached_size_.Set(size);
23032 }
23033 
Clear()23034 void Ext4MbBitmapLoadFtraceEvent::Clear() {
23035 // @@protoc_insertion_point(message_clear_start:perfetto.protos.Ext4MbBitmapLoadFtraceEvent)
23036   ::uint32_t cached_has_bits = 0;
23037   // Prevent compiler warnings about cached_has_bits being unused
23038   (void) cached_has_bits;
23039 
23040   cached_has_bits = _impl_._has_bits_[0];
23041   if (cached_has_bits & 0x00000003u) {
23042     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
23043         reinterpret_cast<char*>(&_impl_.group_) -
23044         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.group_));
23045   }
23046   _impl_._has_bits_.Clear();
23047   _internal_metadata_.Clear<std::string>();
23048 }
23049 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)23050 const char* Ext4MbBitmapLoadFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
23051 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
23052   _Internal::HasBits has_bits{};
23053   while (!ctx->Done(&ptr)) {
23054     ::uint32_t tag;
23055     ptr = ::_pbi::ReadTag(ptr, &tag);
23056     switch (tag >> 3) {
23057       // optional uint64 dev = 1;
23058       case 1:
23059         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
23060           _Internal::set_has_dev(&has_bits);
23061           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
23062           CHK_(ptr);
23063         } else {
23064           goto handle_unusual;
23065         }
23066         continue;
23067       // optional uint32 group = 2;
23068       case 2:
23069         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
23070           _Internal::set_has_group(&has_bits);
23071           _impl_.group_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
23072           CHK_(ptr);
23073         } else {
23074           goto handle_unusual;
23075         }
23076         continue;
23077       default:
23078         goto handle_unusual;
23079     }  // switch
23080   handle_unusual:
23081     if ((tag == 0) || ((tag & 7) == 4)) {
23082       CHK_(ptr);
23083       ctx->SetLastTag(tag);
23084       goto message_done;
23085     }
23086     ptr = UnknownFieldParse(
23087         tag,
23088         _internal_metadata_.mutable_unknown_fields<std::string>(),
23089         ptr, ctx);
23090     CHK_(ptr != nullptr);
23091   }  // while
23092 message_done:
23093   _impl_._has_bits_.Or(has_bits);
23094   return ptr;
23095 failure:
23096   ptr = nullptr;
23097   goto message_done;
23098 #undef CHK_
23099 }
23100 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const23101 ::uint8_t* Ext4MbBitmapLoadFtraceEvent::_InternalSerialize(
23102     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
23103   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.Ext4MbBitmapLoadFtraceEvent)
23104   ::uint32_t cached_has_bits = 0;
23105   (void) cached_has_bits;
23106 
23107   cached_has_bits = _impl_._has_bits_[0];
23108   // optional uint64 dev = 1;
23109   if (cached_has_bits & 0x00000001u) {
23110     target = stream->EnsureSpace(target);
23111     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
23112   }
23113 
23114   // optional uint32 group = 2;
23115   if (cached_has_bits & 0x00000002u) {
23116     target = stream->EnsureSpace(target);
23117     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_group(), target);
23118   }
23119 
23120   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
23121     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
23122         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
23123   }
23124   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.Ext4MbBitmapLoadFtraceEvent)
23125   return target;
23126 }
23127 
ByteSizeLong() const23128 size_t Ext4MbBitmapLoadFtraceEvent::ByteSizeLong() const {
23129 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.Ext4MbBitmapLoadFtraceEvent)
23130   size_t total_size = 0;
23131 
23132   ::uint32_t cached_has_bits = 0;
23133   // Prevent compiler warnings about cached_has_bits being unused
23134   (void) cached_has_bits;
23135 
23136   cached_has_bits = _impl_._has_bits_[0];
23137   if (cached_has_bits & 0x00000003u) {
23138     // optional uint64 dev = 1;
23139     if (cached_has_bits & 0x00000001u) {
23140       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
23141     }
23142 
23143     // optional uint32 group = 2;
23144     if (cached_has_bits & 0x00000002u) {
23145       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_group());
23146     }
23147 
23148   }
23149   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
23150     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
23151   }
23152   int cached_size = ::_pbi::ToCachedSize(total_size);
23153   SetCachedSize(cached_size);
23154   return total_size;
23155 }
23156 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)23157 void Ext4MbBitmapLoadFtraceEvent::CheckTypeAndMergeFrom(
23158     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
23159   MergeFrom(*::_pbi::DownCast<const Ext4MbBitmapLoadFtraceEvent*>(
23160       &from));
23161 }
23162 
MergeFrom(const Ext4MbBitmapLoadFtraceEvent & from)23163 void Ext4MbBitmapLoadFtraceEvent::MergeFrom(const Ext4MbBitmapLoadFtraceEvent& from) {
23164   Ext4MbBitmapLoadFtraceEvent* const _this = this;
23165   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.Ext4MbBitmapLoadFtraceEvent)
23166   GOOGLE_DCHECK_NE(&from, _this);
23167   ::uint32_t cached_has_bits = 0;
23168   (void) cached_has_bits;
23169 
23170   cached_has_bits = from._impl_._has_bits_[0];
23171   if (cached_has_bits & 0x00000003u) {
23172     if (cached_has_bits & 0x00000001u) {
23173       _this->_impl_.dev_ = from._impl_.dev_;
23174     }
23175     if (cached_has_bits & 0x00000002u) {
23176       _this->_impl_.group_ = from._impl_.group_;
23177     }
23178     _this->_impl_._has_bits_[0] |= cached_has_bits;
23179   }
23180   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
23181 }
23182 
CopyFrom(const Ext4MbBitmapLoadFtraceEvent & from)23183 void Ext4MbBitmapLoadFtraceEvent::CopyFrom(const Ext4MbBitmapLoadFtraceEvent& from) {
23184 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.Ext4MbBitmapLoadFtraceEvent)
23185   if (&from == this) return;
23186   Clear();
23187   MergeFrom(from);
23188 }
23189 
IsInitialized() const23190 bool Ext4MbBitmapLoadFtraceEvent::IsInitialized() const {
23191   return true;
23192 }
23193 
InternalSwap(Ext4MbBitmapLoadFtraceEvent * other)23194 void Ext4MbBitmapLoadFtraceEvent::InternalSwap(Ext4MbBitmapLoadFtraceEvent* other) {
23195   using std::swap;
23196   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
23197   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
23198   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
23199       PROTOBUF_FIELD_OFFSET(Ext4MbBitmapLoadFtraceEvent, _impl_.group_)
23200       + sizeof(Ext4MbBitmapLoadFtraceEvent::_impl_.group_)  // NOLINT
23201       - PROTOBUF_FIELD_OFFSET(Ext4MbBitmapLoadFtraceEvent, _impl_.dev_)>(
23202           reinterpret_cast<char*>(&_impl_.dev_),
23203           reinterpret_cast<char*>(&other->_impl_.dev_));
23204 }
23205 
GetTypeName() const23206 std::string Ext4MbBitmapLoadFtraceEvent::GetTypeName() const {
23207   return "perfetto.protos.Ext4MbBitmapLoadFtraceEvent";
23208 }
23209 
23210 
23211 // ===================================================================
23212 
23213 class Ext4MbBuddyBitmapLoadFtraceEvent::_Internal {
23214  public:
23215   using HasBits = decltype(std::declval<Ext4MbBuddyBitmapLoadFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)23216   static void set_has_dev(HasBits* has_bits) {
23217     (*has_bits)[0] |= 1u;
23218   }
set_has_group(HasBits * has_bits)23219   static void set_has_group(HasBits* has_bits) {
23220     (*has_bits)[0] |= 2u;
23221   }
23222 };
23223 
Ext4MbBuddyBitmapLoadFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)23224 Ext4MbBuddyBitmapLoadFtraceEvent::Ext4MbBuddyBitmapLoadFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
23225                          bool is_message_owned)
23226   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
23227   SharedCtor(arena, is_message_owned);
23228   // @@protoc_insertion_point(arena_constructor:perfetto.protos.Ext4MbBuddyBitmapLoadFtraceEvent)
23229 }
Ext4MbBuddyBitmapLoadFtraceEvent(const Ext4MbBuddyBitmapLoadFtraceEvent & from)23230 Ext4MbBuddyBitmapLoadFtraceEvent::Ext4MbBuddyBitmapLoadFtraceEvent(const Ext4MbBuddyBitmapLoadFtraceEvent& from)
23231   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
23232   Ext4MbBuddyBitmapLoadFtraceEvent* const _this = this; (void)_this;
23233   new (&_impl_) Impl_{
23234       decltype(_impl_._has_bits_){from._impl_._has_bits_}
23235     , /*decltype(_impl_._cached_size_)*/{}
23236     , decltype(_impl_.dev_){}
23237     , decltype(_impl_.group_){}};
23238 
23239   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
23240   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
23241     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.group_) -
23242     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.group_));
23243   // @@protoc_insertion_point(copy_constructor:perfetto.protos.Ext4MbBuddyBitmapLoadFtraceEvent)
23244 }
23245 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)23246 inline void Ext4MbBuddyBitmapLoadFtraceEvent::SharedCtor(
23247     ::_pb::Arena* arena, bool is_message_owned) {
23248   (void)arena;
23249   (void)is_message_owned;
23250   new (&_impl_) Impl_{
23251       decltype(_impl_._has_bits_){}
23252     , /*decltype(_impl_._cached_size_)*/{}
23253     , decltype(_impl_.dev_){::uint64_t{0u}}
23254     , decltype(_impl_.group_){0u}
23255   };
23256 }
23257 
~Ext4MbBuddyBitmapLoadFtraceEvent()23258 Ext4MbBuddyBitmapLoadFtraceEvent::~Ext4MbBuddyBitmapLoadFtraceEvent() {
23259   // @@protoc_insertion_point(destructor:perfetto.protos.Ext4MbBuddyBitmapLoadFtraceEvent)
23260   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
23261   (void)arena;
23262     return;
23263   }
23264   SharedDtor();
23265 }
23266 
SharedDtor()23267 inline void Ext4MbBuddyBitmapLoadFtraceEvent::SharedDtor() {
23268   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
23269 }
23270 
SetCachedSize(int size) const23271 void Ext4MbBuddyBitmapLoadFtraceEvent::SetCachedSize(int size) const {
23272   _impl_._cached_size_.Set(size);
23273 }
23274 
Clear()23275 void Ext4MbBuddyBitmapLoadFtraceEvent::Clear() {
23276 // @@protoc_insertion_point(message_clear_start:perfetto.protos.Ext4MbBuddyBitmapLoadFtraceEvent)
23277   ::uint32_t cached_has_bits = 0;
23278   // Prevent compiler warnings about cached_has_bits being unused
23279   (void) cached_has_bits;
23280 
23281   cached_has_bits = _impl_._has_bits_[0];
23282   if (cached_has_bits & 0x00000003u) {
23283     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
23284         reinterpret_cast<char*>(&_impl_.group_) -
23285         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.group_));
23286   }
23287   _impl_._has_bits_.Clear();
23288   _internal_metadata_.Clear<std::string>();
23289 }
23290 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)23291 const char* Ext4MbBuddyBitmapLoadFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
23292 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
23293   _Internal::HasBits has_bits{};
23294   while (!ctx->Done(&ptr)) {
23295     ::uint32_t tag;
23296     ptr = ::_pbi::ReadTag(ptr, &tag);
23297     switch (tag >> 3) {
23298       // optional uint64 dev = 1;
23299       case 1:
23300         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
23301           _Internal::set_has_dev(&has_bits);
23302           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
23303           CHK_(ptr);
23304         } else {
23305           goto handle_unusual;
23306         }
23307         continue;
23308       // optional uint32 group = 2;
23309       case 2:
23310         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
23311           _Internal::set_has_group(&has_bits);
23312           _impl_.group_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
23313           CHK_(ptr);
23314         } else {
23315           goto handle_unusual;
23316         }
23317         continue;
23318       default:
23319         goto handle_unusual;
23320     }  // switch
23321   handle_unusual:
23322     if ((tag == 0) || ((tag & 7) == 4)) {
23323       CHK_(ptr);
23324       ctx->SetLastTag(tag);
23325       goto message_done;
23326     }
23327     ptr = UnknownFieldParse(
23328         tag,
23329         _internal_metadata_.mutable_unknown_fields<std::string>(),
23330         ptr, ctx);
23331     CHK_(ptr != nullptr);
23332   }  // while
23333 message_done:
23334   _impl_._has_bits_.Or(has_bits);
23335   return ptr;
23336 failure:
23337   ptr = nullptr;
23338   goto message_done;
23339 #undef CHK_
23340 }
23341 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const23342 ::uint8_t* Ext4MbBuddyBitmapLoadFtraceEvent::_InternalSerialize(
23343     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
23344   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.Ext4MbBuddyBitmapLoadFtraceEvent)
23345   ::uint32_t cached_has_bits = 0;
23346   (void) cached_has_bits;
23347 
23348   cached_has_bits = _impl_._has_bits_[0];
23349   // optional uint64 dev = 1;
23350   if (cached_has_bits & 0x00000001u) {
23351     target = stream->EnsureSpace(target);
23352     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
23353   }
23354 
23355   // optional uint32 group = 2;
23356   if (cached_has_bits & 0x00000002u) {
23357     target = stream->EnsureSpace(target);
23358     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_group(), target);
23359   }
23360 
23361   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
23362     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
23363         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
23364   }
23365   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.Ext4MbBuddyBitmapLoadFtraceEvent)
23366   return target;
23367 }
23368 
ByteSizeLong() const23369 size_t Ext4MbBuddyBitmapLoadFtraceEvent::ByteSizeLong() const {
23370 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.Ext4MbBuddyBitmapLoadFtraceEvent)
23371   size_t total_size = 0;
23372 
23373   ::uint32_t cached_has_bits = 0;
23374   // Prevent compiler warnings about cached_has_bits being unused
23375   (void) cached_has_bits;
23376 
23377   cached_has_bits = _impl_._has_bits_[0];
23378   if (cached_has_bits & 0x00000003u) {
23379     // optional uint64 dev = 1;
23380     if (cached_has_bits & 0x00000001u) {
23381       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
23382     }
23383 
23384     // optional uint32 group = 2;
23385     if (cached_has_bits & 0x00000002u) {
23386       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_group());
23387     }
23388 
23389   }
23390   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
23391     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
23392   }
23393   int cached_size = ::_pbi::ToCachedSize(total_size);
23394   SetCachedSize(cached_size);
23395   return total_size;
23396 }
23397 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)23398 void Ext4MbBuddyBitmapLoadFtraceEvent::CheckTypeAndMergeFrom(
23399     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
23400   MergeFrom(*::_pbi::DownCast<const Ext4MbBuddyBitmapLoadFtraceEvent*>(
23401       &from));
23402 }
23403 
MergeFrom(const Ext4MbBuddyBitmapLoadFtraceEvent & from)23404 void Ext4MbBuddyBitmapLoadFtraceEvent::MergeFrom(const Ext4MbBuddyBitmapLoadFtraceEvent& from) {
23405   Ext4MbBuddyBitmapLoadFtraceEvent* const _this = this;
23406   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.Ext4MbBuddyBitmapLoadFtraceEvent)
23407   GOOGLE_DCHECK_NE(&from, _this);
23408   ::uint32_t cached_has_bits = 0;
23409   (void) cached_has_bits;
23410 
23411   cached_has_bits = from._impl_._has_bits_[0];
23412   if (cached_has_bits & 0x00000003u) {
23413     if (cached_has_bits & 0x00000001u) {
23414       _this->_impl_.dev_ = from._impl_.dev_;
23415     }
23416     if (cached_has_bits & 0x00000002u) {
23417       _this->_impl_.group_ = from._impl_.group_;
23418     }
23419     _this->_impl_._has_bits_[0] |= cached_has_bits;
23420   }
23421   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
23422 }
23423 
CopyFrom(const Ext4MbBuddyBitmapLoadFtraceEvent & from)23424 void Ext4MbBuddyBitmapLoadFtraceEvent::CopyFrom(const Ext4MbBuddyBitmapLoadFtraceEvent& from) {
23425 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.Ext4MbBuddyBitmapLoadFtraceEvent)
23426   if (&from == this) return;
23427   Clear();
23428   MergeFrom(from);
23429 }
23430 
IsInitialized() const23431 bool Ext4MbBuddyBitmapLoadFtraceEvent::IsInitialized() const {
23432   return true;
23433 }
23434 
InternalSwap(Ext4MbBuddyBitmapLoadFtraceEvent * other)23435 void Ext4MbBuddyBitmapLoadFtraceEvent::InternalSwap(Ext4MbBuddyBitmapLoadFtraceEvent* other) {
23436   using std::swap;
23437   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
23438   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
23439   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
23440       PROTOBUF_FIELD_OFFSET(Ext4MbBuddyBitmapLoadFtraceEvent, _impl_.group_)
23441       + sizeof(Ext4MbBuddyBitmapLoadFtraceEvent::_impl_.group_)  // NOLINT
23442       - PROTOBUF_FIELD_OFFSET(Ext4MbBuddyBitmapLoadFtraceEvent, _impl_.dev_)>(
23443           reinterpret_cast<char*>(&_impl_.dev_),
23444           reinterpret_cast<char*>(&other->_impl_.dev_));
23445 }
23446 
GetTypeName() const23447 std::string Ext4MbBuddyBitmapLoadFtraceEvent::GetTypeName() const {
23448   return "perfetto.protos.Ext4MbBuddyBitmapLoadFtraceEvent";
23449 }
23450 
23451 
23452 // ===================================================================
23453 
23454 class Ext4MbDiscardPreallocationsFtraceEvent::_Internal {
23455  public:
23456   using HasBits = decltype(std::declval<Ext4MbDiscardPreallocationsFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)23457   static void set_has_dev(HasBits* has_bits) {
23458     (*has_bits)[0] |= 1u;
23459   }
set_has_needed(HasBits * has_bits)23460   static void set_has_needed(HasBits* has_bits) {
23461     (*has_bits)[0] |= 2u;
23462   }
23463 };
23464 
Ext4MbDiscardPreallocationsFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)23465 Ext4MbDiscardPreallocationsFtraceEvent::Ext4MbDiscardPreallocationsFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
23466                          bool is_message_owned)
23467   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
23468   SharedCtor(arena, is_message_owned);
23469   // @@protoc_insertion_point(arena_constructor:perfetto.protos.Ext4MbDiscardPreallocationsFtraceEvent)
23470 }
Ext4MbDiscardPreallocationsFtraceEvent(const Ext4MbDiscardPreallocationsFtraceEvent & from)23471 Ext4MbDiscardPreallocationsFtraceEvent::Ext4MbDiscardPreallocationsFtraceEvent(const Ext4MbDiscardPreallocationsFtraceEvent& from)
23472   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
23473   Ext4MbDiscardPreallocationsFtraceEvent* const _this = this; (void)_this;
23474   new (&_impl_) Impl_{
23475       decltype(_impl_._has_bits_){from._impl_._has_bits_}
23476     , /*decltype(_impl_._cached_size_)*/{}
23477     , decltype(_impl_.dev_){}
23478     , decltype(_impl_.needed_){}};
23479 
23480   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
23481   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
23482     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.needed_) -
23483     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.needed_));
23484   // @@protoc_insertion_point(copy_constructor:perfetto.protos.Ext4MbDiscardPreallocationsFtraceEvent)
23485 }
23486 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)23487 inline void Ext4MbDiscardPreallocationsFtraceEvent::SharedCtor(
23488     ::_pb::Arena* arena, bool is_message_owned) {
23489   (void)arena;
23490   (void)is_message_owned;
23491   new (&_impl_) Impl_{
23492       decltype(_impl_._has_bits_){}
23493     , /*decltype(_impl_._cached_size_)*/{}
23494     , decltype(_impl_.dev_){::uint64_t{0u}}
23495     , decltype(_impl_.needed_){0}
23496   };
23497 }
23498 
~Ext4MbDiscardPreallocationsFtraceEvent()23499 Ext4MbDiscardPreallocationsFtraceEvent::~Ext4MbDiscardPreallocationsFtraceEvent() {
23500   // @@protoc_insertion_point(destructor:perfetto.protos.Ext4MbDiscardPreallocationsFtraceEvent)
23501   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
23502   (void)arena;
23503     return;
23504   }
23505   SharedDtor();
23506 }
23507 
SharedDtor()23508 inline void Ext4MbDiscardPreallocationsFtraceEvent::SharedDtor() {
23509   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
23510 }
23511 
SetCachedSize(int size) const23512 void Ext4MbDiscardPreallocationsFtraceEvent::SetCachedSize(int size) const {
23513   _impl_._cached_size_.Set(size);
23514 }
23515 
Clear()23516 void Ext4MbDiscardPreallocationsFtraceEvent::Clear() {
23517 // @@protoc_insertion_point(message_clear_start:perfetto.protos.Ext4MbDiscardPreallocationsFtraceEvent)
23518   ::uint32_t cached_has_bits = 0;
23519   // Prevent compiler warnings about cached_has_bits being unused
23520   (void) cached_has_bits;
23521 
23522   cached_has_bits = _impl_._has_bits_[0];
23523   if (cached_has_bits & 0x00000003u) {
23524     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
23525         reinterpret_cast<char*>(&_impl_.needed_) -
23526         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.needed_));
23527   }
23528   _impl_._has_bits_.Clear();
23529   _internal_metadata_.Clear<std::string>();
23530 }
23531 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)23532 const char* Ext4MbDiscardPreallocationsFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
23533 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
23534   _Internal::HasBits has_bits{};
23535   while (!ctx->Done(&ptr)) {
23536     ::uint32_t tag;
23537     ptr = ::_pbi::ReadTag(ptr, &tag);
23538     switch (tag >> 3) {
23539       // optional uint64 dev = 1;
23540       case 1:
23541         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
23542           _Internal::set_has_dev(&has_bits);
23543           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
23544           CHK_(ptr);
23545         } else {
23546           goto handle_unusual;
23547         }
23548         continue;
23549       // optional int32 needed = 2;
23550       case 2:
23551         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
23552           _Internal::set_has_needed(&has_bits);
23553           _impl_.needed_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
23554           CHK_(ptr);
23555         } else {
23556           goto handle_unusual;
23557         }
23558         continue;
23559       default:
23560         goto handle_unusual;
23561     }  // switch
23562   handle_unusual:
23563     if ((tag == 0) || ((tag & 7) == 4)) {
23564       CHK_(ptr);
23565       ctx->SetLastTag(tag);
23566       goto message_done;
23567     }
23568     ptr = UnknownFieldParse(
23569         tag,
23570         _internal_metadata_.mutable_unknown_fields<std::string>(),
23571         ptr, ctx);
23572     CHK_(ptr != nullptr);
23573   }  // while
23574 message_done:
23575   _impl_._has_bits_.Or(has_bits);
23576   return ptr;
23577 failure:
23578   ptr = nullptr;
23579   goto message_done;
23580 #undef CHK_
23581 }
23582 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const23583 ::uint8_t* Ext4MbDiscardPreallocationsFtraceEvent::_InternalSerialize(
23584     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
23585   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.Ext4MbDiscardPreallocationsFtraceEvent)
23586   ::uint32_t cached_has_bits = 0;
23587   (void) cached_has_bits;
23588 
23589   cached_has_bits = _impl_._has_bits_[0];
23590   // optional uint64 dev = 1;
23591   if (cached_has_bits & 0x00000001u) {
23592     target = stream->EnsureSpace(target);
23593     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
23594   }
23595 
23596   // optional int32 needed = 2;
23597   if (cached_has_bits & 0x00000002u) {
23598     target = stream->EnsureSpace(target);
23599     target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_needed(), target);
23600   }
23601 
23602   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
23603     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
23604         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
23605   }
23606   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.Ext4MbDiscardPreallocationsFtraceEvent)
23607   return target;
23608 }
23609 
ByteSizeLong() const23610 size_t Ext4MbDiscardPreallocationsFtraceEvent::ByteSizeLong() const {
23611 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.Ext4MbDiscardPreallocationsFtraceEvent)
23612   size_t total_size = 0;
23613 
23614   ::uint32_t cached_has_bits = 0;
23615   // Prevent compiler warnings about cached_has_bits being unused
23616   (void) cached_has_bits;
23617 
23618   cached_has_bits = _impl_._has_bits_[0];
23619   if (cached_has_bits & 0x00000003u) {
23620     // optional uint64 dev = 1;
23621     if (cached_has_bits & 0x00000001u) {
23622       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
23623     }
23624 
23625     // optional int32 needed = 2;
23626     if (cached_has_bits & 0x00000002u) {
23627       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_needed());
23628     }
23629 
23630   }
23631   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
23632     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
23633   }
23634   int cached_size = ::_pbi::ToCachedSize(total_size);
23635   SetCachedSize(cached_size);
23636   return total_size;
23637 }
23638 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)23639 void Ext4MbDiscardPreallocationsFtraceEvent::CheckTypeAndMergeFrom(
23640     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
23641   MergeFrom(*::_pbi::DownCast<const Ext4MbDiscardPreallocationsFtraceEvent*>(
23642       &from));
23643 }
23644 
MergeFrom(const Ext4MbDiscardPreallocationsFtraceEvent & from)23645 void Ext4MbDiscardPreallocationsFtraceEvent::MergeFrom(const Ext4MbDiscardPreallocationsFtraceEvent& from) {
23646   Ext4MbDiscardPreallocationsFtraceEvent* const _this = this;
23647   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.Ext4MbDiscardPreallocationsFtraceEvent)
23648   GOOGLE_DCHECK_NE(&from, _this);
23649   ::uint32_t cached_has_bits = 0;
23650   (void) cached_has_bits;
23651 
23652   cached_has_bits = from._impl_._has_bits_[0];
23653   if (cached_has_bits & 0x00000003u) {
23654     if (cached_has_bits & 0x00000001u) {
23655       _this->_impl_.dev_ = from._impl_.dev_;
23656     }
23657     if (cached_has_bits & 0x00000002u) {
23658       _this->_impl_.needed_ = from._impl_.needed_;
23659     }
23660     _this->_impl_._has_bits_[0] |= cached_has_bits;
23661   }
23662   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
23663 }
23664 
CopyFrom(const Ext4MbDiscardPreallocationsFtraceEvent & from)23665 void Ext4MbDiscardPreallocationsFtraceEvent::CopyFrom(const Ext4MbDiscardPreallocationsFtraceEvent& from) {
23666 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.Ext4MbDiscardPreallocationsFtraceEvent)
23667   if (&from == this) return;
23668   Clear();
23669   MergeFrom(from);
23670 }
23671 
IsInitialized() const23672 bool Ext4MbDiscardPreallocationsFtraceEvent::IsInitialized() const {
23673   return true;
23674 }
23675 
InternalSwap(Ext4MbDiscardPreallocationsFtraceEvent * other)23676 void Ext4MbDiscardPreallocationsFtraceEvent::InternalSwap(Ext4MbDiscardPreallocationsFtraceEvent* other) {
23677   using std::swap;
23678   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
23679   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
23680   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
23681       PROTOBUF_FIELD_OFFSET(Ext4MbDiscardPreallocationsFtraceEvent, _impl_.needed_)
23682       + sizeof(Ext4MbDiscardPreallocationsFtraceEvent::_impl_.needed_)  // NOLINT
23683       - PROTOBUF_FIELD_OFFSET(Ext4MbDiscardPreallocationsFtraceEvent, _impl_.dev_)>(
23684           reinterpret_cast<char*>(&_impl_.dev_),
23685           reinterpret_cast<char*>(&other->_impl_.dev_));
23686 }
23687 
GetTypeName() const23688 std::string Ext4MbDiscardPreallocationsFtraceEvent::GetTypeName() const {
23689   return "perfetto.protos.Ext4MbDiscardPreallocationsFtraceEvent";
23690 }
23691 
23692 
23693 // ===================================================================
23694 
23695 class Ext4MbNewGroupPaFtraceEvent::_Internal {
23696  public:
23697   using HasBits = decltype(std::declval<Ext4MbNewGroupPaFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)23698   static void set_has_dev(HasBits* has_bits) {
23699     (*has_bits)[0] |= 1u;
23700   }
set_has_ino(HasBits * has_bits)23701   static void set_has_ino(HasBits* has_bits) {
23702     (*has_bits)[0] |= 2u;
23703   }
set_has_pa_pstart(HasBits * has_bits)23704   static void set_has_pa_pstart(HasBits* has_bits) {
23705     (*has_bits)[0] |= 4u;
23706   }
set_has_pa_lstart(HasBits * has_bits)23707   static void set_has_pa_lstart(HasBits* has_bits) {
23708     (*has_bits)[0] |= 8u;
23709   }
set_has_pa_len(HasBits * has_bits)23710   static void set_has_pa_len(HasBits* has_bits) {
23711     (*has_bits)[0] |= 16u;
23712   }
23713 };
23714 
Ext4MbNewGroupPaFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)23715 Ext4MbNewGroupPaFtraceEvent::Ext4MbNewGroupPaFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
23716                          bool is_message_owned)
23717   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
23718   SharedCtor(arena, is_message_owned);
23719   // @@protoc_insertion_point(arena_constructor:perfetto.protos.Ext4MbNewGroupPaFtraceEvent)
23720 }
Ext4MbNewGroupPaFtraceEvent(const Ext4MbNewGroupPaFtraceEvent & from)23721 Ext4MbNewGroupPaFtraceEvent::Ext4MbNewGroupPaFtraceEvent(const Ext4MbNewGroupPaFtraceEvent& from)
23722   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
23723   Ext4MbNewGroupPaFtraceEvent* const _this = this; (void)_this;
23724   new (&_impl_) Impl_{
23725       decltype(_impl_._has_bits_){from._impl_._has_bits_}
23726     , /*decltype(_impl_._cached_size_)*/{}
23727     , decltype(_impl_.dev_){}
23728     , decltype(_impl_.ino_){}
23729     , decltype(_impl_.pa_pstart_){}
23730     , decltype(_impl_.pa_lstart_){}
23731     , decltype(_impl_.pa_len_){}};
23732 
23733   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
23734   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
23735     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.pa_len_) -
23736     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.pa_len_));
23737   // @@protoc_insertion_point(copy_constructor:perfetto.protos.Ext4MbNewGroupPaFtraceEvent)
23738 }
23739 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)23740 inline void Ext4MbNewGroupPaFtraceEvent::SharedCtor(
23741     ::_pb::Arena* arena, bool is_message_owned) {
23742   (void)arena;
23743   (void)is_message_owned;
23744   new (&_impl_) Impl_{
23745       decltype(_impl_._has_bits_){}
23746     , /*decltype(_impl_._cached_size_)*/{}
23747     , decltype(_impl_.dev_){::uint64_t{0u}}
23748     , decltype(_impl_.ino_){::uint64_t{0u}}
23749     , decltype(_impl_.pa_pstart_){::uint64_t{0u}}
23750     , decltype(_impl_.pa_lstart_){::uint64_t{0u}}
23751     , decltype(_impl_.pa_len_){0u}
23752   };
23753 }
23754 
~Ext4MbNewGroupPaFtraceEvent()23755 Ext4MbNewGroupPaFtraceEvent::~Ext4MbNewGroupPaFtraceEvent() {
23756   // @@protoc_insertion_point(destructor:perfetto.protos.Ext4MbNewGroupPaFtraceEvent)
23757   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
23758   (void)arena;
23759     return;
23760   }
23761   SharedDtor();
23762 }
23763 
SharedDtor()23764 inline void Ext4MbNewGroupPaFtraceEvent::SharedDtor() {
23765   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
23766 }
23767 
SetCachedSize(int size) const23768 void Ext4MbNewGroupPaFtraceEvent::SetCachedSize(int size) const {
23769   _impl_._cached_size_.Set(size);
23770 }
23771 
Clear()23772 void Ext4MbNewGroupPaFtraceEvent::Clear() {
23773 // @@protoc_insertion_point(message_clear_start:perfetto.protos.Ext4MbNewGroupPaFtraceEvent)
23774   ::uint32_t cached_has_bits = 0;
23775   // Prevent compiler warnings about cached_has_bits being unused
23776   (void) cached_has_bits;
23777 
23778   cached_has_bits = _impl_._has_bits_[0];
23779   if (cached_has_bits & 0x0000001fu) {
23780     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
23781         reinterpret_cast<char*>(&_impl_.pa_len_) -
23782         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.pa_len_));
23783   }
23784   _impl_._has_bits_.Clear();
23785   _internal_metadata_.Clear<std::string>();
23786 }
23787 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)23788 const char* Ext4MbNewGroupPaFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
23789 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
23790   _Internal::HasBits has_bits{};
23791   while (!ctx->Done(&ptr)) {
23792     ::uint32_t tag;
23793     ptr = ::_pbi::ReadTag(ptr, &tag);
23794     switch (tag >> 3) {
23795       // optional uint64 dev = 1;
23796       case 1:
23797         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
23798           _Internal::set_has_dev(&has_bits);
23799           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
23800           CHK_(ptr);
23801         } else {
23802           goto handle_unusual;
23803         }
23804         continue;
23805       // optional uint64 ino = 2;
23806       case 2:
23807         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
23808           _Internal::set_has_ino(&has_bits);
23809           _impl_.ino_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
23810           CHK_(ptr);
23811         } else {
23812           goto handle_unusual;
23813         }
23814         continue;
23815       // optional uint64 pa_pstart = 3;
23816       case 3:
23817         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
23818           _Internal::set_has_pa_pstart(&has_bits);
23819           _impl_.pa_pstart_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
23820           CHK_(ptr);
23821         } else {
23822           goto handle_unusual;
23823         }
23824         continue;
23825       // optional uint64 pa_lstart = 4;
23826       case 4:
23827         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
23828           _Internal::set_has_pa_lstart(&has_bits);
23829           _impl_.pa_lstart_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
23830           CHK_(ptr);
23831         } else {
23832           goto handle_unusual;
23833         }
23834         continue;
23835       // optional uint32 pa_len = 5;
23836       case 5:
23837         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) {
23838           _Internal::set_has_pa_len(&has_bits);
23839           _impl_.pa_len_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
23840           CHK_(ptr);
23841         } else {
23842           goto handle_unusual;
23843         }
23844         continue;
23845       default:
23846         goto handle_unusual;
23847     }  // switch
23848   handle_unusual:
23849     if ((tag == 0) || ((tag & 7) == 4)) {
23850       CHK_(ptr);
23851       ctx->SetLastTag(tag);
23852       goto message_done;
23853     }
23854     ptr = UnknownFieldParse(
23855         tag,
23856         _internal_metadata_.mutable_unknown_fields<std::string>(),
23857         ptr, ctx);
23858     CHK_(ptr != nullptr);
23859   }  // while
23860 message_done:
23861   _impl_._has_bits_.Or(has_bits);
23862   return ptr;
23863 failure:
23864   ptr = nullptr;
23865   goto message_done;
23866 #undef CHK_
23867 }
23868 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const23869 ::uint8_t* Ext4MbNewGroupPaFtraceEvent::_InternalSerialize(
23870     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
23871   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.Ext4MbNewGroupPaFtraceEvent)
23872   ::uint32_t cached_has_bits = 0;
23873   (void) cached_has_bits;
23874 
23875   cached_has_bits = _impl_._has_bits_[0];
23876   // optional uint64 dev = 1;
23877   if (cached_has_bits & 0x00000001u) {
23878     target = stream->EnsureSpace(target);
23879     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
23880   }
23881 
23882   // optional uint64 ino = 2;
23883   if (cached_has_bits & 0x00000002u) {
23884     target = stream->EnsureSpace(target);
23885     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_ino(), target);
23886   }
23887 
23888   // optional uint64 pa_pstart = 3;
23889   if (cached_has_bits & 0x00000004u) {
23890     target = stream->EnsureSpace(target);
23891     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(3, this->_internal_pa_pstart(), target);
23892   }
23893 
23894   // optional uint64 pa_lstart = 4;
23895   if (cached_has_bits & 0x00000008u) {
23896     target = stream->EnsureSpace(target);
23897     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(4, this->_internal_pa_lstart(), target);
23898   }
23899 
23900   // optional uint32 pa_len = 5;
23901   if (cached_has_bits & 0x00000010u) {
23902     target = stream->EnsureSpace(target);
23903     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_pa_len(), target);
23904   }
23905 
23906   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
23907     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
23908         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
23909   }
23910   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.Ext4MbNewGroupPaFtraceEvent)
23911   return target;
23912 }
23913 
ByteSizeLong() const23914 size_t Ext4MbNewGroupPaFtraceEvent::ByteSizeLong() const {
23915 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.Ext4MbNewGroupPaFtraceEvent)
23916   size_t total_size = 0;
23917 
23918   ::uint32_t cached_has_bits = 0;
23919   // Prevent compiler warnings about cached_has_bits being unused
23920   (void) cached_has_bits;
23921 
23922   cached_has_bits = _impl_._has_bits_[0];
23923   if (cached_has_bits & 0x0000001fu) {
23924     // optional uint64 dev = 1;
23925     if (cached_has_bits & 0x00000001u) {
23926       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
23927     }
23928 
23929     // optional uint64 ino = 2;
23930     if (cached_has_bits & 0x00000002u) {
23931       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ino());
23932     }
23933 
23934     // optional uint64 pa_pstart = 3;
23935     if (cached_has_bits & 0x00000004u) {
23936       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_pa_pstart());
23937     }
23938 
23939     // optional uint64 pa_lstart = 4;
23940     if (cached_has_bits & 0x00000008u) {
23941       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_pa_lstart());
23942     }
23943 
23944     // optional uint32 pa_len = 5;
23945     if (cached_has_bits & 0x00000010u) {
23946       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_pa_len());
23947     }
23948 
23949   }
23950   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
23951     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
23952   }
23953   int cached_size = ::_pbi::ToCachedSize(total_size);
23954   SetCachedSize(cached_size);
23955   return total_size;
23956 }
23957 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)23958 void Ext4MbNewGroupPaFtraceEvent::CheckTypeAndMergeFrom(
23959     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
23960   MergeFrom(*::_pbi::DownCast<const Ext4MbNewGroupPaFtraceEvent*>(
23961       &from));
23962 }
23963 
MergeFrom(const Ext4MbNewGroupPaFtraceEvent & from)23964 void Ext4MbNewGroupPaFtraceEvent::MergeFrom(const Ext4MbNewGroupPaFtraceEvent& from) {
23965   Ext4MbNewGroupPaFtraceEvent* const _this = this;
23966   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.Ext4MbNewGroupPaFtraceEvent)
23967   GOOGLE_DCHECK_NE(&from, _this);
23968   ::uint32_t cached_has_bits = 0;
23969   (void) cached_has_bits;
23970 
23971   cached_has_bits = from._impl_._has_bits_[0];
23972   if (cached_has_bits & 0x0000001fu) {
23973     if (cached_has_bits & 0x00000001u) {
23974       _this->_impl_.dev_ = from._impl_.dev_;
23975     }
23976     if (cached_has_bits & 0x00000002u) {
23977       _this->_impl_.ino_ = from._impl_.ino_;
23978     }
23979     if (cached_has_bits & 0x00000004u) {
23980       _this->_impl_.pa_pstart_ = from._impl_.pa_pstart_;
23981     }
23982     if (cached_has_bits & 0x00000008u) {
23983       _this->_impl_.pa_lstart_ = from._impl_.pa_lstart_;
23984     }
23985     if (cached_has_bits & 0x00000010u) {
23986       _this->_impl_.pa_len_ = from._impl_.pa_len_;
23987     }
23988     _this->_impl_._has_bits_[0] |= cached_has_bits;
23989   }
23990   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
23991 }
23992 
CopyFrom(const Ext4MbNewGroupPaFtraceEvent & from)23993 void Ext4MbNewGroupPaFtraceEvent::CopyFrom(const Ext4MbNewGroupPaFtraceEvent& from) {
23994 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.Ext4MbNewGroupPaFtraceEvent)
23995   if (&from == this) return;
23996   Clear();
23997   MergeFrom(from);
23998 }
23999 
IsInitialized() const24000 bool Ext4MbNewGroupPaFtraceEvent::IsInitialized() const {
24001   return true;
24002 }
24003 
InternalSwap(Ext4MbNewGroupPaFtraceEvent * other)24004 void Ext4MbNewGroupPaFtraceEvent::InternalSwap(Ext4MbNewGroupPaFtraceEvent* other) {
24005   using std::swap;
24006   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
24007   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
24008   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
24009       PROTOBUF_FIELD_OFFSET(Ext4MbNewGroupPaFtraceEvent, _impl_.pa_len_)
24010       + sizeof(Ext4MbNewGroupPaFtraceEvent::_impl_.pa_len_)  // NOLINT
24011       - PROTOBUF_FIELD_OFFSET(Ext4MbNewGroupPaFtraceEvent, _impl_.dev_)>(
24012           reinterpret_cast<char*>(&_impl_.dev_),
24013           reinterpret_cast<char*>(&other->_impl_.dev_));
24014 }
24015 
GetTypeName() const24016 std::string Ext4MbNewGroupPaFtraceEvent::GetTypeName() const {
24017   return "perfetto.protos.Ext4MbNewGroupPaFtraceEvent";
24018 }
24019 
24020 
24021 // ===================================================================
24022 
24023 class Ext4MbNewInodePaFtraceEvent::_Internal {
24024  public:
24025   using HasBits = decltype(std::declval<Ext4MbNewInodePaFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)24026   static void set_has_dev(HasBits* has_bits) {
24027     (*has_bits)[0] |= 1u;
24028   }
set_has_ino(HasBits * has_bits)24029   static void set_has_ino(HasBits* has_bits) {
24030     (*has_bits)[0] |= 2u;
24031   }
set_has_pa_pstart(HasBits * has_bits)24032   static void set_has_pa_pstart(HasBits* has_bits) {
24033     (*has_bits)[0] |= 4u;
24034   }
set_has_pa_lstart(HasBits * has_bits)24035   static void set_has_pa_lstart(HasBits* has_bits) {
24036     (*has_bits)[0] |= 8u;
24037   }
set_has_pa_len(HasBits * has_bits)24038   static void set_has_pa_len(HasBits* has_bits) {
24039     (*has_bits)[0] |= 16u;
24040   }
24041 };
24042 
Ext4MbNewInodePaFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)24043 Ext4MbNewInodePaFtraceEvent::Ext4MbNewInodePaFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
24044                          bool is_message_owned)
24045   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
24046   SharedCtor(arena, is_message_owned);
24047   // @@protoc_insertion_point(arena_constructor:perfetto.protos.Ext4MbNewInodePaFtraceEvent)
24048 }
Ext4MbNewInodePaFtraceEvent(const Ext4MbNewInodePaFtraceEvent & from)24049 Ext4MbNewInodePaFtraceEvent::Ext4MbNewInodePaFtraceEvent(const Ext4MbNewInodePaFtraceEvent& from)
24050   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
24051   Ext4MbNewInodePaFtraceEvent* const _this = this; (void)_this;
24052   new (&_impl_) Impl_{
24053       decltype(_impl_._has_bits_){from._impl_._has_bits_}
24054     , /*decltype(_impl_._cached_size_)*/{}
24055     , decltype(_impl_.dev_){}
24056     , decltype(_impl_.ino_){}
24057     , decltype(_impl_.pa_pstart_){}
24058     , decltype(_impl_.pa_lstart_){}
24059     , decltype(_impl_.pa_len_){}};
24060 
24061   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
24062   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
24063     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.pa_len_) -
24064     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.pa_len_));
24065   // @@protoc_insertion_point(copy_constructor:perfetto.protos.Ext4MbNewInodePaFtraceEvent)
24066 }
24067 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)24068 inline void Ext4MbNewInodePaFtraceEvent::SharedCtor(
24069     ::_pb::Arena* arena, bool is_message_owned) {
24070   (void)arena;
24071   (void)is_message_owned;
24072   new (&_impl_) Impl_{
24073       decltype(_impl_._has_bits_){}
24074     , /*decltype(_impl_._cached_size_)*/{}
24075     , decltype(_impl_.dev_){::uint64_t{0u}}
24076     , decltype(_impl_.ino_){::uint64_t{0u}}
24077     , decltype(_impl_.pa_pstart_){::uint64_t{0u}}
24078     , decltype(_impl_.pa_lstart_){::uint64_t{0u}}
24079     , decltype(_impl_.pa_len_){0u}
24080   };
24081 }
24082 
~Ext4MbNewInodePaFtraceEvent()24083 Ext4MbNewInodePaFtraceEvent::~Ext4MbNewInodePaFtraceEvent() {
24084   // @@protoc_insertion_point(destructor:perfetto.protos.Ext4MbNewInodePaFtraceEvent)
24085   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
24086   (void)arena;
24087     return;
24088   }
24089   SharedDtor();
24090 }
24091 
SharedDtor()24092 inline void Ext4MbNewInodePaFtraceEvent::SharedDtor() {
24093   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
24094 }
24095 
SetCachedSize(int size) const24096 void Ext4MbNewInodePaFtraceEvent::SetCachedSize(int size) const {
24097   _impl_._cached_size_.Set(size);
24098 }
24099 
Clear()24100 void Ext4MbNewInodePaFtraceEvent::Clear() {
24101 // @@protoc_insertion_point(message_clear_start:perfetto.protos.Ext4MbNewInodePaFtraceEvent)
24102   ::uint32_t cached_has_bits = 0;
24103   // Prevent compiler warnings about cached_has_bits being unused
24104   (void) cached_has_bits;
24105 
24106   cached_has_bits = _impl_._has_bits_[0];
24107   if (cached_has_bits & 0x0000001fu) {
24108     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
24109         reinterpret_cast<char*>(&_impl_.pa_len_) -
24110         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.pa_len_));
24111   }
24112   _impl_._has_bits_.Clear();
24113   _internal_metadata_.Clear<std::string>();
24114 }
24115 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)24116 const char* Ext4MbNewInodePaFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
24117 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
24118   _Internal::HasBits has_bits{};
24119   while (!ctx->Done(&ptr)) {
24120     ::uint32_t tag;
24121     ptr = ::_pbi::ReadTag(ptr, &tag);
24122     switch (tag >> 3) {
24123       // optional uint64 dev = 1;
24124       case 1:
24125         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
24126           _Internal::set_has_dev(&has_bits);
24127           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
24128           CHK_(ptr);
24129         } else {
24130           goto handle_unusual;
24131         }
24132         continue;
24133       // optional uint64 ino = 2;
24134       case 2:
24135         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
24136           _Internal::set_has_ino(&has_bits);
24137           _impl_.ino_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
24138           CHK_(ptr);
24139         } else {
24140           goto handle_unusual;
24141         }
24142         continue;
24143       // optional uint64 pa_pstart = 3;
24144       case 3:
24145         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
24146           _Internal::set_has_pa_pstart(&has_bits);
24147           _impl_.pa_pstart_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
24148           CHK_(ptr);
24149         } else {
24150           goto handle_unusual;
24151         }
24152         continue;
24153       // optional uint64 pa_lstart = 4;
24154       case 4:
24155         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
24156           _Internal::set_has_pa_lstart(&has_bits);
24157           _impl_.pa_lstart_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
24158           CHK_(ptr);
24159         } else {
24160           goto handle_unusual;
24161         }
24162         continue;
24163       // optional uint32 pa_len = 5;
24164       case 5:
24165         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) {
24166           _Internal::set_has_pa_len(&has_bits);
24167           _impl_.pa_len_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
24168           CHK_(ptr);
24169         } else {
24170           goto handle_unusual;
24171         }
24172         continue;
24173       default:
24174         goto handle_unusual;
24175     }  // switch
24176   handle_unusual:
24177     if ((tag == 0) || ((tag & 7) == 4)) {
24178       CHK_(ptr);
24179       ctx->SetLastTag(tag);
24180       goto message_done;
24181     }
24182     ptr = UnknownFieldParse(
24183         tag,
24184         _internal_metadata_.mutable_unknown_fields<std::string>(),
24185         ptr, ctx);
24186     CHK_(ptr != nullptr);
24187   }  // while
24188 message_done:
24189   _impl_._has_bits_.Or(has_bits);
24190   return ptr;
24191 failure:
24192   ptr = nullptr;
24193   goto message_done;
24194 #undef CHK_
24195 }
24196 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const24197 ::uint8_t* Ext4MbNewInodePaFtraceEvent::_InternalSerialize(
24198     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
24199   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.Ext4MbNewInodePaFtraceEvent)
24200   ::uint32_t cached_has_bits = 0;
24201   (void) cached_has_bits;
24202 
24203   cached_has_bits = _impl_._has_bits_[0];
24204   // optional uint64 dev = 1;
24205   if (cached_has_bits & 0x00000001u) {
24206     target = stream->EnsureSpace(target);
24207     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
24208   }
24209 
24210   // optional uint64 ino = 2;
24211   if (cached_has_bits & 0x00000002u) {
24212     target = stream->EnsureSpace(target);
24213     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_ino(), target);
24214   }
24215 
24216   // optional uint64 pa_pstart = 3;
24217   if (cached_has_bits & 0x00000004u) {
24218     target = stream->EnsureSpace(target);
24219     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(3, this->_internal_pa_pstart(), target);
24220   }
24221 
24222   // optional uint64 pa_lstart = 4;
24223   if (cached_has_bits & 0x00000008u) {
24224     target = stream->EnsureSpace(target);
24225     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(4, this->_internal_pa_lstart(), target);
24226   }
24227 
24228   // optional uint32 pa_len = 5;
24229   if (cached_has_bits & 0x00000010u) {
24230     target = stream->EnsureSpace(target);
24231     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_pa_len(), target);
24232   }
24233 
24234   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
24235     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
24236         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
24237   }
24238   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.Ext4MbNewInodePaFtraceEvent)
24239   return target;
24240 }
24241 
ByteSizeLong() const24242 size_t Ext4MbNewInodePaFtraceEvent::ByteSizeLong() const {
24243 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.Ext4MbNewInodePaFtraceEvent)
24244   size_t total_size = 0;
24245 
24246   ::uint32_t cached_has_bits = 0;
24247   // Prevent compiler warnings about cached_has_bits being unused
24248   (void) cached_has_bits;
24249 
24250   cached_has_bits = _impl_._has_bits_[0];
24251   if (cached_has_bits & 0x0000001fu) {
24252     // optional uint64 dev = 1;
24253     if (cached_has_bits & 0x00000001u) {
24254       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
24255     }
24256 
24257     // optional uint64 ino = 2;
24258     if (cached_has_bits & 0x00000002u) {
24259       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ino());
24260     }
24261 
24262     // optional uint64 pa_pstart = 3;
24263     if (cached_has_bits & 0x00000004u) {
24264       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_pa_pstart());
24265     }
24266 
24267     // optional uint64 pa_lstart = 4;
24268     if (cached_has_bits & 0x00000008u) {
24269       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_pa_lstart());
24270     }
24271 
24272     // optional uint32 pa_len = 5;
24273     if (cached_has_bits & 0x00000010u) {
24274       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_pa_len());
24275     }
24276 
24277   }
24278   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
24279     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
24280   }
24281   int cached_size = ::_pbi::ToCachedSize(total_size);
24282   SetCachedSize(cached_size);
24283   return total_size;
24284 }
24285 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)24286 void Ext4MbNewInodePaFtraceEvent::CheckTypeAndMergeFrom(
24287     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
24288   MergeFrom(*::_pbi::DownCast<const Ext4MbNewInodePaFtraceEvent*>(
24289       &from));
24290 }
24291 
MergeFrom(const Ext4MbNewInodePaFtraceEvent & from)24292 void Ext4MbNewInodePaFtraceEvent::MergeFrom(const Ext4MbNewInodePaFtraceEvent& from) {
24293   Ext4MbNewInodePaFtraceEvent* const _this = this;
24294   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.Ext4MbNewInodePaFtraceEvent)
24295   GOOGLE_DCHECK_NE(&from, _this);
24296   ::uint32_t cached_has_bits = 0;
24297   (void) cached_has_bits;
24298 
24299   cached_has_bits = from._impl_._has_bits_[0];
24300   if (cached_has_bits & 0x0000001fu) {
24301     if (cached_has_bits & 0x00000001u) {
24302       _this->_impl_.dev_ = from._impl_.dev_;
24303     }
24304     if (cached_has_bits & 0x00000002u) {
24305       _this->_impl_.ino_ = from._impl_.ino_;
24306     }
24307     if (cached_has_bits & 0x00000004u) {
24308       _this->_impl_.pa_pstart_ = from._impl_.pa_pstart_;
24309     }
24310     if (cached_has_bits & 0x00000008u) {
24311       _this->_impl_.pa_lstart_ = from._impl_.pa_lstart_;
24312     }
24313     if (cached_has_bits & 0x00000010u) {
24314       _this->_impl_.pa_len_ = from._impl_.pa_len_;
24315     }
24316     _this->_impl_._has_bits_[0] |= cached_has_bits;
24317   }
24318   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
24319 }
24320 
CopyFrom(const Ext4MbNewInodePaFtraceEvent & from)24321 void Ext4MbNewInodePaFtraceEvent::CopyFrom(const Ext4MbNewInodePaFtraceEvent& from) {
24322 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.Ext4MbNewInodePaFtraceEvent)
24323   if (&from == this) return;
24324   Clear();
24325   MergeFrom(from);
24326 }
24327 
IsInitialized() const24328 bool Ext4MbNewInodePaFtraceEvent::IsInitialized() const {
24329   return true;
24330 }
24331 
InternalSwap(Ext4MbNewInodePaFtraceEvent * other)24332 void Ext4MbNewInodePaFtraceEvent::InternalSwap(Ext4MbNewInodePaFtraceEvent* other) {
24333   using std::swap;
24334   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
24335   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
24336   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
24337       PROTOBUF_FIELD_OFFSET(Ext4MbNewInodePaFtraceEvent, _impl_.pa_len_)
24338       + sizeof(Ext4MbNewInodePaFtraceEvent::_impl_.pa_len_)  // NOLINT
24339       - PROTOBUF_FIELD_OFFSET(Ext4MbNewInodePaFtraceEvent, _impl_.dev_)>(
24340           reinterpret_cast<char*>(&_impl_.dev_),
24341           reinterpret_cast<char*>(&other->_impl_.dev_));
24342 }
24343 
GetTypeName() const24344 std::string Ext4MbNewInodePaFtraceEvent::GetTypeName() const {
24345   return "perfetto.protos.Ext4MbNewInodePaFtraceEvent";
24346 }
24347 
24348 
24349 // ===================================================================
24350 
24351 class Ext4MbReleaseGroupPaFtraceEvent::_Internal {
24352  public:
24353   using HasBits = decltype(std::declval<Ext4MbReleaseGroupPaFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)24354   static void set_has_dev(HasBits* has_bits) {
24355     (*has_bits)[0] |= 1u;
24356   }
set_has_pa_pstart(HasBits * has_bits)24357   static void set_has_pa_pstart(HasBits* has_bits) {
24358     (*has_bits)[0] |= 2u;
24359   }
set_has_pa_len(HasBits * has_bits)24360   static void set_has_pa_len(HasBits* has_bits) {
24361     (*has_bits)[0] |= 4u;
24362   }
24363 };
24364 
Ext4MbReleaseGroupPaFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)24365 Ext4MbReleaseGroupPaFtraceEvent::Ext4MbReleaseGroupPaFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
24366                          bool is_message_owned)
24367   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
24368   SharedCtor(arena, is_message_owned);
24369   // @@protoc_insertion_point(arena_constructor:perfetto.protos.Ext4MbReleaseGroupPaFtraceEvent)
24370 }
Ext4MbReleaseGroupPaFtraceEvent(const Ext4MbReleaseGroupPaFtraceEvent & from)24371 Ext4MbReleaseGroupPaFtraceEvent::Ext4MbReleaseGroupPaFtraceEvent(const Ext4MbReleaseGroupPaFtraceEvent& from)
24372   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
24373   Ext4MbReleaseGroupPaFtraceEvent* const _this = this; (void)_this;
24374   new (&_impl_) Impl_{
24375       decltype(_impl_._has_bits_){from._impl_._has_bits_}
24376     , /*decltype(_impl_._cached_size_)*/{}
24377     , decltype(_impl_.dev_){}
24378     , decltype(_impl_.pa_pstart_){}
24379     , decltype(_impl_.pa_len_){}};
24380 
24381   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
24382   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
24383     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.pa_len_) -
24384     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.pa_len_));
24385   // @@protoc_insertion_point(copy_constructor:perfetto.protos.Ext4MbReleaseGroupPaFtraceEvent)
24386 }
24387 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)24388 inline void Ext4MbReleaseGroupPaFtraceEvent::SharedCtor(
24389     ::_pb::Arena* arena, bool is_message_owned) {
24390   (void)arena;
24391   (void)is_message_owned;
24392   new (&_impl_) Impl_{
24393       decltype(_impl_._has_bits_){}
24394     , /*decltype(_impl_._cached_size_)*/{}
24395     , decltype(_impl_.dev_){::uint64_t{0u}}
24396     , decltype(_impl_.pa_pstart_){::uint64_t{0u}}
24397     , decltype(_impl_.pa_len_){0u}
24398   };
24399 }
24400 
~Ext4MbReleaseGroupPaFtraceEvent()24401 Ext4MbReleaseGroupPaFtraceEvent::~Ext4MbReleaseGroupPaFtraceEvent() {
24402   // @@protoc_insertion_point(destructor:perfetto.protos.Ext4MbReleaseGroupPaFtraceEvent)
24403   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
24404   (void)arena;
24405     return;
24406   }
24407   SharedDtor();
24408 }
24409 
SharedDtor()24410 inline void Ext4MbReleaseGroupPaFtraceEvent::SharedDtor() {
24411   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
24412 }
24413 
SetCachedSize(int size) const24414 void Ext4MbReleaseGroupPaFtraceEvent::SetCachedSize(int size) const {
24415   _impl_._cached_size_.Set(size);
24416 }
24417 
Clear()24418 void Ext4MbReleaseGroupPaFtraceEvent::Clear() {
24419 // @@protoc_insertion_point(message_clear_start:perfetto.protos.Ext4MbReleaseGroupPaFtraceEvent)
24420   ::uint32_t cached_has_bits = 0;
24421   // Prevent compiler warnings about cached_has_bits being unused
24422   (void) cached_has_bits;
24423 
24424   cached_has_bits = _impl_._has_bits_[0];
24425   if (cached_has_bits & 0x00000007u) {
24426     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
24427         reinterpret_cast<char*>(&_impl_.pa_len_) -
24428         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.pa_len_));
24429   }
24430   _impl_._has_bits_.Clear();
24431   _internal_metadata_.Clear<std::string>();
24432 }
24433 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)24434 const char* Ext4MbReleaseGroupPaFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
24435 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
24436   _Internal::HasBits has_bits{};
24437   while (!ctx->Done(&ptr)) {
24438     ::uint32_t tag;
24439     ptr = ::_pbi::ReadTag(ptr, &tag);
24440     switch (tag >> 3) {
24441       // optional uint64 dev = 1;
24442       case 1:
24443         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
24444           _Internal::set_has_dev(&has_bits);
24445           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
24446           CHK_(ptr);
24447         } else {
24448           goto handle_unusual;
24449         }
24450         continue;
24451       // optional uint64 pa_pstart = 2;
24452       case 2:
24453         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
24454           _Internal::set_has_pa_pstart(&has_bits);
24455           _impl_.pa_pstart_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
24456           CHK_(ptr);
24457         } else {
24458           goto handle_unusual;
24459         }
24460         continue;
24461       // optional uint32 pa_len = 3;
24462       case 3:
24463         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
24464           _Internal::set_has_pa_len(&has_bits);
24465           _impl_.pa_len_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
24466           CHK_(ptr);
24467         } else {
24468           goto handle_unusual;
24469         }
24470         continue;
24471       default:
24472         goto handle_unusual;
24473     }  // switch
24474   handle_unusual:
24475     if ((tag == 0) || ((tag & 7) == 4)) {
24476       CHK_(ptr);
24477       ctx->SetLastTag(tag);
24478       goto message_done;
24479     }
24480     ptr = UnknownFieldParse(
24481         tag,
24482         _internal_metadata_.mutable_unknown_fields<std::string>(),
24483         ptr, ctx);
24484     CHK_(ptr != nullptr);
24485   }  // while
24486 message_done:
24487   _impl_._has_bits_.Or(has_bits);
24488   return ptr;
24489 failure:
24490   ptr = nullptr;
24491   goto message_done;
24492 #undef CHK_
24493 }
24494 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const24495 ::uint8_t* Ext4MbReleaseGroupPaFtraceEvent::_InternalSerialize(
24496     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
24497   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.Ext4MbReleaseGroupPaFtraceEvent)
24498   ::uint32_t cached_has_bits = 0;
24499   (void) cached_has_bits;
24500 
24501   cached_has_bits = _impl_._has_bits_[0];
24502   // optional uint64 dev = 1;
24503   if (cached_has_bits & 0x00000001u) {
24504     target = stream->EnsureSpace(target);
24505     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
24506   }
24507 
24508   // optional uint64 pa_pstart = 2;
24509   if (cached_has_bits & 0x00000002u) {
24510     target = stream->EnsureSpace(target);
24511     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_pa_pstart(), target);
24512   }
24513 
24514   // optional uint32 pa_len = 3;
24515   if (cached_has_bits & 0x00000004u) {
24516     target = stream->EnsureSpace(target);
24517     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_pa_len(), target);
24518   }
24519 
24520   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
24521     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
24522         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
24523   }
24524   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.Ext4MbReleaseGroupPaFtraceEvent)
24525   return target;
24526 }
24527 
ByteSizeLong() const24528 size_t Ext4MbReleaseGroupPaFtraceEvent::ByteSizeLong() const {
24529 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.Ext4MbReleaseGroupPaFtraceEvent)
24530   size_t total_size = 0;
24531 
24532   ::uint32_t cached_has_bits = 0;
24533   // Prevent compiler warnings about cached_has_bits being unused
24534   (void) cached_has_bits;
24535 
24536   cached_has_bits = _impl_._has_bits_[0];
24537   if (cached_has_bits & 0x00000007u) {
24538     // optional uint64 dev = 1;
24539     if (cached_has_bits & 0x00000001u) {
24540       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
24541     }
24542 
24543     // optional uint64 pa_pstart = 2;
24544     if (cached_has_bits & 0x00000002u) {
24545       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_pa_pstart());
24546     }
24547 
24548     // optional uint32 pa_len = 3;
24549     if (cached_has_bits & 0x00000004u) {
24550       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_pa_len());
24551     }
24552 
24553   }
24554   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
24555     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
24556   }
24557   int cached_size = ::_pbi::ToCachedSize(total_size);
24558   SetCachedSize(cached_size);
24559   return total_size;
24560 }
24561 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)24562 void Ext4MbReleaseGroupPaFtraceEvent::CheckTypeAndMergeFrom(
24563     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
24564   MergeFrom(*::_pbi::DownCast<const Ext4MbReleaseGroupPaFtraceEvent*>(
24565       &from));
24566 }
24567 
MergeFrom(const Ext4MbReleaseGroupPaFtraceEvent & from)24568 void Ext4MbReleaseGroupPaFtraceEvent::MergeFrom(const Ext4MbReleaseGroupPaFtraceEvent& from) {
24569   Ext4MbReleaseGroupPaFtraceEvent* const _this = this;
24570   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.Ext4MbReleaseGroupPaFtraceEvent)
24571   GOOGLE_DCHECK_NE(&from, _this);
24572   ::uint32_t cached_has_bits = 0;
24573   (void) cached_has_bits;
24574 
24575   cached_has_bits = from._impl_._has_bits_[0];
24576   if (cached_has_bits & 0x00000007u) {
24577     if (cached_has_bits & 0x00000001u) {
24578       _this->_impl_.dev_ = from._impl_.dev_;
24579     }
24580     if (cached_has_bits & 0x00000002u) {
24581       _this->_impl_.pa_pstart_ = from._impl_.pa_pstart_;
24582     }
24583     if (cached_has_bits & 0x00000004u) {
24584       _this->_impl_.pa_len_ = from._impl_.pa_len_;
24585     }
24586     _this->_impl_._has_bits_[0] |= cached_has_bits;
24587   }
24588   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
24589 }
24590 
CopyFrom(const Ext4MbReleaseGroupPaFtraceEvent & from)24591 void Ext4MbReleaseGroupPaFtraceEvent::CopyFrom(const Ext4MbReleaseGroupPaFtraceEvent& from) {
24592 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.Ext4MbReleaseGroupPaFtraceEvent)
24593   if (&from == this) return;
24594   Clear();
24595   MergeFrom(from);
24596 }
24597 
IsInitialized() const24598 bool Ext4MbReleaseGroupPaFtraceEvent::IsInitialized() const {
24599   return true;
24600 }
24601 
InternalSwap(Ext4MbReleaseGroupPaFtraceEvent * other)24602 void Ext4MbReleaseGroupPaFtraceEvent::InternalSwap(Ext4MbReleaseGroupPaFtraceEvent* other) {
24603   using std::swap;
24604   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
24605   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
24606   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
24607       PROTOBUF_FIELD_OFFSET(Ext4MbReleaseGroupPaFtraceEvent, _impl_.pa_len_)
24608       + sizeof(Ext4MbReleaseGroupPaFtraceEvent::_impl_.pa_len_)  // NOLINT
24609       - PROTOBUF_FIELD_OFFSET(Ext4MbReleaseGroupPaFtraceEvent, _impl_.dev_)>(
24610           reinterpret_cast<char*>(&_impl_.dev_),
24611           reinterpret_cast<char*>(&other->_impl_.dev_));
24612 }
24613 
GetTypeName() const24614 std::string Ext4MbReleaseGroupPaFtraceEvent::GetTypeName() const {
24615   return "perfetto.protos.Ext4MbReleaseGroupPaFtraceEvent";
24616 }
24617 
24618 
24619 // ===================================================================
24620 
24621 class Ext4MbReleaseInodePaFtraceEvent::_Internal {
24622  public:
24623   using HasBits = decltype(std::declval<Ext4MbReleaseInodePaFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)24624   static void set_has_dev(HasBits* has_bits) {
24625     (*has_bits)[0] |= 1u;
24626   }
set_has_ino(HasBits * has_bits)24627   static void set_has_ino(HasBits* has_bits) {
24628     (*has_bits)[0] |= 2u;
24629   }
set_has_block(HasBits * has_bits)24630   static void set_has_block(HasBits* has_bits) {
24631     (*has_bits)[0] |= 4u;
24632   }
set_has_count(HasBits * has_bits)24633   static void set_has_count(HasBits* has_bits) {
24634     (*has_bits)[0] |= 8u;
24635   }
24636 };
24637 
Ext4MbReleaseInodePaFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)24638 Ext4MbReleaseInodePaFtraceEvent::Ext4MbReleaseInodePaFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
24639                          bool is_message_owned)
24640   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
24641   SharedCtor(arena, is_message_owned);
24642   // @@protoc_insertion_point(arena_constructor:perfetto.protos.Ext4MbReleaseInodePaFtraceEvent)
24643 }
Ext4MbReleaseInodePaFtraceEvent(const Ext4MbReleaseInodePaFtraceEvent & from)24644 Ext4MbReleaseInodePaFtraceEvent::Ext4MbReleaseInodePaFtraceEvent(const Ext4MbReleaseInodePaFtraceEvent& from)
24645   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
24646   Ext4MbReleaseInodePaFtraceEvent* const _this = this; (void)_this;
24647   new (&_impl_) Impl_{
24648       decltype(_impl_._has_bits_){from._impl_._has_bits_}
24649     , /*decltype(_impl_._cached_size_)*/{}
24650     , decltype(_impl_.dev_){}
24651     , decltype(_impl_.ino_){}
24652     , decltype(_impl_.block_){}
24653     , decltype(_impl_.count_){}};
24654 
24655   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
24656   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
24657     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.count_) -
24658     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.count_));
24659   // @@protoc_insertion_point(copy_constructor:perfetto.protos.Ext4MbReleaseInodePaFtraceEvent)
24660 }
24661 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)24662 inline void Ext4MbReleaseInodePaFtraceEvent::SharedCtor(
24663     ::_pb::Arena* arena, bool is_message_owned) {
24664   (void)arena;
24665   (void)is_message_owned;
24666   new (&_impl_) Impl_{
24667       decltype(_impl_._has_bits_){}
24668     , /*decltype(_impl_._cached_size_)*/{}
24669     , decltype(_impl_.dev_){::uint64_t{0u}}
24670     , decltype(_impl_.ino_){::uint64_t{0u}}
24671     , decltype(_impl_.block_){::uint64_t{0u}}
24672     , decltype(_impl_.count_){0u}
24673   };
24674 }
24675 
~Ext4MbReleaseInodePaFtraceEvent()24676 Ext4MbReleaseInodePaFtraceEvent::~Ext4MbReleaseInodePaFtraceEvent() {
24677   // @@protoc_insertion_point(destructor:perfetto.protos.Ext4MbReleaseInodePaFtraceEvent)
24678   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
24679   (void)arena;
24680     return;
24681   }
24682   SharedDtor();
24683 }
24684 
SharedDtor()24685 inline void Ext4MbReleaseInodePaFtraceEvent::SharedDtor() {
24686   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
24687 }
24688 
SetCachedSize(int size) const24689 void Ext4MbReleaseInodePaFtraceEvent::SetCachedSize(int size) const {
24690   _impl_._cached_size_.Set(size);
24691 }
24692 
Clear()24693 void Ext4MbReleaseInodePaFtraceEvent::Clear() {
24694 // @@protoc_insertion_point(message_clear_start:perfetto.protos.Ext4MbReleaseInodePaFtraceEvent)
24695   ::uint32_t cached_has_bits = 0;
24696   // Prevent compiler warnings about cached_has_bits being unused
24697   (void) cached_has_bits;
24698 
24699   cached_has_bits = _impl_._has_bits_[0];
24700   if (cached_has_bits & 0x0000000fu) {
24701     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
24702         reinterpret_cast<char*>(&_impl_.count_) -
24703         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.count_));
24704   }
24705   _impl_._has_bits_.Clear();
24706   _internal_metadata_.Clear<std::string>();
24707 }
24708 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)24709 const char* Ext4MbReleaseInodePaFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
24710 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
24711   _Internal::HasBits has_bits{};
24712   while (!ctx->Done(&ptr)) {
24713     ::uint32_t tag;
24714     ptr = ::_pbi::ReadTag(ptr, &tag);
24715     switch (tag >> 3) {
24716       // optional uint64 dev = 1;
24717       case 1:
24718         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
24719           _Internal::set_has_dev(&has_bits);
24720           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
24721           CHK_(ptr);
24722         } else {
24723           goto handle_unusual;
24724         }
24725         continue;
24726       // optional uint64 ino = 2;
24727       case 2:
24728         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
24729           _Internal::set_has_ino(&has_bits);
24730           _impl_.ino_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
24731           CHK_(ptr);
24732         } else {
24733           goto handle_unusual;
24734         }
24735         continue;
24736       // optional uint64 block = 3;
24737       case 3:
24738         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
24739           _Internal::set_has_block(&has_bits);
24740           _impl_.block_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
24741           CHK_(ptr);
24742         } else {
24743           goto handle_unusual;
24744         }
24745         continue;
24746       // optional uint32 count = 4;
24747       case 4:
24748         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
24749           _Internal::set_has_count(&has_bits);
24750           _impl_.count_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
24751           CHK_(ptr);
24752         } else {
24753           goto handle_unusual;
24754         }
24755         continue;
24756       default:
24757         goto handle_unusual;
24758     }  // switch
24759   handle_unusual:
24760     if ((tag == 0) || ((tag & 7) == 4)) {
24761       CHK_(ptr);
24762       ctx->SetLastTag(tag);
24763       goto message_done;
24764     }
24765     ptr = UnknownFieldParse(
24766         tag,
24767         _internal_metadata_.mutable_unknown_fields<std::string>(),
24768         ptr, ctx);
24769     CHK_(ptr != nullptr);
24770   }  // while
24771 message_done:
24772   _impl_._has_bits_.Or(has_bits);
24773   return ptr;
24774 failure:
24775   ptr = nullptr;
24776   goto message_done;
24777 #undef CHK_
24778 }
24779 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const24780 ::uint8_t* Ext4MbReleaseInodePaFtraceEvent::_InternalSerialize(
24781     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
24782   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.Ext4MbReleaseInodePaFtraceEvent)
24783   ::uint32_t cached_has_bits = 0;
24784   (void) cached_has_bits;
24785 
24786   cached_has_bits = _impl_._has_bits_[0];
24787   // optional uint64 dev = 1;
24788   if (cached_has_bits & 0x00000001u) {
24789     target = stream->EnsureSpace(target);
24790     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
24791   }
24792 
24793   // optional uint64 ino = 2;
24794   if (cached_has_bits & 0x00000002u) {
24795     target = stream->EnsureSpace(target);
24796     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_ino(), target);
24797   }
24798 
24799   // optional uint64 block = 3;
24800   if (cached_has_bits & 0x00000004u) {
24801     target = stream->EnsureSpace(target);
24802     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(3, this->_internal_block(), target);
24803   }
24804 
24805   // optional uint32 count = 4;
24806   if (cached_has_bits & 0x00000008u) {
24807     target = stream->EnsureSpace(target);
24808     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_count(), target);
24809   }
24810 
24811   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
24812     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
24813         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
24814   }
24815   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.Ext4MbReleaseInodePaFtraceEvent)
24816   return target;
24817 }
24818 
ByteSizeLong() const24819 size_t Ext4MbReleaseInodePaFtraceEvent::ByteSizeLong() const {
24820 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.Ext4MbReleaseInodePaFtraceEvent)
24821   size_t total_size = 0;
24822 
24823   ::uint32_t cached_has_bits = 0;
24824   // Prevent compiler warnings about cached_has_bits being unused
24825   (void) cached_has_bits;
24826 
24827   cached_has_bits = _impl_._has_bits_[0];
24828   if (cached_has_bits & 0x0000000fu) {
24829     // optional uint64 dev = 1;
24830     if (cached_has_bits & 0x00000001u) {
24831       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
24832     }
24833 
24834     // optional uint64 ino = 2;
24835     if (cached_has_bits & 0x00000002u) {
24836       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ino());
24837     }
24838 
24839     // optional uint64 block = 3;
24840     if (cached_has_bits & 0x00000004u) {
24841       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_block());
24842     }
24843 
24844     // optional uint32 count = 4;
24845     if (cached_has_bits & 0x00000008u) {
24846       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_count());
24847     }
24848 
24849   }
24850   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
24851     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
24852   }
24853   int cached_size = ::_pbi::ToCachedSize(total_size);
24854   SetCachedSize(cached_size);
24855   return total_size;
24856 }
24857 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)24858 void Ext4MbReleaseInodePaFtraceEvent::CheckTypeAndMergeFrom(
24859     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
24860   MergeFrom(*::_pbi::DownCast<const Ext4MbReleaseInodePaFtraceEvent*>(
24861       &from));
24862 }
24863 
MergeFrom(const Ext4MbReleaseInodePaFtraceEvent & from)24864 void Ext4MbReleaseInodePaFtraceEvent::MergeFrom(const Ext4MbReleaseInodePaFtraceEvent& from) {
24865   Ext4MbReleaseInodePaFtraceEvent* const _this = this;
24866   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.Ext4MbReleaseInodePaFtraceEvent)
24867   GOOGLE_DCHECK_NE(&from, _this);
24868   ::uint32_t cached_has_bits = 0;
24869   (void) cached_has_bits;
24870 
24871   cached_has_bits = from._impl_._has_bits_[0];
24872   if (cached_has_bits & 0x0000000fu) {
24873     if (cached_has_bits & 0x00000001u) {
24874       _this->_impl_.dev_ = from._impl_.dev_;
24875     }
24876     if (cached_has_bits & 0x00000002u) {
24877       _this->_impl_.ino_ = from._impl_.ino_;
24878     }
24879     if (cached_has_bits & 0x00000004u) {
24880       _this->_impl_.block_ = from._impl_.block_;
24881     }
24882     if (cached_has_bits & 0x00000008u) {
24883       _this->_impl_.count_ = from._impl_.count_;
24884     }
24885     _this->_impl_._has_bits_[0] |= cached_has_bits;
24886   }
24887   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
24888 }
24889 
CopyFrom(const Ext4MbReleaseInodePaFtraceEvent & from)24890 void Ext4MbReleaseInodePaFtraceEvent::CopyFrom(const Ext4MbReleaseInodePaFtraceEvent& from) {
24891 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.Ext4MbReleaseInodePaFtraceEvent)
24892   if (&from == this) return;
24893   Clear();
24894   MergeFrom(from);
24895 }
24896 
IsInitialized() const24897 bool Ext4MbReleaseInodePaFtraceEvent::IsInitialized() const {
24898   return true;
24899 }
24900 
InternalSwap(Ext4MbReleaseInodePaFtraceEvent * other)24901 void Ext4MbReleaseInodePaFtraceEvent::InternalSwap(Ext4MbReleaseInodePaFtraceEvent* other) {
24902   using std::swap;
24903   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
24904   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
24905   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
24906       PROTOBUF_FIELD_OFFSET(Ext4MbReleaseInodePaFtraceEvent, _impl_.count_)
24907       + sizeof(Ext4MbReleaseInodePaFtraceEvent::_impl_.count_)  // NOLINT
24908       - PROTOBUF_FIELD_OFFSET(Ext4MbReleaseInodePaFtraceEvent, _impl_.dev_)>(
24909           reinterpret_cast<char*>(&_impl_.dev_),
24910           reinterpret_cast<char*>(&other->_impl_.dev_));
24911 }
24912 
GetTypeName() const24913 std::string Ext4MbReleaseInodePaFtraceEvent::GetTypeName() const {
24914   return "perfetto.protos.Ext4MbReleaseInodePaFtraceEvent";
24915 }
24916 
24917 
24918 // ===================================================================
24919 
24920 class Ext4MballocAllocFtraceEvent::_Internal {
24921  public:
24922   using HasBits = decltype(std::declval<Ext4MballocAllocFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)24923   static void set_has_dev(HasBits* has_bits) {
24924     (*has_bits)[0] |= 1u;
24925   }
set_has_ino(HasBits * has_bits)24926   static void set_has_ino(HasBits* has_bits) {
24927     (*has_bits)[0] |= 2u;
24928   }
set_has_orig_logical(HasBits * has_bits)24929   static void set_has_orig_logical(HasBits* has_bits) {
24930     (*has_bits)[0] |= 4u;
24931   }
set_has_orig_start(HasBits * has_bits)24932   static void set_has_orig_start(HasBits* has_bits) {
24933     (*has_bits)[0] |= 8u;
24934   }
set_has_orig_group(HasBits * has_bits)24935   static void set_has_orig_group(HasBits* has_bits) {
24936     (*has_bits)[0] |= 16u;
24937   }
set_has_orig_len(HasBits * has_bits)24938   static void set_has_orig_len(HasBits* has_bits) {
24939     (*has_bits)[0] |= 32u;
24940   }
set_has_goal_logical(HasBits * has_bits)24941   static void set_has_goal_logical(HasBits* has_bits) {
24942     (*has_bits)[0] |= 64u;
24943   }
set_has_goal_start(HasBits * has_bits)24944   static void set_has_goal_start(HasBits* has_bits) {
24945     (*has_bits)[0] |= 128u;
24946   }
set_has_goal_group(HasBits * has_bits)24947   static void set_has_goal_group(HasBits* has_bits) {
24948     (*has_bits)[0] |= 256u;
24949   }
set_has_goal_len(HasBits * has_bits)24950   static void set_has_goal_len(HasBits* has_bits) {
24951     (*has_bits)[0] |= 512u;
24952   }
set_has_result_logical(HasBits * has_bits)24953   static void set_has_result_logical(HasBits* has_bits) {
24954     (*has_bits)[0] |= 1024u;
24955   }
set_has_result_start(HasBits * has_bits)24956   static void set_has_result_start(HasBits* has_bits) {
24957     (*has_bits)[0] |= 2048u;
24958   }
set_has_result_group(HasBits * has_bits)24959   static void set_has_result_group(HasBits* has_bits) {
24960     (*has_bits)[0] |= 4096u;
24961   }
set_has_result_len(HasBits * has_bits)24962   static void set_has_result_len(HasBits* has_bits) {
24963     (*has_bits)[0] |= 8192u;
24964   }
set_has_found(HasBits * has_bits)24965   static void set_has_found(HasBits* has_bits) {
24966     (*has_bits)[0] |= 16384u;
24967   }
set_has_groups(HasBits * has_bits)24968   static void set_has_groups(HasBits* has_bits) {
24969     (*has_bits)[0] |= 32768u;
24970   }
set_has_buddy(HasBits * has_bits)24971   static void set_has_buddy(HasBits* has_bits) {
24972     (*has_bits)[0] |= 65536u;
24973   }
set_has_flags(HasBits * has_bits)24974   static void set_has_flags(HasBits* has_bits) {
24975     (*has_bits)[0] |= 131072u;
24976   }
set_has_tail(HasBits * has_bits)24977   static void set_has_tail(HasBits* has_bits) {
24978     (*has_bits)[0] |= 262144u;
24979   }
set_has_cr(HasBits * has_bits)24980   static void set_has_cr(HasBits* has_bits) {
24981     (*has_bits)[0] |= 524288u;
24982   }
24983 };
24984 
Ext4MballocAllocFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)24985 Ext4MballocAllocFtraceEvent::Ext4MballocAllocFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
24986                          bool is_message_owned)
24987   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
24988   SharedCtor(arena, is_message_owned);
24989   // @@protoc_insertion_point(arena_constructor:perfetto.protos.Ext4MballocAllocFtraceEvent)
24990 }
Ext4MballocAllocFtraceEvent(const Ext4MballocAllocFtraceEvent & from)24991 Ext4MballocAllocFtraceEvent::Ext4MballocAllocFtraceEvent(const Ext4MballocAllocFtraceEvent& from)
24992   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
24993   Ext4MballocAllocFtraceEvent* const _this = this; (void)_this;
24994   new (&_impl_) Impl_{
24995       decltype(_impl_._has_bits_){from._impl_._has_bits_}
24996     , /*decltype(_impl_._cached_size_)*/{}
24997     , decltype(_impl_.dev_){}
24998     , decltype(_impl_.ino_){}
24999     , decltype(_impl_.orig_logical_){}
25000     , decltype(_impl_.orig_start_){}
25001     , decltype(_impl_.orig_group_){}
25002     , decltype(_impl_.orig_len_){}
25003     , decltype(_impl_.goal_logical_){}
25004     , decltype(_impl_.goal_start_){}
25005     , decltype(_impl_.goal_group_){}
25006     , decltype(_impl_.goal_len_){}
25007     , decltype(_impl_.result_logical_){}
25008     , decltype(_impl_.result_start_){}
25009     , decltype(_impl_.result_group_){}
25010     , decltype(_impl_.result_len_){}
25011     , decltype(_impl_.found_){}
25012     , decltype(_impl_.groups_){}
25013     , decltype(_impl_.buddy_){}
25014     , decltype(_impl_.flags_){}
25015     , decltype(_impl_.tail_){}
25016     , decltype(_impl_.cr_){}};
25017 
25018   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
25019   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
25020     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.cr_) -
25021     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.cr_));
25022   // @@protoc_insertion_point(copy_constructor:perfetto.protos.Ext4MballocAllocFtraceEvent)
25023 }
25024 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)25025 inline void Ext4MballocAllocFtraceEvent::SharedCtor(
25026     ::_pb::Arena* arena, bool is_message_owned) {
25027   (void)arena;
25028   (void)is_message_owned;
25029   new (&_impl_) Impl_{
25030       decltype(_impl_._has_bits_){}
25031     , /*decltype(_impl_._cached_size_)*/{}
25032     , decltype(_impl_.dev_){::uint64_t{0u}}
25033     , decltype(_impl_.ino_){::uint64_t{0u}}
25034     , decltype(_impl_.orig_logical_){0u}
25035     , decltype(_impl_.orig_start_){0}
25036     , decltype(_impl_.orig_group_){0u}
25037     , decltype(_impl_.orig_len_){0}
25038     , decltype(_impl_.goal_logical_){0u}
25039     , decltype(_impl_.goal_start_){0}
25040     , decltype(_impl_.goal_group_){0u}
25041     , decltype(_impl_.goal_len_){0}
25042     , decltype(_impl_.result_logical_){0u}
25043     , decltype(_impl_.result_start_){0}
25044     , decltype(_impl_.result_group_){0u}
25045     , decltype(_impl_.result_len_){0}
25046     , decltype(_impl_.found_){0u}
25047     , decltype(_impl_.groups_){0u}
25048     , decltype(_impl_.buddy_){0u}
25049     , decltype(_impl_.flags_){0u}
25050     , decltype(_impl_.tail_){0u}
25051     , decltype(_impl_.cr_){0u}
25052   };
25053 }
25054 
~Ext4MballocAllocFtraceEvent()25055 Ext4MballocAllocFtraceEvent::~Ext4MballocAllocFtraceEvent() {
25056   // @@protoc_insertion_point(destructor:perfetto.protos.Ext4MballocAllocFtraceEvent)
25057   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
25058   (void)arena;
25059     return;
25060   }
25061   SharedDtor();
25062 }
25063 
SharedDtor()25064 inline void Ext4MballocAllocFtraceEvent::SharedDtor() {
25065   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
25066 }
25067 
SetCachedSize(int size) const25068 void Ext4MballocAllocFtraceEvent::SetCachedSize(int size) const {
25069   _impl_._cached_size_.Set(size);
25070 }
25071 
Clear()25072 void Ext4MballocAllocFtraceEvent::Clear() {
25073 // @@protoc_insertion_point(message_clear_start:perfetto.protos.Ext4MballocAllocFtraceEvent)
25074   ::uint32_t cached_has_bits = 0;
25075   // Prevent compiler warnings about cached_has_bits being unused
25076   (void) cached_has_bits;
25077 
25078   cached_has_bits = _impl_._has_bits_[0];
25079   if (cached_has_bits & 0x000000ffu) {
25080     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
25081         reinterpret_cast<char*>(&_impl_.goal_start_) -
25082         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.goal_start_));
25083   }
25084   if (cached_has_bits & 0x0000ff00u) {
25085     ::memset(&_impl_.goal_group_, 0, static_cast<size_t>(
25086         reinterpret_cast<char*>(&_impl_.groups_) -
25087         reinterpret_cast<char*>(&_impl_.goal_group_)) + sizeof(_impl_.groups_));
25088   }
25089   if (cached_has_bits & 0x000f0000u) {
25090     ::memset(&_impl_.buddy_, 0, static_cast<size_t>(
25091         reinterpret_cast<char*>(&_impl_.cr_) -
25092         reinterpret_cast<char*>(&_impl_.buddy_)) + sizeof(_impl_.cr_));
25093   }
25094   _impl_._has_bits_.Clear();
25095   _internal_metadata_.Clear<std::string>();
25096 }
25097 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)25098 const char* Ext4MballocAllocFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
25099 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
25100   _Internal::HasBits has_bits{};
25101   while (!ctx->Done(&ptr)) {
25102     ::uint32_t tag;
25103     ptr = ::_pbi::ReadTag(ptr, &tag);
25104     switch (tag >> 3) {
25105       // optional uint64 dev = 1;
25106       case 1:
25107         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
25108           _Internal::set_has_dev(&has_bits);
25109           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
25110           CHK_(ptr);
25111         } else {
25112           goto handle_unusual;
25113         }
25114         continue;
25115       // optional uint64 ino = 2;
25116       case 2:
25117         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
25118           _Internal::set_has_ino(&has_bits);
25119           _impl_.ino_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
25120           CHK_(ptr);
25121         } else {
25122           goto handle_unusual;
25123         }
25124         continue;
25125       // optional uint32 orig_logical = 3;
25126       case 3:
25127         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
25128           _Internal::set_has_orig_logical(&has_bits);
25129           _impl_.orig_logical_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
25130           CHK_(ptr);
25131         } else {
25132           goto handle_unusual;
25133         }
25134         continue;
25135       // optional int32 orig_start = 4;
25136       case 4:
25137         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
25138           _Internal::set_has_orig_start(&has_bits);
25139           _impl_.orig_start_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
25140           CHK_(ptr);
25141         } else {
25142           goto handle_unusual;
25143         }
25144         continue;
25145       // optional uint32 orig_group = 5;
25146       case 5:
25147         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) {
25148           _Internal::set_has_orig_group(&has_bits);
25149           _impl_.orig_group_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
25150           CHK_(ptr);
25151         } else {
25152           goto handle_unusual;
25153         }
25154         continue;
25155       // optional int32 orig_len = 6;
25156       case 6:
25157         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 48)) {
25158           _Internal::set_has_orig_len(&has_bits);
25159           _impl_.orig_len_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
25160           CHK_(ptr);
25161         } else {
25162           goto handle_unusual;
25163         }
25164         continue;
25165       // optional uint32 goal_logical = 7;
25166       case 7:
25167         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 56)) {
25168           _Internal::set_has_goal_logical(&has_bits);
25169           _impl_.goal_logical_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
25170           CHK_(ptr);
25171         } else {
25172           goto handle_unusual;
25173         }
25174         continue;
25175       // optional int32 goal_start = 8;
25176       case 8:
25177         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 64)) {
25178           _Internal::set_has_goal_start(&has_bits);
25179           _impl_.goal_start_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
25180           CHK_(ptr);
25181         } else {
25182           goto handle_unusual;
25183         }
25184         continue;
25185       // optional uint32 goal_group = 9;
25186       case 9:
25187         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 72)) {
25188           _Internal::set_has_goal_group(&has_bits);
25189           _impl_.goal_group_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
25190           CHK_(ptr);
25191         } else {
25192           goto handle_unusual;
25193         }
25194         continue;
25195       // optional int32 goal_len = 10;
25196       case 10:
25197         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 80)) {
25198           _Internal::set_has_goal_len(&has_bits);
25199           _impl_.goal_len_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
25200           CHK_(ptr);
25201         } else {
25202           goto handle_unusual;
25203         }
25204         continue;
25205       // optional uint32 result_logical = 11;
25206       case 11:
25207         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 88)) {
25208           _Internal::set_has_result_logical(&has_bits);
25209           _impl_.result_logical_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
25210           CHK_(ptr);
25211         } else {
25212           goto handle_unusual;
25213         }
25214         continue;
25215       // optional int32 result_start = 12;
25216       case 12:
25217         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 96)) {
25218           _Internal::set_has_result_start(&has_bits);
25219           _impl_.result_start_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
25220           CHK_(ptr);
25221         } else {
25222           goto handle_unusual;
25223         }
25224         continue;
25225       // optional uint32 result_group = 13;
25226       case 13:
25227         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 104)) {
25228           _Internal::set_has_result_group(&has_bits);
25229           _impl_.result_group_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
25230           CHK_(ptr);
25231         } else {
25232           goto handle_unusual;
25233         }
25234         continue;
25235       // optional int32 result_len = 14;
25236       case 14:
25237         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 112)) {
25238           _Internal::set_has_result_len(&has_bits);
25239           _impl_.result_len_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
25240           CHK_(ptr);
25241         } else {
25242           goto handle_unusual;
25243         }
25244         continue;
25245       // optional uint32 found = 15;
25246       case 15:
25247         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 120)) {
25248           _Internal::set_has_found(&has_bits);
25249           _impl_.found_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
25250           CHK_(ptr);
25251         } else {
25252           goto handle_unusual;
25253         }
25254         continue;
25255       // optional uint32 groups = 16;
25256       case 16:
25257         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 128)) {
25258           _Internal::set_has_groups(&has_bits);
25259           _impl_.groups_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
25260           CHK_(ptr);
25261         } else {
25262           goto handle_unusual;
25263         }
25264         continue;
25265       // optional uint32 buddy = 17;
25266       case 17:
25267         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 136)) {
25268           _Internal::set_has_buddy(&has_bits);
25269           _impl_.buddy_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
25270           CHK_(ptr);
25271         } else {
25272           goto handle_unusual;
25273         }
25274         continue;
25275       // optional uint32 flags = 18;
25276       case 18:
25277         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 144)) {
25278           _Internal::set_has_flags(&has_bits);
25279           _impl_.flags_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
25280           CHK_(ptr);
25281         } else {
25282           goto handle_unusual;
25283         }
25284         continue;
25285       // optional uint32 tail = 19;
25286       case 19:
25287         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 152)) {
25288           _Internal::set_has_tail(&has_bits);
25289           _impl_.tail_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
25290           CHK_(ptr);
25291         } else {
25292           goto handle_unusual;
25293         }
25294         continue;
25295       // optional uint32 cr = 20;
25296       case 20:
25297         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 160)) {
25298           _Internal::set_has_cr(&has_bits);
25299           _impl_.cr_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
25300           CHK_(ptr);
25301         } else {
25302           goto handle_unusual;
25303         }
25304         continue;
25305       default:
25306         goto handle_unusual;
25307     }  // switch
25308   handle_unusual:
25309     if ((tag == 0) || ((tag & 7) == 4)) {
25310       CHK_(ptr);
25311       ctx->SetLastTag(tag);
25312       goto message_done;
25313     }
25314     ptr = UnknownFieldParse(
25315         tag,
25316         _internal_metadata_.mutable_unknown_fields<std::string>(),
25317         ptr, ctx);
25318     CHK_(ptr != nullptr);
25319   }  // while
25320 message_done:
25321   _impl_._has_bits_.Or(has_bits);
25322   return ptr;
25323 failure:
25324   ptr = nullptr;
25325   goto message_done;
25326 #undef CHK_
25327 }
25328 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const25329 ::uint8_t* Ext4MballocAllocFtraceEvent::_InternalSerialize(
25330     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
25331   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.Ext4MballocAllocFtraceEvent)
25332   ::uint32_t cached_has_bits = 0;
25333   (void) cached_has_bits;
25334 
25335   cached_has_bits = _impl_._has_bits_[0];
25336   // optional uint64 dev = 1;
25337   if (cached_has_bits & 0x00000001u) {
25338     target = stream->EnsureSpace(target);
25339     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
25340   }
25341 
25342   // optional uint64 ino = 2;
25343   if (cached_has_bits & 0x00000002u) {
25344     target = stream->EnsureSpace(target);
25345     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_ino(), target);
25346   }
25347 
25348   // optional uint32 orig_logical = 3;
25349   if (cached_has_bits & 0x00000004u) {
25350     target = stream->EnsureSpace(target);
25351     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_orig_logical(), target);
25352   }
25353 
25354   // optional int32 orig_start = 4;
25355   if (cached_has_bits & 0x00000008u) {
25356     target = stream->EnsureSpace(target);
25357     target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_orig_start(), target);
25358   }
25359 
25360   // optional uint32 orig_group = 5;
25361   if (cached_has_bits & 0x00000010u) {
25362     target = stream->EnsureSpace(target);
25363     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_orig_group(), target);
25364   }
25365 
25366   // optional int32 orig_len = 6;
25367   if (cached_has_bits & 0x00000020u) {
25368     target = stream->EnsureSpace(target);
25369     target = ::_pbi::WireFormatLite::WriteInt32ToArray(6, this->_internal_orig_len(), target);
25370   }
25371 
25372   // optional uint32 goal_logical = 7;
25373   if (cached_has_bits & 0x00000040u) {
25374     target = stream->EnsureSpace(target);
25375     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(7, this->_internal_goal_logical(), target);
25376   }
25377 
25378   // optional int32 goal_start = 8;
25379   if (cached_has_bits & 0x00000080u) {
25380     target = stream->EnsureSpace(target);
25381     target = ::_pbi::WireFormatLite::WriteInt32ToArray(8, this->_internal_goal_start(), target);
25382   }
25383 
25384   // optional uint32 goal_group = 9;
25385   if (cached_has_bits & 0x00000100u) {
25386     target = stream->EnsureSpace(target);
25387     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(9, this->_internal_goal_group(), target);
25388   }
25389 
25390   // optional int32 goal_len = 10;
25391   if (cached_has_bits & 0x00000200u) {
25392     target = stream->EnsureSpace(target);
25393     target = ::_pbi::WireFormatLite::WriteInt32ToArray(10, this->_internal_goal_len(), target);
25394   }
25395 
25396   // optional uint32 result_logical = 11;
25397   if (cached_has_bits & 0x00000400u) {
25398     target = stream->EnsureSpace(target);
25399     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(11, this->_internal_result_logical(), target);
25400   }
25401 
25402   // optional int32 result_start = 12;
25403   if (cached_has_bits & 0x00000800u) {
25404     target = stream->EnsureSpace(target);
25405     target = ::_pbi::WireFormatLite::WriteInt32ToArray(12, this->_internal_result_start(), target);
25406   }
25407 
25408   // optional uint32 result_group = 13;
25409   if (cached_has_bits & 0x00001000u) {
25410     target = stream->EnsureSpace(target);
25411     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(13, this->_internal_result_group(), target);
25412   }
25413 
25414   // optional int32 result_len = 14;
25415   if (cached_has_bits & 0x00002000u) {
25416     target = stream->EnsureSpace(target);
25417     target = ::_pbi::WireFormatLite::WriteInt32ToArray(14, this->_internal_result_len(), target);
25418   }
25419 
25420   // optional uint32 found = 15;
25421   if (cached_has_bits & 0x00004000u) {
25422     target = stream->EnsureSpace(target);
25423     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(15, this->_internal_found(), target);
25424   }
25425 
25426   // optional uint32 groups = 16;
25427   if (cached_has_bits & 0x00008000u) {
25428     target = stream->EnsureSpace(target);
25429     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(16, this->_internal_groups(), target);
25430   }
25431 
25432   // optional uint32 buddy = 17;
25433   if (cached_has_bits & 0x00010000u) {
25434     target = stream->EnsureSpace(target);
25435     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(17, this->_internal_buddy(), target);
25436   }
25437 
25438   // optional uint32 flags = 18;
25439   if (cached_has_bits & 0x00020000u) {
25440     target = stream->EnsureSpace(target);
25441     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(18, this->_internal_flags(), target);
25442   }
25443 
25444   // optional uint32 tail = 19;
25445   if (cached_has_bits & 0x00040000u) {
25446     target = stream->EnsureSpace(target);
25447     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(19, this->_internal_tail(), target);
25448   }
25449 
25450   // optional uint32 cr = 20;
25451   if (cached_has_bits & 0x00080000u) {
25452     target = stream->EnsureSpace(target);
25453     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(20, this->_internal_cr(), target);
25454   }
25455 
25456   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
25457     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
25458         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
25459   }
25460   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.Ext4MballocAllocFtraceEvent)
25461   return target;
25462 }
25463 
ByteSizeLong() const25464 size_t Ext4MballocAllocFtraceEvent::ByteSizeLong() const {
25465 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.Ext4MballocAllocFtraceEvent)
25466   size_t total_size = 0;
25467 
25468   ::uint32_t cached_has_bits = 0;
25469   // Prevent compiler warnings about cached_has_bits being unused
25470   (void) cached_has_bits;
25471 
25472   cached_has_bits = _impl_._has_bits_[0];
25473   if (cached_has_bits & 0x000000ffu) {
25474     // optional uint64 dev = 1;
25475     if (cached_has_bits & 0x00000001u) {
25476       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
25477     }
25478 
25479     // optional uint64 ino = 2;
25480     if (cached_has_bits & 0x00000002u) {
25481       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ino());
25482     }
25483 
25484     // optional uint32 orig_logical = 3;
25485     if (cached_has_bits & 0x00000004u) {
25486       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_orig_logical());
25487     }
25488 
25489     // optional int32 orig_start = 4;
25490     if (cached_has_bits & 0x00000008u) {
25491       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_orig_start());
25492     }
25493 
25494     // optional uint32 orig_group = 5;
25495     if (cached_has_bits & 0x00000010u) {
25496       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_orig_group());
25497     }
25498 
25499     // optional int32 orig_len = 6;
25500     if (cached_has_bits & 0x00000020u) {
25501       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_orig_len());
25502     }
25503 
25504     // optional uint32 goal_logical = 7;
25505     if (cached_has_bits & 0x00000040u) {
25506       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_goal_logical());
25507     }
25508 
25509     // optional int32 goal_start = 8;
25510     if (cached_has_bits & 0x00000080u) {
25511       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_goal_start());
25512     }
25513 
25514   }
25515   if (cached_has_bits & 0x0000ff00u) {
25516     // optional uint32 goal_group = 9;
25517     if (cached_has_bits & 0x00000100u) {
25518       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_goal_group());
25519     }
25520 
25521     // optional int32 goal_len = 10;
25522     if (cached_has_bits & 0x00000200u) {
25523       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_goal_len());
25524     }
25525 
25526     // optional uint32 result_logical = 11;
25527     if (cached_has_bits & 0x00000400u) {
25528       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_result_logical());
25529     }
25530 
25531     // optional int32 result_start = 12;
25532     if (cached_has_bits & 0x00000800u) {
25533       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_result_start());
25534     }
25535 
25536     // optional uint32 result_group = 13;
25537     if (cached_has_bits & 0x00001000u) {
25538       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_result_group());
25539     }
25540 
25541     // optional int32 result_len = 14;
25542     if (cached_has_bits & 0x00002000u) {
25543       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_result_len());
25544     }
25545 
25546     // optional uint32 found = 15;
25547     if (cached_has_bits & 0x00004000u) {
25548       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_found());
25549     }
25550 
25551     // optional uint32 groups = 16;
25552     if (cached_has_bits & 0x00008000u) {
25553       total_size += 2 +
25554         ::_pbi::WireFormatLite::UInt32Size(
25555           this->_internal_groups());
25556     }
25557 
25558   }
25559   if (cached_has_bits & 0x000f0000u) {
25560     // optional uint32 buddy = 17;
25561     if (cached_has_bits & 0x00010000u) {
25562       total_size += 2 +
25563         ::_pbi::WireFormatLite::UInt32Size(
25564           this->_internal_buddy());
25565     }
25566 
25567     // optional uint32 flags = 18;
25568     if (cached_has_bits & 0x00020000u) {
25569       total_size += 2 +
25570         ::_pbi::WireFormatLite::UInt32Size(
25571           this->_internal_flags());
25572     }
25573 
25574     // optional uint32 tail = 19;
25575     if (cached_has_bits & 0x00040000u) {
25576       total_size += 2 +
25577         ::_pbi::WireFormatLite::UInt32Size(
25578           this->_internal_tail());
25579     }
25580 
25581     // optional uint32 cr = 20;
25582     if (cached_has_bits & 0x00080000u) {
25583       total_size += 2 +
25584         ::_pbi::WireFormatLite::UInt32Size(
25585           this->_internal_cr());
25586     }
25587 
25588   }
25589   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
25590     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
25591   }
25592   int cached_size = ::_pbi::ToCachedSize(total_size);
25593   SetCachedSize(cached_size);
25594   return total_size;
25595 }
25596 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)25597 void Ext4MballocAllocFtraceEvent::CheckTypeAndMergeFrom(
25598     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
25599   MergeFrom(*::_pbi::DownCast<const Ext4MballocAllocFtraceEvent*>(
25600       &from));
25601 }
25602 
MergeFrom(const Ext4MballocAllocFtraceEvent & from)25603 void Ext4MballocAllocFtraceEvent::MergeFrom(const Ext4MballocAllocFtraceEvent& from) {
25604   Ext4MballocAllocFtraceEvent* const _this = this;
25605   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.Ext4MballocAllocFtraceEvent)
25606   GOOGLE_DCHECK_NE(&from, _this);
25607   ::uint32_t cached_has_bits = 0;
25608   (void) cached_has_bits;
25609 
25610   cached_has_bits = from._impl_._has_bits_[0];
25611   if (cached_has_bits & 0x000000ffu) {
25612     if (cached_has_bits & 0x00000001u) {
25613       _this->_impl_.dev_ = from._impl_.dev_;
25614     }
25615     if (cached_has_bits & 0x00000002u) {
25616       _this->_impl_.ino_ = from._impl_.ino_;
25617     }
25618     if (cached_has_bits & 0x00000004u) {
25619       _this->_impl_.orig_logical_ = from._impl_.orig_logical_;
25620     }
25621     if (cached_has_bits & 0x00000008u) {
25622       _this->_impl_.orig_start_ = from._impl_.orig_start_;
25623     }
25624     if (cached_has_bits & 0x00000010u) {
25625       _this->_impl_.orig_group_ = from._impl_.orig_group_;
25626     }
25627     if (cached_has_bits & 0x00000020u) {
25628       _this->_impl_.orig_len_ = from._impl_.orig_len_;
25629     }
25630     if (cached_has_bits & 0x00000040u) {
25631       _this->_impl_.goal_logical_ = from._impl_.goal_logical_;
25632     }
25633     if (cached_has_bits & 0x00000080u) {
25634       _this->_impl_.goal_start_ = from._impl_.goal_start_;
25635     }
25636     _this->_impl_._has_bits_[0] |= cached_has_bits;
25637   }
25638   if (cached_has_bits & 0x0000ff00u) {
25639     if (cached_has_bits & 0x00000100u) {
25640       _this->_impl_.goal_group_ = from._impl_.goal_group_;
25641     }
25642     if (cached_has_bits & 0x00000200u) {
25643       _this->_impl_.goal_len_ = from._impl_.goal_len_;
25644     }
25645     if (cached_has_bits & 0x00000400u) {
25646       _this->_impl_.result_logical_ = from._impl_.result_logical_;
25647     }
25648     if (cached_has_bits & 0x00000800u) {
25649       _this->_impl_.result_start_ = from._impl_.result_start_;
25650     }
25651     if (cached_has_bits & 0x00001000u) {
25652       _this->_impl_.result_group_ = from._impl_.result_group_;
25653     }
25654     if (cached_has_bits & 0x00002000u) {
25655       _this->_impl_.result_len_ = from._impl_.result_len_;
25656     }
25657     if (cached_has_bits & 0x00004000u) {
25658       _this->_impl_.found_ = from._impl_.found_;
25659     }
25660     if (cached_has_bits & 0x00008000u) {
25661       _this->_impl_.groups_ = from._impl_.groups_;
25662     }
25663     _this->_impl_._has_bits_[0] |= cached_has_bits;
25664   }
25665   if (cached_has_bits & 0x000f0000u) {
25666     if (cached_has_bits & 0x00010000u) {
25667       _this->_impl_.buddy_ = from._impl_.buddy_;
25668     }
25669     if (cached_has_bits & 0x00020000u) {
25670       _this->_impl_.flags_ = from._impl_.flags_;
25671     }
25672     if (cached_has_bits & 0x00040000u) {
25673       _this->_impl_.tail_ = from._impl_.tail_;
25674     }
25675     if (cached_has_bits & 0x00080000u) {
25676       _this->_impl_.cr_ = from._impl_.cr_;
25677     }
25678     _this->_impl_._has_bits_[0] |= cached_has_bits;
25679   }
25680   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
25681 }
25682 
CopyFrom(const Ext4MballocAllocFtraceEvent & from)25683 void Ext4MballocAllocFtraceEvent::CopyFrom(const Ext4MballocAllocFtraceEvent& from) {
25684 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.Ext4MballocAllocFtraceEvent)
25685   if (&from == this) return;
25686   Clear();
25687   MergeFrom(from);
25688 }
25689 
IsInitialized() const25690 bool Ext4MballocAllocFtraceEvent::IsInitialized() const {
25691   return true;
25692 }
25693 
InternalSwap(Ext4MballocAllocFtraceEvent * other)25694 void Ext4MballocAllocFtraceEvent::InternalSwap(Ext4MballocAllocFtraceEvent* other) {
25695   using std::swap;
25696   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
25697   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
25698   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
25699       PROTOBUF_FIELD_OFFSET(Ext4MballocAllocFtraceEvent, _impl_.cr_)
25700       + sizeof(Ext4MballocAllocFtraceEvent::_impl_.cr_)  // NOLINT
25701       - PROTOBUF_FIELD_OFFSET(Ext4MballocAllocFtraceEvent, _impl_.dev_)>(
25702           reinterpret_cast<char*>(&_impl_.dev_),
25703           reinterpret_cast<char*>(&other->_impl_.dev_));
25704 }
25705 
GetTypeName() const25706 std::string Ext4MballocAllocFtraceEvent::GetTypeName() const {
25707   return "perfetto.protos.Ext4MballocAllocFtraceEvent";
25708 }
25709 
25710 
25711 // ===================================================================
25712 
25713 class Ext4MballocDiscardFtraceEvent::_Internal {
25714  public:
25715   using HasBits = decltype(std::declval<Ext4MballocDiscardFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)25716   static void set_has_dev(HasBits* has_bits) {
25717     (*has_bits)[0] |= 1u;
25718   }
set_has_ino(HasBits * has_bits)25719   static void set_has_ino(HasBits* has_bits) {
25720     (*has_bits)[0] |= 2u;
25721   }
set_has_result_start(HasBits * has_bits)25722   static void set_has_result_start(HasBits* has_bits) {
25723     (*has_bits)[0] |= 4u;
25724   }
set_has_result_group(HasBits * has_bits)25725   static void set_has_result_group(HasBits* has_bits) {
25726     (*has_bits)[0] |= 8u;
25727   }
set_has_result_len(HasBits * has_bits)25728   static void set_has_result_len(HasBits* has_bits) {
25729     (*has_bits)[0] |= 16u;
25730   }
25731 };
25732 
Ext4MballocDiscardFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)25733 Ext4MballocDiscardFtraceEvent::Ext4MballocDiscardFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
25734                          bool is_message_owned)
25735   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
25736   SharedCtor(arena, is_message_owned);
25737   // @@protoc_insertion_point(arena_constructor:perfetto.protos.Ext4MballocDiscardFtraceEvent)
25738 }
Ext4MballocDiscardFtraceEvent(const Ext4MballocDiscardFtraceEvent & from)25739 Ext4MballocDiscardFtraceEvent::Ext4MballocDiscardFtraceEvent(const Ext4MballocDiscardFtraceEvent& from)
25740   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
25741   Ext4MballocDiscardFtraceEvent* const _this = this; (void)_this;
25742   new (&_impl_) Impl_{
25743       decltype(_impl_._has_bits_){from._impl_._has_bits_}
25744     , /*decltype(_impl_._cached_size_)*/{}
25745     , decltype(_impl_.dev_){}
25746     , decltype(_impl_.ino_){}
25747     , decltype(_impl_.result_start_){}
25748     , decltype(_impl_.result_group_){}
25749     , decltype(_impl_.result_len_){}};
25750 
25751   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
25752   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
25753     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.result_len_) -
25754     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.result_len_));
25755   // @@protoc_insertion_point(copy_constructor:perfetto.protos.Ext4MballocDiscardFtraceEvent)
25756 }
25757 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)25758 inline void Ext4MballocDiscardFtraceEvent::SharedCtor(
25759     ::_pb::Arena* arena, bool is_message_owned) {
25760   (void)arena;
25761   (void)is_message_owned;
25762   new (&_impl_) Impl_{
25763       decltype(_impl_._has_bits_){}
25764     , /*decltype(_impl_._cached_size_)*/{}
25765     , decltype(_impl_.dev_){::uint64_t{0u}}
25766     , decltype(_impl_.ino_){::uint64_t{0u}}
25767     , decltype(_impl_.result_start_){0}
25768     , decltype(_impl_.result_group_){0u}
25769     , decltype(_impl_.result_len_){0}
25770   };
25771 }
25772 
~Ext4MballocDiscardFtraceEvent()25773 Ext4MballocDiscardFtraceEvent::~Ext4MballocDiscardFtraceEvent() {
25774   // @@protoc_insertion_point(destructor:perfetto.protos.Ext4MballocDiscardFtraceEvent)
25775   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
25776   (void)arena;
25777     return;
25778   }
25779   SharedDtor();
25780 }
25781 
SharedDtor()25782 inline void Ext4MballocDiscardFtraceEvent::SharedDtor() {
25783   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
25784 }
25785 
SetCachedSize(int size) const25786 void Ext4MballocDiscardFtraceEvent::SetCachedSize(int size) const {
25787   _impl_._cached_size_.Set(size);
25788 }
25789 
Clear()25790 void Ext4MballocDiscardFtraceEvent::Clear() {
25791 // @@protoc_insertion_point(message_clear_start:perfetto.protos.Ext4MballocDiscardFtraceEvent)
25792   ::uint32_t cached_has_bits = 0;
25793   // Prevent compiler warnings about cached_has_bits being unused
25794   (void) cached_has_bits;
25795 
25796   cached_has_bits = _impl_._has_bits_[0];
25797   if (cached_has_bits & 0x0000001fu) {
25798     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
25799         reinterpret_cast<char*>(&_impl_.result_len_) -
25800         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.result_len_));
25801   }
25802   _impl_._has_bits_.Clear();
25803   _internal_metadata_.Clear<std::string>();
25804 }
25805 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)25806 const char* Ext4MballocDiscardFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
25807 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
25808   _Internal::HasBits has_bits{};
25809   while (!ctx->Done(&ptr)) {
25810     ::uint32_t tag;
25811     ptr = ::_pbi::ReadTag(ptr, &tag);
25812     switch (tag >> 3) {
25813       // optional uint64 dev = 1;
25814       case 1:
25815         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
25816           _Internal::set_has_dev(&has_bits);
25817           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
25818           CHK_(ptr);
25819         } else {
25820           goto handle_unusual;
25821         }
25822         continue;
25823       // optional uint64 ino = 2;
25824       case 2:
25825         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
25826           _Internal::set_has_ino(&has_bits);
25827           _impl_.ino_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
25828           CHK_(ptr);
25829         } else {
25830           goto handle_unusual;
25831         }
25832         continue;
25833       // optional int32 result_start = 3;
25834       case 3:
25835         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
25836           _Internal::set_has_result_start(&has_bits);
25837           _impl_.result_start_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
25838           CHK_(ptr);
25839         } else {
25840           goto handle_unusual;
25841         }
25842         continue;
25843       // optional uint32 result_group = 4;
25844       case 4:
25845         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
25846           _Internal::set_has_result_group(&has_bits);
25847           _impl_.result_group_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
25848           CHK_(ptr);
25849         } else {
25850           goto handle_unusual;
25851         }
25852         continue;
25853       // optional int32 result_len = 5;
25854       case 5:
25855         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) {
25856           _Internal::set_has_result_len(&has_bits);
25857           _impl_.result_len_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
25858           CHK_(ptr);
25859         } else {
25860           goto handle_unusual;
25861         }
25862         continue;
25863       default:
25864         goto handle_unusual;
25865     }  // switch
25866   handle_unusual:
25867     if ((tag == 0) || ((tag & 7) == 4)) {
25868       CHK_(ptr);
25869       ctx->SetLastTag(tag);
25870       goto message_done;
25871     }
25872     ptr = UnknownFieldParse(
25873         tag,
25874         _internal_metadata_.mutable_unknown_fields<std::string>(),
25875         ptr, ctx);
25876     CHK_(ptr != nullptr);
25877   }  // while
25878 message_done:
25879   _impl_._has_bits_.Or(has_bits);
25880   return ptr;
25881 failure:
25882   ptr = nullptr;
25883   goto message_done;
25884 #undef CHK_
25885 }
25886 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const25887 ::uint8_t* Ext4MballocDiscardFtraceEvent::_InternalSerialize(
25888     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
25889   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.Ext4MballocDiscardFtraceEvent)
25890   ::uint32_t cached_has_bits = 0;
25891   (void) cached_has_bits;
25892 
25893   cached_has_bits = _impl_._has_bits_[0];
25894   // optional uint64 dev = 1;
25895   if (cached_has_bits & 0x00000001u) {
25896     target = stream->EnsureSpace(target);
25897     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
25898   }
25899 
25900   // optional uint64 ino = 2;
25901   if (cached_has_bits & 0x00000002u) {
25902     target = stream->EnsureSpace(target);
25903     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_ino(), target);
25904   }
25905 
25906   // optional int32 result_start = 3;
25907   if (cached_has_bits & 0x00000004u) {
25908     target = stream->EnsureSpace(target);
25909     target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_result_start(), target);
25910   }
25911 
25912   // optional uint32 result_group = 4;
25913   if (cached_has_bits & 0x00000008u) {
25914     target = stream->EnsureSpace(target);
25915     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_result_group(), target);
25916   }
25917 
25918   // optional int32 result_len = 5;
25919   if (cached_has_bits & 0x00000010u) {
25920     target = stream->EnsureSpace(target);
25921     target = ::_pbi::WireFormatLite::WriteInt32ToArray(5, this->_internal_result_len(), target);
25922   }
25923 
25924   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
25925     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
25926         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
25927   }
25928   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.Ext4MballocDiscardFtraceEvent)
25929   return target;
25930 }
25931 
ByteSizeLong() const25932 size_t Ext4MballocDiscardFtraceEvent::ByteSizeLong() const {
25933 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.Ext4MballocDiscardFtraceEvent)
25934   size_t total_size = 0;
25935 
25936   ::uint32_t cached_has_bits = 0;
25937   // Prevent compiler warnings about cached_has_bits being unused
25938   (void) cached_has_bits;
25939 
25940   cached_has_bits = _impl_._has_bits_[0];
25941   if (cached_has_bits & 0x0000001fu) {
25942     // optional uint64 dev = 1;
25943     if (cached_has_bits & 0x00000001u) {
25944       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
25945     }
25946 
25947     // optional uint64 ino = 2;
25948     if (cached_has_bits & 0x00000002u) {
25949       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ino());
25950     }
25951 
25952     // optional int32 result_start = 3;
25953     if (cached_has_bits & 0x00000004u) {
25954       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_result_start());
25955     }
25956 
25957     // optional uint32 result_group = 4;
25958     if (cached_has_bits & 0x00000008u) {
25959       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_result_group());
25960     }
25961 
25962     // optional int32 result_len = 5;
25963     if (cached_has_bits & 0x00000010u) {
25964       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_result_len());
25965     }
25966 
25967   }
25968   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
25969     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
25970   }
25971   int cached_size = ::_pbi::ToCachedSize(total_size);
25972   SetCachedSize(cached_size);
25973   return total_size;
25974 }
25975 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)25976 void Ext4MballocDiscardFtraceEvent::CheckTypeAndMergeFrom(
25977     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
25978   MergeFrom(*::_pbi::DownCast<const Ext4MballocDiscardFtraceEvent*>(
25979       &from));
25980 }
25981 
MergeFrom(const Ext4MballocDiscardFtraceEvent & from)25982 void Ext4MballocDiscardFtraceEvent::MergeFrom(const Ext4MballocDiscardFtraceEvent& from) {
25983   Ext4MballocDiscardFtraceEvent* const _this = this;
25984   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.Ext4MballocDiscardFtraceEvent)
25985   GOOGLE_DCHECK_NE(&from, _this);
25986   ::uint32_t cached_has_bits = 0;
25987   (void) cached_has_bits;
25988 
25989   cached_has_bits = from._impl_._has_bits_[0];
25990   if (cached_has_bits & 0x0000001fu) {
25991     if (cached_has_bits & 0x00000001u) {
25992       _this->_impl_.dev_ = from._impl_.dev_;
25993     }
25994     if (cached_has_bits & 0x00000002u) {
25995       _this->_impl_.ino_ = from._impl_.ino_;
25996     }
25997     if (cached_has_bits & 0x00000004u) {
25998       _this->_impl_.result_start_ = from._impl_.result_start_;
25999     }
26000     if (cached_has_bits & 0x00000008u) {
26001       _this->_impl_.result_group_ = from._impl_.result_group_;
26002     }
26003     if (cached_has_bits & 0x00000010u) {
26004       _this->_impl_.result_len_ = from._impl_.result_len_;
26005     }
26006     _this->_impl_._has_bits_[0] |= cached_has_bits;
26007   }
26008   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
26009 }
26010 
CopyFrom(const Ext4MballocDiscardFtraceEvent & from)26011 void Ext4MballocDiscardFtraceEvent::CopyFrom(const Ext4MballocDiscardFtraceEvent& from) {
26012 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.Ext4MballocDiscardFtraceEvent)
26013   if (&from == this) return;
26014   Clear();
26015   MergeFrom(from);
26016 }
26017 
IsInitialized() const26018 bool Ext4MballocDiscardFtraceEvent::IsInitialized() const {
26019   return true;
26020 }
26021 
InternalSwap(Ext4MballocDiscardFtraceEvent * other)26022 void Ext4MballocDiscardFtraceEvent::InternalSwap(Ext4MballocDiscardFtraceEvent* other) {
26023   using std::swap;
26024   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
26025   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
26026   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
26027       PROTOBUF_FIELD_OFFSET(Ext4MballocDiscardFtraceEvent, _impl_.result_len_)
26028       + sizeof(Ext4MballocDiscardFtraceEvent::_impl_.result_len_)  // NOLINT
26029       - PROTOBUF_FIELD_OFFSET(Ext4MballocDiscardFtraceEvent, _impl_.dev_)>(
26030           reinterpret_cast<char*>(&_impl_.dev_),
26031           reinterpret_cast<char*>(&other->_impl_.dev_));
26032 }
26033 
GetTypeName() const26034 std::string Ext4MballocDiscardFtraceEvent::GetTypeName() const {
26035   return "perfetto.protos.Ext4MballocDiscardFtraceEvent";
26036 }
26037 
26038 
26039 // ===================================================================
26040 
26041 class Ext4MballocFreeFtraceEvent::_Internal {
26042  public:
26043   using HasBits = decltype(std::declval<Ext4MballocFreeFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)26044   static void set_has_dev(HasBits* has_bits) {
26045     (*has_bits)[0] |= 1u;
26046   }
set_has_ino(HasBits * has_bits)26047   static void set_has_ino(HasBits* has_bits) {
26048     (*has_bits)[0] |= 2u;
26049   }
set_has_result_start(HasBits * has_bits)26050   static void set_has_result_start(HasBits* has_bits) {
26051     (*has_bits)[0] |= 4u;
26052   }
set_has_result_group(HasBits * has_bits)26053   static void set_has_result_group(HasBits* has_bits) {
26054     (*has_bits)[0] |= 8u;
26055   }
set_has_result_len(HasBits * has_bits)26056   static void set_has_result_len(HasBits* has_bits) {
26057     (*has_bits)[0] |= 16u;
26058   }
26059 };
26060 
Ext4MballocFreeFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)26061 Ext4MballocFreeFtraceEvent::Ext4MballocFreeFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
26062                          bool is_message_owned)
26063   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
26064   SharedCtor(arena, is_message_owned);
26065   // @@protoc_insertion_point(arena_constructor:perfetto.protos.Ext4MballocFreeFtraceEvent)
26066 }
Ext4MballocFreeFtraceEvent(const Ext4MballocFreeFtraceEvent & from)26067 Ext4MballocFreeFtraceEvent::Ext4MballocFreeFtraceEvent(const Ext4MballocFreeFtraceEvent& from)
26068   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
26069   Ext4MballocFreeFtraceEvent* const _this = this; (void)_this;
26070   new (&_impl_) Impl_{
26071       decltype(_impl_._has_bits_){from._impl_._has_bits_}
26072     , /*decltype(_impl_._cached_size_)*/{}
26073     , decltype(_impl_.dev_){}
26074     , decltype(_impl_.ino_){}
26075     , decltype(_impl_.result_start_){}
26076     , decltype(_impl_.result_group_){}
26077     , decltype(_impl_.result_len_){}};
26078 
26079   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
26080   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
26081     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.result_len_) -
26082     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.result_len_));
26083   // @@protoc_insertion_point(copy_constructor:perfetto.protos.Ext4MballocFreeFtraceEvent)
26084 }
26085 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)26086 inline void Ext4MballocFreeFtraceEvent::SharedCtor(
26087     ::_pb::Arena* arena, bool is_message_owned) {
26088   (void)arena;
26089   (void)is_message_owned;
26090   new (&_impl_) Impl_{
26091       decltype(_impl_._has_bits_){}
26092     , /*decltype(_impl_._cached_size_)*/{}
26093     , decltype(_impl_.dev_){::uint64_t{0u}}
26094     , decltype(_impl_.ino_){::uint64_t{0u}}
26095     , decltype(_impl_.result_start_){0}
26096     , decltype(_impl_.result_group_){0u}
26097     , decltype(_impl_.result_len_){0}
26098   };
26099 }
26100 
~Ext4MballocFreeFtraceEvent()26101 Ext4MballocFreeFtraceEvent::~Ext4MballocFreeFtraceEvent() {
26102   // @@protoc_insertion_point(destructor:perfetto.protos.Ext4MballocFreeFtraceEvent)
26103   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
26104   (void)arena;
26105     return;
26106   }
26107   SharedDtor();
26108 }
26109 
SharedDtor()26110 inline void Ext4MballocFreeFtraceEvent::SharedDtor() {
26111   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
26112 }
26113 
SetCachedSize(int size) const26114 void Ext4MballocFreeFtraceEvent::SetCachedSize(int size) const {
26115   _impl_._cached_size_.Set(size);
26116 }
26117 
Clear()26118 void Ext4MballocFreeFtraceEvent::Clear() {
26119 // @@protoc_insertion_point(message_clear_start:perfetto.protos.Ext4MballocFreeFtraceEvent)
26120   ::uint32_t cached_has_bits = 0;
26121   // Prevent compiler warnings about cached_has_bits being unused
26122   (void) cached_has_bits;
26123 
26124   cached_has_bits = _impl_._has_bits_[0];
26125   if (cached_has_bits & 0x0000001fu) {
26126     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
26127         reinterpret_cast<char*>(&_impl_.result_len_) -
26128         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.result_len_));
26129   }
26130   _impl_._has_bits_.Clear();
26131   _internal_metadata_.Clear<std::string>();
26132 }
26133 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)26134 const char* Ext4MballocFreeFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
26135 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
26136   _Internal::HasBits has_bits{};
26137   while (!ctx->Done(&ptr)) {
26138     ::uint32_t tag;
26139     ptr = ::_pbi::ReadTag(ptr, &tag);
26140     switch (tag >> 3) {
26141       // optional uint64 dev = 1;
26142       case 1:
26143         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
26144           _Internal::set_has_dev(&has_bits);
26145           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
26146           CHK_(ptr);
26147         } else {
26148           goto handle_unusual;
26149         }
26150         continue;
26151       // optional uint64 ino = 2;
26152       case 2:
26153         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
26154           _Internal::set_has_ino(&has_bits);
26155           _impl_.ino_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
26156           CHK_(ptr);
26157         } else {
26158           goto handle_unusual;
26159         }
26160         continue;
26161       // optional int32 result_start = 3;
26162       case 3:
26163         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
26164           _Internal::set_has_result_start(&has_bits);
26165           _impl_.result_start_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
26166           CHK_(ptr);
26167         } else {
26168           goto handle_unusual;
26169         }
26170         continue;
26171       // optional uint32 result_group = 4;
26172       case 4:
26173         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
26174           _Internal::set_has_result_group(&has_bits);
26175           _impl_.result_group_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
26176           CHK_(ptr);
26177         } else {
26178           goto handle_unusual;
26179         }
26180         continue;
26181       // optional int32 result_len = 5;
26182       case 5:
26183         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) {
26184           _Internal::set_has_result_len(&has_bits);
26185           _impl_.result_len_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
26186           CHK_(ptr);
26187         } else {
26188           goto handle_unusual;
26189         }
26190         continue;
26191       default:
26192         goto handle_unusual;
26193     }  // switch
26194   handle_unusual:
26195     if ((tag == 0) || ((tag & 7) == 4)) {
26196       CHK_(ptr);
26197       ctx->SetLastTag(tag);
26198       goto message_done;
26199     }
26200     ptr = UnknownFieldParse(
26201         tag,
26202         _internal_metadata_.mutable_unknown_fields<std::string>(),
26203         ptr, ctx);
26204     CHK_(ptr != nullptr);
26205   }  // while
26206 message_done:
26207   _impl_._has_bits_.Or(has_bits);
26208   return ptr;
26209 failure:
26210   ptr = nullptr;
26211   goto message_done;
26212 #undef CHK_
26213 }
26214 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const26215 ::uint8_t* Ext4MballocFreeFtraceEvent::_InternalSerialize(
26216     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
26217   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.Ext4MballocFreeFtraceEvent)
26218   ::uint32_t cached_has_bits = 0;
26219   (void) cached_has_bits;
26220 
26221   cached_has_bits = _impl_._has_bits_[0];
26222   // optional uint64 dev = 1;
26223   if (cached_has_bits & 0x00000001u) {
26224     target = stream->EnsureSpace(target);
26225     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
26226   }
26227 
26228   // optional uint64 ino = 2;
26229   if (cached_has_bits & 0x00000002u) {
26230     target = stream->EnsureSpace(target);
26231     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_ino(), target);
26232   }
26233 
26234   // optional int32 result_start = 3;
26235   if (cached_has_bits & 0x00000004u) {
26236     target = stream->EnsureSpace(target);
26237     target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_result_start(), target);
26238   }
26239 
26240   // optional uint32 result_group = 4;
26241   if (cached_has_bits & 0x00000008u) {
26242     target = stream->EnsureSpace(target);
26243     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_result_group(), target);
26244   }
26245 
26246   // optional int32 result_len = 5;
26247   if (cached_has_bits & 0x00000010u) {
26248     target = stream->EnsureSpace(target);
26249     target = ::_pbi::WireFormatLite::WriteInt32ToArray(5, this->_internal_result_len(), target);
26250   }
26251 
26252   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
26253     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
26254         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
26255   }
26256   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.Ext4MballocFreeFtraceEvent)
26257   return target;
26258 }
26259 
ByteSizeLong() const26260 size_t Ext4MballocFreeFtraceEvent::ByteSizeLong() const {
26261 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.Ext4MballocFreeFtraceEvent)
26262   size_t total_size = 0;
26263 
26264   ::uint32_t cached_has_bits = 0;
26265   // Prevent compiler warnings about cached_has_bits being unused
26266   (void) cached_has_bits;
26267 
26268   cached_has_bits = _impl_._has_bits_[0];
26269   if (cached_has_bits & 0x0000001fu) {
26270     // optional uint64 dev = 1;
26271     if (cached_has_bits & 0x00000001u) {
26272       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
26273     }
26274 
26275     // optional uint64 ino = 2;
26276     if (cached_has_bits & 0x00000002u) {
26277       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ino());
26278     }
26279 
26280     // optional int32 result_start = 3;
26281     if (cached_has_bits & 0x00000004u) {
26282       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_result_start());
26283     }
26284 
26285     // optional uint32 result_group = 4;
26286     if (cached_has_bits & 0x00000008u) {
26287       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_result_group());
26288     }
26289 
26290     // optional int32 result_len = 5;
26291     if (cached_has_bits & 0x00000010u) {
26292       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_result_len());
26293     }
26294 
26295   }
26296   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
26297     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
26298   }
26299   int cached_size = ::_pbi::ToCachedSize(total_size);
26300   SetCachedSize(cached_size);
26301   return total_size;
26302 }
26303 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)26304 void Ext4MballocFreeFtraceEvent::CheckTypeAndMergeFrom(
26305     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
26306   MergeFrom(*::_pbi::DownCast<const Ext4MballocFreeFtraceEvent*>(
26307       &from));
26308 }
26309 
MergeFrom(const Ext4MballocFreeFtraceEvent & from)26310 void Ext4MballocFreeFtraceEvent::MergeFrom(const Ext4MballocFreeFtraceEvent& from) {
26311   Ext4MballocFreeFtraceEvent* const _this = this;
26312   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.Ext4MballocFreeFtraceEvent)
26313   GOOGLE_DCHECK_NE(&from, _this);
26314   ::uint32_t cached_has_bits = 0;
26315   (void) cached_has_bits;
26316 
26317   cached_has_bits = from._impl_._has_bits_[0];
26318   if (cached_has_bits & 0x0000001fu) {
26319     if (cached_has_bits & 0x00000001u) {
26320       _this->_impl_.dev_ = from._impl_.dev_;
26321     }
26322     if (cached_has_bits & 0x00000002u) {
26323       _this->_impl_.ino_ = from._impl_.ino_;
26324     }
26325     if (cached_has_bits & 0x00000004u) {
26326       _this->_impl_.result_start_ = from._impl_.result_start_;
26327     }
26328     if (cached_has_bits & 0x00000008u) {
26329       _this->_impl_.result_group_ = from._impl_.result_group_;
26330     }
26331     if (cached_has_bits & 0x00000010u) {
26332       _this->_impl_.result_len_ = from._impl_.result_len_;
26333     }
26334     _this->_impl_._has_bits_[0] |= cached_has_bits;
26335   }
26336   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
26337 }
26338 
CopyFrom(const Ext4MballocFreeFtraceEvent & from)26339 void Ext4MballocFreeFtraceEvent::CopyFrom(const Ext4MballocFreeFtraceEvent& from) {
26340 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.Ext4MballocFreeFtraceEvent)
26341   if (&from == this) return;
26342   Clear();
26343   MergeFrom(from);
26344 }
26345 
IsInitialized() const26346 bool Ext4MballocFreeFtraceEvent::IsInitialized() const {
26347   return true;
26348 }
26349 
InternalSwap(Ext4MballocFreeFtraceEvent * other)26350 void Ext4MballocFreeFtraceEvent::InternalSwap(Ext4MballocFreeFtraceEvent* other) {
26351   using std::swap;
26352   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
26353   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
26354   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
26355       PROTOBUF_FIELD_OFFSET(Ext4MballocFreeFtraceEvent, _impl_.result_len_)
26356       + sizeof(Ext4MballocFreeFtraceEvent::_impl_.result_len_)  // NOLINT
26357       - PROTOBUF_FIELD_OFFSET(Ext4MballocFreeFtraceEvent, _impl_.dev_)>(
26358           reinterpret_cast<char*>(&_impl_.dev_),
26359           reinterpret_cast<char*>(&other->_impl_.dev_));
26360 }
26361 
GetTypeName() const26362 std::string Ext4MballocFreeFtraceEvent::GetTypeName() const {
26363   return "perfetto.protos.Ext4MballocFreeFtraceEvent";
26364 }
26365 
26366 
26367 // ===================================================================
26368 
26369 class Ext4MballocPreallocFtraceEvent::_Internal {
26370  public:
26371   using HasBits = decltype(std::declval<Ext4MballocPreallocFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)26372   static void set_has_dev(HasBits* has_bits) {
26373     (*has_bits)[0] |= 1u;
26374   }
set_has_ino(HasBits * has_bits)26375   static void set_has_ino(HasBits* has_bits) {
26376     (*has_bits)[0] |= 2u;
26377   }
set_has_orig_logical(HasBits * has_bits)26378   static void set_has_orig_logical(HasBits* has_bits) {
26379     (*has_bits)[0] |= 4u;
26380   }
set_has_orig_start(HasBits * has_bits)26381   static void set_has_orig_start(HasBits* has_bits) {
26382     (*has_bits)[0] |= 8u;
26383   }
set_has_orig_group(HasBits * has_bits)26384   static void set_has_orig_group(HasBits* has_bits) {
26385     (*has_bits)[0] |= 16u;
26386   }
set_has_orig_len(HasBits * has_bits)26387   static void set_has_orig_len(HasBits* has_bits) {
26388     (*has_bits)[0] |= 32u;
26389   }
set_has_result_logical(HasBits * has_bits)26390   static void set_has_result_logical(HasBits* has_bits) {
26391     (*has_bits)[0] |= 64u;
26392   }
set_has_result_start(HasBits * has_bits)26393   static void set_has_result_start(HasBits* has_bits) {
26394     (*has_bits)[0] |= 128u;
26395   }
set_has_result_group(HasBits * has_bits)26396   static void set_has_result_group(HasBits* has_bits) {
26397     (*has_bits)[0] |= 256u;
26398   }
set_has_result_len(HasBits * has_bits)26399   static void set_has_result_len(HasBits* has_bits) {
26400     (*has_bits)[0] |= 512u;
26401   }
26402 };
26403 
Ext4MballocPreallocFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)26404 Ext4MballocPreallocFtraceEvent::Ext4MballocPreallocFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
26405                          bool is_message_owned)
26406   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
26407   SharedCtor(arena, is_message_owned);
26408   // @@protoc_insertion_point(arena_constructor:perfetto.protos.Ext4MballocPreallocFtraceEvent)
26409 }
Ext4MballocPreallocFtraceEvent(const Ext4MballocPreallocFtraceEvent & from)26410 Ext4MballocPreallocFtraceEvent::Ext4MballocPreallocFtraceEvent(const Ext4MballocPreallocFtraceEvent& from)
26411   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
26412   Ext4MballocPreallocFtraceEvent* const _this = this; (void)_this;
26413   new (&_impl_) Impl_{
26414       decltype(_impl_._has_bits_){from._impl_._has_bits_}
26415     , /*decltype(_impl_._cached_size_)*/{}
26416     , decltype(_impl_.dev_){}
26417     , decltype(_impl_.ino_){}
26418     , decltype(_impl_.orig_logical_){}
26419     , decltype(_impl_.orig_start_){}
26420     , decltype(_impl_.orig_group_){}
26421     , decltype(_impl_.orig_len_){}
26422     , decltype(_impl_.result_logical_){}
26423     , decltype(_impl_.result_start_){}
26424     , decltype(_impl_.result_group_){}
26425     , decltype(_impl_.result_len_){}};
26426 
26427   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
26428   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
26429     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.result_len_) -
26430     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.result_len_));
26431   // @@protoc_insertion_point(copy_constructor:perfetto.protos.Ext4MballocPreallocFtraceEvent)
26432 }
26433 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)26434 inline void Ext4MballocPreallocFtraceEvent::SharedCtor(
26435     ::_pb::Arena* arena, bool is_message_owned) {
26436   (void)arena;
26437   (void)is_message_owned;
26438   new (&_impl_) Impl_{
26439       decltype(_impl_._has_bits_){}
26440     , /*decltype(_impl_._cached_size_)*/{}
26441     , decltype(_impl_.dev_){::uint64_t{0u}}
26442     , decltype(_impl_.ino_){::uint64_t{0u}}
26443     , decltype(_impl_.orig_logical_){0u}
26444     , decltype(_impl_.orig_start_){0}
26445     , decltype(_impl_.orig_group_){0u}
26446     , decltype(_impl_.orig_len_){0}
26447     , decltype(_impl_.result_logical_){0u}
26448     , decltype(_impl_.result_start_){0}
26449     , decltype(_impl_.result_group_){0u}
26450     , decltype(_impl_.result_len_){0}
26451   };
26452 }
26453 
~Ext4MballocPreallocFtraceEvent()26454 Ext4MballocPreallocFtraceEvent::~Ext4MballocPreallocFtraceEvent() {
26455   // @@protoc_insertion_point(destructor:perfetto.protos.Ext4MballocPreallocFtraceEvent)
26456   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
26457   (void)arena;
26458     return;
26459   }
26460   SharedDtor();
26461 }
26462 
SharedDtor()26463 inline void Ext4MballocPreallocFtraceEvent::SharedDtor() {
26464   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
26465 }
26466 
SetCachedSize(int size) const26467 void Ext4MballocPreallocFtraceEvent::SetCachedSize(int size) const {
26468   _impl_._cached_size_.Set(size);
26469 }
26470 
Clear()26471 void Ext4MballocPreallocFtraceEvent::Clear() {
26472 // @@protoc_insertion_point(message_clear_start:perfetto.protos.Ext4MballocPreallocFtraceEvent)
26473   ::uint32_t cached_has_bits = 0;
26474   // Prevent compiler warnings about cached_has_bits being unused
26475   (void) cached_has_bits;
26476 
26477   cached_has_bits = _impl_._has_bits_[0];
26478   if (cached_has_bits & 0x000000ffu) {
26479     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
26480         reinterpret_cast<char*>(&_impl_.result_start_) -
26481         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.result_start_));
26482   }
26483   if (cached_has_bits & 0x00000300u) {
26484     ::memset(&_impl_.result_group_, 0, static_cast<size_t>(
26485         reinterpret_cast<char*>(&_impl_.result_len_) -
26486         reinterpret_cast<char*>(&_impl_.result_group_)) + sizeof(_impl_.result_len_));
26487   }
26488   _impl_._has_bits_.Clear();
26489   _internal_metadata_.Clear<std::string>();
26490 }
26491 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)26492 const char* Ext4MballocPreallocFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
26493 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
26494   _Internal::HasBits has_bits{};
26495   while (!ctx->Done(&ptr)) {
26496     ::uint32_t tag;
26497     ptr = ::_pbi::ReadTag(ptr, &tag);
26498     switch (tag >> 3) {
26499       // optional uint64 dev = 1;
26500       case 1:
26501         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
26502           _Internal::set_has_dev(&has_bits);
26503           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
26504           CHK_(ptr);
26505         } else {
26506           goto handle_unusual;
26507         }
26508         continue;
26509       // optional uint64 ino = 2;
26510       case 2:
26511         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
26512           _Internal::set_has_ino(&has_bits);
26513           _impl_.ino_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
26514           CHK_(ptr);
26515         } else {
26516           goto handle_unusual;
26517         }
26518         continue;
26519       // optional uint32 orig_logical = 3;
26520       case 3:
26521         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
26522           _Internal::set_has_orig_logical(&has_bits);
26523           _impl_.orig_logical_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
26524           CHK_(ptr);
26525         } else {
26526           goto handle_unusual;
26527         }
26528         continue;
26529       // optional int32 orig_start = 4;
26530       case 4:
26531         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
26532           _Internal::set_has_orig_start(&has_bits);
26533           _impl_.orig_start_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
26534           CHK_(ptr);
26535         } else {
26536           goto handle_unusual;
26537         }
26538         continue;
26539       // optional uint32 orig_group = 5;
26540       case 5:
26541         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) {
26542           _Internal::set_has_orig_group(&has_bits);
26543           _impl_.orig_group_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
26544           CHK_(ptr);
26545         } else {
26546           goto handle_unusual;
26547         }
26548         continue;
26549       // optional int32 orig_len = 6;
26550       case 6:
26551         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 48)) {
26552           _Internal::set_has_orig_len(&has_bits);
26553           _impl_.orig_len_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
26554           CHK_(ptr);
26555         } else {
26556           goto handle_unusual;
26557         }
26558         continue;
26559       // optional uint32 result_logical = 7;
26560       case 7:
26561         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 56)) {
26562           _Internal::set_has_result_logical(&has_bits);
26563           _impl_.result_logical_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
26564           CHK_(ptr);
26565         } else {
26566           goto handle_unusual;
26567         }
26568         continue;
26569       // optional int32 result_start = 8;
26570       case 8:
26571         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 64)) {
26572           _Internal::set_has_result_start(&has_bits);
26573           _impl_.result_start_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
26574           CHK_(ptr);
26575         } else {
26576           goto handle_unusual;
26577         }
26578         continue;
26579       // optional uint32 result_group = 9;
26580       case 9:
26581         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 72)) {
26582           _Internal::set_has_result_group(&has_bits);
26583           _impl_.result_group_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
26584           CHK_(ptr);
26585         } else {
26586           goto handle_unusual;
26587         }
26588         continue;
26589       // optional int32 result_len = 10;
26590       case 10:
26591         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 80)) {
26592           _Internal::set_has_result_len(&has_bits);
26593           _impl_.result_len_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
26594           CHK_(ptr);
26595         } else {
26596           goto handle_unusual;
26597         }
26598         continue;
26599       default:
26600         goto handle_unusual;
26601     }  // switch
26602   handle_unusual:
26603     if ((tag == 0) || ((tag & 7) == 4)) {
26604       CHK_(ptr);
26605       ctx->SetLastTag(tag);
26606       goto message_done;
26607     }
26608     ptr = UnknownFieldParse(
26609         tag,
26610         _internal_metadata_.mutable_unknown_fields<std::string>(),
26611         ptr, ctx);
26612     CHK_(ptr != nullptr);
26613   }  // while
26614 message_done:
26615   _impl_._has_bits_.Or(has_bits);
26616   return ptr;
26617 failure:
26618   ptr = nullptr;
26619   goto message_done;
26620 #undef CHK_
26621 }
26622 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const26623 ::uint8_t* Ext4MballocPreallocFtraceEvent::_InternalSerialize(
26624     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
26625   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.Ext4MballocPreallocFtraceEvent)
26626   ::uint32_t cached_has_bits = 0;
26627   (void) cached_has_bits;
26628 
26629   cached_has_bits = _impl_._has_bits_[0];
26630   // optional uint64 dev = 1;
26631   if (cached_has_bits & 0x00000001u) {
26632     target = stream->EnsureSpace(target);
26633     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
26634   }
26635 
26636   // optional uint64 ino = 2;
26637   if (cached_has_bits & 0x00000002u) {
26638     target = stream->EnsureSpace(target);
26639     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_ino(), target);
26640   }
26641 
26642   // optional uint32 orig_logical = 3;
26643   if (cached_has_bits & 0x00000004u) {
26644     target = stream->EnsureSpace(target);
26645     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_orig_logical(), target);
26646   }
26647 
26648   // optional int32 orig_start = 4;
26649   if (cached_has_bits & 0x00000008u) {
26650     target = stream->EnsureSpace(target);
26651     target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_orig_start(), target);
26652   }
26653 
26654   // optional uint32 orig_group = 5;
26655   if (cached_has_bits & 0x00000010u) {
26656     target = stream->EnsureSpace(target);
26657     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_orig_group(), target);
26658   }
26659 
26660   // optional int32 orig_len = 6;
26661   if (cached_has_bits & 0x00000020u) {
26662     target = stream->EnsureSpace(target);
26663     target = ::_pbi::WireFormatLite::WriteInt32ToArray(6, this->_internal_orig_len(), target);
26664   }
26665 
26666   // optional uint32 result_logical = 7;
26667   if (cached_has_bits & 0x00000040u) {
26668     target = stream->EnsureSpace(target);
26669     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(7, this->_internal_result_logical(), target);
26670   }
26671 
26672   // optional int32 result_start = 8;
26673   if (cached_has_bits & 0x00000080u) {
26674     target = stream->EnsureSpace(target);
26675     target = ::_pbi::WireFormatLite::WriteInt32ToArray(8, this->_internal_result_start(), target);
26676   }
26677 
26678   // optional uint32 result_group = 9;
26679   if (cached_has_bits & 0x00000100u) {
26680     target = stream->EnsureSpace(target);
26681     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(9, this->_internal_result_group(), target);
26682   }
26683 
26684   // optional int32 result_len = 10;
26685   if (cached_has_bits & 0x00000200u) {
26686     target = stream->EnsureSpace(target);
26687     target = ::_pbi::WireFormatLite::WriteInt32ToArray(10, this->_internal_result_len(), target);
26688   }
26689 
26690   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
26691     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
26692         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
26693   }
26694   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.Ext4MballocPreallocFtraceEvent)
26695   return target;
26696 }
26697 
ByteSizeLong() const26698 size_t Ext4MballocPreallocFtraceEvent::ByteSizeLong() const {
26699 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.Ext4MballocPreallocFtraceEvent)
26700   size_t total_size = 0;
26701 
26702   ::uint32_t cached_has_bits = 0;
26703   // Prevent compiler warnings about cached_has_bits being unused
26704   (void) cached_has_bits;
26705 
26706   cached_has_bits = _impl_._has_bits_[0];
26707   if (cached_has_bits & 0x000000ffu) {
26708     // optional uint64 dev = 1;
26709     if (cached_has_bits & 0x00000001u) {
26710       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
26711     }
26712 
26713     // optional uint64 ino = 2;
26714     if (cached_has_bits & 0x00000002u) {
26715       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ino());
26716     }
26717 
26718     // optional uint32 orig_logical = 3;
26719     if (cached_has_bits & 0x00000004u) {
26720       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_orig_logical());
26721     }
26722 
26723     // optional int32 orig_start = 4;
26724     if (cached_has_bits & 0x00000008u) {
26725       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_orig_start());
26726     }
26727 
26728     // optional uint32 orig_group = 5;
26729     if (cached_has_bits & 0x00000010u) {
26730       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_orig_group());
26731     }
26732 
26733     // optional int32 orig_len = 6;
26734     if (cached_has_bits & 0x00000020u) {
26735       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_orig_len());
26736     }
26737 
26738     // optional uint32 result_logical = 7;
26739     if (cached_has_bits & 0x00000040u) {
26740       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_result_logical());
26741     }
26742 
26743     // optional int32 result_start = 8;
26744     if (cached_has_bits & 0x00000080u) {
26745       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_result_start());
26746     }
26747 
26748   }
26749   if (cached_has_bits & 0x00000300u) {
26750     // optional uint32 result_group = 9;
26751     if (cached_has_bits & 0x00000100u) {
26752       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_result_group());
26753     }
26754 
26755     // optional int32 result_len = 10;
26756     if (cached_has_bits & 0x00000200u) {
26757       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_result_len());
26758     }
26759 
26760   }
26761   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
26762     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
26763   }
26764   int cached_size = ::_pbi::ToCachedSize(total_size);
26765   SetCachedSize(cached_size);
26766   return total_size;
26767 }
26768 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)26769 void Ext4MballocPreallocFtraceEvent::CheckTypeAndMergeFrom(
26770     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
26771   MergeFrom(*::_pbi::DownCast<const Ext4MballocPreallocFtraceEvent*>(
26772       &from));
26773 }
26774 
MergeFrom(const Ext4MballocPreallocFtraceEvent & from)26775 void Ext4MballocPreallocFtraceEvent::MergeFrom(const Ext4MballocPreallocFtraceEvent& from) {
26776   Ext4MballocPreallocFtraceEvent* const _this = this;
26777   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.Ext4MballocPreallocFtraceEvent)
26778   GOOGLE_DCHECK_NE(&from, _this);
26779   ::uint32_t cached_has_bits = 0;
26780   (void) cached_has_bits;
26781 
26782   cached_has_bits = from._impl_._has_bits_[0];
26783   if (cached_has_bits & 0x000000ffu) {
26784     if (cached_has_bits & 0x00000001u) {
26785       _this->_impl_.dev_ = from._impl_.dev_;
26786     }
26787     if (cached_has_bits & 0x00000002u) {
26788       _this->_impl_.ino_ = from._impl_.ino_;
26789     }
26790     if (cached_has_bits & 0x00000004u) {
26791       _this->_impl_.orig_logical_ = from._impl_.orig_logical_;
26792     }
26793     if (cached_has_bits & 0x00000008u) {
26794       _this->_impl_.orig_start_ = from._impl_.orig_start_;
26795     }
26796     if (cached_has_bits & 0x00000010u) {
26797       _this->_impl_.orig_group_ = from._impl_.orig_group_;
26798     }
26799     if (cached_has_bits & 0x00000020u) {
26800       _this->_impl_.orig_len_ = from._impl_.orig_len_;
26801     }
26802     if (cached_has_bits & 0x00000040u) {
26803       _this->_impl_.result_logical_ = from._impl_.result_logical_;
26804     }
26805     if (cached_has_bits & 0x00000080u) {
26806       _this->_impl_.result_start_ = from._impl_.result_start_;
26807     }
26808     _this->_impl_._has_bits_[0] |= cached_has_bits;
26809   }
26810   if (cached_has_bits & 0x00000300u) {
26811     if (cached_has_bits & 0x00000100u) {
26812       _this->_impl_.result_group_ = from._impl_.result_group_;
26813     }
26814     if (cached_has_bits & 0x00000200u) {
26815       _this->_impl_.result_len_ = from._impl_.result_len_;
26816     }
26817     _this->_impl_._has_bits_[0] |= cached_has_bits;
26818   }
26819   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
26820 }
26821 
CopyFrom(const Ext4MballocPreallocFtraceEvent & from)26822 void Ext4MballocPreallocFtraceEvent::CopyFrom(const Ext4MballocPreallocFtraceEvent& from) {
26823 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.Ext4MballocPreallocFtraceEvent)
26824   if (&from == this) return;
26825   Clear();
26826   MergeFrom(from);
26827 }
26828 
IsInitialized() const26829 bool Ext4MballocPreallocFtraceEvent::IsInitialized() const {
26830   return true;
26831 }
26832 
InternalSwap(Ext4MballocPreallocFtraceEvent * other)26833 void Ext4MballocPreallocFtraceEvent::InternalSwap(Ext4MballocPreallocFtraceEvent* other) {
26834   using std::swap;
26835   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
26836   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
26837   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
26838       PROTOBUF_FIELD_OFFSET(Ext4MballocPreallocFtraceEvent, _impl_.result_len_)
26839       + sizeof(Ext4MballocPreallocFtraceEvent::_impl_.result_len_)  // NOLINT
26840       - PROTOBUF_FIELD_OFFSET(Ext4MballocPreallocFtraceEvent, _impl_.dev_)>(
26841           reinterpret_cast<char*>(&_impl_.dev_),
26842           reinterpret_cast<char*>(&other->_impl_.dev_));
26843 }
26844 
GetTypeName() const26845 std::string Ext4MballocPreallocFtraceEvent::GetTypeName() const {
26846   return "perfetto.protos.Ext4MballocPreallocFtraceEvent";
26847 }
26848 
26849 
26850 // ===================================================================
26851 
26852 class Ext4OtherInodeUpdateTimeFtraceEvent::_Internal {
26853  public:
26854   using HasBits = decltype(std::declval<Ext4OtherInodeUpdateTimeFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)26855   static void set_has_dev(HasBits* has_bits) {
26856     (*has_bits)[0] |= 1u;
26857   }
set_has_ino(HasBits * has_bits)26858   static void set_has_ino(HasBits* has_bits) {
26859     (*has_bits)[0] |= 2u;
26860   }
set_has_orig_ino(HasBits * has_bits)26861   static void set_has_orig_ino(HasBits* has_bits) {
26862     (*has_bits)[0] |= 4u;
26863   }
set_has_uid(HasBits * has_bits)26864   static void set_has_uid(HasBits* has_bits) {
26865     (*has_bits)[0] |= 8u;
26866   }
set_has_gid(HasBits * has_bits)26867   static void set_has_gid(HasBits* has_bits) {
26868     (*has_bits)[0] |= 16u;
26869   }
set_has_mode(HasBits * has_bits)26870   static void set_has_mode(HasBits* has_bits) {
26871     (*has_bits)[0] |= 32u;
26872   }
26873 };
26874 
Ext4OtherInodeUpdateTimeFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)26875 Ext4OtherInodeUpdateTimeFtraceEvent::Ext4OtherInodeUpdateTimeFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
26876                          bool is_message_owned)
26877   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
26878   SharedCtor(arena, is_message_owned);
26879   // @@protoc_insertion_point(arena_constructor:perfetto.protos.Ext4OtherInodeUpdateTimeFtraceEvent)
26880 }
Ext4OtherInodeUpdateTimeFtraceEvent(const Ext4OtherInodeUpdateTimeFtraceEvent & from)26881 Ext4OtherInodeUpdateTimeFtraceEvent::Ext4OtherInodeUpdateTimeFtraceEvent(const Ext4OtherInodeUpdateTimeFtraceEvent& from)
26882   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
26883   Ext4OtherInodeUpdateTimeFtraceEvent* const _this = this; (void)_this;
26884   new (&_impl_) Impl_{
26885       decltype(_impl_._has_bits_){from._impl_._has_bits_}
26886     , /*decltype(_impl_._cached_size_)*/{}
26887     , decltype(_impl_.dev_){}
26888     , decltype(_impl_.ino_){}
26889     , decltype(_impl_.orig_ino_){}
26890     , decltype(_impl_.uid_){}
26891     , decltype(_impl_.gid_){}
26892     , decltype(_impl_.mode_){}};
26893 
26894   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
26895   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
26896     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.mode_) -
26897     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.mode_));
26898   // @@protoc_insertion_point(copy_constructor:perfetto.protos.Ext4OtherInodeUpdateTimeFtraceEvent)
26899 }
26900 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)26901 inline void Ext4OtherInodeUpdateTimeFtraceEvent::SharedCtor(
26902     ::_pb::Arena* arena, bool is_message_owned) {
26903   (void)arena;
26904   (void)is_message_owned;
26905   new (&_impl_) Impl_{
26906       decltype(_impl_._has_bits_){}
26907     , /*decltype(_impl_._cached_size_)*/{}
26908     , decltype(_impl_.dev_){::uint64_t{0u}}
26909     , decltype(_impl_.ino_){::uint64_t{0u}}
26910     , decltype(_impl_.orig_ino_){::uint64_t{0u}}
26911     , decltype(_impl_.uid_){0u}
26912     , decltype(_impl_.gid_){0u}
26913     , decltype(_impl_.mode_){0u}
26914   };
26915 }
26916 
~Ext4OtherInodeUpdateTimeFtraceEvent()26917 Ext4OtherInodeUpdateTimeFtraceEvent::~Ext4OtherInodeUpdateTimeFtraceEvent() {
26918   // @@protoc_insertion_point(destructor:perfetto.protos.Ext4OtherInodeUpdateTimeFtraceEvent)
26919   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
26920   (void)arena;
26921     return;
26922   }
26923   SharedDtor();
26924 }
26925 
SharedDtor()26926 inline void Ext4OtherInodeUpdateTimeFtraceEvent::SharedDtor() {
26927   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
26928 }
26929 
SetCachedSize(int size) const26930 void Ext4OtherInodeUpdateTimeFtraceEvent::SetCachedSize(int size) const {
26931   _impl_._cached_size_.Set(size);
26932 }
26933 
Clear()26934 void Ext4OtherInodeUpdateTimeFtraceEvent::Clear() {
26935 // @@protoc_insertion_point(message_clear_start:perfetto.protos.Ext4OtherInodeUpdateTimeFtraceEvent)
26936   ::uint32_t cached_has_bits = 0;
26937   // Prevent compiler warnings about cached_has_bits being unused
26938   (void) cached_has_bits;
26939 
26940   cached_has_bits = _impl_._has_bits_[0];
26941   if (cached_has_bits & 0x0000003fu) {
26942     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
26943         reinterpret_cast<char*>(&_impl_.mode_) -
26944         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.mode_));
26945   }
26946   _impl_._has_bits_.Clear();
26947   _internal_metadata_.Clear<std::string>();
26948 }
26949 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)26950 const char* Ext4OtherInodeUpdateTimeFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
26951 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
26952   _Internal::HasBits has_bits{};
26953   while (!ctx->Done(&ptr)) {
26954     ::uint32_t tag;
26955     ptr = ::_pbi::ReadTag(ptr, &tag);
26956     switch (tag >> 3) {
26957       // optional uint64 dev = 1;
26958       case 1:
26959         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
26960           _Internal::set_has_dev(&has_bits);
26961           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
26962           CHK_(ptr);
26963         } else {
26964           goto handle_unusual;
26965         }
26966         continue;
26967       // optional uint64 ino = 2;
26968       case 2:
26969         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
26970           _Internal::set_has_ino(&has_bits);
26971           _impl_.ino_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
26972           CHK_(ptr);
26973         } else {
26974           goto handle_unusual;
26975         }
26976         continue;
26977       // optional uint64 orig_ino = 3;
26978       case 3:
26979         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
26980           _Internal::set_has_orig_ino(&has_bits);
26981           _impl_.orig_ino_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
26982           CHK_(ptr);
26983         } else {
26984           goto handle_unusual;
26985         }
26986         continue;
26987       // optional uint32 uid = 4;
26988       case 4:
26989         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
26990           _Internal::set_has_uid(&has_bits);
26991           _impl_.uid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
26992           CHK_(ptr);
26993         } else {
26994           goto handle_unusual;
26995         }
26996         continue;
26997       // optional uint32 gid = 5;
26998       case 5:
26999         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) {
27000           _Internal::set_has_gid(&has_bits);
27001           _impl_.gid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
27002           CHK_(ptr);
27003         } else {
27004           goto handle_unusual;
27005         }
27006         continue;
27007       // optional uint32 mode = 6;
27008       case 6:
27009         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 48)) {
27010           _Internal::set_has_mode(&has_bits);
27011           _impl_.mode_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
27012           CHK_(ptr);
27013         } else {
27014           goto handle_unusual;
27015         }
27016         continue;
27017       default:
27018         goto handle_unusual;
27019     }  // switch
27020   handle_unusual:
27021     if ((tag == 0) || ((tag & 7) == 4)) {
27022       CHK_(ptr);
27023       ctx->SetLastTag(tag);
27024       goto message_done;
27025     }
27026     ptr = UnknownFieldParse(
27027         tag,
27028         _internal_metadata_.mutable_unknown_fields<std::string>(),
27029         ptr, ctx);
27030     CHK_(ptr != nullptr);
27031   }  // while
27032 message_done:
27033   _impl_._has_bits_.Or(has_bits);
27034   return ptr;
27035 failure:
27036   ptr = nullptr;
27037   goto message_done;
27038 #undef CHK_
27039 }
27040 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const27041 ::uint8_t* Ext4OtherInodeUpdateTimeFtraceEvent::_InternalSerialize(
27042     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
27043   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.Ext4OtherInodeUpdateTimeFtraceEvent)
27044   ::uint32_t cached_has_bits = 0;
27045   (void) cached_has_bits;
27046 
27047   cached_has_bits = _impl_._has_bits_[0];
27048   // optional uint64 dev = 1;
27049   if (cached_has_bits & 0x00000001u) {
27050     target = stream->EnsureSpace(target);
27051     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
27052   }
27053 
27054   // optional uint64 ino = 2;
27055   if (cached_has_bits & 0x00000002u) {
27056     target = stream->EnsureSpace(target);
27057     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_ino(), target);
27058   }
27059 
27060   // optional uint64 orig_ino = 3;
27061   if (cached_has_bits & 0x00000004u) {
27062     target = stream->EnsureSpace(target);
27063     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(3, this->_internal_orig_ino(), target);
27064   }
27065 
27066   // optional uint32 uid = 4;
27067   if (cached_has_bits & 0x00000008u) {
27068     target = stream->EnsureSpace(target);
27069     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_uid(), target);
27070   }
27071 
27072   // optional uint32 gid = 5;
27073   if (cached_has_bits & 0x00000010u) {
27074     target = stream->EnsureSpace(target);
27075     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_gid(), target);
27076   }
27077 
27078   // optional uint32 mode = 6;
27079   if (cached_has_bits & 0x00000020u) {
27080     target = stream->EnsureSpace(target);
27081     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_mode(), target);
27082   }
27083 
27084   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
27085     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
27086         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
27087   }
27088   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.Ext4OtherInodeUpdateTimeFtraceEvent)
27089   return target;
27090 }
27091 
ByteSizeLong() const27092 size_t Ext4OtherInodeUpdateTimeFtraceEvent::ByteSizeLong() const {
27093 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.Ext4OtherInodeUpdateTimeFtraceEvent)
27094   size_t total_size = 0;
27095 
27096   ::uint32_t cached_has_bits = 0;
27097   // Prevent compiler warnings about cached_has_bits being unused
27098   (void) cached_has_bits;
27099 
27100   cached_has_bits = _impl_._has_bits_[0];
27101   if (cached_has_bits & 0x0000003fu) {
27102     // optional uint64 dev = 1;
27103     if (cached_has_bits & 0x00000001u) {
27104       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
27105     }
27106 
27107     // optional uint64 ino = 2;
27108     if (cached_has_bits & 0x00000002u) {
27109       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ino());
27110     }
27111 
27112     // optional uint64 orig_ino = 3;
27113     if (cached_has_bits & 0x00000004u) {
27114       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_orig_ino());
27115     }
27116 
27117     // optional uint32 uid = 4;
27118     if (cached_has_bits & 0x00000008u) {
27119       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_uid());
27120     }
27121 
27122     // optional uint32 gid = 5;
27123     if (cached_has_bits & 0x00000010u) {
27124       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_gid());
27125     }
27126 
27127     // optional uint32 mode = 6;
27128     if (cached_has_bits & 0x00000020u) {
27129       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_mode());
27130     }
27131 
27132   }
27133   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
27134     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
27135   }
27136   int cached_size = ::_pbi::ToCachedSize(total_size);
27137   SetCachedSize(cached_size);
27138   return total_size;
27139 }
27140 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)27141 void Ext4OtherInodeUpdateTimeFtraceEvent::CheckTypeAndMergeFrom(
27142     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
27143   MergeFrom(*::_pbi::DownCast<const Ext4OtherInodeUpdateTimeFtraceEvent*>(
27144       &from));
27145 }
27146 
MergeFrom(const Ext4OtherInodeUpdateTimeFtraceEvent & from)27147 void Ext4OtherInodeUpdateTimeFtraceEvent::MergeFrom(const Ext4OtherInodeUpdateTimeFtraceEvent& from) {
27148   Ext4OtherInodeUpdateTimeFtraceEvent* const _this = this;
27149   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.Ext4OtherInodeUpdateTimeFtraceEvent)
27150   GOOGLE_DCHECK_NE(&from, _this);
27151   ::uint32_t cached_has_bits = 0;
27152   (void) cached_has_bits;
27153 
27154   cached_has_bits = from._impl_._has_bits_[0];
27155   if (cached_has_bits & 0x0000003fu) {
27156     if (cached_has_bits & 0x00000001u) {
27157       _this->_impl_.dev_ = from._impl_.dev_;
27158     }
27159     if (cached_has_bits & 0x00000002u) {
27160       _this->_impl_.ino_ = from._impl_.ino_;
27161     }
27162     if (cached_has_bits & 0x00000004u) {
27163       _this->_impl_.orig_ino_ = from._impl_.orig_ino_;
27164     }
27165     if (cached_has_bits & 0x00000008u) {
27166       _this->_impl_.uid_ = from._impl_.uid_;
27167     }
27168     if (cached_has_bits & 0x00000010u) {
27169       _this->_impl_.gid_ = from._impl_.gid_;
27170     }
27171     if (cached_has_bits & 0x00000020u) {
27172       _this->_impl_.mode_ = from._impl_.mode_;
27173     }
27174     _this->_impl_._has_bits_[0] |= cached_has_bits;
27175   }
27176   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
27177 }
27178 
CopyFrom(const Ext4OtherInodeUpdateTimeFtraceEvent & from)27179 void Ext4OtherInodeUpdateTimeFtraceEvent::CopyFrom(const Ext4OtherInodeUpdateTimeFtraceEvent& from) {
27180 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.Ext4OtherInodeUpdateTimeFtraceEvent)
27181   if (&from == this) return;
27182   Clear();
27183   MergeFrom(from);
27184 }
27185 
IsInitialized() const27186 bool Ext4OtherInodeUpdateTimeFtraceEvent::IsInitialized() const {
27187   return true;
27188 }
27189 
InternalSwap(Ext4OtherInodeUpdateTimeFtraceEvent * other)27190 void Ext4OtherInodeUpdateTimeFtraceEvent::InternalSwap(Ext4OtherInodeUpdateTimeFtraceEvent* other) {
27191   using std::swap;
27192   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
27193   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
27194   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
27195       PROTOBUF_FIELD_OFFSET(Ext4OtherInodeUpdateTimeFtraceEvent, _impl_.mode_)
27196       + sizeof(Ext4OtherInodeUpdateTimeFtraceEvent::_impl_.mode_)  // NOLINT
27197       - PROTOBUF_FIELD_OFFSET(Ext4OtherInodeUpdateTimeFtraceEvent, _impl_.dev_)>(
27198           reinterpret_cast<char*>(&_impl_.dev_),
27199           reinterpret_cast<char*>(&other->_impl_.dev_));
27200 }
27201 
GetTypeName() const27202 std::string Ext4OtherInodeUpdateTimeFtraceEvent::GetTypeName() const {
27203   return "perfetto.protos.Ext4OtherInodeUpdateTimeFtraceEvent";
27204 }
27205 
27206 
27207 // ===================================================================
27208 
27209 class Ext4PunchHoleFtraceEvent::_Internal {
27210  public:
27211   using HasBits = decltype(std::declval<Ext4PunchHoleFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)27212   static void set_has_dev(HasBits* has_bits) {
27213     (*has_bits)[0] |= 1u;
27214   }
set_has_ino(HasBits * has_bits)27215   static void set_has_ino(HasBits* has_bits) {
27216     (*has_bits)[0] |= 2u;
27217   }
set_has_offset(HasBits * has_bits)27218   static void set_has_offset(HasBits* has_bits) {
27219     (*has_bits)[0] |= 4u;
27220   }
set_has_len(HasBits * has_bits)27221   static void set_has_len(HasBits* has_bits) {
27222     (*has_bits)[0] |= 8u;
27223   }
set_has_mode(HasBits * has_bits)27224   static void set_has_mode(HasBits* has_bits) {
27225     (*has_bits)[0] |= 16u;
27226   }
27227 };
27228 
Ext4PunchHoleFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)27229 Ext4PunchHoleFtraceEvent::Ext4PunchHoleFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
27230                          bool is_message_owned)
27231   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
27232   SharedCtor(arena, is_message_owned);
27233   // @@protoc_insertion_point(arena_constructor:perfetto.protos.Ext4PunchHoleFtraceEvent)
27234 }
Ext4PunchHoleFtraceEvent(const Ext4PunchHoleFtraceEvent & from)27235 Ext4PunchHoleFtraceEvent::Ext4PunchHoleFtraceEvent(const Ext4PunchHoleFtraceEvent& from)
27236   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
27237   Ext4PunchHoleFtraceEvent* const _this = this; (void)_this;
27238   new (&_impl_) Impl_{
27239       decltype(_impl_._has_bits_){from._impl_._has_bits_}
27240     , /*decltype(_impl_._cached_size_)*/{}
27241     , decltype(_impl_.dev_){}
27242     , decltype(_impl_.ino_){}
27243     , decltype(_impl_.offset_){}
27244     , decltype(_impl_.len_){}
27245     , decltype(_impl_.mode_){}};
27246 
27247   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
27248   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
27249     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.mode_) -
27250     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.mode_));
27251   // @@protoc_insertion_point(copy_constructor:perfetto.protos.Ext4PunchHoleFtraceEvent)
27252 }
27253 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)27254 inline void Ext4PunchHoleFtraceEvent::SharedCtor(
27255     ::_pb::Arena* arena, bool is_message_owned) {
27256   (void)arena;
27257   (void)is_message_owned;
27258   new (&_impl_) Impl_{
27259       decltype(_impl_._has_bits_){}
27260     , /*decltype(_impl_._cached_size_)*/{}
27261     , decltype(_impl_.dev_){::uint64_t{0u}}
27262     , decltype(_impl_.ino_){::uint64_t{0u}}
27263     , decltype(_impl_.offset_){::int64_t{0}}
27264     , decltype(_impl_.len_){::int64_t{0}}
27265     , decltype(_impl_.mode_){0}
27266   };
27267 }
27268 
~Ext4PunchHoleFtraceEvent()27269 Ext4PunchHoleFtraceEvent::~Ext4PunchHoleFtraceEvent() {
27270   // @@protoc_insertion_point(destructor:perfetto.protos.Ext4PunchHoleFtraceEvent)
27271   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
27272   (void)arena;
27273     return;
27274   }
27275   SharedDtor();
27276 }
27277 
SharedDtor()27278 inline void Ext4PunchHoleFtraceEvent::SharedDtor() {
27279   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
27280 }
27281 
SetCachedSize(int size) const27282 void Ext4PunchHoleFtraceEvent::SetCachedSize(int size) const {
27283   _impl_._cached_size_.Set(size);
27284 }
27285 
Clear()27286 void Ext4PunchHoleFtraceEvent::Clear() {
27287 // @@protoc_insertion_point(message_clear_start:perfetto.protos.Ext4PunchHoleFtraceEvent)
27288   ::uint32_t cached_has_bits = 0;
27289   // Prevent compiler warnings about cached_has_bits being unused
27290   (void) cached_has_bits;
27291 
27292   cached_has_bits = _impl_._has_bits_[0];
27293   if (cached_has_bits & 0x0000001fu) {
27294     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
27295         reinterpret_cast<char*>(&_impl_.mode_) -
27296         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.mode_));
27297   }
27298   _impl_._has_bits_.Clear();
27299   _internal_metadata_.Clear<std::string>();
27300 }
27301 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)27302 const char* Ext4PunchHoleFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
27303 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
27304   _Internal::HasBits has_bits{};
27305   while (!ctx->Done(&ptr)) {
27306     ::uint32_t tag;
27307     ptr = ::_pbi::ReadTag(ptr, &tag);
27308     switch (tag >> 3) {
27309       // optional uint64 dev = 1;
27310       case 1:
27311         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
27312           _Internal::set_has_dev(&has_bits);
27313           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
27314           CHK_(ptr);
27315         } else {
27316           goto handle_unusual;
27317         }
27318         continue;
27319       // optional uint64 ino = 2;
27320       case 2:
27321         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
27322           _Internal::set_has_ino(&has_bits);
27323           _impl_.ino_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
27324           CHK_(ptr);
27325         } else {
27326           goto handle_unusual;
27327         }
27328         continue;
27329       // optional int64 offset = 3;
27330       case 3:
27331         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
27332           _Internal::set_has_offset(&has_bits);
27333           _impl_.offset_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
27334           CHK_(ptr);
27335         } else {
27336           goto handle_unusual;
27337         }
27338         continue;
27339       // optional int64 len = 4;
27340       case 4:
27341         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
27342           _Internal::set_has_len(&has_bits);
27343           _impl_.len_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
27344           CHK_(ptr);
27345         } else {
27346           goto handle_unusual;
27347         }
27348         continue;
27349       // optional int32 mode = 5;
27350       case 5:
27351         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) {
27352           _Internal::set_has_mode(&has_bits);
27353           _impl_.mode_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
27354           CHK_(ptr);
27355         } else {
27356           goto handle_unusual;
27357         }
27358         continue;
27359       default:
27360         goto handle_unusual;
27361     }  // switch
27362   handle_unusual:
27363     if ((tag == 0) || ((tag & 7) == 4)) {
27364       CHK_(ptr);
27365       ctx->SetLastTag(tag);
27366       goto message_done;
27367     }
27368     ptr = UnknownFieldParse(
27369         tag,
27370         _internal_metadata_.mutable_unknown_fields<std::string>(),
27371         ptr, ctx);
27372     CHK_(ptr != nullptr);
27373   }  // while
27374 message_done:
27375   _impl_._has_bits_.Or(has_bits);
27376   return ptr;
27377 failure:
27378   ptr = nullptr;
27379   goto message_done;
27380 #undef CHK_
27381 }
27382 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const27383 ::uint8_t* Ext4PunchHoleFtraceEvent::_InternalSerialize(
27384     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
27385   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.Ext4PunchHoleFtraceEvent)
27386   ::uint32_t cached_has_bits = 0;
27387   (void) cached_has_bits;
27388 
27389   cached_has_bits = _impl_._has_bits_[0];
27390   // optional uint64 dev = 1;
27391   if (cached_has_bits & 0x00000001u) {
27392     target = stream->EnsureSpace(target);
27393     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
27394   }
27395 
27396   // optional uint64 ino = 2;
27397   if (cached_has_bits & 0x00000002u) {
27398     target = stream->EnsureSpace(target);
27399     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_ino(), target);
27400   }
27401 
27402   // optional int64 offset = 3;
27403   if (cached_has_bits & 0x00000004u) {
27404     target = stream->EnsureSpace(target);
27405     target = ::_pbi::WireFormatLite::WriteInt64ToArray(3, this->_internal_offset(), target);
27406   }
27407 
27408   // optional int64 len = 4;
27409   if (cached_has_bits & 0x00000008u) {
27410     target = stream->EnsureSpace(target);
27411     target = ::_pbi::WireFormatLite::WriteInt64ToArray(4, this->_internal_len(), target);
27412   }
27413 
27414   // optional int32 mode = 5;
27415   if (cached_has_bits & 0x00000010u) {
27416     target = stream->EnsureSpace(target);
27417     target = ::_pbi::WireFormatLite::WriteInt32ToArray(5, this->_internal_mode(), target);
27418   }
27419 
27420   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
27421     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
27422         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
27423   }
27424   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.Ext4PunchHoleFtraceEvent)
27425   return target;
27426 }
27427 
ByteSizeLong() const27428 size_t Ext4PunchHoleFtraceEvent::ByteSizeLong() const {
27429 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.Ext4PunchHoleFtraceEvent)
27430   size_t total_size = 0;
27431 
27432   ::uint32_t cached_has_bits = 0;
27433   // Prevent compiler warnings about cached_has_bits being unused
27434   (void) cached_has_bits;
27435 
27436   cached_has_bits = _impl_._has_bits_[0];
27437   if (cached_has_bits & 0x0000001fu) {
27438     // optional uint64 dev = 1;
27439     if (cached_has_bits & 0x00000001u) {
27440       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
27441     }
27442 
27443     // optional uint64 ino = 2;
27444     if (cached_has_bits & 0x00000002u) {
27445       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ino());
27446     }
27447 
27448     // optional int64 offset = 3;
27449     if (cached_has_bits & 0x00000004u) {
27450       total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_offset());
27451     }
27452 
27453     // optional int64 len = 4;
27454     if (cached_has_bits & 0x00000008u) {
27455       total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_len());
27456     }
27457 
27458     // optional int32 mode = 5;
27459     if (cached_has_bits & 0x00000010u) {
27460       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_mode());
27461     }
27462 
27463   }
27464   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
27465     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
27466   }
27467   int cached_size = ::_pbi::ToCachedSize(total_size);
27468   SetCachedSize(cached_size);
27469   return total_size;
27470 }
27471 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)27472 void Ext4PunchHoleFtraceEvent::CheckTypeAndMergeFrom(
27473     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
27474   MergeFrom(*::_pbi::DownCast<const Ext4PunchHoleFtraceEvent*>(
27475       &from));
27476 }
27477 
MergeFrom(const Ext4PunchHoleFtraceEvent & from)27478 void Ext4PunchHoleFtraceEvent::MergeFrom(const Ext4PunchHoleFtraceEvent& from) {
27479   Ext4PunchHoleFtraceEvent* const _this = this;
27480   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.Ext4PunchHoleFtraceEvent)
27481   GOOGLE_DCHECK_NE(&from, _this);
27482   ::uint32_t cached_has_bits = 0;
27483   (void) cached_has_bits;
27484 
27485   cached_has_bits = from._impl_._has_bits_[0];
27486   if (cached_has_bits & 0x0000001fu) {
27487     if (cached_has_bits & 0x00000001u) {
27488       _this->_impl_.dev_ = from._impl_.dev_;
27489     }
27490     if (cached_has_bits & 0x00000002u) {
27491       _this->_impl_.ino_ = from._impl_.ino_;
27492     }
27493     if (cached_has_bits & 0x00000004u) {
27494       _this->_impl_.offset_ = from._impl_.offset_;
27495     }
27496     if (cached_has_bits & 0x00000008u) {
27497       _this->_impl_.len_ = from._impl_.len_;
27498     }
27499     if (cached_has_bits & 0x00000010u) {
27500       _this->_impl_.mode_ = from._impl_.mode_;
27501     }
27502     _this->_impl_._has_bits_[0] |= cached_has_bits;
27503   }
27504   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
27505 }
27506 
CopyFrom(const Ext4PunchHoleFtraceEvent & from)27507 void Ext4PunchHoleFtraceEvent::CopyFrom(const Ext4PunchHoleFtraceEvent& from) {
27508 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.Ext4PunchHoleFtraceEvent)
27509   if (&from == this) return;
27510   Clear();
27511   MergeFrom(from);
27512 }
27513 
IsInitialized() const27514 bool Ext4PunchHoleFtraceEvent::IsInitialized() const {
27515   return true;
27516 }
27517 
InternalSwap(Ext4PunchHoleFtraceEvent * other)27518 void Ext4PunchHoleFtraceEvent::InternalSwap(Ext4PunchHoleFtraceEvent* other) {
27519   using std::swap;
27520   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
27521   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
27522   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
27523       PROTOBUF_FIELD_OFFSET(Ext4PunchHoleFtraceEvent, _impl_.mode_)
27524       + sizeof(Ext4PunchHoleFtraceEvent::_impl_.mode_)  // NOLINT
27525       - PROTOBUF_FIELD_OFFSET(Ext4PunchHoleFtraceEvent, _impl_.dev_)>(
27526           reinterpret_cast<char*>(&_impl_.dev_),
27527           reinterpret_cast<char*>(&other->_impl_.dev_));
27528 }
27529 
GetTypeName() const27530 std::string Ext4PunchHoleFtraceEvent::GetTypeName() const {
27531   return "perfetto.protos.Ext4PunchHoleFtraceEvent";
27532 }
27533 
27534 
27535 // ===================================================================
27536 
27537 class Ext4ReadBlockBitmapLoadFtraceEvent::_Internal {
27538  public:
27539   using HasBits = decltype(std::declval<Ext4ReadBlockBitmapLoadFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)27540   static void set_has_dev(HasBits* has_bits) {
27541     (*has_bits)[0] |= 1u;
27542   }
set_has_group(HasBits * has_bits)27543   static void set_has_group(HasBits* has_bits) {
27544     (*has_bits)[0] |= 2u;
27545   }
set_has_prefetch(HasBits * has_bits)27546   static void set_has_prefetch(HasBits* has_bits) {
27547     (*has_bits)[0] |= 4u;
27548   }
27549 };
27550 
Ext4ReadBlockBitmapLoadFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)27551 Ext4ReadBlockBitmapLoadFtraceEvent::Ext4ReadBlockBitmapLoadFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
27552                          bool is_message_owned)
27553   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
27554   SharedCtor(arena, is_message_owned);
27555   // @@protoc_insertion_point(arena_constructor:perfetto.protos.Ext4ReadBlockBitmapLoadFtraceEvent)
27556 }
Ext4ReadBlockBitmapLoadFtraceEvent(const Ext4ReadBlockBitmapLoadFtraceEvent & from)27557 Ext4ReadBlockBitmapLoadFtraceEvent::Ext4ReadBlockBitmapLoadFtraceEvent(const Ext4ReadBlockBitmapLoadFtraceEvent& from)
27558   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
27559   Ext4ReadBlockBitmapLoadFtraceEvent* const _this = this; (void)_this;
27560   new (&_impl_) Impl_{
27561       decltype(_impl_._has_bits_){from._impl_._has_bits_}
27562     , /*decltype(_impl_._cached_size_)*/{}
27563     , decltype(_impl_.dev_){}
27564     , decltype(_impl_.group_){}
27565     , decltype(_impl_.prefetch_){}};
27566 
27567   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
27568   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
27569     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.prefetch_) -
27570     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.prefetch_));
27571   // @@protoc_insertion_point(copy_constructor:perfetto.protos.Ext4ReadBlockBitmapLoadFtraceEvent)
27572 }
27573 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)27574 inline void Ext4ReadBlockBitmapLoadFtraceEvent::SharedCtor(
27575     ::_pb::Arena* arena, bool is_message_owned) {
27576   (void)arena;
27577   (void)is_message_owned;
27578   new (&_impl_) Impl_{
27579       decltype(_impl_._has_bits_){}
27580     , /*decltype(_impl_._cached_size_)*/{}
27581     , decltype(_impl_.dev_){::uint64_t{0u}}
27582     , decltype(_impl_.group_){0u}
27583     , decltype(_impl_.prefetch_){0u}
27584   };
27585 }
27586 
~Ext4ReadBlockBitmapLoadFtraceEvent()27587 Ext4ReadBlockBitmapLoadFtraceEvent::~Ext4ReadBlockBitmapLoadFtraceEvent() {
27588   // @@protoc_insertion_point(destructor:perfetto.protos.Ext4ReadBlockBitmapLoadFtraceEvent)
27589   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
27590   (void)arena;
27591     return;
27592   }
27593   SharedDtor();
27594 }
27595 
SharedDtor()27596 inline void Ext4ReadBlockBitmapLoadFtraceEvent::SharedDtor() {
27597   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
27598 }
27599 
SetCachedSize(int size) const27600 void Ext4ReadBlockBitmapLoadFtraceEvent::SetCachedSize(int size) const {
27601   _impl_._cached_size_.Set(size);
27602 }
27603 
Clear()27604 void Ext4ReadBlockBitmapLoadFtraceEvent::Clear() {
27605 // @@protoc_insertion_point(message_clear_start:perfetto.protos.Ext4ReadBlockBitmapLoadFtraceEvent)
27606   ::uint32_t cached_has_bits = 0;
27607   // Prevent compiler warnings about cached_has_bits being unused
27608   (void) cached_has_bits;
27609 
27610   cached_has_bits = _impl_._has_bits_[0];
27611   if (cached_has_bits & 0x00000007u) {
27612     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
27613         reinterpret_cast<char*>(&_impl_.prefetch_) -
27614         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.prefetch_));
27615   }
27616   _impl_._has_bits_.Clear();
27617   _internal_metadata_.Clear<std::string>();
27618 }
27619 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)27620 const char* Ext4ReadBlockBitmapLoadFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
27621 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
27622   _Internal::HasBits has_bits{};
27623   while (!ctx->Done(&ptr)) {
27624     ::uint32_t tag;
27625     ptr = ::_pbi::ReadTag(ptr, &tag);
27626     switch (tag >> 3) {
27627       // optional uint64 dev = 1;
27628       case 1:
27629         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
27630           _Internal::set_has_dev(&has_bits);
27631           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
27632           CHK_(ptr);
27633         } else {
27634           goto handle_unusual;
27635         }
27636         continue;
27637       // optional uint32 group = 2;
27638       case 2:
27639         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
27640           _Internal::set_has_group(&has_bits);
27641           _impl_.group_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
27642           CHK_(ptr);
27643         } else {
27644           goto handle_unusual;
27645         }
27646         continue;
27647       // optional uint32 prefetch = 3;
27648       case 3:
27649         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
27650           _Internal::set_has_prefetch(&has_bits);
27651           _impl_.prefetch_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
27652           CHK_(ptr);
27653         } else {
27654           goto handle_unusual;
27655         }
27656         continue;
27657       default:
27658         goto handle_unusual;
27659     }  // switch
27660   handle_unusual:
27661     if ((tag == 0) || ((tag & 7) == 4)) {
27662       CHK_(ptr);
27663       ctx->SetLastTag(tag);
27664       goto message_done;
27665     }
27666     ptr = UnknownFieldParse(
27667         tag,
27668         _internal_metadata_.mutable_unknown_fields<std::string>(),
27669         ptr, ctx);
27670     CHK_(ptr != nullptr);
27671   }  // while
27672 message_done:
27673   _impl_._has_bits_.Or(has_bits);
27674   return ptr;
27675 failure:
27676   ptr = nullptr;
27677   goto message_done;
27678 #undef CHK_
27679 }
27680 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const27681 ::uint8_t* Ext4ReadBlockBitmapLoadFtraceEvent::_InternalSerialize(
27682     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
27683   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.Ext4ReadBlockBitmapLoadFtraceEvent)
27684   ::uint32_t cached_has_bits = 0;
27685   (void) cached_has_bits;
27686 
27687   cached_has_bits = _impl_._has_bits_[0];
27688   // optional uint64 dev = 1;
27689   if (cached_has_bits & 0x00000001u) {
27690     target = stream->EnsureSpace(target);
27691     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
27692   }
27693 
27694   // optional uint32 group = 2;
27695   if (cached_has_bits & 0x00000002u) {
27696     target = stream->EnsureSpace(target);
27697     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_group(), target);
27698   }
27699 
27700   // optional uint32 prefetch = 3;
27701   if (cached_has_bits & 0x00000004u) {
27702     target = stream->EnsureSpace(target);
27703     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_prefetch(), target);
27704   }
27705 
27706   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
27707     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
27708         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
27709   }
27710   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.Ext4ReadBlockBitmapLoadFtraceEvent)
27711   return target;
27712 }
27713 
ByteSizeLong() const27714 size_t Ext4ReadBlockBitmapLoadFtraceEvent::ByteSizeLong() const {
27715 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.Ext4ReadBlockBitmapLoadFtraceEvent)
27716   size_t total_size = 0;
27717 
27718   ::uint32_t cached_has_bits = 0;
27719   // Prevent compiler warnings about cached_has_bits being unused
27720   (void) cached_has_bits;
27721 
27722   cached_has_bits = _impl_._has_bits_[0];
27723   if (cached_has_bits & 0x00000007u) {
27724     // optional uint64 dev = 1;
27725     if (cached_has_bits & 0x00000001u) {
27726       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
27727     }
27728 
27729     // optional uint32 group = 2;
27730     if (cached_has_bits & 0x00000002u) {
27731       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_group());
27732     }
27733 
27734     // optional uint32 prefetch = 3;
27735     if (cached_has_bits & 0x00000004u) {
27736       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_prefetch());
27737     }
27738 
27739   }
27740   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
27741     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
27742   }
27743   int cached_size = ::_pbi::ToCachedSize(total_size);
27744   SetCachedSize(cached_size);
27745   return total_size;
27746 }
27747 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)27748 void Ext4ReadBlockBitmapLoadFtraceEvent::CheckTypeAndMergeFrom(
27749     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
27750   MergeFrom(*::_pbi::DownCast<const Ext4ReadBlockBitmapLoadFtraceEvent*>(
27751       &from));
27752 }
27753 
MergeFrom(const Ext4ReadBlockBitmapLoadFtraceEvent & from)27754 void Ext4ReadBlockBitmapLoadFtraceEvent::MergeFrom(const Ext4ReadBlockBitmapLoadFtraceEvent& from) {
27755   Ext4ReadBlockBitmapLoadFtraceEvent* const _this = this;
27756   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.Ext4ReadBlockBitmapLoadFtraceEvent)
27757   GOOGLE_DCHECK_NE(&from, _this);
27758   ::uint32_t cached_has_bits = 0;
27759   (void) cached_has_bits;
27760 
27761   cached_has_bits = from._impl_._has_bits_[0];
27762   if (cached_has_bits & 0x00000007u) {
27763     if (cached_has_bits & 0x00000001u) {
27764       _this->_impl_.dev_ = from._impl_.dev_;
27765     }
27766     if (cached_has_bits & 0x00000002u) {
27767       _this->_impl_.group_ = from._impl_.group_;
27768     }
27769     if (cached_has_bits & 0x00000004u) {
27770       _this->_impl_.prefetch_ = from._impl_.prefetch_;
27771     }
27772     _this->_impl_._has_bits_[0] |= cached_has_bits;
27773   }
27774   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
27775 }
27776 
CopyFrom(const Ext4ReadBlockBitmapLoadFtraceEvent & from)27777 void Ext4ReadBlockBitmapLoadFtraceEvent::CopyFrom(const Ext4ReadBlockBitmapLoadFtraceEvent& from) {
27778 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.Ext4ReadBlockBitmapLoadFtraceEvent)
27779   if (&from == this) return;
27780   Clear();
27781   MergeFrom(from);
27782 }
27783 
IsInitialized() const27784 bool Ext4ReadBlockBitmapLoadFtraceEvent::IsInitialized() const {
27785   return true;
27786 }
27787 
InternalSwap(Ext4ReadBlockBitmapLoadFtraceEvent * other)27788 void Ext4ReadBlockBitmapLoadFtraceEvent::InternalSwap(Ext4ReadBlockBitmapLoadFtraceEvent* other) {
27789   using std::swap;
27790   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
27791   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
27792   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
27793       PROTOBUF_FIELD_OFFSET(Ext4ReadBlockBitmapLoadFtraceEvent, _impl_.prefetch_)
27794       + sizeof(Ext4ReadBlockBitmapLoadFtraceEvent::_impl_.prefetch_)  // NOLINT
27795       - PROTOBUF_FIELD_OFFSET(Ext4ReadBlockBitmapLoadFtraceEvent, _impl_.dev_)>(
27796           reinterpret_cast<char*>(&_impl_.dev_),
27797           reinterpret_cast<char*>(&other->_impl_.dev_));
27798 }
27799 
GetTypeName() const27800 std::string Ext4ReadBlockBitmapLoadFtraceEvent::GetTypeName() const {
27801   return "perfetto.protos.Ext4ReadBlockBitmapLoadFtraceEvent";
27802 }
27803 
27804 
27805 // ===================================================================
27806 
27807 class Ext4ReadpageFtraceEvent::_Internal {
27808  public:
27809   using HasBits = decltype(std::declval<Ext4ReadpageFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)27810   static void set_has_dev(HasBits* has_bits) {
27811     (*has_bits)[0] |= 1u;
27812   }
set_has_ino(HasBits * has_bits)27813   static void set_has_ino(HasBits* has_bits) {
27814     (*has_bits)[0] |= 2u;
27815   }
set_has_index(HasBits * has_bits)27816   static void set_has_index(HasBits* has_bits) {
27817     (*has_bits)[0] |= 4u;
27818   }
27819 };
27820 
Ext4ReadpageFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)27821 Ext4ReadpageFtraceEvent::Ext4ReadpageFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
27822                          bool is_message_owned)
27823   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
27824   SharedCtor(arena, is_message_owned);
27825   // @@protoc_insertion_point(arena_constructor:perfetto.protos.Ext4ReadpageFtraceEvent)
27826 }
Ext4ReadpageFtraceEvent(const Ext4ReadpageFtraceEvent & from)27827 Ext4ReadpageFtraceEvent::Ext4ReadpageFtraceEvent(const Ext4ReadpageFtraceEvent& from)
27828   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
27829   Ext4ReadpageFtraceEvent* const _this = this; (void)_this;
27830   new (&_impl_) Impl_{
27831       decltype(_impl_._has_bits_){from._impl_._has_bits_}
27832     , /*decltype(_impl_._cached_size_)*/{}
27833     , decltype(_impl_.dev_){}
27834     , decltype(_impl_.ino_){}
27835     , decltype(_impl_.index_){}};
27836 
27837   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
27838   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
27839     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.index_) -
27840     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.index_));
27841   // @@protoc_insertion_point(copy_constructor:perfetto.protos.Ext4ReadpageFtraceEvent)
27842 }
27843 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)27844 inline void Ext4ReadpageFtraceEvent::SharedCtor(
27845     ::_pb::Arena* arena, bool is_message_owned) {
27846   (void)arena;
27847   (void)is_message_owned;
27848   new (&_impl_) Impl_{
27849       decltype(_impl_._has_bits_){}
27850     , /*decltype(_impl_._cached_size_)*/{}
27851     , decltype(_impl_.dev_){::uint64_t{0u}}
27852     , decltype(_impl_.ino_){::uint64_t{0u}}
27853     , decltype(_impl_.index_){::uint64_t{0u}}
27854   };
27855 }
27856 
~Ext4ReadpageFtraceEvent()27857 Ext4ReadpageFtraceEvent::~Ext4ReadpageFtraceEvent() {
27858   // @@protoc_insertion_point(destructor:perfetto.protos.Ext4ReadpageFtraceEvent)
27859   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
27860   (void)arena;
27861     return;
27862   }
27863   SharedDtor();
27864 }
27865 
SharedDtor()27866 inline void Ext4ReadpageFtraceEvent::SharedDtor() {
27867   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
27868 }
27869 
SetCachedSize(int size) const27870 void Ext4ReadpageFtraceEvent::SetCachedSize(int size) const {
27871   _impl_._cached_size_.Set(size);
27872 }
27873 
Clear()27874 void Ext4ReadpageFtraceEvent::Clear() {
27875 // @@protoc_insertion_point(message_clear_start:perfetto.protos.Ext4ReadpageFtraceEvent)
27876   ::uint32_t cached_has_bits = 0;
27877   // Prevent compiler warnings about cached_has_bits being unused
27878   (void) cached_has_bits;
27879 
27880   cached_has_bits = _impl_._has_bits_[0];
27881   if (cached_has_bits & 0x00000007u) {
27882     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
27883         reinterpret_cast<char*>(&_impl_.index_) -
27884         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.index_));
27885   }
27886   _impl_._has_bits_.Clear();
27887   _internal_metadata_.Clear<std::string>();
27888 }
27889 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)27890 const char* Ext4ReadpageFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
27891 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
27892   _Internal::HasBits has_bits{};
27893   while (!ctx->Done(&ptr)) {
27894     ::uint32_t tag;
27895     ptr = ::_pbi::ReadTag(ptr, &tag);
27896     switch (tag >> 3) {
27897       // optional uint64 dev = 1;
27898       case 1:
27899         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
27900           _Internal::set_has_dev(&has_bits);
27901           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
27902           CHK_(ptr);
27903         } else {
27904           goto handle_unusual;
27905         }
27906         continue;
27907       // optional uint64 ino = 2;
27908       case 2:
27909         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
27910           _Internal::set_has_ino(&has_bits);
27911           _impl_.ino_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
27912           CHK_(ptr);
27913         } else {
27914           goto handle_unusual;
27915         }
27916         continue;
27917       // optional uint64 index = 3;
27918       case 3:
27919         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
27920           _Internal::set_has_index(&has_bits);
27921           _impl_.index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
27922           CHK_(ptr);
27923         } else {
27924           goto handle_unusual;
27925         }
27926         continue;
27927       default:
27928         goto handle_unusual;
27929     }  // switch
27930   handle_unusual:
27931     if ((tag == 0) || ((tag & 7) == 4)) {
27932       CHK_(ptr);
27933       ctx->SetLastTag(tag);
27934       goto message_done;
27935     }
27936     ptr = UnknownFieldParse(
27937         tag,
27938         _internal_metadata_.mutable_unknown_fields<std::string>(),
27939         ptr, ctx);
27940     CHK_(ptr != nullptr);
27941   }  // while
27942 message_done:
27943   _impl_._has_bits_.Or(has_bits);
27944   return ptr;
27945 failure:
27946   ptr = nullptr;
27947   goto message_done;
27948 #undef CHK_
27949 }
27950 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const27951 ::uint8_t* Ext4ReadpageFtraceEvent::_InternalSerialize(
27952     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
27953   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.Ext4ReadpageFtraceEvent)
27954   ::uint32_t cached_has_bits = 0;
27955   (void) cached_has_bits;
27956 
27957   cached_has_bits = _impl_._has_bits_[0];
27958   // optional uint64 dev = 1;
27959   if (cached_has_bits & 0x00000001u) {
27960     target = stream->EnsureSpace(target);
27961     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
27962   }
27963 
27964   // optional uint64 ino = 2;
27965   if (cached_has_bits & 0x00000002u) {
27966     target = stream->EnsureSpace(target);
27967     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_ino(), target);
27968   }
27969 
27970   // optional uint64 index = 3;
27971   if (cached_has_bits & 0x00000004u) {
27972     target = stream->EnsureSpace(target);
27973     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(3, this->_internal_index(), target);
27974   }
27975 
27976   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
27977     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
27978         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
27979   }
27980   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.Ext4ReadpageFtraceEvent)
27981   return target;
27982 }
27983 
ByteSizeLong() const27984 size_t Ext4ReadpageFtraceEvent::ByteSizeLong() const {
27985 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.Ext4ReadpageFtraceEvent)
27986   size_t total_size = 0;
27987 
27988   ::uint32_t cached_has_bits = 0;
27989   // Prevent compiler warnings about cached_has_bits being unused
27990   (void) cached_has_bits;
27991 
27992   cached_has_bits = _impl_._has_bits_[0];
27993   if (cached_has_bits & 0x00000007u) {
27994     // optional uint64 dev = 1;
27995     if (cached_has_bits & 0x00000001u) {
27996       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
27997     }
27998 
27999     // optional uint64 ino = 2;
28000     if (cached_has_bits & 0x00000002u) {
28001       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ino());
28002     }
28003 
28004     // optional uint64 index = 3;
28005     if (cached_has_bits & 0x00000004u) {
28006       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_index());
28007     }
28008 
28009   }
28010   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
28011     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
28012   }
28013   int cached_size = ::_pbi::ToCachedSize(total_size);
28014   SetCachedSize(cached_size);
28015   return total_size;
28016 }
28017 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)28018 void Ext4ReadpageFtraceEvent::CheckTypeAndMergeFrom(
28019     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
28020   MergeFrom(*::_pbi::DownCast<const Ext4ReadpageFtraceEvent*>(
28021       &from));
28022 }
28023 
MergeFrom(const Ext4ReadpageFtraceEvent & from)28024 void Ext4ReadpageFtraceEvent::MergeFrom(const Ext4ReadpageFtraceEvent& from) {
28025   Ext4ReadpageFtraceEvent* const _this = this;
28026   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.Ext4ReadpageFtraceEvent)
28027   GOOGLE_DCHECK_NE(&from, _this);
28028   ::uint32_t cached_has_bits = 0;
28029   (void) cached_has_bits;
28030 
28031   cached_has_bits = from._impl_._has_bits_[0];
28032   if (cached_has_bits & 0x00000007u) {
28033     if (cached_has_bits & 0x00000001u) {
28034       _this->_impl_.dev_ = from._impl_.dev_;
28035     }
28036     if (cached_has_bits & 0x00000002u) {
28037       _this->_impl_.ino_ = from._impl_.ino_;
28038     }
28039     if (cached_has_bits & 0x00000004u) {
28040       _this->_impl_.index_ = from._impl_.index_;
28041     }
28042     _this->_impl_._has_bits_[0] |= cached_has_bits;
28043   }
28044   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
28045 }
28046 
CopyFrom(const Ext4ReadpageFtraceEvent & from)28047 void Ext4ReadpageFtraceEvent::CopyFrom(const Ext4ReadpageFtraceEvent& from) {
28048 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.Ext4ReadpageFtraceEvent)
28049   if (&from == this) return;
28050   Clear();
28051   MergeFrom(from);
28052 }
28053 
IsInitialized() const28054 bool Ext4ReadpageFtraceEvent::IsInitialized() const {
28055   return true;
28056 }
28057 
InternalSwap(Ext4ReadpageFtraceEvent * other)28058 void Ext4ReadpageFtraceEvent::InternalSwap(Ext4ReadpageFtraceEvent* other) {
28059   using std::swap;
28060   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
28061   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
28062   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
28063       PROTOBUF_FIELD_OFFSET(Ext4ReadpageFtraceEvent, _impl_.index_)
28064       + sizeof(Ext4ReadpageFtraceEvent::_impl_.index_)  // NOLINT
28065       - PROTOBUF_FIELD_OFFSET(Ext4ReadpageFtraceEvent, _impl_.dev_)>(
28066           reinterpret_cast<char*>(&_impl_.dev_),
28067           reinterpret_cast<char*>(&other->_impl_.dev_));
28068 }
28069 
GetTypeName() const28070 std::string Ext4ReadpageFtraceEvent::GetTypeName() const {
28071   return "perfetto.protos.Ext4ReadpageFtraceEvent";
28072 }
28073 
28074 
28075 // ===================================================================
28076 
28077 class Ext4ReleasepageFtraceEvent::_Internal {
28078  public:
28079   using HasBits = decltype(std::declval<Ext4ReleasepageFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)28080   static void set_has_dev(HasBits* has_bits) {
28081     (*has_bits)[0] |= 1u;
28082   }
set_has_ino(HasBits * has_bits)28083   static void set_has_ino(HasBits* has_bits) {
28084     (*has_bits)[0] |= 2u;
28085   }
set_has_index(HasBits * has_bits)28086   static void set_has_index(HasBits* has_bits) {
28087     (*has_bits)[0] |= 4u;
28088   }
28089 };
28090 
Ext4ReleasepageFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)28091 Ext4ReleasepageFtraceEvent::Ext4ReleasepageFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
28092                          bool is_message_owned)
28093   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
28094   SharedCtor(arena, is_message_owned);
28095   // @@protoc_insertion_point(arena_constructor:perfetto.protos.Ext4ReleasepageFtraceEvent)
28096 }
Ext4ReleasepageFtraceEvent(const Ext4ReleasepageFtraceEvent & from)28097 Ext4ReleasepageFtraceEvent::Ext4ReleasepageFtraceEvent(const Ext4ReleasepageFtraceEvent& from)
28098   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
28099   Ext4ReleasepageFtraceEvent* const _this = this; (void)_this;
28100   new (&_impl_) Impl_{
28101       decltype(_impl_._has_bits_){from._impl_._has_bits_}
28102     , /*decltype(_impl_._cached_size_)*/{}
28103     , decltype(_impl_.dev_){}
28104     , decltype(_impl_.ino_){}
28105     , decltype(_impl_.index_){}};
28106 
28107   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
28108   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
28109     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.index_) -
28110     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.index_));
28111   // @@protoc_insertion_point(copy_constructor:perfetto.protos.Ext4ReleasepageFtraceEvent)
28112 }
28113 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)28114 inline void Ext4ReleasepageFtraceEvent::SharedCtor(
28115     ::_pb::Arena* arena, bool is_message_owned) {
28116   (void)arena;
28117   (void)is_message_owned;
28118   new (&_impl_) Impl_{
28119       decltype(_impl_._has_bits_){}
28120     , /*decltype(_impl_._cached_size_)*/{}
28121     , decltype(_impl_.dev_){::uint64_t{0u}}
28122     , decltype(_impl_.ino_){::uint64_t{0u}}
28123     , decltype(_impl_.index_){::uint64_t{0u}}
28124   };
28125 }
28126 
~Ext4ReleasepageFtraceEvent()28127 Ext4ReleasepageFtraceEvent::~Ext4ReleasepageFtraceEvent() {
28128   // @@protoc_insertion_point(destructor:perfetto.protos.Ext4ReleasepageFtraceEvent)
28129   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
28130   (void)arena;
28131     return;
28132   }
28133   SharedDtor();
28134 }
28135 
SharedDtor()28136 inline void Ext4ReleasepageFtraceEvent::SharedDtor() {
28137   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
28138 }
28139 
SetCachedSize(int size) const28140 void Ext4ReleasepageFtraceEvent::SetCachedSize(int size) const {
28141   _impl_._cached_size_.Set(size);
28142 }
28143 
Clear()28144 void Ext4ReleasepageFtraceEvent::Clear() {
28145 // @@protoc_insertion_point(message_clear_start:perfetto.protos.Ext4ReleasepageFtraceEvent)
28146   ::uint32_t cached_has_bits = 0;
28147   // Prevent compiler warnings about cached_has_bits being unused
28148   (void) cached_has_bits;
28149 
28150   cached_has_bits = _impl_._has_bits_[0];
28151   if (cached_has_bits & 0x00000007u) {
28152     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
28153         reinterpret_cast<char*>(&_impl_.index_) -
28154         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.index_));
28155   }
28156   _impl_._has_bits_.Clear();
28157   _internal_metadata_.Clear<std::string>();
28158 }
28159 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)28160 const char* Ext4ReleasepageFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
28161 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
28162   _Internal::HasBits has_bits{};
28163   while (!ctx->Done(&ptr)) {
28164     ::uint32_t tag;
28165     ptr = ::_pbi::ReadTag(ptr, &tag);
28166     switch (tag >> 3) {
28167       // optional uint64 dev = 1;
28168       case 1:
28169         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
28170           _Internal::set_has_dev(&has_bits);
28171           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
28172           CHK_(ptr);
28173         } else {
28174           goto handle_unusual;
28175         }
28176         continue;
28177       // optional uint64 ino = 2;
28178       case 2:
28179         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
28180           _Internal::set_has_ino(&has_bits);
28181           _impl_.ino_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
28182           CHK_(ptr);
28183         } else {
28184           goto handle_unusual;
28185         }
28186         continue;
28187       // optional uint64 index = 3;
28188       case 3:
28189         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
28190           _Internal::set_has_index(&has_bits);
28191           _impl_.index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
28192           CHK_(ptr);
28193         } else {
28194           goto handle_unusual;
28195         }
28196         continue;
28197       default:
28198         goto handle_unusual;
28199     }  // switch
28200   handle_unusual:
28201     if ((tag == 0) || ((tag & 7) == 4)) {
28202       CHK_(ptr);
28203       ctx->SetLastTag(tag);
28204       goto message_done;
28205     }
28206     ptr = UnknownFieldParse(
28207         tag,
28208         _internal_metadata_.mutable_unknown_fields<std::string>(),
28209         ptr, ctx);
28210     CHK_(ptr != nullptr);
28211   }  // while
28212 message_done:
28213   _impl_._has_bits_.Or(has_bits);
28214   return ptr;
28215 failure:
28216   ptr = nullptr;
28217   goto message_done;
28218 #undef CHK_
28219 }
28220 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const28221 ::uint8_t* Ext4ReleasepageFtraceEvent::_InternalSerialize(
28222     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
28223   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.Ext4ReleasepageFtraceEvent)
28224   ::uint32_t cached_has_bits = 0;
28225   (void) cached_has_bits;
28226 
28227   cached_has_bits = _impl_._has_bits_[0];
28228   // optional uint64 dev = 1;
28229   if (cached_has_bits & 0x00000001u) {
28230     target = stream->EnsureSpace(target);
28231     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
28232   }
28233 
28234   // optional uint64 ino = 2;
28235   if (cached_has_bits & 0x00000002u) {
28236     target = stream->EnsureSpace(target);
28237     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_ino(), target);
28238   }
28239 
28240   // optional uint64 index = 3;
28241   if (cached_has_bits & 0x00000004u) {
28242     target = stream->EnsureSpace(target);
28243     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(3, this->_internal_index(), target);
28244   }
28245 
28246   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
28247     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
28248         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
28249   }
28250   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.Ext4ReleasepageFtraceEvent)
28251   return target;
28252 }
28253 
ByteSizeLong() const28254 size_t Ext4ReleasepageFtraceEvent::ByteSizeLong() const {
28255 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.Ext4ReleasepageFtraceEvent)
28256   size_t total_size = 0;
28257 
28258   ::uint32_t cached_has_bits = 0;
28259   // Prevent compiler warnings about cached_has_bits being unused
28260   (void) cached_has_bits;
28261 
28262   cached_has_bits = _impl_._has_bits_[0];
28263   if (cached_has_bits & 0x00000007u) {
28264     // optional uint64 dev = 1;
28265     if (cached_has_bits & 0x00000001u) {
28266       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
28267     }
28268 
28269     // optional uint64 ino = 2;
28270     if (cached_has_bits & 0x00000002u) {
28271       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ino());
28272     }
28273 
28274     // optional uint64 index = 3;
28275     if (cached_has_bits & 0x00000004u) {
28276       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_index());
28277     }
28278 
28279   }
28280   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
28281     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
28282   }
28283   int cached_size = ::_pbi::ToCachedSize(total_size);
28284   SetCachedSize(cached_size);
28285   return total_size;
28286 }
28287 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)28288 void Ext4ReleasepageFtraceEvent::CheckTypeAndMergeFrom(
28289     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
28290   MergeFrom(*::_pbi::DownCast<const Ext4ReleasepageFtraceEvent*>(
28291       &from));
28292 }
28293 
MergeFrom(const Ext4ReleasepageFtraceEvent & from)28294 void Ext4ReleasepageFtraceEvent::MergeFrom(const Ext4ReleasepageFtraceEvent& from) {
28295   Ext4ReleasepageFtraceEvent* const _this = this;
28296   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.Ext4ReleasepageFtraceEvent)
28297   GOOGLE_DCHECK_NE(&from, _this);
28298   ::uint32_t cached_has_bits = 0;
28299   (void) cached_has_bits;
28300 
28301   cached_has_bits = from._impl_._has_bits_[0];
28302   if (cached_has_bits & 0x00000007u) {
28303     if (cached_has_bits & 0x00000001u) {
28304       _this->_impl_.dev_ = from._impl_.dev_;
28305     }
28306     if (cached_has_bits & 0x00000002u) {
28307       _this->_impl_.ino_ = from._impl_.ino_;
28308     }
28309     if (cached_has_bits & 0x00000004u) {
28310       _this->_impl_.index_ = from._impl_.index_;
28311     }
28312     _this->_impl_._has_bits_[0] |= cached_has_bits;
28313   }
28314   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
28315 }
28316 
CopyFrom(const Ext4ReleasepageFtraceEvent & from)28317 void Ext4ReleasepageFtraceEvent::CopyFrom(const Ext4ReleasepageFtraceEvent& from) {
28318 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.Ext4ReleasepageFtraceEvent)
28319   if (&from == this) return;
28320   Clear();
28321   MergeFrom(from);
28322 }
28323 
IsInitialized() const28324 bool Ext4ReleasepageFtraceEvent::IsInitialized() const {
28325   return true;
28326 }
28327 
InternalSwap(Ext4ReleasepageFtraceEvent * other)28328 void Ext4ReleasepageFtraceEvent::InternalSwap(Ext4ReleasepageFtraceEvent* other) {
28329   using std::swap;
28330   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
28331   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
28332   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
28333       PROTOBUF_FIELD_OFFSET(Ext4ReleasepageFtraceEvent, _impl_.index_)
28334       + sizeof(Ext4ReleasepageFtraceEvent::_impl_.index_)  // NOLINT
28335       - PROTOBUF_FIELD_OFFSET(Ext4ReleasepageFtraceEvent, _impl_.dev_)>(
28336           reinterpret_cast<char*>(&_impl_.dev_),
28337           reinterpret_cast<char*>(&other->_impl_.dev_));
28338 }
28339 
GetTypeName() const28340 std::string Ext4ReleasepageFtraceEvent::GetTypeName() const {
28341   return "perfetto.protos.Ext4ReleasepageFtraceEvent";
28342 }
28343 
28344 
28345 // ===================================================================
28346 
28347 class Ext4RemoveBlocksFtraceEvent::_Internal {
28348  public:
28349   using HasBits = decltype(std::declval<Ext4RemoveBlocksFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)28350   static void set_has_dev(HasBits* has_bits) {
28351     (*has_bits)[0] |= 1u;
28352   }
set_has_ino(HasBits * has_bits)28353   static void set_has_ino(HasBits* has_bits) {
28354     (*has_bits)[0] |= 2u;
28355   }
set_has_from(HasBits * has_bits)28356   static void set_has_from(HasBits* has_bits) {
28357     (*has_bits)[0] |= 4u;
28358   }
set_has_to(HasBits * has_bits)28359   static void set_has_to(HasBits* has_bits) {
28360     (*has_bits)[0] |= 8u;
28361   }
set_has_partial(HasBits * has_bits)28362   static void set_has_partial(HasBits* has_bits) {
28363     (*has_bits)[0] |= 16u;
28364   }
set_has_ee_pblk(HasBits * has_bits)28365   static void set_has_ee_pblk(HasBits* has_bits) {
28366     (*has_bits)[0] |= 32u;
28367   }
set_has_ee_lblk(HasBits * has_bits)28368   static void set_has_ee_lblk(HasBits* has_bits) {
28369     (*has_bits)[0] |= 64u;
28370   }
set_has_ee_len(HasBits * has_bits)28371   static void set_has_ee_len(HasBits* has_bits) {
28372     (*has_bits)[0] |= 128u;
28373   }
set_has_pc_lblk(HasBits * has_bits)28374   static void set_has_pc_lblk(HasBits* has_bits) {
28375     (*has_bits)[0] |= 512u;
28376   }
set_has_pc_pclu(HasBits * has_bits)28377   static void set_has_pc_pclu(HasBits* has_bits) {
28378     (*has_bits)[0] |= 256u;
28379   }
set_has_pc_state(HasBits * has_bits)28380   static void set_has_pc_state(HasBits* has_bits) {
28381     (*has_bits)[0] |= 1024u;
28382   }
28383 };
28384 
Ext4RemoveBlocksFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)28385 Ext4RemoveBlocksFtraceEvent::Ext4RemoveBlocksFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
28386                          bool is_message_owned)
28387   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
28388   SharedCtor(arena, is_message_owned);
28389   // @@protoc_insertion_point(arena_constructor:perfetto.protos.Ext4RemoveBlocksFtraceEvent)
28390 }
Ext4RemoveBlocksFtraceEvent(const Ext4RemoveBlocksFtraceEvent & from)28391 Ext4RemoveBlocksFtraceEvent::Ext4RemoveBlocksFtraceEvent(const Ext4RemoveBlocksFtraceEvent& from)
28392   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
28393   Ext4RemoveBlocksFtraceEvent* const _this = this; (void)_this;
28394   new (&_impl_) Impl_{
28395       decltype(_impl_._has_bits_){from._impl_._has_bits_}
28396     , /*decltype(_impl_._cached_size_)*/{}
28397     , decltype(_impl_.dev_){}
28398     , decltype(_impl_.ino_){}
28399     , decltype(_impl_.from_){}
28400     , decltype(_impl_.to_){}
28401     , decltype(_impl_.partial_){}
28402     , decltype(_impl_.ee_pblk_){}
28403     , decltype(_impl_.ee_lblk_){}
28404     , decltype(_impl_.ee_len_){}
28405     , decltype(_impl_.pc_pclu_){}
28406     , decltype(_impl_.pc_lblk_){}
28407     , decltype(_impl_.pc_state_){}};
28408 
28409   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
28410   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
28411     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.pc_state_) -
28412     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.pc_state_));
28413   // @@protoc_insertion_point(copy_constructor:perfetto.protos.Ext4RemoveBlocksFtraceEvent)
28414 }
28415 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)28416 inline void Ext4RemoveBlocksFtraceEvent::SharedCtor(
28417     ::_pb::Arena* arena, bool is_message_owned) {
28418   (void)arena;
28419   (void)is_message_owned;
28420   new (&_impl_) Impl_{
28421       decltype(_impl_._has_bits_){}
28422     , /*decltype(_impl_._cached_size_)*/{}
28423     , decltype(_impl_.dev_){::uint64_t{0u}}
28424     , decltype(_impl_.ino_){::uint64_t{0u}}
28425     , decltype(_impl_.from_){0u}
28426     , decltype(_impl_.to_){0u}
28427     , decltype(_impl_.partial_){::int64_t{0}}
28428     , decltype(_impl_.ee_pblk_){::uint64_t{0u}}
28429     , decltype(_impl_.ee_lblk_){0u}
28430     , decltype(_impl_.ee_len_){0u}
28431     , decltype(_impl_.pc_pclu_){::uint64_t{0u}}
28432     , decltype(_impl_.pc_lblk_){0u}
28433     , decltype(_impl_.pc_state_){0}
28434   };
28435 }
28436 
~Ext4RemoveBlocksFtraceEvent()28437 Ext4RemoveBlocksFtraceEvent::~Ext4RemoveBlocksFtraceEvent() {
28438   // @@protoc_insertion_point(destructor:perfetto.protos.Ext4RemoveBlocksFtraceEvent)
28439   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
28440   (void)arena;
28441     return;
28442   }
28443   SharedDtor();
28444 }
28445 
SharedDtor()28446 inline void Ext4RemoveBlocksFtraceEvent::SharedDtor() {
28447   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
28448 }
28449 
SetCachedSize(int size) const28450 void Ext4RemoveBlocksFtraceEvent::SetCachedSize(int size) const {
28451   _impl_._cached_size_.Set(size);
28452 }
28453 
Clear()28454 void Ext4RemoveBlocksFtraceEvent::Clear() {
28455 // @@protoc_insertion_point(message_clear_start:perfetto.protos.Ext4RemoveBlocksFtraceEvent)
28456   ::uint32_t cached_has_bits = 0;
28457   // Prevent compiler warnings about cached_has_bits being unused
28458   (void) cached_has_bits;
28459 
28460   cached_has_bits = _impl_._has_bits_[0];
28461   if (cached_has_bits & 0x000000ffu) {
28462     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
28463         reinterpret_cast<char*>(&_impl_.ee_len_) -
28464         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.ee_len_));
28465   }
28466   if (cached_has_bits & 0x00000700u) {
28467     ::memset(&_impl_.pc_pclu_, 0, static_cast<size_t>(
28468         reinterpret_cast<char*>(&_impl_.pc_state_) -
28469         reinterpret_cast<char*>(&_impl_.pc_pclu_)) + sizeof(_impl_.pc_state_));
28470   }
28471   _impl_._has_bits_.Clear();
28472   _internal_metadata_.Clear<std::string>();
28473 }
28474 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)28475 const char* Ext4RemoveBlocksFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
28476 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
28477   _Internal::HasBits has_bits{};
28478   while (!ctx->Done(&ptr)) {
28479     ::uint32_t tag;
28480     ptr = ::_pbi::ReadTag(ptr, &tag);
28481     switch (tag >> 3) {
28482       // optional uint64 dev = 1;
28483       case 1:
28484         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
28485           _Internal::set_has_dev(&has_bits);
28486           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
28487           CHK_(ptr);
28488         } else {
28489           goto handle_unusual;
28490         }
28491         continue;
28492       // optional uint64 ino = 2;
28493       case 2:
28494         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
28495           _Internal::set_has_ino(&has_bits);
28496           _impl_.ino_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
28497           CHK_(ptr);
28498         } else {
28499           goto handle_unusual;
28500         }
28501         continue;
28502       // optional uint32 from = 3;
28503       case 3:
28504         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
28505           _Internal::set_has_from(&has_bits);
28506           _impl_.from_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
28507           CHK_(ptr);
28508         } else {
28509           goto handle_unusual;
28510         }
28511         continue;
28512       // optional uint32 to = 4;
28513       case 4:
28514         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
28515           _Internal::set_has_to(&has_bits);
28516           _impl_.to_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
28517           CHK_(ptr);
28518         } else {
28519           goto handle_unusual;
28520         }
28521         continue;
28522       // optional int64 partial = 5;
28523       case 5:
28524         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) {
28525           _Internal::set_has_partial(&has_bits);
28526           _impl_.partial_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
28527           CHK_(ptr);
28528         } else {
28529           goto handle_unusual;
28530         }
28531         continue;
28532       // optional uint64 ee_pblk = 6;
28533       case 6:
28534         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 48)) {
28535           _Internal::set_has_ee_pblk(&has_bits);
28536           _impl_.ee_pblk_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
28537           CHK_(ptr);
28538         } else {
28539           goto handle_unusual;
28540         }
28541         continue;
28542       // optional uint32 ee_lblk = 7;
28543       case 7:
28544         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 56)) {
28545           _Internal::set_has_ee_lblk(&has_bits);
28546           _impl_.ee_lblk_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
28547           CHK_(ptr);
28548         } else {
28549           goto handle_unusual;
28550         }
28551         continue;
28552       // optional uint32 ee_len = 8;
28553       case 8:
28554         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 64)) {
28555           _Internal::set_has_ee_len(&has_bits);
28556           _impl_.ee_len_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
28557           CHK_(ptr);
28558         } else {
28559           goto handle_unusual;
28560         }
28561         continue;
28562       // optional uint32 pc_lblk = 9;
28563       case 9:
28564         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 72)) {
28565           _Internal::set_has_pc_lblk(&has_bits);
28566           _impl_.pc_lblk_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
28567           CHK_(ptr);
28568         } else {
28569           goto handle_unusual;
28570         }
28571         continue;
28572       // optional uint64 pc_pclu = 10;
28573       case 10:
28574         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 80)) {
28575           _Internal::set_has_pc_pclu(&has_bits);
28576           _impl_.pc_pclu_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
28577           CHK_(ptr);
28578         } else {
28579           goto handle_unusual;
28580         }
28581         continue;
28582       // optional int32 pc_state = 11;
28583       case 11:
28584         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 88)) {
28585           _Internal::set_has_pc_state(&has_bits);
28586           _impl_.pc_state_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
28587           CHK_(ptr);
28588         } else {
28589           goto handle_unusual;
28590         }
28591         continue;
28592       default:
28593         goto handle_unusual;
28594     }  // switch
28595   handle_unusual:
28596     if ((tag == 0) || ((tag & 7) == 4)) {
28597       CHK_(ptr);
28598       ctx->SetLastTag(tag);
28599       goto message_done;
28600     }
28601     ptr = UnknownFieldParse(
28602         tag,
28603         _internal_metadata_.mutable_unknown_fields<std::string>(),
28604         ptr, ctx);
28605     CHK_(ptr != nullptr);
28606   }  // while
28607 message_done:
28608   _impl_._has_bits_.Or(has_bits);
28609   return ptr;
28610 failure:
28611   ptr = nullptr;
28612   goto message_done;
28613 #undef CHK_
28614 }
28615 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const28616 ::uint8_t* Ext4RemoveBlocksFtraceEvent::_InternalSerialize(
28617     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
28618   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.Ext4RemoveBlocksFtraceEvent)
28619   ::uint32_t cached_has_bits = 0;
28620   (void) cached_has_bits;
28621 
28622   cached_has_bits = _impl_._has_bits_[0];
28623   // optional uint64 dev = 1;
28624   if (cached_has_bits & 0x00000001u) {
28625     target = stream->EnsureSpace(target);
28626     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
28627   }
28628 
28629   // optional uint64 ino = 2;
28630   if (cached_has_bits & 0x00000002u) {
28631     target = stream->EnsureSpace(target);
28632     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_ino(), target);
28633   }
28634 
28635   // optional uint32 from = 3;
28636   if (cached_has_bits & 0x00000004u) {
28637     target = stream->EnsureSpace(target);
28638     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_from(), target);
28639   }
28640 
28641   // optional uint32 to = 4;
28642   if (cached_has_bits & 0x00000008u) {
28643     target = stream->EnsureSpace(target);
28644     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_to(), target);
28645   }
28646 
28647   // optional int64 partial = 5;
28648   if (cached_has_bits & 0x00000010u) {
28649     target = stream->EnsureSpace(target);
28650     target = ::_pbi::WireFormatLite::WriteInt64ToArray(5, this->_internal_partial(), target);
28651   }
28652 
28653   // optional uint64 ee_pblk = 6;
28654   if (cached_has_bits & 0x00000020u) {
28655     target = stream->EnsureSpace(target);
28656     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(6, this->_internal_ee_pblk(), target);
28657   }
28658 
28659   // optional uint32 ee_lblk = 7;
28660   if (cached_has_bits & 0x00000040u) {
28661     target = stream->EnsureSpace(target);
28662     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(7, this->_internal_ee_lblk(), target);
28663   }
28664 
28665   // optional uint32 ee_len = 8;
28666   if (cached_has_bits & 0x00000080u) {
28667     target = stream->EnsureSpace(target);
28668     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(8, this->_internal_ee_len(), target);
28669   }
28670 
28671   // optional uint32 pc_lblk = 9;
28672   if (cached_has_bits & 0x00000200u) {
28673     target = stream->EnsureSpace(target);
28674     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(9, this->_internal_pc_lblk(), target);
28675   }
28676 
28677   // optional uint64 pc_pclu = 10;
28678   if (cached_has_bits & 0x00000100u) {
28679     target = stream->EnsureSpace(target);
28680     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(10, this->_internal_pc_pclu(), target);
28681   }
28682 
28683   // optional int32 pc_state = 11;
28684   if (cached_has_bits & 0x00000400u) {
28685     target = stream->EnsureSpace(target);
28686     target = ::_pbi::WireFormatLite::WriteInt32ToArray(11, this->_internal_pc_state(), target);
28687   }
28688 
28689   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
28690     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
28691         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
28692   }
28693   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.Ext4RemoveBlocksFtraceEvent)
28694   return target;
28695 }
28696 
ByteSizeLong() const28697 size_t Ext4RemoveBlocksFtraceEvent::ByteSizeLong() const {
28698 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.Ext4RemoveBlocksFtraceEvent)
28699   size_t total_size = 0;
28700 
28701   ::uint32_t cached_has_bits = 0;
28702   // Prevent compiler warnings about cached_has_bits being unused
28703   (void) cached_has_bits;
28704 
28705   cached_has_bits = _impl_._has_bits_[0];
28706   if (cached_has_bits & 0x000000ffu) {
28707     // optional uint64 dev = 1;
28708     if (cached_has_bits & 0x00000001u) {
28709       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
28710     }
28711 
28712     // optional uint64 ino = 2;
28713     if (cached_has_bits & 0x00000002u) {
28714       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ino());
28715     }
28716 
28717     // optional uint32 from = 3;
28718     if (cached_has_bits & 0x00000004u) {
28719       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_from());
28720     }
28721 
28722     // optional uint32 to = 4;
28723     if (cached_has_bits & 0x00000008u) {
28724       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_to());
28725     }
28726 
28727     // optional int64 partial = 5;
28728     if (cached_has_bits & 0x00000010u) {
28729       total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_partial());
28730     }
28731 
28732     // optional uint64 ee_pblk = 6;
28733     if (cached_has_bits & 0x00000020u) {
28734       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ee_pblk());
28735     }
28736 
28737     // optional uint32 ee_lblk = 7;
28738     if (cached_has_bits & 0x00000040u) {
28739       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_ee_lblk());
28740     }
28741 
28742     // optional uint32 ee_len = 8;
28743     if (cached_has_bits & 0x00000080u) {
28744       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_ee_len());
28745     }
28746 
28747   }
28748   if (cached_has_bits & 0x00000700u) {
28749     // optional uint64 pc_pclu = 10;
28750     if (cached_has_bits & 0x00000100u) {
28751       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_pc_pclu());
28752     }
28753 
28754     // optional uint32 pc_lblk = 9;
28755     if (cached_has_bits & 0x00000200u) {
28756       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_pc_lblk());
28757     }
28758 
28759     // optional int32 pc_state = 11;
28760     if (cached_has_bits & 0x00000400u) {
28761       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_pc_state());
28762     }
28763 
28764   }
28765   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
28766     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
28767   }
28768   int cached_size = ::_pbi::ToCachedSize(total_size);
28769   SetCachedSize(cached_size);
28770   return total_size;
28771 }
28772 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)28773 void Ext4RemoveBlocksFtraceEvent::CheckTypeAndMergeFrom(
28774     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
28775   MergeFrom(*::_pbi::DownCast<const Ext4RemoveBlocksFtraceEvent*>(
28776       &from));
28777 }
28778 
MergeFrom(const Ext4RemoveBlocksFtraceEvent & from)28779 void Ext4RemoveBlocksFtraceEvent::MergeFrom(const Ext4RemoveBlocksFtraceEvent& from) {
28780   Ext4RemoveBlocksFtraceEvent* const _this = this;
28781   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.Ext4RemoveBlocksFtraceEvent)
28782   GOOGLE_DCHECK_NE(&from, _this);
28783   ::uint32_t cached_has_bits = 0;
28784   (void) cached_has_bits;
28785 
28786   cached_has_bits = from._impl_._has_bits_[0];
28787   if (cached_has_bits & 0x000000ffu) {
28788     if (cached_has_bits & 0x00000001u) {
28789       _this->_impl_.dev_ = from._impl_.dev_;
28790     }
28791     if (cached_has_bits & 0x00000002u) {
28792       _this->_impl_.ino_ = from._impl_.ino_;
28793     }
28794     if (cached_has_bits & 0x00000004u) {
28795       _this->_impl_.from_ = from._impl_.from_;
28796     }
28797     if (cached_has_bits & 0x00000008u) {
28798       _this->_impl_.to_ = from._impl_.to_;
28799     }
28800     if (cached_has_bits & 0x00000010u) {
28801       _this->_impl_.partial_ = from._impl_.partial_;
28802     }
28803     if (cached_has_bits & 0x00000020u) {
28804       _this->_impl_.ee_pblk_ = from._impl_.ee_pblk_;
28805     }
28806     if (cached_has_bits & 0x00000040u) {
28807       _this->_impl_.ee_lblk_ = from._impl_.ee_lblk_;
28808     }
28809     if (cached_has_bits & 0x00000080u) {
28810       _this->_impl_.ee_len_ = from._impl_.ee_len_;
28811     }
28812     _this->_impl_._has_bits_[0] |= cached_has_bits;
28813   }
28814   if (cached_has_bits & 0x00000700u) {
28815     if (cached_has_bits & 0x00000100u) {
28816       _this->_impl_.pc_pclu_ = from._impl_.pc_pclu_;
28817     }
28818     if (cached_has_bits & 0x00000200u) {
28819       _this->_impl_.pc_lblk_ = from._impl_.pc_lblk_;
28820     }
28821     if (cached_has_bits & 0x00000400u) {
28822       _this->_impl_.pc_state_ = from._impl_.pc_state_;
28823     }
28824     _this->_impl_._has_bits_[0] |= cached_has_bits;
28825   }
28826   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
28827 }
28828 
CopyFrom(const Ext4RemoveBlocksFtraceEvent & from)28829 void Ext4RemoveBlocksFtraceEvent::CopyFrom(const Ext4RemoveBlocksFtraceEvent& from) {
28830 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.Ext4RemoveBlocksFtraceEvent)
28831   if (&from == this) return;
28832   Clear();
28833   MergeFrom(from);
28834 }
28835 
IsInitialized() const28836 bool Ext4RemoveBlocksFtraceEvent::IsInitialized() const {
28837   return true;
28838 }
28839 
InternalSwap(Ext4RemoveBlocksFtraceEvent * other)28840 void Ext4RemoveBlocksFtraceEvent::InternalSwap(Ext4RemoveBlocksFtraceEvent* other) {
28841   using std::swap;
28842   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
28843   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
28844   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
28845       PROTOBUF_FIELD_OFFSET(Ext4RemoveBlocksFtraceEvent, _impl_.pc_state_)
28846       + sizeof(Ext4RemoveBlocksFtraceEvent::_impl_.pc_state_)  // NOLINT
28847       - PROTOBUF_FIELD_OFFSET(Ext4RemoveBlocksFtraceEvent, _impl_.dev_)>(
28848           reinterpret_cast<char*>(&_impl_.dev_),
28849           reinterpret_cast<char*>(&other->_impl_.dev_));
28850 }
28851 
GetTypeName() const28852 std::string Ext4RemoveBlocksFtraceEvent::GetTypeName() const {
28853   return "perfetto.protos.Ext4RemoveBlocksFtraceEvent";
28854 }
28855 
28856 
28857 // ===================================================================
28858 
28859 class Ext4RequestBlocksFtraceEvent::_Internal {
28860  public:
28861   using HasBits = decltype(std::declval<Ext4RequestBlocksFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)28862   static void set_has_dev(HasBits* has_bits) {
28863     (*has_bits)[0] |= 1u;
28864   }
set_has_ino(HasBits * has_bits)28865   static void set_has_ino(HasBits* has_bits) {
28866     (*has_bits)[0] |= 2u;
28867   }
set_has_len(HasBits * has_bits)28868   static void set_has_len(HasBits* has_bits) {
28869     (*has_bits)[0] |= 4u;
28870   }
set_has_logical(HasBits * has_bits)28871   static void set_has_logical(HasBits* has_bits) {
28872     (*has_bits)[0] |= 8u;
28873   }
set_has_lleft(HasBits * has_bits)28874   static void set_has_lleft(HasBits* has_bits) {
28875     (*has_bits)[0] |= 16u;
28876   }
set_has_lright(HasBits * has_bits)28877   static void set_has_lright(HasBits* has_bits) {
28878     (*has_bits)[0] |= 32u;
28879   }
set_has_goal(HasBits * has_bits)28880   static void set_has_goal(HasBits* has_bits) {
28881     (*has_bits)[0] |= 64u;
28882   }
set_has_pleft(HasBits * has_bits)28883   static void set_has_pleft(HasBits* has_bits) {
28884     (*has_bits)[0] |= 128u;
28885   }
set_has_pright(HasBits * has_bits)28886   static void set_has_pright(HasBits* has_bits) {
28887     (*has_bits)[0] |= 256u;
28888   }
set_has_flags(HasBits * has_bits)28889   static void set_has_flags(HasBits* has_bits) {
28890     (*has_bits)[0] |= 512u;
28891   }
28892 };
28893 
Ext4RequestBlocksFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)28894 Ext4RequestBlocksFtraceEvent::Ext4RequestBlocksFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
28895                          bool is_message_owned)
28896   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
28897   SharedCtor(arena, is_message_owned);
28898   // @@protoc_insertion_point(arena_constructor:perfetto.protos.Ext4RequestBlocksFtraceEvent)
28899 }
Ext4RequestBlocksFtraceEvent(const Ext4RequestBlocksFtraceEvent & from)28900 Ext4RequestBlocksFtraceEvent::Ext4RequestBlocksFtraceEvent(const Ext4RequestBlocksFtraceEvent& from)
28901   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
28902   Ext4RequestBlocksFtraceEvent* const _this = this; (void)_this;
28903   new (&_impl_) Impl_{
28904       decltype(_impl_._has_bits_){from._impl_._has_bits_}
28905     , /*decltype(_impl_._cached_size_)*/{}
28906     , decltype(_impl_.dev_){}
28907     , decltype(_impl_.ino_){}
28908     , decltype(_impl_.len_){}
28909     , decltype(_impl_.logical_){}
28910     , decltype(_impl_.lleft_){}
28911     , decltype(_impl_.lright_){}
28912     , decltype(_impl_.goal_){}
28913     , decltype(_impl_.pleft_){}
28914     , decltype(_impl_.pright_){}
28915     , decltype(_impl_.flags_){}};
28916 
28917   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
28918   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
28919     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.flags_) -
28920     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.flags_));
28921   // @@protoc_insertion_point(copy_constructor:perfetto.protos.Ext4RequestBlocksFtraceEvent)
28922 }
28923 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)28924 inline void Ext4RequestBlocksFtraceEvent::SharedCtor(
28925     ::_pb::Arena* arena, bool is_message_owned) {
28926   (void)arena;
28927   (void)is_message_owned;
28928   new (&_impl_) Impl_{
28929       decltype(_impl_._has_bits_){}
28930     , /*decltype(_impl_._cached_size_)*/{}
28931     , decltype(_impl_.dev_){::uint64_t{0u}}
28932     , decltype(_impl_.ino_){::uint64_t{0u}}
28933     , decltype(_impl_.len_){0u}
28934     , decltype(_impl_.logical_){0u}
28935     , decltype(_impl_.lleft_){0u}
28936     , decltype(_impl_.lright_){0u}
28937     , decltype(_impl_.goal_){::uint64_t{0u}}
28938     , decltype(_impl_.pleft_){::uint64_t{0u}}
28939     , decltype(_impl_.pright_){::uint64_t{0u}}
28940     , decltype(_impl_.flags_){0u}
28941   };
28942 }
28943 
~Ext4RequestBlocksFtraceEvent()28944 Ext4RequestBlocksFtraceEvent::~Ext4RequestBlocksFtraceEvent() {
28945   // @@protoc_insertion_point(destructor:perfetto.protos.Ext4RequestBlocksFtraceEvent)
28946   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
28947   (void)arena;
28948     return;
28949   }
28950   SharedDtor();
28951 }
28952 
SharedDtor()28953 inline void Ext4RequestBlocksFtraceEvent::SharedDtor() {
28954   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
28955 }
28956 
SetCachedSize(int size) const28957 void Ext4RequestBlocksFtraceEvent::SetCachedSize(int size) const {
28958   _impl_._cached_size_.Set(size);
28959 }
28960 
Clear()28961 void Ext4RequestBlocksFtraceEvent::Clear() {
28962 // @@protoc_insertion_point(message_clear_start:perfetto.protos.Ext4RequestBlocksFtraceEvent)
28963   ::uint32_t cached_has_bits = 0;
28964   // Prevent compiler warnings about cached_has_bits being unused
28965   (void) cached_has_bits;
28966 
28967   cached_has_bits = _impl_._has_bits_[0];
28968   if (cached_has_bits & 0x000000ffu) {
28969     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
28970         reinterpret_cast<char*>(&_impl_.pleft_) -
28971         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.pleft_));
28972   }
28973   if (cached_has_bits & 0x00000300u) {
28974     ::memset(&_impl_.pright_, 0, static_cast<size_t>(
28975         reinterpret_cast<char*>(&_impl_.flags_) -
28976         reinterpret_cast<char*>(&_impl_.pright_)) + sizeof(_impl_.flags_));
28977   }
28978   _impl_._has_bits_.Clear();
28979   _internal_metadata_.Clear<std::string>();
28980 }
28981 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)28982 const char* Ext4RequestBlocksFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
28983 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
28984   _Internal::HasBits has_bits{};
28985   while (!ctx->Done(&ptr)) {
28986     ::uint32_t tag;
28987     ptr = ::_pbi::ReadTag(ptr, &tag);
28988     switch (tag >> 3) {
28989       // optional uint64 dev = 1;
28990       case 1:
28991         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
28992           _Internal::set_has_dev(&has_bits);
28993           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
28994           CHK_(ptr);
28995         } else {
28996           goto handle_unusual;
28997         }
28998         continue;
28999       // optional uint64 ino = 2;
29000       case 2:
29001         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
29002           _Internal::set_has_ino(&has_bits);
29003           _impl_.ino_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
29004           CHK_(ptr);
29005         } else {
29006           goto handle_unusual;
29007         }
29008         continue;
29009       // optional uint32 len = 3;
29010       case 3:
29011         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
29012           _Internal::set_has_len(&has_bits);
29013           _impl_.len_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
29014           CHK_(ptr);
29015         } else {
29016           goto handle_unusual;
29017         }
29018         continue;
29019       // optional uint32 logical = 4;
29020       case 4:
29021         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
29022           _Internal::set_has_logical(&has_bits);
29023           _impl_.logical_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
29024           CHK_(ptr);
29025         } else {
29026           goto handle_unusual;
29027         }
29028         continue;
29029       // optional uint32 lleft = 5;
29030       case 5:
29031         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) {
29032           _Internal::set_has_lleft(&has_bits);
29033           _impl_.lleft_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
29034           CHK_(ptr);
29035         } else {
29036           goto handle_unusual;
29037         }
29038         continue;
29039       // optional uint32 lright = 6;
29040       case 6:
29041         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 48)) {
29042           _Internal::set_has_lright(&has_bits);
29043           _impl_.lright_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
29044           CHK_(ptr);
29045         } else {
29046           goto handle_unusual;
29047         }
29048         continue;
29049       // optional uint64 goal = 7;
29050       case 7:
29051         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 56)) {
29052           _Internal::set_has_goal(&has_bits);
29053           _impl_.goal_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
29054           CHK_(ptr);
29055         } else {
29056           goto handle_unusual;
29057         }
29058         continue;
29059       // optional uint64 pleft = 8;
29060       case 8:
29061         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 64)) {
29062           _Internal::set_has_pleft(&has_bits);
29063           _impl_.pleft_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
29064           CHK_(ptr);
29065         } else {
29066           goto handle_unusual;
29067         }
29068         continue;
29069       // optional uint64 pright = 9;
29070       case 9:
29071         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 72)) {
29072           _Internal::set_has_pright(&has_bits);
29073           _impl_.pright_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
29074           CHK_(ptr);
29075         } else {
29076           goto handle_unusual;
29077         }
29078         continue;
29079       // optional uint32 flags = 10;
29080       case 10:
29081         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 80)) {
29082           _Internal::set_has_flags(&has_bits);
29083           _impl_.flags_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
29084           CHK_(ptr);
29085         } else {
29086           goto handle_unusual;
29087         }
29088         continue;
29089       default:
29090         goto handle_unusual;
29091     }  // switch
29092   handle_unusual:
29093     if ((tag == 0) || ((tag & 7) == 4)) {
29094       CHK_(ptr);
29095       ctx->SetLastTag(tag);
29096       goto message_done;
29097     }
29098     ptr = UnknownFieldParse(
29099         tag,
29100         _internal_metadata_.mutable_unknown_fields<std::string>(),
29101         ptr, ctx);
29102     CHK_(ptr != nullptr);
29103   }  // while
29104 message_done:
29105   _impl_._has_bits_.Or(has_bits);
29106   return ptr;
29107 failure:
29108   ptr = nullptr;
29109   goto message_done;
29110 #undef CHK_
29111 }
29112 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const29113 ::uint8_t* Ext4RequestBlocksFtraceEvent::_InternalSerialize(
29114     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
29115   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.Ext4RequestBlocksFtraceEvent)
29116   ::uint32_t cached_has_bits = 0;
29117   (void) cached_has_bits;
29118 
29119   cached_has_bits = _impl_._has_bits_[0];
29120   // optional uint64 dev = 1;
29121   if (cached_has_bits & 0x00000001u) {
29122     target = stream->EnsureSpace(target);
29123     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
29124   }
29125 
29126   // optional uint64 ino = 2;
29127   if (cached_has_bits & 0x00000002u) {
29128     target = stream->EnsureSpace(target);
29129     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_ino(), target);
29130   }
29131 
29132   // optional uint32 len = 3;
29133   if (cached_has_bits & 0x00000004u) {
29134     target = stream->EnsureSpace(target);
29135     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_len(), target);
29136   }
29137 
29138   // optional uint32 logical = 4;
29139   if (cached_has_bits & 0x00000008u) {
29140     target = stream->EnsureSpace(target);
29141     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_logical(), target);
29142   }
29143 
29144   // optional uint32 lleft = 5;
29145   if (cached_has_bits & 0x00000010u) {
29146     target = stream->EnsureSpace(target);
29147     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_lleft(), target);
29148   }
29149 
29150   // optional uint32 lright = 6;
29151   if (cached_has_bits & 0x00000020u) {
29152     target = stream->EnsureSpace(target);
29153     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_lright(), target);
29154   }
29155 
29156   // optional uint64 goal = 7;
29157   if (cached_has_bits & 0x00000040u) {
29158     target = stream->EnsureSpace(target);
29159     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(7, this->_internal_goal(), target);
29160   }
29161 
29162   // optional uint64 pleft = 8;
29163   if (cached_has_bits & 0x00000080u) {
29164     target = stream->EnsureSpace(target);
29165     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(8, this->_internal_pleft(), target);
29166   }
29167 
29168   // optional uint64 pright = 9;
29169   if (cached_has_bits & 0x00000100u) {
29170     target = stream->EnsureSpace(target);
29171     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(9, this->_internal_pright(), target);
29172   }
29173 
29174   // optional uint32 flags = 10;
29175   if (cached_has_bits & 0x00000200u) {
29176     target = stream->EnsureSpace(target);
29177     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(10, this->_internal_flags(), target);
29178   }
29179 
29180   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
29181     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
29182         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
29183   }
29184   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.Ext4RequestBlocksFtraceEvent)
29185   return target;
29186 }
29187 
ByteSizeLong() const29188 size_t Ext4RequestBlocksFtraceEvent::ByteSizeLong() const {
29189 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.Ext4RequestBlocksFtraceEvent)
29190   size_t total_size = 0;
29191 
29192   ::uint32_t cached_has_bits = 0;
29193   // Prevent compiler warnings about cached_has_bits being unused
29194   (void) cached_has_bits;
29195 
29196   cached_has_bits = _impl_._has_bits_[0];
29197   if (cached_has_bits & 0x000000ffu) {
29198     // optional uint64 dev = 1;
29199     if (cached_has_bits & 0x00000001u) {
29200       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
29201     }
29202 
29203     // optional uint64 ino = 2;
29204     if (cached_has_bits & 0x00000002u) {
29205       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ino());
29206     }
29207 
29208     // optional uint32 len = 3;
29209     if (cached_has_bits & 0x00000004u) {
29210       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_len());
29211     }
29212 
29213     // optional uint32 logical = 4;
29214     if (cached_has_bits & 0x00000008u) {
29215       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_logical());
29216     }
29217 
29218     // optional uint32 lleft = 5;
29219     if (cached_has_bits & 0x00000010u) {
29220       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_lleft());
29221     }
29222 
29223     // optional uint32 lright = 6;
29224     if (cached_has_bits & 0x00000020u) {
29225       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_lright());
29226     }
29227 
29228     // optional uint64 goal = 7;
29229     if (cached_has_bits & 0x00000040u) {
29230       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_goal());
29231     }
29232 
29233     // optional uint64 pleft = 8;
29234     if (cached_has_bits & 0x00000080u) {
29235       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_pleft());
29236     }
29237 
29238   }
29239   if (cached_has_bits & 0x00000300u) {
29240     // optional uint64 pright = 9;
29241     if (cached_has_bits & 0x00000100u) {
29242       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_pright());
29243     }
29244 
29245     // optional uint32 flags = 10;
29246     if (cached_has_bits & 0x00000200u) {
29247       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_flags());
29248     }
29249 
29250   }
29251   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
29252     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
29253   }
29254   int cached_size = ::_pbi::ToCachedSize(total_size);
29255   SetCachedSize(cached_size);
29256   return total_size;
29257 }
29258 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)29259 void Ext4RequestBlocksFtraceEvent::CheckTypeAndMergeFrom(
29260     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
29261   MergeFrom(*::_pbi::DownCast<const Ext4RequestBlocksFtraceEvent*>(
29262       &from));
29263 }
29264 
MergeFrom(const Ext4RequestBlocksFtraceEvent & from)29265 void Ext4RequestBlocksFtraceEvent::MergeFrom(const Ext4RequestBlocksFtraceEvent& from) {
29266   Ext4RequestBlocksFtraceEvent* const _this = this;
29267   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.Ext4RequestBlocksFtraceEvent)
29268   GOOGLE_DCHECK_NE(&from, _this);
29269   ::uint32_t cached_has_bits = 0;
29270   (void) cached_has_bits;
29271 
29272   cached_has_bits = from._impl_._has_bits_[0];
29273   if (cached_has_bits & 0x000000ffu) {
29274     if (cached_has_bits & 0x00000001u) {
29275       _this->_impl_.dev_ = from._impl_.dev_;
29276     }
29277     if (cached_has_bits & 0x00000002u) {
29278       _this->_impl_.ino_ = from._impl_.ino_;
29279     }
29280     if (cached_has_bits & 0x00000004u) {
29281       _this->_impl_.len_ = from._impl_.len_;
29282     }
29283     if (cached_has_bits & 0x00000008u) {
29284       _this->_impl_.logical_ = from._impl_.logical_;
29285     }
29286     if (cached_has_bits & 0x00000010u) {
29287       _this->_impl_.lleft_ = from._impl_.lleft_;
29288     }
29289     if (cached_has_bits & 0x00000020u) {
29290       _this->_impl_.lright_ = from._impl_.lright_;
29291     }
29292     if (cached_has_bits & 0x00000040u) {
29293       _this->_impl_.goal_ = from._impl_.goal_;
29294     }
29295     if (cached_has_bits & 0x00000080u) {
29296       _this->_impl_.pleft_ = from._impl_.pleft_;
29297     }
29298     _this->_impl_._has_bits_[0] |= cached_has_bits;
29299   }
29300   if (cached_has_bits & 0x00000300u) {
29301     if (cached_has_bits & 0x00000100u) {
29302       _this->_impl_.pright_ = from._impl_.pright_;
29303     }
29304     if (cached_has_bits & 0x00000200u) {
29305       _this->_impl_.flags_ = from._impl_.flags_;
29306     }
29307     _this->_impl_._has_bits_[0] |= cached_has_bits;
29308   }
29309   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
29310 }
29311 
CopyFrom(const Ext4RequestBlocksFtraceEvent & from)29312 void Ext4RequestBlocksFtraceEvent::CopyFrom(const Ext4RequestBlocksFtraceEvent& from) {
29313 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.Ext4RequestBlocksFtraceEvent)
29314   if (&from == this) return;
29315   Clear();
29316   MergeFrom(from);
29317 }
29318 
IsInitialized() const29319 bool Ext4RequestBlocksFtraceEvent::IsInitialized() const {
29320   return true;
29321 }
29322 
InternalSwap(Ext4RequestBlocksFtraceEvent * other)29323 void Ext4RequestBlocksFtraceEvent::InternalSwap(Ext4RequestBlocksFtraceEvent* other) {
29324   using std::swap;
29325   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
29326   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
29327   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
29328       PROTOBUF_FIELD_OFFSET(Ext4RequestBlocksFtraceEvent, _impl_.flags_)
29329       + sizeof(Ext4RequestBlocksFtraceEvent::_impl_.flags_)  // NOLINT
29330       - PROTOBUF_FIELD_OFFSET(Ext4RequestBlocksFtraceEvent, _impl_.dev_)>(
29331           reinterpret_cast<char*>(&_impl_.dev_),
29332           reinterpret_cast<char*>(&other->_impl_.dev_));
29333 }
29334 
GetTypeName() const29335 std::string Ext4RequestBlocksFtraceEvent::GetTypeName() const {
29336   return "perfetto.protos.Ext4RequestBlocksFtraceEvent";
29337 }
29338 
29339 
29340 // ===================================================================
29341 
29342 class Ext4RequestInodeFtraceEvent::_Internal {
29343  public:
29344   using HasBits = decltype(std::declval<Ext4RequestInodeFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)29345   static void set_has_dev(HasBits* has_bits) {
29346     (*has_bits)[0] |= 1u;
29347   }
set_has_dir(HasBits * has_bits)29348   static void set_has_dir(HasBits* has_bits) {
29349     (*has_bits)[0] |= 2u;
29350   }
set_has_mode(HasBits * has_bits)29351   static void set_has_mode(HasBits* has_bits) {
29352     (*has_bits)[0] |= 4u;
29353   }
29354 };
29355 
Ext4RequestInodeFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)29356 Ext4RequestInodeFtraceEvent::Ext4RequestInodeFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
29357                          bool is_message_owned)
29358   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
29359   SharedCtor(arena, is_message_owned);
29360   // @@protoc_insertion_point(arena_constructor:perfetto.protos.Ext4RequestInodeFtraceEvent)
29361 }
Ext4RequestInodeFtraceEvent(const Ext4RequestInodeFtraceEvent & from)29362 Ext4RequestInodeFtraceEvent::Ext4RequestInodeFtraceEvent(const Ext4RequestInodeFtraceEvent& from)
29363   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
29364   Ext4RequestInodeFtraceEvent* const _this = this; (void)_this;
29365   new (&_impl_) Impl_{
29366       decltype(_impl_._has_bits_){from._impl_._has_bits_}
29367     , /*decltype(_impl_._cached_size_)*/{}
29368     , decltype(_impl_.dev_){}
29369     , decltype(_impl_.dir_){}
29370     , decltype(_impl_.mode_){}};
29371 
29372   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
29373   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
29374     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.mode_) -
29375     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.mode_));
29376   // @@protoc_insertion_point(copy_constructor:perfetto.protos.Ext4RequestInodeFtraceEvent)
29377 }
29378 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)29379 inline void Ext4RequestInodeFtraceEvent::SharedCtor(
29380     ::_pb::Arena* arena, bool is_message_owned) {
29381   (void)arena;
29382   (void)is_message_owned;
29383   new (&_impl_) Impl_{
29384       decltype(_impl_._has_bits_){}
29385     , /*decltype(_impl_._cached_size_)*/{}
29386     , decltype(_impl_.dev_){::uint64_t{0u}}
29387     , decltype(_impl_.dir_){::uint64_t{0u}}
29388     , decltype(_impl_.mode_){0u}
29389   };
29390 }
29391 
~Ext4RequestInodeFtraceEvent()29392 Ext4RequestInodeFtraceEvent::~Ext4RequestInodeFtraceEvent() {
29393   // @@protoc_insertion_point(destructor:perfetto.protos.Ext4RequestInodeFtraceEvent)
29394   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
29395   (void)arena;
29396     return;
29397   }
29398   SharedDtor();
29399 }
29400 
SharedDtor()29401 inline void Ext4RequestInodeFtraceEvent::SharedDtor() {
29402   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
29403 }
29404 
SetCachedSize(int size) const29405 void Ext4RequestInodeFtraceEvent::SetCachedSize(int size) const {
29406   _impl_._cached_size_.Set(size);
29407 }
29408 
Clear()29409 void Ext4RequestInodeFtraceEvent::Clear() {
29410 // @@protoc_insertion_point(message_clear_start:perfetto.protos.Ext4RequestInodeFtraceEvent)
29411   ::uint32_t cached_has_bits = 0;
29412   // Prevent compiler warnings about cached_has_bits being unused
29413   (void) cached_has_bits;
29414 
29415   cached_has_bits = _impl_._has_bits_[0];
29416   if (cached_has_bits & 0x00000007u) {
29417     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
29418         reinterpret_cast<char*>(&_impl_.mode_) -
29419         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.mode_));
29420   }
29421   _impl_._has_bits_.Clear();
29422   _internal_metadata_.Clear<std::string>();
29423 }
29424 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)29425 const char* Ext4RequestInodeFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
29426 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
29427   _Internal::HasBits has_bits{};
29428   while (!ctx->Done(&ptr)) {
29429     ::uint32_t tag;
29430     ptr = ::_pbi::ReadTag(ptr, &tag);
29431     switch (tag >> 3) {
29432       // optional uint64 dev = 1;
29433       case 1:
29434         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
29435           _Internal::set_has_dev(&has_bits);
29436           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
29437           CHK_(ptr);
29438         } else {
29439           goto handle_unusual;
29440         }
29441         continue;
29442       // optional uint64 dir = 2;
29443       case 2:
29444         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
29445           _Internal::set_has_dir(&has_bits);
29446           _impl_.dir_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
29447           CHK_(ptr);
29448         } else {
29449           goto handle_unusual;
29450         }
29451         continue;
29452       // optional uint32 mode = 3;
29453       case 3:
29454         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
29455           _Internal::set_has_mode(&has_bits);
29456           _impl_.mode_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
29457           CHK_(ptr);
29458         } else {
29459           goto handle_unusual;
29460         }
29461         continue;
29462       default:
29463         goto handle_unusual;
29464     }  // switch
29465   handle_unusual:
29466     if ((tag == 0) || ((tag & 7) == 4)) {
29467       CHK_(ptr);
29468       ctx->SetLastTag(tag);
29469       goto message_done;
29470     }
29471     ptr = UnknownFieldParse(
29472         tag,
29473         _internal_metadata_.mutable_unknown_fields<std::string>(),
29474         ptr, ctx);
29475     CHK_(ptr != nullptr);
29476   }  // while
29477 message_done:
29478   _impl_._has_bits_.Or(has_bits);
29479   return ptr;
29480 failure:
29481   ptr = nullptr;
29482   goto message_done;
29483 #undef CHK_
29484 }
29485 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const29486 ::uint8_t* Ext4RequestInodeFtraceEvent::_InternalSerialize(
29487     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
29488   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.Ext4RequestInodeFtraceEvent)
29489   ::uint32_t cached_has_bits = 0;
29490   (void) cached_has_bits;
29491 
29492   cached_has_bits = _impl_._has_bits_[0];
29493   // optional uint64 dev = 1;
29494   if (cached_has_bits & 0x00000001u) {
29495     target = stream->EnsureSpace(target);
29496     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
29497   }
29498 
29499   // optional uint64 dir = 2;
29500   if (cached_has_bits & 0x00000002u) {
29501     target = stream->EnsureSpace(target);
29502     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_dir(), target);
29503   }
29504 
29505   // optional uint32 mode = 3;
29506   if (cached_has_bits & 0x00000004u) {
29507     target = stream->EnsureSpace(target);
29508     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_mode(), target);
29509   }
29510 
29511   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
29512     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
29513         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
29514   }
29515   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.Ext4RequestInodeFtraceEvent)
29516   return target;
29517 }
29518 
ByteSizeLong() const29519 size_t Ext4RequestInodeFtraceEvent::ByteSizeLong() const {
29520 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.Ext4RequestInodeFtraceEvent)
29521   size_t total_size = 0;
29522 
29523   ::uint32_t cached_has_bits = 0;
29524   // Prevent compiler warnings about cached_has_bits being unused
29525   (void) cached_has_bits;
29526 
29527   cached_has_bits = _impl_._has_bits_[0];
29528   if (cached_has_bits & 0x00000007u) {
29529     // optional uint64 dev = 1;
29530     if (cached_has_bits & 0x00000001u) {
29531       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
29532     }
29533 
29534     // optional uint64 dir = 2;
29535     if (cached_has_bits & 0x00000002u) {
29536       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dir());
29537     }
29538 
29539     // optional uint32 mode = 3;
29540     if (cached_has_bits & 0x00000004u) {
29541       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_mode());
29542     }
29543 
29544   }
29545   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
29546     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
29547   }
29548   int cached_size = ::_pbi::ToCachedSize(total_size);
29549   SetCachedSize(cached_size);
29550   return total_size;
29551 }
29552 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)29553 void Ext4RequestInodeFtraceEvent::CheckTypeAndMergeFrom(
29554     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
29555   MergeFrom(*::_pbi::DownCast<const Ext4RequestInodeFtraceEvent*>(
29556       &from));
29557 }
29558 
MergeFrom(const Ext4RequestInodeFtraceEvent & from)29559 void Ext4RequestInodeFtraceEvent::MergeFrom(const Ext4RequestInodeFtraceEvent& from) {
29560   Ext4RequestInodeFtraceEvent* const _this = this;
29561   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.Ext4RequestInodeFtraceEvent)
29562   GOOGLE_DCHECK_NE(&from, _this);
29563   ::uint32_t cached_has_bits = 0;
29564   (void) cached_has_bits;
29565 
29566   cached_has_bits = from._impl_._has_bits_[0];
29567   if (cached_has_bits & 0x00000007u) {
29568     if (cached_has_bits & 0x00000001u) {
29569       _this->_impl_.dev_ = from._impl_.dev_;
29570     }
29571     if (cached_has_bits & 0x00000002u) {
29572       _this->_impl_.dir_ = from._impl_.dir_;
29573     }
29574     if (cached_has_bits & 0x00000004u) {
29575       _this->_impl_.mode_ = from._impl_.mode_;
29576     }
29577     _this->_impl_._has_bits_[0] |= cached_has_bits;
29578   }
29579   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
29580 }
29581 
CopyFrom(const Ext4RequestInodeFtraceEvent & from)29582 void Ext4RequestInodeFtraceEvent::CopyFrom(const Ext4RequestInodeFtraceEvent& from) {
29583 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.Ext4RequestInodeFtraceEvent)
29584   if (&from == this) return;
29585   Clear();
29586   MergeFrom(from);
29587 }
29588 
IsInitialized() const29589 bool Ext4RequestInodeFtraceEvent::IsInitialized() const {
29590   return true;
29591 }
29592 
InternalSwap(Ext4RequestInodeFtraceEvent * other)29593 void Ext4RequestInodeFtraceEvent::InternalSwap(Ext4RequestInodeFtraceEvent* other) {
29594   using std::swap;
29595   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
29596   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
29597   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
29598       PROTOBUF_FIELD_OFFSET(Ext4RequestInodeFtraceEvent, _impl_.mode_)
29599       + sizeof(Ext4RequestInodeFtraceEvent::_impl_.mode_)  // NOLINT
29600       - PROTOBUF_FIELD_OFFSET(Ext4RequestInodeFtraceEvent, _impl_.dev_)>(
29601           reinterpret_cast<char*>(&_impl_.dev_),
29602           reinterpret_cast<char*>(&other->_impl_.dev_));
29603 }
29604 
GetTypeName() const29605 std::string Ext4RequestInodeFtraceEvent::GetTypeName() const {
29606   return "perfetto.protos.Ext4RequestInodeFtraceEvent";
29607 }
29608 
29609 
29610 // ===================================================================
29611 
29612 class Ext4SyncFsFtraceEvent::_Internal {
29613  public:
29614   using HasBits = decltype(std::declval<Ext4SyncFsFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)29615   static void set_has_dev(HasBits* has_bits) {
29616     (*has_bits)[0] |= 1u;
29617   }
set_has_wait(HasBits * has_bits)29618   static void set_has_wait(HasBits* has_bits) {
29619     (*has_bits)[0] |= 2u;
29620   }
29621 };
29622 
Ext4SyncFsFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)29623 Ext4SyncFsFtraceEvent::Ext4SyncFsFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
29624                          bool is_message_owned)
29625   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
29626   SharedCtor(arena, is_message_owned);
29627   // @@protoc_insertion_point(arena_constructor:perfetto.protos.Ext4SyncFsFtraceEvent)
29628 }
Ext4SyncFsFtraceEvent(const Ext4SyncFsFtraceEvent & from)29629 Ext4SyncFsFtraceEvent::Ext4SyncFsFtraceEvent(const Ext4SyncFsFtraceEvent& from)
29630   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
29631   Ext4SyncFsFtraceEvent* const _this = this; (void)_this;
29632   new (&_impl_) Impl_{
29633       decltype(_impl_._has_bits_){from._impl_._has_bits_}
29634     , /*decltype(_impl_._cached_size_)*/{}
29635     , decltype(_impl_.dev_){}
29636     , decltype(_impl_.wait_){}};
29637 
29638   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
29639   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
29640     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.wait_) -
29641     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.wait_));
29642   // @@protoc_insertion_point(copy_constructor:perfetto.protos.Ext4SyncFsFtraceEvent)
29643 }
29644 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)29645 inline void Ext4SyncFsFtraceEvent::SharedCtor(
29646     ::_pb::Arena* arena, bool is_message_owned) {
29647   (void)arena;
29648   (void)is_message_owned;
29649   new (&_impl_) Impl_{
29650       decltype(_impl_._has_bits_){}
29651     , /*decltype(_impl_._cached_size_)*/{}
29652     , decltype(_impl_.dev_){::uint64_t{0u}}
29653     , decltype(_impl_.wait_){0}
29654   };
29655 }
29656 
~Ext4SyncFsFtraceEvent()29657 Ext4SyncFsFtraceEvent::~Ext4SyncFsFtraceEvent() {
29658   // @@protoc_insertion_point(destructor:perfetto.protos.Ext4SyncFsFtraceEvent)
29659   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
29660   (void)arena;
29661     return;
29662   }
29663   SharedDtor();
29664 }
29665 
SharedDtor()29666 inline void Ext4SyncFsFtraceEvent::SharedDtor() {
29667   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
29668 }
29669 
SetCachedSize(int size) const29670 void Ext4SyncFsFtraceEvent::SetCachedSize(int size) const {
29671   _impl_._cached_size_.Set(size);
29672 }
29673 
Clear()29674 void Ext4SyncFsFtraceEvent::Clear() {
29675 // @@protoc_insertion_point(message_clear_start:perfetto.protos.Ext4SyncFsFtraceEvent)
29676   ::uint32_t cached_has_bits = 0;
29677   // Prevent compiler warnings about cached_has_bits being unused
29678   (void) cached_has_bits;
29679 
29680   cached_has_bits = _impl_._has_bits_[0];
29681   if (cached_has_bits & 0x00000003u) {
29682     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
29683         reinterpret_cast<char*>(&_impl_.wait_) -
29684         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.wait_));
29685   }
29686   _impl_._has_bits_.Clear();
29687   _internal_metadata_.Clear<std::string>();
29688 }
29689 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)29690 const char* Ext4SyncFsFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
29691 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
29692   _Internal::HasBits has_bits{};
29693   while (!ctx->Done(&ptr)) {
29694     ::uint32_t tag;
29695     ptr = ::_pbi::ReadTag(ptr, &tag);
29696     switch (tag >> 3) {
29697       // optional uint64 dev = 1;
29698       case 1:
29699         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
29700           _Internal::set_has_dev(&has_bits);
29701           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
29702           CHK_(ptr);
29703         } else {
29704           goto handle_unusual;
29705         }
29706         continue;
29707       // optional int32 wait = 2;
29708       case 2:
29709         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
29710           _Internal::set_has_wait(&has_bits);
29711           _impl_.wait_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
29712           CHK_(ptr);
29713         } else {
29714           goto handle_unusual;
29715         }
29716         continue;
29717       default:
29718         goto handle_unusual;
29719     }  // switch
29720   handle_unusual:
29721     if ((tag == 0) || ((tag & 7) == 4)) {
29722       CHK_(ptr);
29723       ctx->SetLastTag(tag);
29724       goto message_done;
29725     }
29726     ptr = UnknownFieldParse(
29727         tag,
29728         _internal_metadata_.mutable_unknown_fields<std::string>(),
29729         ptr, ctx);
29730     CHK_(ptr != nullptr);
29731   }  // while
29732 message_done:
29733   _impl_._has_bits_.Or(has_bits);
29734   return ptr;
29735 failure:
29736   ptr = nullptr;
29737   goto message_done;
29738 #undef CHK_
29739 }
29740 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const29741 ::uint8_t* Ext4SyncFsFtraceEvent::_InternalSerialize(
29742     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
29743   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.Ext4SyncFsFtraceEvent)
29744   ::uint32_t cached_has_bits = 0;
29745   (void) cached_has_bits;
29746 
29747   cached_has_bits = _impl_._has_bits_[0];
29748   // optional uint64 dev = 1;
29749   if (cached_has_bits & 0x00000001u) {
29750     target = stream->EnsureSpace(target);
29751     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
29752   }
29753 
29754   // optional int32 wait = 2;
29755   if (cached_has_bits & 0x00000002u) {
29756     target = stream->EnsureSpace(target);
29757     target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_wait(), target);
29758   }
29759 
29760   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
29761     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
29762         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
29763   }
29764   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.Ext4SyncFsFtraceEvent)
29765   return target;
29766 }
29767 
ByteSizeLong() const29768 size_t Ext4SyncFsFtraceEvent::ByteSizeLong() const {
29769 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.Ext4SyncFsFtraceEvent)
29770   size_t total_size = 0;
29771 
29772   ::uint32_t cached_has_bits = 0;
29773   // Prevent compiler warnings about cached_has_bits being unused
29774   (void) cached_has_bits;
29775 
29776   cached_has_bits = _impl_._has_bits_[0];
29777   if (cached_has_bits & 0x00000003u) {
29778     // optional uint64 dev = 1;
29779     if (cached_has_bits & 0x00000001u) {
29780       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
29781     }
29782 
29783     // optional int32 wait = 2;
29784     if (cached_has_bits & 0x00000002u) {
29785       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_wait());
29786     }
29787 
29788   }
29789   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
29790     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
29791   }
29792   int cached_size = ::_pbi::ToCachedSize(total_size);
29793   SetCachedSize(cached_size);
29794   return total_size;
29795 }
29796 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)29797 void Ext4SyncFsFtraceEvent::CheckTypeAndMergeFrom(
29798     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
29799   MergeFrom(*::_pbi::DownCast<const Ext4SyncFsFtraceEvent*>(
29800       &from));
29801 }
29802 
MergeFrom(const Ext4SyncFsFtraceEvent & from)29803 void Ext4SyncFsFtraceEvent::MergeFrom(const Ext4SyncFsFtraceEvent& from) {
29804   Ext4SyncFsFtraceEvent* const _this = this;
29805   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.Ext4SyncFsFtraceEvent)
29806   GOOGLE_DCHECK_NE(&from, _this);
29807   ::uint32_t cached_has_bits = 0;
29808   (void) cached_has_bits;
29809 
29810   cached_has_bits = from._impl_._has_bits_[0];
29811   if (cached_has_bits & 0x00000003u) {
29812     if (cached_has_bits & 0x00000001u) {
29813       _this->_impl_.dev_ = from._impl_.dev_;
29814     }
29815     if (cached_has_bits & 0x00000002u) {
29816       _this->_impl_.wait_ = from._impl_.wait_;
29817     }
29818     _this->_impl_._has_bits_[0] |= cached_has_bits;
29819   }
29820   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
29821 }
29822 
CopyFrom(const Ext4SyncFsFtraceEvent & from)29823 void Ext4SyncFsFtraceEvent::CopyFrom(const Ext4SyncFsFtraceEvent& from) {
29824 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.Ext4SyncFsFtraceEvent)
29825   if (&from == this) return;
29826   Clear();
29827   MergeFrom(from);
29828 }
29829 
IsInitialized() const29830 bool Ext4SyncFsFtraceEvent::IsInitialized() const {
29831   return true;
29832 }
29833 
InternalSwap(Ext4SyncFsFtraceEvent * other)29834 void Ext4SyncFsFtraceEvent::InternalSwap(Ext4SyncFsFtraceEvent* other) {
29835   using std::swap;
29836   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
29837   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
29838   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
29839       PROTOBUF_FIELD_OFFSET(Ext4SyncFsFtraceEvent, _impl_.wait_)
29840       + sizeof(Ext4SyncFsFtraceEvent::_impl_.wait_)  // NOLINT
29841       - PROTOBUF_FIELD_OFFSET(Ext4SyncFsFtraceEvent, _impl_.dev_)>(
29842           reinterpret_cast<char*>(&_impl_.dev_),
29843           reinterpret_cast<char*>(&other->_impl_.dev_));
29844 }
29845 
GetTypeName() const29846 std::string Ext4SyncFsFtraceEvent::GetTypeName() const {
29847   return "perfetto.protos.Ext4SyncFsFtraceEvent";
29848 }
29849 
29850 
29851 // ===================================================================
29852 
29853 class Ext4TrimAllFreeFtraceEvent::_Internal {
29854  public:
29855   using HasBits = decltype(std::declval<Ext4TrimAllFreeFtraceEvent>()._impl_._has_bits_);
set_has_dev_major(HasBits * has_bits)29856   static void set_has_dev_major(HasBits* has_bits) {
29857     (*has_bits)[0] |= 1u;
29858   }
set_has_dev_minor(HasBits * has_bits)29859   static void set_has_dev_minor(HasBits* has_bits) {
29860     (*has_bits)[0] |= 2u;
29861   }
set_has_group(HasBits * has_bits)29862   static void set_has_group(HasBits* has_bits) {
29863     (*has_bits)[0] |= 4u;
29864   }
set_has_start(HasBits * has_bits)29865   static void set_has_start(HasBits* has_bits) {
29866     (*has_bits)[0] |= 8u;
29867   }
set_has_len(HasBits * has_bits)29868   static void set_has_len(HasBits* has_bits) {
29869     (*has_bits)[0] |= 16u;
29870   }
29871 };
29872 
Ext4TrimAllFreeFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)29873 Ext4TrimAllFreeFtraceEvent::Ext4TrimAllFreeFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
29874                          bool is_message_owned)
29875   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
29876   SharedCtor(arena, is_message_owned);
29877   // @@protoc_insertion_point(arena_constructor:perfetto.protos.Ext4TrimAllFreeFtraceEvent)
29878 }
Ext4TrimAllFreeFtraceEvent(const Ext4TrimAllFreeFtraceEvent & from)29879 Ext4TrimAllFreeFtraceEvent::Ext4TrimAllFreeFtraceEvent(const Ext4TrimAllFreeFtraceEvent& from)
29880   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
29881   Ext4TrimAllFreeFtraceEvent* const _this = this; (void)_this;
29882   new (&_impl_) Impl_{
29883       decltype(_impl_._has_bits_){from._impl_._has_bits_}
29884     , /*decltype(_impl_._cached_size_)*/{}
29885     , decltype(_impl_.dev_major_){}
29886     , decltype(_impl_.dev_minor_){}
29887     , decltype(_impl_.group_){}
29888     , decltype(_impl_.start_){}
29889     , decltype(_impl_.len_){}};
29890 
29891   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
29892   ::memcpy(&_impl_.dev_major_, &from._impl_.dev_major_,
29893     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.len_) -
29894     reinterpret_cast<char*>(&_impl_.dev_major_)) + sizeof(_impl_.len_));
29895   // @@protoc_insertion_point(copy_constructor:perfetto.protos.Ext4TrimAllFreeFtraceEvent)
29896 }
29897 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)29898 inline void Ext4TrimAllFreeFtraceEvent::SharedCtor(
29899     ::_pb::Arena* arena, bool is_message_owned) {
29900   (void)arena;
29901   (void)is_message_owned;
29902   new (&_impl_) Impl_{
29903       decltype(_impl_._has_bits_){}
29904     , /*decltype(_impl_._cached_size_)*/{}
29905     , decltype(_impl_.dev_major_){0}
29906     , decltype(_impl_.dev_minor_){0}
29907     , decltype(_impl_.group_){0u}
29908     , decltype(_impl_.start_){0}
29909     , decltype(_impl_.len_){0}
29910   };
29911 }
29912 
~Ext4TrimAllFreeFtraceEvent()29913 Ext4TrimAllFreeFtraceEvent::~Ext4TrimAllFreeFtraceEvent() {
29914   // @@protoc_insertion_point(destructor:perfetto.protos.Ext4TrimAllFreeFtraceEvent)
29915   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
29916   (void)arena;
29917     return;
29918   }
29919   SharedDtor();
29920 }
29921 
SharedDtor()29922 inline void Ext4TrimAllFreeFtraceEvent::SharedDtor() {
29923   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
29924 }
29925 
SetCachedSize(int size) const29926 void Ext4TrimAllFreeFtraceEvent::SetCachedSize(int size) const {
29927   _impl_._cached_size_.Set(size);
29928 }
29929 
Clear()29930 void Ext4TrimAllFreeFtraceEvent::Clear() {
29931 // @@protoc_insertion_point(message_clear_start:perfetto.protos.Ext4TrimAllFreeFtraceEvent)
29932   ::uint32_t cached_has_bits = 0;
29933   // Prevent compiler warnings about cached_has_bits being unused
29934   (void) cached_has_bits;
29935 
29936   cached_has_bits = _impl_._has_bits_[0];
29937   if (cached_has_bits & 0x0000001fu) {
29938     ::memset(&_impl_.dev_major_, 0, static_cast<size_t>(
29939         reinterpret_cast<char*>(&_impl_.len_) -
29940         reinterpret_cast<char*>(&_impl_.dev_major_)) + sizeof(_impl_.len_));
29941   }
29942   _impl_._has_bits_.Clear();
29943   _internal_metadata_.Clear<std::string>();
29944 }
29945 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)29946 const char* Ext4TrimAllFreeFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
29947 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
29948   _Internal::HasBits has_bits{};
29949   while (!ctx->Done(&ptr)) {
29950     ::uint32_t tag;
29951     ptr = ::_pbi::ReadTag(ptr, &tag);
29952     switch (tag >> 3) {
29953       // optional int32 dev_major = 1;
29954       case 1:
29955         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
29956           _Internal::set_has_dev_major(&has_bits);
29957           _impl_.dev_major_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
29958           CHK_(ptr);
29959         } else {
29960           goto handle_unusual;
29961         }
29962         continue;
29963       // optional int32 dev_minor = 2;
29964       case 2:
29965         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
29966           _Internal::set_has_dev_minor(&has_bits);
29967           _impl_.dev_minor_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
29968           CHK_(ptr);
29969         } else {
29970           goto handle_unusual;
29971         }
29972         continue;
29973       // optional uint32 group = 3;
29974       case 3:
29975         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
29976           _Internal::set_has_group(&has_bits);
29977           _impl_.group_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
29978           CHK_(ptr);
29979         } else {
29980           goto handle_unusual;
29981         }
29982         continue;
29983       // optional int32 start = 4;
29984       case 4:
29985         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
29986           _Internal::set_has_start(&has_bits);
29987           _impl_.start_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
29988           CHK_(ptr);
29989         } else {
29990           goto handle_unusual;
29991         }
29992         continue;
29993       // optional int32 len = 5;
29994       case 5:
29995         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) {
29996           _Internal::set_has_len(&has_bits);
29997           _impl_.len_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
29998           CHK_(ptr);
29999         } else {
30000           goto handle_unusual;
30001         }
30002         continue;
30003       default:
30004         goto handle_unusual;
30005     }  // switch
30006   handle_unusual:
30007     if ((tag == 0) || ((tag & 7) == 4)) {
30008       CHK_(ptr);
30009       ctx->SetLastTag(tag);
30010       goto message_done;
30011     }
30012     ptr = UnknownFieldParse(
30013         tag,
30014         _internal_metadata_.mutable_unknown_fields<std::string>(),
30015         ptr, ctx);
30016     CHK_(ptr != nullptr);
30017   }  // while
30018 message_done:
30019   _impl_._has_bits_.Or(has_bits);
30020   return ptr;
30021 failure:
30022   ptr = nullptr;
30023   goto message_done;
30024 #undef CHK_
30025 }
30026 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const30027 ::uint8_t* Ext4TrimAllFreeFtraceEvent::_InternalSerialize(
30028     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
30029   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.Ext4TrimAllFreeFtraceEvent)
30030   ::uint32_t cached_has_bits = 0;
30031   (void) cached_has_bits;
30032 
30033   cached_has_bits = _impl_._has_bits_[0];
30034   // optional int32 dev_major = 1;
30035   if (cached_has_bits & 0x00000001u) {
30036     target = stream->EnsureSpace(target);
30037     target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_dev_major(), target);
30038   }
30039 
30040   // optional int32 dev_minor = 2;
30041   if (cached_has_bits & 0x00000002u) {
30042     target = stream->EnsureSpace(target);
30043     target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_dev_minor(), target);
30044   }
30045 
30046   // optional uint32 group = 3;
30047   if (cached_has_bits & 0x00000004u) {
30048     target = stream->EnsureSpace(target);
30049     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_group(), target);
30050   }
30051 
30052   // optional int32 start = 4;
30053   if (cached_has_bits & 0x00000008u) {
30054     target = stream->EnsureSpace(target);
30055     target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_start(), target);
30056   }
30057 
30058   // optional int32 len = 5;
30059   if (cached_has_bits & 0x00000010u) {
30060     target = stream->EnsureSpace(target);
30061     target = ::_pbi::WireFormatLite::WriteInt32ToArray(5, this->_internal_len(), target);
30062   }
30063 
30064   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
30065     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
30066         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
30067   }
30068   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.Ext4TrimAllFreeFtraceEvent)
30069   return target;
30070 }
30071 
ByteSizeLong() const30072 size_t Ext4TrimAllFreeFtraceEvent::ByteSizeLong() const {
30073 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.Ext4TrimAllFreeFtraceEvent)
30074   size_t total_size = 0;
30075 
30076   ::uint32_t cached_has_bits = 0;
30077   // Prevent compiler warnings about cached_has_bits being unused
30078   (void) cached_has_bits;
30079 
30080   cached_has_bits = _impl_._has_bits_[0];
30081   if (cached_has_bits & 0x0000001fu) {
30082     // optional int32 dev_major = 1;
30083     if (cached_has_bits & 0x00000001u) {
30084       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_dev_major());
30085     }
30086 
30087     // optional int32 dev_minor = 2;
30088     if (cached_has_bits & 0x00000002u) {
30089       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_dev_minor());
30090     }
30091 
30092     // optional uint32 group = 3;
30093     if (cached_has_bits & 0x00000004u) {
30094       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_group());
30095     }
30096 
30097     // optional int32 start = 4;
30098     if (cached_has_bits & 0x00000008u) {
30099       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_start());
30100     }
30101 
30102     // optional int32 len = 5;
30103     if (cached_has_bits & 0x00000010u) {
30104       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_len());
30105     }
30106 
30107   }
30108   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
30109     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
30110   }
30111   int cached_size = ::_pbi::ToCachedSize(total_size);
30112   SetCachedSize(cached_size);
30113   return total_size;
30114 }
30115 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)30116 void Ext4TrimAllFreeFtraceEvent::CheckTypeAndMergeFrom(
30117     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
30118   MergeFrom(*::_pbi::DownCast<const Ext4TrimAllFreeFtraceEvent*>(
30119       &from));
30120 }
30121 
MergeFrom(const Ext4TrimAllFreeFtraceEvent & from)30122 void Ext4TrimAllFreeFtraceEvent::MergeFrom(const Ext4TrimAllFreeFtraceEvent& from) {
30123   Ext4TrimAllFreeFtraceEvent* const _this = this;
30124   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.Ext4TrimAllFreeFtraceEvent)
30125   GOOGLE_DCHECK_NE(&from, _this);
30126   ::uint32_t cached_has_bits = 0;
30127   (void) cached_has_bits;
30128 
30129   cached_has_bits = from._impl_._has_bits_[0];
30130   if (cached_has_bits & 0x0000001fu) {
30131     if (cached_has_bits & 0x00000001u) {
30132       _this->_impl_.dev_major_ = from._impl_.dev_major_;
30133     }
30134     if (cached_has_bits & 0x00000002u) {
30135       _this->_impl_.dev_minor_ = from._impl_.dev_minor_;
30136     }
30137     if (cached_has_bits & 0x00000004u) {
30138       _this->_impl_.group_ = from._impl_.group_;
30139     }
30140     if (cached_has_bits & 0x00000008u) {
30141       _this->_impl_.start_ = from._impl_.start_;
30142     }
30143     if (cached_has_bits & 0x00000010u) {
30144       _this->_impl_.len_ = from._impl_.len_;
30145     }
30146     _this->_impl_._has_bits_[0] |= cached_has_bits;
30147   }
30148   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
30149 }
30150 
CopyFrom(const Ext4TrimAllFreeFtraceEvent & from)30151 void Ext4TrimAllFreeFtraceEvent::CopyFrom(const Ext4TrimAllFreeFtraceEvent& from) {
30152 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.Ext4TrimAllFreeFtraceEvent)
30153   if (&from == this) return;
30154   Clear();
30155   MergeFrom(from);
30156 }
30157 
IsInitialized() const30158 bool Ext4TrimAllFreeFtraceEvent::IsInitialized() const {
30159   return true;
30160 }
30161 
InternalSwap(Ext4TrimAllFreeFtraceEvent * other)30162 void Ext4TrimAllFreeFtraceEvent::InternalSwap(Ext4TrimAllFreeFtraceEvent* other) {
30163   using std::swap;
30164   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
30165   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
30166   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
30167       PROTOBUF_FIELD_OFFSET(Ext4TrimAllFreeFtraceEvent, _impl_.len_)
30168       + sizeof(Ext4TrimAllFreeFtraceEvent::_impl_.len_)  // NOLINT
30169       - PROTOBUF_FIELD_OFFSET(Ext4TrimAllFreeFtraceEvent, _impl_.dev_major_)>(
30170           reinterpret_cast<char*>(&_impl_.dev_major_),
30171           reinterpret_cast<char*>(&other->_impl_.dev_major_));
30172 }
30173 
GetTypeName() const30174 std::string Ext4TrimAllFreeFtraceEvent::GetTypeName() const {
30175   return "perfetto.protos.Ext4TrimAllFreeFtraceEvent";
30176 }
30177 
30178 
30179 // ===================================================================
30180 
30181 class Ext4TrimExtentFtraceEvent::_Internal {
30182  public:
30183   using HasBits = decltype(std::declval<Ext4TrimExtentFtraceEvent>()._impl_._has_bits_);
set_has_dev_major(HasBits * has_bits)30184   static void set_has_dev_major(HasBits* has_bits) {
30185     (*has_bits)[0] |= 1u;
30186   }
set_has_dev_minor(HasBits * has_bits)30187   static void set_has_dev_minor(HasBits* has_bits) {
30188     (*has_bits)[0] |= 2u;
30189   }
set_has_group(HasBits * has_bits)30190   static void set_has_group(HasBits* has_bits) {
30191     (*has_bits)[0] |= 4u;
30192   }
set_has_start(HasBits * has_bits)30193   static void set_has_start(HasBits* has_bits) {
30194     (*has_bits)[0] |= 8u;
30195   }
set_has_len(HasBits * has_bits)30196   static void set_has_len(HasBits* has_bits) {
30197     (*has_bits)[0] |= 16u;
30198   }
30199 };
30200 
Ext4TrimExtentFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)30201 Ext4TrimExtentFtraceEvent::Ext4TrimExtentFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
30202                          bool is_message_owned)
30203   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
30204   SharedCtor(arena, is_message_owned);
30205   // @@protoc_insertion_point(arena_constructor:perfetto.protos.Ext4TrimExtentFtraceEvent)
30206 }
Ext4TrimExtentFtraceEvent(const Ext4TrimExtentFtraceEvent & from)30207 Ext4TrimExtentFtraceEvent::Ext4TrimExtentFtraceEvent(const Ext4TrimExtentFtraceEvent& from)
30208   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
30209   Ext4TrimExtentFtraceEvent* const _this = this; (void)_this;
30210   new (&_impl_) Impl_{
30211       decltype(_impl_._has_bits_){from._impl_._has_bits_}
30212     , /*decltype(_impl_._cached_size_)*/{}
30213     , decltype(_impl_.dev_major_){}
30214     , decltype(_impl_.dev_minor_){}
30215     , decltype(_impl_.group_){}
30216     , decltype(_impl_.start_){}
30217     , decltype(_impl_.len_){}};
30218 
30219   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
30220   ::memcpy(&_impl_.dev_major_, &from._impl_.dev_major_,
30221     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.len_) -
30222     reinterpret_cast<char*>(&_impl_.dev_major_)) + sizeof(_impl_.len_));
30223   // @@protoc_insertion_point(copy_constructor:perfetto.protos.Ext4TrimExtentFtraceEvent)
30224 }
30225 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)30226 inline void Ext4TrimExtentFtraceEvent::SharedCtor(
30227     ::_pb::Arena* arena, bool is_message_owned) {
30228   (void)arena;
30229   (void)is_message_owned;
30230   new (&_impl_) Impl_{
30231       decltype(_impl_._has_bits_){}
30232     , /*decltype(_impl_._cached_size_)*/{}
30233     , decltype(_impl_.dev_major_){0}
30234     , decltype(_impl_.dev_minor_){0}
30235     , decltype(_impl_.group_){0u}
30236     , decltype(_impl_.start_){0}
30237     , decltype(_impl_.len_){0}
30238   };
30239 }
30240 
~Ext4TrimExtentFtraceEvent()30241 Ext4TrimExtentFtraceEvent::~Ext4TrimExtentFtraceEvent() {
30242   // @@protoc_insertion_point(destructor:perfetto.protos.Ext4TrimExtentFtraceEvent)
30243   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
30244   (void)arena;
30245     return;
30246   }
30247   SharedDtor();
30248 }
30249 
SharedDtor()30250 inline void Ext4TrimExtentFtraceEvent::SharedDtor() {
30251   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
30252 }
30253 
SetCachedSize(int size) const30254 void Ext4TrimExtentFtraceEvent::SetCachedSize(int size) const {
30255   _impl_._cached_size_.Set(size);
30256 }
30257 
Clear()30258 void Ext4TrimExtentFtraceEvent::Clear() {
30259 // @@protoc_insertion_point(message_clear_start:perfetto.protos.Ext4TrimExtentFtraceEvent)
30260   ::uint32_t cached_has_bits = 0;
30261   // Prevent compiler warnings about cached_has_bits being unused
30262   (void) cached_has_bits;
30263 
30264   cached_has_bits = _impl_._has_bits_[0];
30265   if (cached_has_bits & 0x0000001fu) {
30266     ::memset(&_impl_.dev_major_, 0, static_cast<size_t>(
30267         reinterpret_cast<char*>(&_impl_.len_) -
30268         reinterpret_cast<char*>(&_impl_.dev_major_)) + sizeof(_impl_.len_));
30269   }
30270   _impl_._has_bits_.Clear();
30271   _internal_metadata_.Clear<std::string>();
30272 }
30273 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)30274 const char* Ext4TrimExtentFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
30275 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
30276   _Internal::HasBits has_bits{};
30277   while (!ctx->Done(&ptr)) {
30278     ::uint32_t tag;
30279     ptr = ::_pbi::ReadTag(ptr, &tag);
30280     switch (tag >> 3) {
30281       // optional int32 dev_major = 1;
30282       case 1:
30283         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
30284           _Internal::set_has_dev_major(&has_bits);
30285           _impl_.dev_major_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
30286           CHK_(ptr);
30287         } else {
30288           goto handle_unusual;
30289         }
30290         continue;
30291       // optional int32 dev_minor = 2;
30292       case 2:
30293         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
30294           _Internal::set_has_dev_minor(&has_bits);
30295           _impl_.dev_minor_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
30296           CHK_(ptr);
30297         } else {
30298           goto handle_unusual;
30299         }
30300         continue;
30301       // optional uint32 group = 3;
30302       case 3:
30303         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
30304           _Internal::set_has_group(&has_bits);
30305           _impl_.group_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
30306           CHK_(ptr);
30307         } else {
30308           goto handle_unusual;
30309         }
30310         continue;
30311       // optional int32 start = 4;
30312       case 4:
30313         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
30314           _Internal::set_has_start(&has_bits);
30315           _impl_.start_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
30316           CHK_(ptr);
30317         } else {
30318           goto handle_unusual;
30319         }
30320         continue;
30321       // optional int32 len = 5;
30322       case 5:
30323         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) {
30324           _Internal::set_has_len(&has_bits);
30325           _impl_.len_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
30326           CHK_(ptr);
30327         } else {
30328           goto handle_unusual;
30329         }
30330         continue;
30331       default:
30332         goto handle_unusual;
30333     }  // switch
30334   handle_unusual:
30335     if ((tag == 0) || ((tag & 7) == 4)) {
30336       CHK_(ptr);
30337       ctx->SetLastTag(tag);
30338       goto message_done;
30339     }
30340     ptr = UnknownFieldParse(
30341         tag,
30342         _internal_metadata_.mutable_unknown_fields<std::string>(),
30343         ptr, ctx);
30344     CHK_(ptr != nullptr);
30345   }  // while
30346 message_done:
30347   _impl_._has_bits_.Or(has_bits);
30348   return ptr;
30349 failure:
30350   ptr = nullptr;
30351   goto message_done;
30352 #undef CHK_
30353 }
30354 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const30355 ::uint8_t* Ext4TrimExtentFtraceEvent::_InternalSerialize(
30356     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
30357   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.Ext4TrimExtentFtraceEvent)
30358   ::uint32_t cached_has_bits = 0;
30359   (void) cached_has_bits;
30360 
30361   cached_has_bits = _impl_._has_bits_[0];
30362   // optional int32 dev_major = 1;
30363   if (cached_has_bits & 0x00000001u) {
30364     target = stream->EnsureSpace(target);
30365     target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_dev_major(), target);
30366   }
30367 
30368   // optional int32 dev_minor = 2;
30369   if (cached_has_bits & 0x00000002u) {
30370     target = stream->EnsureSpace(target);
30371     target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_dev_minor(), target);
30372   }
30373 
30374   // optional uint32 group = 3;
30375   if (cached_has_bits & 0x00000004u) {
30376     target = stream->EnsureSpace(target);
30377     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_group(), target);
30378   }
30379 
30380   // optional int32 start = 4;
30381   if (cached_has_bits & 0x00000008u) {
30382     target = stream->EnsureSpace(target);
30383     target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_start(), target);
30384   }
30385 
30386   // optional int32 len = 5;
30387   if (cached_has_bits & 0x00000010u) {
30388     target = stream->EnsureSpace(target);
30389     target = ::_pbi::WireFormatLite::WriteInt32ToArray(5, this->_internal_len(), target);
30390   }
30391 
30392   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
30393     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
30394         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
30395   }
30396   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.Ext4TrimExtentFtraceEvent)
30397   return target;
30398 }
30399 
ByteSizeLong() const30400 size_t Ext4TrimExtentFtraceEvent::ByteSizeLong() const {
30401 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.Ext4TrimExtentFtraceEvent)
30402   size_t total_size = 0;
30403 
30404   ::uint32_t cached_has_bits = 0;
30405   // Prevent compiler warnings about cached_has_bits being unused
30406   (void) cached_has_bits;
30407 
30408   cached_has_bits = _impl_._has_bits_[0];
30409   if (cached_has_bits & 0x0000001fu) {
30410     // optional int32 dev_major = 1;
30411     if (cached_has_bits & 0x00000001u) {
30412       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_dev_major());
30413     }
30414 
30415     // optional int32 dev_minor = 2;
30416     if (cached_has_bits & 0x00000002u) {
30417       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_dev_minor());
30418     }
30419 
30420     // optional uint32 group = 3;
30421     if (cached_has_bits & 0x00000004u) {
30422       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_group());
30423     }
30424 
30425     // optional int32 start = 4;
30426     if (cached_has_bits & 0x00000008u) {
30427       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_start());
30428     }
30429 
30430     // optional int32 len = 5;
30431     if (cached_has_bits & 0x00000010u) {
30432       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_len());
30433     }
30434 
30435   }
30436   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
30437     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
30438   }
30439   int cached_size = ::_pbi::ToCachedSize(total_size);
30440   SetCachedSize(cached_size);
30441   return total_size;
30442 }
30443 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)30444 void Ext4TrimExtentFtraceEvent::CheckTypeAndMergeFrom(
30445     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
30446   MergeFrom(*::_pbi::DownCast<const Ext4TrimExtentFtraceEvent*>(
30447       &from));
30448 }
30449 
MergeFrom(const Ext4TrimExtentFtraceEvent & from)30450 void Ext4TrimExtentFtraceEvent::MergeFrom(const Ext4TrimExtentFtraceEvent& from) {
30451   Ext4TrimExtentFtraceEvent* const _this = this;
30452   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.Ext4TrimExtentFtraceEvent)
30453   GOOGLE_DCHECK_NE(&from, _this);
30454   ::uint32_t cached_has_bits = 0;
30455   (void) cached_has_bits;
30456 
30457   cached_has_bits = from._impl_._has_bits_[0];
30458   if (cached_has_bits & 0x0000001fu) {
30459     if (cached_has_bits & 0x00000001u) {
30460       _this->_impl_.dev_major_ = from._impl_.dev_major_;
30461     }
30462     if (cached_has_bits & 0x00000002u) {
30463       _this->_impl_.dev_minor_ = from._impl_.dev_minor_;
30464     }
30465     if (cached_has_bits & 0x00000004u) {
30466       _this->_impl_.group_ = from._impl_.group_;
30467     }
30468     if (cached_has_bits & 0x00000008u) {
30469       _this->_impl_.start_ = from._impl_.start_;
30470     }
30471     if (cached_has_bits & 0x00000010u) {
30472       _this->_impl_.len_ = from._impl_.len_;
30473     }
30474     _this->_impl_._has_bits_[0] |= cached_has_bits;
30475   }
30476   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
30477 }
30478 
CopyFrom(const Ext4TrimExtentFtraceEvent & from)30479 void Ext4TrimExtentFtraceEvent::CopyFrom(const Ext4TrimExtentFtraceEvent& from) {
30480 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.Ext4TrimExtentFtraceEvent)
30481   if (&from == this) return;
30482   Clear();
30483   MergeFrom(from);
30484 }
30485 
IsInitialized() const30486 bool Ext4TrimExtentFtraceEvent::IsInitialized() const {
30487   return true;
30488 }
30489 
InternalSwap(Ext4TrimExtentFtraceEvent * other)30490 void Ext4TrimExtentFtraceEvent::InternalSwap(Ext4TrimExtentFtraceEvent* other) {
30491   using std::swap;
30492   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
30493   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
30494   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
30495       PROTOBUF_FIELD_OFFSET(Ext4TrimExtentFtraceEvent, _impl_.len_)
30496       + sizeof(Ext4TrimExtentFtraceEvent::_impl_.len_)  // NOLINT
30497       - PROTOBUF_FIELD_OFFSET(Ext4TrimExtentFtraceEvent, _impl_.dev_major_)>(
30498           reinterpret_cast<char*>(&_impl_.dev_major_),
30499           reinterpret_cast<char*>(&other->_impl_.dev_major_));
30500 }
30501 
GetTypeName() const30502 std::string Ext4TrimExtentFtraceEvent::GetTypeName() const {
30503   return "perfetto.protos.Ext4TrimExtentFtraceEvent";
30504 }
30505 
30506 
30507 // ===================================================================
30508 
30509 class Ext4TruncateEnterFtraceEvent::_Internal {
30510  public:
30511   using HasBits = decltype(std::declval<Ext4TruncateEnterFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)30512   static void set_has_dev(HasBits* has_bits) {
30513     (*has_bits)[0] |= 1u;
30514   }
set_has_ino(HasBits * has_bits)30515   static void set_has_ino(HasBits* has_bits) {
30516     (*has_bits)[0] |= 2u;
30517   }
set_has_blocks(HasBits * has_bits)30518   static void set_has_blocks(HasBits* has_bits) {
30519     (*has_bits)[0] |= 4u;
30520   }
30521 };
30522 
Ext4TruncateEnterFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)30523 Ext4TruncateEnterFtraceEvent::Ext4TruncateEnterFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
30524                          bool is_message_owned)
30525   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
30526   SharedCtor(arena, is_message_owned);
30527   // @@protoc_insertion_point(arena_constructor:perfetto.protos.Ext4TruncateEnterFtraceEvent)
30528 }
Ext4TruncateEnterFtraceEvent(const Ext4TruncateEnterFtraceEvent & from)30529 Ext4TruncateEnterFtraceEvent::Ext4TruncateEnterFtraceEvent(const Ext4TruncateEnterFtraceEvent& from)
30530   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
30531   Ext4TruncateEnterFtraceEvent* const _this = this; (void)_this;
30532   new (&_impl_) Impl_{
30533       decltype(_impl_._has_bits_){from._impl_._has_bits_}
30534     , /*decltype(_impl_._cached_size_)*/{}
30535     , decltype(_impl_.dev_){}
30536     , decltype(_impl_.ino_){}
30537     , decltype(_impl_.blocks_){}};
30538 
30539   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
30540   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
30541     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.blocks_) -
30542     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.blocks_));
30543   // @@protoc_insertion_point(copy_constructor:perfetto.protos.Ext4TruncateEnterFtraceEvent)
30544 }
30545 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)30546 inline void Ext4TruncateEnterFtraceEvent::SharedCtor(
30547     ::_pb::Arena* arena, bool is_message_owned) {
30548   (void)arena;
30549   (void)is_message_owned;
30550   new (&_impl_) Impl_{
30551       decltype(_impl_._has_bits_){}
30552     , /*decltype(_impl_._cached_size_)*/{}
30553     , decltype(_impl_.dev_){::uint64_t{0u}}
30554     , decltype(_impl_.ino_){::uint64_t{0u}}
30555     , decltype(_impl_.blocks_){::uint64_t{0u}}
30556   };
30557 }
30558 
~Ext4TruncateEnterFtraceEvent()30559 Ext4TruncateEnterFtraceEvent::~Ext4TruncateEnterFtraceEvent() {
30560   // @@protoc_insertion_point(destructor:perfetto.protos.Ext4TruncateEnterFtraceEvent)
30561   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
30562   (void)arena;
30563     return;
30564   }
30565   SharedDtor();
30566 }
30567 
SharedDtor()30568 inline void Ext4TruncateEnterFtraceEvent::SharedDtor() {
30569   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
30570 }
30571 
SetCachedSize(int size) const30572 void Ext4TruncateEnterFtraceEvent::SetCachedSize(int size) const {
30573   _impl_._cached_size_.Set(size);
30574 }
30575 
Clear()30576 void Ext4TruncateEnterFtraceEvent::Clear() {
30577 // @@protoc_insertion_point(message_clear_start:perfetto.protos.Ext4TruncateEnterFtraceEvent)
30578   ::uint32_t cached_has_bits = 0;
30579   // Prevent compiler warnings about cached_has_bits being unused
30580   (void) cached_has_bits;
30581 
30582   cached_has_bits = _impl_._has_bits_[0];
30583   if (cached_has_bits & 0x00000007u) {
30584     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
30585         reinterpret_cast<char*>(&_impl_.blocks_) -
30586         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.blocks_));
30587   }
30588   _impl_._has_bits_.Clear();
30589   _internal_metadata_.Clear<std::string>();
30590 }
30591 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)30592 const char* Ext4TruncateEnterFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
30593 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
30594   _Internal::HasBits has_bits{};
30595   while (!ctx->Done(&ptr)) {
30596     ::uint32_t tag;
30597     ptr = ::_pbi::ReadTag(ptr, &tag);
30598     switch (tag >> 3) {
30599       // optional uint64 dev = 1;
30600       case 1:
30601         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
30602           _Internal::set_has_dev(&has_bits);
30603           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
30604           CHK_(ptr);
30605         } else {
30606           goto handle_unusual;
30607         }
30608         continue;
30609       // optional uint64 ino = 2;
30610       case 2:
30611         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
30612           _Internal::set_has_ino(&has_bits);
30613           _impl_.ino_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
30614           CHK_(ptr);
30615         } else {
30616           goto handle_unusual;
30617         }
30618         continue;
30619       // optional uint64 blocks = 3;
30620       case 3:
30621         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
30622           _Internal::set_has_blocks(&has_bits);
30623           _impl_.blocks_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
30624           CHK_(ptr);
30625         } else {
30626           goto handle_unusual;
30627         }
30628         continue;
30629       default:
30630         goto handle_unusual;
30631     }  // switch
30632   handle_unusual:
30633     if ((tag == 0) || ((tag & 7) == 4)) {
30634       CHK_(ptr);
30635       ctx->SetLastTag(tag);
30636       goto message_done;
30637     }
30638     ptr = UnknownFieldParse(
30639         tag,
30640         _internal_metadata_.mutable_unknown_fields<std::string>(),
30641         ptr, ctx);
30642     CHK_(ptr != nullptr);
30643   }  // while
30644 message_done:
30645   _impl_._has_bits_.Or(has_bits);
30646   return ptr;
30647 failure:
30648   ptr = nullptr;
30649   goto message_done;
30650 #undef CHK_
30651 }
30652 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const30653 ::uint8_t* Ext4TruncateEnterFtraceEvent::_InternalSerialize(
30654     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
30655   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.Ext4TruncateEnterFtraceEvent)
30656   ::uint32_t cached_has_bits = 0;
30657   (void) cached_has_bits;
30658 
30659   cached_has_bits = _impl_._has_bits_[0];
30660   // optional uint64 dev = 1;
30661   if (cached_has_bits & 0x00000001u) {
30662     target = stream->EnsureSpace(target);
30663     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
30664   }
30665 
30666   // optional uint64 ino = 2;
30667   if (cached_has_bits & 0x00000002u) {
30668     target = stream->EnsureSpace(target);
30669     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_ino(), target);
30670   }
30671 
30672   // optional uint64 blocks = 3;
30673   if (cached_has_bits & 0x00000004u) {
30674     target = stream->EnsureSpace(target);
30675     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(3, this->_internal_blocks(), target);
30676   }
30677 
30678   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
30679     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
30680         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
30681   }
30682   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.Ext4TruncateEnterFtraceEvent)
30683   return target;
30684 }
30685 
ByteSizeLong() const30686 size_t Ext4TruncateEnterFtraceEvent::ByteSizeLong() const {
30687 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.Ext4TruncateEnterFtraceEvent)
30688   size_t total_size = 0;
30689 
30690   ::uint32_t cached_has_bits = 0;
30691   // Prevent compiler warnings about cached_has_bits being unused
30692   (void) cached_has_bits;
30693 
30694   cached_has_bits = _impl_._has_bits_[0];
30695   if (cached_has_bits & 0x00000007u) {
30696     // optional uint64 dev = 1;
30697     if (cached_has_bits & 0x00000001u) {
30698       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
30699     }
30700 
30701     // optional uint64 ino = 2;
30702     if (cached_has_bits & 0x00000002u) {
30703       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ino());
30704     }
30705 
30706     // optional uint64 blocks = 3;
30707     if (cached_has_bits & 0x00000004u) {
30708       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_blocks());
30709     }
30710 
30711   }
30712   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
30713     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
30714   }
30715   int cached_size = ::_pbi::ToCachedSize(total_size);
30716   SetCachedSize(cached_size);
30717   return total_size;
30718 }
30719 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)30720 void Ext4TruncateEnterFtraceEvent::CheckTypeAndMergeFrom(
30721     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
30722   MergeFrom(*::_pbi::DownCast<const Ext4TruncateEnterFtraceEvent*>(
30723       &from));
30724 }
30725 
MergeFrom(const Ext4TruncateEnterFtraceEvent & from)30726 void Ext4TruncateEnterFtraceEvent::MergeFrom(const Ext4TruncateEnterFtraceEvent& from) {
30727   Ext4TruncateEnterFtraceEvent* const _this = this;
30728   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.Ext4TruncateEnterFtraceEvent)
30729   GOOGLE_DCHECK_NE(&from, _this);
30730   ::uint32_t cached_has_bits = 0;
30731   (void) cached_has_bits;
30732 
30733   cached_has_bits = from._impl_._has_bits_[0];
30734   if (cached_has_bits & 0x00000007u) {
30735     if (cached_has_bits & 0x00000001u) {
30736       _this->_impl_.dev_ = from._impl_.dev_;
30737     }
30738     if (cached_has_bits & 0x00000002u) {
30739       _this->_impl_.ino_ = from._impl_.ino_;
30740     }
30741     if (cached_has_bits & 0x00000004u) {
30742       _this->_impl_.blocks_ = from._impl_.blocks_;
30743     }
30744     _this->_impl_._has_bits_[0] |= cached_has_bits;
30745   }
30746   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
30747 }
30748 
CopyFrom(const Ext4TruncateEnterFtraceEvent & from)30749 void Ext4TruncateEnterFtraceEvent::CopyFrom(const Ext4TruncateEnterFtraceEvent& from) {
30750 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.Ext4TruncateEnterFtraceEvent)
30751   if (&from == this) return;
30752   Clear();
30753   MergeFrom(from);
30754 }
30755 
IsInitialized() const30756 bool Ext4TruncateEnterFtraceEvent::IsInitialized() const {
30757   return true;
30758 }
30759 
InternalSwap(Ext4TruncateEnterFtraceEvent * other)30760 void Ext4TruncateEnterFtraceEvent::InternalSwap(Ext4TruncateEnterFtraceEvent* other) {
30761   using std::swap;
30762   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
30763   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
30764   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
30765       PROTOBUF_FIELD_OFFSET(Ext4TruncateEnterFtraceEvent, _impl_.blocks_)
30766       + sizeof(Ext4TruncateEnterFtraceEvent::_impl_.blocks_)  // NOLINT
30767       - PROTOBUF_FIELD_OFFSET(Ext4TruncateEnterFtraceEvent, _impl_.dev_)>(
30768           reinterpret_cast<char*>(&_impl_.dev_),
30769           reinterpret_cast<char*>(&other->_impl_.dev_));
30770 }
30771 
GetTypeName() const30772 std::string Ext4TruncateEnterFtraceEvent::GetTypeName() const {
30773   return "perfetto.protos.Ext4TruncateEnterFtraceEvent";
30774 }
30775 
30776 
30777 // ===================================================================
30778 
30779 class Ext4TruncateExitFtraceEvent::_Internal {
30780  public:
30781   using HasBits = decltype(std::declval<Ext4TruncateExitFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)30782   static void set_has_dev(HasBits* has_bits) {
30783     (*has_bits)[0] |= 1u;
30784   }
set_has_ino(HasBits * has_bits)30785   static void set_has_ino(HasBits* has_bits) {
30786     (*has_bits)[0] |= 2u;
30787   }
set_has_blocks(HasBits * has_bits)30788   static void set_has_blocks(HasBits* has_bits) {
30789     (*has_bits)[0] |= 4u;
30790   }
30791 };
30792 
Ext4TruncateExitFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)30793 Ext4TruncateExitFtraceEvent::Ext4TruncateExitFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
30794                          bool is_message_owned)
30795   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
30796   SharedCtor(arena, is_message_owned);
30797   // @@protoc_insertion_point(arena_constructor:perfetto.protos.Ext4TruncateExitFtraceEvent)
30798 }
Ext4TruncateExitFtraceEvent(const Ext4TruncateExitFtraceEvent & from)30799 Ext4TruncateExitFtraceEvent::Ext4TruncateExitFtraceEvent(const Ext4TruncateExitFtraceEvent& from)
30800   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
30801   Ext4TruncateExitFtraceEvent* const _this = this; (void)_this;
30802   new (&_impl_) Impl_{
30803       decltype(_impl_._has_bits_){from._impl_._has_bits_}
30804     , /*decltype(_impl_._cached_size_)*/{}
30805     , decltype(_impl_.dev_){}
30806     , decltype(_impl_.ino_){}
30807     , decltype(_impl_.blocks_){}};
30808 
30809   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
30810   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
30811     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.blocks_) -
30812     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.blocks_));
30813   // @@protoc_insertion_point(copy_constructor:perfetto.protos.Ext4TruncateExitFtraceEvent)
30814 }
30815 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)30816 inline void Ext4TruncateExitFtraceEvent::SharedCtor(
30817     ::_pb::Arena* arena, bool is_message_owned) {
30818   (void)arena;
30819   (void)is_message_owned;
30820   new (&_impl_) Impl_{
30821       decltype(_impl_._has_bits_){}
30822     , /*decltype(_impl_._cached_size_)*/{}
30823     , decltype(_impl_.dev_){::uint64_t{0u}}
30824     , decltype(_impl_.ino_){::uint64_t{0u}}
30825     , decltype(_impl_.blocks_){::uint64_t{0u}}
30826   };
30827 }
30828 
~Ext4TruncateExitFtraceEvent()30829 Ext4TruncateExitFtraceEvent::~Ext4TruncateExitFtraceEvent() {
30830   // @@protoc_insertion_point(destructor:perfetto.protos.Ext4TruncateExitFtraceEvent)
30831   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
30832   (void)arena;
30833     return;
30834   }
30835   SharedDtor();
30836 }
30837 
SharedDtor()30838 inline void Ext4TruncateExitFtraceEvent::SharedDtor() {
30839   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
30840 }
30841 
SetCachedSize(int size) const30842 void Ext4TruncateExitFtraceEvent::SetCachedSize(int size) const {
30843   _impl_._cached_size_.Set(size);
30844 }
30845 
Clear()30846 void Ext4TruncateExitFtraceEvent::Clear() {
30847 // @@protoc_insertion_point(message_clear_start:perfetto.protos.Ext4TruncateExitFtraceEvent)
30848   ::uint32_t cached_has_bits = 0;
30849   // Prevent compiler warnings about cached_has_bits being unused
30850   (void) cached_has_bits;
30851 
30852   cached_has_bits = _impl_._has_bits_[0];
30853   if (cached_has_bits & 0x00000007u) {
30854     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
30855         reinterpret_cast<char*>(&_impl_.blocks_) -
30856         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.blocks_));
30857   }
30858   _impl_._has_bits_.Clear();
30859   _internal_metadata_.Clear<std::string>();
30860 }
30861 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)30862 const char* Ext4TruncateExitFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
30863 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
30864   _Internal::HasBits has_bits{};
30865   while (!ctx->Done(&ptr)) {
30866     ::uint32_t tag;
30867     ptr = ::_pbi::ReadTag(ptr, &tag);
30868     switch (tag >> 3) {
30869       // optional uint64 dev = 1;
30870       case 1:
30871         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
30872           _Internal::set_has_dev(&has_bits);
30873           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
30874           CHK_(ptr);
30875         } else {
30876           goto handle_unusual;
30877         }
30878         continue;
30879       // optional uint64 ino = 2;
30880       case 2:
30881         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
30882           _Internal::set_has_ino(&has_bits);
30883           _impl_.ino_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
30884           CHK_(ptr);
30885         } else {
30886           goto handle_unusual;
30887         }
30888         continue;
30889       // optional uint64 blocks = 3;
30890       case 3:
30891         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
30892           _Internal::set_has_blocks(&has_bits);
30893           _impl_.blocks_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
30894           CHK_(ptr);
30895         } else {
30896           goto handle_unusual;
30897         }
30898         continue;
30899       default:
30900         goto handle_unusual;
30901     }  // switch
30902   handle_unusual:
30903     if ((tag == 0) || ((tag & 7) == 4)) {
30904       CHK_(ptr);
30905       ctx->SetLastTag(tag);
30906       goto message_done;
30907     }
30908     ptr = UnknownFieldParse(
30909         tag,
30910         _internal_metadata_.mutable_unknown_fields<std::string>(),
30911         ptr, ctx);
30912     CHK_(ptr != nullptr);
30913   }  // while
30914 message_done:
30915   _impl_._has_bits_.Or(has_bits);
30916   return ptr;
30917 failure:
30918   ptr = nullptr;
30919   goto message_done;
30920 #undef CHK_
30921 }
30922 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const30923 ::uint8_t* Ext4TruncateExitFtraceEvent::_InternalSerialize(
30924     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
30925   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.Ext4TruncateExitFtraceEvent)
30926   ::uint32_t cached_has_bits = 0;
30927   (void) cached_has_bits;
30928 
30929   cached_has_bits = _impl_._has_bits_[0];
30930   // optional uint64 dev = 1;
30931   if (cached_has_bits & 0x00000001u) {
30932     target = stream->EnsureSpace(target);
30933     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
30934   }
30935 
30936   // optional uint64 ino = 2;
30937   if (cached_has_bits & 0x00000002u) {
30938     target = stream->EnsureSpace(target);
30939     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_ino(), target);
30940   }
30941 
30942   // optional uint64 blocks = 3;
30943   if (cached_has_bits & 0x00000004u) {
30944     target = stream->EnsureSpace(target);
30945     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(3, this->_internal_blocks(), target);
30946   }
30947 
30948   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
30949     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
30950         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
30951   }
30952   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.Ext4TruncateExitFtraceEvent)
30953   return target;
30954 }
30955 
ByteSizeLong() const30956 size_t Ext4TruncateExitFtraceEvent::ByteSizeLong() const {
30957 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.Ext4TruncateExitFtraceEvent)
30958   size_t total_size = 0;
30959 
30960   ::uint32_t cached_has_bits = 0;
30961   // Prevent compiler warnings about cached_has_bits being unused
30962   (void) cached_has_bits;
30963 
30964   cached_has_bits = _impl_._has_bits_[0];
30965   if (cached_has_bits & 0x00000007u) {
30966     // optional uint64 dev = 1;
30967     if (cached_has_bits & 0x00000001u) {
30968       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
30969     }
30970 
30971     // optional uint64 ino = 2;
30972     if (cached_has_bits & 0x00000002u) {
30973       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ino());
30974     }
30975 
30976     // optional uint64 blocks = 3;
30977     if (cached_has_bits & 0x00000004u) {
30978       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_blocks());
30979     }
30980 
30981   }
30982   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
30983     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
30984   }
30985   int cached_size = ::_pbi::ToCachedSize(total_size);
30986   SetCachedSize(cached_size);
30987   return total_size;
30988 }
30989 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)30990 void Ext4TruncateExitFtraceEvent::CheckTypeAndMergeFrom(
30991     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
30992   MergeFrom(*::_pbi::DownCast<const Ext4TruncateExitFtraceEvent*>(
30993       &from));
30994 }
30995 
MergeFrom(const Ext4TruncateExitFtraceEvent & from)30996 void Ext4TruncateExitFtraceEvent::MergeFrom(const Ext4TruncateExitFtraceEvent& from) {
30997   Ext4TruncateExitFtraceEvent* const _this = this;
30998   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.Ext4TruncateExitFtraceEvent)
30999   GOOGLE_DCHECK_NE(&from, _this);
31000   ::uint32_t cached_has_bits = 0;
31001   (void) cached_has_bits;
31002 
31003   cached_has_bits = from._impl_._has_bits_[0];
31004   if (cached_has_bits & 0x00000007u) {
31005     if (cached_has_bits & 0x00000001u) {
31006       _this->_impl_.dev_ = from._impl_.dev_;
31007     }
31008     if (cached_has_bits & 0x00000002u) {
31009       _this->_impl_.ino_ = from._impl_.ino_;
31010     }
31011     if (cached_has_bits & 0x00000004u) {
31012       _this->_impl_.blocks_ = from._impl_.blocks_;
31013     }
31014     _this->_impl_._has_bits_[0] |= cached_has_bits;
31015   }
31016   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
31017 }
31018 
CopyFrom(const Ext4TruncateExitFtraceEvent & from)31019 void Ext4TruncateExitFtraceEvent::CopyFrom(const Ext4TruncateExitFtraceEvent& from) {
31020 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.Ext4TruncateExitFtraceEvent)
31021   if (&from == this) return;
31022   Clear();
31023   MergeFrom(from);
31024 }
31025 
IsInitialized() const31026 bool Ext4TruncateExitFtraceEvent::IsInitialized() const {
31027   return true;
31028 }
31029 
InternalSwap(Ext4TruncateExitFtraceEvent * other)31030 void Ext4TruncateExitFtraceEvent::InternalSwap(Ext4TruncateExitFtraceEvent* other) {
31031   using std::swap;
31032   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
31033   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
31034   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
31035       PROTOBUF_FIELD_OFFSET(Ext4TruncateExitFtraceEvent, _impl_.blocks_)
31036       + sizeof(Ext4TruncateExitFtraceEvent::_impl_.blocks_)  // NOLINT
31037       - PROTOBUF_FIELD_OFFSET(Ext4TruncateExitFtraceEvent, _impl_.dev_)>(
31038           reinterpret_cast<char*>(&_impl_.dev_),
31039           reinterpret_cast<char*>(&other->_impl_.dev_));
31040 }
31041 
GetTypeName() const31042 std::string Ext4TruncateExitFtraceEvent::GetTypeName() const {
31043   return "perfetto.protos.Ext4TruncateExitFtraceEvent";
31044 }
31045 
31046 
31047 // ===================================================================
31048 
31049 class Ext4UnlinkEnterFtraceEvent::_Internal {
31050  public:
31051   using HasBits = decltype(std::declval<Ext4UnlinkEnterFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)31052   static void set_has_dev(HasBits* has_bits) {
31053     (*has_bits)[0] |= 1u;
31054   }
set_has_ino(HasBits * has_bits)31055   static void set_has_ino(HasBits* has_bits) {
31056     (*has_bits)[0] |= 2u;
31057   }
set_has_parent(HasBits * has_bits)31058   static void set_has_parent(HasBits* has_bits) {
31059     (*has_bits)[0] |= 4u;
31060   }
set_has_size(HasBits * has_bits)31061   static void set_has_size(HasBits* has_bits) {
31062     (*has_bits)[0] |= 8u;
31063   }
31064 };
31065 
Ext4UnlinkEnterFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)31066 Ext4UnlinkEnterFtraceEvent::Ext4UnlinkEnterFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
31067                          bool is_message_owned)
31068   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
31069   SharedCtor(arena, is_message_owned);
31070   // @@protoc_insertion_point(arena_constructor:perfetto.protos.Ext4UnlinkEnterFtraceEvent)
31071 }
Ext4UnlinkEnterFtraceEvent(const Ext4UnlinkEnterFtraceEvent & from)31072 Ext4UnlinkEnterFtraceEvent::Ext4UnlinkEnterFtraceEvent(const Ext4UnlinkEnterFtraceEvent& from)
31073   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
31074   Ext4UnlinkEnterFtraceEvent* const _this = this; (void)_this;
31075   new (&_impl_) Impl_{
31076       decltype(_impl_._has_bits_){from._impl_._has_bits_}
31077     , /*decltype(_impl_._cached_size_)*/{}
31078     , decltype(_impl_.dev_){}
31079     , decltype(_impl_.ino_){}
31080     , decltype(_impl_.parent_){}
31081     , decltype(_impl_.size_){}};
31082 
31083   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
31084   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
31085     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.size_) -
31086     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.size_));
31087   // @@protoc_insertion_point(copy_constructor:perfetto.protos.Ext4UnlinkEnterFtraceEvent)
31088 }
31089 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)31090 inline void Ext4UnlinkEnterFtraceEvent::SharedCtor(
31091     ::_pb::Arena* arena, bool is_message_owned) {
31092   (void)arena;
31093   (void)is_message_owned;
31094   new (&_impl_) Impl_{
31095       decltype(_impl_._has_bits_){}
31096     , /*decltype(_impl_._cached_size_)*/{}
31097     , decltype(_impl_.dev_){::uint64_t{0u}}
31098     , decltype(_impl_.ino_){::uint64_t{0u}}
31099     , decltype(_impl_.parent_){::uint64_t{0u}}
31100     , decltype(_impl_.size_){::int64_t{0}}
31101   };
31102 }
31103 
~Ext4UnlinkEnterFtraceEvent()31104 Ext4UnlinkEnterFtraceEvent::~Ext4UnlinkEnterFtraceEvent() {
31105   // @@protoc_insertion_point(destructor:perfetto.protos.Ext4UnlinkEnterFtraceEvent)
31106   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
31107   (void)arena;
31108     return;
31109   }
31110   SharedDtor();
31111 }
31112 
SharedDtor()31113 inline void Ext4UnlinkEnterFtraceEvent::SharedDtor() {
31114   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
31115 }
31116 
SetCachedSize(int size) const31117 void Ext4UnlinkEnterFtraceEvent::SetCachedSize(int size) const {
31118   _impl_._cached_size_.Set(size);
31119 }
31120 
Clear()31121 void Ext4UnlinkEnterFtraceEvent::Clear() {
31122 // @@protoc_insertion_point(message_clear_start:perfetto.protos.Ext4UnlinkEnterFtraceEvent)
31123   ::uint32_t cached_has_bits = 0;
31124   // Prevent compiler warnings about cached_has_bits being unused
31125   (void) cached_has_bits;
31126 
31127   cached_has_bits = _impl_._has_bits_[0];
31128   if (cached_has_bits & 0x0000000fu) {
31129     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
31130         reinterpret_cast<char*>(&_impl_.size_) -
31131         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.size_));
31132   }
31133   _impl_._has_bits_.Clear();
31134   _internal_metadata_.Clear<std::string>();
31135 }
31136 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)31137 const char* Ext4UnlinkEnterFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
31138 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
31139   _Internal::HasBits has_bits{};
31140   while (!ctx->Done(&ptr)) {
31141     ::uint32_t tag;
31142     ptr = ::_pbi::ReadTag(ptr, &tag);
31143     switch (tag >> 3) {
31144       // optional uint64 dev = 1;
31145       case 1:
31146         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
31147           _Internal::set_has_dev(&has_bits);
31148           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
31149           CHK_(ptr);
31150         } else {
31151           goto handle_unusual;
31152         }
31153         continue;
31154       // optional uint64 ino = 2;
31155       case 2:
31156         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
31157           _Internal::set_has_ino(&has_bits);
31158           _impl_.ino_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
31159           CHK_(ptr);
31160         } else {
31161           goto handle_unusual;
31162         }
31163         continue;
31164       // optional uint64 parent = 3;
31165       case 3:
31166         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
31167           _Internal::set_has_parent(&has_bits);
31168           _impl_.parent_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
31169           CHK_(ptr);
31170         } else {
31171           goto handle_unusual;
31172         }
31173         continue;
31174       // optional int64 size = 4;
31175       case 4:
31176         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
31177           _Internal::set_has_size(&has_bits);
31178           _impl_.size_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
31179           CHK_(ptr);
31180         } else {
31181           goto handle_unusual;
31182         }
31183         continue;
31184       default:
31185         goto handle_unusual;
31186     }  // switch
31187   handle_unusual:
31188     if ((tag == 0) || ((tag & 7) == 4)) {
31189       CHK_(ptr);
31190       ctx->SetLastTag(tag);
31191       goto message_done;
31192     }
31193     ptr = UnknownFieldParse(
31194         tag,
31195         _internal_metadata_.mutable_unknown_fields<std::string>(),
31196         ptr, ctx);
31197     CHK_(ptr != nullptr);
31198   }  // while
31199 message_done:
31200   _impl_._has_bits_.Or(has_bits);
31201   return ptr;
31202 failure:
31203   ptr = nullptr;
31204   goto message_done;
31205 #undef CHK_
31206 }
31207 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const31208 ::uint8_t* Ext4UnlinkEnterFtraceEvent::_InternalSerialize(
31209     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
31210   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.Ext4UnlinkEnterFtraceEvent)
31211   ::uint32_t cached_has_bits = 0;
31212   (void) cached_has_bits;
31213 
31214   cached_has_bits = _impl_._has_bits_[0];
31215   // optional uint64 dev = 1;
31216   if (cached_has_bits & 0x00000001u) {
31217     target = stream->EnsureSpace(target);
31218     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
31219   }
31220 
31221   // optional uint64 ino = 2;
31222   if (cached_has_bits & 0x00000002u) {
31223     target = stream->EnsureSpace(target);
31224     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_ino(), target);
31225   }
31226 
31227   // optional uint64 parent = 3;
31228   if (cached_has_bits & 0x00000004u) {
31229     target = stream->EnsureSpace(target);
31230     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(3, this->_internal_parent(), target);
31231   }
31232 
31233   // optional int64 size = 4;
31234   if (cached_has_bits & 0x00000008u) {
31235     target = stream->EnsureSpace(target);
31236     target = ::_pbi::WireFormatLite::WriteInt64ToArray(4, this->_internal_size(), target);
31237   }
31238 
31239   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
31240     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
31241         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
31242   }
31243   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.Ext4UnlinkEnterFtraceEvent)
31244   return target;
31245 }
31246 
ByteSizeLong() const31247 size_t Ext4UnlinkEnterFtraceEvent::ByteSizeLong() const {
31248 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.Ext4UnlinkEnterFtraceEvent)
31249   size_t total_size = 0;
31250 
31251   ::uint32_t cached_has_bits = 0;
31252   // Prevent compiler warnings about cached_has_bits being unused
31253   (void) cached_has_bits;
31254 
31255   cached_has_bits = _impl_._has_bits_[0];
31256   if (cached_has_bits & 0x0000000fu) {
31257     // optional uint64 dev = 1;
31258     if (cached_has_bits & 0x00000001u) {
31259       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
31260     }
31261 
31262     // optional uint64 ino = 2;
31263     if (cached_has_bits & 0x00000002u) {
31264       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ino());
31265     }
31266 
31267     // optional uint64 parent = 3;
31268     if (cached_has_bits & 0x00000004u) {
31269       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_parent());
31270     }
31271 
31272     // optional int64 size = 4;
31273     if (cached_has_bits & 0x00000008u) {
31274       total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_size());
31275     }
31276 
31277   }
31278   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
31279     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
31280   }
31281   int cached_size = ::_pbi::ToCachedSize(total_size);
31282   SetCachedSize(cached_size);
31283   return total_size;
31284 }
31285 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)31286 void Ext4UnlinkEnterFtraceEvent::CheckTypeAndMergeFrom(
31287     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
31288   MergeFrom(*::_pbi::DownCast<const Ext4UnlinkEnterFtraceEvent*>(
31289       &from));
31290 }
31291 
MergeFrom(const Ext4UnlinkEnterFtraceEvent & from)31292 void Ext4UnlinkEnterFtraceEvent::MergeFrom(const Ext4UnlinkEnterFtraceEvent& from) {
31293   Ext4UnlinkEnterFtraceEvent* const _this = this;
31294   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.Ext4UnlinkEnterFtraceEvent)
31295   GOOGLE_DCHECK_NE(&from, _this);
31296   ::uint32_t cached_has_bits = 0;
31297   (void) cached_has_bits;
31298 
31299   cached_has_bits = from._impl_._has_bits_[0];
31300   if (cached_has_bits & 0x0000000fu) {
31301     if (cached_has_bits & 0x00000001u) {
31302       _this->_impl_.dev_ = from._impl_.dev_;
31303     }
31304     if (cached_has_bits & 0x00000002u) {
31305       _this->_impl_.ino_ = from._impl_.ino_;
31306     }
31307     if (cached_has_bits & 0x00000004u) {
31308       _this->_impl_.parent_ = from._impl_.parent_;
31309     }
31310     if (cached_has_bits & 0x00000008u) {
31311       _this->_impl_.size_ = from._impl_.size_;
31312     }
31313     _this->_impl_._has_bits_[0] |= cached_has_bits;
31314   }
31315   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
31316 }
31317 
CopyFrom(const Ext4UnlinkEnterFtraceEvent & from)31318 void Ext4UnlinkEnterFtraceEvent::CopyFrom(const Ext4UnlinkEnterFtraceEvent& from) {
31319 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.Ext4UnlinkEnterFtraceEvent)
31320   if (&from == this) return;
31321   Clear();
31322   MergeFrom(from);
31323 }
31324 
IsInitialized() const31325 bool Ext4UnlinkEnterFtraceEvent::IsInitialized() const {
31326   return true;
31327 }
31328 
InternalSwap(Ext4UnlinkEnterFtraceEvent * other)31329 void Ext4UnlinkEnterFtraceEvent::InternalSwap(Ext4UnlinkEnterFtraceEvent* other) {
31330   using std::swap;
31331   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
31332   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
31333   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
31334       PROTOBUF_FIELD_OFFSET(Ext4UnlinkEnterFtraceEvent, _impl_.size_)
31335       + sizeof(Ext4UnlinkEnterFtraceEvent::_impl_.size_)  // NOLINT
31336       - PROTOBUF_FIELD_OFFSET(Ext4UnlinkEnterFtraceEvent, _impl_.dev_)>(
31337           reinterpret_cast<char*>(&_impl_.dev_),
31338           reinterpret_cast<char*>(&other->_impl_.dev_));
31339 }
31340 
GetTypeName() const31341 std::string Ext4UnlinkEnterFtraceEvent::GetTypeName() const {
31342   return "perfetto.protos.Ext4UnlinkEnterFtraceEvent";
31343 }
31344 
31345 
31346 // ===================================================================
31347 
31348 class Ext4UnlinkExitFtraceEvent::_Internal {
31349  public:
31350   using HasBits = decltype(std::declval<Ext4UnlinkExitFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)31351   static void set_has_dev(HasBits* has_bits) {
31352     (*has_bits)[0] |= 1u;
31353   }
set_has_ino(HasBits * has_bits)31354   static void set_has_ino(HasBits* has_bits) {
31355     (*has_bits)[0] |= 2u;
31356   }
set_has_ret(HasBits * has_bits)31357   static void set_has_ret(HasBits* has_bits) {
31358     (*has_bits)[0] |= 4u;
31359   }
31360 };
31361 
Ext4UnlinkExitFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)31362 Ext4UnlinkExitFtraceEvent::Ext4UnlinkExitFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
31363                          bool is_message_owned)
31364   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
31365   SharedCtor(arena, is_message_owned);
31366   // @@protoc_insertion_point(arena_constructor:perfetto.protos.Ext4UnlinkExitFtraceEvent)
31367 }
Ext4UnlinkExitFtraceEvent(const Ext4UnlinkExitFtraceEvent & from)31368 Ext4UnlinkExitFtraceEvent::Ext4UnlinkExitFtraceEvent(const Ext4UnlinkExitFtraceEvent& from)
31369   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
31370   Ext4UnlinkExitFtraceEvent* const _this = this; (void)_this;
31371   new (&_impl_) Impl_{
31372       decltype(_impl_._has_bits_){from._impl_._has_bits_}
31373     , /*decltype(_impl_._cached_size_)*/{}
31374     , decltype(_impl_.dev_){}
31375     , decltype(_impl_.ino_){}
31376     , decltype(_impl_.ret_){}};
31377 
31378   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
31379   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
31380     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.ret_) -
31381     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.ret_));
31382   // @@protoc_insertion_point(copy_constructor:perfetto.protos.Ext4UnlinkExitFtraceEvent)
31383 }
31384 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)31385 inline void Ext4UnlinkExitFtraceEvent::SharedCtor(
31386     ::_pb::Arena* arena, bool is_message_owned) {
31387   (void)arena;
31388   (void)is_message_owned;
31389   new (&_impl_) Impl_{
31390       decltype(_impl_._has_bits_){}
31391     , /*decltype(_impl_._cached_size_)*/{}
31392     , decltype(_impl_.dev_){::uint64_t{0u}}
31393     , decltype(_impl_.ino_){::uint64_t{0u}}
31394     , decltype(_impl_.ret_){0}
31395   };
31396 }
31397 
~Ext4UnlinkExitFtraceEvent()31398 Ext4UnlinkExitFtraceEvent::~Ext4UnlinkExitFtraceEvent() {
31399   // @@protoc_insertion_point(destructor:perfetto.protos.Ext4UnlinkExitFtraceEvent)
31400   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
31401   (void)arena;
31402     return;
31403   }
31404   SharedDtor();
31405 }
31406 
SharedDtor()31407 inline void Ext4UnlinkExitFtraceEvent::SharedDtor() {
31408   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
31409 }
31410 
SetCachedSize(int size) const31411 void Ext4UnlinkExitFtraceEvent::SetCachedSize(int size) const {
31412   _impl_._cached_size_.Set(size);
31413 }
31414 
Clear()31415 void Ext4UnlinkExitFtraceEvent::Clear() {
31416 // @@protoc_insertion_point(message_clear_start:perfetto.protos.Ext4UnlinkExitFtraceEvent)
31417   ::uint32_t cached_has_bits = 0;
31418   // Prevent compiler warnings about cached_has_bits being unused
31419   (void) cached_has_bits;
31420 
31421   cached_has_bits = _impl_._has_bits_[0];
31422   if (cached_has_bits & 0x00000007u) {
31423     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
31424         reinterpret_cast<char*>(&_impl_.ret_) -
31425         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.ret_));
31426   }
31427   _impl_._has_bits_.Clear();
31428   _internal_metadata_.Clear<std::string>();
31429 }
31430 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)31431 const char* Ext4UnlinkExitFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
31432 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
31433   _Internal::HasBits has_bits{};
31434   while (!ctx->Done(&ptr)) {
31435     ::uint32_t tag;
31436     ptr = ::_pbi::ReadTag(ptr, &tag);
31437     switch (tag >> 3) {
31438       // optional uint64 dev = 1;
31439       case 1:
31440         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
31441           _Internal::set_has_dev(&has_bits);
31442           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
31443           CHK_(ptr);
31444         } else {
31445           goto handle_unusual;
31446         }
31447         continue;
31448       // optional uint64 ino = 2;
31449       case 2:
31450         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
31451           _Internal::set_has_ino(&has_bits);
31452           _impl_.ino_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
31453           CHK_(ptr);
31454         } else {
31455           goto handle_unusual;
31456         }
31457         continue;
31458       // optional int32 ret = 3;
31459       case 3:
31460         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
31461           _Internal::set_has_ret(&has_bits);
31462           _impl_.ret_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
31463           CHK_(ptr);
31464         } else {
31465           goto handle_unusual;
31466         }
31467         continue;
31468       default:
31469         goto handle_unusual;
31470     }  // switch
31471   handle_unusual:
31472     if ((tag == 0) || ((tag & 7) == 4)) {
31473       CHK_(ptr);
31474       ctx->SetLastTag(tag);
31475       goto message_done;
31476     }
31477     ptr = UnknownFieldParse(
31478         tag,
31479         _internal_metadata_.mutable_unknown_fields<std::string>(),
31480         ptr, ctx);
31481     CHK_(ptr != nullptr);
31482   }  // while
31483 message_done:
31484   _impl_._has_bits_.Or(has_bits);
31485   return ptr;
31486 failure:
31487   ptr = nullptr;
31488   goto message_done;
31489 #undef CHK_
31490 }
31491 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const31492 ::uint8_t* Ext4UnlinkExitFtraceEvent::_InternalSerialize(
31493     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
31494   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.Ext4UnlinkExitFtraceEvent)
31495   ::uint32_t cached_has_bits = 0;
31496   (void) cached_has_bits;
31497 
31498   cached_has_bits = _impl_._has_bits_[0];
31499   // optional uint64 dev = 1;
31500   if (cached_has_bits & 0x00000001u) {
31501     target = stream->EnsureSpace(target);
31502     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
31503   }
31504 
31505   // optional uint64 ino = 2;
31506   if (cached_has_bits & 0x00000002u) {
31507     target = stream->EnsureSpace(target);
31508     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_ino(), target);
31509   }
31510 
31511   // optional int32 ret = 3;
31512   if (cached_has_bits & 0x00000004u) {
31513     target = stream->EnsureSpace(target);
31514     target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_ret(), target);
31515   }
31516 
31517   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
31518     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
31519         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
31520   }
31521   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.Ext4UnlinkExitFtraceEvent)
31522   return target;
31523 }
31524 
ByteSizeLong() const31525 size_t Ext4UnlinkExitFtraceEvent::ByteSizeLong() const {
31526 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.Ext4UnlinkExitFtraceEvent)
31527   size_t total_size = 0;
31528 
31529   ::uint32_t cached_has_bits = 0;
31530   // Prevent compiler warnings about cached_has_bits being unused
31531   (void) cached_has_bits;
31532 
31533   cached_has_bits = _impl_._has_bits_[0];
31534   if (cached_has_bits & 0x00000007u) {
31535     // optional uint64 dev = 1;
31536     if (cached_has_bits & 0x00000001u) {
31537       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
31538     }
31539 
31540     // optional uint64 ino = 2;
31541     if (cached_has_bits & 0x00000002u) {
31542       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ino());
31543     }
31544 
31545     // optional int32 ret = 3;
31546     if (cached_has_bits & 0x00000004u) {
31547       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_ret());
31548     }
31549 
31550   }
31551   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
31552     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
31553   }
31554   int cached_size = ::_pbi::ToCachedSize(total_size);
31555   SetCachedSize(cached_size);
31556   return total_size;
31557 }
31558 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)31559 void Ext4UnlinkExitFtraceEvent::CheckTypeAndMergeFrom(
31560     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
31561   MergeFrom(*::_pbi::DownCast<const Ext4UnlinkExitFtraceEvent*>(
31562       &from));
31563 }
31564 
MergeFrom(const Ext4UnlinkExitFtraceEvent & from)31565 void Ext4UnlinkExitFtraceEvent::MergeFrom(const Ext4UnlinkExitFtraceEvent& from) {
31566   Ext4UnlinkExitFtraceEvent* const _this = this;
31567   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.Ext4UnlinkExitFtraceEvent)
31568   GOOGLE_DCHECK_NE(&from, _this);
31569   ::uint32_t cached_has_bits = 0;
31570   (void) cached_has_bits;
31571 
31572   cached_has_bits = from._impl_._has_bits_[0];
31573   if (cached_has_bits & 0x00000007u) {
31574     if (cached_has_bits & 0x00000001u) {
31575       _this->_impl_.dev_ = from._impl_.dev_;
31576     }
31577     if (cached_has_bits & 0x00000002u) {
31578       _this->_impl_.ino_ = from._impl_.ino_;
31579     }
31580     if (cached_has_bits & 0x00000004u) {
31581       _this->_impl_.ret_ = from._impl_.ret_;
31582     }
31583     _this->_impl_._has_bits_[0] |= cached_has_bits;
31584   }
31585   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
31586 }
31587 
CopyFrom(const Ext4UnlinkExitFtraceEvent & from)31588 void Ext4UnlinkExitFtraceEvent::CopyFrom(const Ext4UnlinkExitFtraceEvent& from) {
31589 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.Ext4UnlinkExitFtraceEvent)
31590   if (&from == this) return;
31591   Clear();
31592   MergeFrom(from);
31593 }
31594 
IsInitialized() const31595 bool Ext4UnlinkExitFtraceEvent::IsInitialized() const {
31596   return true;
31597 }
31598 
InternalSwap(Ext4UnlinkExitFtraceEvent * other)31599 void Ext4UnlinkExitFtraceEvent::InternalSwap(Ext4UnlinkExitFtraceEvent* other) {
31600   using std::swap;
31601   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
31602   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
31603   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
31604       PROTOBUF_FIELD_OFFSET(Ext4UnlinkExitFtraceEvent, _impl_.ret_)
31605       + sizeof(Ext4UnlinkExitFtraceEvent::_impl_.ret_)  // NOLINT
31606       - PROTOBUF_FIELD_OFFSET(Ext4UnlinkExitFtraceEvent, _impl_.dev_)>(
31607           reinterpret_cast<char*>(&_impl_.dev_),
31608           reinterpret_cast<char*>(&other->_impl_.dev_));
31609 }
31610 
GetTypeName() const31611 std::string Ext4UnlinkExitFtraceEvent::GetTypeName() const {
31612   return "perfetto.protos.Ext4UnlinkExitFtraceEvent";
31613 }
31614 
31615 
31616 // ===================================================================
31617 
31618 class Ext4WriteBeginFtraceEvent::_Internal {
31619  public:
31620   using HasBits = decltype(std::declval<Ext4WriteBeginFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)31621   static void set_has_dev(HasBits* has_bits) {
31622     (*has_bits)[0] |= 1u;
31623   }
set_has_ino(HasBits * has_bits)31624   static void set_has_ino(HasBits* has_bits) {
31625     (*has_bits)[0] |= 2u;
31626   }
set_has_pos(HasBits * has_bits)31627   static void set_has_pos(HasBits* has_bits) {
31628     (*has_bits)[0] |= 4u;
31629   }
set_has_len(HasBits * has_bits)31630   static void set_has_len(HasBits* has_bits) {
31631     (*has_bits)[0] |= 8u;
31632   }
set_has_flags(HasBits * has_bits)31633   static void set_has_flags(HasBits* has_bits) {
31634     (*has_bits)[0] |= 16u;
31635   }
31636 };
31637 
Ext4WriteBeginFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)31638 Ext4WriteBeginFtraceEvent::Ext4WriteBeginFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
31639                          bool is_message_owned)
31640   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
31641   SharedCtor(arena, is_message_owned);
31642   // @@protoc_insertion_point(arena_constructor:perfetto.protos.Ext4WriteBeginFtraceEvent)
31643 }
Ext4WriteBeginFtraceEvent(const Ext4WriteBeginFtraceEvent & from)31644 Ext4WriteBeginFtraceEvent::Ext4WriteBeginFtraceEvent(const Ext4WriteBeginFtraceEvent& from)
31645   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
31646   Ext4WriteBeginFtraceEvent* const _this = this; (void)_this;
31647   new (&_impl_) Impl_{
31648       decltype(_impl_._has_bits_){from._impl_._has_bits_}
31649     , /*decltype(_impl_._cached_size_)*/{}
31650     , decltype(_impl_.dev_){}
31651     , decltype(_impl_.ino_){}
31652     , decltype(_impl_.pos_){}
31653     , decltype(_impl_.len_){}
31654     , decltype(_impl_.flags_){}};
31655 
31656   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
31657   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
31658     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.flags_) -
31659     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.flags_));
31660   // @@protoc_insertion_point(copy_constructor:perfetto.protos.Ext4WriteBeginFtraceEvent)
31661 }
31662 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)31663 inline void Ext4WriteBeginFtraceEvent::SharedCtor(
31664     ::_pb::Arena* arena, bool is_message_owned) {
31665   (void)arena;
31666   (void)is_message_owned;
31667   new (&_impl_) Impl_{
31668       decltype(_impl_._has_bits_){}
31669     , /*decltype(_impl_._cached_size_)*/{}
31670     , decltype(_impl_.dev_){::uint64_t{0u}}
31671     , decltype(_impl_.ino_){::uint64_t{0u}}
31672     , decltype(_impl_.pos_){::int64_t{0}}
31673     , decltype(_impl_.len_){0u}
31674     , decltype(_impl_.flags_){0u}
31675   };
31676 }
31677 
~Ext4WriteBeginFtraceEvent()31678 Ext4WriteBeginFtraceEvent::~Ext4WriteBeginFtraceEvent() {
31679   // @@protoc_insertion_point(destructor:perfetto.protos.Ext4WriteBeginFtraceEvent)
31680   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
31681   (void)arena;
31682     return;
31683   }
31684   SharedDtor();
31685 }
31686 
SharedDtor()31687 inline void Ext4WriteBeginFtraceEvent::SharedDtor() {
31688   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
31689 }
31690 
SetCachedSize(int size) const31691 void Ext4WriteBeginFtraceEvent::SetCachedSize(int size) const {
31692   _impl_._cached_size_.Set(size);
31693 }
31694 
Clear()31695 void Ext4WriteBeginFtraceEvent::Clear() {
31696 // @@protoc_insertion_point(message_clear_start:perfetto.protos.Ext4WriteBeginFtraceEvent)
31697   ::uint32_t cached_has_bits = 0;
31698   // Prevent compiler warnings about cached_has_bits being unused
31699   (void) cached_has_bits;
31700 
31701   cached_has_bits = _impl_._has_bits_[0];
31702   if (cached_has_bits & 0x0000001fu) {
31703     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
31704         reinterpret_cast<char*>(&_impl_.flags_) -
31705         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.flags_));
31706   }
31707   _impl_._has_bits_.Clear();
31708   _internal_metadata_.Clear<std::string>();
31709 }
31710 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)31711 const char* Ext4WriteBeginFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
31712 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
31713   _Internal::HasBits has_bits{};
31714   while (!ctx->Done(&ptr)) {
31715     ::uint32_t tag;
31716     ptr = ::_pbi::ReadTag(ptr, &tag);
31717     switch (tag >> 3) {
31718       // optional uint64 dev = 1;
31719       case 1:
31720         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
31721           _Internal::set_has_dev(&has_bits);
31722           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
31723           CHK_(ptr);
31724         } else {
31725           goto handle_unusual;
31726         }
31727         continue;
31728       // optional uint64 ino = 2;
31729       case 2:
31730         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
31731           _Internal::set_has_ino(&has_bits);
31732           _impl_.ino_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
31733           CHK_(ptr);
31734         } else {
31735           goto handle_unusual;
31736         }
31737         continue;
31738       // optional int64 pos = 3;
31739       case 3:
31740         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
31741           _Internal::set_has_pos(&has_bits);
31742           _impl_.pos_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
31743           CHK_(ptr);
31744         } else {
31745           goto handle_unusual;
31746         }
31747         continue;
31748       // optional uint32 len = 4;
31749       case 4:
31750         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
31751           _Internal::set_has_len(&has_bits);
31752           _impl_.len_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
31753           CHK_(ptr);
31754         } else {
31755           goto handle_unusual;
31756         }
31757         continue;
31758       // optional uint32 flags = 5;
31759       case 5:
31760         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) {
31761           _Internal::set_has_flags(&has_bits);
31762           _impl_.flags_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
31763           CHK_(ptr);
31764         } else {
31765           goto handle_unusual;
31766         }
31767         continue;
31768       default:
31769         goto handle_unusual;
31770     }  // switch
31771   handle_unusual:
31772     if ((tag == 0) || ((tag & 7) == 4)) {
31773       CHK_(ptr);
31774       ctx->SetLastTag(tag);
31775       goto message_done;
31776     }
31777     ptr = UnknownFieldParse(
31778         tag,
31779         _internal_metadata_.mutable_unknown_fields<std::string>(),
31780         ptr, ctx);
31781     CHK_(ptr != nullptr);
31782   }  // while
31783 message_done:
31784   _impl_._has_bits_.Or(has_bits);
31785   return ptr;
31786 failure:
31787   ptr = nullptr;
31788   goto message_done;
31789 #undef CHK_
31790 }
31791 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const31792 ::uint8_t* Ext4WriteBeginFtraceEvent::_InternalSerialize(
31793     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
31794   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.Ext4WriteBeginFtraceEvent)
31795   ::uint32_t cached_has_bits = 0;
31796   (void) cached_has_bits;
31797 
31798   cached_has_bits = _impl_._has_bits_[0];
31799   // optional uint64 dev = 1;
31800   if (cached_has_bits & 0x00000001u) {
31801     target = stream->EnsureSpace(target);
31802     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
31803   }
31804 
31805   // optional uint64 ino = 2;
31806   if (cached_has_bits & 0x00000002u) {
31807     target = stream->EnsureSpace(target);
31808     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_ino(), target);
31809   }
31810 
31811   // optional int64 pos = 3;
31812   if (cached_has_bits & 0x00000004u) {
31813     target = stream->EnsureSpace(target);
31814     target = ::_pbi::WireFormatLite::WriteInt64ToArray(3, this->_internal_pos(), target);
31815   }
31816 
31817   // optional uint32 len = 4;
31818   if (cached_has_bits & 0x00000008u) {
31819     target = stream->EnsureSpace(target);
31820     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_len(), target);
31821   }
31822 
31823   // optional uint32 flags = 5;
31824   if (cached_has_bits & 0x00000010u) {
31825     target = stream->EnsureSpace(target);
31826     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_flags(), target);
31827   }
31828 
31829   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
31830     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
31831         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
31832   }
31833   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.Ext4WriteBeginFtraceEvent)
31834   return target;
31835 }
31836 
ByteSizeLong() const31837 size_t Ext4WriteBeginFtraceEvent::ByteSizeLong() const {
31838 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.Ext4WriteBeginFtraceEvent)
31839   size_t total_size = 0;
31840 
31841   ::uint32_t cached_has_bits = 0;
31842   // Prevent compiler warnings about cached_has_bits being unused
31843   (void) cached_has_bits;
31844 
31845   cached_has_bits = _impl_._has_bits_[0];
31846   if (cached_has_bits & 0x0000001fu) {
31847     // optional uint64 dev = 1;
31848     if (cached_has_bits & 0x00000001u) {
31849       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
31850     }
31851 
31852     // optional uint64 ino = 2;
31853     if (cached_has_bits & 0x00000002u) {
31854       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ino());
31855     }
31856 
31857     // optional int64 pos = 3;
31858     if (cached_has_bits & 0x00000004u) {
31859       total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_pos());
31860     }
31861 
31862     // optional uint32 len = 4;
31863     if (cached_has_bits & 0x00000008u) {
31864       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_len());
31865     }
31866 
31867     // optional uint32 flags = 5;
31868     if (cached_has_bits & 0x00000010u) {
31869       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_flags());
31870     }
31871 
31872   }
31873   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
31874     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
31875   }
31876   int cached_size = ::_pbi::ToCachedSize(total_size);
31877   SetCachedSize(cached_size);
31878   return total_size;
31879 }
31880 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)31881 void Ext4WriteBeginFtraceEvent::CheckTypeAndMergeFrom(
31882     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
31883   MergeFrom(*::_pbi::DownCast<const Ext4WriteBeginFtraceEvent*>(
31884       &from));
31885 }
31886 
MergeFrom(const Ext4WriteBeginFtraceEvent & from)31887 void Ext4WriteBeginFtraceEvent::MergeFrom(const Ext4WriteBeginFtraceEvent& from) {
31888   Ext4WriteBeginFtraceEvent* const _this = this;
31889   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.Ext4WriteBeginFtraceEvent)
31890   GOOGLE_DCHECK_NE(&from, _this);
31891   ::uint32_t cached_has_bits = 0;
31892   (void) cached_has_bits;
31893 
31894   cached_has_bits = from._impl_._has_bits_[0];
31895   if (cached_has_bits & 0x0000001fu) {
31896     if (cached_has_bits & 0x00000001u) {
31897       _this->_impl_.dev_ = from._impl_.dev_;
31898     }
31899     if (cached_has_bits & 0x00000002u) {
31900       _this->_impl_.ino_ = from._impl_.ino_;
31901     }
31902     if (cached_has_bits & 0x00000004u) {
31903       _this->_impl_.pos_ = from._impl_.pos_;
31904     }
31905     if (cached_has_bits & 0x00000008u) {
31906       _this->_impl_.len_ = from._impl_.len_;
31907     }
31908     if (cached_has_bits & 0x00000010u) {
31909       _this->_impl_.flags_ = from._impl_.flags_;
31910     }
31911     _this->_impl_._has_bits_[0] |= cached_has_bits;
31912   }
31913   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
31914 }
31915 
CopyFrom(const Ext4WriteBeginFtraceEvent & from)31916 void Ext4WriteBeginFtraceEvent::CopyFrom(const Ext4WriteBeginFtraceEvent& from) {
31917 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.Ext4WriteBeginFtraceEvent)
31918   if (&from == this) return;
31919   Clear();
31920   MergeFrom(from);
31921 }
31922 
IsInitialized() const31923 bool Ext4WriteBeginFtraceEvent::IsInitialized() const {
31924   return true;
31925 }
31926 
InternalSwap(Ext4WriteBeginFtraceEvent * other)31927 void Ext4WriteBeginFtraceEvent::InternalSwap(Ext4WriteBeginFtraceEvent* other) {
31928   using std::swap;
31929   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
31930   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
31931   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
31932       PROTOBUF_FIELD_OFFSET(Ext4WriteBeginFtraceEvent, _impl_.flags_)
31933       + sizeof(Ext4WriteBeginFtraceEvent::_impl_.flags_)  // NOLINT
31934       - PROTOBUF_FIELD_OFFSET(Ext4WriteBeginFtraceEvent, _impl_.dev_)>(
31935           reinterpret_cast<char*>(&_impl_.dev_),
31936           reinterpret_cast<char*>(&other->_impl_.dev_));
31937 }
31938 
GetTypeName() const31939 std::string Ext4WriteBeginFtraceEvent::GetTypeName() const {
31940   return "perfetto.protos.Ext4WriteBeginFtraceEvent";
31941 }
31942 
31943 
31944 // ===================================================================
31945 
31946 class Ext4WriteEndFtraceEvent::_Internal {
31947  public:
31948   using HasBits = decltype(std::declval<Ext4WriteEndFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)31949   static void set_has_dev(HasBits* has_bits) {
31950     (*has_bits)[0] |= 1u;
31951   }
set_has_ino(HasBits * has_bits)31952   static void set_has_ino(HasBits* has_bits) {
31953     (*has_bits)[0] |= 2u;
31954   }
set_has_pos(HasBits * has_bits)31955   static void set_has_pos(HasBits* has_bits) {
31956     (*has_bits)[0] |= 4u;
31957   }
set_has_len(HasBits * has_bits)31958   static void set_has_len(HasBits* has_bits) {
31959     (*has_bits)[0] |= 8u;
31960   }
set_has_copied(HasBits * has_bits)31961   static void set_has_copied(HasBits* has_bits) {
31962     (*has_bits)[0] |= 16u;
31963   }
31964 };
31965 
Ext4WriteEndFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)31966 Ext4WriteEndFtraceEvent::Ext4WriteEndFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
31967                          bool is_message_owned)
31968   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
31969   SharedCtor(arena, is_message_owned);
31970   // @@protoc_insertion_point(arena_constructor:perfetto.protos.Ext4WriteEndFtraceEvent)
31971 }
Ext4WriteEndFtraceEvent(const Ext4WriteEndFtraceEvent & from)31972 Ext4WriteEndFtraceEvent::Ext4WriteEndFtraceEvent(const Ext4WriteEndFtraceEvent& from)
31973   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
31974   Ext4WriteEndFtraceEvent* const _this = this; (void)_this;
31975   new (&_impl_) Impl_{
31976       decltype(_impl_._has_bits_){from._impl_._has_bits_}
31977     , /*decltype(_impl_._cached_size_)*/{}
31978     , decltype(_impl_.dev_){}
31979     , decltype(_impl_.ino_){}
31980     , decltype(_impl_.pos_){}
31981     , decltype(_impl_.len_){}
31982     , decltype(_impl_.copied_){}};
31983 
31984   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
31985   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
31986     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.copied_) -
31987     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.copied_));
31988   // @@protoc_insertion_point(copy_constructor:perfetto.protos.Ext4WriteEndFtraceEvent)
31989 }
31990 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)31991 inline void Ext4WriteEndFtraceEvent::SharedCtor(
31992     ::_pb::Arena* arena, bool is_message_owned) {
31993   (void)arena;
31994   (void)is_message_owned;
31995   new (&_impl_) Impl_{
31996       decltype(_impl_._has_bits_){}
31997     , /*decltype(_impl_._cached_size_)*/{}
31998     , decltype(_impl_.dev_){::uint64_t{0u}}
31999     , decltype(_impl_.ino_){::uint64_t{0u}}
32000     , decltype(_impl_.pos_){::int64_t{0}}
32001     , decltype(_impl_.len_){0u}
32002     , decltype(_impl_.copied_){0u}
32003   };
32004 }
32005 
~Ext4WriteEndFtraceEvent()32006 Ext4WriteEndFtraceEvent::~Ext4WriteEndFtraceEvent() {
32007   // @@protoc_insertion_point(destructor:perfetto.protos.Ext4WriteEndFtraceEvent)
32008   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
32009   (void)arena;
32010     return;
32011   }
32012   SharedDtor();
32013 }
32014 
SharedDtor()32015 inline void Ext4WriteEndFtraceEvent::SharedDtor() {
32016   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
32017 }
32018 
SetCachedSize(int size) const32019 void Ext4WriteEndFtraceEvent::SetCachedSize(int size) const {
32020   _impl_._cached_size_.Set(size);
32021 }
32022 
Clear()32023 void Ext4WriteEndFtraceEvent::Clear() {
32024 // @@protoc_insertion_point(message_clear_start:perfetto.protos.Ext4WriteEndFtraceEvent)
32025   ::uint32_t cached_has_bits = 0;
32026   // Prevent compiler warnings about cached_has_bits being unused
32027   (void) cached_has_bits;
32028 
32029   cached_has_bits = _impl_._has_bits_[0];
32030   if (cached_has_bits & 0x0000001fu) {
32031     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
32032         reinterpret_cast<char*>(&_impl_.copied_) -
32033         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.copied_));
32034   }
32035   _impl_._has_bits_.Clear();
32036   _internal_metadata_.Clear<std::string>();
32037 }
32038 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)32039 const char* Ext4WriteEndFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
32040 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
32041   _Internal::HasBits has_bits{};
32042   while (!ctx->Done(&ptr)) {
32043     ::uint32_t tag;
32044     ptr = ::_pbi::ReadTag(ptr, &tag);
32045     switch (tag >> 3) {
32046       // optional uint64 dev = 1;
32047       case 1:
32048         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
32049           _Internal::set_has_dev(&has_bits);
32050           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
32051           CHK_(ptr);
32052         } else {
32053           goto handle_unusual;
32054         }
32055         continue;
32056       // optional uint64 ino = 2;
32057       case 2:
32058         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
32059           _Internal::set_has_ino(&has_bits);
32060           _impl_.ino_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
32061           CHK_(ptr);
32062         } else {
32063           goto handle_unusual;
32064         }
32065         continue;
32066       // optional int64 pos = 3;
32067       case 3:
32068         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
32069           _Internal::set_has_pos(&has_bits);
32070           _impl_.pos_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
32071           CHK_(ptr);
32072         } else {
32073           goto handle_unusual;
32074         }
32075         continue;
32076       // optional uint32 len = 4;
32077       case 4:
32078         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
32079           _Internal::set_has_len(&has_bits);
32080           _impl_.len_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
32081           CHK_(ptr);
32082         } else {
32083           goto handle_unusual;
32084         }
32085         continue;
32086       // optional uint32 copied = 5;
32087       case 5:
32088         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) {
32089           _Internal::set_has_copied(&has_bits);
32090           _impl_.copied_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
32091           CHK_(ptr);
32092         } else {
32093           goto handle_unusual;
32094         }
32095         continue;
32096       default:
32097         goto handle_unusual;
32098     }  // switch
32099   handle_unusual:
32100     if ((tag == 0) || ((tag & 7) == 4)) {
32101       CHK_(ptr);
32102       ctx->SetLastTag(tag);
32103       goto message_done;
32104     }
32105     ptr = UnknownFieldParse(
32106         tag,
32107         _internal_metadata_.mutable_unknown_fields<std::string>(),
32108         ptr, ctx);
32109     CHK_(ptr != nullptr);
32110   }  // while
32111 message_done:
32112   _impl_._has_bits_.Or(has_bits);
32113   return ptr;
32114 failure:
32115   ptr = nullptr;
32116   goto message_done;
32117 #undef CHK_
32118 }
32119 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const32120 ::uint8_t* Ext4WriteEndFtraceEvent::_InternalSerialize(
32121     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
32122   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.Ext4WriteEndFtraceEvent)
32123   ::uint32_t cached_has_bits = 0;
32124   (void) cached_has_bits;
32125 
32126   cached_has_bits = _impl_._has_bits_[0];
32127   // optional uint64 dev = 1;
32128   if (cached_has_bits & 0x00000001u) {
32129     target = stream->EnsureSpace(target);
32130     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
32131   }
32132 
32133   // optional uint64 ino = 2;
32134   if (cached_has_bits & 0x00000002u) {
32135     target = stream->EnsureSpace(target);
32136     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_ino(), target);
32137   }
32138 
32139   // optional int64 pos = 3;
32140   if (cached_has_bits & 0x00000004u) {
32141     target = stream->EnsureSpace(target);
32142     target = ::_pbi::WireFormatLite::WriteInt64ToArray(3, this->_internal_pos(), target);
32143   }
32144 
32145   // optional uint32 len = 4;
32146   if (cached_has_bits & 0x00000008u) {
32147     target = stream->EnsureSpace(target);
32148     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_len(), target);
32149   }
32150 
32151   // optional uint32 copied = 5;
32152   if (cached_has_bits & 0x00000010u) {
32153     target = stream->EnsureSpace(target);
32154     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_copied(), target);
32155   }
32156 
32157   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
32158     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
32159         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
32160   }
32161   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.Ext4WriteEndFtraceEvent)
32162   return target;
32163 }
32164 
ByteSizeLong() const32165 size_t Ext4WriteEndFtraceEvent::ByteSizeLong() const {
32166 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.Ext4WriteEndFtraceEvent)
32167   size_t total_size = 0;
32168 
32169   ::uint32_t cached_has_bits = 0;
32170   // Prevent compiler warnings about cached_has_bits being unused
32171   (void) cached_has_bits;
32172 
32173   cached_has_bits = _impl_._has_bits_[0];
32174   if (cached_has_bits & 0x0000001fu) {
32175     // optional uint64 dev = 1;
32176     if (cached_has_bits & 0x00000001u) {
32177       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
32178     }
32179 
32180     // optional uint64 ino = 2;
32181     if (cached_has_bits & 0x00000002u) {
32182       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ino());
32183     }
32184 
32185     // optional int64 pos = 3;
32186     if (cached_has_bits & 0x00000004u) {
32187       total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_pos());
32188     }
32189 
32190     // optional uint32 len = 4;
32191     if (cached_has_bits & 0x00000008u) {
32192       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_len());
32193     }
32194 
32195     // optional uint32 copied = 5;
32196     if (cached_has_bits & 0x00000010u) {
32197       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_copied());
32198     }
32199 
32200   }
32201   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
32202     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
32203   }
32204   int cached_size = ::_pbi::ToCachedSize(total_size);
32205   SetCachedSize(cached_size);
32206   return total_size;
32207 }
32208 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)32209 void Ext4WriteEndFtraceEvent::CheckTypeAndMergeFrom(
32210     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
32211   MergeFrom(*::_pbi::DownCast<const Ext4WriteEndFtraceEvent*>(
32212       &from));
32213 }
32214 
MergeFrom(const Ext4WriteEndFtraceEvent & from)32215 void Ext4WriteEndFtraceEvent::MergeFrom(const Ext4WriteEndFtraceEvent& from) {
32216   Ext4WriteEndFtraceEvent* const _this = this;
32217   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.Ext4WriteEndFtraceEvent)
32218   GOOGLE_DCHECK_NE(&from, _this);
32219   ::uint32_t cached_has_bits = 0;
32220   (void) cached_has_bits;
32221 
32222   cached_has_bits = from._impl_._has_bits_[0];
32223   if (cached_has_bits & 0x0000001fu) {
32224     if (cached_has_bits & 0x00000001u) {
32225       _this->_impl_.dev_ = from._impl_.dev_;
32226     }
32227     if (cached_has_bits & 0x00000002u) {
32228       _this->_impl_.ino_ = from._impl_.ino_;
32229     }
32230     if (cached_has_bits & 0x00000004u) {
32231       _this->_impl_.pos_ = from._impl_.pos_;
32232     }
32233     if (cached_has_bits & 0x00000008u) {
32234       _this->_impl_.len_ = from._impl_.len_;
32235     }
32236     if (cached_has_bits & 0x00000010u) {
32237       _this->_impl_.copied_ = from._impl_.copied_;
32238     }
32239     _this->_impl_._has_bits_[0] |= cached_has_bits;
32240   }
32241   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
32242 }
32243 
CopyFrom(const Ext4WriteEndFtraceEvent & from)32244 void Ext4WriteEndFtraceEvent::CopyFrom(const Ext4WriteEndFtraceEvent& from) {
32245 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.Ext4WriteEndFtraceEvent)
32246   if (&from == this) return;
32247   Clear();
32248   MergeFrom(from);
32249 }
32250 
IsInitialized() const32251 bool Ext4WriteEndFtraceEvent::IsInitialized() const {
32252   return true;
32253 }
32254 
InternalSwap(Ext4WriteEndFtraceEvent * other)32255 void Ext4WriteEndFtraceEvent::InternalSwap(Ext4WriteEndFtraceEvent* other) {
32256   using std::swap;
32257   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
32258   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
32259   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
32260       PROTOBUF_FIELD_OFFSET(Ext4WriteEndFtraceEvent, _impl_.copied_)
32261       + sizeof(Ext4WriteEndFtraceEvent::_impl_.copied_)  // NOLINT
32262       - PROTOBUF_FIELD_OFFSET(Ext4WriteEndFtraceEvent, _impl_.dev_)>(
32263           reinterpret_cast<char*>(&_impl_.dev_),
32264           reinterpret_cast<char*>(&other->_impl_.dev_));
32265 }
32266 
GetTypeName() const32267 std::string Ext4WriteEndFtraceEvent::GetTypeName() const {
32268   return "perfetto.protos.Ext4WriteEndFtraceEvent";
32269 }
32270 
32271 
32272 // ===================================================================
32273 
32274 class Ext4WritepageFtraceEvent::_Internal {
32275  public:
32276   using HasBits = decltype(std::declval<Ext4WritepageFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)32277   static void set_has_dev(HasBits* has_bits) {
32278     (*has_bits)[0] |= 1u;
32279   }
set_has_ino(HasBits * has_bits)32280   static void set_has_ino(HasBits* has_bits) {
32281     (*has_bits)[0] |= 2u;
32282   }
set_has_index(HasBits * has_bits)32283   static void set_has_index(HasBits* has_bits) {
32284     (*has_bits)[0] |= 4u;
32285   }
32286 };
32287 
Ext4WritepageFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)32288 Ext4WritepageFtraceEvent::Ext4WritepageFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
32289                          bool is_message_owned)
32290   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
32291   SharedCtor(arena, is_message_owned);
32292   // @@protoc_insertion_point(arena_constructor:perfetto.protos.Ext4WritepageFtraceEvent)
32293 }
Ext4WritepageFtraceEvent(const Ext4WritepageFtraceEvent & from)32294 Ext4WritepageFtraceEvent::Ext4WritepageFtraceEvent(const Ext4WritepageFtraceEvent& from)
32295   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
32296   Ext4WritepageFtraceEvent* const _this = this; (void)_this;
32297   new (&_impl_) Impl_{
32298       decltype(_impl_._has_bits_){from._impl_._has_bits_}
32299     , /*decltype(_impl_._cached_size_)*/{}
32300     , decltype(_impl_.dev_){}
32301     , decltype(_impl_.ino_){}
32302     , decltype(_impl_.index_){}};
32303 
32304   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
32305   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
32306     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.index_) -
32307     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.index_));
32308   // @@protoc_insertion_point(copy_constructor:perfetto.protos.Ext4WritepageFtraceEvent)
32309 }
32310 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)32311 inline void Ext4WritepageFtraceEvent::SharedCtor(
32312     ::_pb::Arena* arena, bool is_message_owned) {
32313   (void)arena;
32314   (void)is_message_owned;
32315   new (&_impl_) Impl_{
32316       decltype(_impl_._has_bits_){}
32317     , /*decltype(_impl_._cached_size_)*/{}
32318     , decltype(_impl_.dev_){::uint64_t{0u}}
32319     , decltype(_impl_.ino_){::uint64_t{0u}}
32320     , decltype(_impl_.index_){::uint64_t{0u}}
32321   };
32322 }
32323 
~Ext4WritepageFtraceEvent()32324 Ext4WritepageFtraceEvent::~Ext4WritepageFtraceEvent() {
32325   // @@protoc_insertion_point(destructor:perfetto.protos.Ext4WritepageFtraceEvent)
32326   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
32327   (void)arena;
32328     return;
32329   }
32330   SharedDtor();
32331 }
32332 
SharedDtor()32333 inline void Ext4WritepageFtraceEvent::SharedDtor() {
32334   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
32335 }
32336 
SetCachedSize(int size) const32337 void Ext4WritepageFtraceEvent::SetCachedSize(int size) const {
32338   _impl_._cached_size_.Set(size);
32339 }
32340 
Clear()32341 void Ext4WritepageFtraceEvent::Clear() {
32342 // @@protoc_insertion_point(message_clear_start:perfetto.protos.Ext4WritepageFtraceEvent)
32343   ::uint32_t cached_has_bits = 0;
32344   // Prevent compiler warnings about cached_has_bits being unused
32345   (void) cached_has_bits;
32346 
32347   cached_has_bits = _impl_._has_bits_[0];
32348   if (cached_has_bits & 0x00000007u) {
32349     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
32350         reinterpret_cast<char*>(&_impl_.index_) -
32351         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.index_));
32352   }
32353   _impl_._has_bits_.Clear();
32354   _internal_metadata_.Clear<std::string>();
32355 }
32356 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)32357 const char* Ext4WritepageFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
32358 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
32359   _Internal::HasBits has_bits{};
32360   while (!ctx->Done(&ptr)) {
32361     ::uint32_t tag;
32362     ptr = ::_pbi::ReadTag(ptr, &tag);
32363     switch (tag >> 3) {
32364       // optional uint64 dev = 1;
32365       case 1:
32366         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
32367           _Internal::set_has_dev(&has_bits);
32368           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
32369           CHK_(ptr);
32370         } else {
32371           goto handle_unusual;
32372         }
32373         continue;
32374       // optional uint64 ino = 2;
32375       case 2:
32376         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
32377           _Internal::set_has_ino(&has_bits);
32378           _impl_.ino_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
32379           CHK_(ptr);
32380         } else {
32381           goto handle_unusual;
32382         }
32383         continue;
32384       // optional uint64 index = 3;
32385       case 3:
32386         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
32387           _Internal::set_has_index(&has_bits);
32388           _impl_.index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
32389           CHK_(ptr);
32390         } else {
32391           goto handle_unusual;
32392         }
32393         continue;
32394       default:
32395         goto handle_unusual;
32396     }  // switch
32397   handle_unusual:
32398     if ((tag == 0) || ((tag & 7) == 4)) {
32399       CHK_(ptr);
32400       ctx->SetLastTag(tag);
32401       goto message_done;
32402     }
32403     ptr = UnknownFieldParse(
32404         tag,
32405         _internal_metadata_.mutable_unknown_fields<std::string>(),
32406         ptr, ctx);
32407     CHK_(ptr != nullptr);
32408   }  // while
32409 message_done:
32410   _impl_._has_bits_.Or(has_bits);
32411   return ptr;
32412 failure:
32413   ptr = nullptr;
32414   goto message_done;
32415 #undef CHK_
32416 }
32417 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const32418 ::uint8_t* Ext4WritepageFtraceEvent::_InternalSerialize(
32419     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
32420   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.Ext4WritepageFtraceEvent)
32421   ::uint32_t cached_has_bits = 0;
32422   (void) cached_has_bits;
32423 
32424   cached_has_bits = _impl_._has_bits_[0];
32425   // optional uint64 dev = 1;
32426   if (cached_has_bits & 0x00000001u) {
32427     target = stream->EnsureSpace(target);
32428     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
32429   }
32430 
32431   // optional uint64 ino = 2;
32432   if (cached_has_bits & 0x00000002u) {
32433     target = stream->EnsureSpace(target);
32434     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_ino(), target);
32435   }
32436 
32437   // optional uint64 index = 3;
32438   if (cached_has_bits & 0x00000004u) {
32439     target = stream->EnsureSpace(target);
32440     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(3, this->_internal_index(), target);
32441   }
32442 
32443   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
32444     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
32445         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
32446   }
32447   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.Ext4WritepageFtraceEvent)
32448   return target;
32449 }
32450 
ByteSizeLong() const32451 size_t Ext4WritepageFtraceEvent::ByteSizeLong() const {
32452 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.Ext4WritepageFtraceEvent)
32453   size_t total_size = 0;
32454 
32455   ::uint32_t cached_has_bits = 0;
32456   // Prevent compiler warnings about cached_has_bits being unused
32457   (void) cached_has_bits;
32458 
32459   cached_has_bits = _impl_._has_bits_[0];
32460   if (cached_has_bits & 0x00000007u) {
32461     // optional uint64 dev = 1;
32462     if (cached_has_bits & 0x00000001u) {
32463       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
32464     }
32465 
32466     // optional uint64 ino = 2;
32467     if (cached_has_bits & 0x00000002u) {
32468       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ino());
32469     }
32470 
32471     // optional uint64 index = 3;
32472     if (cached_has_bits & 0x00000004u) {
32473       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_index());
32474     }
32475 
32476   }
32477   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
32478     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
32479   }
32480   int cached_size = ::_pbi::ToCachedSize(total_size);
32481   SetCachedSize(cached_size);
32482   return total_size;
32483 }
32484 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)32485 void Ext4WritepageFtraceEvent::CheckTypeAndMergeFrom(
32486     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
32487   MergeFrom(*::_pbi::DownCast<const Ext4WritepageFtraceEvent*>(
32488       &from));
32489 }
32490 
MergeFrom(const Ext4WritepageFtraceEvent & from)32491 void Ext4WritepageFtraceEvent::MergeFrom(const Ext4WritepageFtraceEvent& from) {
32492   Ext4WritepageFtraceEvent* const _this = this;
32493   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.Ext4WritepageFtraceEvent)
32494   GOOGLE_DCHECK_NE(&from, _this);
32495   ::uint32_t cached_has_bits = 0;
32496   (void) cached_has_bits;
32497 
32498   cached_has_bits = from._impl_._has_bits_[0];
32499   if (cached_has_bits & 0x00000007u) {
32500     if (cached_has_bits & 0x00000001u) {
32501       _this->_impl_.dev_ = from._impl_.dev_;
32502     }
32503     if (cached_has_bits & 0x00000002u) {
32504       _this->_impl_.ino_ = from._impl_.ino_;
32505     }
32506     if (cached_has_bits & 0x00000004u) {
32507       _this->_impl_.index_ = from._impl_.index_;
32508     }
32509     _this->_impl_._has_bits_[0] |= cached_has_bits;
32510   }
32511   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
32512 }
32513 
CopyFrom(const Ext4WritepageFtraceEvent & from)32514 void Ext4WritepageFtraceEvent::CopyFrom(const Ext4WritepageFtraceEvent& from) {
32515 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.Ext4WritepageFtraceEvent)
32516   if (&from == this) return;
32517   Clear();
32518   MergeFrom(from);
32519 }
32520 
IsInitialized() const32521 bool Ext4WritepageFtraceEvent::IsInitialized() const {
32522   return true;
32523 }
32524 
InternalSwap(Ext4WritepageFtraceEvent * other)32525 void Ext4WritepageFtraceEvent::InternalSwap(Ext4WritepageFtraceEvent* other) {
32526   using std::swap;
32527   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
32528   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
32529   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
32530       PROTOBUF_FIELD_OFFSET(Ext4WritepageFtraceEvent, _impl_.index_)
32531       + sizeof(Ext4WritepageFtraceEvent::_impl_.index_)  // NOLINT
32532       - PROTOBUF_FIELD_OFFSET(Ext4WritepageFtraceEvent, _impl_.dev_)>(
32533           reinterpret_cast<char*>(&_impl_.dev_),
32534           reinterpret_cast<char*>(&other->_impl_.dev_));
32535 }
32536 
GetTypeName() const32537 std::string Ext4WritepageFtraceEvent::GetTypeName() const {
32538   return "perfetto.protos.Ext4WritepageFtraceEvent";
32539 }
32540 
32541 
32542 // ===================================================================
32543 
32544 class Ext4WritepagesFtraceEvent::_Internal {
32545  public:
32546   using HasBits = decltype(std::declval<Ext4WritepagesFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)32547   static void set_has_dev(HasBits* has_bits) {
32548     (*has_bits)[0] |= 1u;
32549   }
set_has_ino(HasBits * has_bits)32550   static void set_has_ino(HasBits* has_bits) {
32551     (*has_bits)[0] |= 2u;
32552   }
set_has_nr_to_write(HasBits * has_bits)32553   static void set_has_nr_to_write(HasBits* has_bits) {
32554     (*has_bits)[0] |= 4u;
32555   }
set_has_pages_skipped(HasBits * has_bits)32556   static void set_has_pages_skipped(HasBits* has_bits) {
32557     (*has_bits)[0] |= 8u;
32558   }
set_has_range_start(HasBits * has_bits)32559   static void set_has_range_start(HasBits* has_bits) {
32560     (*has_bits)[0] |= 16u;
32561   }
set_has_range_end(HasBits * has_bits)32562   static void set_has_range_end(HasBits* has_bits) {
32563     (*has_bits)[0] |= 32u;
32564   }
set_has_writeback_index(HasBits * has_bits)32565   static void set_has_writeback_index(HasBits* has_bits) {
32566     (*has_bits)[0] |= 64u;
32567   }
set_has_sync_mode(HasBits * has_bits)32568   static void set_has_sync_mode(HasBits* has_bits) {
32569     (*has_bits)[0] |= 128u;
32570   }
set_has_for_kupdate(HasBits * has_bits)32571   static void set_has_for_kupdate(HasBits* has_bits) {
32572     (*has_bits)[0] |= 256u;
32573   }
set_has_range_cyclic(HasBits * has_bits)32574   static void set_has_range_cyclic(HasBits* has_bits) {
32575     (*has_bits)[0] |= 512u;
32576   }
32577 };
32578 
Ext4WritepagesFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)32579 Ext4WritepagesFtraceEvent::Ext4WritepagesFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
32580                          bool is_message_owned)
32581   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
32582   SharedCtor(arena, is_message_owned);
32583   // @@protoc_insertion_point(arena_constructor:perfetto.protos.Ext4WritepagesFtraceEvent)
32584 }
Ext4WritepagesFtraceEvent(const Ext4WritepagesFtraceEvent & from)32585 Ext4WritepagesFtraceEvent::Ext4WritepagesFtraceEvent(const Ext4WritepagesFtraceEvent& from)
32586   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
32587   Ext4WritepagesFtraceEvent* const _this = this; (void)_this;
32588   new (&_impl_) Impl_{
32589       decltype(_impl_._has_bits_){from._impl_._has_bits_}
32590     , /*decltype(_impl_._cached_size_)*/{}
32591     , decltype(_impl_.dev_){}
32592     , decltype(_impl_.ino_){}
32593     , decltype(_impl_.nr_to_write_){}
32594     , decltype(_impl_.pages_skipped_){}
32595     , decltype(_impl_.range_start_){}
32596     , decltype(_impl_.range_end_){}
32597     , decltype(_impl_.writeback_index_){}
32598     , decltype(_impl_.sync_mode_){}
32599     , decltype(_impl_.for_kupdate_){}
32600     , decltype(_impl_.range_cyclic_){}};
32601 
32602   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
32603   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
32604     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.range_cyclic_) -
32605     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.range_cyclic_));
32606   // @@protoc_insertion_point(copy_constructor:perfetto.protos.Ext4WritepagesFtraceEvent)
32607 }
32608 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)32609 inline void Ext4WritepagesFtraceEvent::SharedCtor(
32610     ::_pb::Arena* arena, bool is_message_owned) {
32611   (void)arena;
32612   (void)is_message_owned;
32613   new (&_impl_) Impl_{
32614       decltype(_impl_._has_bits_){}
32615     , /*decltype(_impl_._cached_size_)*/{}
32616     , decltype(_impl_.dev_){::uint64_t{0u}}
32617     , decltype(_impl_.ino_){::uint64_t{0u}}
32618     , decltype(_impl_.nr_to_write_){::int64_t{0}}
32619     , decltype(_impl_.pages_skipped_){::int64_t{0}}
32620     , decltype(_impl_.range_start_){::int64_t{0}}
32621     , decltype(_impl_.range_end_){::int64_t{0}}
32622     , decltype(_impl_.writeback_index_){::uint64_t{0u}}
32623     , decltype(_impl_.sync_mode_){0}
32624     , decltype(_impl_.for_kupdate_){0u}
32625     , decltype(_impl_.range_cyclic_){0u}
32626   };
32627 }
32628 
~Ext4WritepagesFtraceEvent()32629 Ext4WritepagesFtraceEvent::~Ext4WritepagesFtraceEvent() {
32630   // @@protoc_insertion_point(destructor:perfetto.protos.Ext4WritepagesFtraceEvent)
32631   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
32632   (void)arena;
32633     return;
32634   }
32635   SharedDtor();
32636 }
32637 
SharedDtor()32638 inline void Ext4WritepagesFtraceEvent::SharedDtor() {
32639   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
32640 }
32641 
SetCachedSize(int size) const32642 void Ext4WritepagesFtraceEvent::SetCachedSize(int size) const {
32643   _impl_._cached_size_.Set(size);
32644 }
32645 
Clear()32646 void Ext4WritepagesFtraceEvent::Clear() {
32647 // @@protoc_insertion_point(message_clear_start:perfetto.protos.Ext4WritepagesFtraceEvent)
32648   ::uint32_t cached_has_bits = 0;
32649   // Prevent compiler warnings about cached_has_bits being unused
32650   (void) cached_has_bits;
32651 
32652   cached_has_bits = _impl_._has_bits_[0];
32653   if (cached_has_bits & 0x000000ffu) {
32654     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
32655         reinterpret_cast<char*>(&_impl_.sync_mode_) -
32656         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.sync_mode_));
32657   }
32658   if (cached_has_bits & 0x00000300u) {
32659     ::memset(&_impl_.for_kupdate_, 0, static_cast<size_t>(
32660         reinterpret_cast<char*>(&_impl_.range_cyclic_) -
32661         reinterpret_cast<char*>(&_impl_.for_kupdate_)) + sizeof(_impl_.range_cyclic_));
32662   }
32663   _impl_._has_bits_.Clear();
32664   _internal_metadata_.Clear<std::string>();
32665 }
32666 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)32667 const char* Ext4WritepagesFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
32668 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
32669   _Internal::HasBits has_bits{};
32670   while (!ctx->Done(&ptr)) {
32671     ::uint32_t tag;
32672     ptr = ::_pbi::ReadTag(ptr, &tag);
32673     switch (tag >> 3) {
32674       // optional uint64 dev = 1;
32675       case 1:
32676         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
32677           _Internal::set_has_dev(&has_bits);
32678           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
32679           CHK_(ptr);
32680         } else {
32681           goto handle_unusual;
32682         }
32683         continue;
32684       // optional uint64 ino = 2;
32685       case 2:
32686         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
32687           _Internal::set_has_ino(&has_bits);
32688           _impl_.ino_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
32689           CHK_(ptr);
32690         } else {
32691           goto handle_unusual;
32692         }
32693         continue;
32694       // optional int64 nr_to_write = 3;
32695       case 3:
32696         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
32697           _Internal::set_has_nr_to_write(&has_bits);
32698           _impl_.nr_to_write_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
32699           CHK_(ptr);
32700         } else {
32701           goto handle_unusual;
32702         }
32703         continue;
32704       // optional int64 pages_skipped = 4;
32705       case 4:
32706         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
32707           _Internal::set_has_pages_skipped(&has_bits);
32708           _impl_.pages_skipped_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
32709           CHK_(ptr);
32710         } else {
32711           goto handle_unusual;
32712         }
32713         continue;
32714       // optional int64 range_start = 5;
32715       case 5:
32716         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) {
32717           _Internal::set_has_range_start(&has_bits);
32718           _impl_.range_start_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
32719           CHK_(ptr);
32720         } else {
32721           goto handle_unusual;
32722         }
32723         continue;
32724       // optional int64 range_end = 6;
32725       case 6:
32726         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 48)) {
32727           _Internal::set_has_range_end(&has_bits);
32728           _impl_.range_end_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
32729           CHK_(ptr);
32730         } else {
32731           goto handle_unusual;
32732         }
32733         continue;
32734       // optional uint64 writeback_index = 7;
32735       case 7:
32736         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 56)) {
32737           _Internal::set_has_writeback_index(&has_bits);
32738           _impl_.writeback_index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
32739           CHK_(ptr);
32740         } else {
32741           goto handle_unusual;
32742         }
32743         continue;
32744       // optional int32 sync_mode = 8;
32745       case 8:
32746         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 64)) {
32747           _Internal::set_has_sync_mode(&has_bits);
32748           _impl_.sync_mode_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
32749           CHK_(ptr);
32750         } else {
32751           goto handle_unusual;
32752         }
32753         continue;
32754       // optional uint32 for_kupdate = 9;
32755       case 9:
32756         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 72)) {
32757           _Internal::set_has_for_kupdate(&has_bits);
32758           _impl_.for_kupdate_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
32759           CHK_(ptr);
32760         } else {
32761           goto handle_unusual;
32762         }
32763         continue;
32764       // optional uint32 range_cyclic = 10;
32765       case 10:
32766         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 80)) {
32767           _Internal::set_has_range_cyclic(&has_bits);
32768           _impl_.range_cyclic_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
32769           CHK_(ptr);
32770         } else {
32771           goto handle_unusual;
32772         }
32773         continue;
32774       default:
32775         goto handle_unusual;
32776     }  // switch
32777   handle_unusual:
32778     if ((tag == 0) || ((tag & 7) == 4)) {
32779       CHK_(ptr);
32780       ctx->SetLastTag(tag);
32781       goto message_done;
32782     }
32783     ptr = UnknownFieldParse(
32784         tag,
32785         _internal_metadata_.mutable_unknown_fields<std::string>(),
32786         ptr, ctx);
32787     CHK_(ptr != nullptr);
32788   }  // while
32789 message_done:
32790   _impl_._has_bits_.Or(has_bits);
32791   return ptr;
32792 failure:
32793   ptr = nullptr;
32794   goto message_done;
32795 #undef CHK_
32796 }
32797 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const32798 ::uint8_t* Ext4WritepagesFtraceEvent::_InternalSerialize(
32799     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
32800   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.Ext4WritepagesFtraceEvent)
32801   ::uint32_t cached_has_bits = 0;
32802   (void) cached_has_bits;
32803 
32804   cached_has_bits = _impl_._has_bits_[0];
32805   // optional uint64 dev = 1;
32806   if (cached_has_bits & 0x00000001u) {
32807     target = stream->EnsureSpace(target);
32808     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
32809   }
32810 
32811   // optional uint64 ino = 2;
32812   if (cached_has_bits & 0x00000002u) {
32813     target = stream->EnsureSpace(target);
32814     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_ino(), target);
32815   }
32816 
32817   // optional int64 nr_to_write = 3;
32818   if (cached_has_bits & 0x00000004u) {
32819     target = stream->EnsureSpace(target);
32820     target = ::_pbi::WireFormatLite::WriteInt64ToArray(3, this->_internal_nr_to_write(), target);
32821   }
32822 
32823   // optional int64 pages_skipped = 4;
32824   if (cached_has_bits & 0x00000008u) {
32825     target = stream->EnsureSpace(target);
32826     target = ::_pbi::WireFormatLite::WriteInt64ToArray(4, this->_internal_pages_skipped(), target);
32827   }
32828 
32829   // optional int64 range_start = 5;
32830   if (cached_has_bits & 0x00000010u) {
32831     target = stream->EnsureSpace(target);
32832     target = ::_pbi::WireFormatLite::WriteInt64ToArray(5, this->_internal_range_start(), target);
32833   }
32834 
32835   // optional int64 range_end = 6;
32836   if (cached_has_bits & 0x00000020u) {
32837     target = stream->EnsureSpace(target);
32838     target = ::_pbi::WireFormatLite::WriteInt64ToArray(6, this->_internal_range_end(), target);
32839   }
32840 
32841   // optional uint64 writeback_index = 7;
32842   if (cached_has_bits & 0x00000040u) {
32843     target = stream->EnsureSpace(target);
32844     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(7, this->_internal_writeback_index(), target);
32845   }
32846 
32847   // optional int32 sync_mode = 8;
32848   if (cached_has_bits & 0x00000080u) {
32849     target = stream->EnsureSpace(target);
32850     target = ::_pbi::WireFormatLite::WriteInt32ToArray(8, this->_internal_sync_mode(), target);
32851   }
32852 
32853   // optional uint32 for_kupdate = 9;
32854   if (cached_has_bits & 0x00000100u) {
32855     target = stream->EnsureSpace(target);
32856     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(9, this->_internal_for_kupdate(), target);
32857   }
32858 
32859   // optional uint32 range_cyclic = 10;
32860   if (cached_has_bits & 0x00000200u) {
32861     target = stream->EnsureSpace(target);
32862     target = ::_pbi::WireFormatLite::WriteUInt32ToArray(10, this->_internal_range_cyclic(), target);
32863   }
32864 
32865   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
32866     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
32867         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
32868   }
32869   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.Ext4WritepagesFtraceEvent)
32870   return target;
32871 }
32872 
ByteSizeLong() const32873 size_t Ext4WritepagesFtraceEvent::ByteSizeLong() const {
32874 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.Ext4WritepagesFtraceEvent)
32875   size_t total_size = 0;
32876 
32877   ::uint32_t cached_has_bits = 0;
32878   // Prevent compiler warnings about cached_has_bits being unused
32879   (void) cached_has_bits;
32880 
32881   cached_has_bits = _impl_._has_bits_[0];
32882   if (cached_has_bits & 0x000000ffu) {
32883     // optional uint64 dev = 1;
32884     if (cached_has_bits & 0x00000001u) {
32885       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
32886     }
32887 
32888     // optional uint64 ino = 2;
32889     if (cached_has_bits & 0x00000002u) {
32890       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ino());
32891     }
32892 
32893     // optional int64 nr_to_write = 3;
32894     if (cached_has_bits & 0x00000004u) {
32895       total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_nr_to_write());
32896     }
32897 
32898     // optional int64 pages_skipped = 4;
32899     if (cached_has_bits & 0x00000008u) {
32900       total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_pages_skipped());
32901     }
32902 
32903     // optional int64 range_start = 5;
32904     if (cached_has_bits & 0x00000010u) {
32905       total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_range_start());
32906     }
32907 
32908     // optional int64 range_end = 6;
32909     if (cached_has_bits & 0x00000020u) {
32910       total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_range_end());
32911     }
32912 
32913     // optional uint64 writeback_index = 7;
32914     if (cached_has_bits & 0x00000040u) {
32915       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_writeback_index());
32916     }
32917 
32918     // optional int32 sync_mode = 8;
32919     if (cached_has_bits & 0x00000080u) {
32920       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_sync_mode());
32921     }
32922 
32923   }
32924   if (cached_has_bits & 0x00000300u) {
32925     // optional uint32 for_kupdate = 9;
32926     if (cached_has_bits & 0x00000100u) {
32927       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_for_kupdate());
32928     }
32929 
32930     // optional uint32 range_cyclic = 10;
32931     if (cached_has_bits & 0x00000200u) {
32932       total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_range_cyclic());
32933     }
32934 
32935   }
32936   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
32937     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
32938   }
32939   int cached_size = ::_pbi::ToCachedSize(total_size);
32940   SetCachedSize(cached_size);
32941   return total_size;
32942 }
32943 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)32944 void Ext4WritepagesFtraceEvent::CheckTypeAndMergeFrom(
32945     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
32946   MergeFrom(*::_pbi::DownCast<const Ext4WritepagesFtraceEvent*>(
32947       &from));
32948 }
32949 
MergeFrom(const Ext4WritepagesFtraceEvent & from)32950 void Ext4WritepagesFtraceEvent::MergeFrom(const Ext4WritepagesFtraceEvent& from) {
32951   Ext4WritepagesFtraceEvent* const _this = this;
32952   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.Ext4WritepagesFtraceEvent)
32953   GOOGLE_DCHECK_NE(&from, _this);
32954   ::uint32_t cached_has_bits = 0;
32955   (void) cached_has_bits;
32956 
32957   cached_has_bits = from._impl_._has_bits_[0];
32958   if (cached_has_bits & 0x000000ffu) {
32959     if (cached_has_bits & 0x00000001u) {
32960       _this->_impl_.dev_ = from._impl_.dev_;
32961     }
32962     if (cached_has_bits & 0x00000002u) {
32963       _this->_impl_.ino_ = from._impl_.ino_;
32964     }
32965     if (cached_has_bits & 0x00000004u) {
32966       _this->_impl_.nr_to_write_ = from._impl_.nr_to_write_;
32967     }
32968     if (cached_has_bits & 0x00000008u) {
32969       _this->_impl_.pages_skipped_ = from._impl_.pages_skipped_;
32970     }
32971     if (cached_has_bits & 0x00000010u) {
32972       _this->_impl_.range_start_ = from._impl_.range_start_;
32973     }
32974     if (cached_has_bits & 0x00000020u) {
32975       _this->_impl_.range_end_ = from._impl_.range_end_;
32976     }
32977     if (cached_has_bits & 0x00000040u) {
32978       _this->_impl_.writeback_index_ = from._impl_.writeback_index_;
32979     }
32980     if (cached_has_bits & 0x00000080u) {
32981       _this->_impl_.sync_mode_ = from._impl_.sync_mode_;
32982     }
32983     _this->_impl_._has_bits_[0] |= cached_has_bits;
32984   }
32985   if (cached_has_bits & 0x00000300u) {
32986     if (cached_has_bits & 0x00000100u) {
32987       _this->_impl_.for_kupdate_ = from._impl_.for_kupdate_;
32988     }
32989     if (cached_has_bits & 0x00000200u) {
32990       _this->_impl_.range_cyclic_ = from._impl_.range_cyclic_;
32991     }
32992     _this->_impl_._has_bits_[0] |= cached_has_bits;
32993   }
32994   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
32995 }
32996 
CopyFrom(const Ext4WritepagesFtraceEvent & from)32997 void Ext4WritepagesFtraceEvent::CopyFrom(const Ext4WritepagesFtraceEvent& from) {
32998 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.Ext4WritepagesFtraceEvent)
32999   if (&from == this) return;
33000   Clear();
33001   MergeFrom(from);
33002 }
33003 
IsInitialized() const33004 bool Ext4WritepagesFtraceEvent::IsInitialized() const {
33005   return true;
33006 }
33007 
InternalSwap(Ext4WritepagesFtraceEvent * other)33008 void Ext4WritepagesFtraceEvent::InternalSwap(Ext4WritepagesFtraceEvent* other) {
33009   using std::swap;
33010   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
33011   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
33012   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
33013       PROTOBUF_FIELD_OFFSET(Ext4WritepagesFtraceEvent, _impl_.range_cyclic_)
33014       + sizeof(Ext4WritepagesFtraceEvent::_impl_.range_cyclic_)  // NOLINT
33015       - PROTOBUF_FIELD_OFFSET(Ext4WritepagesFtraceEvent, _impl_.dev_)>(
33016           reinterpret_cast<char*>(&_impl_.dev_),
33017           reinterpret_cast<char*>(&other->_impl_.dev_));
33018 }
33019 
GetTypeName() const33020 std::string Ext4WritepagesFtraceEvent::GetTypeName() const {
33021   return "perfetto.protos.Ext4WritepagesFtraceEvent";
33022 }
33023 
33024 
33025 // ===================================================================
33026 
33027 class Ext4WritepagesResultFtraceEvent::_Internal {
33028  public:
33029   using HasBits = decltype(std::declval<Ext4WritepagesResultFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)33030   static void set_has_dev(HasBits* has_bits) {
33031     (*has_bits)[0] |= 1u;
33032   }
set_has_ino(HasBits * has_bits)33033   static void set_has_ino(HasBits* has_bits) {
33034     (*has_bits)[0] |= 2u;
33035   }
set_has_ret(HasBits * has_bits)33036   static void set_has_ret(HasBits* has_bits) {
33037     (*has_bits)[0] |= 4u;
33038   }
set_has_pages_written(HasBits * has_bits)33039   static void set_has_pages_written(HasBits* has_bits) {
33040     (*has_bits)[0] |= 8u;
33041   }
set_has_pages_skipped(HasBits * has_bits)33042   static void set_has_pages_skipped(HasBits* has_bits) {
33043     (*has_bits)[0] |= 16u;
33044   }
set_has_writeback_index(HasBits * has_bits)33045   static void set_has_writeback_index(HasBits* has_bits) {
33046     (*has_bits)[0] |= 32u;
33047   }
set_has_sync_mode(HasBits * has_bits)33048   static void set_has_sync_mode(HasBits* has_bits) {
33049     (*has_bits)[0] |= 64u;
33050   }
33051 };
33052 
Ext4WritepagesResultFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)33053 Ext4WritepagesResultFtraceEvent::Ext4WritepagesResultFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
33054                          bool is_message_owned)
33055   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
33056   SharedCtor(arena, is_message_owned);
33057   // @@protoc_insertion_point(arena_constructor:perfetto.protos.Ext4WritepagesResultFtraceEvent)
33058 }
Ext4WritepagesResultFtraceEvent(const Ext4WritepagesResultFtraceEvent & from)33059 Ext4WritepagesResultFtraceEvent::Ext4WritepagesResultFtraceEvent(const Ext4WritepagesResultFtraceEvent& from)
33060   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
33061   Ext4WritepagesResultFtraceEvent* const _this = this; (void)_this;
33062   new (&_impl_) Impl_{
33063       decltype(_impl_._has_bits_){from._impl_._has_bits_}
33064     , /*decltype(_impl_._cached_size_)*/{}
33065     , decltype(_impl_.dev_){}
33066     , decltype(_impl_.ino_){}
33067     , decltype(_impl_.ret_){}
33068     , decltype(_impl_.pages_written_){}
33069     , decltype(_impl_.pages_skipped_){}
33070     , decltype(_impl_.writeback_index_){}
33071     , decltype(_impl_.sync_mode_){}};
33072 
33073   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
33074   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
33075     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.sync_mode_) -
33076     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.sync_mode_));
33077   // @@protoc_insertion_point(copy_constructor:perfetto.protos.Ext4WritepagesResultFtraceEvent)
33078 }
33079 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)33080 inline void Ext4WritepagesResultFtraceEvent::SharedCtor(
33081     ::_pb::Arena* arena, bool is_message_owned) {
33082   (void)arena;
33083   (void)is_message_owned;
33084   new (&_impl_) Impl_{
33085       decltype(_impl_._has_bits_){}
33086     , /*decltype(_impl_._cached_size_)*/{}
33087     , decltype(_impl_.dev_){::uint64_t{0u}}
33088     , decltype(_impl_.ino_){::uint64_t{0u}}
33089     , decltype(_impl_.ret_){0}
33090     , decltype(_impl_.pages_written_){0}
33091     , decltype(_impl_.pages_skipped_){::int64_t{0}}
33092     , decltype(_impl_.writeback_index_){::uint64_t{0u}}
33093     , decltype(_impl_.sync_mode_){0}
33094   };
33095 }
33096 
~Ext4WritepagesResultFtraceEvent()33097 Ext4WritepagesResultFtraceEvent::~Ext4WritepagesResultFtraceEvent() {
33098   // @@protoc_insertion_point(destructor:perfetto.protos.Ext4WritepagesResultFtraceEvent)
33099   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
33100   (void)arena;
33101     return;
33102   }
33103   SharedDtor();
33104 }
33105 
SharedDtor()33106 inline void Ext4WritepagesResultFtraceEvent::SharedDtor() {
33107   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
33108 }
33109 
SetCachedSize(int size) const33110 void Ext4WritepagesResultFtraceEvent::SetCachedSize(int size) const {
33111   _impl_._cached_size_.Set(size);
33112 }
33113 
Clear()33114 void Ext4WritepagesResultFtraceEvent::Clear() {
33115 // @@protoc_insertion_point(message_clear_start:perfetto.protos.Ext4WritepagesResultFtraceEvent)
33116   ::uint32_t cached_has_bits = 0;
33117   // Prevent compiler warnings about cached_has_bits being unused
33118   (void) cached_has_bits;
33119 
33120   cached_has_bits = _impl_._has_bits_[0];
33121   if (cached_has_bits & 0x0000007fu) {
33122     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
33123         reinterpret_cast<char*>(&_impl_.sync_mode_) -
33124         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.sync_mode_));
33125   }
33126   _impl_._has_bits_.Clear();
33127   _internal_metadata_.Clear<std::string>();
33128 }
33129 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)33130 const char* Ext4WritepagesResultFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
33131 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
33132   _Internal::HasBits has_bits{};
33133   while (!ctx->Done(&ptr)) {
33134     ::uint32_t tag;
33135     ptr = ::_pbi::ReadTag(ptr, &tag);
33136     switch (tag >> 3) {
33137       // optional uint64 dev = 1;
33138       case 1:
33139         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
33140           _Internal::set_has_dev(&has_bits);
33141           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
33142           CHK_(ptr);
33143         } else {
33144           goto handle_unusual;
33145         }
33146         continue;
33147       // optional uint64 ino = 2;
33148       case 2:
33149         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
33150           _Internal::set_has_ino(&has_bits);
33151           _impl_.ino_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
33152           CHK_(ptr);
33153         } else {
33154           goto handle_unusual;
33155         }
33156         continue;
33157       // optional int32 ret = 3;
33158       case 3:
33159         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
33160           _Internal::set_has_ret(&has_bits);
33161           _impl_.ret_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
33162           CHK_(ptr);
33163         } else {
33164           goto handle_unusual;
33165         }
33166         continue;
33167       // optional int32 pages_written = 4;
33168       case 4:
33169         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
33170           _Internal::set_has_pages_written(&has_bits);
33171           _impl_.pages_written_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
33172           CHK_(ptr);
33173         } else {
33174           goto handle_unusual;
33175         }
33176         continue;
33177       // optional int64 pages_skipped = 5;
33178       case 5:
33179         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) {
33180           _Internal::set_has_pages_skipped(&has_bits);
33181           _impl_.pages_skipped_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
33182           CHK_(ptr);
33183         } else {
33184           goto handle_unusual;
33185         }
33186         continue;
33187       // optional uint64 writeback_index = 6;
33188       case 6:
33189         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 48)) {
33190           _Internal::set_has_writeback_index(&has_bits);
33191           _impl_.writeback_index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
33192           CHK_(ptr);
33193         } else {
33194           goto handle_unusual;
33195         }
33196         continue;
33197       // optional int32 sync_mode = 7;
33198       case 7:
33199         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 56)) {
33200           _Internal::set_has_sync_mode(&has_bits);
33201           _impl_.sync_mode_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
33202           CHK_(ptr);
33203         } else {
33204           goto handle_unusual;
33205         }
33206         continue;
33207       default:
33208         goto handle_unusual;
33209     }  // switch
33210   handle_unusual:
33211     if ((tag == 0) || ((tag & 7) == 4)) {
33212       CHK_(ptr);
33213       ctx->SetLastTag(tag);
33214       goto message_done;
33215     }
33216     ptr = UnknownFieldParse(
33217         tag,
33218         _internal_metadata_.mutable_unknown_fields<std::string>(),
33219         ptr, ctx);
33220     CHK_(ptr != nullptr);
33221   }  // while
33222 message_done:
33223   _impl_._has_bits_.Or(has_bits);
33224   return ptr;
33225 failure:
33226   ptr = nullptr;
33227   goto message_done;
33228 #undef CHK_
33229 }
33230 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const33231 ::uint8_t* Ext4WritepagesResultFtraceEvent::_InternalSerialize(
33232     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
33233   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.Ext4WritepagesResultFtraceEvent)
33234   ::uint32_t cached_has_bits = 0;
33235   (void) cached_has_bits;
33236 
33237   cached_has_bits = _impl_._has_bits_[0];
33238   // optional uint64 dev = 1;
33239   if (cached_has_bits & 0x00000001u) {
33240     target = stream->EnsureSpace(target);
33241     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
33242   }
33243 
33244   // optional uint64 ino = 2;
33245   if (cached_has_bits & 0x00000002u) {
33246     target = stream->EnsureSpace(target);
33247     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_ino(), target);
33248   }
33249 
33250   // optional int32 ret = 3;
33251   if (cached_has_bits & 0x00000004u) {
33252     target = stream->EnsureSpace(target);
33253     target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_ret(), target);
33254   }
33255 
33256   // optional int32 pages_written = 4;
33257   if (cached_has_bits & 0x00000008u) {
33258     target = stream->EnsureSpace(target);
33259     target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_pages_written(), target);
33260   }
33261 
33262   // optional int64 pages_skipped = 5;
33263   if (cached_has_bits & 0x00000010u) {
33264     target = stream->EnsureSpace(target);
33265     target = ::_pbi::WireFormatLite::WriteInt64ToArray(5, this->_internal_pages_skipped(), target);
33266   }
33267 
33268   // optional uint64 writeback_index = 6;
33269   if (cached_has_bits & 0x00000020u) {
33270     target = stream->EnsureSpace(target);
33271     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(6, this->_internal_writeback_index(), target);
33272   }
33273 
33274   // optional int32 sync_mode = 7;
33275   if (cached_has_bits & 0x00000040u) {
33276     target = stream->EnsureSpace(target);
33277     target = ::_pbi::WireFormatLite::WriteInt32ToArray(7, this->_internal_sync_mode(), target);
33278   }
33279 
33280   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
33281     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
33282         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
33283   }
33284   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.Ext4WritepagesResultFtraceEvent)
33285   return target;
33286 }
33287 
ByteSizeLong() const33288 size_t Ext4WritepagesResultFtraceEvent::ByteSizeLong() const {
33289 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.Ext4WritepagesResultFtraceEvent)
33290   size_t total_size = 0;
33291 
33292   ::uint32_t cached_has_bits = 0;
33293   // Prevent compiler warnings about cached_has_bits being unused
33294   (void) cached_has_bits;
33295 
33296   cached_has_bits = _impl_._has_bits_[0];
33297   if (cached_has_bits & 0x0000007fu) {
33298     // optional uint64 dev = 1;
33299     if (cached_has_bits & 0x00000001u) {
33300       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
33301     }
33302 
33303     // optional uint64 ino = 2;
33304     if (cached_has_bits & 0x00000002u) {
33305       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ino());
33306     }
33307 
33308     // optional int32 ret = 3;
33309     if (cached_has_bits & 0x00000004u) {
33310       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_ret());
33311     }
33312 
33313     // optional int32 pages_written = 4;
33314     if (cached_has_bits & 0x00000008u) {
33315       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_pages_written());
33316     }
33317 
33318     // optional int64 pages_skipped = 5;
33319     if (cached_has_bits & 0x00000010u) {
33320       total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_pages_skipped());
33321     }
33322 
33323     // optional uint64 writeback_index = 6;
33324     if (cached_has_bits & 0x00000020u) {
33325       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_writeback_index());
33326     }
33327 
33328     // optional int32 sync_mode = 7;
33329     if (cached_has_bits & 0x00000040u) {
33330       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_sync_mode());
33331     }
33332 
33333   }
33334   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
33335     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
33336   }
33337   int cached_size = ::_pbi::ToCachedSize(total_size);
33338   SetCachedSize(cached_size);
33339   return total_size;
33340 }
33341 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)33342 void Ext4WritepagesResultFtraceEvent::CheckTypeAndMergeFrom(
33343     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
33344   MergeFrom(*::_pbi::DownCast<const Ext4WritepagesResultFtraceEvent*>(
33345       &from));
33346 }
33347 
MergeFrom(const Ext4WritepagesResultFtraceEvent & from)33348 void Ext4WritepagesResultFtraceEvent::MergeFrom(const Ext4WritepagesResultFtraceEvent& from) {
33349   Ext4WritepagesResultFtraceEvent* const _this = this;
33350   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.Ext4WritepagesResultFtraceEvent)
33351   GOOGLE_DCHECK_NE(&from, _this);
33352   ::uint32_t cached_has_bits = 0;
33353   (void) cached_has_bits;
33354 
33355   cached_has_bits = from._impl_._has_bits_[0];
33356   if (cached_has_bits & 0x0000007fu) {
33357     if (cached_has_bits & 0x00000001u) {
33358       _this->_impl_.dev_ = from._impl_.dev_;
33359     }
33360     if (cached_has_bits & 0x00000002u) {
33361       _this->_impl_.ino_ = from._impl_.ino_;
33362     }
33363     if (cached_has_bits & 0x00000004u) {
33364       _this->_impl_.ret_ = from._impl_.ret_;
33365     }
33366     if (cached_has_bits & 0x00000008u) {
33367       _this->_impl_.pages_written_ = from._impl_.pages_written_;
33368     }
33369     if (cached_has_bits & 0x00000010u) {
33370       _this->_impl_.pages_skipped_ = from._impl_.pages_skipped_;
33371     }
33372     if (cached_has_bits & 0x00000020u) {
33373       _this->_impl_.writeback_index_ = from._impl_.writeback_index_;
33374     }
33375     if (cached_has_bits & 0x00000040u) {
33376       _this->_impl_.sync_mode_ = from._impl_.sync_mode_;
33377     }
33378     _this->_impl_._has_bits_[0] |= cached_has_bits;
33379   }
33380   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
33381 }
33382 
CopyFrom(const Ext4WritepagesResultFtraceEvent & from)33383 void Ext4WritepagesResultFtraceEvent::CopyFrom(const Ext4WritepagesResultFtraceEvent& from) {
33384 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.Ext4WritepagesResultFtraceEvent)
33385   if (&from == this) return;
33386   Clear();
33387   MergeFrom(from);
33388 }
33389 
IsInitialized() const33390 bool Ext4WritepagesResultFtraceEvent::IsInitialized() const {
33391   return true;
33392 }
33393 
InternalSwap(Ext4WritepagesResultFtraceEvent * other)33394 void Ext4WritepagesResultFtraceEvent::InternalSwap(Ext4WritepagesResultFtraceEvent* other) {
33395   using std::swap;
33396   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
33397   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
33398   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
33399       PROTOBUF_FIELD_OFFSET(Ext4WritepagesResultFtraceEvent, _impl_.sync_mode_)
33400       + sizeof(Ext4WritepagesResultFtraceEvent::_impl_.sync_mode_)  // NOLINT
33401       - PROTOBUF_FIELD_OFFSET(Ext4WritepagesResultFtraceEvent, _impl_.dev_)>(
33402           reinterpret_cast<char*>(&_impl_.dev_),
33403           reinterpret_cast<char*>(&other->_impl_.dev_));
33404 }
33405 
GetTypeName() const33406 std::string Ext4WritepagesResultFtraceEvent::GetTypeName() const {
33407   return "perfetto.protos.Ext4WritepagesResultFtraceEvent";
33408 }
33409 
33410 
33411 // ===================================================================
33412 
33413 class Ext4ZeroRangeFtraceEvent::_Internal {
33414  public:
33415   using HasBits = decltype(std::declval<Ext4ZeroRangeFtraceEvent>()._impl_._has_bits_);
set_has_dev(HasBits * has_bits)33416   static void set_has_dev(HasBits* has_bits) {
33417     (*has_bits)[0] |= 1u;
33418   }
set_has_ino(HasBits * has_bits)33419   static void set_has_ino(HasBits* has_bits) {
33420     (*has_bits)[0] |= 2u;
33421   }
set_has_offset(HasBits * has_bits)33422   static void set_has_offset(HasBits* has_bits) {
33423     (*has_bits)[0] |= 4u;
33424   }
set_has_len(HasBits * has_bits)33425   static void set_has_len(HasBits* has_bits) {
33426     (*has_bits)[0] |= 8u;
33427   }
set_has_mode(HasBits * has_bits)33428   static void set_has_mode(HasBits* has_bits) {
33429     (*has_bits)[0] |= 16u;
33430   }
33431 };
33432 
Ext4ZeroRangeFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)33433 Ext4ZeroRangeFtraceEvent::Ext4ZeroRangeFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
33434                          bool is_message_owned)
33435   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
33436   SharedCtor(arena, is_message_owned);
33437   // @@protoc_insertion_point(arena_constructor:perfetto.protos.Ext4ZeroRangeFtraceEvent)
33438 }
Ext4ZeroRangeFtraceEvent(const Ext4ZeroRangeFtraceEvent & from)33439 Ext4ZeroRangeFtraceEvent::Ext4ZeroRangeFtraceEvent(const Ext4ZeroRangeFtraceEvent& from)
33440   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
33441   Ext4ZeroRangeFtraceEvent* const _this = this; (void)_this;
33442   new (&_impl_) Impl_{
33443       decltype(_impl_._has_bits_){from._impl_._has_bits_}
33444     , /*decltype(_impl_._cached_size_)*/{}
33445     , decltype(_impl_.dev_){}
33446     , decltype(_impl_.ino_){}
33447     , decltype(_impl_.offset_){}
33448     , decltype(_impl_.len_){}
33449     , decltype(_impl_.mode_){}};
33450 
33451   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
33452   ::memcpy(&_impl_.dev_, &from._impl_.dev_,
33453     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.mode_) -
33454     reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.mode_));
33455   // @@protoc_insertion_point(copy_constructor:perfetto.protos.Ext4ZeroRangeFtraceEvent)
33456 }
33457 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)33458 inline void Ext4ZeroRangeFtraceEvent::SharedCtor(
33459     ::_pb::Arena* arena, bool is_message_owned) {
33460   (void)arena;
33461   (void)is_message_owned;
33462   new (&_impl_) Impl_{
33463       decltype(_impl_._has_bits_){}
33464     , /*decltype(_impl_._cached_size_)*/{}
33465     , decltype(_impl_.dev_){::uint64_t{0u}}
33466     , decltype(_impl_.ino_){::uint64_t{0u}}
33467     , decltype(_impl_.offset_){::int64_t{0}}
33468     , decltype(_impl_.len_){::int64_t{0}}
33469     , decltype(_impl_.mode_){0}
33470   };
33471 }
33472 
~Ext4ZeroRangeFtraceEvent()33473 Ext4ZeroRangeFtraceEvent::~Ext4ZeroRangeFtraceEvent() {
33474   // @@protoc_insertion_point(destructor:perfetto.protos.Ext4ZeroRangeFtraceEvent)
33475   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
33476   (void)arena;
33477     return;
33478   }
33479   SharedDtor();
33480 }
33481 
SharedDtor()33482 inline void Ext4ZeroRangeFtraceEvent::SharedDtor() {
33483   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
33484 }
33485 
SetCachedSize(int size) const33486 void Ext4ZeroRangeFtraceEvent::SetCachedSize(int size) const {
33487   _impl_._cached_size_.Set(size);
33488 }
33489 
Clear()33490 void Ext4ZeroRangeFtraceEvent::Clear() {
33491 // @@protoc_insertion_point(message_clear_start:perfetto.protos.Ext4ZeroRangeFtraceEvent)
33492   ::uint32_t cached_has_bits = 0;
33493   // Prevent compiler warnings about cached_has_bits being unused
33494   (void) cached_has_bits;
33495 
33496   cached_has_bits = _impl_._has_bits_[0];
33497   if (cached_has_bits & 0x0000001fu) {
33498     ::memset(&_impl_.dev_, 0, static_cast<size_t>(
33499         reinterpret_cast<char*>(&_impl_.mode_) -
33500         reinterpret_cast<char*>(&_impl_.dev_)) + sizeof(_impl_.mode_));
33501   }
33502   _impl_._has_bits_.Clear();
33503   _internal_metadata_.Clear<std::string>();
33504 }
33505 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)33506 const char* Ext4ZeroRangeFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
33507 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
33508   _Internal::HasBits has_bits{};
33509   while (!ctx->Done(&ptr)) {
33510     ::uint32_t tag;
33511     ptr = ::_pbi::ReadTag(ptr, &tag);
33512     switch (tag >> 3) {
33513       // optional uint64 dev = 1;
33514       case 1:
33515         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
33516           _Internal::set_has_dev(&has_bits);
33517           _impl_.dev_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
33518           CHK_(ptr);
33519         } else {
33520           goto handle_unusual;
33521         }
33522         continue;
33523       // optional uint64 ino = 2;
33524       case 2:
33525         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
33526           _Internal::set_has_ino(&has_bits);
33527           _impl_.ino_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
33528           CHK_(ptr);
33529         } else {
33530           goto handle_unusual;
33531         }
33532         continue;
33533       // optional int64 offset = 3;
33534       case 3:
33535         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
33536           _Internal::set_has_offset(&has_bits);
33537           _impl_.offset_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
33538           CHK_(ptr);
33539         } else {
33540           goto handle_unusual;
33541         }
33542         continue;
33543       // optional int64 len = 4;
33544       case 4:
33545         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
33546           _Internal::set_has_len(&has_bits);
33547           _impl_.len_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
33548           CHK_(ptr);
33549         } else {
33550           goto handle_unusual;
33551         }
33552         continue;
33553       // optional int32 mode = 5;
33554       case 5:
33555         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) {
33556           _Internal::set_has_mode(&has_bits);
33557           _impl_.mode_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
33558           CHK_(ptr);
33559         } else {
33560           goto handle_unusual;
33561         }
33562         continue;
33563       default:
33564         goto handle_unusual;
33565     }  // switch
33566   handle_unusual:
33567     if ((tag == 0) || ((tag & 7) == 4)) {
33568       CHK_(ptr);
33569       ctx->SetLastTag(tag);
33570       goto message_done;
33571     }
33572     ptr = UnknownFieldParse(
33573         tag,
33574         _internal_metadata_.mutable_unknown_fields<std::string>(),
33575         ptr, ctx);
33576     CHK_(ptr != nullptr);
33577   }  // while
33578 message_done:
33579   _impl_._has_bits_.Or(has_bits);
33580   return ptr;
33581 failure:
33582   ptr = nullptr;
33583   goto message_done;
33584 #undef CHK_
33585 }
33586 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const33587 ::uint8_t* Ext4ZeroRangeFtraceEvent::_InternalSerialize(
33588     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
33589   // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.Ext4ZeroRangeFtraceEvent)
33590   ::uint32_t cached_has_bits = 0;
33591   (void) cached_has_bits;
33592 
33593   cached_has_bits = _impl_._has_bits_[0];
33594   // optional uint64 dev = 1;
33595   if (cached_has_bits & 0x00000001u) {
33596     target = stream->EnsureSpace(target);
33597     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_dev(), target);
33598   }
33599 
33600   // optional uint64 ino = 2;
33601   if (cached_has_bits & 0x00000002u) {
33602     target = stream->EnsureSpace(target);
33603     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_ino(), target);
33604   }
33605 
33606   // optional int64 offset = 3;
33607   if (cached_has_bits & 0x00000004u) {
33608     target = stream->EnsureSpace(target);
33609     target = ::_pbi::WireFormatLite::WriteInt64ToArray(3, this->_internal_offset(), target);
33610   }
33611 
33612   // optional int64 len = 4;
33613   if (cached_has_bits & 0x00000008u) {
33614     target = stream->EnsureSpace(target);
33615     target = ::_pbi::WireFormatLite::WriteInt64ToArray(4, this->_internal_len(), target);
33616   }
33617 
33618   // optional int32 mode = 5;
33619   if (cached_has_bits & 0x00000010u) {
33620     target = stream->EnsureSpace(target);
33621     target = ::_pbi::WireFormatLite::WriteInt32ToArray(5, this->_internal_mode(), target);
33622   }
33623 
33624   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
33625     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
33626         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
33627   }
33628   // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.Ext4ZeroRangeFtraceEvent)
33629   return target;
33630 }
33631 
ByteSizeLong() const33632 size_t Ext4ZeroRangeFtraceEvent::ByteSizeLong() const {
33633 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.Ext4ZeroRangeFtraceEvent)
33634   size_t total_size = 0;
33635 
33636   ::uint32_t cached_has_bits = 0;
33637   // Prevent compiler warnings about cached_has_bits being unused
33638   (void) cached_has_bits;
33639 
33640   cached_has_bits = _impl_._has_bits_[0];
33641   if (cached_has_bits & 0x0000001fu) {
33642     // optional uint64 dev = 1;
33643     if (cached_has_bits & 0x00000001u) {
33644       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_dev());
33645     }
33646 
33647     // optional uint64 ino = 2;
33648     if (cached_has_bits & 0x00000002u) {
33649       total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_ino());
33650     }
33651 
33652     // optional int64 offset = 3;
33653     if (cached_has_bits & 0x00000004u) {
33654       total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_offset());
33655     }
33656 
33657     // optional int64 len = 4;
33658     if (cached_has_bits & 0x00000008u) {
33659       total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_len());
33660     }
33661 
33662     // optional int32 mode = 5;
33663     if (cached_has_bits & 0x00000010u) {
33664       total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_mode());
33665     }
33666 
33667   }
33668   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
33669     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
33670   }
33671   int cached_size = ::_pbi::ToCachedSize(total_size);
33672   SetCachedSize(cached_size);
33673   return total_size;
33674 }
33675 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)33676 void Ext4ZeroRangeFtraceEvent::CheckTypeAndMergeFrom(
33677     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
33678   MergeFrom(*::_pbi::DownCast<const Ext4ZeroRangeFtraceEvent*>(
33679       &from));
33680 }
33681 
MergeFrom(const Ext4ZeroRangeFtraceEvent & from)33682 void Ext4ZeroRangeFtraceEvent::MergeFrom(const Ext4ZeroRangeFtraceEvent& from) {
33683   Ext4ZeroRangeFtraceEvent* const _this = this;
33684   // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.Ext4ZeroRangeFtraceEvent)
33685   GOOGLE_DCHECK_NE(&from, _this);
33686   ::uint32_t cached_has_bits = 0;
33687   (void) cached_has_bits;
33688 
33689   cached_has_bits = from._impl_._has_bits_[0];
33690   if (cached_has_bits & 0x0000001fu) {
33691     if (cached_has_bits & 0x00000001u) {
33692       _this->_impl_.dev_ = from._impl_.dev_;
33693     }
33694     if (cached_has_bits & 0x00000002u) {
33695       _this->_impl_.ino_ = from._impl_.ino_;
33696     }
33697     if (cached_has_bits & 0x00000004u) {
33698       _this->_impl_.offset_ = from._impl_.offset_;
33699     }
33700     if (cached_has_bits & 0x00000008u) {
33701       _this->_impl_.len_ = from._impl_.len_;
33702     }
33703     if (cached_has_bits & 0x00000010u) {
33704       _this->_impl_.mode_ = from._impl_.mode_;
33705     }
33706     _this->_impl_._has_bits_[0] |= cached_has_bits;
33707   }
33708   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
33709 }
33710 
CopyFrom(const Ext4ZeroRangeFtraceEvent & from)33711 void Ext4ZeroRangeFtraceEvent::CopyFrom(const Ext4ZeroRangeFtraceEvent& from) {
33712 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.Ext4ZeroRangeFtraceEvent)
33713   if (&from == this) return;
33714   Clear();
33715   MergeFrom(from);
33716 }
33717 
IsInitialized() const33718 bool Ext4ZeroRangeFtraceEvent::IsInitialized() const {
33719   return true;
33720 }
33721 
InternalSwap(Ext4ZeroRangeFtraceEvent * other)33722 void Ext4ZeroRangeFtraceEvent::InternalSwap(Ext4ZeroRangeFtraceEvent* other) {
33723   using std::swap;
33724   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
33725   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
33726   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
33727       PROTOBUF_FIELD_OFFSET(Ext4ZeroRangeFtraceEvent, _impl_.mode_)
33728       + sizeof(Ext4ZeroRangeFtraceEvent::_impl_.mode_)  // NOLINT
33729       - PROTOBUF_FIELD_OFFSET(Ext4ZeroRangeFtraceEvent, _impl_.dev_)>(
33730           reinterpret_cast<char*>(&_impl_.dev_),
33731           reinterpret_cast<char*>(&other->_impl_.dev_));
33732 }
33733 
GetTypeName() const33734 std::string Ext4ZeroRangeFtraceEvent::GetTypeName() const {
33735   return "perfetto.protos.Ext4ZeroRangeFtraceEvent";
33736 }
33737 
33738 
33739 // @@protoc_insertion_point(namespace_scope)
33740 }  // namespace protos
33741 }  // namespace perfetto
33742 PROTOBUF_NAMESPACE_OPEN
33743 template<> PROTOBUF_NOINLINE ::perfetto::protos::Ext4DaWriteBeginFtraceEvent*
CreateMaybeMessage(Arena * arena)33744 Arena::CreateMaybeMessage< ::perfetto::protos::Ext4DaWriteBeginFtraceEvent >(Arena* arena) {
33745   return Arena::CreateMessageInternal< ::perfetto::protos::Ext4DaWriteBeginFtraceEvent >(arena);
33746 }
33747 template<> PROTOBUF_NOINLINE ::perfetto::protos::Ext4DaWriteEndFtraceEvent*
CreateMaybeMessage(Arena * arena)33748 Arena::CreateMaybeMessage< ::perfetto::protos::Ext4DaWriteEndFtraceEvent >(Arena* arena) {
33749   return Arena::CreateMessageInternal< ::perfetto::protos::Ext4DaWriteEndFtraceEvent >(arena);
33750 }
33751 template<> PROTOBUF_NOINLINE ::perfetto::protos::Ext4SyncFileEnterFtraceEvent*
CreateMaybeMessage(Arena * arena)33752 Arena::CreateMaybeMessage< ::perfetto::protos::Ext4SyncFileEnterFtraceEvent >(Arena* arena) {
33753   return Arena::CreateMessageInternal< ::perfetto::protos::Ext4SyncFileEnterFtraceEvent >(arena);
33754 }
33755 template<> PROTOBUF_NOINLINE ::perfetto::protos::Ext4SyncFileExitFtraceEvent*
CreateMaybeMessage(Arena * arena)33756 Arena::CreateMaybeMessage< ::perfetto::protos::Ext4SyncFileExitFtraceEvent >(Arena* arena) {
33757   return Arena::CreateMessageInternal< ::perfetto::protos::Ext4SyncFileExitFtraceEvent >(arena);
33758 }
33759 template<> PROTOBUF_NOINLINE ::perfetto::protos::Ext4AllocDaBlocksFtraceEvent*
CreateMaybeMessage(Arena * arena)33760 Arena::CreateMaybeMessage< ::perfetto::protos::Ext4AllocDaBlocksFtraceEvent >(Arena* arena) {
33761   return Arena::CreateMessageInternal< ::perfetto::protos::Ext4AllocDaBlocksFtraceEvent >(arena);
33762 }
33763 template<> PROTOBUF_NOINLINE ::perfetto::protos::Ext4AllocateBlocksFtraceEvent*
CreateMaybeMessage(Arena * arena)33764 Arena::CreateMaybeMessage< ::perfetto::protos::Ext4AllocateBlocksFtraceEvent >(Arena* arena) {
33765   return Arena::CreateMessageInternal< ::perfetto::protos::Ext4AllocateBlocksFtraceEvent >(arena);
33766 }
33767 template<> PROTOBUF_NOINLINE ::perfetto::protos::Ext4AllocateInodeFtraceEvent*
CreateMaybeMessage(Arena * arena)33768 Arena::CreateMaybeMessage< ::perfetto::protos::Ext4AllocateInodeFtraceEvent >(Arena* arena) {
33769   return Arena::CreateMessageInternal< ::perfetto::protos::Ext4AllocateInodeFtraceEvent >(arena);
33770 }
33771 template<> PROTOBUF_NOINLINE ::perfetto::protos::Ext4BeginOrderedTruncateFtraceEvent*
CreateMaybeMessage(Arena * arena)33772 Arena::CreateMaybeMessage< ::perfetto::protos::Ext4BeginOrderedTruncateFtraceEvent >(Arena* arena) {
33773   return Arena::CreateMessageInternal< ::perfetto::protos::Ext4BeginOrderedTruncateFtraceEvent >(arena);
33774 }
33775 template<> PROTOBUF_NOINLINE ::perfetto::protos::Ext4CollapseRangeFtraceEvent*
CreateMaybeMessage(Arena * arena)33776 Arena::CreateMaybeMessage< ::perfetto::protos::Ext4CollapseRangeFtraceEvent >(Arena* arena) {
33777   return Arena::CreateMessageInternal< ::perfetto::protos::Ext4CollapseRangeFtraceEvent >(arena);
33778 }
33779 template<> PROTOBUF_NOINLINE ::perfetto::protos::Ext4DaReleaseSpaceFtraceEvent*
CreateMaybeMessage(Arena * arena)33780 Arena::CreateMaybeMessage< ::perfetto::protos::Ext4DaReleaseSpaceFtraceEvent >(Arena* arena) {
33781   return Arena::CreateMessageInternal< ::perfetto::protos::Ext4DaReleaseSpaceFtraceEvent >(arena);
33782 }
33783 template<> PROTOBUF_NOINLINE ::perfetto::protos::Ext4DaReserveSpaceFtraceEvent*
CreateMaybeMessage(Arena * arena)33784 Arena::CreateMaybeMessage< ::perfetto::protos::Ext4DaReserveSpaceFtraceEvent >(Arena* arena) {
33785   return Arena::CreateMessageInternal< ::perfetto::protos::Ext4DaReserveSpaceFtraceEvent >(arena);
33786 }
33787 template<> PROTOBUF_NOINLINE ::perfetto::protos::Ext4DaUpdateReserveSpaceFtraceEvent*
CreateMaybeMessage(Arena * arena)33788 Arena::CreateMaybeMessage< ::perfetto::protos::Ext4DaUpdateReserveSpaceFtraceEvent >(Arena* arena) {
33789   return Arena::CreateMessageInternal< ::perfetto::protos::Ext4DaUpdateReserveSpaceFtraceEvent >(arena);
33790 }
33791 template<> PROTOBUF_NOINLINE ::perfetto::protos::Ext4DaWritePagesFtraceEvent*
CreateMaybeMessage(Arena * arena)33792 Arena::CreateMaybeMessage< ::perfetto::protos::Ext4DaWritePagesFtraceEvent >(Arena* arena) {
33793   return Arena::CreateMessageInternal< ::perfetto::protos::Ext4DaWritePagesFtraceEvent >(arena);
33794 }
33795 template<> PROTOBUF_NOINLINE ::perfetto::protos::Ext4DaWritePagesExtentFtraceEvent*
CreateMaybeMessage(Arena * arena)33796 Arena::CreateMaybeMessage< ::perfetto::protos::Ext4DaWritePagesExtentFtraceEvent >(Arena* arena) {
33797   return Arena::CreateMessageInternal< ::perfetto::protos::Ext4DaWritePagesExtentFtraceEvent >(arena);
33798 }
33799 template<> PROTOBUF_NOINLINE ::perfetto::protos::Ext4DirectIOEnterFtraceEvent*
CreateMaybeMessage(Arena * arena)33800 Arena::CreateMaybeMessage< ::perfetto::protos::Ext4DirectIOEnterFtraceEvent >(Arena* arena) {
33801   return Arena::CreateMessageInternal< ::perfetto::protos::Ext4DirectIOEnterFtraceEvent >(arena);
33802 }
33803 template<> PROTOBUF_NOINLINE ::perfetto::protos::Ext4DirectIOExitFtraceEvent*
CreateMaybeMessage(Arena * arena)33804 Arena::CreateMaybeMessage< ::perfetto::protos::Ext4DirectIOExitFtraceEvent >(Arena* arena) {
33805   return Arena::CreateMessageInternal< ::perfetto::protos::Ext4DirectIOExitFtraceEvent >(arena);
33806 }
33807 template<> PROTOBUF_NOINLINE ::perfetto::protos::Ext4DiscardBlocksFtraceEvent*
CreateMaybeMessage(Arena * arena)33808 Arena::CreateMaybeMessage< ::perfetto::protos::Ext4DiscardBlocksFtraceEvent >(Arena* arena) {
33809   return Arena::CreateMessageInternal< ::perfetto::protos::Ext4DiscardBlocksFtraceEvent >(arena);
33810 }
33811 template<> PROTOBUF_NOINLINE ::perfetto::protos::Ext4DiscardPreallocationsFtraceEvent*
CreateMaybeMessage(Arena * arena)33812 Arena::CreateMaybeMessage< ::perfetto::protos::Ext4DiscardPreallocationsFtraceEvent >(Arena* arena) {
33813   return Arena::CreateMessageInternal< ::perfetto::protos::Ext4DiscardPreallocationsFtraceEvent >(arena);
33814 }
33815 template<> PROTOBUF_NOINLINE ::perfetto::protos::Ext4DropInodeFtraceEvent*
CreateMaybeMessage(Arena * arena)33816 Arena::CreateMaybeMessage< ::perfetto::protos::Ext4DropInodeFtraceEvent >(Arena* arena) {
33817   return Arena::CreateMessageInternal< ::perfetto::protos::Ext4DropInodeFtraceEvent >(arena);
33818 }
33819 template<> PROTOBUF_NOINLINE ::perfetto::protos::Ext4EsCacheExtentFtraceEvent*
CreateMaybeMessage(Arena * arena)33820 Arena::CreateMaybeMessage< ::perfetto::protos::Ext4EsCacheExtentFtraceEvent >(Arena* arena) {
33821   return Arena::CreateMessageInternal< ::perfetto::protos::Ext4EsCacheExtentFtraceEvent >(arena);
33822 }
33823 template<> PROTOBUF_NOINLINE ::perfetto::protos::Ext4EsFindDelayedExtentRangeEnterFtraceEvent*
CreateMaybeMessage(Arena * arena)33824 Arena::CreateMaybeMessage< ::perfetto::protos::Ext4EsFindDelayedExtentRangeEnterFtraceEvent >(Arena* arena) {
33825   return Arena::CreateMessageInternal< ::perfetto::protos::Ext4EsFindDelayedExtentRangeEnterFtraceEvent >(arena);
33826 }
33827 template<> PROTOBUF_NOINLINE ::perfetto::protos::Ext4EsFindDelayedExtentRangeExitFtraceEvent*
CreateMaybeMessage(Arena * arena)33828 Arena::CreateMaybeMessage< ::perfetto::protos::Ext4EsFindDelayedExtentRangeExitFtraceEvent >(Arena* arena) {
33829   return Arena::CreateMessageInternal< ::perfetto::protos::Ext4EsFindDelayedExtentRangeExitFtraceEvent >(arena);
33830 }
33831 template<> PROTOBUF_NOINLINE ::perfetto::protos::Ext4EsInsertExtentFtraceEvent*
CreateMaybeMessage(Arena * arena)33832 Arena::CreateMaybeMessage< ::perfetto::protos::Ext4EsInsertExtentFtraceEvent >(Arena* arena) {
33833   return Arena::CreateMessageInternal< ::perfetto::protos::Ext4EsInsertExtentFtraceEvent >(arena);
33834 }
33835 template<> PROTOBUF_NOINLINE ::perfetto::protos::Ext4EsLookupExtentEnterFtraceEvent*
CreateMaybeMessage(Arena * arena)33836 Arena::CreateMaybeMessage< ::perfetto::protos::Ext4EsLookupExtentEnterFtraceEvent >(Arena* arena) {
33837   return Arena::CreateMessageInternal< ::perfetto::protos::Ext4EsLookupExtentEnterFtraceEvent >(arena);
33838 }
33839 template<> PROTOBUF_NOINLINE ::perfetto::protos::Ext4EsLookupExtentExitFtraceEvent*
CreateMaybeMessage(Arena * arena)33840 Arena::CreateMaybeMessage< ::perfetto::protos::Ext4EsLookupExtentExitFtraceEvent >(Arena* arena) {
33841   return Arena::CreateMessageInternal< ::perfetto::protos::Ext4EsLookupExtentExitFtraceEvent >(arena);
33842 }
33843 template<> PROTOBUF_NOINLINE ::perfetto::protos::Ext4EsRemoveExtentFtraceEvent*
CreateMaybeMessage(Arena * arena)33844 Arena::CreateMaybeMessage< ::perfetto::protos::Ext4EsRemoveExtentFtraceEvent >(Arena* arena) {
33845   return Arena::CreateMessageInternal< ::perfetto::protos::Ext4EsRemoveExtentFtraceEvent >(arena);
33846 }
33847 template<> PROTOBUF_NOINLINE ::perfetto::protos::Ext4EsShrinkFtraceEvent*
CreateMaybeMessage(Arena * arena)33848 Arena::CreateMaybeMessage< ::perfetto::protos::Ext4EsShrinkFtraceEvent >(Arena* arena) {
33849   return Arena::CreateMessageInternal< ::perfetto::protos::Ext4EsShrinkFtraceEvent >(arena);
33850 }
33851 template<> PROTOBUF_NOINLINE ::perfetto::protos::Ext4EsShrinkCountFtraceEvent*
CreateMaybeMessage(Arena * arena)33852 Arena::CreateMaybeMessage< ::perfetto::protos::Ext4EsShrinkCountFtraceEvent >(Arena* arena) {
33853   return Arena::CreateMessageInternal< ::perfetto::protos::Ext4EsShrinkCountFtraceEvent >(arena);
33854 }
33855 template<> PROTOBUF_NOINLINE ::perfetto::protos::Ext4EsShrinkScanEnterFtraceEvent*
CreateMaybeMessage(Arena * arena)33856 Arena::CreateMaybeMessage< ::perfetto::protos::Ext4EsShrinkScanEnterFtraceEvent >(Arena* arena) {
33857   return Arena::CreateMessageInternal< ::perfetto::protos::Ext4EsShrinkScanEnterFtraceEvent >(arena);
33858 }
33859 template<> PROTOBUF_NOINLINE ::perfetto::protos::Ext4EsShrinkScanExitFtraceEvent*
CreateMaybeMessage(Arena * arena)33860 Arena::CreateMaybeMessage< ::perfetto::protos::Ext4EsShrinkScanExitFtraceEvent >(Arena* arena) {
33861   return Arena::CreateMessageInternal< ::perfetto::protos::Ext4EsShrinkScanExitFtraceEvent >(arena);
33862 }
33863 template<> PROTOBUF_NOINLINE ::perfetto::protos::Ext4EvictInodeFtraceEvent*
CreateMaybeMessage(Arena * arena)33864 Arena::CreateMaybeMessage< ::perfetto::protos::Ext4EvictInodeFtraceEvent >(Arena* arena) {
33865   return Arena::CreateMessageInternal< ::perfetto::protos::Ext4EvictInodeFtraceEvent >(arena);
33866 }
33867 template<> PROTOBUF_NOINLINE ::perfetto::protos::Ext4ExtConvertToInitializedEnterFtraceEvent*
CreateMaybeMessage(Arena * arena)33868 Arena::CreateMaybeMessage< ::perfetto::protos::Ext4ExtConvertToInitializedEnterFtraceEvent >(Arena* arena) {
33869   return Arena::CreateMessageInternal< ::perfetto::protos::Ext4ExtConvertToInitializedEnterFtraceEvent >(arena);
33870 }
33871 template<> PROTOBUF_NOINLINE ::perfetto::protos::Ext4ExtConvertToInitializedFastpathFtraceEvent*
CreateMaybeMessage(Arena * arena)33872 Arena::CreateMaybeMessage< ::perfetto::protos::Ext4ExtConvertToInitializedFastpathFtraceEvent >(Arena* arena) {
33873   return Arena::CreateMessageInternal< ::perfetto::protos::Ext4ExtConvertToInitializedFastpathFtraceEvent >(arena);
33874 }
33875 template<> PROTOBUF_NOINLINE ::perfetto::protos::Ext4ExtHandleUnwrittenExtentsFtraceEvent*
CreateMaybeMessage(Arena * arena)33876 Arena::CreateMaybeMessage< ::perfetto::protos::Ext4ExtHandleUnwrittenExtentsFtraceEvent >(Arena* arena) {
33877   return Arena::CreateMessageInternal< ::perfetto::protos::Ext4ExtHandleUnwrittenExtentsFtraceEvent >(arena);
33878 }
33879 template<> PROTOBUF_NOINLINE ::perfetto::protos::Ext4ExtInCacheFtraceEvent*
CreateMaybeMessage(Arena * arena)33880 Arena::CreateMaybeMessage< ::perfetto::protos::Ext4ExtInCacheFtraceEvent >(Arena* arena) {
33881   return Arena::CreateMessageInternal< ::perfetto::protos::Ext4ExtInCacheFtraceEvent >(arena);
33882 }
33883 template<> PROTOBUF_NOINLINE ::perfetto::protos::Ext4ExtLoadExtentFtraceEvent*
CreateMaybeMessage(Arena * arena)33884 Arena::CreateMaybeMessage< ::perfetto::protos::Ext4ExtLoadExtentFtraceEvent >(Arena* arena) {
33885   return Arena::CreateMessageInternal< ::perfetto::protos::Ext4ExtLoadExtentFtraceEvent >(arena);
33886 }
33887 template<> PROTOBUF_NOINLINE ::perfetto::protos::Ext4ExtMapBlocksEnterFtraceEvent*
CreateMaybeMessage(Arena * arena)33888 Arena::CreateMaybeMessage< ::perfetto::protos::Ext4ExtMapBlocksEnterFtraceEvent >(Arena* arena) {
33889   return Arena::CreateMessageInternal< ::perfetto::protos::Ext4ExtMapBlocksEnterFtraceEvent >(arena);
33890 }
33891 template<> PROTOBUF_NOINLINE ::perfetto::protos::Ext4ExtMapBlocksExitFtraceEvent*
CreateMaybeMessage(Arena * arena)33892 Arena::CreateMaybeMessage< ::perfetto::protos::Ext4ExtMapBlocksExitFtraceEvent >(Arena* arena) {
33893   return Arena::CreateMessageInternal< ::perfetto::protos::Ext4ExtMapBlocksExitFtraceEvent >(arena);
33894 }
33895 template<> PROTOBUF_NOINLINE ::perfetto::protos::Ext4ExtPutInCacheFtraceEvent*
CreateMaybeMessage(Arena * arena)33896 Arena::CreateMaybeMessage< ::perfetto::protos::Ext4ExtPutInCacheFtraceEvent >(Arena* arena) {
33897   return Arena::CreateMessageInternal< ::perfetto::protos::Ext4ExtPutInCacheFtraceEvent >(arena);
33898 }
33899 template<> PROTOBUF_NOINLINE ::perfetto::protos::Ext4ExtRemoveSpaceFtraceEvent*
CreateMaybeMessage(Arena * arena)33900 Arena::CreateMaybeMessage< ::perfetto::protos::Ext4ExtRemoveSpaceFtraceEvent >(Arena* arena) {
33901   return Arena::CreateMessageInternal< ::perfetto::protos::Ext4ExtRemoveSpaceFtraceEvent >(arena);
33902 }
33903 template<> PROTOBUF_NOINLINE ::perfetto::protos::Ext4ExtRemoveSpaceDoneFtraceEvent*
CreateMaybeMessage(Arena * arena)33904 Arena::CreateMaybeMessage< ::perfetto::protos::Ext4ExtRemoveSpaceDoneFtraceEvent >(Arena* arena) {
33905   return Arena::CreateMessageInternal< ::perfetto::protos::Ext4ExtRemoveSpaceDoneFtraceEvent >(arena);
33906 }
33907 template<> PROTOBUF_NOINLINE ::perfetto::protos::Ext4ExtRmIdxFtraceEvent*
CreateMaybeMessage(Arena * arena)33908 Arena::CreateMaybeMessage< ::perfetto::protos::Ext4ExtRmIdxFtraceEvent >(Arena* arena) {
33909   return Arena::CreateMessageInternal< ::perfetto::protos::Ext4ExtRmIdxFtraceEvent >(arena);
33910 }
33911 template<> PROTOBUF_NOINLINE ::perfetto::protos::Ext4ExtRmLeafFtraceEvent*
CreateMaybeMessage(Arena * arena)33912 Arena::CreateMaybeMessage< ::perfetto::protos::Ext4ExtRmLeafFtraceEvent >(Arena* arena) {
33913   return Arena::CreateMessageInternal< ::perfetto::protos::Ext4ExtRmLeafFtraceEvent >(arena);
33914 }
33915 template<> PROTOBUF_NOINLINE ::perfetto::protos::Ext4ExtShowExtentFtraceEvent*
CreateMaybeMessage(Arena * arena)33916 Arena::CreateMaybeMessage< ::perfetto::protos::Ext4ExtShowExtentFtraceEvent >(Arena* arena) {
33917   return Arena::CreateMessageInternal< ::perfetto::protos::Ext4ExtShowExtentFtraceEvent >(arena);
33918 }
33919 template<> PROTOBUF_NOINLINE ::perfetto::protos::Ext4FallocateEnterFtraceEvent*
CreateMaybeMessage(Arena * arena)33920 Arena::CreateMaybeMessage< ::perfetto::protos::Ext4FallocateEnterFtraceEvent >(Arena* arena) {
33921   return Arena::CreateMessageInternal< ::perfetto::protos::Ext4FallocateEnterFtraceEvent >(arena);
33922 }
33923 template<> PROTOBUF_NOINLINE ::perfetto::protos::Ext4FallocateExitFtraceEvent*
CreateMaybeMessage(Arena * arena)33924 Arena::CreateMaybeMessage< ::perfetto::protos::Ext4FallocateExitFtraceEvent >(Arena* arena) {
33925   return Arena::CreateMessageInternal< ::perfetto::protos::Ext4FallocateExitFtraceEvent >(arena);
33926 }
33927 template<> PROTOBUF_NOINLINE ::perfetto::protos::Ext4FindDelallocRangeFtraceEvent*
CreateMaybeMessage(Arena * arena)33928 Arena::CreateMaybeMessage< ::perfetto::protos::Ext4FindDelallocRangeFtraceEvent >(Arena* arena) {
33929   return Arena::CreateMessageInternal< ::perfetto::protos::Ext4FindDelallocRangeFtraceEvent >(arena);
33930 }
33931 template<> PROTOBUF_NOINLINE ::perfetto::protos::Ext4ForgetFtraceEvent*
CreateMaybeMessage(Arena * arena)33932 Arena::CreateMaybeMessage< ::perfetto::protos::Ext4ForgetFtraceEvent >(Arena* arena) {
33933   return Arena::CreateMessageInternal< ::perfetto::protos::Ext4ForgetFtraceEvent >(arena);
33934 }
33935 template<> PROTOBUF_NOINLINE ::perfetto::protos::Ext4FreeBlocksFtraceEvent*
CreateMaybeMessage(Arena * arena)33936 Arena::CreateMaybeMessage< ::perfetto::protos::Ext4FreeBlocksFtraceEvent >(Arena* arena) {
33937   return Arena::CreateMessageInternal< ::perfetto::protos::Ext4FreeBlocksFtraceEvent >(arena);
33938 }
33939 template<> PROTOBUF_NOINLINE ::perfetto::protos::Ext4FreeInodeFtraceEvent*
CreateMaybeMessage(Arena * arena)33940 Arena::CreateMaybeMessage< ::perfetto::protos::Ext4FreeInodeFtraceEvent >(Arena* arena) {
33941   return Arena::CreateMessageInternal< ::perfetto::protos::Ext4FreeInodeFtraceEvent >(arena);
33942 }
33943 template<> PROTOBUF_NOINLINE ::perfetto::protos::Ext4GetImpliedClusterAllocExitFtraceEvent*
CreateMaybeMessage(Arena * arena)33944 Arena::CreateMaybeMessage< ::perfetto::protos::Ext4GetImpliedClusterAllocExitFtraceEvent >(Arena* arena) {
33945   return Arena::CreateMessageInternal< ::perfetto::protos::Ext4GetImpliedClusterAllocExitFtraceEvent >(arena);
33946 }
33947 template<> PROTOBUF_NOINLINE ::perfetto::protos::Ext4GetReservedClusterAllocFtraceEvent*
CreateMaybeMessage(Arena * arena)33948 Arena::CreateMaybeMessage< ::perfetto::protos::Ext4GetReservedClusterAllocFtraceEvent >(Arena* arena) {
33949   return Arena::CreateMessageInternal< ::perfetto::protos::Ext4GetReservedClusterAllocFtraceEvent >(arena);
33950 }
33951 template<> PROTOBUF_NOINLINE ::perfetto::protos::Ext4IndMapBlocksEnterFtraceEvent*
CreateMaybeMessage(Arena * arena)33952 Arena::CreateMaybeMessage< ::perfetto::protos::Ext4IndMapBlocksEnterFtraceEvent >(Arena* arena) {
33953   return Arena::CreateMessageInternal< ::perfetto::protos::Ext4IndMapBlocksEnterFtraceEvent >(arena);
33954 }
33955 template<> PROTOBUF_NOINLINE ::perfetto::protos::Ext4IndMapBlocksExitFtraceEvent*
CreateMaybeMessage(Arena * arena)33956 Arena::CreateMaybeMessage< ::perfetto::protos::Ext4IndMapBlocksExitFtraceEvent >(Arena* arena) {
33957   return Arena::CreateMessageInternal< ::perfetto::protos::Ext4IndMapBlocksExitFtraceEvent >(arena);
33958 }
33959 template<> PROTOBUF_NOINLINE ::perfetto::protos::Ext4InsertRangeFtraceEvent*
CreateMaybeMessage(Arena * arena)33960 Arena::CreateMaybeMessage< ::perfetto::protos::Ext4InsertRangeFtraceEvent >(Arena* arena) {
33961   return Arena::CreateMessageInternal< ::perfetto::protos::Ext4InsertRangeFtraceEvent >(arena);
33962 }
33963 template<> PROTOBUF_NOINLINE ::perfetto::protos::Ext4InvalidatepageFtraceEvent*
CreateMaybeMessage(Arena * arena)33964 Arena::CreateMaybeMessage< ::perfetto::protos::Ext4InvalidatepageFtraceEvent >(Arena* arena) {
33965   return Arena::CreateMessageInternal< ::perfetto::protos::Ext4InvalidatepageFtraceEvent >(arena);
33966 }
33967 template<> PROTOBUF_NOINLINE ::perfetto::protos::Ext4JournalStartFtraceEvent*
CreateMaybeMessage(Arena * arena)33968 Arena::CreateMaybeMessage< ::perfetto::protos::Ext4JournalStartFtraceEvent >(Arena* arena) {
33969   return Arena::CreateMessageInternal< ::perfetto::protos::Ext4JournalStartFtraceEvent >(arena);
33970 }
33971 template<> PROTOBUF_NOINLINE ::perfetto::protos::Ext4JournalStartReservedFtraceEvent*
CreateMaybeMessage(Arena * arena)33972 Arena::CreateMaybeMessage< ::perfetto::protos::Ext4JournalStartReservedFtraceEvent >(Arena* arena) {
33973   return Arena::CreateMessageInternal< ::perfetto::protos::Ext4JournalStartReservedFtraceEvent >(arena);
33974 }
33975 template<> PROTOBUF_NOINLINE ::perfetto::protos::Ext4JournalledInvalidatepageFtraceEvent*
CreateMaybeMessage(Arena * arena)33976 Arena::CreateMaybeMessage< ::perfetto::protos::Ext4JournalledInvalidatepageFtraceEvent >(Arena* arena) {
33977   return Arena::CreateMessageInternal< ::perfetto::protos::Ext4JournalledInvalidatepageFtraceEvent >(arena);
33978 }
33979 template<> PROTOBUF_NOINLINE ::perfetto::protos::Ext4JournalledWriteEndFtraceEvent*
CreateMaybeMessage(Arena * arena)33980 Arena::CreateMaybeMessage< ::perfetto::protos::Ext4JournalledWriteEndFtraceEvent >(Arena* arena) {
33981   return Arena::CreateMessageInternal< ::perfetto::protos::Ext4JournalledWriteEndFtraceEvent >(arena);
33982 }
33983 template<> PROTOBUF_NOINLINE ::perfetto::protos::Ext4LoadInodeFtraceEvent*
CreateMaybeMessage(Arena * arena)33984 Arena::CreateMaybeMessage< ::perfetto::protos::Ext4LoadInodeFtraceEvent >(Arena* arena) {
33985   return Arena::CreateMessageInternal< ::perfetto::protos::Ext4LoadInodeFtraceEvent >(arena);
33986 }
33987 template<> PROTOBUF_NOINLINE ::perfetto::protos::Ext4LoadInodeBitmapFtraceEvent*
CreateMaybeMessage(Arena * arena)33988 Arena::CreateMaybeMessage< ::perfetto::protos::Ext4LoadInodeBitmapFtraceEvent >(Arena* arena) {
33989   return Arena::CreateMessageInternal< ::perfetto::protos::Ext4LoadInodeBitmapFtraceEvent >(arena);
33990 }
33991 template<> PROTOBUF_NOINLINE ::perfetto::protos::Ext4MarkInodeDirtyFtraceEvent*
CreateMaybeMessage(Arena * arena)33992 Arena::CreateMaybeMessage< ::perfetto::protos::Ext4MarkInodeDirtyFtraceEvent >(Arena* arena) {
33993   return Arena::CreateMessageInternal< ::perfetto::protos::Ext4MarkInodeDirtyFtraceEvent >(arena);
33994 }
33995 template<> PROTOBUF_NOINLINE ::perfetto::protos::Ext4MbBitmapLoadFtraceEvent*
CreateMaybeMessage(Arena * arena)33996 Arena::CreateMaybeMessage< ::perfetto::protos::Ext4MbBitmapLoadFtraceEvent >(Arena* arena) {
33997   return Arena::CreateMessageInternal< ::perfetto::protos::Ext4MbBitmapLoadFtraceEvent >(arena);
33998 }
33999 template<> PROTOBUF_NOINLINE ::perfetto::protos::Ext4MbBuddyBitmapLoadFtraceEvent*
CreateMaybeMessage(Arena * arena)34000 Arena::CreateMaybeMessage< ::perfetto::protos::Ext4MbBuddyBitmapLoadFtraceEvent >(Arena* arena) {
34001   return Arena::CreateMessageInternal< ::perfetto::protos::Ext4MbBuddyBitmapLoadFtraceEvent >(arena);
34002 }
34003 template<> PROTOBUF_NOINLINE ::perfetto::protos::Ext4MbDiscardPreallocationsFtraceEvent*
CreateMaybeMessage(Arena * arena)34004 Arena::CreateMaybeMessage< ::perfetto::protos::Ext4MbDiscardPreallocationsFtraceEvent >(Arena* arena) {
34005   return Arena::CreateMessageInternal< ::perfetto::protos::Ext4MbDiscardPreallocationsFtraceEvent >(arena);
34006 }
34007 template<> PROTOBUF_NOINLINE ::perfetto::protos::Ext4MbNewGroupPaFtraceEvent*
CreateMaybeMessage(Arena * arena)34008 Arena::CreateMaybeMessage< ::perfetto::protos::Ext4MbNewGroupPaFtraceEvent >(Arena* arena) {
34009   return Arena::CreateMessageInternal< ::perfetto::protos::Ext4MbNewGroupPaFtraceEvent >(arena);
34010 }
34011 template<> PROTOBUF_NOINLINE ::perfetto::protos::Ext4MbNewInodePaFtraceEvent*
CreateMaybeMessage(Arena * arena)34012 Arena::CreateMaybeMessage< ::perfetto::protos::Ext4MbNewInodePaFtraceEvent >(Arena* arena) {
34013   return Arena::CreateMessageInternal< ::perfetto::protos::Ext4MbNewInodePaFtraceEvent >(arena);
34014 }
34015 template<> PROTOBUF_NOINLINE ::perfetto::protos::Ext4MbReleaseGroupPaFtraceEvent*
CreateMaybeMessage(Arena * arena)34016 Arena::CreateMaybeMessage< ::perfetto::protos::Ext4MbReleaseGroupPaFtraceEvent >(Arena* arena) {
34017   return Arena::CreateMessageInternal< ::perfetto::protos::Ext4MbReleaseGroupPaFtraceEvent >(arena);
34018 }
34019 template<> PROTOBUF_NOINLINE ::perfetto::protos::Ext4MbReleaseInodePaFtraceEvent*
CreateMaybeMessage(Arena * arena)34020 Arena::CreateMaybeMessage< ::perfetto::protos::Ext4MbReleaseInodePaFtraceEvent >(Arena* arena) {
34021   return Arena::CreateMessageInternal< ::perfetto::protos::Ext4MbReleaseInodePaFtraceEvent >(arena);
34022 }
34023 template<> PROTOBUF_NOINLINE ::perfetto::protos::Ext4MballocAllocFtraceEvent*
CreateMaybeMessage(Arena * arena)34024 Arena::CreateMaybeMessage< ::perfetto::protos::Ext4MballocAllocFtraceEvent >(Arena* arena) {
34025   return Arena::CreateMessageInternal< ::perfetto::protos::Ext4MballocAllocFtraceEvent >(arena);
34026 }
34027 template<> PROTOBUF_NOINLINE ::perfetto::protos::Ext4MballocDiscardFtraceEvent*
CreateMaybeMessage(Arena * arena)34028 Arena::CreateMaybeMessage< ::perfetto::protos::Ext4MballocDiscardFtraceEvent >(Arena* arena) {
34029   return Arena::CreateMessageInternal< ::perfetto::protos::Ext4MballocDiscardFtraceEvent >(arena);
34030 }
34031 template<> PROTOBUF_NOINLINE ::perfetto::protos::Ext4MballocFreeFtraceEvent*
CreateMaybeMessage(Arena * arena)34032 Arena::CreateMaybeMessage< ::perfetto::protos::Ext4MballocFreeFtraceEvent >(Arena* arena) {
34033   return Arena::CreateMessageInternal< ::perfetto::protos::Ext4MballocFreeFtraceEvent >(arena);
34034 }
34035 template<> PROTOBUF_NOINLINE ::perfetto::protos::Ext4MballocPreallocFtraceEvent*
CreateMaybeMessage(Arena * arena)34036 Arena::CreateMaybeMessage< ::perfetto::protos::Ext4MballocPreallocFtraceEvent >(Arena* arena) {
34037   return Arena::CreateMessageInternal< ::perfetto::protos::Ext4MballocPreallocFtraceEvent >(arena);
34038 }
34039 template<> PROTOBUF_NOINLINE ::perfetto::protos::Ext4OtherInodeUpdateTimeFtraceEvent*
CreateMaybeMessage(Arena * arena)34040 Arena::CreateMaybeMessage< ::perfetto::protos::Ext4OtherInodeUpdateTimeFtraceEvent >(Arena* arena) {
34041   return Arena::CreateMessageInternal< ::perfetto::protos::Ext4OtherInodeUpdateTimeFtraceEvent >(arena);
34042 }
34043 template<> PROTOBUF_NOINLINE ::perfetto::protos::Ext4PunchHoleFtraceEvent*
CreateMaybeMessage(Arena * arena)34044 Arena::CreateMaybeMessage< ::perfetto::protos::Ext4PunchHoleFtraceEvent >(Arena* arena) {
34045   return Arena::CreateMessageInternal< ::perfetto::protos::Ext4PunchHoleFtraceEvent >(arena);
34046 }
34047 template<> PROTOBUF_NOINLINE ::perfetto::protos::Ext4ReadBlockBitmapLoadFtraceEvent*
CreateMaybeMessage(Arena * arena)34048 Arena::CreateMaybeMessage< ::perfetto::protos::Ext4ReadBlockBitmapLoadFtraceEvent >(Arena* arena) {
34049   return Arena::CreateMessageInternal< ::perfetto::protos::Ext4ReadBlockBitmapLoadFtraceEvent >(arena);
34050 }
34051 template<> PROTOBUF_NOINLINE ::perfetto::protos::Ext4ReadpageFtraceEvent*
CreateMaybeMessage(Arena * arena)34052 Arena::CreateMaybeMessage< ::perfetto::protos::Ext4ReadpageFtraceEvent >(Arena* arena) {
34053   return Arena::CreateMessageInternal< ::perfetto::protos::Ext4ReadpageFtraceEvent >(arena);
34054 }
34055 template<> PROTOBUF_NOINLINE ::perfetto::protos::Ext4ReleasepageFtraceEvent*
CreateMaybeMessage(Arena * arena)34056 Arena::CreateMaybeMessage< ::perfetto::protos::Ext4ReleasepageFtraceEvent >(Arena* arena) {
34057   return Arena::CreateMessageInternal< ::perfetto::protos::Ext4ReleasepageFtraceEvent >(arena);
34058 }
34059 template<> PROTOBUF_NOINLINE ::perfetto::protos::Ext4RemoveBlocksFtraceEvent*
CreateMaybeMessage(Arena * arena)34060 Arena::CreateMaybeMessage< ::perfetto::protos::Ext4RemoveBlocksFtraceEvent >(Arena* arena) {
34061   return Arena::CreateMessageInternal< ::perfetto::protos::Ext4RemoveBlocksFtraceEvent >(arena);
34062 }
34063 template<> PROTOBUF_NOINLINE ::perfetto::protos::Ext4RequestBlocksFtraceEvent*
CreateMaybeMessage(Arena * arena)34064 Arena::CreateMaybeMessage< ::perfetto::protos::Ext4RequestBlocksFtraceEvent >(Arena* arena) {
34065   return Arena::CreateMessageInternal< ::perfetto::protos::Ext4RequestBlocksFtraceEvent >(arena);
34066 }
34067 template<> PROTOBUF_NOINLINE ::perfetto::protos::Ext4RequestInodeFtraceEvent*
CreateMaybeMessage(Arena * arena)34068 Arena::CreateMaybeMessage< ::perfetto::protos::Ext4RequestInodeFtraceEvent >(Arena* arena) {
34069   return Arena::CreateMessageInternal< ::perfetto::protos::Ext4RequestInodeFtraceEvent >(arena);
34070 }
34071 template<> PROTOBUF_NOINLINE ::perfetto::protos::Ext4SyncFsFtraceEvent*
CreateMaybeMessage(Arena * arena)34072 Arena::CreateMaybeMessage< ::perfetto::protos::Ext4SyncFsFtraceEvent >(Arena* arena) {
34073   return Arena::CreateMessageInternal< ::perfetto::protos::Ext4SyncFsFtraceEvent >(arena);
34074 }
34075 template<> PROTOBUF_NOINLINE ::perfetto::protos::Ext4TrimAllFreeFtraceEvent*
CreateMaybeMessage(Arena * arena)34076 Arena::CreateMaybeMessage< ::perfetto::protos::Ext4TrimAllFreeFtraceEvent >(Arena* arena) {
34077   return Arena::CreateMessageInternal< ::perfetto::protos::Ext4TrimAllFreeFtraceEvent >(arena);
34078 }
34079 template<> PROTOBUF_NOINLINE ::perfetto::protos::Ext4TrimExtentFtraceEvent*
CreateMaybeMessage(Arena * arena)34080 Arena::CreateMaybeMessage< ::perfetto::protos::Ext4TrimExtentFtraceEvent >(Arena* arena) {
34081   return Arena::CreateMessageInternal< ::perfetto::protos::Ext4TrimExtentFtraceEvent >(arena);
34082 }
34083 template<> PROTOBUF_NOINLINE ::perfetto::protos::Ext4TruncateEnterFtraceEvent*
CreateMaybeMessage(Arena * arena)34084 Arena::CreateMaybeMessage< ::perfetto::protos::Ext4TruncateEnterFtraceEvent >(Arena* arena) {
34085   return Arena::CreateMessageInternal< ::perfetto::protos::Ext4TruncateEnterFtraceEvent >(arena);
34086 }
34087 template<> PROTOBUF_NOINLINE ::perfetto::protos::Ext4TruncateExitFtraceEvent*
CreateMaybeMessage(Arena * arena)34088 Arena::CreateMaybeMessage< ::perfetto::protos::Ext4TruncateExitFtraceEvent >(Arena* arena) {
34089   return Arena::CreateMessageInternal< ::perfetto::protos::Ext4TruncateExitFtraceEvent >(arena);
34090 }
34091 template<> PROTOBUF_NOINLINE ::perfetto::protos::Ext4UnlinkEnterFtraceEvent*
CreateMaybeMessage(Arena * arena)34092 Arena::CreateMaybeMessage< ::perfetto::protos::Ext4UnlinkEnterFtraceEvent >(Arena* arena) {
34093   return Arena::CreateMessageInternal< ::perfetto::protos::Ext4UnlinkEnterFtraceEvent >(arena);
34094 }
34095 template<> PROTOBUF_NOINLINE ::perfetto::protos::Ext4UnlinkExitFtraceEvent*
CreateMaybeMessage(Arena * arena)34096 Arena::CreateMaybeMessage< ::perfetto::protos::Ext4UnlinkExitFtraceEvent >(Arena* arena) {
34097   return Arena::CreateMessageInternal< ::perfetto::protos::Ext4UnlinkExitFtraceEvent >(arena);
34098 }
34099 template<> PROTOBUF_NOINLINE ::perfetto::protos::Ext4WriteBeginFtraceEvent*
CreateMaybeMessage(Arena * arena)34100 Arena::CreateMaybeMessage< ::perfetto::protos::Ext4WriteBeginFtraceEvent >(Arena* arena) {
34101   return Arena::CreateMessageInternal< ::perfetto::protos::Ext4WriteBeginFtraceEvent >(arena);
34102 }
34103 template<> PROTOBUF_NOINLINE ::perfetto::protos::Ext4WriteEndFtraceEvent*
CreateMaybeMessage(Arena * arena)34104 Arena::CreateMaybeMessage< ::perfetto::protos::Ext4WriteEndFtraceEvent >(Arena* arena) {
34105   return Arena::CreateMessageInternal< ::perfetto::protos::Ext4WriteEndFtraceEvent >(arena);
34106 }
34107 template<> PROTOBUF_NOINLINE ::perfetto::protos::Ext4WritepageFtraceEvent*
CreateMaybeMessage(Arena * arena)34108 Arena::CreateMaybeMessage< ::perfetto::protos::Ext4WritepageFtraceEvent >(Arena* arena) {
34109   return Arena::CreateMessageInternal< ::perfetto::protos::Ext4WritepageFtraceEvent >(arena);
34110 }
34111 template<> PROTOBUF_NOINLINE ::perfetto::protos::Ext4WritepagesFtraceEvent*
CreateMaybeMessage(Arena * arena)34112 Arena::CreateMaybeMessage< ::perfetto::protos::Ext4WritepagesFtraceEvent >(Arena* arena) {
34113   return Arena::CreateMessageInternal< ::perfetto::protos::Ext4WritepagesFtraceEvent >(arena);
34114 }
34115 template<> PROTOBUF_NOINLINE ::perfetto::protos::Ext4WritepagesResultFtraceEvent*
CreateMaybeMessage(Arena * arena)34116 Arena::CreateMaybeMessage< ::perfetto::protos::Ext4WritepagesResultFtraceEvent >(Arena* arena) {
34117   return Arena::CreateMessageInternal< ::perfetto::protos::Ext4WritepagesResultFtraceEvent >(arena);
34118 }
34119 template<> PROTOBUF_NOINLINE ::perfetto::protos::Ext4ZeroRangeFtraceEvent*
CreateMaybeMessage(Arena * arena)34120 Arena::CreateMaybeMessage< ::perfetto::protos::Ext4ZeroRangeFtraceEvent >(Arena* arena) {
34121   return Arena::CreateMessageInternal< ::perfetto::protos::Ext4ZeroRangeFtraceEvent >(arena);
34122 }
34123 PROTOBUF_NAMESPACE_CLOSE
34124 
34125 // @@protoc_insertion_point(global_scope)
34126 #include <google/protobuf/port_undef.inc>
34127