1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: protos/perfetto/trace/translation/translation_table.proto
3
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_protos_2fperfetto_2ftrace_2ftranslation_2ftranslation_5ftable_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_protos_2fperfetto_2ftrace_2ftranslation_2ftranslation_5ftable_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 #include <google/protobuf/map.h> // IWYU pragma: export
33 #include <google/protobuf/map_entry_lite.h>
34 #include <google/protobuf/map_field_lite.h>
35 // @@protoc_insertion_point(includes)
36 #include <google/protobuf/port_def.inc>
37 #define PROTOBUF_INTERNAL_EXPORT_protos_2fperfetto_2ftrace_2ftranslation_2ftranslation_5ftable_2eproto
38 PROTOBUF_NAMESPACE_OPEN
39 namespace internal {
40 class AnyMetadata;
41 } // namespace internal
42 PROTOBUF_NAMESPACE_CLOSE
43
44 // Internal implementation detail -- do not use these members.
45 struct TableStruct_protos_2fperfetto_2ftrace_2ftranslation_2ftranslation_5ftable_2eproto {
46 static const ::uint32_t offsets[];
47 };
48 namespace perfetto {
49 namespace protos {
50 class ChromeHistorgramTranslationTable;
51 struct ChromeHistorgramTranslationTableDefaultTypeInternal;
52 extern ChromeHistorgramTranslationTableDefaultTypeInternal _ChromeHistorgramTranslationTable_default_instance_;
53 class ChromeHistorgramTranslationTable_HashToNameEntry_DoNotUse;
54 struct ChromeHistorgramTranslationTable_HashToNameEntry_DoNotUseDefaultTypeInternal;
55 extern ChromeHistorgramTranslationTable_HashToNameEntry_DoNotUseDefaultTypeInternal _ChromeHistorgramTranslationTable_HashToNameEntry_DoNotUse_default_instance_;
56 class ChromePerformanceMarkTranslationTable;
57 struct ChromePerformanceMarkTranslationTableDefaultTypeInternal;
58 extern ChromePerformanceMarkTranslationTableDefaultTypeInternal _ChromePerformanceMarkTranslationTable_default_instance_;
59 class ChromePerformanceMarkTranslationTable_MarkHashToNameEntry_DoNotUse;
60 struct ChromePerformanceMarkTranslationTable_MarkHashToNameEntry_DoNotUseDefaultTypeInternal;
61 extern ChromePerformanceMarkTranslationTable_MarkHashToNameEntry_DoNotUseDefaultTypeInternal _ChromePerformanceMarkTranslationTable_MarkHashToNameEntry_DoNotUse_default_instance_;
62 class ChromePerformanceMarkTranslationTable_SiteHashToNameEntry_DoNotUse;
63 struct ChromePerformanceMarkTranslationTable_SiteHashToNameEntry_DoNotUseDefaultTypeInternal;
64 extern ChromePerformanceMarkTranslationTable_SiteHashToNameEntry_DoNotUseDefaultTypeInternal _ChromePerformanceMarkTranslationTable_SiteHashToNameEntry_DoNotUse_default_instance_;
65 class ChromeStudyTranslationTable;
66 struct ChromeStudyTranslationTableDefaultTypeInternal;
67 extern ChromeStudyTranslationTableDefaultTypeInternal _ChromeStudyTranslationTable_default_instance_;
68 class ChromeStudyTranslationTable_HashToNameEntry_DoNotUse;
69 struct ChromeStudyTranslationTable_HashToNameEntry_DoNotUseDefaultTypeInternal;
70 extern ChromeStudyTranslationTable_HashToNameEntry_DoNotUseDefaultTypeInternal _ChromeStudyTranslationTable_HashToNameEntry_DoNotUse_default_instance_;
71 class ChromeUserEventTranslationTable;
72 struct ChromeUserEventTranslationTableDefaultTypeInternal;
73 extern ChromeUserEventTranslationTableDefaultTypeInternal _ChromeUserEventTranslationTable_default_instance_;
74 class ChromeUserEventTranslationTable_ActionHashToNameEntry_DoNotUse;
75 struct ChromeUserEventTranslationTable_ActionHashToNameEntry_DoNotUseDefaultTypeInternal;
76 extern ChromeUserEventTranslationTable_ActionHashToNameEntry_DoNotUseDefaultTypeInternal _ChromeUserEventTranslationTable_ActionHashToNameEntry_DoNotUse_default_instance_;
77 class ProcessTrackNameTranslationTable;
78 struct ProcessTrackNameTranslationTableDefaultTypeInternal;
79 extern ProcessTrackNameTranslationTableDefaultTypeInternal _ProcessTrackNameTranslationTable_default_instance_;
80 class ProcessTrackNameTranslationTable_RawToDeobfuscatedNameEntry_DoNotUse;
81 struct ProcessTrackNameTranslationTable_RawToDeobfuscatedNameEntry_DoNotUseDefaultTypeInternal;
82 extern ProcessTrackNameTranslationTable_RawToDeobfuscatedNameEntry_DoNotUseDefaultTypeInternal _ProcessTrackNameTranslationTable_RawToDeobfuscatedNameEntry_DoNotUse_default_instance_;
83 class SliceNameTranslationTable;
84 struct SliceNameTranslationTableDefaultTypeInternal;
85 extern SliceNameTranslationTableDefaultTypeInternal _SliceNameTranslationTable_default_instance_;
86 class SliceNameTranslationTable_RawToDeobfuscatedNameEntry_DoNotUse;
87 struct SliceNameTranslationTable_RawToDeobfuscatedNameEntry_DoNotUseDefaultTypeInternal;
88 extern SliceNameTranslationTable_RawToDeobfuscatedNameEntry_DoNotUseDefaultTypeInternal _SliceNameTranslationTable_RawToDeobfuscatedNameEntry_DoNotUse_default_instance_;
89 class TranslationTable;
90 struct TranslationTableDefaultTypeInternal;
91 extern TranslationTableDefaultTypeInternal _TranslationTable_default_instance_;
92 } // namespace protos
93 } // namespace perfetto
94 PROTOBUF_NAMESPACE_OPEN
95 template<> ::perfetto::protos::ChromeHistorgramTranslationTable* Arena::CreateMaybeMessage<::perfetto::protos::ChromeHistorgramTranslationTable>(Arena*);
96 template<> ::perfetto::protos::ChromeHistorgramTranslationTable_HashToNameEntry_DoNotUse* Arena::CreateMaybeMessage<::perfetto::protos::ChromeHistorgramTranslationTable_HashToNameEntry_DoNotUse>(Arena*);
97 template<> ::perfetto::protos::ChromePerformanceMarkTranslationTable* Arena::CreateMaybeMessage<::perfetto::protos::ChromePerformanceMarkTranslationTable>(Arena*);
98 template<> ::perfetto::protos::ChromePerformanceMarkTranslationTable_MarkHashToNameEntry_DoNotUse* Arena::CreateMaybeMessage<::perfetto::protos::ChromePerformanceMarkTranslationTable_MarkHashToNameEntry_DoNotUse>(Arena*);
99 template<> ::perfetto::protos::ChromePerformanceMarkTranslationTable_SiteHashToNameEntry_DoNotUse* Arena::CreateMaybeMessage<::perfetto::protos::ChromePerformanceMarkTranslationTable_SiteHashToNameEntry_DoNotUse>(Arena*);
100 template<> ::perfetto::protos::ChromeStudyTranslationTable* Arena::CreateMaybeMessage<::perfetto::protos::ChromeStudyTranslationTable>(Arena*);
101 template<> ::perfetto::protos::ChromeStudyTranslationTable_HashToNameEntry_DoNotUse* Arena::CreateMaybeMessage<::perfetto::protos::ChromeStudyTranslationTable_HashToNameEntry_DoNotUse>(Arena*);
102 template<> ::perfetto::protos::ChromeUserEventTranslationTable* Arena::CreateMaybeMessage<::perfetto::protos::ChromeUserEventTranslationTable>(Arena*);
103 template<> ::perfetto::protos::ChromeUserEventTranslationTable_ActionHashToNameEntry_DoNotUse* Arena::CreateMaybeMessage<::perfetto::protos::ChromeUserEventTranslationTable_ActionHashToNameEntry_DoNotUse>(Arena*);
104 template<> ::perfetto::protos::ProcessTrackNameTranslationTable* Arena::CreateMaybeMessage<::perfetto::protos::ProcessTrackNameTranslationTable>(Arena*);
105 template<> ::perfetto::protos::ProcessTrackNameTranslationTable_RawToDeobfuscatedNameEntry_DoNotUse* Arena::CreateMaybeMessage<::perfetto::protos::ProcessTrackNameTranslationTable_RawToDeobfuscatedNameEntry_DoNotUse>(Arena*);
106 template<> ::perfetto::protos::SliceNameTranslationTable* Arena::CreateMaybeMessage<::perfetto::protos::SliceNameTranslationTable>(Arena*);
107 template<> ::perfetto::protos::SliceNameTranslationTable_RawToDeobfuscatedNameEntry_DoNotUse* Arena::CreateMaybeMessage<::perfetto::protos::SliceNameTranslationTable_RawToDeobfuscatedNameEntry_DoNotUse>(Arena*);
108 template<> ::perfetto::protos::TranslationTable* Arena::CreateMaybeMessage<::perfetto::protos::TranslationTable>(Arena*);
109 PROTOBUF_NAMESPACE_CLOSE
110 namespace perfetto {
111 namespace protos {
112
113 // ===================================================================
114
115 class TranslationTable final :
116 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:perfetto.protos.TranslationTable) */ {
117 public:
TranslationTable()118 inline TranslationTable() : TranslationTable(nullptr) {}
119 ~TranslationTable() override;
120 explicit PROTOBUF_CONSTEXPR TranslationTable(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
121
122 TranslationTable(const TranslationTable& from);
TranslationTable(TranslationTable && from)123 TranslationTable(TranslationTable&& from) noexcept
124 : TranslationTable() {
125 *this = ::std::move(from);
126 }
127
128 inline TranslationTable& operator=(const TranslationTable& from) {
129 if (this == &from) return *this;
130 CopyFrom(from);
131 return *this;
132 }
133 inline TranslationTable& operator=(TranslationTable&& from) noexcept {
134 if (this == &from) return *this;
135 if (GetOwningArena() == from.GetOwningArena()
136 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
137 && GetOwningArena() != nullptr
138 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
139 ) {
140 InternalSwap(&from);
141 } else {
142 CopyFrom(from);
143 }
144 return *this;
145 }
146
unknown_fields()147 inline const std::string& unknown_fields() const {
148 return _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString);
149 }
mutable_unknown_fields()150 inline std::string* mutable_unknown_fields() {
151 return _internal_metadata_.mutable_unknown_fields<std::string>();
152 }
153
default_instance()154 static const TranslationTable& default_instance() {
155 return *internal_default_instance();
156 }
157 enum TableCase {
158 kChromeHistogram = 1,
159 kChromeUserEvent = 2,
160 kChromePerformanceMark = 3,
161 kSliceName = 4,
162 kProcessTrackName = 5,
163 kChromeStudy = 6,
164 TABLE_NOT_SET = 0,
165 };
166
internal_default_instance()167 static inline const TranslationTable* internal_default_instance() {
168 return reinterpret_cast<const TranslationTable*>(
169 &_TranslationTable_default_instance_);
170 }
171 static constexpr int kIndexInFileMessages =
172 0;
173
swap(TranslationTable & a,TranslationTable & b)174 friend void swap(TranslationTable& a, TranslationTable& b) {
175 a.Swap(&b);
176 }
Swap(TranslationTable * other)177 inline void Swap(TranslationTable* other) {
178 if (other == this) return;
179 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
180 if (GetOwningArena() != nullptr &&
181 GetOwningArena() == other->GetOwningArena()) {
182 #else // PROTOBUF_FORCE_COPY_IN_SWAP
183 if (GetOwningArena() == other->GetOwningArena()) {
184 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
185 InternalSwap(other);
186 } else {
187 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
188 }
189 }
190 void UnsafeArenaSwap(TranslationTable* other) {
191 if (other == this) return;
192 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
193 InternalSwap(other);
194 }
195
196 // implements Message ----------------------------------------------
197
198 TranslationTable* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
199 return CreateMaybeMessage<TranslationTable>(arena);
200 }
201 TranslationTable* New() const {
202 return New(nullptr);
203 }
204 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
205 void CopyFrom(const TranslationTable& from);
206 void MergeFrom(const TranslationTable& from);
207 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
208 bool IsInitialized() const final;
209
210 size_t ByteSizeLong() const final;
211 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
212 ::uint8_t* _InternalSerialize(
213 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
214 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
215
216 private:
217 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
218 void SharedDtor();
219 void SetCachedSize(int size) const;
220 void InternalSwap(TranslationTable* other);
221
222 private:
223 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
224 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
225 return "perfetto.protos.TranslationTable";
226 }
227 protected:
228 explicit TranslationTable(::PROTOBUF_NAMESPACE_ID::Arena* arena,
229 bool is_message_owned = false);
230 public:
231
232 std::string GetTypeName() const final;
233
234 // nested types ----------------------------------------------------
235
236 // accessors -------------------------------------------------------
237
238 enum : int {
239 kChromeHistogramFieldNumber = 1,
240 kChromeUserEventFieldNumber = 2,
241 kChromePerformanceMarkFieldNumber = 3,
242 kSliceNameFieldNumber = 4,
243 kProcessTrackNameFieldNumber = 5,
244 kChromeStudyFieldNumber = 6,
245 };
246 // .perfetto.protos.ChromeHistorgramTranslationTable chrome_histogram = 1;
247 bool has_chrome_histogram() const;
248 private:
249 bool _internal_has_chrome_histogram() const;
250 public:
251 void clear_chrome_histogram();
252 const ::perfetto::protos::ChromeHistorgramTranslationTable& chrome_histogram() const;
253 PROTOBUF_NODISCARD ::perfetto::protos::ChromeHistorgramTranslationTable* release_chrome_histogram();
254 ::perfetto::protos::ChromeHistorgramTranslationTable* mutable_chrome_histogram();
255 void set_allocated_chrome_histogram(::perfetto::protos::ChromeHistorgramTranslationTable* chrome_histogram);
256 private:
257 const ::perfetto::protos::ChromeHistorgramTranslationTable& _internal_chrome_histogram() const;
258 ::perfetto::protos::ChromeHistorgramTranslationTable* _internal_mutable_chrome_histogram();
259 public:
260 void unsafe_arena_set_allocated_chrome_histogram(
261 ::perfetto::protos::ChromeHistorgramTranslationTable* chrome_histogram);
262 ::perfetto::protos::ChromeHistorgramTranslationTable* unsafe_arena_release_chrome_histogram();
263
264 // .perfetto.protos.ChromeUserEventTranslationTable chrome_user_event = 2;
265 bool has_chrome_user_event() const;
266 private:
267 bool _internal_has_chrome_user_event() const;
268 public:
269 void clear_chrome_user_event();
270 const ::perfetto::protos::ChromeUserEventTranslationTable& chrome_user_event() const;
271 PROTOBUF_NODISCARD ::perfetto::protos::ChromeUserEventTranslationTable* release_chrome_user_event();
272 ::perfetto::protos::ChromeUserEventTranslationTable* mutable_chrome_user_event();
273 void set_allocated_chrome_user_event(::perfetto::protos::ChromeUserEventTranslationTable* chrome_user_event);
274 private:
275 const ::perfetto::protos::ChromeUserEventTranslationTable& _internal_chrome_user_event() const;
276 ::perfetto::protos::ChromeUserEventTranslationTable* _internal_mutable_chrome_user_event();
277 public:
278 void unsafe_arena_set_allocated_chrome_user_event(
279 ::perfetto::protos::ChromeUserEventTranslationTable* chrome_user_event);
280 ::perfetto::protos::ChromeUserEventTranslationTable* unsafe_arena_release_chrome_user_event();
281
282 // .perfetto.protos.ChromePerformanceMarkTranslationTable chrome_performance_mark = 3;
283 bool has_chrome_performance_mark() const;
284 private:
285 bool _internal_has_chrome_performance_mark() const;
286 public:
287 void clear_chrome_performance_mark();
288 const ::perfetto::protos::ChromePerformanceMarkTranslationTable& chrome_performance_mark() const;
289 PROTOBUF_NODISCARD ::perfetto::protos::ChromePerformanceMarkTranslationTable* release_chrome_performance_mark();
290 ::perfetto::protos::ChromePerformanceMarkTranslationTable* mutable_chrome_performance_mark();
291 void set_allocated_chrome_performance_mark(::perfetto::protos::ChromePerformanceMarkTranslationTable* chrome_performance_mark);
292 private:
293 const ::perfetto::protos::ChromePerformanceMarkTranslationTable& _internal_chrome_performance_mark() const;
294 ::perfetto::protos::ChromePerformanceMarkTranslationTable* _internal_mutable_chrome_performance_mark();
295 public:
296 void unsafe_arena_set_allocated_chrome_performance_mark(
297 ::perfetto::protos::ChromePerformanceMarkTranslationTable* chrome_performance_mark);
298 ::perfetto::protos::ChromePerformanceMarkTranslationTable* unsafe_arena_release_chrome_performance_mark();
299
300 // .perfetto.protos.SliceNameTranslationTable slice_name = 4;
301 bool has_slice_name() const;
302 private:
303 bool _internal_has_slice_name() const;
304 public:
305 void clear_slice_name();
306 const ::perfetto::protos::SliceNameTranslationTable& slice_name() const;
307 PROTOBUF_NODISCARD ::perfetto::protos::SliceNameTranslationTable* release_slice_name();
308 ::perfetto::protos::SliceNameTranslationTable* mutable_slice_name();
309 void set_allocated_slice_name(::perfetto::protos::SliceNameTranslationTable* slice_name);
310 private:
311 const ::perfetto::protos::SliceNameTranslationTable& _internal_slice_name() const;
312 ::perfetto::protos::SliceNameTranslationTable* _internal_mutable_slice_name();
313 public:
314 void unsafe_arena_set_allocated_slice_name(
315 ::perfetto::protos::SliceNameTranslationTable* slice_name);
316 ::perfetto::protos::SliceNameTranslationTable* unsafe_arena_release_slice_name();
317
318 // .perfetto.protos.ProcessTrackNameTranslationTable process_track_name = 5;
319 bool has_process_track_name() const;
320 private:
321 bool _internal_has_process_track_name() const;
322 public:
323 void clear_process_track_name();
324 const ::perfetto::protos::ProcessTrackNameTranslationTable& process_track_name() const;
325 PROTOBUF_NODISCARD ::perfetto::protos::ProcessTrackNameTranslationTable* release_process_track_name();
326 ::perfetto::protos::ProcessTrackNameTranslationTable* mutable_process_track_name();
327 void set_allocated_process_track_name(::perfetto::protos::ProcessTrackNameTranslationTable* process_track_name);
328 private:
329 const ::perfetto::protos::ProcessTrackNameTranslationTable& _internal_process_track_name() const;
330 ::perfetto::protos::ProcessTrackNameTranslationTable* _internal_mutable_process_track_name();
331 public:
332 void unsafe_arena_set_allocated_process_track_name(
333 ::perfetto::protos::ProcessTrackNameTranslationTable* process_track_name);
334 ::perfetto::protos::ProcessTrackNameTranslationTable* unsafe_arena_release_process_track_name();
335
336 // .perfetto.protos.ChromeStudyTranslationTable chrome_study = 6;
337 bool has_chrome_study() const;
338 private:
339 bool _internal_has_chrome_study() const;
340 public:
341 void clear_chrome_study();
342 const ::perfetto::protos::ChromeStudyTranslationTable& chrome_study() const;
343 PROTOBUF_NODISCARD ::perfetto::protos::ChromeStudyTranslationTable* release_chrome_study();
344 ::perfetto::protos::ChromeStudyTranslationTable* mutable_chrome_study();
345 void set_allocated_chrome_study(::perfetto::protos::ChromeStudyTranslationTable* chrome_study);
346 private:
347 const ::perfetto::protos::ChromeStudyTranslationTable& _internal_chrome_study() const;
348 ::perfetto::protos::ChromeStudyTranslationTable* _internal_mutable_chrome_study();
349 public:
350 void unsafe_arena_set_allocated_chrome_study(
351 ::perfetto::protos::ChromeStudyTranslationTable* chrome_study);
352 ::perfetto::protos::ChromeStudyTranslationTable* unsafe_arena_release_chrome_study();
353
354 void clear_table();
355 TableCase table_case() const;
356 // @@protoc_insertion_point(class_scope:perfetto.protos.TranslationTable)
357 private:
358 class _Internal;
359 void set_has_chrome_histogram();
360 void set_has_chrome_user_event();
361 void set_has_chrome_performance_mark();
362 void set_has_slice_name();
363 void set_has_process_track_name();
364 void set_has_chrome_study();
365
366 inline bool has_table() const;
367 inline void clear_has_table();
368
369 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
370 typedef void InternalArenaConstructable_;
371 typedef void DestructorSkippable_;
372 struct Impl_ {
373 union TableUnion {
374 constexpr TableUnion() : _constinit_{} {}
375 ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_;
376 ::perfetto::protos::ChromeHistorgramTranslationTable* chrome_histogram_;
377 ::perfetto::protos::ChromeUserEventTranslationTable* chrome_user_event_;
378 ::perfetto::protos::ChromePerformanceMarkTranslationTable* chrome_performance_mark_;
379 ::perfetto::protos::SliceNameTranslationTable* slice_name_;
380 ::perfetto::protos::ProcessTrackNameTranslationTable* process_track_name_;
381 ::perfetto::protos::ChromeStudyTranslationTable* chrome_study_;
382 } table_;
383 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
384 ::uint32_t _oneof_case_[1];
385
386 };
387 union { Impl_ _impl_; };
388 friend struct ::TableStruct_protos_2fperfetto_2ftrace_2ftranslation_2ftranslation_5ftable_2eproto;
389 };
390 // -------------------------------------------------------------------
391
392 class ChromeHistorgramTranslationTable_HashToNameEntry_DoNotUse : public ::PROTOBUF_NAMESPACE_ID::internal::MapEntryLite<ChromeHistorgramTranslationTable_HashToNameEntry_DoNotUse,
393 ::uint64_t, std::string,
394 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_UINT64,
395 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING> {
396 public:
397 typedef ::PROTOBUF_NAMESPACE_ID::internal::MapEntryLite<ChromeHistorgramTranslationTable_HashToNameEntry_DoNotUse,
398 ::uint64_t, std::string,
399 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_UINT64,
400 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING> SuperType;
401 ChromeHistorgramTranslationTable_HashToNameEntry_DoNotUse();
402 explicit PROTOBUF_CONSTEXPR ChromeHistorgramTranslationTable_HashToNameEntry_DoNotUse(
403 ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
404 explicit ChromeHistorgramTranslationTable_HashToNameEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena);
405 void MergeFrom(const ChromeHistorgramTranslationTable_HashToNameEntry_DoNotUse& other);
internal_default_instance()406 static const ChromeHistorgramTranslationTable_HashToNameEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const ChromeHistorgramTranslationTable_HashToNameEntry_DoNotUse*>(&_ChromeHistorgramTranslationTable_HashToNameEntry_DoNotUse_default_instance_); }
ValidateKey(void *)407 static bool ValidateKey(void*) { return true; }
ValidateValue(void *)408 static bool ValidateValue(void*) { return true; }
409 friend struct ::TableStruct_protos_2fperfetto_2ftrace_2ftranslation_2ftranslation_5ftable_2eproto;
410 };
411
412 // -------------------------------------------------------------------
413
414 class ChromeHistorgramTranslationTable final :
415 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:perfetto.protos.ChromeHistorgramTranslationTable) */ {
416 public:
ChromeHistorgramTranslationTable()417 inline ChromeHistorgramTranslationTable() : ChromeHistorgramTranslationTable(nullptr) {}
418 ~ChromeHistorgramTranslationTable() override;
419 explicit PROTOBUF_CONSTEXPR ChromeHistorgramTranslationTable(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
420
421 ChromeHistorgramTranslationTable(const ChromeHistorgramTranslationTable& from);
ChromeHistorgramTranslationTable(ChromeHistorgramTranslationTable && from)422 ChromeHistorgramTranslationTable(ChromeHistorgramTranslationTable&& from) noexcept
423 : ChromeHistorgramTranslationTable() {
424 *this = ::std::move(from);
425 }
426
427 inline ChromeHistorgramTranslationTable& operator=(const ChromeHistorgramTranslationTable& from) {
428 if (this == &from) return *this;
429 CopyFrom(from);
430 return *this;
431 }
432 inline ChromeHistorgramTranslationTable& operator=(ChromeHistorgramTranslationTable&& from) noexcept {
433 if (this == &from) return *this;
434 if (GetOwningArena() == from.GetOwningArena()
435 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
436 && GetOwningArena() != nullptr
437 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
438 ) {
439 InternalSwap(&from);
440 } else {
441 CopyFrom(from);
442 }
443 return *this;
444 }
445
unknown_fields()446 inline const std::string& unknown_fields() const {
447 return _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString);
448 }
mutable_unknown_fields()449 inline std::string* mutable_unknown_fields() {
450 return _internal_metadata_.mutable_unknown_fields<std::string>();
451 }
452
default_instance()453 static const ChromeHistorgramTranslationTable& default_instance() {
454 return *internal_default_instance();
455 }
internal_default_instance()456 static inline const ChromeHistorgramTranslationTable* internal_default_instance() {
457 return reinterpret_cast<const ChromeHistorgramTranslationTable*>(
458 &_ChromeHistorgramTranslationTable_default_instance_);
459 }
460 static constexpr int kIndexInFileMessages =
461 2;
462
swap(ChromeHistorgramTranslationTable & a,ChromeHistorgramTranslationTable & b)463 friend void swap(ChromeHistorgramTranslationTable& a, ChromeHistorgramTranslationTable& b) {
464 a.Swap(&b);
465 }
Swap(ChromeHistorgramTranslationTable * other)466 inline void Swap(ChromeHistorgramTranslationTable* other) {
467 if (other == this) return;
468 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
469 if (GetOwningArena() != nullptr &&
470 GetOwningArena() == other->GetOwningArena()) {
471 #else // PROTOBUF_FORCE_COPY_IN_SWAP
472 if (GetOwningArena() == other->GetOwningArena()) {
473 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
474 InternalSwap(other);
475 } else {
476 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
477 }
478 }
479 void UnsafeArenaSwap(ChromeHistorgramTranslationTable* other) {
480 if (other == this) return;
481 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
482 InternalSwap(other);
483 }
484
485 // implements Message ----------------------------------------------
486
487 ChromeHistorgramTranslationTable* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
488 return CreateMaybeMessage<ChromeHistorgramTranslationTable>(arena);
489 }
490 ChromeHistorgramTranslationTable* New() const {
491 return New(nullptr);
492 }
493 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
494 void CopyFrom(const ChromeHistorgramTranslationTable& from);
495 void MergeFrom(const ChromeHistorgramTranslationTable& from);
496 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
497 bool IsInitialized() const final;
498
499 size_t ByteSizeLong() const final;
500 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
501 ::uint8_t* _InternalSerialize(
502 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
503 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
504
505 private:
506 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
507 void SharedDtor();
508 void SetCachedSize(int size) const;
509 void InternalSwap(ChromeHistorgramTranslationTable* other);
510
511 private:
512 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
513 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
514 return "perfetto.protos.ChromeHistorgramTranslationTable";
515 }
516 protected:
517 explicit ChromeHistorgramTranslationTable(::PROTOBUF_NAMESPACE_ID::Arena* arena,
518 bool is_message_owned = false);
519 public:
520
521 std::string GetTypeName() const final;
522
523 // nested types ----------------------------------------------------
524
525
526 // accessors -------------------------------------------------------
527
528 enum : int {
529 kHashToNameFieldNumber = 1,
530 };
531 // map<uint64, string> hash_to_name = 1;
532 int hash_to_name_size() const;
533 private:
534 int _internal_hash_to_name_size() const;
535 public:
536 void clear_hash_to_name();
537 private:
538 const ::PROTOBUF_NAMESPACE_ID::Map< ::uint64_t, std::string >&
539 _internal_hash_to_name() const;
540 ::PROTOBUF_NAMESPACE_ID::Map< ::uint64_t, std::string >*
541 _internal_mutable_hash_to_name();
542 public:
543 const ::PROTOBUF_NAMESPACE_ID::Map< ::uint64_t, std::string >&
544 hash_to_name() const;
545 ::PROTOBUF_NAMESPACE_ID::Map< ::uint64_t, std::string >*
546 mutable_hash_to_name();
547
548 // @@protoc_insertion_point(class_scope:perfetto.protos.ChromeHistorgramTranslationTable)
549 private:
550 class _Internal;
551
552 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
553 typedef void InternalArenaConstructable_;
554 typedef void DestructorSkippable_;
555 struct Impl_ {
556 ::PROTOBUF_NAMESPACE_ID::internal::MapFieldLite<
557 ChromeHistorgramTranslationTable_HashToNameEntry_DoNotUse,
558 ::uint64_t, std::string,
559 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_UINT64,
560 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING> hash_to_name_;
561 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
562 };
563 union { Impl_ _impl_; };
564 friend struct ::TableStruct_protos_2fperfetto_2ftrace_2ftranslation_2ftranslation_5ftable_2eproto;
565 };
566 // -------------------------------------------------------------------
567
568 class ChromeUserEventTranslationTable_ActionHashToNameEntry_DoNotUse : public ::PROTOBUF_NAMESPACE_ID::internal::MapEntryLite<ChromeUserEventTranslationTable_ActionHashToNameEntry_DoNotUse,
569 ::uint64_t, std::string,
570 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_UINT64,
571 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING> {
572 public:
573 typedef ::PROTOBUF_NAMESPACE_ID::internal::MapEntryLite<ChromeUserEventTranslationTable_ActionHashToNameEntry_DoNotUse,
574 ::uint64_t, std::string,
575 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_UINT64,
576 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING> SuperType;
577 ChromeUserEventTranslationTable_ActionHashToNameEntry_DoNotUse();
578 explicit PROTOBUF_CONSTEXPR ChromeUserEventTranslationTable_ActionHashToNameEntry_DoNotUse(
579 ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
580 explicit ChromeUserEventTranslationTable_ActionHashToNameEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena);
581 void MergeFrom(const ChromeUserEventTranslationTable_ActionHashToNameEntry_DoNotUse& other);
internal_default_instance()582 static const ChromeUserEventTranslationTable_ActionHashToNameEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const ChromeUserEventTranslationTable_ActionHashToNameEntry_DoNotUse*>(&_ChromeUserEventTranslationTable_ActionHashToNameEntry_DoNotUse_default_instance_); }
ValidateKey(void *)583 static bool ValidateKey(void*) { return true; }
ValidateValue(void *)584 static bool ValidateValue(void*) { return true; }
585 friend struct ::TableStruct_protos_2fperfetto_2ftrace_2ftranslation_2ftranslation_5ftable_2eproto;
586 };
587
588 // -------------------------------------------------------------------
589
590 class ChromeUserEventTranslationTable final :
591 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:perfetto.protos.ChromeUserEventTranslationTable) */ {
592 public:
ChromeUserEventTranslationTable()593 inline ChromeUserEventTranslationTable() : ChromeUserEventTranslationTable(nullptr) {}
594 ~ChromeUserEventTranslationTable() override;
595 explicit PROTOBUF_CONSTEXPR ChromeUserEventTranslationTable(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
596
597 ChromeUserEventTranslationTable(const ChromeUserEventTranslationTable& from);
ChromeUserEventTranslationTable(ChromeUserEventTranslationTable && from)598 ChromeUserEventTranslationTable(ChromeUserEventTranslationTable&& from) noexcept
599 : ChromeUserEventTranslationTable() {
600 *this = ::std::move(from);
601 }
602
603 inline ChromeUserEventTranslationTable& operator=(const ChromeUserEventTranslationTable& from) {
604 if (this == &from) return *this;
605 CopyFrom(from);
606 return *this;
607 }
608 inline ChromeUserEventTranslationTable& operator=(ChromeUserEventTranslationTable&& from) noexcept {
609 if (this == &from) return *this;
610 if (GetOwningArena() == from.GetOwningArena()
611 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
612 && GetOwningArena() != nullptr
613 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
614 ) {
615 InternalSwap(&from);
616 } else {
617 CopyFrom(from);
618 }
619 return *this;
620 }
621
unknown_fields()622 inline const std::string& unknown_fields() const {
623 return _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString);
624 }
mutable_unknown_fields()625 inline std::string* mutable_unknown_fields() {
626 return _internal_metadata_.mutable_unknown_fields<std::string>();
627 }
628
default_instance()629 static const ChromeUserEventTranslationTable& default_instance() {
630 return *internal_default_instance();
631 }
internal_default_instance()632 static inline const ChromeUserEventTranslationTable* internal_default_instance() {
633 return reinterpret_cast<const ChromeUserEventTranslationTable*>(
634 &_ChromeUserEventTranslationTable_default_instance_);
635 }
636 static constexpr int kIndexInFileMessages =
637 4;
638
swap(ChromeUserEventTranslationTable & a,ChromeUserEventTranslationTable & b)639 friend void swap(ChromeUserEventTranslationTable& a, ChromeUserEventTranslationTable& b) {
640 a.Swap(&b);
641 }
Swap(ChromeUserEventTranslationTable * other)642 inline void Swap(ChromeUserEventTranslationTable* other) {
643 if (other == this) return;
644 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
645 if (GetOwningArena() != nullptr &&
646 GetOwningArena() == other->GetOwningArena()) {
647 #else // PROTOBUF_FORCE_COPY_IN_SWAP
648 if (GetOwningArena() == other->GetOwningArena()) {
649 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
650 InternalSwap(other);
651 } else {
652 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
653 }
654 }
655 void UnsafeArenaSwap(ChromeUserEventTranslationTable* other) {
656 if (other == this) return;
657 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
658 InternalSwap(other);
659 }
660
661 // implements Message ----------------------------------------------
662
663 ChromeUserEventTranslationTable* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
664 return CreateMaybeMessage<ChromeUserEventTranslationTable>(arena);
665 }
666 ChromeUserEventTranslationTable* New() const {
667 return New(nullptr);
668 }
669 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
670 void CopyFrom(const ChromeUserEventTranslationTable& from);
671 void MergeFrom(const ChromeUserEventTranslationTable& from);
672 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
673 bool IsInitialized() const final;
674
675 size_t ByteSizeLong() const final;
676 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
677 ::uint8_t* _InternalSerialize(
678 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
679 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
680
681 private:
682 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
683 void SharedDtor();
684 void SetCachedSize(int size) const;
685 void InternalSwap(ChromeUserEventTranslationTable* other);
686
687 private:
688 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
689 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
690 return "perfetto.protos.ChromeUserEventTranslationTable";
691 }
692 protected:
693 explicit ChromeUserEventTranslationTable(::PROTOBUF_NAMESPACE_ID::Arena* arena,
694 bool is_message_owned = false);
695 public:
696
697 std::string GetTypeName() const final;
698
699 // nested types ----------------------------------------------------
700
701
702 // accessors -------------------------------------------------------
703
704 enum : int {
705 kActionHashToNameFieldNumber = 1,
706 };
707 // map<uint64, string> action_hash_to_name = 1;
708 int action_hash_to_name_size() const;
709 private:
710 int _internal_action_hash_to_name_size() const;
711 public:
712 void clear_action_hash_to_name();
713 private:
714 const ::PROTOBUF_NAMESPACE_ID::Map< ::uint64_t, std::string >&
715 _internal_action_hash_to_name() const;
716 ::PROTOBUF_NAMESPACE_ID::Map< ::uint64_t, std::string >*
717 _internal_mutable_action_hash_to_name();
718 public:
719 const ::PROTOBUF_NAMESPACE_ID::Map< ::uint64_t, std::string >&
720 action_hash_to_name() const;
721 ::PROTOBUF_NAMESPACE_ID::Map< ::uint64_t, std::string >*
722 mutable_action_hash_to_name();
723
724 // @@protoc_insertion_point(class_scope:perfetto.protos.ChromeUserEventTranslationTable)
725 private:
726 class _Internal;
727
728 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
729 typedef void InternalArenaConstructable_;
730 typedef void DestructorSkippable_;
731 struct Impl_ {
732 ::PROTOBUF_NAMESPACE_ID::internal::MapFieldLite<
733 ChromeUserEventTranslationTable_ActionHashToNameEntry_DoNotUse,
734 ::uint64_t, std::string,
735 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_UINT64,
736 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING> action_hash_to_name_;
737 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
738 };
739 union { Impl_ _impl_; };
740 friend struct ::TableStruct_protos_2fperfetto_2ftrace_2ftranslation_2ftranslation_5ftable_2eproto;
741 };
742 // -------------------------------------------------------------------
743
744 class ChromePerformanceMarkTranslationTable_SiteHashToNameEntry_DoNotUse : public ::PROTOBUF_NAMESPACE_ID::internal::MapEntryLite<ChromePerformanceMarkTranslationTable_SiteHashToNameEntry_DoNotUse,
745 ::uint32_t, std::string,
746 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_UINT32,
747 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING> {
748 public:
749 typedef ::PROTOBUF_NAMESPACE_ID::internal::MapEntryLite<ChromePerformanceMarkTranslationTable_SiteHashToNameEntry_DoNotUse,
750 ::uint32_t, std::string,
751 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_UINT32,
752 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING> SuperType;
753 ChromePerformanceMarkTranslationTable_SiteHashToNameEntry_DoNotUse();
754 explicit PROTOBUF_CONSTEXPR ChromePerformanceMarkTranslationTable_SiteHashToNameEntry_DoNotUse(
755 ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
756 explicit ChromePerformanceMarkTranslationTable_SiteHashToNameEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena);
757 void MergeFrom(const ChromePerformanceMarkTranslationTable_SiteHashToNameEntry_DoNotUse& other);
internal_default_instance()758 static const ChromePerformanceMarkTranslationTable_SiteHashToNameEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const ChromePerformanceMarkTranslationTable_SiteHashToNameEntry_DoNotUse*>(&_ChromePerformanceMarkTranslationTable_SiteHashToNameEntry_DoNotUse_default_instance_); }
ValidateKey(void *)759 static bool ValidateKey(void*) { return true; }
ValidateValue(void *)760 static bool ValidateValue(void*) { return true; }
761 friend struct ::TableStruct_protos_2fperfetto_2ftrace_2ftranslation_2ftranslation_5ftable_2eproto;
762 };
763
764 // -------------------------------------------------------------------
765
766 class ChromePerformanceMarkTranslationTable_MarkHashToNameEntry_DoNotUse : public ::PROTOBUF_NAMESPACE_ID::internal::MapEntryLite<ChromePerformanceMarkTranslationTable_MarkHashToNameEntry_DoNotUse,
767 ::uint32_t, std::string,
768 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_UINT32,
769 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING> {
770 public:
771 typedef ::PROTOBUF_NAMESPACE_ID::internal::MapEntryLite<ChromePerformanceMarkTranslationTable_MarkHashToNameEntry_DoNotUse,
772 ::uint32_t, std::string,
773 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_UINT32,
774 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING> SuperType;
775 ChromePerformanceMarkTranslationTable_MarkHashToNameEntry_DoNotUse();
776 explicit PROTOBUF_CONSTEXPR ChromePerformanceMarkTranslationTable_MarkHashToNameEntry_DoNotUse(
777 ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
778 explicit ChromePerformanceMarkTranslationTable_MarkHashToNameEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena);
779 void MergeFrom(const ChromePerformanceMarkTranslationTable_MarkHashToNameEntry_DoNotUse& other);
internal_default_instance()780 static const ChromePerformanceMarkTranslationTable_MarkHashToNameEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const ChromePerformanceMarkTranslationTable_MarkHashToNameEntry_DoNotUse*>(&_ChromePerformanceMarkTranslationTable_MarkHashToNameEntry_DoNotUse_default_instance_); }
ValidateKey(void *)781 static bool ValidateKey(void*) { return true; }
ValidateValue(void *)782 static bool ValidateValue(void*) { return true; }
783 friend struct ::TableStruct_protos_2fperfetto_2ftrace_2ftranslation_2ftranslation_5ftable_2eproto;
784 };
785
786 // -------------------------------------------------------------------
787
788 class ChromePerformanceMarkTranslationTable final :
789 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:perfetto.protos.ChromePerformanceMarkTranslationTable) */ {
790 public:
ChromePerformanceMarkTranslationTable()791 inline ChromePerformanceMarkTranslationTable() : ChromePerformanceMarkTranslationTable(nullptr) {}
792 ~ChromePerformanceMarkTranslationTable() override;
793 explicit PROTOBUF_CONSTEXPR ChromePerformanceMarkTranslationTable(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
794
795 ChromePerformanceMarkTranslationTable(const ChromePerformanceMarkTranslationTable& from);
ChromePerformanceMarkTranslationTable(ChromePerformanceMarkTranslationTable && from)796 ChromePerformanceMarkTranslationTable(ChromePerformanceMarkTranslationTable&& from) noexcept
797 : ChromePerformanceMarkTranslationTable() {
798 *this = ::std::move(from);
799 }
800
801 inline ChromePerformanceMarkTranslationTable& operator=(const ChromePerformanceMarkTranslationTable& from) {
802 if (this == &from) return *this;
803 CopyFrom(from);
804 return *this;
805 }
806 inline ChromePerformanceMarkTranslationTable& operator=(ChromePerformanceMarkTranslationTable&& from) noexcept {
807 if (this == &from) return *this;
808 if (GetOwningArena() == from.GetOwningArena()
809 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
810 && GetOwningArena() != nullptr
811 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
812 ) {
813 InternalSwap(&from);
814 } else {
815 CopyFrom(from);
816 }
817 return *this;
818 }
819
unknown_fields()820 inline const std::string& unknown_fields() const {
821 return _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString);
822 }
mutable_unknown_fields()823 inline std::string* mutable_unknown_fields() {
824 return _internal_metadata_.mutable_unknown_fields<std::string>();
825 }
826
default_instance()827 static const ChromePerformanceMarkTranslationTable& default_instance() {
828 return *internal_default_instance();
829 }
internal_default_instance()830 static inline const ChromePerformanceMarkTranslationTable* internal_default_instance() {
831 return reinterpret_cast<const ChromePerformanceMarkTranslationTable*>(
832 &_ChromePerformanceMarkTranslationTable_default_instance_);
833 }
834 static constexpr int kIndexInFileMessages =
835 7;
836
swap(ChromePerformanceMarkTranslationTable & a,ChromePerformanceMarkTranslationTable & b)837 friend void swap(ChromePerformanceMarkTranslationTable& a, ChromePerformanceMarkTranslationTable& b) {
838 a.Swap(&b);
839 }
Swap(ChromePerformanceMarkTranslationTable * other)840 inline void Swap(ChromePerformanceMarkTranslationTable* other) {
841 if (other == this) return;
842 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
843 if (GetOwningArena() != nullptr &&
844 GetOwningArena() == other->GetOwningArena()) {
845 #else // PROTOBUF_FORCE_COPY_IN_SWAP
846 if (GetOwningArena() == other->GetOwningArena()) {
847 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
848 InternalSwap(other);
849 } else {
850 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
851 }
852 }
853 void UnsafeArenaSwap(ChromePerformanceMarkTranslationTable* other) {
854 if (other == this) return;
855 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
856 InternalSwap(other);
857 }
858
859 // implements Message ----------------------------------------------
860
861 ChromePerformanceMarkTranslationTable* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
862 return CreateMaybeMessage<ChromePerformanceMarkTranslationTable>(arena);
863 }
864 ChromePerformanceMarkTranslationTable* New() const {
865 return New(nullptr);
866 }
867 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
868 void CopyFrom(const ChromePerformanceMarkTranslationTable& from);
869 void MergeFrom(const ChromePerformanceMarkTranslationTable& from);
870 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
871 bool IsInitialized() const final;
872
873 size_t ByteSizeLong() const final;
874 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
875 ::uint8_t* _InternalSerialize(
876 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
877 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
878
879 private:
880 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
881 void SharedDtor();
882 void SetCachedSize(int size) const;
883 void InternalSwap(ChromePerformanceMarkTranslationTable* other);
884
885 private:
886 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
887 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
888 return "perfetto.protos.ChromePerformanceMarkTranslationTable";
889 }
890 protected:
891 explicit ChromePerformanceMarkTranslationTable(::PROTOBUF_NAMESPACE_ID::Arena* arena,
892 bool is_message_owned = false);
893 public:
894
895 std::string GetTypeName() const final;
896
897 // nested types ----------------------------------------------------
898
899
900 // accessors -------------------------------------------------------
901
902 enum : int {
903 kSiteHashToNameFieldNumber = 1,
904 kMarkHashToNameFieldNumber = 2,
905 };
906 // map<uint32, string> site_hash_to_name = 1;
907 int site_hash_to_name_size() const;
908 private:
909 int _internal_site_hash_to_name_size() const;
910 public:
911 void clear_site_hash_to_name();
912 private:
913 const ::PROTOBUF_NAMESPACE_ID::Map< ::uint32_t, std::string >&
914 _internal_site_hash_to_name() const;
915 ::PROTOBUF_NAMESPACE_ID::Map< ::uint32_t, std::string >*
916 _internal_mutable_site_hash_to_name();
917 public:
918 const ::PROTOBUF_NAMESPACE_ID::Map< ::uint32_t, std::string >&
919 site_hash_to_name() const;
920 ::PROTOBUF_NAMESPACE_ID::Map< ::uint32_t, std::string >*
921 mutable_site_hash_to_name();
922
923 // map<uint32, string> mark_hash_to_name = 2;
924 int mark_hash_to_name_size() const;
925 private:
926 int _internal_mark_hash_to_name_size() const;
927 public:
928 void clear_mark_hash_to_name();
929 private:
930 const ::PROTOBUF_NAMESPACE_ID::Map< ::uint32_t, std::string >&
931 _internal_mark_hash_to_name() const;
932 ::PROTOBUF_NAMESPACE_ID::Map< ::uint32_t, std::string >*
933 _internal_mutable_mark_hash_to_name();
934 public:
935 const ::PROTOBUF_NAMESPACE_ID::Map< ::uint32_t, std::string >&
936 mark_hash_to_name() const;
937 ::PROTOBUF_NAMESPACE_ID::Map< ::uint32_t, std::string >*
938 mutable_mark_hash_to_name();
939
940 // @@protoc_insertion_point(class_scope:perfetto.protos.ChromePerformanceMarkTranslationTable)
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 ::PROTOBUF_NAMESPACE_ID::internal::MapFieldLite<
949 ChromePerformanceMarkTranslationTable_SiteHashToNameEntry_DoNotUse,
950 ::uint32_t, std::string,
951 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_UINT32,
952 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING> site_hash_to_name_;
953 ::PROTOBUF_NAMESPACE_ID::internal::MapFieldLite<
954 ChromePerformanceMarkTranslationTable_MarkHashToNameEntry_DoNotUse,
955 ::uint32_t, std::string,
956 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_UINT32,
957 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING> mark_hash_to_name_;
958 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
959 };
960 union { Impl_ _impl_; };
961 friend struct ::TableStruct_protos_2fperfetto_2ftrace_2ftranslation_2ftranslation_5ftable_2eproto;
962 };
963 // -------------------------------------------------------------------
964
965 class SliceNameTranslationTable_RawToDeobfuscatedNameEntry_DoNotUse : public ::PROTOBUF_NAMESPACE_ID::internal::MapEntryLite<SliceNameTranslationTable_RawToDeobfuscatedNameEntry_DoNotUse,
966 std::string, std::string,
967 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
968 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING> {
969 public:
970 typedef ::PROTOBUF_NAMESPACE_ID::internal::MapEntryLite<SliceNameTranslationTable_RawToDeobfuscatedNameEntry_DoNotUse,
971 std::string, std::string,
972 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
973 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING> SuperType;
974 SliceNameTranslationTable_RawToDeobfuscatedNameEntry_DoNotUse();
975 explicit PROTOBUF_CONSTEXPR SliceNameTranslationTable_RawToDeobfuscatedNameEntry_DoNotUse(
976 ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
977 explicit SliceNameTranslationTable_RawToDeobfuscatedNameEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena);
978 void MergeFrom(const SliceNameTranslationTable_RawToDeobfuscatedNameEntry_DoNotUse& other);
internal_default_instance()979 static const SliceNameTranslationTable_RawToDeobfuscatedNameEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const SliceNameTranslationTable_RawToDeobfuscatedNameEntry_DoNotUse*>(&_SliceNameTranslationTable_RawToDeobfuscatedNameEntry_DoNotUse_default_instance_); }
ValidateKey(void *)980 static bool ValidateKey(void*) { return true; }
ValidateValue(void *)981 static bool ValidateValue(void*) { return true; }
982 friend struct ::TableStruct_protos_2fperfetto_2ftrace_2ftranslation_2ftranslation_5ftable_2eproto;
983 };
984
985 // -------------------------------------------------------------------
986
987 class SliceNameTranslationTable final :
988 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:perfetto.protos.SliceNameTranslationTable) */ {
989 public:
SliceNameTranslationTable()990 inline SliceNameTranslationTable() : SliceNameTranslationTable(nullptr) {}
991 ~SliceNameTranslationTable() override;
992 explicit PROTOBUF_CONSTEXPR SliceNameTranslationTable(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
993
994 SliceNameTranslationTable(const SliceNameTranslationTable& from);
SliceNameTranslationTable(SliceNameTranslationTable && from)995 SliceNameTranslationTable(SliceNameTranslationTable&& from) noexcept
996 : SliceNameTranslationTable() {
997 *this = ::std::move(from);
998 }
999
1000 inline SliceNameTranslationTable& operator=(const SliceNameTranslationTable& from) {
1001 if (this == &from) return *this;
1002 CopyFrom(from);
1003 return *this;
1004 }
1005 inline SliceNameTranslationTable& operator=(SliceNameTranslationTable&& from) noexcept {
1006 if (this == &from) return *this;
1007 if (GetOwningArena() == from.GetOwningArena()
1008 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
1009 && GetOwningArena() != nullptr
1010 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
1011 ) {
1012 InternalSwap(&from);
1013 } else {
1014 CopyFrom(from);
1015 }
1016 return *this;
1017 }
1018
unknown_fields()1019 inline const std::string& unknown_fields() const {
1020 return _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString);
1021 }
mutable_unknown_fields()1022 inline std::string* mutable_unknown_fields() {
1023 return _internal_metadata_.mutable_unknown_fields<std::string>();
1024 }
1025
default_instance()1026 static const SliceNameTranslationTable& default_instance() {
1027 return *internal_default_instance();
1028 }
internal_default_instance()1029 static inline const SliceNameTranslationTable* internal_default_instance() {
1030 return reinterpret_cast<const SliceNameTranslationTable*>(
1031 &_SliceNameTranslationTable_default_instance_);
1032 }
1033 static constexpr int kIndexInFileMessages =
1034 9;
1035
swap(SliceNameTranslationTable & a,SliceNameTranslationTable & b)1036 friend void swap(SliceNameTranslationTable& a, SliceNameTranslationTable& b) {
1037 a.Swap(&b);
1038 }
Swap(SliceNameTranslationTable * other)1039 inline void Swap(SliceNameTranslationTable* other) {
1040 if (other == this) return;
1041 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
1042 if (GetOwningArena() != nullptr &&
1043 GetOwningArena() == other->GetOwningArena()) {
1044 #else // PROTOBUF_FORCE_COPY_IN_SWAP
1045 if (GetOwningArena() == other->GetOwningArena()) {
1046 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
1047 InternalSwap(other);
1048 } else {
1049 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
1050 }
1051 }
1052 void UnsafeArenaSwap(SliceNameTranslationTable* other) {
1053 if (other == this) return;
1054 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
1055 InternalSwap(other);
1056 }
1057
1058 // implements Message ----------------------------------------------
1059
1060 SliceNameTranslationTable* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
1061 return CreateMaybeMessage<SliceNameTranslationTable>(arena);
1062 }
1063 SliceNameTranslationTable* New() const {
1064 return New(nullptr);
1065 }
1066 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
1067 void CopyFrom(const SliceNameTranslationTable& from);
1068 void MergeFrom(const SliceNameTranslationTable& from);
1069 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1070 bool IsInitialized() const final;
1071
1072 size_t ByteSizeLong() const final;
1073 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1074 ::uint8_t* _InternalSerialize(
1075 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1076 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
1077
1078 private:
1079 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
1080 void SharedDtor();
1081 void SetCachedSize(int size) const;
1082 void InternalSwap(SliceNameTranslationTable* other);
1083
1084 private:
1085 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1086 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1087 return "perfetto.protos.SliceNameTranslationTable";
1088 }
1089 protected:
1090 explicit SliceNameTranslationTable(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1091 bool is_message_owned = false);
1092 public:
1093
1094 std::string GetTypeName() const final;
1095
1096 // nested types ----------------------------------------------------
1097
1098
1099 // accessors -------------------------------------------------------
1100
1101 enum : int {
1102 kRawToDeobfuscatedNameFieldNumber = 1,
1103 };
1104 // map<string, string> raw_to_deobfuscated_name = 1;
1105 int raw_to_deobfuscated_name_size() const;
1106 private:
1107 int _internal_raw_to_deobfuscated_name_size() const;
1108 public:
1109 void clear_raw_to_deobfuscated_name();
1110 private:
1111 const ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >&
1112 _internal_raw_to_deobfuscated_name() const;
1113 ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >*
1114 _internal_mutable_raw_to_deobfuscated_name();
1115 public:
1116 const ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >&
1117 raw_to_deobfuscated_name() const;
1118 ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >*
1119 mutable_raw_to_deobfuscated_name();
1120
1121 // @@protoc_insertion_point(class_scope:perfetto.protos.SliceNameTranslationTable)
1122 private:
1123 class _Internal;
1124
1125 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1126 typedef void InternalArenaConstructable_;
1127 typedef void DestructorSkippable_;
1128 struct Impl_ {
1129 ::PROTOBUF_NAMESPACE_ID::internal::MapFieldLite<
1130 SliceNameTranslationTable_RawToDeobfuscatedNameEntry_DoNotUse,
1131 std::string, std::string,
1132 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
1133 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING> raw_to_deobfuscated_name_;
1134 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1135 };
1136 union { Impl_ _impl_; };
1137 friend struct ::TableStruct_protos_2fperfetto_2ftrace_2ftranslation_2ftranslation_5ftable_2eproto;
1138 };
1139 // -------------------------------------------------------------------
1140
1141 class ProcessTrackNameTranslationTable_RawToDeobfuscatedNameEntry_DoNotUse : public ::PROTOBUF_NAMESPACE_ID::internal::MapEntryLite<ProcessTrackNameTranslationTable_RawToDeobfuscatedNameEntry_DoNotUse,
1142 std::string, std::string,
1143 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
1144 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING> {
1145 public:
1146 typedef ::PROTOBUF_NAMESPACE_ID::internal::MapEntryLite<ProcessTrackNameTranslationTable_RawToDeobfuscatedNameEntry_DoNotUse,
1147 std::string, std::string,
1148 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
1149 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING> SuperType;
1150 ProcessTrackNameTranslationTable_RawToDeobfuscatedNameEntry_DoNotUse();
1151 explicit PROTOBUF_CONSTEXPR ProcessTrackNameTranslationTable_RawToDeobfuscatedNameEntry_DoNotUse(
1152 ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
1153 explicit ProcessTrackNameTranslationTable_RawToDeobfuscatedNameEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena);
1154 void MergeFrom(const ProcessTrackNameTranslationTable_RawToDeobfuscatedNameEntry_DoNotUse& other);
internal_default_instance()1155 static const ProcessTrackNameTranslationTable_RawToDeobfuscatedNameEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const ProcessTrackNameTranslationTable_RawToDeobfuscatedNameEntry_DoNotUse*>(&_ProcessTrackNameTranslationTable_RawToDeobfuscatedNameEntry_DoNotUse_default_instance_); }
ValidateKey(void *)1156 static bool ValidateKey(void*) { return true; }
ValidateValue(void *)1157 static bool ValidateValue(void*) { return true; }
1158 friend struct ::TableStruct_protos_2fperfetto_2ftrace_2ftranslation_2ftranslation_5ftable_2eproto;
1159 };
1160
1161 // -------------------------------------------------------------------
1162
1163 class ProcessTrackNameTranslationTable final :
1164 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:perfetto.protos.ProcessTrackNameTranslationTable) */ {
1165 public:
ProcessTrackNameTranslationTable()1166 inline ProcessTrackNameTranslationTable() : ProcessTrackNameTranslationTable(nullptr) {}
1167 ~ProcessTrackNameTranslationTable() override;
1168 explicit PROTOBUF_CONSTEXPR ProcessTrackNameTranslationTable(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
1169
1170 ProcessTrackNameTranslationTable(const ProcessTrackNameTranslationTable& from);
ProcessTrackNameTranslationTable(ProcessTrackNameTranslationTable && from)1171 ProcessTrackNameTranslationTable(ProcessTrackNameTranslationTable&& from) noexcept
1172 : ProcessTrackNameTranslationTable() {
1173 *this = ::std::move(from);
1174 }
1175
1176 inline ProcessTrackNameTranslationTable& operator=(const ProcessTrackNameTranslationTable& from) {
1177 if (this == &from) return *this;
1178 CopyFrom(from);
1179 return *this;
1180 }
1181 inline ProcessTrackNameTranslationTable& operator=(ProcessTrackNameTranslationTable&& from) noexcept {
1182 if (this == &from) return *this;
1183 if (GetOwningArena() == from.GetOwningArena()
1184 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
1185 && GetOwningArena() != nullptr
1186 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
1187 ) {
1188 InternalSwap(&from);
1189 } else {
1190 CopyFrom(from);
1191 }
1192 return *this;
1193 }
1194
unknown_fields()1195 inline const std::string& unknown_fields() const {
1196 return _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString);
1197 }
mutable_unknown_fields()1198 inline std::string* mutable_unknown_fields() {
1199 return _internal_metadata_.mutable_unknown_fields<std::string>();
1200 }
1201
default_instance()1202 static const ProcessTrackNameTranslationTable& default_instance() {
1203 return *internal_default_instance();
1204 }
internal_default_instance()1205 static inline const ProcessTrackNameTranslationTable* internal_default_instance() {
1206 return reinterpret_cast<const ProcessTrackNameTranslationTable*>(
1207 &_ProcessTrackNameTranslationTable_default_instance_);
1208 }
1209 static constexpr int kIndexInFileMessages =
1210 11;
1211
swap(ProcessTrackNameTranslationTable & a,ProcessTrackNameTranslationTable & b)1212 friend void swap(ProcessTrackNameTranslationTable& a, ProcessTrackNameTranslationTable& b) {
1213 a.Swap(&b);
1214 }
Swap(ProcessTrackNameTranslationTable * other)1215 inline void Swap(ProcessTrackNameTranslationTable* other) {
1216 if (other == this) return;
1217 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
1218 if (GetOwningArena() != nullptr &&
1219 GetOwningArena() == other->GetOwningArena()) {
1220 #else // PROTOBUF_FORCE_COPY_IN_SWAP
1221 if (GetOwningArena() == other->GetOwningArena()) {
1222 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
1223 InternalSwap(other);
1224 } else {
1225 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
1226 }
1227 }
1228 void UnsafeArenaSwap(ProcessTrackNameTranslationTable* other) {
1229 if (other == this) return;
1230 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
1231 InternalSwap(other);
1232 }
1233
1234 // implements Message ----------------------------------------------
1235
1236 ProcessTrackNameTranslationTable* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
1237 return CreateMaybeMessage<ProcessTrackNameTranslationTable>(arena);
1238 }
1239 ProcessTrackNameTranslationTable* New() const {
1240 return New(nullptr);
1241 }
1242 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
1243 void CopyFrom(const ProcessTrackNameTranslationTable& from);
1244 void MergeFrom(const ProcessTrackNameTranslationTable& from);
1245 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1246 bool IsInitialized() const final;
1247
1248 size_t ByteSizeLong() const final;
1249 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1250 ::uint8_t* _InternalSerialize(
1251 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1252 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
1253
1254 private:
1255 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
1256 void SharedDtor();
1257 void SetCachedSize(int size) const;
1258 void InternalSwap(ProcessTrackNameTranslationTable* other);
1259
1260 private:
1261 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1262 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1263 return "perfetto.protos.ProcessTrackNameTranslationTable";
1264 }
1265 protected:
1266 explicit ProcessTrackNameTranslationTable(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1267 bool is_message_owned = false);
1268 public:
1269
1270 std::string GetTypeName() const final;
1271
1272 // nested types ----------------------------------------------------
1273
1274
1275 // accessors -------------------------------------------------------
1276
1277 enum : int {
1278 kRawToDeobfuscatedNameFieldNumber = 1,
1279 };
1280 // map<string, string> raw_to_deobfuscated_name = 1;
1281 int raw_to_deobfuscated_name_size() const;
1282 private:
1283 int _internal_raw_to_deobfuscated_name_size() const;
1284 public:
1285 void clear_raw_to_deobfuscated_name();
1286 private:
1287 const ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >&
1288 _internal_raw_to_deobfuscated_name() const;
1289 ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >*
1290 _internal_mutable_raw_to_deobfuscated_name();
1291 public:
1292 const ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >&
1293 raw_to_deobfuscated_name() const;
1294 ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >*
1295 mutable_raw_to_deobfuscated_name();
1296
1297 // @@protoc_insertion_point(class_scope:perfetto.protos.ProcessTrackNameTranslationTable)
1298 private:
1299 class _Internal;
1300
1301 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1302 typedef void InternalArenaConstructable_;
1303 typedef void DestructorSkippable_;
1304 struct Impl_ {
1305 ::PROTOBUF_NAMESPACE_ID::internal::MapFieldLite<
1306 ProcessTrackNameTranslationTable_RawToDeobfuscatedNameEntry_DoNotUse,
1307 std::string, std::string,
1308 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
1309 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING> raw_to_deobfuscated_name_;
1310 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1311 };
1312 union { Impl_ _impl_; };
1313 friend struct ::TableStruct_protos_2fperfetto_2ftrace_2ftranslation_2ftranslation_5ftable_2eproto;
1314 };
1315 // -------------------------------------------------------------------
1316
1317 class ChromeStudyTranslationTable_HashToNameEntry_DoNotUse : public ::PROTOBUF_NAMESPACE_ID::internal::MapEntryLite<ChromeStudyTranslationTable_HashToNameEntry_DoNotUse,
1318 ::uint64_t, std::string,
1319 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_UINT64,
1320 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING> {
1321 public:
1322 typedef ::PROTOBUF_NAMESPACE_ID::internal::MapEntryLite<ChromeStudyTranslationTable_HashToNameEntry_DoNotUse,
1323 ::uint64_t, std::string,
1324 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_UINT64,
1325 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING> SuperType;
1326 ChromeStudyTranslationTable_HashToNameEntry_DoNotUse();
1327 explicit PROTOBUF_CONSTEXPR ChromeStudyTranslationTable_HashToNameEntry_DoNotUse(
1328 ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
1329 explicit ChromeStudyTranslationTable_HashToNameEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena);
1330 void MergeFrom(const ChromeStudyTranslationTable_HashToNameEntry_DoNotUse& other);
internal_default_instance()1331 static const ChromeStudyTranslationTable_HashToNameEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const ChromeStudyTranslationTable_HashToNameEntry_DoNotUse*>(&_ChromeStudyTranslationTable_HashToNameEntry_DoNotUse_default_instance_); }
ValidateKey(void *)1332 static bool ValidateKey(void*) { return true; }
ValidateValue(void *)1333 static bool ValidateValue(void*) { return true; }
1334 friend struct ::TableStruct_protos_2fperfetto_2ftrace_2ftranslation_2ftranslation_5ftable_2eproto;
1335 };
1336
1337 // -------------------------------------------------------------------
1338
1339 class ChromeStudyTranslationTable final :
1340 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:perfetto.protos.ChromeStudyTranslationTable) */ {
1341 public:
ChromeStudyTranslationTable()1342 inline ChromeStudyTranslationTable() : ChromeStudyTranslationTable(nullptr) {}
1343 ~ChromeStudyTranslationTable() override;
1344 explicit PROTOBUF_CONSTEXPR ChromeStudyTranslationTable(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
1345
1346 ChromeStudyTranslationTable(const ChromeStudyTranslationTable& from);
ChromeStudyTranslationTable(ChromeStudyTranslationTable && from)1347 ChromeStudyTranslationTable(ChromeStudyTranslationTable&& from) noexcept
1348 : ChromeStudyTranslationTable() {
1349 *this = ::std::move(from);
1350 }
1351
1352 inline ChromeStudyTranslationTable& operator=(const ChromeStudyTranslationTable& from) {
1353 if (this == &from) return *this;
1354 CopyFrom(from);
1355 return *this;
1356 }
1357 inline ChromeStudyTranslationTable& operator=(ChromeStudyTranslationTable&& from) noexcept {
1358 if (this == &from) return *this;
1359 if (GetOwningArena() == from.GetOwningArena()
1360 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
1361 && GetOwningArena() != nullptr
1362 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
1363 ) {
1364 InternalSwap(&from);
1365 } else {
1366 CopyFrom(from);
1367 }
1368 return *this;
1369 }
1370
unknown_fields()1371 inline const std::string& unknown_fields() const {
1372 return _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString);
1373 }
mutable_unknown_fields()1374 inline std::string* mutable_unknown_fields() {
1375 return _internal_metadata_.mutable_unknown_fields<std::string>();
1376 }
1377
default_instance()1378 static const ChromeStudyTranslationTable& default_instance() {
1379 return *internal_default_instance();
1380 }
internal_default_instance()1381 static inline const ChromeStudyTranslationTable* internal_default_instance() {
1382 return reinterpret_cast<const ChromeStudyTranslationTable*>(
1383 &_ChromeStudyTranslationTable_default_instance_);
1384 }
1385 static constexpr int kIndexInFileMessages =
1386 13;
1387
swap(ChromeStudyTranslationTable & a,ChromeStudyTranslationTable & b)1388 friend void swap(ChromeStudyTranslationTable& a, ChromeStudyTranslationTable& b) {
1389 a.Swap(&b);
1390 }
Swap(ChromeStudyTranslationTable * other)1391 inline void Swap(ChromeStudyTranslationTable* other) {
1392 if (other == this) return;
1393 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
1394 if (GetOwningArena() != nullptr &&
1395 GetOwningArena() == other->GetOwningArena()) {
1396 #else // PROTOBUF_FORCE_COPY_IN_SWAP
1397 if (GetOwningArena() == other->GetOwningArena()) {
1398 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
1399 InternalSwap(other);
1400 } else {
1401 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
1402 }
1403 }
1404 void UnsafeArenaSwap(ChromeStudyTranslationTable* other) {
1405 if (other == this) return;
1406 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
1407 InternalSwap(other);
1408 }
1409
1410 // implements Message ----------------------------------------------
1411
1412 ChromeStudyTranslationTable* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
1413 return CreateMaybeMessage<ChromeStudyTranslationTable>(arena);
1414 }
1415 ChromeStudyTranslationTable* New() const {
1416 return New(nullptr);
1417 }
1418 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
1419 void CopyFrom(const ChromeStudyTranslationTable& from);
1420 void MergeFrom(const ChromeStudyTranslationTable& from);
1421 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1422 bool IsInitialized() const final;
1423
1424 size_t ByteSizeLong() const final;
1425 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1426 ::uint8_t* _InternalSerialize(
1427 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1428 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
1429
1430 private:
1431 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
1432 void SharedDtor();
1433 void SetCachedSize(int size) const;
1434 void InternalSwap(ChromeStudyTranslationTable* other);
1435
1436 private:
1437 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1438 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1439 return "perfetto.protos.ChromeStudyTranslationTable";
1440 }
1441 protected:
1442 explicit ChromeStudyTranslationTable(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1443 bool is_message_owned = false);
1444 public:
1445
1446 std::string GetTypeName() const final;
1447
1448 // nested types ----------------------------------------------------
1449
1450
1451 // accessors -------------------------------------------------------
1452
1453 enum : int {
1454 kHashToNameFieldNumber = 1,
1455 };
1456 // map<uint64, string> hash_to_name = 1;
1457 int hash_to_name_size() const;
1458 private:
1459 int _internal_hash_to_name_size() const;
1460 public:
1461 void clear_hash_to_name();
1462 private:
1463 const ::PROTOBUF_NAMESPACE_ID::Map< ::uint64_t, std::string >&
1464 _internal_hash_to_name() const;
1465 ::PROTOBUF_NAMESPACE_ID::Map< ::uint64_t, std::string >*
1466 _internal_mutable_hash_to_name();
1467 public:
1468 const ::PROTOBUF_NAMESPACE_ID::Map< ::uint64_t, std::string >&
1469 hash_to_name() const;
1470 ::PROTOBUF_NAMESPACE_ID::Map< ::uint64_t, std::string >*
1471 mutable_hash_to_name();
1472
1473 // @@protoc_insertion_point(class_scope:perfetto.protos.ChromeStudyTranslationTable)
1474 private:
1475 class _Internal;
1476
1477 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1478 typedef void InternalArenaConstructable_;
1479 typedef void DestructorSkippable_;
1480 struct Impl_ {
1481 ::PROTOBUF_NAMESPACE_ID::internal::MapFieldLite<
1482 ChromeStudyTranslationTable_HashToNameEntry_DoNotUse,
1483 ::uint64_t, std::string,
1484 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_UINT64,
1485 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING> hash_to_name_;
1486 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1487 };
1488 union { Impl_ _impl_; };
1489 friend struct ::TableStruct_protos_2fperfetto_2ftrace_2ftranslation_2ftranslation_5ftable_2eproto;
1490 };
1491 // ===================================================================
1492
1493
1494 // ===================================================================
1495
1496 #ifdef __GNUC__
1497 #pragma GCC diagnostic push
1498 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
1499 #endif // __GNUC__
1500 // TranslationTable
1501
1502 // .perfetto.protos.ChromeHistorgramTranslationTable chrome_histogram = 1;
_internal_has_chrome_histogram()1503 inline bool TranslationTable::_internal_has_chrome_histogram() const {
1504 return table_case() == kChromeHistogram;
1505 }
has_chrome_histogram()1506 inline bool TranslationTable::has_chrome_histogram() const {
1507 return _internal_has_chrome_histogram();
1508 }
set_has_chrome_histogram()1509 inline void TranslationTable::set_has_chrome_histogram() {
1510 _impl_._oneof_case_[0] = kChromeHistogram;
1511 }
clear_chrome_histogram()1512 inline void TranslationTable::clear_chrome_histogram() {
1513 if (_internal_has_chrome_histogram()) {
1514 if (GetArenaForAllocation() == nullptr) {
1515 delete _impl_.table_.chrome_histogram_;
1516 }
1517 clear_has_table();
1518 }
1519 }
release_chrome_histogram()1520 inline ::perfetto::protos::ChromeHistorgramTranslationTable* TranslationTable::release_chrome_histogram() {
1521 // @@protoc_insertion_point(field_release:perfetto.protos.TranslationTable.chrome_histogram)
1522 if (_internal_has_chrome_histogram()) {
1523 clear_has_table();
1524 ::perfetto::protos::ChromeHistorgramTranslationTable* temp = _impl_.table_.chrome_histogram_;
1525 if (GetArenaForAllocation() != nullptr) {
1526 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1527 }
1528 _impl_.table_.chrome_histogram_ = nullptr;
1529 return temp;
1530 } else {
1531 return nullptr;
1532 }
1533 }
_internal_chrome_histogram()1534 inline const ::perfetto::protos::ChromeHistorgramTranslationTable& TranslationTable::_internal_chrome_histogram() const {
1535 return _internal_has_chrome_histogram()
1536 ? *_impl_.table_.chrome_histogram_
1537 : reinterpret_cast< ::perfetto::protos::ChromeHistorgramTranslationTable&>(::perfetto::protos::_ChromeHistorgramTranslationTable_default_instance_);
1538 }
chrome_histogram()1539 inline const ::perfetto::protos::ChromeHistorgramTranslationTable& TranslationTable::chrome_histogram() const {
1540 // @@protoc_insertion_point(field_get:perfetto.protos.TranslationTable.chrome_histogram)
1541 return _internal_chrome_histogram();
1542 }
unsafe_arena_release_chrome_histogram()1543 inline ::perfetto::protos::ChromeHistorgramTranslationTable* TranslationTable::unsafe_arena_release_chrome_histogram() {
1544 // @@protoc_insertion_point(field_unsafe_arena_release:perfetto.protos.TranslationTable.chrome_histogram)
1545 if (_internal_has_chrome_histogram()) {
1546 clear_has_table();
1547 ::perfetto::protos::ChromeHistorgramTranslationTable* temp = _impl_.table_.chrome_histogram_;
1548 _impl_.table_.chrome_histogram_ = nullptr;
1549 return temp;
1550 } else {
1551 return nullptr;
1552 }
1553 }
unsafe_arena_set_allocated_chrome_histogram(::perfetto::protos::ChromeHistorgramTranslationTable * chrome_histogram)1554 inline void TranslationTable::unsafe_arena_set_allocated_chrome_histogram(::perfetto::protos::ChromeHistorgramTranslationTable* chrome_histogram) {
1555 clear_table();
1556 if (chrome_histogram) {
1557 set_has_chrome_histogram();
1558 _impl_.table_.chrome_histogram_ = chrome_histogram;
1559 }
1560 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:perfetto.protos.TranslationTable.chrome_histogram)
1561 }
_internal_mutable_chrome_histogram()1562 inline ::perfetto::protos::ChromeHistorgramTranslationTable* TranslationTable::_internal_mutable_chrome_histogram() {
1563 if (!_internal_has_chrome_histogram()) {
1564 clear_table();
1565 set_has_chrome_histogram();
1566 _impl_.table_.chrome_histogram_ = CreateMaybeMessage< ::perfetto::protos::ChromeHistorgramTranslationTable >(GetArenaForAllocation());
1567 }
1568 return _impl_.table_.chrome_histogram_;
1569 }
mutable_chrome_histogram()1570 inline ::perfetto::protos::ChromeHistorgramTranslationTable* TranslationTable::mutable_chrome_histogram() {
1571 ::perfetto::protos::ChromeHistorgramTranslationTable* _msg = _internal_mutable_chrome_histogram();
1572 // @@protoc_insertion_point(field_mutable:perfetto.protos.TranslationTable.chrome_histogram)
1573 return _msg;
1574 }
1575
1576 // .perfetto.protos.ChromeUserEventTranslationTable chrome_user_event = 2;
_internal_has_chrome_user_event()1577 inline bool TranslationTable::_internal_has_chrome_user_event() const {
1578 return table_case() == kChromeUserEvent;
1579 }
has_chrome_user_event()1580 inline bool TranslationTable::has_chrome_user_event() const {
1581 return _internal_has_chrome_user_event();
1582 }
set_has_chrome_user_event()1583 inline void TranslationTable::set_has_chrome_user_event() {
1584 _impl_._oneof_case_[0] = kChromeUserEvent;
1585 }
clear_chrome_user_event()1586 inline void TranslationTable::clear_chrome_user_event() {
1587 if (_internal_has_chrome_user_event()) {
1588 if (GetArenaForAllocation() == nullptr) {
1589 delete _impl_.table_.chrome_user_event_;
1590 }
1591 clear_has_table();
1592 }
1593 }
release_chrome_user_event()1594 inline ::perfetto::protos::ChromeUserEventTranslationTable* TranslationTable::release_chrome_user_event() {
1595 // @@protoc_insertion_point(field_release:perfetto.protos.TranslationTable.chrome_user_event)
1596 if (_internal_has_chrome_user_event()) {
1597 clear_has_table();
1598 ::perfetto::protos::ChromeUserEventTranslationTable* temp = _impl_.table_.chrome_user_event_;
1599 if (GetArenaForAllocation() != nullptr) {
1600 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1601 }
1602 _impl_.table_.chrome_user_event_ = nullptr;
1603 return temp;
1604 } else {
1605 return nullptr;
1606 }
1607 }
_internal_chrome_user_event()1608 inline const ::perfetto::protos::ChromeUserEventTranslationTable& TranslationTable::_internal_chrome_user_event() const {
1609 return _internal_has_chrome_user_event()
1610 ? *_impl_.table_.chrome_user_event_
1611 : reinterpret_cast< ::perfetto::protos::ChromeUserEventTranslationTable&>(::perfetto::protos::_ChromeUserEventTranslationTable_default_instance_);
1612 }
chrome_user_event()1613 inline const ::perfetto::protos::ChromeUserEventTranslationTable& TranslationTable::chrome_user_event() const {
1614 // @@protoc_insertion_point(field_get:perfetto.protos.TranslationTable.chrome_user_event)
1615 return _internal_chrome_user_event();
1616 }
unsafe_arena_release_chrome_user_event()1617 inline ::perfetto::protos::ChromeUserEventTranslationTable* TranslationTable::unsafe_arena_release_chrome_user_event() {
1618 // @@protoc_insertion_point(field_unsafe_arena_release:perfetto.protos.TranslationTable.chrome_user_event)
1619 if (_internal_has_chrome_user_event()) {
1620 clear_has_table();
1621 ::perfetto::protos::ChromeUserEventTranslationTable* temp = _impl_.table_.chrome_user_event_;
1622 _impl_.table_.chrome_user_event_ = nullptr;
1623 return temp;
1624 } else {
1625 return nullptr;
1626 }
1627 }
unsafe_arena_set_allocated_chrome_user_event(::perfetto::protos::ChromeUserEventTranslationTable * chrome_user_event)1628 inline void TranslationTable::unsafe_arena_set_allocated_chrome_user_event(::perfetto::protos::ChromeUserEventTranslationTable* chrome_user_event) {
1629 clear_table();
1630 if (chrome_user_event) {
1631 set_has_chrome_user_event();
1632 _impl_.table_.chrome_user_event_ = chrome_user_event;
1633 }
1634 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:perfetto.protos.TranslationTable.chrome_user_event)
1635 }
_internal_mutable_chrome_user_event()1636 inline ::perfetto::protos::ChromeUserEventTranslationTable* TranslationTable::_internal_mutable_chrome_user_event() {
1637 if (!_internal_has_chrome_user_event()) {
1638 clear_table();
1639 set_has_chrome_user_event();
1640 _impl_.table_.chrome_user_event_ = CreateMaybeMessage< ::perfetto::protos::ChromeUserEventTranslationTable >(GetArenaForAllocation());
1641 }
1642 return _impl_.table_.chrome_user_event_;
1643 }
mutable_chrome_user_event()1644 inline ::perfetto::protos::ChromeUserEventTranslationTable* TranslationTable::mutable_chrome_user_event() {
1645 ::perfetto::protos::ChromeUserEventTranslationTable* _msg = _internal_mutable_chrome_user_event();
1646 // @@protoc_insertion_point(field_mutable:perfetto.protos.TranslationTable.chrome_user_event)
1647 return _msg;
1648 }
1649
1650 // .perfetto.protos.ChromePerformanceMarkTranslationTable chrome_performance_mark = 3;
_internal_has_chrome_performance_mark()1651 inline bool TranslationTable::_internal_has_chrome_performance_mark() const {
1652 return table_case() == kChromePerformanceMark;
1653 }
has_chrome_performance_mark()1654 inline bool TranslationTable::has_chrome_performance_mark() const {
1655 return _internal_has_chrome_performance_mark();
1656 }
set_has_chrome_performance_mark()1657 inline void TranslationTable::set_has_chrome_performance_mark() {
1658 _impl_._oneof_case_[0] = kChromePerformanceMark;
1659 }
clear_chrome_performance_mark()1660 inline void TranslationTable::clear_chrome_performance_mark() {
1661 if (_internal_has_chrome_performance_mark()) {
1662 if (GetArenaForAllocation() == nullptr) {
1663 delete _impl_.table_.chrome_performance_mark_;
1664 }
1665 clear_has_table();
1666 }
1667 }
release_chrome_performance_mark()1668 inline ::perfetto::protos::ChromePerformanceMarkTranslationTable* TranslationTable::release_chrome_performance_mark() {
1669 // @@protoc_insertion_point(field_release:perfetto.protos.TranslationTable.chrome_performance_mark)
1670 if (_internal_has_chrome_performance_mark()) {
1671 clear_has_table();
1672 ::perfetto::protos::ChromePerformanceMarkTranslationTable* temp = _impl_.table_.chrome_performance_mark_;
1673 if (GetArenaForAllocation() != nullptr) {
1674 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1675 }
1676 _impl_.table_.chrome_performance_mark_ = nullptr;
1677 return temp;
1678 } else {
1679 return nullptr;
1680 }
1681 }
_internal_chrome_performance_mark()1682 inline const ::perfetto::protos::ChromePerformanceMarkTranslationTable& TranslationTable::_internal_chrome_performance_mark() const {
1683 return _internal_has_chrome_performance_mark()
1684 ? *_impl_.table_.chrome_performance_mark_
1685 : reinterpret_cast< ::perfetto::protos::ChromePerformanceMarkTranslationTable&>(::perfetto::protos::_ChromePerformanceMarkTranslationTable_default_instance_);
1686 }
chrome_performance_mark()1687 inline const ::perfetto::protos::ChromePerformanceMarkTranslationTable& TranslationTable::chrome_performance_mark() const {
1688 // @@protoc_insertion_point(field_get:perfetto.protos.TranslationTable.chrome_performance_mark)
1689 return _internal_chrome_performance_mark();
1690 }
unsafe_arena_release_chrome_performance_mark()1691 inline ::perfetto::protos::ChromePerformanceMarkTranslationTable* TranslationTable::unsafe_arena_release_chrome_performance_mark() {
1692 // @@protoc_insertion_point(field_unsafe_arena_release:perfetto.protos.TranslationTable.chrome_performance_mark)
1693 if (_internal_has_chrome_performance_mark()) {
1694 clear_has_table();
1695 ::perfetto::protos::ChromePerformanceMarkTranslationTable* temp = _impl_.table_.chrome_performance_mark_;
1696 _impl_.table_.chrome_performance_mark_ = nullptr;
1697 return temp;
1698 } else {
1699 return nullptr;
1700 }
1701 }
unsafe_arena_set_allocated_chrome_performance_mark(::perfetto::protos::ChromePerformanceMarkTranslationTable * chrome_performance_mark)1702 inline void TranslationTable::unsafe_arena_set_allocated_chrome_performance_mark(::perfetto::protos::ChromePerformanceMarkTranslationTable* chrome_performance_mark) {
1703 clear_table();
1704 if (chrome_performance_mark) {
1705 set_has_chrome_performance_mark();
1706 _impl_.table_.chrome_performance_mark_ = chrome_performance_mark;
1707 }
1708 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:perfetto.protos.TranslationTable.chrome_performance_mark)
1709 }
_internal_mutable_chrome_performance_mark()1710 inline ::perfetto::protos::ChromePerformanceMarkTranslationTable* TranslationTable::_internal_mutable_chrome_performance_mark() {
1711 if (!_internal_has_chrome_performance_mark()) {
1712 clear_table();
1713 set_has_chrome_performance_mark();
1714 _impl_.table_.chrome_performance_mark_ = CreateMaybeMessage< ::perfetto::protos::ChromePerformanceMarkTranslationTable >(GetArenaForAllocation());
1715 }
1716 return _impl_.table_.chrome_performance_mark_;
1717 }
mutable_chrome_performance_mark()1718 inline ::perfetto::protos::ChromePerformanceMarkTranslationTable* TranslationTable::mutable_chrome_performance_mark() {
1719 ::perfetto::protos::ChromePerformanceMarkTranslationTable* _msg = _internal_mutable_chrome_performance_mark();
1720 // @@protoc_insertion_point(field_mutable:perfetto.protos.TranslationTable.chrome_performance_mark)
1721 return _msg;
1722 }
1723
1724 // .perfetto.protos.SliceNameTranslationTable slice_name = 4;
_internal_has_slice_name()1725 inline bool TranslationTable::_internal_has_slice_name() const {
1726 return table_case() == kSliceName;
1727 }
has_slice_name()1728 inline bool TranslationTable::has_slice_name() const {
1729 return _internal_has_slice_name();
1730 }
set_has_slice_name()1731 inline void TranslationTable::set_has_slice_name() {
1732 _impl_._oneof_case_[0] = kSliceName;
1733 }
clear_slice_name()1734 inline void TranslationTable::clear_slice_name() {
1735 if (_internal_has_slice_name()) {
1736 if (GetArenaForAllocation() == nullptr) {
1737 delete _impl_.table_.slice_name_;
1738 }
1739 clear_has_table();
1740 }
1741 }
release_slice_name()1742 inline ::perfetto::protos::SliceNameTranslationTable* TranslationTable::release_slice_name() {
1743 // @@protoc_insertion_point(field_release:perfetto.protos.TranslationTable.slice_name)
1744 if (_internal_has_slice_name()) {
1745 clear_has_table();
1746 ::perfetto::protos::SliceNameTranslationTable* temp = _impl_.table_.slice_name_;
1747 if (GetArenaForAllocation() != nullptr) {
1748 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1749 }
1750 _impl_.table_.slice_name_ = nullptr;
1751 return temp;
1752 } else {
1753 return nullptr;
1754 }
1755 }
_internal_slice_name()1756 inline const ::perfetto::protos::SliceNameTranslationTable& TranslationTable::_internal_slice_name() const {
1757 return _internal_has_slice_name()
1758 ? *_impl_.table_.slice_name_
1759 : reinterpret_cast< ::perfetto::protos::SliceNameTranslationTable&>(::perfetto::protos::_SliceNameTranslationTable_default_instance_);
1760 }
slice_name()1761 inline const ::perfetto::protos::SliceNameTranslationTable& TranslationTable::slice_name() const {
1762 // @@protoc_insertion_point(field_get:perfetto.protos.TranslationTable.slice_name)
1763 return _internal_slice_name();
1764 }
unsafe_arena_release_slice_name()1765 inline ::perfetto::protos::SliceNameTranslationTable* TranslationTable::unsafe_arena_release_slice_name() {
1766 // @@protoc_insertion_point(field_unsafe_arena_release:perfetto.protos.TranslationTable.slice_name)
1767 if (_internal_has_slice_name()) {
1768 clear_has_table();
1769 ::perfetto::protos::SliceNameTranslationTable* temp = _impl_.table_.slice_name_;
1770 _impl_.table_.slice_name_ = nullptr;
1771 return temp;
1772 } else {
1773 return nullptr;
1774 }
1775 }
unsafe_arena_set_allocated_slice_name(::perfetto::protos::SliceNameTranslationTable * slice_name)1776 inline void TranslationTable::unsafe_arena_set_allocated_slice_name(::perfetto::protos::SliceNameTranslationTable* slice_name) {
1777 clear_table();
1778 if (slice_name) {
1779 set_has_slice_name();
1780 _impl_.table_.slice_name_ = slice_name;
1781 }
1782 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:perfetto.protos.TranslationTable.slice_name)
1783 }
_internal_mutable_slice_name()1784 inline ::perfetto::protos::SliceNameTranslationTable* TranslationTable::_internal_mutable_slice_name() {
1785 if (!_internal_has_slice_name()) {
1786 clear_table();
1787 set_has_slice_name();
1788 _impl_.table_.slice_name_ = CreateMaybeMessage< ::perfetto::protos::SliceNameTranslationTable >(GetArenaForAllocation());
1789 }
1790 return _impl_.table_.slice_name_;
1791 }
mutable_slice_name()1792 inline ::perfetto::protos::SliceNameTranslationTable* TranslationTable::mutable_slice_name() {
1793 ::perfetto::protos::SliceNameTranslationTable* _msg = _internal_mutable_slice_name();
1794 // @@protoc_insertion_point(field_mutable:perfetto.protos.TranslationTable.slice_name)
1795 return _msg;
1796 }
1797
1798 // .perfetto.protos.ProcessTrackNameTranslationTable process_track_name = 5;
_internal_has_process_track_name()1799 inline bool TranslationTable::_internal_has_process_track_name() const {
1800 return table_case() == kProcessTrackName;
1801 }
has_process_track_name()1802 inline bool TranslationTable::has_process_track_name() const {
1803 return _internal_has_process_track_name();
1804 }
set_has_process_track_name()1805 inline void TranslationTable::set_has_process_track_name() {
1806 _impl_._oneof_case_[0] = kProcessTrackName;
1807 }
clear_process_track_name()1808 inline void TranslationTable::clear_process_track_name() {
1809 if (_internal_has_process_track_name()) {
1810 if (GetArenaForAllocation() == nullptr) {
1811 delete _impl_.table_.process_track_name_;
1812 }
1813 clear_has_table();
1814 }
1815 }
release_process_track_name()1816 inline ::perfetto::protos::ProcessTrackNameTranslationTable* TranslationTable::release_process_track_name() {
1817 // @@protoc_insertion_point(field_release:perfetto.protos.TranslationTable.process_track_name)
1818 if (_internal_has_process_track_name()) {
1819 clear_has_table();
1820 ::perfetto::protos::ProcessTrackNameTranslationTable* temp = _impl_.table_.process_track_name_;
1821 if (GetArenaForAllocation() != nullptr) {
1822 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1823 }
1824 _impl_.table_.process_track_name_ = nullptr;
1825 return temp;
1826 } else {
1827 return nullptr;
1828 }
1829 }
_internal_process_track_name()1830 inline const ::perfetto::protos::ProcessTrackNameTranslationTable& TranslationTable::_internal_process_track_name() const {
1831 return _internal_has_process_track_name()
1832 ? *_impl_.table_.process_track_name_
1833 : reinterpret_cast< ::perfetto::protos::ProcessTrackNameTranslationTable&>(::perfetto::protos::_ProcessTrackNameTranslationTable_default_instance_);
1834 }
process_track_name()1835 inline const ::perfetto::protos::ProcessTrackNameTranslationTable& TranslationTable::process_track_name() const {
1836 // @@protoc_insertion_point(field_get:perfetto.protos.TranslationTable.process_track_name)
1837 return _internal_process_track_name();
1838 }
unsafe_arena_release_process_track_name()1839 inline ::perfetto::protos::ProcessTrackNameTranslationTable* TranslationTable::unsafe_arena_release_process_track_name() {
1840 // @@protoc_insertion_point(field_unsafe_arena_release:perfetto.protos.TranslationTable.process_track_name)
1841 if (_internal_has_process_track_name()) {
1842 clear_has_table();
1843 ::perfetto::protos::ProcessTrackNameTranslationTable* temp = _impl_.table_.process_track_name_;
1844 _impl_.table_.process_track_name_ = nullptr;
1845 return temp;
1846 } else {
1847 return nullptr;
1848 }
1849 }
unsafe_arena_set_allocated_process_track_name(::perfetto::protos::ProcessTrackNameTranslationTable * process_track_name)1850 inline void TranslationTable::unsafe_arena_set_allocated_process_track_name(::perfetto::protos::ProcessTrackNameTranslationTable* process_track_name) {
1851 clear_table();
1852 if (process_track_name) {
1853 set_has_process_track_name();
1854 _impl_.table_.process_track_name_ = process_track_name;
1855 }
1856 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:perfetto.protos.TranslationTable.process_track_name)
1857 }
_internal_mutable_process_track_name()1858 inline ::perfetto::protos::ProcessTrackNameTranslationTable* TranslationTable::_internal_mutable_process_track_name() {
1859 if (!_internal_has_process_track_name()) {
1860 clear_table();
1861 set_has_process_track_name();
1862 _impl_.table_.process_track_name_ = CreateMaybeMessage< ::perfetto::protos::ProcessTrackNameTranslationTable >(GetArenaForAllocation());
1863 }
1864 return _impl_.table_.process_track_name_;
1865 }
mutable_process_track_name()1866 inline ::perfetto::protos::ProcessTrackNameTranslationTable* TranslationTable::mutable_process_track_name() {
1867 ::perfetto::protos::ProcessTrackNameTranslationTable* _msg = _internal_mutable_process_track_name();
1868 // @@protoc_insertion_point(field_mutable:perfetto.protos.TranslationTable.process_track_name)
1869 return _msg;
1870 }
1871
1872 // .perfetto.protos.ChromeStudyTranslationTable chrome_study = 6;
_internal_has_chrome_study()1873 inline bool TranslationTable::_internal_has_chrome_study() const {
1874 return table_case() == kChromeStudy;
1875 }
has_chrome_study()1876 inline bool TranslationTable::has_chrome_study() const {
1877 return _internal_has_chrome_study();
1878 }
set_has_chrome_study()1879 inline void TranslationTable::set_has_chrome_study() {
1880 _impl_._oneof_case_[0] = kChromeStudy;
1881 }
clear_chrome_study()1882 inline void TranslationTable::clear_chrome_study() {
1883 if (_internal_has_chrome_study()) {
1884 if (GetArenaForAllocation() == nullptr) {
1885 delete _impl_.table_.chrome_study_;
1886 }
1887 clear_has_table();
1888 }
1889 }
release_chrome_study()1890 inline ::perfetto::protos::ChromeStudyTranslationTable* TranslationTable::release_chrome_study() {
1891 // @@protoc_insertion_point(field_release:perfetto.protos.TranslationTable.chrome_study)
1892 if (_internal_has_chrome_study()) {
1893 clear_has_table();
1894 ::perfetto::protos::ChromeStudyTranslationTable* temp = _impl_.table_.chrome_study_;
1895 if (GetArenaForAllocation() != nullptr) {
1896 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1897 }
1898 _impl_.table_.chrome_study_ = nullptr;
1899 return temp;
1900 } else {
1901 return nullptr;
1902 }
1903 }
_internal_chrome_study()1904 inline const ::perfetto::protos::ChromeStudyTranslationTable& TranslationTable::_internal_chrome_study() const {
1905 return _internal_has_chrome_study()
1906 ? *_impl_.table_.chrome_study_
1907 : reinterpret_cast< ::perfetto::protos::ChromeStudyTranslationTable&>(::perfetto::protos::_ChromeStudyTranslationTable_default_instance_);
1908 }
chrome_study()1909 inline const ::perfetto::protos::ChromeStudyTranslationTable& TranslationTable::chrome_study() const {
1910 // @@protoc_insertion_point(field_get:perfetto.protos.TranslationTable.chrome_study)
1911 return _internal_chrome_study();
1912 }
unsafe_arena_release_chrome_study()1913 inline ::perfetto::protos::ChromeStudyTranslationTable* TranslationTable::unsafe_arena_release_chrome_study() {
1914 // @@protoc_insertion_point(field_unsafe_arena_release:perfetto.protos.TranslationTable.chrome_study)
1915 if (_internal_has_chrome_study()) {
1916 clear_has_table();
1917 ::perfetto::protos::ChromeStudyTranslationTable* temp = _impl_.table_.chrome_study_;
1918 _impl_.table_.chrome_study_ = nullptr;
1919 return temp;
1920 } else {
1921 return nullptr;
1922 }
1923 }
unsafe_arena_set_allocated_chrome_study(::perfetto::protos::ChromeStudyTranslationTable * chrome_study)1924 inline void TranslationTable::unsafe_arena_set_allocated_chrome_study(::perfetto::protos::ChromeStudyTranslationTable* chrome_study) {
1925 clear_table();
1926 if (chrome_study) {
1927 set_has_chrome_study();
1928 _impl_.table_.chrome_study_ = chrome_study;
1929 }
1930 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:perfetto.protos.TranslationTable.chrome_study)
1931 }
_internal_mutable_chrome_study()1932 inline ::perfetto::protos::ChromeStudyTranslationTable* TranslationTable::_internal_mutable_chrome_study() {
1933 if (!_internal_has_chrome_study()) {
1934 clear_table();
1935 set_has_chrome_study();
1936 _impl_.table_.chrome_study_ = CreateMaybeMessage< ::perfetto::protos::ChromeStudyTranslationTable >(GetArenaForAllocation());
1937 }
1938 return _impl_.table_.chrome_study_;
1939 }
mutable_chrome_study()1940 inline ::perfetto::protos::ChromeStudyTranslationTable* TranslationTable::mutable_chrome_study() {
1941 ::perfetto::protos::ChromeStudyTranslationTable* _msg = _internal_mutable_chrome_study();
1942 // @@protoc_insertion_point(field_mutable:perfetto.protos.TranslationTable.chrome_study)
1943 return _msg;
1944 }
1945
has_table()1946 inline bool TranslationTable::has_table() const {
1947 return table_case() != TABLE_NOT_SET;
1948 }
clear_has_table()1949 inline void TranslationTable::clear_has_table() {
1950 _impl_._oneof_case_[0] = TABLE_NOT_SET;
1951 }
table_case()1952 inline TranslationTable::TableCase TranslationTable::table_case() const {
1953 return TranslationTable::TableCase(_impl_._oneof_case_[0]);
1954 }
1955 // -------------------------------------------------------------------
1956
1957 // -------------------------------------------------------------------
1958
1959 // ChromeHistorgramTranslationTable
1960
1961 // map<uint64, string> hash_to_name = 1;
_internal_hash_to_name_size()1962 inline int ChromeHistorgramTranslationTable::_internal_hash_to_name_size() const {
1963 return _impl_.hash_to_name_.size();
1964 }
hash_to_name_size()1965 inline int ChromeHistorgramTranslationTable::hash_to_name_size() const {
1966 return _internal_hash_to_name_size();
1967 }
clear_hash_to_name()1968 inline void ChromeHistorgramTranslationTable::clear_hash_to_name() {
1969 _impl_.hash_to_name_.Clear();
1970 }
1971 inline const ::PROTOBUF_NAMESPACE_ID::Map< ::uint64_t, std::string >&
_internal_hash_to_name()1972 ChromeHistorgramTranslationTable::_internal_hash_to_name() const {
1973 return _impl_.hash_to_name_.GetMap();
1974 }
1975 inline const ::PROTOBUF_NAMESPACE_ID::Map< ::uint64_t, std::string >&
hash_to_name()1976 ChromeHistorgramTranslationTable::hash_to_name() const {
1977 // @@protoc_insertion_point(field_map:perfetto.protos.ChromeHistorgramTranslationTable.hash_to_name)
1978 return _internal_hash_to_name();
1979 }
1980 inline ::PROTOBUF_NAMESPACE_ID::Map< ::uint64_t, std::string >*
_internal_mutable_hash_to_name()1981 ChromeHistorgramTranslationTable::_internal_mutable_hash_to_name() {
1982 return _impl_.hash_to_name_.MutableMap();
1983 }
1984 inline ::PROTOBUF_NAMESPACE_ID::Map< ::uint64_t, std::string >*
mutable_hash_to_name()1985 ChromeHistorgramTranslationTable::mutable_hash_to_name() {
1986 // @@protoc_insertion_point(field_mutable_map:perfetto.protos.ChromeHistorgramTranslationTable.hash_to_name)
1987 return _internal_mutable_hash_to_name();
1988 }
1989
1990 // -------------------------------------------------------------------
1991
1992 // -------------------------------------------------------------------
1993
1994 // ChromeUserEventTranslationTable
1995
1996 // map<uint64, string> action_hash_to_name = 1;
_internal_action_hash_to_name_size()1997 inline int ChromeUserEventTranslationTable::_internal_action_hash_to_name_size() const {
1998 return _impl_.action_hash_to_name_.size();
1999 }
action_hash_to_name_size()2000 inline int ChromeUserEventTranslationTable::action_hash_to_name_size() const {
2001 return _internal_action_hash_to_name_size();
2002 }
clear_action_hash_to_name()2003 inline void ChromeUserEventTranslationTable::clear_action_hash_to_name() {
2004 _impl_.action_hash_to_name_.Clear();
2005 }
2006 inline const ::PROTOBUF_NAMESPACE_ID::Map< ::uint64_t, std::string >&
_internal_action_hash_to_name()2007 ChromeUserEventTranslationTable::_internal_action_hash_to_name() const {
2008 return _impl_.action_hash_to_name_.GetMap();
2009 }
2010 inline const ::PROTOBUF_NAMESPACE_ID::Map< ::uint64_t, std::string >&
action_hash_to_name()2011 ChromeUserEventTranslationTable::action_hash_to_name() const {
2012 // @@protoc_insertion_point(field_map:perfetto.protos.ChromeUserEventTranslationTable.action_hash_to_name)
2013 return _internal_action_hash_to_name();
2014 }
2015 inline ::PROTOBUF_NAMESPACE_ID::Map< ::uint64_t, std::string >*
_internal_mutable_action_hash_to_name()2016 ChromeUserEventTranslationTable::_internal_mutable_action_hash_to_name() {
2017 return _impl_.action_hash_to_name_.MutableMap();
2018 }
2019 inline ::PROTOBUF_NAMESPACE_ID::Map< ::uint64_t, std::string >*
mutable_action_hash_to_name()2020 ChromeUserEventTranslationTable::mutable_action_hash_to_name() {
2021 // @@protoc_insertion_point(field_mutable_map:perfetto.protos.ChromeUserEventTranslationTable.action_hash_to_name)
2022 return _internal_mutable_action_hash_to_name();
2023 }
2024
2025 // -------------------------------------------------------------------
2026
2027 // -------------------------------------------------------------------
2028
2029 // -------------------------------------------------------------------
2030
2031 // ChromePerformanceMarkTranslationTable
2032
2033 // map<uint32, string> site_hash_to_name = 1;
_internal_site_hash_to_name_size()2034 inline int ChromePerformanceMarkTranslationTable::_internal_site_hash_to_name_size() const {
2035 return _impl_.site_hash_to_name_.size();
2036 }
site_hash_to_name_size()2037 inline int ChromePerformanceMarkTranslationTable::site_hash_to_name_size() const {
2038 return _internal_site_hash_to_name_size();
2039 }
clear_site_hash_to_name()2040 inline void ChromePerformanceMarkTranslationTable::clear_site_hash_to_name() {
2041 _impl_.site_hash_to_name_.Clear();
2042 }
2043 inline const ::PROTOBUF_NAMESPACE_ID::Map< ::uint32_t, std::string >&
_internal_site_hash_to_name()2044 ChromePerformanceMarkTranslationTable::_internal_site_hash_to_name() const {
2045 return _impl_.site_hash_to_name_.GetMap();
2046 }
2047 inline const ::PROTOBUF_NAMESPACE_ID::Map< ::uint32_t, std::string >&
site_hash_to_name()2048 ChromePerformanceMarkTranslationTable::site_hash_to_name() const {
2049 // @@protoc_insertion_point(field_map:perfetto.protos.ChromePerformanceMarkTranslationTable.site_hash_to_name)
2050 return _internal_site_hash_to_name();
2051 }
2052 inline ::PROTOBUF_NAMESPACE_ID::Map< ::uint32_t, std::string >*
_internal_mutable_site_hash_to_name()2053 ChromePerformanceMarkTranslationTable::_internal_mutable_site_hash_to_name() {
2054 return _impl_.site_hash_to_name_.MutableMap();
2055 }
2056 inline ::PROTOBUF_NAMESPACE_ID::Map< ::uint32_t, std::string >*
mutable_site_hash_to_name()2057 ChromePerformanceMarkTranslationTable::mutable_site_hash_to_name() {
2058 // @@protoc_insertion_point(field_mutable_map:perfetto.protos.ChromePerformanceMarkTranslationTable.site_hash_to_name)
2059 return _internal_mutable_site_hash_to_name();
2060 }
2061
2062 // map<uint32, string> mark_hash_to_name = 2;
_internal_mark_hash_to_name_size()2063 inline int ChromePerformanceMarkTranslationTable::_internal_mark_hash_to_name_size() const {
2064 return _impl_.mark_hash_to_name_.size();
2065 }
mark_hash_to_name_size()2066 inline int ChromePerformanceMarkTranslationTable::mark_hash_to_name_size() const {
2067 return _internal_mark_hash_to_name_size();
2068 }
clear_mark_hash_to_name()2069 inline void ChromePerformanceMarkTranslationTable::clear_mark_hash_to_name() {
2070 _impl_.mark_hash_to_name_.Clear();
2071 }
2072 inline const ::PROTOBUF_NAMESPACE_ID::Map< ::uint32_t, std::string >&
_internal_mark_hash_to_name()2073 ChromePerformanceMarkTranslationTable::_internal_mark_hash_to_name() const {
2074 return _impl_.mark_hash_to_name_.GetMap();
2075 }
2076 inline const ::PROTOBUF_NAMESPACE_ID::Map< ::uint32_t, std::string >&
mark_hash_to_name()2077 ChromePerformanceMarkTranslationTable::mark_hash_to_name() const {
2078 // @@protoc_insertion_point(field_map:perfetto.protos.ChromePerformanceMarkTranslationTable.mark_hash_to_name)
2079 return _internal_mark_hash_to_name();
2080 }
2081 inline ::PROTOBUF_NAMESPACE_ID::Map< ::uint32_t, std::string >*
_internal_mutable_mark_hash_to_name()2082 ChromePerformanceMarkTranslationTable::_internal_mutable_mark_hash_to_name() {
2083 return _impl_.mark_hash_to_name_.MutableMap();
2084 }
2085 inline ::PROTOBUF_NAMESPACE_ID::Map< ::uint32_t, std::string >*
mutable_mark_hash_to_name()2086 ChromePerformanceMarkTranslationTable::mutable_mark_hash_to_name() {
2087 // @@protoc_insertion_point(field_mutable_map:perfetto.protos.ChromePerformanceMarkTranslationTable.mark_hash_to_name)
2088 return _internal_mutable_mark_hash_to_name();
2089 }
2090
2091 // -------------------------------------------------------------------
2092
2093 // -------------------------------------------------------------------
2094
2095 // SliceNameTranslationTable
2096
2097 // map<string, string> raw_to_deobfuscated_name = 1;
_internal_raw_to_deobfuscated_name_size()2098 inline int SliceNameTranslationTable::_internal_raw_to_deobfuscated_name_size() const {
2099 return _impl_.raw_to_deobfuscated_name_.size();
2100 }
raw_to_deobfuscated_name_size()2101 inline int SliceNameTranslationTable::raw_to_deobfuscated_name_size() const {
2102 return _internal_raw_to_deobfuscated_name_size();
2103 }
clear_raw_to_deobfuscated_name()2104 inline void SliceNameTranslationTable::clear_raw_to_deobfuscated_name() {
2105 _impl_.raw_to_deobfuscated_name_.Clear();
2106 }
2107 inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >&
_internal_raw_to_deobfuscated_name()2108 SliceNameTranslationTable::_internal_raw_to_deobfuscated_name() const {
2109 return _impl_.raw_to_deobfuscated_name_.GetMap();
2110 }
2111 inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >&
raw_to_deobfuscated_name()2112 SliceNameTranslationTable::raw_to_deobfuscated_name() const {
2113 // @@protoc_insertion_point(field_map:perfetto.protos.SliceNameTranslationTable.raw_to_deobfuscated_name)
2114 return _internal_raw_to_deobfuscated_name();
2115 }
2116 inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >*
_internal_mutable_raw_to_deobfuscated_name()2117 SliceNameTranslationTable::_internal_mutable_raw_to_deobfuscated_name() {
2118 return _impl_.raw_to_deobfuscated_name_.MutableMap();
2119 }
2120 inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >*
mutable_raw_to_deobfuscated_name()2121 SliceNameTranslationTable::mutable_raw_to_deobfuscated_name() {
2122 // @@protoc_insertion_point(field_mutable_map:perfetto.protos.SliceNameTranslationTable.raw_to_deobfuscated_name)
2123 return _internal_mutable_raw_to_deobfuscated_name();
2124 }
2125
2126 // -------------------------------------------------------------------
2127
2128 // -------------------------------------------------------------------
2129
2130 // ProcessTrackNameTranslationTable
2131
2132 // map<string, string> raw_to_deobfuscated_name = 1;
_internal_raw_to_deobfuscated_name_size()2133 inline int ProcessTrackNameTranslationTable::_internal_raw_to_deobfuscated_name_size() const {
2134 return _impl_.raw_to_deobfuscated_name_.size();
2135 }
raw_to_deobfuscated_name_size()2136 inline int ProcessTrackNameTranslationTable::raw_to_deobfuscated_name_size() const {
2137 return _internal_raw_to_deobfuscated_name_size();
2138 }
clear_raw_to_deobfuscated_name()2139 inline void ProcessTrackNameTranslationTable::clear_raw_to_deobfuscated_name() {
2140 _impl_.raw_to_deobfuscated_name_.Clear();
2141 }
2142 inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >&
_internal_raw_to_deobfuscated_name()2143 ProcessTrackNameTranslationTable::_internal_raw_to_deobfuscated_name() const {
2144 return _impl_.raw_to_deobfuscated_name_.GetMap();
2145 }
2146 inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >&
raw_to_deobfuscated_name()2147 ProcessTrackNameTranslationTable::raw_to_deobfuscated_name() const {
2148 // @@protoc_insertion_point(field_map:perfetto.protos.ProcessTrackNameTranslationTable.raw_to_deobfuscated_name)
2149 return _internal_raw_to_deobfuscated_name();
2150 }
2151 inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >*
_internal_mutable_raw_to_deobfuscated_name()2152 ProcessTrackNameTranslationTable::_internal_mutable_raw_to_deobfuscated_name() {
2153 return _impl_.raw_to_deobfuscated_name_.MutableMap();
2154 }
2155 inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >*
mutable_raw_to_deobfuscated_name()2156 ProcessTrackNameTranslationTable::mutable_raw_to_deobfuscated_name() {
2157 // @@protoc_insertion_point(field_mutable_map:perfetto.protos.ProcessTrackNameTranslationTable.raw_to_deobfuscated_name)
2158 return _internal_mutable_raw_to_deobfuscated_name();
2159 }
2160
2161 // -------------------------------------------------------------------
2162
2163 // -------------------------------------------------------------------
2164
2165 // ChromeStudyTranslationTable
2166
2167 // map<uint64, string> hash_to_name = 1;
_internal_hash_to_name_size()2168 inline int ChromeStudyTranslationTable::_internal_hash_to_name_size() const {
2169 return _impl_.hash_to_name_.size();
2170 }
hash_to_name_size()2171 inline int ChromeStudyTranslationTable::hash_to_name_size() const {
2172 return _internal_hash_to_name_size();
2173 }
clear_hash_to_name()2174 inline void ChromeStudyTranslationTable::clear_hash_to_name() {
2175 _impl_.hash_to_name_.Clear();
2176 }
2177 inline const ::PROTOBUF_NAMESPACE_ID::Map< ::uint64_t, std::string >&
_internal_hash_to_name()2178 ChromeStudyTranslationTable::_internal_hash_to_name() const {
2179 return _impl_.hash_to_name_.GetMap();
2180 }
2181 inline const ::PROTOBUF_NAMESPACE_ID::Map< ::uint64_t, std::string >&
hash_to_name()2182 ChromeStudyTranslationTable::hash_to_name() const {
2183 // @@protoc_insertion_point(field_map:perfetto.protos.ChromeStudyTranslationTable.hash_to_name)
2184 return _internal_hash_to_name();
2185 }
2186 inline ::PROTOBUF_NAMESPACE_ID::Map< ::uint64_t, std::string >*
_internal_mutable_hash_to_name()2187 ChromeStudyTranslationTable::_internal_mutable_hash_to_name() {
2188 return _impl_.hash_to_name_.MutableMap();
2189 }
2190 inline ::PROTOBUF_NAMESPACE_ID::Map< ::uint64_t, std::string >*
mutable_hash_to_name()2191 ChromeStudyTranslationTable::mutable_hash_to_name() {
2192 // @@protoc_insertion_point(field_mutable_map:perfetto.protos.ChromeStudyTranslationTable.hash_to_name)
2193 return _internal_mutable_hash_to_name();
2194 }
2195
2196 #ifdef __GNUC__
2197 #pragma GCC diagnostic pop
2198 #endif // __GNUC__
2199 // -------------------------------------------------------------------
2200
2201 // -------------------------------------------------------------------
2202
2203 // -------------------------------------------------------------------
2204
2205 // -------------------------------------------------------------------
2206
2207 // -------------------------------------------------------------------
2208
2209 // -------------------------------------------------------------------
2210
2211 // -------------------------------------------------------------------
2212
2213 // -------------------------------------------------------------------
2214
2215 // -------------------------------------------------------------------
2216
2217 // -------------------------------------------------------------------
2218
2219 // -------------------------------------------------------------------
2220
2221 // -------------------------------------------------------------------
2222
2223 // -------------------------------------------------------------------
2224
2225
2226 // @@protoc_insertion_point(namespace_scope)
2227
2228 } // namespace protos
2229 } // namespace perfetto
2230
2231 // @@protoc_insertion_point(global_scope)
2232
2233 #include <google/protobuf/port_undef.inc>
2234 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_protos_2fperfetto_2ftrace_2ftranslation_2ftranslation_5ftable_2eproto
2235