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