1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: system/extras/simpleperf/record_file.proto
3
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_system_2fextras_2fsimpleperf_2frecord_5ffile_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_system_2fextras_2fsimpleperf_2frecord_5ffile_2eproto
6
7 #include <cstdint>
8 #include <limits>
9 #include <string>
10
11 #include <google/protobuf/port_def.inc>
12 #if PROTOBUF_VERSION < 3021000
13 #error This file was generated by a newer version of protoc which is
14 #error incompatible with your Protocol Buffer headers. Please update
15 #error your headers.
16 #endif
17 #if 3021012 < PROTOBUF_MIN_PROTOC_VERSION
18 #error This file was generated by an older version of protoc which is
19 #error incompatible with your Protocol Buffer headers. Please
20 #error regenerate this file with a newer version of protoc.
21 #endif
22
23 #include <google/protobuf/port_undef.inc>
24 #include <google/protobuf/io/coded_stream.h>
25 #include <google/protobuf/arena.h>
26 #include <google/protobuf/arenastring.h>
27 #include <google/protobuf/generated_message_util.h>
28 #include <google/protobuf/metadata_lite.h>
29 #include <google/protobuf/message_lite.h>
30 #include <google/protobuf/repeated_field.h> // IWYU pragma: export
31 #include <google/protobuf/extension_set.h> // IWYU pragma: export
32 // @@protoc_insertion_point(includes)
33 #include <google/protobuf/port_def.inc>
34 #define PROTOBUF_INTERNAL_EXPORT_system_2fextras_2fsimpleperf_2frecord_5ffile_2eproto
35 PROTOBUF_NAMESPACE_OPEN
36 namespace internal {
37 class AnyMetadata;
38 } // namespace internal
39 PROTOBUF_NAMESPACE_CLOSE
40
41 // Internal implementation detail -- do not use these members.
42 struct TableStruct_system_2fextras_2fsimpleperf_2frecord_5ffile_2eproto {
43 static const ::uint32_t offsets[];
44 };
45 namespace simpleperf {
46 namespace proto {
47 class DebugUnwindFeature;
48 struct DebugUnwindFeatureDefaultTypeInternal;
49 extern DebugUnwindFeatureDefaultTypeInternal _DebugUnwindFeature_default_instance_;
50 class DebugUnwindFeature_File;
51 struct DebugUnwindFeature_FileDefaultTypeInternal;
52 extern DebugUnwindFeature_FileDefaultTypeInternal _DebugUnwindFeature_File_default_instance_;
53 class FileFeature;
54 struct FileFeatureDefaultTypeInternal;
55 extern FileFeatureDefaultTypeInternal _FileFeature_default_instance_;
56 class FileFeature_DexFile;
57 struct FileFeature_DexFileDefaultTypeInternal;
58 extern FileFeature_DexFileDefaultTypeInternal _FileFeature_DexFile_default_instance_;
59 class FileFeature_ElfFile;
60 struct FileFeature_ElfFileDefaultTypeInternal;
61 extern FileFeature_ElfFileDefaultTypeInternal _FileFeature_ElfFile_default_instance_;
62 class FileFeature_KernelModule;
63 struct FileFeature_KernelModuleDefaultTypeInternal;
64 extern FileFeature_KernelModuleDefaultTypeInternal _FileFeature_KernelModule_default_instance_;
65 class FileFeature_Symbol;
66 struct FileFeature_SymbolDefaultTypeInternal;
67 extern FileFeature_SymbolDefaultTypeInternal _FileFeature_Symbol_default_instance_;
68 } // namespace proto
69 } // namespace simpleperf
70 PROTOBUF_NAMESPACE_OPEN
71 template<> ::simpleperf::proto::DebugUnwindFeature* Arena::CreateMaybeMessage<::simpleperf::proto::DebugUnwindFeature>(Arena*);
72 template<> ::simpleperf::proto::DebugUnwindFeature_File* Arena::CreateMaybeMessage<::simpleperf::proto::DebugUnwindFeature_File>(Arena*);
73 template<> ::simpleperf::proto::FileFeature* Arena::CreateMaybeMessage<::simpleperf::proto::FileFeature>(Arena*);
74 template<> ::simpleperf::proto::FileFeature_DexFile* Arena::CreateMaybeMessage<::simpleperf::proto::FileFeature_DexFile>(Arena*);
75 template<> ::simpleperf::proto::FileFeature_ElfFile* Arena::CreateMaybeMessage<::simpleperf::proto::FileFeature_ElfFile>(Arena*);
76 template<> ::simpleperf::proto::FileFeature_KernelModule* Arena::CreateMaybeMessage<::simpleperf::proto::FileFeature_KernelModule>(Arena*);
77 template<> ::simpleperf::proto::FileFeature_Symbol* Arena::CreateMaybeMessage<::simpleperf::proto::FileFeature_Symbol>(Arena*);
78 PROTOBUF_NAMESPACE_CLOSE
79 namespace simpleperf {
80 namespace proto {
81
82 // ===================================================================
83
84 class DebugUnwindFeature_File final :
85 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:simpleperf.proto.DebugUnwindFeature.File) */ {
86 public:
DebugUnwindFeature_File()87 inline DebugUnwindFeature_File() : DebugUnwindFeature_File(nullptr) {}
88 ~DebugUnwindFeature_File() override;
89 explicit PROTOBUF_CONSTEXPR DebugUnwindFeature_File(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
90
91 DebugUnwindFeature_File(const DebugUnwindFeature_File& from);
DebugUnwindFeature_File(DebugUnwindFeature_File && from)92 DebugUnwindFeature_File(DebugUnwindFeature_File&& from) noexcept
93 : DebugUnwindFeature_File() {
94 *this = ::std::move(from);
95 }
96
97 inline DebugUnwindFeature_File& operator=(const DebugUnwindFeature_File& from) {
98 if (this == &from) return *this;
99 CopyFrom(from);
100 return *this;
101 }
102 inline DebugUnwindFeature_File& operator=(DebugUnwindFeature_File&& from) noexcept {
103 if (this == &from) return *this;
104 if (GetOwningArena() == from.GetOwningArena()
105 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
106 && GetOwningArena() != nullptr
107 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
108 ) {
109 InternalSwap(&from);
110 } else {
111 CopyFrom(from);
112 }
113 return *this;
114 }
115
default_instance()116 static const DebugUnwindFeature_File& default_instance() {
117 return *internal_default_instance();
118 }
internal_default_instance()119 static inline const DebugUnwindFeature_File* internal_default_instance() {
120 return reinterpret_cast<const DebugUnwindFeature_File*>(
121 &_DebugUnwindFeature_File_default_instance_);
122 }
123 static constexpr int kIndexInFileMessages =
124 0;
125
swap(DebugUnwindFeature_File & a,DebugUnwindFeature_File & b)126 friend void swap(DebugUnwindFeature_File& a, DebugUnwindFeature_File& b) {
127 a.Swap(&b);
128 }
Swap(DebugUnwindFeature_File * other)129 inline void Swap(DebugUnwindFeature_File* other) {
130 if (other == this) return;
131 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
132 if (GetOwningArena() != nullptr &&
133 GetOwningArena() == other->GetOwningArena()) {
134 #else // PROTOBUF_FORCE_COPY_IN_SWAP
135 if (GetOwningArena() == other->GetOwningArena()) {
136 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
137 InternalSwap(other);
138 } else {
139 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
140 }
141 }
142 void UnsafeArenaSwap(DebugUnwindFeature_File* other) {
143 if (other == this) return;
144 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
145 InternalSwap(other);
146 }
147
148 // implements Message ----------------------------------------------
149
150 DebugUnwindFeature_File* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
151 return CreateMaybeMessage<DebugUnwindFeature_File>(arena);
152 }
153 DebugUnwindFeature_File* New() const {
154 return New(nullptr);
155 }
156 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
157 void CopyFrom(const DebugUnwindFeature_File& from);
158 void MergeFrom(const DebugUnwindFeature_File& from);
159 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
160 bool IsInitialized() const final;
161
162 size_t ByteSizeLong() const final;
163 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
164 ::uint8_t* _InternalSerialize(
165 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
166 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
167
168 private:
169 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
170 void SharedDtor();
171 void SetCachedSize(int size) const;
172 void InternalSwap(DebugUnwindFeature_File* other);
173
174 private:
175 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
176 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
177 return "simpleperf.proto.DebugUnwindFeature.File";
178 }
179 protected:
180 explicit DebugUnwindFeature_File(::PROTOBUF_NAMESPACE_ID::Arena* arena,
181 bool is_message_owned = false);
182 public:
183
184 std::string GetTypeName() const final;
185
186 // nested types ----------------------------------------------------
187
188 // accessors -------------------------------------------------------
189
190 enum : int {
191 kPathFieldNumber = 1,
192 kSizeFieldNumber = 2,
193 };
194 // string path = 1;
195 void clear_path();
196 const std::string& path() const;
197 template <typename ArgT0 = const std::string&, typename... ArgT>
198 void set_path(ArgT0&& arg0, ArgT... args);
199 std::string* mutable_path();
200 PROTOBUF_NODISCARD std::string* release_path();
201 void set_allocated_path(std::string* path);
202 private:
203 const std::string& _internal_path() const;
204 inline PROTOBUF_ALWAYS_INLINE void _internal_set_path(const std::string& value);
205 std::string* _internal_mutable_path();
206 public:
207
208 // uint64 size = 2;
209 void clear_size();
210 ::uint64_t size() const;
211 void set_size(::uint64_t value);
212 private:
213 ::uint64_t _internal_size() const;
214 void _internal_set_size(::uint64_t value);
215 public:
216
217 // @@protoc_insertion_point(class_scope:simpleperf.proto.DebugUnwindFeature.File)
218 private:
219 class _Internal;
220
221 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
222 typedef void InternalArenaConstructable_;
223 typedef void DestructorSkippable_;
224 struct Impl_ {
225 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr path_;
226 ::uint64_t size_;
227 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
228 };
229 union { Impl_ _impl_; };
230 friend struct ::TableStruct_system_2fextras_2fsimpleperf_2frecord_5ffile_2eproto;
231 };
232 // -------------------------------------------------------------------
233
234 class DebugUnwindFeature final :
235 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:simpleperf.proto.DebugUnwindFeature) */ {
236 public:
DebugUnwindFeature()237 inline DebugUnwindFeature() : DebugUnwindFeature(nullptr) {}
238 ~DebugUnwindFeature() override;
239 explicit PROTOBUF_CONSTEXPR DebugUnwindFeature(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
240
241 DebugUnwindFeature(const DebugUnwindFeature& from);
DebugUnwindFeature(DebugUnwindFeature && from)242 DebugUnwindFeature(DebugUnwindFeature&& from) noexcept
243 : DebugUnwindFeature() {
244 *this = ::std::move(from);
245 }
246
247 inline DebugUnwindFeature& operator=(const DebugUnwindFeature& from) {
248 if (this == &from) return *this;
249 CopyFrom(from);
250 return *this;
251 }
252 inline DebugUnwindFeature& operator=(DebugUnwindFeature&& from) noexcept {
253 if (this == &from) return *this;
254 if (GetOwningArena() == from.GetOwningArena()
255 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
256 && GetOwningArena() != nullptr
257 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
258 ) {
259 InternalSwap(&from);
260 } else {
261 CopyFrom(from);
262 }
263 return *this;
264 }
265
default_instance()266 static const DebugUnwindFeature& default_instance() {
267 return *internal_default_instance();
268 }
internal_default_instance()269 static inline const DebugUnwindFeature* internal_default_instance() {
270 return reinterpret_cast<const DebugUnwindFeature*>(
271 &_DebugUnwindFeature_default_instance_);
272 }
273 static constexpr int kIndexInFileMessages =
274 1;
275
swap(DebugUnwindFeature & a,DebugUnwindFeature & b)276 friend void swap(DebugUnwindFeature& a, DebugUnwindFeature& b) {
277 a.Swap(&b);
278 }
Swap(DebugUnwindFeature * other)279 inline void Swap(DebugUnwindFeature* other) {
280 if (other == this) return;
281 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
282 if (GetOwningArena() != nullptr &&
283 GetOwningArena() == other->GetOwningArena()) {
284 #else // PROTOBUF_FORCE_COPY_IN_SWAP
285 if (GetOwningArena() == other->GetOwningArena()) {
286 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
287 InternalSwap(other);
288 } else {
289 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
290 }
291 }
292 void UnsafeArenaSwap(DebugUnwindFeature* other) {
293 if (other == this) return;
294 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
295 InternalSwap(other);
296 }
297
298 // implements Message ----------------------------------------------
299
300 DebugUnwindFeature* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
301 return CreateMaybeMessage<DebugUnwindFeature>(arena);
302 }
303 DebugUnwindFeature* New() const {
304 return New(nullptr);
305 }
306 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
307 void CopyFrom(const DebugUnwindFeature& from);
308 void MergeFrom(const DebugUnwindFeature& from);
309 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
310 bool IsInitialized() const final;
311
312 size_t ByteSizeLong() const final;
313 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
314 ::uint8_t* _InternalSerialize(
315 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
316 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
317
318 private:
319 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
320 void SharedDtor();
321 void SetCachedSize(int size) const;
322 void InternalSwap(DebugUnwindFeature* other);
323
324 private:
325 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
326 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
327 return "simpleperf.proto.DebugUnwindFeature";
328 }
329 protected:
330 explicit DebugUnwindFeature(::PROTOBUF_NAMESPACE_ID::Arena* arena,
331 bool is_message_owned = false);
332 public:
333
334 std::string GetTypeName() const final;
335
336 // nested types ----------------------------------------------------
337
338 typedef DebugUnwindFeature_File File;
339
340 // accessors -------------------------------------------------------
341
342 enum : int {
343 kFileFieldNumber = 1,
344 };
345 // repeated .simpleperf.proto.DebugUnwindFeature.File file = 1;
346 int file_size() const;
347 private:
348 int _internal_file_size() const;
349 public:
350 void clear_file();
351 ::simpleperf::proto::DebugUnwindFeature_File* mutable_file(int index);
352 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::simpleperf::proto::DebugUnwindFeature_File >*
353 mutable_file();
354 private:
355 const ::simpleperf::proto::DebugUnwindFeature_File& _internal_file(int index) const;
356 ::simpleperf::proto::DebugUnwindFeature_File* _internal_add_file();
357 public:
358 const ::simpleperf::proto::DebugUnwindFeature_File& file(int index) const;
359 ::simpleperf::proto::DebugUnwindFeature_File* add_file();
360 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::simpleperf::proto::DebugUnwindFeature_File >&
361 file() const;
362
363 // @@protoc_insertion_point(class_scope:simpleperf.proto.DebugUnwindFeature)
364 private:
365 class _Internal;
366
367 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
368 typedef void InternalArenaConstructable_;
369 typedef void DestructorSkippable_;
370 struct Impl_ {
371 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::simpleperf::proto::DebugUnwindFeature_File > file_;
372 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
373 };
374 union { Impl_ _impl_; };
375 friend struct ::TableStruct_system_2fextras_2fsimpleperf_2frecord_5ffile_2eproto;
376 };
377 // -------------------------------------------------------------------
378
379 class FileFeature_Symbol final :
380 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:simpleperf.proto.FileFeature.Symbol) */ {
381 public:
FileFeature_Symbol()382 inline FileFeature_Symbol() : FileFeature_Symbol(nullptr) {}
383 ~FileFeature_Symbol() override;
384 explicit PROTOBUF_CONSTEXPR FileFeature_Symbol(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
385
386 FileFeature_Symbol(const FileFeature_Symbol& from);
FileFeature_Symbol(FileFeature_Symbol && from)387 FileFeature_Symbol(FileFeature_Symbol&& from) noexcept
388 : FileFeature_Symbol() {
389 *this = ::std::move(from);
390 }
391
392 inline FileFeature_Symbol& operator=(const FileFeature_Symbol& from) {
393 if (this == &from) return *this;
394 CopyFrom(from);
395 return *this;
396 }
397 inline FileFeature_Symbol& operator=(FileFeature_Symbol&& from) noexcept {
398 if (this == &from) return *this;
399 if (GetOwningArena() == from.GetOwningArena()
400 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
401 && GetOwningArena() != nullptr
402 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
403 ) {
404 InternalSwap(&from);
405 } else {
406 CopyFrom(from);
407 }
408 return *this;
409 }
410
default_instance()411 static const FileFeature_Symbol& default_instance() {
412 return *internal_default_instance();
413 }
internal_default_instance()414 static inline const FileFeature_Symbol* internal_default_instance() {
415 return reinterpret_cast<const FileFeature_Symbol*>(
416 &_FileFeature_Symbol_default_instance_);
417 }
418 static constexpr int kIndexInFileMessages =
419 2;
420
swap(FileFeature_Symbol & a,FileFeature_Symbol & b)421 friend void swap(FileFeature_Symbol& a, FileFeature_Symbol& b) {
422 a.Swap(&b);
423 }
Swap(FileFeature_Symbol * other)424 inline void Swap(FileFeature_Symbol* other) {
425 if (other == this) return;
426 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
427 if (GetOwningArena() != nullptr &&
428 GetOwningArena() == other->GetOwningArena()) {
429 #else // PROTOBUF_FORCE_COPY_IN_SWAP
430 if (GetOwningArena() == other->GetOwningArena()) {
431 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
432 InternalSwap(other);
433 } else {
434 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
435 }
436 }
437 void UnsafeArenaSwap(FileFeature_Symbol* other) {
438 if (other == this) return;
439 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
440 InternalSwap(other);
441 }
442
443 // implements Message ----------------------------------------------
444
445 FileFeature_Symbol* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
446 return CreateMaybeMessage<FileFeature_Symbol>(arena);
447 }
448 FileFeature_Symbol* New() const {
449 return New(nullptr);
450 }
451 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
452 void CopyFrom(const FileFeature_Symbol& from);
453 void MergeFrom(const FileFeature_Symbol& from);
454 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
455 bool IsInitialized() const final;
456
457 size_t ByteSizeLong() const final;
458 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
459 ::uint8_t* _InternalSerialize(
460 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
461 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
462
463 private:
464 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
465 void SharedDtor();
466 void SetCachedSize(int size) const;
467 void InternalSwap(FileFeature_Symbol* other);
468
469 private:
470 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
471 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
472 return "simpleperf.proto.FileFeature.Symbol";
473 }
474 protected:
475 explicit FileFeature_Symbol(::PROTOBUF_NAMESPACE_ID::Arena* arena,
476 bool is_message_owned = false);
477 public:
478
479 std::string GetTypeName() const final;
480
481 // nested types ----------------------------------------------------
482
483 // accessors -------------------------------------------------------
484
485 enum : int {
486 kNameFieldNumber = 3,
487 kVaddrFieldNumber = 1,
488 kLenFieldNumber = 2,
489 };
490 // string name = 3;
491 void clear_name();
492 const std::string& name() const;
493 template <typename ArgT0 = const std::string&, typename... ArgT>
494 void set_name(ArgT0&& arg0, ArgT... args);
495 std::string* mutable_name();
496 PROTOBUF_NODISCARD std::string* release_name();
497 void set_allocated_name(std::string* name);
498 private:
499 const std::string& _internal_name() const;
500 inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
501 std::string* _internal_mutable_name();
502 public:
503
504 // uint64 vaddr = 1;
505 void clear_vaddr();
506 ::uint64_t vaddr() const;
507 void set_vaddr(::uint64_t value);
508 private:
509 ::uint64_t _internal_vaddr() const;
510 void _internal_set_vaddr(::uint64_t value);
511 public:
512
513 // uint32 len = 2;
514 void clear_len();
515 ::uint32_t len() const;
516 void set_len(::uint32_t value);
517 private:
518 ::uint32_t _internal_len() const;
519 void _internal_set_len(::uint32_t value);
520 public:
521
522 // @@protoc_insertion_point(class_scope:simpleperf.proto.FileFeature.Symbol)
523 private:
524 class _Internal;
525
526 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
527 typedef void InternalArenaConstructable_;
528 typedef void DestructorSkippable_;
529 struct Impl_ {
530 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
531 ::uint64_t vaddr_;
532 ::uint32_t len_;
533 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
534 };
535 union { Impl_ _impl_; };
536 friend struct ::TableStruct_system_2fextras_2fsimpleperf_2frecord_5ffile_2eproto;
537 };
538 // -------------------------------------------------------------------
539
540 class FileFeature_DexFile final :
541 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:simpleperf.proto.FileFeature.DexFile) */ {
542 public:
FileFeature_DexFile()543 inline FileFeature_DexFile() : FileFeature_DexFile(nullptr) {}
544 ~FileFeature_DexFile() override;
545 explicit PROTOBUF_CONSTEXPR FileFeature_DexFile(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
546
547 FileFeature_DexFile(const FileFeature_DexFile& from);
FileFeature_DexFile(FileFeature_DexFile && from)548 FileFeature_DexFile(FileFeature_DexFile&& from) noexcept
549 : FileFeature_DexFile() {
550 *this = ::std::move(from);
551 }
552
553 inline FileFeature_DexFile& operator=(const FileFeature_DexFile& from) {
554 if (this == &from) return *this;
555 CopyFrom(from);
556 return *this;
557 }
558 inline FileFeature_DexFile& operator=(FileFeature_DexFile&& from) noexcept {
559 if (this == &from) return *this;
560 if (GetOwningArena() == from.GetOwningArena()
561 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
562 && GetOwningArena() != nullptr
563 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
564 ) {
565 InternalSwap(&from);
566 } else {
567 CopyFrom(from);
568 }
569 return *this;
570 }
571
default_instance()572 static const FileFeature_DexFile& default_instance() {
573 return *internal_default_instance();
574 }
internal_default_instance()575 static inline const FileFeature_DexFile* internal_default_instance() {
576 return reinterpret_cast<const FileFeature_DexFile*>(
577 &_FileFeature_DexFile_default_instance_);
578 }
579 static constexpr int kIndexInFileMessages =
580 3;
581
swap(FileFeature_DexFile & a,FileFeature_DexFile & b)582 friend void swap(FileFeature_DexFile& a, FileFeature_DexFile& b) {
583 a.Swap(&b);
584 }
Swap(FileFeature_DexFile * other)585 inline void Swap(FileFeature_DexFile* other) {
586 if (other == this) return;
587 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
588 if (GetOwningArena() != nullptr &&
589 GetOwningArena() == other->GetOwningArena()) {
590 #else // PROTOBUF_FORCE_COPY_IN_SWAP
591 if (GetOwningArena() == other->GetOwningArena()) {
592 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
593 InternalSwap(other);
594 } else {
595 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
596 }
597 }
598 void UnsafeArenaSwap(FileFeature_DexFile* other) {
599 if (other == this) return;
600 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
601 InternalSwap(other);
602 }
603
604 // implements Message ----------------------------------------------
605
606 FileFeature_DexFile* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
607 return CreateMaybeMessage<FileFeature_DexFile>(arena);
608 }
609 FileFeature_DexFile* New() const {
610 return New(nullptr);
611 }
612 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
613 void CopyFrom(const FileFeature_DexFile& from);
614 void MergeFrom(const FileFeature_DexFile& from);
615 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
616 bool IsInitialized() const final;
617
618 size_t ByteSizeLong() const final;
619 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
620 ::uint8_t* _InternalSerialize(
621 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
622 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
623
624 private:
625 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
626 void SharedDtor();
627 void SetCachedSize(int size) const;
628 void InternalSwap(FileFeature_DexFile* other);
629
630 private:
631 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
632 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
633 return "simpleperf.proto.FileFeature.DexFile";
634 }
635 protected:
636 explicit FileFeature_DexFile(::PROTOBUF_NAMESPACE_ID::Arena* arena,
637 bool is_message_owned = false);
638 public:
639
640 std::string GetTypeName() const final;
641
642 // nested types ----------------------------------------------------
643
644 // accessors -------------------------------------------------------
645
646 enum : int {
647 kDexFileOffsetFieldNumber = 1,
648 };
649 // repeated uint64 dex_file_offset = 1;
650 int dex_file_offset_size() const;
651 private:
652 int _internal_dex_file_offset_size() const;
653 public:
654 void clear_dex_file_offset();
655 private:
656 ::uint64_t _internal_dex_file_offset(int index) const;
657 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::uint64_t >&
658 _internal_dex_file_offset() const;
659 void _internal_add_dex_file_offset(::uint64_t value);
660 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::uint64_t >*
661 _internal_mutable_dex_file_offset();
662 public:
663 ::uint64_t dex_file_offset(int index) const;
664 void set_dex_file_offset(int index, ::uint64_t value);
665 void add_dex_file_offset(::uint64_t value);
666 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::uint64_t >&
667 dex_file_offset() const;
668 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::uint64_t >*
669 mutable_dex_file_offset();
670
671 // @@protoc_insertion_point(class_scope:simpleperf.proto.FileFeature.DexFile)
672 private:
673 class _Internal;
674
675 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
676 typedef void InternalArenaConstructable_;
677 typedef void DestructorSkippable_;
678 struct Impl_ {
679 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::uint64_t > dex_file_offset_;
680 mutable std::atomic<int> _dex_file_offset_cached_byte_size_;
681 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
682 };
683 union { Impl_ _impl_; };
684 friend struct ::TableStruct_system_2fextras_2fsimpleperf_2frecord_5ffile_2eproto;
685 };
686 // -------------------------------------------------------------------
687
688 class FileFeature_ElfFile final :
689 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:simpleperf.proto.FileFeature.ElfFile) */ {
690 public:
FileFeature_ElfFile()691 inline FileFeature_ElfFile() : FileFeature_ElfFile(nullptr) {}
692 ~FileFeature_ElfFile() override;
693 explicit PROTOBUF_CONSTEXPR FileFeature_ElfFile(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
694
695 FileFeature_ElfFile(const FileFeature_ElfFile& from);
FileFeature_ElfFile(FileFeature_ElfFile && from)696 FileFeature_ElfFile(FileFeature_ElfFile&& from) noexcept
697 : FileFeature_ElfFile() {
698 *this = ::std::move(from);
699 }
700
701 inline FileFeature_ElfFile& operator=(const FileFeature_ElfFile& from) {
702 if (this == &from) return *this;
703 CopyFrom(from);
704 return *this;
705 }
706 inline FileFeature_ElfFile& operator=(FileFeature_ElfFile&& from) noexcept {
707 if (this == &from) return *this;
708 if (GetOwningArena() == from.GetOwningArena()
709 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
710 && GetOwningArena() != nullptr
711 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
712 ) {
713 InternalSwap(&from);
714 } else {
715 CopyFrom(from);
716 }
717 return *this;
718 }
719
default_instance()720 static const FileFeature_ElfFile& default_instance() {
721 return *internal_default_instance();
722 }
internal_default_instance()723 static inline const FileFeature_ElfFile* internal_default_instance() {
724 return reinterpret_cast<const FileFeature_ElfFile*>(
725 &_FileFeature_ElfFile_default_instance_);
726 }
727 static constexpr int kIndexInFileMessages =
728 4;
729
swap(FileFeature_ElfFile & a,FileFeature_ElfFile & b)730 friend void swap(FileFeature_ElfFile& a, FileFeature_ElfFile& b) {
731 a.Swap(&b);
732 }
Swap(FileFeature_ElfFile * other)733 inline void Swap(FileFeature_ElfFile* other) {
734 if (other == this) return;
735 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
736 if (GetOwningArena() != nullptr &&
737 GetOwningArena() == other->GetOwningArena()) {
738 #else // PROTOBUF_FORCE_COPY_IN_SWAP
739 if (GetOwningArena() == other->GetOwningArena()) {
740 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
741 InternalSwap(other);
742 } else {
743 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
744 }
745 }
746 void UnsafeArenaSwap(FileFeature_ElfFile* other) {
747 if (other == this) return;
748 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
749 InternalSwap(other);
750 }
751
752 // implements Message ----------------------------------------------
753
754 FileFeature_ElfFile* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
755 return CreateMaybeMessage<FileFeature_ElfFile>(arena);
756 }
757 FileFeature_ElfFile* New() const {
758 return New(nullptr);
759 }
760 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
761 void CopyFrom(const FileFeature_ElfFile& from);
762 void MergeFrom(const FileFeature_ElfFile& from);
763 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
764 bool IsInitialized() const final;
765
766 size_t ByteSizeLong() const final;
767 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
768 ::uint8_t* _InternalSerialize(
769 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
770 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
771
772 private:
773 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
774 void SharedDtor();
775 void SetCachedSize(int size) const;
776 void InternalSwap(FileFeature_ElfFile* other);
777
778 private:
779 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
780 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
781 return "simpleperf.proto.FileFeature.ElfFile";
782 }
783 protected:
784 explicit FileFeature_ElfFile(::PROTOBUF_NAMESPACE_ID::Arena* arena,
785 bool is_message_owned = false);
786 public:
787
788 std::string GetTypeName() const final;
789
790 // nested types ----------------------------------------------------
791
792 // accessors -------------------------------------------------------
793
794 enum : int {
795 kFileOffsetOfMinVaddrFieldNumber = 1,
796 };
797 // uint64 file_offset_of_min_vaddr = 1;
798 void clear_file_offset_of_min_vaddr();
799 ::uint64_t file_offset_of_min_vaddr() const;
800 void set_file_offset_of_min_vaddr(::uint64_t value);
801 private:
802 ::uint64_t _internal_file_offset_of_min_vaddr() const;
803 void _internal_set_file_offset_of_min_vaddr(::uint64_t value);
804 public:
805
806 // @@protoc_insertion_point(class_scope:simpleperf.proto.FileFeature.ElfFile)
807 private:
808 class _Internal;
809
810 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
811 typedef void InternalArenaConstructable_;
812 typedef void DestructorSkippable_;
813 struct Impl_ {
814 ::uint64_t file_offset_of_min_vaddr_;
815 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
816 };
817 union { Impl_ _impl_; };
818 friend struct ::TableStruct_system_2fextras_2fsimpleperf_2frecord_5ffile_2eproto;
819 };
820 // -------------------------------------------------------------------
821
822 class FileFeature_KernelModule final :
823 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:simpleperf.proto.FileFeature.KernelModule) */ {
824 public:
FileFeature_KernelModule()825 inline FileFeature_KernelModule() : FileFeature_KernelModule(nullptr) {}
826 ~FileFeature_KernelModule() override;
827 explicit PROTOBUF_CONSTEXPR FileFeature_KernelModule(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
828
829 FileFeature_KernelModule(const FileFeature_KernelModule& from);
FileFeature_KernelModule(FileFeature_KernelModule && from)830 FileFeature_KernelModule(FileFeature_KernelModule&& from) noexcept
831 : FileFeature_KernelModule() {
832 *this = ::std::move(from);
833 }
834
835 inline FileFeature_KernelModule& operator=(const FileFeature_KernelModule& from) {
836 if (this == &from) return *this;
837 CopyFrom(from);
838 return *this;
839 }
840 inline FileFeature_KernelModule& operator=(FileFeature_KernelModule&& from) noexcept {
841 if (this == &from) return *this;
842 if (GetOwningArena() == from.GetOwningArena()
843 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
844 && GetOwningArena() != nullptr
845 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
846 ) {
847 InternalSwap(&from);
848 } else {
849 CopyFrom(from);
850 }
851 return *this;
852 }
853
default_instance()854 static const FileFeature_KernelModule& default_instance() {
855 return *internal_default_instance();
856 }
internal_default_instance()857 static inline const FileFeature_KernelModule* internal_default_instance() {
858 return reinterpret_cast<const FileFeature_KernelModule*>(
859 &_FileFeature_KernelModule_default_instance_);
860 }
861 static constexpr int kIndexInFileMessages =
862 5;
863
swap(FileFeature_KernelModule & a,FileFeature_KernelModule & b)864 friend void swap(FileFeature_KernelModule& a, FileFeature_KernelModule& b) {
865 a.Swap(&b);
866 }
Swap(FileFeature_KernelModule * other)867 inline void Swap(FileFeature_KernelModule* other) {
868 if (other == this) return;
869 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
870 if (GetOwningArena() != nullptr &&
871 GetOwningArena() == other->GetOwningArena()) {
872 #else // PROTOBUF_FORCE_COPY_IN_SWAP
873 if (GetOwningArena() == other->GetOwningArena()) {
874 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
875 InternalSwap(other);
876 } else {
877 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
878 }
879 }
880 void UnsafeArenaSwap(FileFeature_KernelModule* other) {
881 if (other == this) return;
882 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
883 InternalSwap(other);
884 }
885
886 // implements Message ----------------------------------------------
887
888 FileFeature_KernelModule* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
889 return CreateMaybeMessage<FileFeature_KernelModule>(arena);
890 }
891 FileFeature_KernelModule* New() const {
892 return New(nullptr);
893 }
894 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
895 void CopyFrom(const FileFeature_KernelModule& from);
896 void MergeFrom(const FileFeature_KernelModule& from);
897 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
898 bool IsInitialized() const final;
899
900 size_t ByteSizeLong() const final;
901 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
902 ::uint8_t* _InternalSerialize(
903 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
904 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
905
906 private:
907 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
908 void SharedDtor();
909 void SetCachedSize(int size) const;
910 void InternalSwap(FileFeature_KernelModule* other);
911
912 private:
913 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
914 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
915 return "simpleperf.proto.FileFeature.KernelModule";
916 }
917 protected:
918 explicit FileFeature_KernelModule(::PROTOBUF_NAMESPACE_ID::Arena* arena,
919 bool is_message_owned = false);
920 public:
921
922 std::string GetTypeName() const final;
923
924 // nested types ----------------------------------------------------
925
926 // accessors -------------------------------------------------------
927
928 enum : int {
929 kMemoryOffsetOfMinVaddrFieldNumber = 1,
930 };
931 // uint64 memory_offset_of_min_vaddr = 1;
932 void clear_memory_offset_of_min_vaddr();
933 ::uint64_t memory_offset_of_min_vaddr() const;
934 void set_memory_offset_of_min_vaddr(::uint64_t value);
935 private:
936 ::uint64_t _internal_memory_offset_of_min_vaddr() const;
937 void _internal_set_memory_offset_of_min_vaddr(::uint64_t value);
938 public:
939
940 // @@protoc_insertion_point(class_scope:simpleperf.proto.FileFeature.KernelModule)
941 private:
942 class _Internal;
943
944 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
945 typedef void InternalArenaConstructable_;
946 typedef void DestructorSkippable_;
947 struct Impl_ {
948 ::uint64_t memory_offset_of_min_vaddr_;
949 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
950 };
951 union { Impl_ _impl_; };
952 friend struct ::TableStruct_system_2fextras_2fsimpleperf_2frecord_5ffile_2eproto;
953 };
954 // -------------------------------------------------------------------
955
956 class FileFeature final :
957 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:simpleperf.proto.FileFeature) */ {
958 public:
FileFeature()959 inline FileFeature() : FileFeature(nullptr) {}
960 ~FileFeature() override;
961 explicit PROTOBUF_CONSTEXPR FileFeature(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
962
963 FileFeature(const FileFeature& from);
FileFeature(FileFeature && from)964 FileFeature(FileFeature&& from) noexcept
965 : FileFeature() {
966 *this = ::std::move(from);
967 }
968
969 inline FileFeature& operator=(const FileFeature& from) {
970 if (this == &from) return *this;
971 CopyFrom(from);
972 return *this;
973 }
974 inline FileFeature& operator=(FileFeature&& from) noexcept {
975 if (this == &from) return *this;
976 if (GetOwningArena() == from.GetOwningArena()
977 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
978 && GetOwningArena() != nullptr
979 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
980 ) {
981 InternalSwap(&from);
982 } else {
983 CopyFrom(from);
984 }
985 return *this;
986 }
987
default_instance()988 static const FileFeature& default_instance() {
989 return *internal_default_instance();
990 }
991 enum TypeSpecificMsgCase {
992 kDexFile = 5,
993 kElfFile = 6,
994 kKernelModule = 7,
995 TYPE_SPECIFIC_MSG_NOT_SET = 0,
996 };
997
internal_default_instance()998 static inline const FileFeature* internal_default_instance() {
999 return reinterpret_cast<const FileFeature*>(
1000 &_FileFeature_default_instance_);
1001 }
1002 static constexpr int kIndexInFileMessages =
1003 6;
1004
swap(FileFeature & a,FileFeature & b)1005 friend void swap(FileFeature& a, FileFeature& b) {
1006 a.Swap(&b);
1007 }
Swap(FileFeature * other)1008 inline void Swap(FileFeature* other) {
1009 if (other == this) return;
1010 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
1011 if (GetOwningArena() != nullptr &&
1012 GetOwningArena() == other->GetOwningArena()) {
1013 #else // PROTOBUF_FORCE_COPY_IN_SWAP
1014 if (GetOwningArena() == other->GetOwningArena()) {
1015 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
1016 InternalSwap(other);
1017 } else {
1018 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
1019 }
1020 }
1021 void UnsafeArenaSwap(FileFeature* other) {
1022 if (other == this) return;
1023 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
1024 InternalSwap(other);
1025 }
1026
1027 // implements Message ----------------------------------------------
1028
1029 FileFeature* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
1030 return CreateMaybeMessage<FileFeature>(arena);
1031 }
1032 FileFeature* New() const {
1033 return New(nullptr);
1034 }
1035 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
1036 void CopyFrom(const FileFeature& from);
1037 void MergeFrom(const FileFeature& from);
1038 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1039 bool IsInitialized() const final;
1040
1041 size_t ByteSizeLong() const final;
1042 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1043 ::uint8_t* _InternalSerialize(
1044 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1045 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
1046
1047 private:
1048 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
1049 void SharedDtor();
1050 void SetCachedSize(int size) const;
1051 void InternalSwap(FileFeature* other);
1052
1053 private:
1054 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1055 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1056 return "simpleperf.proto.FileFeature";
1057 }
1058 protected:
1059 explicit FileFeature(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1060 bool is_message_owned = false);
1061 public:
1062
1063 std::string GetTypeName() const final;
1064
1065 // nested types ----------------------------------------------------
1066
1067 typedef FileFeature_Symbol Symbol;
1068 typedef FileFeature_DexFile DexFile;
1069 typedef FileFeature_ElfFile ElfFile;
1070 typedef FileFeature_KernelModule KernelModule;
1071
1072 // accessors -------------------------------------------------------
1073
1074 enum : int {
1075 kSymbolFieldNumber = 4,
1076 kPathFieldNumber = 1,
1077 kMinVaddrFieldNumber = 3,
1078 kTypeFieldNumber = 2,
1079 kDexFileFieldNumber = 5,
1080 kElfFileFieldNumber = 6,
1081 kKernelModuleFieldNumber = 7,
1082 };
1083 // repeated .simpleperf.proto.FileFeature.Symbol symbol = 4;
1084 int symbol_size() const;
1085 private:
1086 int _internal_symbol_size() const;
1087 public:
1088 void clear_symbol();
1089 ::simpleperf::proto::FileFeature_Symbol* mutable_symbol(int index);
1090 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::simpleperf::proto::FileFeature_Symbol >*
1091 mutable_symbol();
1092 private:
1093 const ::simpleperf::proto::FileFeature_Symbol& _internal_symbol(int index) const;
1094 ::simpleperf::proto::FileFeature_Symbol* _internal_add_symbol();
1095 public:
1096 const ::simpleperf::proto::FileFeature_Symbol& symbol(int index) const;
1097 ::simpleperf::proto::FileFeature_Symbol* add_symbol();
1098 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::simpleperf::proto::FileFeature_Symbol >&
1099 symbol() const;
1100
1101 // string path = 1;
1102 void clear_path();
1103 const std::string& path() const;
1104 template <typename ArgT0 = const std::string&, typename... ArgT>
1105 void set_path(ArgT0&& arg0, ArgT... args);
1106 std::string* mutable_path();
1107 PROTOBUF_NODISCARD std::string* release_path();
1108 void set_allocated_path(std::string* path);
1109 private:
1110 const std::string& _internal_path() const;
1111 inline PROTOBUF_ALWAYS_INLINE void _internal_set_path(const std::string& value);
1112 std::string* _internal_mutable_path();
1113 public:
1114
1115 // uint64 min_vaddr = 3;
1116 void clear_min_vaddr();
1117 ::uint64_t min_vaddr() const;
1118 void set_min_vaddr(::uint64_t value);
1119 private:
1120 ::uint64_t _internal_min_vaddr() const;
1121 void _internal_set_min_vaddr(::uint64_t value);
1122 public:
1123
1124 // uint32 type = 2;
1125 void clear_type();
1126 ::uint32_t type() const;
1127 void set_type(::uint32_t value);
1128 private:
1129 ::uint32_t _internal_type() const;
1130 void _internal_set_type(::uint32_t value);
1131 public:
1132
1133 // .simpleperf.proto.FileFeature.DexFile dex_file = 5;
1134 bool has_dex_file() const;
1135 private:
1136 bool _internal_has_dex_file() const;
1137 public:
1138 void clear_dex_file();
1139 const ::simpleperf::proto::FileFeature_DexFile& dex_file() const;
1140 PROTOBUF_NODISCARD ::simpleperf::proto::FileFeature_DexFile* release_dex_file();
1141 ::simpleperf::proto::FileFeature_DexFile* mutable_dex_file();
1142 void set_allocated_dex_file(::simpleperf::proto::FileFeature_DexFile* dex_file);
1143 private:
1144 const ::simpleperf::proto::FileFeature_DexFile& _internal_dex_file() const;
1145 ::simpleperf::proto::FileFeature_DexFile* _internal_mutable_dex_file();
1146 public:
1147 void unsafe_arena_set_allocated_dex_file(
1148 ::simpleperf::proto::FileFeature_DexFile* dex_file);
1149 ::simpleperf::proto::FileFeature_DexFile* unsafe_arena_release_dex_file();
1150
1151 // .simpleperf.proto.FileFeature.ElfFile elf_file = 6;
1152 bool has_elf_file() const;
1153 private:
1154 bool _internal_has_elf_file() const;
1155 public:
1156 void clear_elf_file();
1157 const ::simpleperf::proto::FileFeature_ElfFile& elf_file() const;
1158 PROTOBUF_NODISCARD ::simpleperf::proto::FileFeature_ElfFile* release_elf_file();
1159 ::simpleperf::proto::FileFeature_ElfFile* mutable_elf_file();
1160 void set_allocated_elf_file(::simpleperf::proto::FileFeature_ElfFile* elf_file);
1161 private:
1162 const ::simpleperf::proto::FileFeature_ElfFile& _internal_elf_file() const;
1163 ::simpleperf::proto::FileFeature_ElfFile* _internal_mutable_elf_file();
1164 public:
1165 void unsafe_arena_set_allocated_elf_file(
1166 ::simpleperf::proto::FileFeature_ElfFile* elf_file);
1167 ::simpleperf::proto::FileFeature_ElfFile* unsafe_arena_release_elf_file();
1168
1169 // .simpleperf.proto.FileFeature.KernelModule kernel_module = 7;
1170 bool has_kernel_module() const;
1171 private:
1172 bool _internal_has_kernel_module() const;
1173 public:
1174 void clear_kernel_module();
1175 const ::simpleperf::proto::FileFeature_KernelModule& kernel_module() const;
1176 PROTOBUF_NODISCARD ::simpleperf::proto::FileFeature_KernelModule* release_kernel_module();
1177 ::simpleperf::proto::FileFeature_KernelModule* mutable_kernel_module();
1178 void set_allocated_kernel_module(::simpleperf::proto::FileFeature_KernelModule* kernel_module);
1179 private:
1180 const ::simpleperf::proto::FileFeature_KernelModule& _internal_kernel_module() const;
1181 ::simpleperf::proto::FileFeature_KernelModule* _internal_mutable_kernel_module();
1182 public:
1183 void unsafe_arena_set_allocated_kernel_module(
1184 ::simpleperf::proto::FileFeature_KernelModule* kernel_module);
1185 ::simpleperf::proto::FileFeature_KernelModule* unsafe_arena_release_kernel_module();
1186
1187 void clear_type_specific_msg();
1188 TypeSpecificMsgCase type_specific_msg_case() const;
1189 // @@protoc_insertion_point(class_scope:simpleperf.proto.FileFeature)
1190 private:
1191 class _Internal;
1192 void set_has_dex_file();
1193 void set_has_elf_file();
1194 void set_has_kernel_module();
1195
1196 inline bool has_type_specific_msg() const;
1197 inline void clear_has_type_specific_msg();
1198
1199 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1200 typedef void InternalArenaConstructable_;
1201 typedef void DestructorSkippable_;
1202 struct Impl_ {
1203 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::simpleperf::proto::FileFeature_Symbol > symbol_;
1204 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr path_;
1205 ::uint64_t min_vaddr_;
1206 ::uint32_t type_;
1207 union TypeSpecificMsgUnion {
1208 constexpr TypeSpecificMsgUnion() : _constinit_{} {}
1209 ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_;
1210 ::simpleperf::proto::FileFeature_DexFile* dex_file_;
1211 ::simpleperf::proto::FileFeature_ElfFile* elf_file_;
1212 ::simpleperf::proto::FileFeature_KernelModule* kernel_module_;
1213 } type_specific_msg_;
1214 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1215 ::uint32_t _oneof_case_[1];
1216
1217 };
1218 union { Impl_ _impl_; };
1219 friend struct ::TableStruct_system_2fextras_2fsimpleperf_2frecord_5ffile_2eproto;
1220 };
1221 // ===================================================================
1222
1223
1224 // ===================================================================
1225
1226 #ifdef __GNUC__
1227 #pragma GCC diagnostic push
1228 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
1229 #endif // __GNUC__
1230 // DebugUnwindFeature_File
1231
1232 // string path = 1;
clear_path()1233 inline void DebugUnwindFeature_File::clear_path() {
1234 _impl_.path_.ClearToEmpty();
1235 }
path()1236 inline const std::string& DebugUnwindFeature_File::path() const {
1237 // @@protoc_insertion_point(field_get:simpleperf.proto.DebugUnwindFeature.File.path)
1238 return _internal_path();
1239 }
1240 template <typename ArgT0, typename... ArgT>
1241 inline PROTOBUF_ALWAYS_INLINE
set_path(ArgT0 && arg0,ArgT...args)1242 void DebugUnwindFeature_File::set_path(ArgT0&& arg0, ArgT... args) {
1243
1244 _impl_.path_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
1245 // @@protoc_insertion_point(field_set:simpleperf.proto.DebugUnwindFeature.File.path)
1246 }
mutable_path()1247 inline std::string* DebugUnwindFeature_File::mutable_path() {
1248 std::string* _s = _internal_mutable_path();
1249 // @@protoc_insertion_point(field_mutable:simpleperf.proto.DebugUnwindFeature.File.path)
1250 return _s;
1251 }
_internal_path()1252 inline const std::string& DebugUnwindFeature_File::_internal_path() const {
1253 return _impl_.path_.Get();
1254 }
_internal_set_path(const std::string & value)1255 inline void DebugUnwindFeature_File::_internal_set_path(const std::string& value) {
1256
1257 _impl_.path_.Set(value, GetArenaForAllocation());
1258 }
_internal_mutable_path()1259 inline std::string* DebugUnwindFeature_File::_internal_mutable_path() {
1260
1261 return _impl_.path_.Mutable(GetArenaForAllocation());
1262 }
release_path()1263 inline std::string* DebugUnwindFeature_File::release_path() {
1264 // @@protoc_insertion_point(field_release:simpleperf.proto.DebugUnwindFeature.File.path)
1265 return _impl_.path_.Release();
1266 }
set_allocated_path(std::string * path)1267 inline void DebugUnwindFeature_File::set_allocated_path(std::string* path) {
1268 _impl_.path_.SetAllocated(path, GetArenaForAllocation());
1269 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1270 if (_impl_.path_.IsDefault()) {
1271 _impl_.path_.Set("", GetArenaForAllocation());
1272 }
1273 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1274 // @@protoc_insertion_point(field_set_allocated:simpleperf.proto.DebugUnwindFeature.File.path)
1275 }
1276
1277 // uint64 size = 2;
clear_size()1278 inline void DebugUnwindFeature_File::clear_size() {
1279 _impl_.size_ = ::uint64_t{0u};
1280 }
_internal_size()1281 inline ::uint64_t DebugUnwindFeature_File::_internal_size() const {
1282 return _impl_.size_;
1283 }
size()1284 inline ::uint64_t DebugUnwindFeature_File::size() const {
1285 // @@protoc_insertion_point(field_get:simpleperf.proto.DebugUnwindFeature.File.size)
1286 return _internal_size();
1287 }
_internal_set_size(::uint64_t value)1288 inline void DebugUnwindFeature_File::_internal_set_size(::uint64_t value) {
1289
1290 _impl_.size_ = value;
1291 }
set_size(::uint64_t value)1292 inline void DebugUnwindFeature_File::set_size(::uint64_t value) {
1293 _internal_set_size(value);
1294 // @@protoc_insertion_point(field_set:simpleperf.proto.DebugUnwindFeature.File.size)
1295 }
1296
1297 // -------------------------------------------------------------------
1298
1299 // DebugUnwindFeature
1300
1301 // repeated .simpleperf.proto.DebugUnwindFeature.File file = 1;
_internal_file_size()1302 inline int DebugUnwindFeature::_internal_file_size() const {
1303 return _impl_.file_.size();
1304 }
file_size()1305 inline int DebugUnwindFeature::file_size() const {
1306 return _internal_file_size();
1307 }
clear_file()1308 inline void DebugUnwindFeature::clear_file() {
1309 _impl_.file_.Clear();
1310 }
mutable_file(int index)1311 inline ::simpleperf::proto::DebugUnwindFeature_File* DebugUnwindFeature::mutable_file(int index) {
1312 // @@protoc_insertion_point(field_mutable:simpleperf.proto.DebugUnwindFeature.file)
1313 return _impl_.file_.Mutable(index);
1314 }
1315 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::simpleperf::proto::DebugUnwindFeature_File >*
mutable_file()1316 DebugUnwindFeature::mutable_file() {
1317 // @@protoc_insertion_point(field_mutable_list:simpleperf.proto.DebugUnwindFeature.file)
1318 return &_impl_.file_;
1319 }
_internal_file(int index)1320 inline const ::simpleperf::proto::DebugUnwindFeature_File& DebugUnwindFeature::_internal_file(int index) const {
1321 return _impl_.file_.Get(index);
1322 }
file(int index)1323 inline const ::simpleperf::proto::DebugUnwindFeature_File& DebugUnwindFeature::file(int index) const {
1324 // @@protoc_insertion_point(field_get:simpleperf.proto.DebugUnwindFeature.file)
1325 return _internal_file(index);
1326 }
_internal_add_file()1327 inline ::simpleperf::proto::DebugUnwindFeature_File* DebugUnwindFeature::_internal_add_file() {
1328 return _impl_.file_.Add();
1329 }
add_file()1330 inline ::simpleperf::proto::DebugUnwindFeature_File* DebugUnwindFeature::add_file() {
1331 ::simpleperf::proto::DebugUnwindFeature_File* _add = _internal_add_file();
1332 // @@protoc_insertion_point(field_add:simpleperf.proto.DebugUnwindFeature.file)
1333 return _add;
1334 }
1335 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::simpleperf::proto::DebugUnwindFeature_File >&
file()1336 DebugUnwindFeature::file() const {
1337 // @@protoc_insertion_point(field_list:simpleperf.proto.DebugUnwindFeature.file)
1338 return _impl_.file_;
1339 }
1340
1341 // -------------------------------------------------------------------
1342
1343 // FileFeature_Symbol
1344
1345 // uint64 vaddr = 1;
clear_vaddr()1346 inline void FileFeature_Symbol::clear_vaddr() {
1347 _impl_.vaddr_ = ::uint64_t{0u};
1348 }
_internal_vaddr()1349 inline ::uint64_t FileFeature_Symbol::_internal_vaddr() const {
1350 return _impl_.vaddr_;
1351 }
vaddr()1352 inline ::uint64_t FileFeature_Symbol::vaddr() const {
1353 // @@protoc_insertion_point(field_get:simpleperf.proto.FileFeature.Symbol.vaddr)
1354 return _internal_vaddr();
1355 }
_internal_set_vaddr(::uint64_t value)1356 inline void FileFeature_Symbol::_internal_set_vaddr(::uint64_t value) {
1357
1358 _impl_.vaddr_ = value;
1359 }
set_vaddr(::uint64_t value)1360 inline void FileFeature_Symbol::set_vaddr(::uint64_t value) {
1361 _internal_set_vaddr(value);
1362 // @@protoc_insertion_point(field_set:simpleperf.proto.FileFeature.Symbol.vaddr)
1363 }
1364
1365 // uint32 len = 2;
clear_len()1366 inline void FileFeature_Symbol::clear_len() {
1367 _impl_.len_ = 0u;
1368 }
_internal_len()1369 inline ::uint32_t FileFeature_Symbol::_internal_len() const {
1370 return _impl_.len_;
1371 }
len()1372 inline ::uint32_t FileFeature_Symbol::len() const {
1373 // @@protoc_insertion_point(field_get:simpleperf.proto.FileFeature.Symbol.len)
1374 return _internal_len();
1375 }
_internal_set_len(::uint32_t value)1376 inline void FileFeature_Symbol::_internal_set_len(::uint32_t value) {
1377
1378 _impl_.len_ = value;
1379 }
set_len(::uint32_t value)1380 inline void FileFeature_Symbol::set_len(::uint32_t value) {
1381 _internal_set_len(value);
1382 // @@protoc_insertion_point(field_set:simpleperf.proto.FileFeature.Symbol.len)
1383 }
1384
1385 // string name = 3;
clear_name()1386 inline void FileFeature_Symbol::clear_name() {
1387 _impl_.name_.ClearToEmpty();
1388 }
name()1389 inline const std::string& FileFeature_Symbol::name() const {
1390 // @@protoc_insertion_point(field_get:simpleperf.proto.FileFeature.Symbol.name)
1391 return _internal_name();
1392 }
1393 template <typename ArgT0, typename... ArgT>
1394 inline PROTOBUF_ALWAYS_INLINE
set_name(ArgT0 && arg0,ArgT...args)1395 void FileFeature_Symbol::set_name(ArgT0&& arg0, ArgT... args) {
1396
1397 _impl_.name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
1398 // @@protoc_insertion_point(field_set:simpleperf.proto.FileFeature.Symbol.name)
1399 }
mutable_name()1400 inline std::string* FileFeature_Symbol::mutable_name() {
1401 std::string* _s = _internal_mutable_name();
1402 // @@protoc_insertion_point(field_mutable:simpleperf.proto.FileFeature.Symbol.name)
1403 return _s;
1404 }
_internal_name()1405 inline const std::string& FileFeature_Symbol::_internal_name() const {
1406 return _impl_.name_.Get();
1407 }
_internal_set_name(const std::string & value)1408 inline void FileFeature_Symbol::_internal_set_name(const std::string& value) {
1409
1410 _impl_.name_.Set(value, GetArenaForAllocation());
1411 }
_internal_mutable_name()1412 inline std::string* FileFeature_Symbol::_internal_mutable_name() {
1413
1414 return _impl_.name_.Mutable(GetArenaForAllocation());
1415 }
release_name()1416 inline std::string* FileFeature_Symbol::release_name() {
1417 // @@protoc_insertion_point(field_release:simpleperf.proto.FileFeature.Symbol.name)
1418 return _impl_.name_.Release();
1419 }
set_allocated_name(std::string * name)1420 inline void FileFeature_Symbol::set_allocated_name(std::string* name) {
1421 _impl_.name_.SetAllocated(name, GetArenaForAllocation());
1422 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1423 if (_impl_.name_.IsDefault()) {
1424 _impl_.name_.Set("", GetArenaForAllocation());
1425 }
1426 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1427 // @@protoc_insertion_point(field_set_allocated:simpleperf.proto.FileFeature.Symbol.name)
1428 }
1429
1430 // -------------------------------------------------------------------
1431
1432 // FileFeature_DexFile
1433
1434 // repeated uint64 dex_file_offset = 1;
_internal_dex_file_offset_size()1435 inline int FileFeature_DexFile::_internal_dex_file_offset_size() const {
1436 return _impl_.dex_file_offset_.size();
1437 }
dex_file_offset_size()1438 inline int FileFeature_DexFile::dex_file_offset_size() const {
1439 return _internal_dex_file_offset_size();
1440 }
clear_dex_file_offset()1441 inline void FileFeature_DexFile::clear_dex_file_offset() {
1442 _impl_.dex_file_offset_.Clear();
1443 }
_internal_dex_file_offset(int index)1444 inline ::uint64_t FileFeature_DexFile::_internal_dex_file_offset(int index) const {
1445 return _impl_.dex_file_offset_.Get(index);
1446 }
dex_file_offset(int index)1447 inline ::uint64_t FileFeature_DexFile::dex_file_offset(int index) const {
1448 // @@protoc_insertion_point(field_get:simpleperf.proto.FileFeature.DexFile.dex_file_offset)
1449 return _internal_dex_file_offset(index);
1450 }
set_dex_file_offset(int index,::uint64_t value)1451 inline void FileFeature_DexFile::set_dex_file_offset(int index, ::uint64_t value) {
1452 _impl_.dex_file_offset_.Set(index, value);
1453 // @@protoc_insertion_point(field_set:simpleperf.proto.FileFeature.DexFile.dex_file_offset)
1454 }
_internal_add_dex_file_offset(::uint64_t value)1455 inline void FileFeature_DexFile::_internal_add_dex_file_offset(::uint64_t value) {
1456 _impl_.dex_file_offset_.Add(value);
1457 }
add_dex_file_offset(::uint64_t value)1458 inline void FileFeature_DexFile::add_dex_file_offset(::uint64_t value) {
1459 _internal_add_dex_file_offset(value);
1460 // @@protoc_insertion_point(field_add:simpleperf.proto.FileFeature.DexFile.dex_file_offset)
1461 }
1462 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::uint64_t >&
_internal_dex_file_offset()1463 FileFeature_DexFile::_internal_dex_file_offset() const {
1464 return _impl_.dex_file_offset_;
1465 }
1466 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::uint64_t >&
dex_file_offset()1467 FileFeature_DexFile::dex_file_offset() const {
1468 // @@protoc_insertion_point(field_list:simpleperf.proto.FileFeature.DexFile.dex_file_offset)
1469 return _internal_dex_file_offset();
1470 }
1471 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::uint64_t >*
_internal_mutable_dex_file_offset()1472 FileFeature_DexFile::_internal_mutable_dex_file_offset() {
1473 return &_impl_.dex_file_offset_;
1474 }
1475 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::uint64_t >*
mutable_dex_file_offset()1476 FileFeature_DexFile::mutable_dex_file_offset() {
1477 // @@protoc_insertion_point(field_mutable_list:simpleperf.proto.FileFeature.DexFile.dex_file_offset)
1478 return _internal_mutable_dex_file_offset();
1479 }
1480
1481 // -------------------------------------------------------------------
1482
1483 // FileFeature_ElfFile
1484
1485 // uint64 file_offset_of_min_vaddr = 1;
clear_file_offset_of_min_vaddr()1486 inline void FileFeature_ElfFile::clear_file_offset_of_min_vaddr() {
1487 _impl_.file_offset_of_min_vaddr_ = ::uint64_t{0u};
1488 }
_internal_file_offset_of_min_vaddr()1489 inline ::uint64_t FileFeature_ElfFile::_internal_file_offset_of_min_vaddr() const {
1490 return _impl_.file_offset_of_min_vaddr_;
1491 }
file_offset_of_min_vaddr()1492 inline ::uint64_t FileFeature_ElfFile::file_offset_of_min_vaddr() const {
1493 // @@protoc_insertion_point(field_get:simpleperf.proto.FileFeature.ElfFile.file_offset_of_min_vaddr)
1494 return _internal_file_offset_of_min_vaddr();
1495 }
_internal_set_file_offset_of_min_vaddr(::uint64_t value)1496 inline void FileFeature_ElfFile::_internal_set_file_offset_of_min_vaddr(::uint64_t value) {
1497
1498 _impl_.file_offset_of_min_vaddr_ = value;
1499 }
set_file_offset_of_min_vaddr(::uint64_t value)1500 inline void FileFeature_ElfFile::set_file_offset_of_min_vaddr(::uint64_t value) {
1501 _internal_set_file_offset_of_min_vaddr(value);
1502 // @@protoc_insertion_point(field_set:simpleperf.proto.FileFeature.ElfFile.file_offset_of_min_vaddr)
1503 }
1504
1505 // -------------------------------------------------------------------
1506
1507 // FileFeature_KernelModule
1508
1509 // uint64 memory_offset_of_min_vaddr = 1;
clear_memory_offset_of_min_vaddr()1510 inline void FileFeature_KernelModule::clear_memory_offset_of_min_vaddr() {
1511 _impl_.memory_offset_of_min_vaddr_ = ::uint64_t{0u};
1512 }
_internal_memory_offset_of_min_vaddr()1513 inline ::uint64_t FileFeature_KernelModule::_internal_memory_offset_of_min_vaddr() const {
1514 return _impl_.memory_offset_of_min_vaddr_;
1515 }
memory_offset_of_min_vaddr()1516 inline ::uint64_t FileFeature_KernelModule::memory_offset_of_min_vaddr() const {
1517 // @@protoc_insertion_point(field_get:simpleperf.proto.FileFeature.KernelModule.memory_offset_of_min_vaddr)
1518 return _internal_memory_offset_of_min_vaddr();
1519 }
_internal_set_memory_offset_of_min_vaddr(::uint64_t value)1520 inline void FileFeature_KernelModule::_internal_set_memory_offset_of_min_vaddr(::uint64_t value) {
1521
1522 _impl_.memory_offset_of_min_vaddr_ = value;
1523 }
set_memory_offset_of_min_vaddr(::uint64_t value)1524 inline void FileFeature_KernelModule::set_memory_offset_of_min_vaddr(::uint64_t value) {
1525 _internal_set_memory_offset_of_min_vaddr(value);
1526 // @@protoc_insertion_point(field_set:simpleperf.proto.FileFeature.KernelModule.memory_offset_of_min_vaddr)
1527 }
1528
1529 // -------------------------------------------------------------------
1530
1531 // FileFeature
1532
1533 // string path = 1;
clear_path()1534 inline void FileFeature::clear_path() {
1535 _impl_.path_.ClearToEmpty();
1536 }
path()1537 inline const std::string& FileFeature::path() const {
1538 // @@protoc_insertion_point(field_get:simpleperf.proto.FileFeature.path)
1539 return _internal_path();
1540 }
1541 template <typename ArgT0, typename... ArgT>
1542 inline PROTOBUF_ALWAYS_INLINE
set_path(ArgT0 && arg0,ArgT...args)1543 void FileFeature::set_path(ArgT0&& arg0, ArgT... args) {
1544
1545 _impl_.path_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
1546 // @@protoc_insertion_point(field_set:simpleperf.proto.FileFeature.path)
1547 }
mutable_path()1548 inline std::string* FileFeature::mutable_path() {
1549 std::string* _s = _internal_mutable_path();
1550 // @@protoc_insertion_point(field_mutable:simpleperf.proto.FileFeature.path)
1551 return _s;
1552 }
_internal_path()1553 inline const std::string& FileFeature::_internal_path() const {
1554 return _impl_.path_.Get();
1555 }
_internal_set_path(const std::string & value)1556 inline void FileFeature::_internal_set_path(const std::string& value) {
1557
1558 _impl_.path_.Set(value, GetArenaForAllocation());
1559 }
_internal_mutable_path()1560 inline std::string* FileFeature::_internal_mutable_path() {
1561
1562 return _impl_.path_.Mutable(GetArenaForAllocation());
1563 }
release_path()1564 inline std::string* FileFeature::release_path() {
1565 // @@protoc_insertion_point(field_release:simpleperf.proto.FileFeature.path)
1566 return _impl_.path_.Release();
1567 }
set_allocated_path(std::string * path)1568 inline void FileFeature::set_allocated_path(std::string* path) {
1569 _impl_.path_.SetAllocated(path, GetArenaForAllocation());
1570 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1571 if (_impl_.path_.IsDefault()) {
1572 _impl_.path_.Set("", GetArenaForAllocation());
1573 }
1574 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1575 // @@protoc_insertion_point(field_set_allocated:simpleperf.proto.FileFeature.path)
1576 }
1577
1578 // uint32 type = 2;
clear_type()1579 inline void FileFeature::clear_type() {
1580 _impl_.type_ = 0u;
1581 }
_internal_type()1582 inline ::uint32_t FileFeature::_internal_type() const {
1583 return _impl_.type_;
1584 }
type()1585 inline ::uint32_t FileFeature::type() const {
1586 // @@protoc_insertion_point(field_get:simpleperf.proto.FileFeature.type)
1587 return _internal_type();
1588 }
_internal_set_type(::uint32_t value)1589 inline void FileFeature::_internal_set_type(::uint32_t value) {
1590
1591 _impl_.type_ = value;
1592 }
set_type(::uint32_t value)1593 inline void FileFeature::set_type(::uint32_t value) {
1594 _internal_set_type(value);
1595 // @@protoc_insertion_point(field_set:simpleperf.proto.FileFeature.type)
1596 }
1597
1598 // uint64 min_vaddr = 3;
clear_min_vaddr()1599 inline void FileFeature::clear_min_vaddr() {
1600 _impl_.min_vaddr_ = ::uint64_t{0u};
1601 }
_internal_min_vaddr()1602 inline ::uint64_t FileFeature::_internal_min_vaddr() const {
1603 return _impl_.min_vaddr_;
1604 }
min_vaddr()1605 inline ::uint64_t FileFeature::min_vaddr() const {
1606 // @@protoc_insertion_point(field_get:simpleperf.proto.FileFeature.min_vaddr)
1607 return _internal_min_vaddr();
1608 }
_internal_set_min_vaddr(::uint64_t value)1609 inline void FileFeature::_internal_set_min_vaddr(::uint64_t value) {
1610
1611 _impl_.min_vaddr_ = value;
1612 }
set_min_vaddr(::uint64_t value)1613 inline void FileFeature::set_min_vaddr(::uint64_t value) {
1614 _internal_set_min_vaddr(value);
1615 // @@protoc_insertion_point(field_set:simpleperf.proto.FileFeature.min_vaddr)
1616 }
1617
1618 // repeated .simpleperf.proto.FileFeature.Symbol symbol = 4;
_internal_symbol_size()1619 inline int FileFeature::_internal_symbol_size() const {
1620 return _impl_.symbol_.size();
1621 }
symbol_size()1622 inline int FileFeature::symbol_size() const {
1623 return _internal_symbol_size();
1624 }
clear_symbol()1625 inline void FileFeature::clear_symbol() {
1626 _impl_.symbol_.Clear();
1627 }
mutable_symbol(int index)1628 inline ::simpleperf::proto::FileFeature_Symbol* FileFeature::mutable_symbol(int index) {
1629 // @@protoc_insertion_point(field_mutable:simpleperf.proto.FileFeature.symbol)
1630 return _impl_.symbol_.Mutable(index);
1631 }
1632 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::simpleperf::proto::FileFeature_Symbol >*
mutable_symbol()1633 FileFeature::mutable_symbol() {
1634 // @@protoc_insertion_point(field_mutable_list:simpleperf.proto.FileFeature.symbol)
1635 return &_impl_.symbol_;
1636 }
_internal_symbol(int index)1637 inline const ::simpleperf::proto::FileFeature_Symbol& FileFeature::_internal_symbol(int index) const {
1638 return _impl_.symbol_.Get(index);
1639 }
symbol(int index)1640 inline const ::simpleperf::proto::FileFeature_Symbol& FileFeature::symbol(int index) const {
1641 // @@protoc_insertion_point(field_get:simpleperf.proto.FileFeature.symbol)
1642 return _internal_symbol(index);
1643 }
_internal_add_symbol()1644 inline ::simpleperf::proto::FileFeature_Symbol* FileFeature::_internal_add_symbol() {
1645 return _impl_.symbol_.Add();
1646 }
add_symbol()1647 inline ::simpleperf::proto::FileFeature_Symbol* FileFeature::add_symbol() {
1648 ::simpleperf::proto::FileFeature_Symbol* _add = _internal_add_symbol();
1649 // @@protoc_insertion_point(field_add:simpleperf.proto.FileFeature.symbol)
1650 return _add;
1651 }
1652 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::simpleperf::proto::FileFeature_Symbol >&
symbol()1653 FileFeature::symbol() const {
1654 // @@protoc_insertion_point(field_list:simpleperf.proto.FileFeature.symbol)
1655 return _impl_.symbol_;
1656 }
1657
1658 // .simpleperf.proto.FileFeature.DexFile dex_file = 5;
_internal_has_dex_file()1659 inline bool FileFeature::_internal_has_dex_file() const {
1660 return type_specific_msg_case() == kDexFile;
1661 }
has_dex_file()1662 inline bool FileFeature::has_dex_file() const {
1663 return _internal_has_dex_file();
1664 }
set_has_dex_file()1665 inline void FileFeature::set_has_dex_file() {
1666 _impl_._oneof_case_[0] = kDexFile;
1667 }
clear_dex_file()1668 inline void FileFeature::clear_dex_file() {
1669 if (_internal_has_dex_file()) {
1670 if (GetArenaForAllocation() == nullptr) {
1671 delete _impl_.type_specific_msg_.dex_file_;
1672 }
1673 clear_has_type_specific_msg();
1674 }
1675 }
release_dex_file()1676 inline ::simpleperf::proto::FileFeature_DexFile* FileFeature::release_dex_file() {
1677 // @@protoc_insertion_point(field_release:simpleperf.proto.FileFeature.dex_file)
1678 if (_internal_has_dex_file()) {
1679 clear_has_type_specific_msg();
1680 ::simpleperf::proto::FileFeature_DexFile* temp = _impl_.type_specific_msg_.dex_file_;
1681 if (GetArenaForAllocation() != nullptr) {
1682 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1683 }
1684 _impl_.type_specific_msg_.dex_file_ = nullptr;
1685 return temp;
1686 } else {
1687 return nullptr;
1688 }
1689 }
_internal_dex_file()1690 inline const ::simpleperf::proto::FileFeature_DexFile& FileFeature::_internal_dex_file() const {
1691 return _internal_has_dex_file()
1692 ? *_impl_.type_specific_msg_.dex_file_
1693 : reinterpret_cast< ::simpleperf::proto::FileFeature_DexFile&>(::simpleperf::proto::_FileFeature_DexFile_default_instance_);
1694 }
dex_file()1695 inline const ::simpleperf::proto::FileFeature_DexFile& FileFeature::dex_file() const {
1696 // @@protoc_insertion_point(field_get:simpleperf.proto.FileFeature.dex_file)
1697 return _internal_dex_file();
1698 }
unsafe_arena_release_dex_file()1699 inline ::simpleperf::proto::FileFeature_DexFile* FileFeature::unsafe_arena_release_dex_file() {
1700 // @@protoc_insertion_point(field_unsafe_arena_release:simpleperf.proto.FileFeature.dex_file)
1701 if (_internal_has_dex_file()) {
1702 clear_has_type_specific_msg();
1703 ::simpleperf::proto::FileFeature_DexFile* temp = _impl_.type_specific_msg_.dex_file_;
1704 _impl_.type_specific_msg_.dex_file_ = nullptr;
1705 return temp;
1706 } else {
1707 return nullptr;
1708 }
1709 }
unsafe_arena_set_allocated_dex_file(::simpleperf::proto::FileFeature_DexFile * dex_file)1710 inline void FileFeature::unsafe_arena_set_allocated_dex_file(::simpleperf::proto::FileFeature_DexFile* dex_file) {
1711 clear_type_specific_msg();
1712 if (dex_file) {
1713 set_has_dex_file();
1714 _impl_.type_specific_msg_.dex_file_ = dex_file;
1715 }
1716 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:simpleperf.proto.FileFeature.dex_file)
1717 }
_internal_mutable_dex_file()1718 inline ::simpleperf::proto::FileFeature_DexFile* FileFeature::_internal_mutable_dex_file() {
1719 if (!_internal_has_dex_file()) {
1720 clear_type_specific_msg();
1721 set_has_dex_file();
1722 _impl_.type_specific_msg_.dex_file_ = CreateMaybeMessage< ::simpleperf::proto::FileFeature_DexFile >(GetArenaForAllocation());
1723 }
1724 return _impl_.type_specific_msg_.dex_file_;
1725 }
mutable_dex_file()1726 inline ::simpleperf::proto::FileFeature_DexFile* FileFeature::mutable_dex_file() {
1727 ::simpleperf::proto::FileFeature_DexFile* _msg = _internal_mutable_dex_file();
1728 // @@protoc_insertion_point(field_mutable:simpleperf.proto.FileFeature.dex_file)
1729 return _msg;
1730 }
1731
1732 // .simpleperf.proto.FileFeature.ElfFile elf_file = 6;
_internal_has_elf_file()1733 inline bool FileFeature::_internal_has_elf_file() const {
1734 return type_specific_msg_case() == kElfFile;
1735 }
has_elf_file()1736 inline bool FileFeature::has_elf_file() const {
1737 return _internal_has_elf_file();
1738 }
set_has_elf_file()1739 inline void FileFeature::set_has_elf_file() {
1740 _impl_._oneof_case_[0] = kElfFile;
1741 }
clear_elf_file()1742 inline void FileFeature::clear_elf_file() {
1743 if (_internal_has_elf_file()) {
1744 if (GetArenaForAllocation() == nullptr) {
1745 delete _impl_.type_specific_msg_.elf_file_;
1746 }
1747 clear_has_type_specific_msg();
1748 }
1749 }
release_elf_file()1750 inline ::simpleperf::proto::FileFeature_ElfFile* FileFeature::release_elf_file() {
1751 // @@protoc_insertion_point(field_release:simpleperf.proto.FileFeature.elf_file)
1752 if (_internal_has_elf_file()) {
1753 clear_has_type_specific_msg();
1754 ::simpleperf::proto::FileFeature_ElfFile* temp = _impl_.type_specific_msg_.elf_file_;
1755 if (GetArenaForAllocation() != nullptr) {
1756 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1757 }
1758 _impl_.type_specific_msg_.elf_file_ = nullptr;
1759 return temp;
1760 } else {
1761 return nullptr;
1762 }
1763 }
_internal_elf_file()1764 inline const ::simpleperf::proto::FileFeature_ElfFile& FileFeature::_internal_elf_file() const {
1765 return _internal_has_elf_file()
1766 ? *_impl_.type_specific_msg_.elf_file_
1767 : reinterpret_cast< ::simpleperf::proto::FileFeature_ElfFile&>(::simpleperf::proto::_FileFeature_ElfFile_default_instance_);
1768 }
elf_file()1769 inline const ::simpleperf::proto::FileFeature_ElfFile& FileFeature::elf_file() const {
1770 // @@protoc_insertion_point(field_get:simpleperf.proto.FileFeature.elf_file)
1771 return _internal_elf_file();
1772 }
unsafe_arena_release_elf_file()1773 inline ::simpleperf::proto::FileFeature_ElfFile* FileFeature::unsafe_arena_release_elf_file() {
1774 // @@protoc_insertion_point(field_unsafe_arena_release:simpleperf.proto.FileFeature.elf_file)
1775 if (_internal_has_elf_file()) {
1776 clear_has_type_specific_msg();
1777 ::simpleperf::proto::FileFeature_ElfFile* temp = _impl_.type_specific_msg_.elf_file_;
1778 _impl_.type_specific_msg_.elf_file_ = nullptr;
1779 return temp;
1780 } else {
1781 return nullptr;
1782 }
1783 }
unsafe_arena_set_allocated_elf_file(::simpleperf::proto::FileFeature_ElfFile * elf_file)1784 inline void FileFeature::unsafe_arena_set_allocated_elf_file(::simpleperf::proto::FileFeature_ElfFile* elf_file) {
1785 clear_type_specific_msg();
1786 if (elf_file) {
1787 set_has_elf_file();
1788 _impl_.type_specific_msg_.elf_file_ = elf_file;
1789 }
1790 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:simpleperf.proto.FileFeature.elf_file)
1791 }
_internal_mutable_elf_file()1792 inline ::simpleperf::proto::FileFeature_ElfFile* FileFeature::_internal_mutable_elf_file() {
1793 if (!_internal_has_elf_file()) {
1794 clear_type_specific_msg();
1795 set_has_elf_file();
1796 _impl_.type_specific_msg_.elf_file_ = CreateMaybeMessage< ::simpleperf::proto::FileFeature_ElfFile >(GetArenaForAllocation());
1797 }
1798 return _impl_.type_specific_msg_.elf_file_;
1799 }
mutable_elf_file()1800 inline ::simpleperf::proto::FileFeature_ElfFile* FileFeature::mutable_elf_file() {
1801 ::simpleperf::proto::FileFeature_ElfFile* _msg = _internal_mutable_elf_file();
1802 // @@protoc_insertion_point(field_mutable:simpleperf.proto.FileFeature.elf_file)
1803 return _msg;
1804 }
1805
1806 // .simpleperf.proto.FileFeature.KernelModule kernel_module = 7;
_internal_has_kernel_module()1807 inline bool FileFeature::_internal_has_kernel_module() const {
1808 return type_specific_msg_case() == kKernelModule;
1809 }
has_kernel_module()1810 inline bool FileFeature::has_kernel_module() const {
1811 return _internal_has_kernel_module();
1812 }
set_has_kernel_module()1813 inline void FileFeature::set_has_kernel_module() {
1814 _impl_._oneof_case_[0] = kKernelModule;
1815 }
clear_kernel_module()1816 inline void FileFeature::clear_kernel_module() {
1817 if (_internal_has_kernel_module()) {
1818 if (GetArenaForAllocation() == nullptr) {
1819 delete _impl_.type_specific_msg_.kernel_module_;
1820 }
1821 clear_has_type_specific_msg();
1822 }
1823 }
release_kernel_module()1824 inline ::simpleperf::proto::FileFeature_KernelModule* FileFeature::release_kernel_module() {
1825 // @@protoc_insertion_point(field_release:simpleperf.proto.FileFeature.kernel_module)
1826 if (_internal_has_kernel_module()) {
1827 clear_has_type_specific_msg();
1828 ::simpleperf::proto::FileFeature_KernelModule* temp = _impl_.type_specific_msg_.kernel_module_;
1829 if (GetArenaForAllocation() != nullptr) {
1830 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1831 }
1832 _impl_.type_specific_msg_.kernel_module_ = nullptr;
1833 return temp;
1834 } else {
1835 return nullptr;
1836 }
1837 }
_internal_kernel_module()1838 inline const ::simpleperf::proto::FileFeature_KernelModule& FileFeature::_internal_kernel_module() const {
1839 return _internal_has_kernel_module()
1840 ? *_impl_.type_specific_msg_.kernel_module_
1841 : reinterpret_cast< ::simpleperf::proto::FileFeature_KernelModule&>(::simpleperf::proto::_FileFeature_KernelModule_default_instance_);
1842 }
kernel_module()1843 inline const ::simpleperf::proto::FileFeature_KernelModule& FileFeature::kernel_module() const {
1844 // @@protoc_insertion_point(field_get:simpleperf.proto.FileFeature.kernel_module)
1845 return _internal_kernel_module();
1846 }
unsafe_arena_release_kernel_module()1847 inline ::simpleperf::proto::FileFeature_KernelModule* FileFeature::unsafe_arena_release_kernel_module() {
1848 // @@protoc_insertion_point(field_unsafe_arena_release:simpleperf.proto.FileFeature.kernel_module)
1849 if (_internal_has_kernel_module()) {
1850 clear_has_type_specific_msg();
1851 ::simpleperf::proto::FileFeature_KernelModule* temp = _impl_.type_specific_msg_.kernel_module_;
1852 _impl_.type_specific_msg_.kernel_module_ = nullptr;
1853 return temp;
1854 } else {
1855 return nullptr;
1856 }
1857 }
unsafe_arena_set_allocated_kernel_module(::simpleperf::proto::FileFeature_KernelModule * kernel_module)1858 inline void FileFeature::unsafe_arena_set_allocated_kernel_module(::simpleperf::proto::FileFeature_KernelModule* kernel_module) {
1859 clear_type_specific_msg();
1860 if (kernel_module) {
1861 set_has_kernel_module();
1862 _impl_.type_specific_msg_.kernel_module_ = kernel_module;
1863 }
1864 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:simpleperf.proto.FileFeature.kernel_module)
1865 }
_internal_mutable_kernel_module()1866 inline ::simpleperf::proto::FileFeature_KernelModule* FileFeature::_internal_mutable_kernel_module() {
1867 if (!_internal_has_kernel_module()) {
1868 clear_type_specific_msg();
1869 set_has_kernel_module();
1870 _impl_.type_specific_msg_.kernel_module_ = CreateMaybeMessage< ::simpleperf::proto::FileFeature_KernelModule >(GetArenaForAllocation());
1871 }
1872 return _impl_.type_specific_msg_.kernel_module_;
1873 }
mutable_kernel_module()1874 inline ::simpleperf::proto::FileFeature_KernelModule* FileFeature::mutable_kernel_module() {
1875 ::simpleperf::proto::FileFeature_KernelModule* _msg = _internal_mutable_kernel_module();
1876 // @@protoc_insertion_point(field_mutable:simpleperf.proto.FileFeature.kernel_module)
1877 return _msg;
1878 }
1879
has_type_specific_msg()1880 inline bool FileFeature::has_type_specific_msg() const {
1881 return type_specific_msg_case() != TYPE_SPECIFIC_MSG_NOT_SET;
1882 }
clear_has_type_specific_msg()1883 inline void FileFeature::clear_has_type_specific_msg() {
1884 _impl_._oneof_case_[0] = TYPE_SPECIFIC_MSG_NOT_SET;
1885 }
type_specific_msg_case()1886 inline FileFeature::TypeSpecificMsgCase FileFeature::type_specific_msg_case() const {
1887 return FileFeature::TypeSpecificMsgCase(_impl_._oneof_case_[0]);
1888 }
1889 #ifdef __GNUC__
1890 #pragma GCC diagnostic pop
1891 #endif // __GNUC__
1892 // -------------------------------------------------------------------
1893
1894 // -------------------------------------------------------------------
1895
1896 // -------------------------------------------------------------------
1897
1898 // -------------------------------------------------------------------
1899
1900 // -------------------------------------------------------------------
1901
1902 // -------------------------------------------------------------------
1903
1904
1905 // @@protoc_insertion_point(namespace_scope)
1906
1907 } // namespace proto
1908 } // namespace simpleperf
1909
1910 // @@protoc_insertion_point(global_scope)
1911
1912 #include <google/protobuf/port_undef.inc>
1913 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_system_2fextras_2fsimpleperf_2frecord_5ffile_2eproto
1914