1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: protos/perfetto/trace/ftrace/scm.proto
3
4 #include "protos/perfetto/trace/ftrace/scm.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 {
ScmCallStartFtraceEvent(::_pbi::ConstantInitialized)23 PROTOBUF_CONSTEXPR ScmCallStartFtraceEvent::ScmCallStartFtraceEvent(
24 ::_pbi::ConstantInitialized): _impl_{
25 /*decltype(_impl_._has_bits_)*/{}
26 , /*decltype(_impl_._cached_size_)*/{}
27 , /*decltype(_impl_.x0_)*/::uint64_t{0u}
28 , /*decltype(_impl_.x5_)*/::uint64_t{0u}
29 , /*decltype(_impl_.arginfo_)*/0u} {}
30 struct ScmCallStartFtraceEventDefaultTypeInternal {
ScmCallStartFtraceEventDefaultTypeInternalperfetto::protos::ScmCallStartFtraceEventDefaultTypeInternal31 PROTOBUF_CONSTEXPR ScmCallStartFtraceEventDefaultTypeInternal()
32 : _instance(::_pbi::ConstantInitialized{}) {}
~ScmCallStartFtraceEventDefaultTypeInternalperfetto::protos::ScmCallStartFtraceEventDefaultTypeInternal33 ~ScmCallStartFtraceEventDefaultTypeInternal() {}
34 union { // NOLINT(misc-non-private-member-variables-in-classes)
35 ScmCallStartFtraceEvent _instance;
36 };
37 };
38 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ScmCallStartFtraceEventDefaultTypeInternal _ScmCallStartFtraceEvent_default_instance_;
ScmCallEndFtraceEvent(::_pbi::ConstantInitialized)39 PROTOBUF_CONSTEXPR ScmCallEndFtraceEvent::ScmCallEndFtraceEvent(
40 ::_pbi::ConstantInitialized): _impl_{
41 /*decltype(_impl_._cached_size_)*/{}} {}
42 struct ScmCallEndFtraceEventDefaultTypeInternal {
ScmCallEndFtraceEventDefaultTypeInternalperfetto::protos::ScmCallEndFtraceEventDefaultTypeInternal43 PROTOBUF_CONSTEXPR ScmCallEndFtraceEventDefaultTypeInternal()
44 : _instance(::_pbi::ConstantInitialized{}) {}
~ScmCallEndFtraceEventDefaultTypeInternalperfetto::protos::ScmCallEndFtraceEventDefaultTypeInternal45 ~ScmCallEndFtraceEventDefaultTypeInternal() {}
46 union { // NOLINT(misc-non-private-member-variables-in-classes)
47 ScmCallEndFtraceEvent _instance;
48 };
49 };
50 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ScmCallEndFtraceEventDefaultTypeInternal _ScmCallEndFtraceEvent_default_instance_;
51 } // namespace protos
52 } // namespace perfetto
53 namespace perfetto {
54 namespace protos {
55
56 // ===================================================================
57
58 class ScmCallStartFtraceEvent::_Internal {
59 public:
60 using HasBits = decltype(std::declval<ScmCallStartFtraceEvent>()._impl_._has_bits_);
set_has_arginfo(HasBits * has_bits)61 static void set_has_arginfo(HasBits* has_bits) {
62 (*has_bits)[0] |= 4u;
63 }
set_has_x0(HasBits * has_bits)64 static void set_has_x0(HasBits* has_bits) {
65 (*has_bits)[0] |= 1u;
66 }
set_has_x5(HasBits * has_bits)67 static void set_has_x5(HasBits* has_bits) {
68 (*has_bits)[0] |= 2u;
69 }
70 };
71
ScmCallStartFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)72 ScmCallStartFtraceEvent::ScmCallStartFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
73 bool is_message_owned)
74 : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
75 SharedCtor(arena, is_message_owned);
76 // @@protoc_insertion_point(arena_constructor:perfetto.protos.ScmCallStartFtraceEvent)
77 }
ScmCallStartFtraceEvent(const ScmCallStartFtraceEvent & from)78 ScmCallStartFtraceEvent::ScmCallStartFtraceEvent(const ScmCallStartFtraceEvent& from)
79 : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
80 ScmCallStartFtraceEvent* const _this = this; (void)_this;
81 new (&_impl_) Impl_{
82 decltype(_impl_._has_bits_){from._impl_._has_bits_}
83 , /*decltype(_impl_._cached_size_)*/{}
84 , decltype(_impl_.x0_){}
85 , decltype(_impl_.x5_){}
86 , decltype(_impl_.arginfo_){}};
87
88 _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
89 ::memcpy(&_impl_.x0_, &from._impl_.x0_,
90 static_cast<size_t>(reinterpret_cast<char*>(&_impl_.arginfo_) -
91 reinterpret_cast<char*>(&_impl_.x0_)) + sizeof(_impl_.arginfo_));
92 // @@protoc_insertion_point(copy_constructor:perfetto.protos.ScmCallStartFtraceEvent)
93 }
94
SharedCtor(::_pb::Arena * arena,bool is_message_owned)95 inline void ScmCallStartFtraceEvent::SharedCtor(
96 ::_pb::Arena* arena, bool is_message_owned) {
97 (void)arena;
98 (void)is_message_owned;
99 new (&_impl_) Impl_{
100 decltype(_impl_._has_bits_){}
101 , /*decltype(_impl_._cached_size_)*/{}
102 , decltype(_impl_.x0_){::uint64_t{0u}}
103 , decltype(_impl_.x5_){::uint64_t{0u}}
104 , decltype(_impl_.arginfo_){0u}
105 };
106 }
107
~ScmCallStartFtraceEvent()108 ScmCallStartFtraceEvent::~ScmCallStartFtraceEvent() {
109 // @@protoc_insertion_point(destructor:perfetto.protos.ScmCallStartFtraceEvent)
110 if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
111 (void)arena;
112 return;
113 }
114 SharedDtor();
115 }
116
SharedDtor()117 inline void ScmCallStartFtraceEvent::SharedDtor() {
118 GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
119 }
120
SetCachedSize(int size) const121 void ScmCallStartFtraceEvent::SetCachedSize(int size) const {
122 _impl_._cached_size_.Set(size);
123 }
124
Clear()125 void ScmCallStartFtraceEvent::Clear() {
126 // @@protoc_insertion_point(message_clear_start:perfetto.protos.ScmCallStartFtraceEvent)
127 ::uint32_t cached_has_bits = 0;
128 // Prevent compiler warnings about cached_has_bits being unused
129 (void) cached_has_bits;
130
131 cached_has_bits = _impl_._has_bits_[0];
132 if (cached_has_bits & 0x00000007u) {
133 ::memset(&_impl_.x0_, 0, static_cast<size_t>(
134 reinterpret_cast<char*>(&_impl_.arginfo_) -
135 reinterpret_cast<char*>(&_impl_.x0_)) + sizeof(_impl_.arginfo_));
136 }
137 _impl_._has_bits_.Clear();
138 _internal_metadata_.Clear<std::string>();
139 }
140
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)141 const char* ScmCallStartFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
142 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
143 _Internal::HasBits has_bits{};
144 while (!ctx->Done(&ptr)) {
145 ::uint32_t tag;
146 ptr = ::_pbi::ReadTag(ptr, &tag);
147 switch (tag >> 3) {
148 // optional uint32 arginfo = 1;
149 case 1:
150 if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
151 _Internal::set_has_arginfo(&has_bits);
152 _impl_.arginfo_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
153 CHK_(ptr);
154 } else {
155 goto handle_unusual;
156 }
157 continue;
158 // optional uint64 x0 = 2;
159 case 2:
160 if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
161 _Internal::set_has_x0(&has_bits);
162 _impl_.x0_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
163 CHK_(ptr);
164 } else {
165 goto handle_unusual;
166 }
167 continue;
168 // optional uint64 x5 = 3;
169 case 3:
170 if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
171 _Internal::set_has_x5(&has_bits);
172 _impl_.x5_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
173 CHK_(ptr);
174 } else {
175 goto handle_unusual;
176 }
177 continue;
178 default:
179 goto handle_unusual;
180 } // switch
181 handle_unusual:
182 if ((tag == 0) || ((tag & 7) == 4)) {
183 CHK_(ptr);
184 ctx->SetLastTag(tag);
185 goto message_done;
186 }
187 ptr = UnknownFieldParse(
188 tag,
189 _internal_metadata_.mutable_unknown_fields<std::string>(),
190 ptr, ctx);
191 CHK_(ptr != nullptr);
192 } // while
193 message_done:
194 _impl_._has_bits_.Or(has_bits);
195 return ptr;
196 failure:
197 ptr = nullptr;
198 goto message_done;
199 #undef CHK_
200 }
201
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const202 ::uint8_t* ScmCallStartFtraceEvent::_InternalSerialize(
203 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
204 // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.ScmCallStartFtraceEvent)
205 ::uint32_t cached_has_bits = 0;
206 (void) cached_has_bits;
207
208 cached_has_bits = _impl_._has_bits_[0];
209 // optional uint32 arginfo = 1;
210 if (cached_has_bits & 0x00000004u) {
211 target = stream->EnsureSpace(target);
212 target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_arginfo(), target);
213 }
214
215 // optional uint64 x0 = 2;
216 if (cached_has_bits & 0x00000001u) {
217 target = stream->EnsureSpace(target);
218 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_x0(), target);
219 }
220
221 // optional uint64 x5 = 3;
222 if (cached_has_bits & 0x00000002u) {
223 target = stream->EnsureSpace(target);
224 target = ::_pbi::WireFormatLite::WriteUInt64ToArray(3, this->_internal_x5(), target);
225 }
226
227 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
228 target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
229 static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
230 }
231 // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.ScmCallStartFtraceEvent)
232 return target;
233 }
234
ByteSizeLong() const235 size_t ScmCallStartFtraceEvent::ByteSizeLong() const {
236 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.ScmCallStartFtraceEvent)
237 size_t total_size = 0;
238
239 ::uint32_t cached_has_bits = 0;
240 // Prevent compiler warnings about cached_has_bits being unused
241 (void) cached_has_bits;
242
243 cached_has_bits = _impl_._has_bits_[0];
244 if (cached_has_bits & 0x00000007u) {
245 // optional uint64 x0 = 2;
246 if (cached_has_bits & 0x00000001u) {
247 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_x0());
248 }
249
250 // optional uint64 x5 = 3;
251 if (cached_has_bits & 0x00000002u) {
252 total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_x5());
253 }
254
255 // optional uint32 arginfo = 1;
256 if (cached_has_bits & 0x00000004u) {
257 total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_arginfo());
258 }
259
260 }
261 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
262 total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
263 }
264 int cached_size = ::_pbi::ToCachedSize(total_size);
265 SetCachedSize(cached_size);
266 return total_size;
267 }
268
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)269 void ScmCallStartFtraceEvent::CheckTypeAndMergeFrom(
270 const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
271 MergeFrom(*::_pbi::DownCast<const ScmCallStartFtraceEvent*>(
272 &from));
273 }
274
MergeFrom(const ScmCallStartFtraceEvent & from)275 void ScmCallStartFtraceEvent::MergeFrom(const ScmCallStartFtraceEvent& from) {
276 ScmCallStartFtraceEvent* const _this = this;
277 // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.ScmCallStartFtraceEvent)
278 GOOGLE_DCHECK_NE(&from, _this);
279 ::uint32_t cached_has_bits = 0;
280 (void) cached_has_bits;
281
282 cached_has_bits = from._impl_._has_bits_[0];
283 if (cached_has_bits & 0x00000007u) {
284 if (cached_has_bits & 0x00000001u) {
285 _this->_impl_.x0_ = from._impl_.x0_;
286 }
287 if (cached_has_bits & 0x00000002u) {
288 _this->_impl_.x5_ = from._impl_.x5_;
289 }
290 if (cached_has_bits & 0x00000004u) {
291 _this->_impl_.arginfo_ = from._impl_.arginfo_;
292 }
293 _this->_impl_._has_bits_[0] |= cached_has_bits;
294 }
295 _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
296 }
297
CopyFrom(const ScmCallStartFtraceEvent & from)298 void ScmCallStartFtraceEvent::CopyFrom(const ScmCallStartFtraceEvent& from) {
299 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.ScmCallStartFtraceEvent)
300 if (&from == this) return;
301 Clear();
302 MergeFrom(from);
303 }
304
IsInitialized() const305 bool ScmCallStartFtraceEvent::IsInitialized() const {
306 return true;
307 }
308
InternalSwap(ScmCallStartFtraceEvent * other)309 void ScmCallStartFtraceEvent::InternalSwap(ScmCallStartFtraceEvent* other) {
310 using std::swap;
311 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
312 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
313 ::PROTOBUF_NAMESPACE_ID::internal::memswap<
314 PROTOBUF_FIELD_OFFSET(ScmCallStartFtraceEvent, _impl_.arginfo_)
315 + sizeof(ScmCallStartFtraceEvent::_impl_.arginfo_) // NOLINT
316 - PROTOBUF_FIELD_OFFSET(ScmCallStartFtraceEvent, _impl_.x0_)>(
317 reinterpret_cast<char*>(&_impl_.x0_),
318 reinterpret_cast<char*>(&other->_impl_.x0_));
319 }
320
GetTypeName() const321 std::string ScmCallStartFtraceEvent::GetTypeName() const {
322 return "perfetto.protos.ScmCallStartFtraceEvent";
323 }
324
325
326 // ===================================================================
327
328 class ScmCallEndFtraceEvent::_Internal {
329 public:
330 };
331
ScmCallEndFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)332 ScmCallEndFtraceEvent::ScmCallEndFtraceEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
333 bool is_message_owned)
334 : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
335 SharedCtor(arena, is_message_owned);
336 // @@protoc_insertion_point(arena_constructor:perfetto.protos.ScmCallEndFtraceEvent)
337 }
ScmCallEndFtraceEvent(const ScmCallEndFtraceEvent & from)338 ScmCallEndFtraceEvent::ScmCallEndFtraceEvent(const ScmCallEndFtraceEvent& from)
339 : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
340 ScmCallEndFtraceEvent* const _this = this; (void)_this;
341 new (&_impl_) Impl_{
342 /*decltype(_impl_._cached_size_)*/{}};
343
344 _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
345 // @@protoc_insertion_point(copy_constructor:perfetto.protos.ScmCallEndFtraceEvent)
346 }
347
SharedCtor(::_pb::Arena * arena,bool is_message_owned)348 inline void ScmCallEndFtraceEvent::SharedCtor(
349 ::_pb::Arena* arena, bool is_message_owned) {
350 (void)arena;
351 (void)is_message_owned;
352 new (&_impl_) Impl_{
353 /*decltype(_impl_._cached_size_)*/{}
354 };
355 }
356
~ScmCallEndFtraceEvent()357 ScmCallEndFtraceEvent::~ScmCallEndFtraceEvent() {
358 // @@protoc_insertion_point(destructor:perfetto.protos.ScmCallEndFtraceEvent)
359 if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
360 (void)arena;
361 return;
362 }
363 SharedDtor();
364 }
365
SharedDtor()366 inline void ScmCallEndFtraceEvent::SharedDtor() {
367 GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
368 }
369
SetCachedSize(int size) const370 void ScmCallEndFtraceEvent::SetCachedSize(int size) const {
371 _impl_._cached_size_.Set(size);
372 }
373
Clear()374 void ScmCallEndFtraceEvent::Clear() {
375 // @@protoc_insertion_point(message_clear_start:perfetto.protos.ScmCallEndFtraceEvent)
376 ::uint32_t cached_has_bits = 0;
377 // Prevent compiler warnings about cached_has_bits being unused
378 (void) cached_has_bits;
379
380 _internal_metadata_.Clear<std::string>();
381 }
382
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)383 const char* ScmCallEndFtraceEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
384 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
385 while (!ctx->Done(&ptr)) {
386 ::uint32_t tag;
387 ptr = ::_pbi::ReadTag(ptr, &tag);
388 if ((tag == 0) || ((tag & 7) == 4)) {
389 CHK_(ptr);
390 ctx->SetLastTag(tag);
391 goto message_done;
392 }
393 ptr = UnknownFieldParse(
394 tag,
395 _internal_metadata_.mutable_unknown_fields<std::string>(),
396 ptr, ctx);
397 CHK_(ptr != nullptr);
398 } // while
399 message_done:
400 return ptr;
401 failure:
402 ptr = nullptr;
403 goto message_done;
404 #undef CHK_
405 }
406
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const407 ::uint8_t* ScmCallEndFtraceEvent::_InternalSerialize(
408 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
409 // @@protoc_insertion_point(serialize_to_array_start:perfetto.protos.ScmCallEndFtraceEvent)
410 ::uint32_t cached_has_bits = 0;
411 (void) cached_has_bits;
412
413 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
414 target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
415 static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
416 }
417 // @@protoc_insertion_point(serialize_to_array_end:perfetto.protos.ScmCallEndFtraceEvent)
418 return target;
419 }
420
ByteSizeLong() const421 size_t ScmCallEndFtraceEvent::ByteSizeLong() const {
422 // @@protoc_insertion_point(message_byte_size_start:perfetto.protos.ScmCallEndFtraceEvent)
423 size_t total_size = 0;
424
425 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
426 total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
427 }
428 int cached_size = ::_pbi::ToCachedSize(total_size);
429 SetCachedSize(cached_size);
430 return total_size;
431 }
432
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)433 void ScmCallEndFtraceEvent::CheckTypeAndMergeFrom(
434 const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
435 MergeFrom(*::_pbi::DownCast<const ScmCallEndFtraceEvent*>(
436 &from));
437 }
438
MergeFrom(const ScmCallEndFtraceEvent & from)439 void ScmCallEndFtraceEvent::MergeFrom(const ScmCallEndFtraceEvent& from) {
440 ScmCallEndFtraceEvent* const _this = this;
441 // @@protoc_insertion_point(class_specific_merge_from_start:perfetto.protos.ScmCallEndFtraceEvent)
442 GOOGLE_DCHECK_NE(&from, _this);
443 ::uint32_t cached_has_bits = 0;
444 (void) cached_has_bits;
445
446 _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
447 }
448
CopyFrom(const ScmCallEndFtraceEvent & from)449 void ScmCallEndFtraceEvent::CopyFrom(const ScmCallEndFtraceEvent& from) {
450 // @@protoc_insertion_point(class_specific_copy_from_start:perfetto.protos.ScmCallEndFtraceEvent)
451 if (&from == this) return;
452 Clear();
453 MergeFrom(from);
454 }
455
IsInitialized() const456 bool ScmCallEndFtraceEvent::IsInitialized() const {
457 return true;
458 }
459
InternalSwap(ScmCallEndFtraceEvent * other)460 void ScmCallEndFtraceEvent::InternalSwap(ScmCallEndFtraceEvent* other) {
461 using std::swap;
462 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
463 }
464
GetTypeName() const465 std::string ScmCallEndFtraceEvent::GetTypeName() const {
466 return "perfetto.protos.ScmCallEndFtraceEvent";
467 }
468
469
470 // @@protoc_insertion_point(namespace_scope)
471 } // namespace protos
472 } // namespace perfetto
473 PROTOBUF_NAMESPACE_OPEN
474 template<> PROTOBUF_NOINLINE ::perfetto::protos::ScmCallStartFtraceEvent*
CreateMaybeMessage(Arena * arena)475 Arena::CreateMaybeMessage< ::perfetto::protos::ScmCallStartFtraceEvent >(Arena* arena) {
476 return Arena::CreateMessageInternal< ::perfetto::protos::ScmCallStartFtraceEvent >(arena);
477 }
478 template<> PROTOBUF_NOINLINE ::perfetto::protos::ScmCallEndFtraceEvent*
CreateMaybeMessage(Arena * arena)479 Arena::CreateMaybeMessage< ::perfetto::protos::ScmCallEndFtraceEvent >(Arena* arena) {
480 return Arena::CreateMessageInternal< ::perfetto::protos::ScmCallEndFtraceEvent >(arena);
481 }
482 PROTOBUF_NAMESPACE_CLOSE
483
484 // @@protoc_insertion_point(global_scope)
485 #include <google/protobuf/port_undef.inc>
486