Line | Count | Source |
1 | | // Generated by the protocol buffer compiler. DO NOT EDIT! |
2 | | // NO CHECKED-IN PROTOBUF GENCODE |
3 | | // source: bloaty.proto |
4 | | // Protobuf C++ Version: 6.31.1 |
5 | | |
6 | | #ifndef bloaty_2eproto_2epb_2eh |
7 | | #define bloaty_2eproto_2epb_2eh |
8 | | |
9 | | #include <limits> |
10 | | #include <string> |
11 | | #include <type_traits> |
12 | | #include <utility> |
13 | | |
14 | | #include "google/protobuf/runtime_version.h" |
15 | | #if PROTOBUF_VERSION != 6031001 |
16 | | #error "Protobuf C++ gencode is built with an incompatible version of" |
17 | | #error "Protobuf C++ headers/runtime. See" |
18 | | #error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp" |
19 | | #endif |
20 | | #include "google/protobuf/io/coded_stream.h" |
21 | | #include "google/protobuf/arena.h" |
22 | | #include "google/protobuf/arenastring.h" |
23 | | #include "google/protobuf/generated_message_tctable_decl.h" |
24 | | #include "google/protobuf/generated_message_util.h" |
25 | | #include "google/protobuf/metadata_lite.h" |
26 | | #include "google/protobuf/generated_message_reflection.h" |
27 | | #include "google/protobuf/message.h" |
28 | | #include "google/protobuf/message_lite.h" |
29 | | #include "google/protobuf/repeated_field.h" // IWYU pragma: export |
30 | | #include "google/protobuf/extension_set.h" // IWYU pragma: export |
31 | | #include "google/protobuf/generated_enum_reflection.h" |
32 | | #include "google/protobuf/unknown_field_set.h" |
33 | | // @@protoc_insertion_point(includes) |
34 | | |
35 | | // Must be included last. |
36 | | #include "google/protobuf/port_def.inc" |
37 | | |
38 | | #define PROTOBUF_INTERNAL_EXPORT_bloaty_2eproto |
39 | | |
40 | | namespace google { |
41 | | namespace protobuf { |
42 | | namespace internal { |
43 | | template <typename T> |
44 | | ::absl::string_view GetAnyMessageName(); |
45 | | } // namespace internal |
46 | | } // namespace protobuf |
47 | | } // namespace google |
48 | | |
49 | | // Internal implementation detail -- do not use these members. |
50 | | struct TableStruct_bloaty_2eproto { |
51 | | static const ::uint32_t offsets[]; |
52 | | }; |
53 | | extern "C" { |
54 | | extern const ::google::protobuf::internal::DescriptorTable descriptor_table_bloaty_2eproto; |
55 | | } // extern "C" |
56 | | namespace bloaty { |
57 | | enum Options_Demangle : int; |
58 | | extern const uint32_t Options_Demangle_internal_data_[]; |
59 | | enum Options_SortBy : int; |
60 | | extern const uint32_t Options_SortBy_internal_data_[]; |
61 | | class CustomDataSource; |
62 | | struct CustomDataSourceDefaultTypeInternal; |
63 | | extern CustomDataSourceDefaultTypeInternal _CustomDataSource_default_instance_; |
64 | | extern const ::google::protobuf::internal::ClassDataFull CustomDataSource_class_data_; |
65 | | class Options; |
66 | | struct OptionsDefaultTypeInternal; |
67 | | extern OptionsDefaultTypeInternal _Options_default_instance_; |
68 | | extern const ::google::protobuf::internal::ClassDataFull Options_class_data_; |
69 | | class Regex; |
70 | | struct RegexDefaultTypeInternal; |
71 | | extern RegexDefaultTypeInternal _Regex_default_instance_; |
72 | | extern const ::google::protobuf::internal::ClassDataFull Regex_class_data_; |
73 | | } // namespace bloaty |
74 | | namespace google { |
75 | | namespace protobuf { |
76 | | template <> |
77 | | internal::EnumTraitsT<::bloaty::Options_Demangle_internal_data_> |
78 | | internal::EnumTraitsImpl::value<::bloaty::Options_Demangle>; |
79 | | template <> |
80 | | internal::EnumTraitsT<::bloaty::Options_SortBy_internal_data_> |
81 | | internal::EnumTraitsImpl::value<::bloaty::Options_SortBy>; |
82 | | } // namespace protobuf |
83 | | } // namespace google |
84 | | |
85 | | namespace bloaty { |
86 | | enum Options_Demangle : int { |
87 | | Options_Demangle_DEMANGLE_SHORT = 0, |
88 | | Options_Demangle_DEMANGLE_FULL = 1, |
89 | | Options_Demangle_DEMANGLE_NONE = 2, |
90 | | }; |
91 | | |
92 | | extern const uint32_t Options_Demangle_internal_data_[]; |
93 | | inline constexpr Options_Demangle Options_Demangle_Demangle_MIN = |
94 | | static_cast<Options_Demangle>(0); |
95 | | inline constexpr Options_Demangle Options_Demangle_Demangle_MAX = |
96 | | static_cast<Options_Demangle>(2); |
97 | 0 | inline bool Options_Demangle_IsValid(int value) { |
98 | 0 | return 0 <= value && value <= 2; |
99 | 0 | } |
100 | | inline constexpr int Options_Demangle_Demangle_ARRAYSIZE = 2 + 1; |
101 | | const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL Options_Demangle_descriptor(); |
102 | | template <typename T> |
103 | | const ::std::string& Options_Demangle_Name(T value) { |
104 | | static_assert(::std::is_same<T, Options_Demangle>::value || |
105 | | ::std::is_integral<T>::value, |
106 | | "Incorrect type passed to Demangle_Name()."); |
107 | | return Options_Demangle_Name(static_cast<Options_Demangle>(value)); |
108 | | } |
109 | | template <> |
110 | 0 | inline const ::std::string& Options_Demangle_Name(Options_Demangle value) { |
111 | 0 | return ::google::protobuf::internal::NameOfDenseEnum<Options_Demangle_descriptor, 0, 2>( |
112 | 0 | static_cast<int>(value)); |
113 | 0 | } |
114 | | inline bool Options_Demangle_Parse( |
115 | 0 | ::absl::string_view name, Options_Demangle* PROTOBUF_NONNULL value) { |
116 | 0 | return ::google::protobuf::internal::ParseNamedEnum<Options_Demangle>(Options_Demangle_descriptor(), name, |
117 | 0 | value); |
118 | 0 | } |
119 | | enum Options_SortBy : int { |
120 | | Options_SortBy_SORTBY_BOTH = 0, |
121 | | Options_SortBy_SORTBY_VMSIZE = 1, |
122 | | Options_SortBy_SORTBY_FILESIZE = 2, |
123 | | }; |
124 | | |
125 | | extern const uint32_t Options_SortBy_internal_data_[]; |
126 | | inline constexpr Options_SortBy Options_SortBy_SortBy_MIN = |
127 | | static_cast<Options_SortBy>(0); |
128 | | inline constexpr Options_SortBy Options_SortBy_SortBy_MAX = |
129 | | static_cast<Options_SortBy>(2); |
130 | 0 | inline bool Options_SortBy_IsValid(int value) { |
131 | 0 | return 0 <= value && value <= 2; |
132 | 0 | } |
133 | | inline constexpr int Options_SortBy_SortBy_ARRAYSIZE = 2 + 1; |
134 | | const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL Options_SortBy_descriptor(); |
135 | | template <typename T> |
136 | | const ::std::string& Options_SortBy_Name(T value) { |
137 | | static_assert(::std::is_same<T, Options_SortBy>::value || |
138 | | ::std::is_integral<T>::value, |
139 | | "Incorrect type passed to SortBy_Name()."); |
140 | | return Options_SortBy_Name(static_cast<Options_SortBy>(value)); |
141 | | } |
142 | | template <> |
143 | 0 | inline const ::std::string& Options_SortBy_Name(Options_SortBy value) { |
144 | 0 | return ::google::protobuf::internal::NameOfDenseEnum<Options_SortBy_descriptor, 0, 2>( |
145 | 0 | static_cast<int>(value)); |
146 | 0 | } |
147 | | inline bool Options_SortBy_Parse( |
148 | 0 | ::absl::string_view name, Options_SortBy* PROTOBUF_NONNULL value) { |
149 | 0 | return ::google::protobuf::internal::ParseNamedEnum<Options_SortBy>(Options_SortBy_descriptor(), name, |
150 | 0 | value); |
151 | 0 | } |
152 | | |
153 | | // =================================================================== |
154 | | |
155 | | |
156 | | // ------------------------------------------------------------------- |
157 | | |
158 | | class Regex final : public ::google::protobuf::Message |
159 | | /* @@protoc_insertion_point(class_definition:bloaty.Regex) */ { |
160 | | public: |
161 | 0 | inline Regex() : Regex(nullptr) {} |
162 | | ~Regex() PROTOBUF_FINAL; |
163 | | |
164 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
165 | | void operator delete(Regex* PROTOBUF_NONNULL msg, std::destroying_delete_t) { |
166 | | SharedDtor(*msg); |
167 | | ::google::protobuf::internal::SizedDelete(msg, sizeof(Regex)); |
168 | | } |
169 | | #endif |
170 | | |
171 | | template <typename = void> |
172 | | explicit PROTOBUF_CONSTEXPR Regex(::google::protobuf::internal::ConstantInitialized); |
173 | | |
174 | 0 | inline Regex(const Regex& from) : Regex(nullptr, from) {} |
175 | | inline Regex(Regex&& from) noexcept |
176 | 0 | : Regex(nullptr, ::std::move(from)) {} |
177 | 0 | inline Regex& operator=(const Regex& from) { |
178 | 0 | CopyFrom(from); |
179 | 0 | return *this; |
180 | 0 | } |
181 | 0 | inline Regex& operator=(Regex&& from) noexcept { |
182 | 0 | if (this == &from) return *this; |
183 | 0 | if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
184 | 0 | InternalSwap(&from); |
185 | 0 | } else { |
186 | 0 | CopyFrom(from); |
187 | 0 | } |
188 | 0 | return *this; |
189 | 0 | } |
190 | | |
191 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
192 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
193 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
194 | 0 | } |
195 | | inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() |
196 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
197 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
198 | 0 | } |
199 | | |
200 | 0 | static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { |
201 | 0 | return GetDescriptor(); |
202 | 0 | } |
203 | 0 | static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { |
204 | 0 | return default_instance().GetMetadata().descriptor; |
205 | 0 | } |
206 | 0 | static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() { |
207 | 0 | return default_instance().GetMetadata().reflection; |
208 | 0 | } |
209 | 0 | static const Regex& default_instance() { |
210 | 0 | return *reinterpret_cast<const Regex*>( |
211 | 0 | &_Regex_default_instance_); |
212 | 0 | } |
213 | | static constexpr int kIndexInFileMessages = 2; |
214 | 0 | friend void swap(Regex& a, Regex& b) { a.Swap(&b); } |
215 | 0 | inline void Swap(Regex* PROTOBUF_NONNULL other) { |
216 | 0 | if (other == this) return; |
217 | 0 | if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { |
218 | 0 | InternalSwap(other); |
219 | 0 | } else { |
220 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
221 | 0 | } |
222 | 0 | } |
223 | 0 | void UnsafeArenaSwap(Regex* PROTOBUF_NONNULL other) { |
224 | 0 | if (other == this) return; |
225 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
226 | 0 | InternalSwap(other); |
227 | 0 | } |
228 | | |
229 | | // implements Message ---------------------------------------------- |
230 | | |
231 | 0 | Regex* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { |
232 | 0 | return ::google::protobuf::Message::DefaultConstruct<Regex>(arena); |
233 | 0 | } |
234 | | using ::google::protobuf::Message::CopyFrom; |
235 | | void CopyFrom(const Regex& from); |
236 | | using ::google::protobuf::Message::MergeFrom; |
237 | 0 | void MergeFrom(const Regex& from) { Regex::MergeImpl(*this, from); } |
238 | | |
239 | | private: |
240 | | static void MergeImpl(::google::protobuf::MessageLite& to_msg, |
241 | | const ::google::protobuf::MessageLite& from_msg); |
242 | | |
243 | | public: |
244 | 0 | bool IsInitialized() const { |
245 | 0 | return true; |
246 | 0 | } |
247 | | ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; |
248 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
249 | | private: |
250 | | static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); |
251 | | static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( |
252 | | const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, |
253 | | ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); |
254 | | |
255 | | public: |
256 | | ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } |
257 | | ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( |
258 | | ::uint8_t* PROTOBUF_NONNULL target, |
259 | | ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { |
260 | | return _InternalSerialize(*this, target, stream); |
261 | | } |
262 | | #else // PROTOBUF_CUSTOM_VTABLE |
263 | | ::size_t ByteSizeLong() const final; |
264 | | ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( |
265 | | ::uint8_t* PROTOBUF_NONNULL target, |
266 | | ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; |
267 | | #endif // PROTOBUF_CUSTOM_VTABLE |
268 | 0 | int GetCachedSize() const { return _impl_._cached_size_.Get(); } |
269 | | |
270 | | private: |
271 | | void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); |
272 | | static void SharedDtor(MessageLite& self); |
273 | | void InternalSwap(Regex* PROTOBUF_NONNULL other); |
274 | | private: |
275 | | template <typename T> |
276 | | friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); |
277 | 0 | static ::absl::string_view FullMessageName() { return "bloaty.Regex"; } |
278 | | |
279 | | protected: |
280 | | explicit Regex(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); |
281 | | Regex(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Regex& from); |
282 | | Regex( |
283 | | ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, Regex&& from) noexcept |
284 | 0 | : Regex(arena) { |
285 | 0 | *this = ::std::move(from); |
286 | 0 | } |
287 | | const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; |
288 | | static void* PROTOBUF_NONNULL PlacementNew_( |
289 | | const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, |
290 | | ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); |
291 | | static constexpr auto InternalNewImpl_(); |
292 | | |
293 | | public: |
294 | | static constexpr auto InternalGenerateClassData_(); |
295 | | |
296 | | ::google::protobuf::Metadata GetMetadata() const; |
297 | | // nested types ---------------------------------------------------- |
298 | | |
299 | | // accessors ------------------------------------------------------- |
300 | | enum : int { |
301 | | kPatternFieldNumber = 1, |
302 | | kReplacementFieldNumber = 2, |
303 | | }; |
304 | | // optional string pattern = 1; |
305 | | bool has_pattern() const; |
306 | | void clear_pattern() ; |
307 | | const ::std::string& pattern() const; |
308 | | template <typename Arg_ = const ::std::string&, typename... Args_> |
309 | | void set_pattern(Arg_&& arg, Args_... args); |
310 | | ::std::string* PROTOBUF_NONNULL mutable_pattern(); |
311 | | [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_pattern(); |
312 | | void set_allocated_pattern(::std::string* PROTOBUF_NULLABLE value); |
313 | | |
314 | | private: |
315 | | const ::std::string& _internal_pattern() const; |
316 | | PROTOBUF_ALWAYS_INLINE void _internal_set_pattern(const ::std::string& value); |
317 | | ::std::string* PROTOBUF_NONNULL _internal_mutable_pattern(); |
318 | | |
319 | | public: |
320 | | // optional string replacement = 2; |
321 | | bool has_replacement() const; |
322 | | void clear_replacement() ; |
323 | | const ::std::string& replacement() const; |
324 | | template <typename Arg_ = const ::std::string&, typename... Args_> |
325 | | void set_replacement(Arg_&& arg, Args_... args); |
326 | | ::std::string* PROTOBUF_NONNULL mutable_replacement(); |
327 | | [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_replacement(); |
328 | | void set_allocated_replacement(::std::string* PROTOBUF_NULLABLE value); |
329 | | |
330 | | private: |
331 | | const ::std::string& _internal_replacement() const; |
332 | | PROTOBUF_ALWAYS_INLINE void _internal_set_replacement(const ::std::string& value); |
333 | | ::std::string* PROTOBUF_NONNULL _internal_mutable_replacement(); |
334 | | |
335 | | public: |
336 | | // @@protoc_insertion_point(class_scope:bloaty.Regex) |
337 | | private: |
338 | | class _Internal; |
339 | | friend class ::google::protobuf::internal::TcParser; |
340 | | static const ::google::protobuf::internal::TcParseTable<1, 2, |
341 | | 0, 39, |
342 | | 2> |
343 | | _table_; |
344 | | |
345 | | friend class ::google::protobuf::MessageLite; |
346 | | friend class ::google::protobuf::Arena; |
347 | | template <typename T> |
348 | | friend class ::google::protobuf::Arena::InternalHelper; |
349 | | using InternalArenaConstructable_ = void; |
350 | | using DestructorSkippable_ = void; |
351 | | struct Impl_ { |
352 | | inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; |
353 | | inline explicit Impl_( |
354 | | ::google::protobuf::internal::InternalVisibility visibility, |
355 | | ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); |
356 | | inline explicit Impl_( |
357 | | ::google::protobuf::internal::InternalVisibility visibility, |
358 | | ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, |
359 | | const Regex& from_msg); |
360 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
361 | | ::google::protobuf::internal::CachedSize _cached_size_; |
362 | | ::google::protobuf::internal::ArenaStringPtr pattern_; |
363 | | ::google::protobuf::internal::ArenaStringPtr replacement_; |
364 | | PROTOBUF_TSAN_DECLARE_MEMBER |
365 | | }; |
366 | | union { Impl_ _impl_; }; |
367 | | friend struct ::TableStruct_bloaty_2eproto; |
368 | | }; |
369 | | |
370 | | extern const ::google::protobuf::internal::ClassDataFull Regex_class_data_; |
371 | | // ------------------------------------------------------------------- |
372 | | |
373 | | class CustomDataSource final : public ::google::protobuf::Message |
374 | | /* @@protoc_insertion_point(class_definition:bloaty.CustomDataSource) */ { |
375 | | public: |
376 | 0 | inline CustomDataSource() : CustomDataSource(nullptr) {} |
377 | | ~CustomDataSource() PROTOBUF_FINAL; |
378 | | |
379 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
380 | | void operator delete(CustomDataSource* PROTOBUF_NONNULL msg, std::destroying_delete_t) { |
381 | | SharedDtor(*msg); |
382 | | ::google::protobuf::internal::SizedDelete(msg, sizeof(CustomDataSource)); |
383 | | } |
384 | | #endif |
385 | | |
386 | | template <typename = void> |
387 | | explicit PROTOBUF_CONSTEXPR CustomDataSource(::google::protobuf::internal::ConstantInitialized); |
388 | | |
389 | 0 | inline CustomDataSource(const CustomDataSource& from) : CustomDataSource(nullptr, from) {} |
390 | | inline CustomDataSource(CustomDataSource&& from) noexcept |
391 | 0 | : CustomDataSource(nullptr, ::std::move(from)) {} |
392 | 0 | inline CustomDataSource& operator=(const CustomDataSource& from) { |
393 | 0 | CopyFrom(from); |
394 | 0 | return *this; |
395 | 0 | } |
396 | 0 | inline CustomDataSource& operator=(CustomDataSource&& from) noexcept { |
397 | 0 | if (this == &from) return *this; |
398 | 0 | if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
399 | 0 | InternalSwap(&from); |
400 | 0 | } else { |
401 | 0 | CopyFrom(from); |
402 | 0 | } |
403 | 0 | return *this; |
404 | 0 | } |
405 | | |
406 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
407 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
408 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
409 | 0 | } |
410 | | inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() |
411 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
412 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
413 | 0 | } |
414 | | |
415 | 0 | static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { |
416 | 0 | return GetDescriptor(); |
417 | 0 | } |
418 | 0 | static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { |
419 | 0 | return default_instance().GetMetadata().descriptor; |
420 | 0 | } |
421 | 0 | static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() { |
422 | 0 | return default_instance().GetMetadata().reflection; |
423 | 0 | } |
424 | 0 | static const CustomDataSource& default_instance() { |
425 | 0 | return *reinterpret_cast<const CustomDataSource*>( |
426 | 0 | &_CustomDataSource_default_instance_); |
427 | 0 | } |
428 | | static constexpr int kIndexInFileMessages = 1; |
429 | 0 | friend void swap(CustomDataSource& a, CustomDataSource& b) { a.Swap(&b); } |
430 | 0 | inline void Swap(CustomDataSource* PROTOBUF_NONNULL other) { |
431 | 0 | if (other == this) return; |
432 | 0 | if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { |
433 | 0 | InternalSwap(other); |
434 | 0 | } else { |
435 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
436 | 0 | } |
437 | 0 | } |
438 | 0 | void UnsafeArenaSwap(CustomDataSource* PROTOBUF_NONNULL other) { |
439 | 0 | if (other == this) return; |
440 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
441 | 0 | InternalSwap(other); |
442 | 0 | } |
443 | | |
444 | | // implements Message ---------------------------------------------- |
445 | | |
446 | 0 | CustomDataSource* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { |
447 | 0 | return ::google::protobuf::Message::DefaultConstruct<CustomDataSource>(arena); |
448 | 0 | } |
449 | | using ::google::protobuf::Message::CopyFrom; |
450 | | void CopyFrom(const CustomDataSource& from); |
451 | | using ::google::protobuf::Message::MergeFrom; |
452 | 0 | void MergeFrom(const CustomDataSource& from) { CustomDataSource::MergeImpl(*this, from); } |
453 | | |
454 | | private: |
455 | | static void MergeImpl(::google::protobuf::MessageLite& to_msg, |
456 | | const ::google::protobuf::MessageLite& from_msg); |
457 | | |
458 | | public: |
459 | 0 | bool IsInitialized() const { |
460 | 0 | return true; |
461 | 0 | } |
462 | | ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; |
463 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
464 | | private: |
465 | | static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); |
466 | | static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( |
467 | | const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, |
468 | | ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); |
469 | | |
470 | | public: |
471 | | ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } |
472 | | ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( |
473 | | ::uint8_t* PROTOBUF_NONNULL target, |
474 | | ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { |
475 | | return _InternalSerialize(*this, target, stream); |
476 | | } |
477 | | #else // PROTOBUF_CUSTOM_VTABLE |
478 | | ::size_t ByteSizeLong() const final; |
479 | | ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( |
480 | | ::uint8_t* PROTOBUF_NONNULL target, |
481 | | ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; |
482 | | #endif // PROTOBUF_CUSTOM_VTABLE |
483 | 0 | int GetCachedSize() const { return _impl_._cached_size_.Get(); } |
484 | | |
485 | | private: |
486 | | void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); |
487 | | static void SharedDtor(MessageLite& self); |
488 | | void InternalSwap(CustomDataSource* PROTOBUF_NONNULL other); |
489 | | private: |
490 | | template <typename T> |
491 | | friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); |
492 | 0 | static ::absl::string_view FullMessageName() { return "bloaty.CustomDataSource"; } |
493 | | |
494 | | protected: |
495 | | explicit CustomDataSource(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); |
496 | | CustomDataSource(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const CustomDataSource& from); |
497 | | CustomDataSource( |
498 | | ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, CustomDataSource&& from) noexcept |
499 | 0 | : CustomDataSource(arena) { |
500 | 0 | *this = ::std::move(from); |
501 | 0 | } |
502 | | const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; |
503 | | static void* PROTOBUF_NONNULL PlacementNew_( |
504 | | const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, |
505 | | ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); |
506 | | static constexpr auto InternalNewImpl_(); |
507 | | |
508 | | public: |
509 | | static constexpr auto InternalGenerateClassData_(); |
510 | | |
511 | | ::google::protobuf::Metadata GetMetadata() const; |
512 | | // nested types ---------------------------------------------------- |
513 | | |
514 | | // accessors ------------------------------------------------------- |
515 | | enum : int { |
516 | | kRewriteFieldNumber = 3, |
517 | | kNameFieldNumber = 1, |
518 | | kBaseDataSourceFieldNumber = 2, |
519 | | }; |
520 | | // repeated .bloaty.Regex rewrite = 3; |
521 | | int rewrite_size() const; |
522 | | private: |
523 | | int _internal_rewrite_size() const; |
524 | | |
525 | | public: |
526 | | void clear_rewrite() ; |
527 | | ::bloaty::Regex* PROTOBUF_NONNULL mutable_rewrite(int index); |
528 | | ::google::protobuf::RepeatedPtrField<::bloaty::Regex>* PROTOBUF_NONNULL mutable_rewrite(); |
529 | | |
530 | | private: |
531 | | const ::google::protobuf::RepeatedPtrField<::bloaty::Regex>& _internal_rewrite() const; |
532 | | ::google::protobuf::RepeatedPtrField<::bloaty::Regex>* PROTOBUF_NONNULL _internal_mutable_rewrite(); |
533 | | public: |
534 | | const ::bloaty::Regex& rewrite(int index) const; |
535 | | ::bloaty::Regex* PROTOBUF_NONNULL add_rewrite(); |
536 | | const ::google::protobuf::RepeatedPtrField<::bloaty::Regex>& rewrite() const; |
537 | | // optional string name = 1; |
538 | | bool has_name() const; |
539 | | void clear_name() ; |
540 | | const ::std::string& name() const; |
541 | | template <typename Arg_ = const ::std::string&, typename... Args_> |
542 | | void set_name(Arg_&& arg, Args_... args); |
543 | | ::std::string* PROTOBUF_NONNULL mutable_name(); |
544 | | [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_name(); |
545 | | void set_allocated_name(::std::string* PROTOBUF_NULLABLE value); |
546 | | |
547 | | private: |
548 | | const ::std::string& _internal_name() const; |
549 | | PROTOBUF_ALWAYS_INLINE void _internal_set_name(const ::std::string& value); |
550 | | ::std::string* PROTOBUF_NONNULL _internal_mutable_name(); |
551 | | |
552 | | public: |
553 | | // optional string base_data_source = 2; |
554 | | bool has_base_data_source() const; |
555 | | void clear_base_data_source() ; |
556 | | const ::std::string& base_data_source() const; |
557 | | template <typename Arg_ = const ::std::string&, typename... Args_> |
558 | | void set_base_data_source(Arg_&& arg, Args_... args); |
559 | | ::std::string* PROTOBUF_NONNULL mutable_base_data_source(); |
560 | | [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_base_data_source(); |
561 | | void set_allocated_base_data_source(::std::string* PROTOBUF_NULLABLE value); |
562 | | |
563 | | private: |
564 | | const ::std::string& _internal_base_data_source() const; |
565 | | PROTOBUF_ALWAYS_INLINE void _internal_set_base_data_source(const ::std::string& value); |
566 | | ::std::string* PROTOBUF_NONNULL _internal_mutable_base_data_source(); |
567 | | |
568 | | public: |
569 | | // @@protoc_insertion_point(class_scope:bloaty.CustomDataSource) |
570 | | private: |
571 | | class _Internal; |
572 | | friend class ::google::protobuf::internal::TcParser; |
573 | | static const ::google::protobuf::internal::TcParseTable<2, 3, |
574 | | 1, 52, |
575 | | 2> |
576 | | _table_; |
577 | | |
578 | | friend class ::google::protobuf::MessageLite; |
579 | | friend class ::google::protobuf::Arena; |
580 | | template <typename T> |
581 | | friend class ::google::protobuf::Arena::InternalHelper; |
582 | | using InternalArenaConstructable_ = void; |
583 | | using DestructorSkippable_ = void; |
584 | | struct Impl_ { |
585 | | inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; |
586 | | inline explicit Impl_( |
587 | | ::google::protobuf::internal::InternalVisibility visibility, |
588 | | ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); |
589 | | inline explicit Impl_( |
590 | | ::google::protobuf::internal::InternalVisibility visibility, |
591 | | ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, |
592 | | const CustomDataSource& from_msg); |
593 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
594 | | ::google::protobuf::internal::CachedSize _cached_size_; |
595 | | ::google::protobuf::RepeatedPtrField< ::bloaty::Regex > rewrite_; |
596 | | ::google::protobuf::internal::ArenaStringPtr name_; |
597 | | ::google::protobuf::internal::ArenaStringPtr base_data_source_; |
598 | | PROTOBUF_TSAN_DECLARE_MEMBER |
599 | | }; |
600 | | union { Impl_ _impl_; }; |
601 | | friend struct ::TableStruct_bloaty_2eproto; |
602 | | }; |
603 | | |
604 | | extern const ::google::protobuf::internal::ClassDataFull CustomDataSource_class_data_; |
605 | | // ------------------------------------------------------------------- |
606 | | |
607 | | class Options final : public ::google::protobuf::Message |
608 | | /* @@protoc_insertion_point(class_definition:bloaty.Options) */ { |
609 | | public: |
610 | 21.4k | inline Options() : Options(nullptr) {} |
611 | | ~Options() PROTOBUF_FINAL; |
612 | | |
613 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
614 | | void operator delete(Options* PROTOBUF_NONNULL msg, std::destroying_delete_t) { |
615 | | SharedDtor(*msg); |
616 | | ::google::protobuf::internal::SizedDelete(msg, sizeof(Options)); |
617 | | } |
618 | | #endif |
619 | | |
620 | | template <typename = void> |
621 | | explicit PROTOBUF_CONSTEXPR Options(::google::protobuf::internal::ConstantInitialized); |
622 | | |
623 | 65.5k | inline Options(const Options& from) : Options(nullptr, from) {} |
624 | | inline Options(Options&& from) noexcept |
625 | 0 | : Options(nullptr, ::std::move(from)) {} |
626 | 0 | inline Options& operator=(const Options& from) { |
627 | 0 | CopyFrom(from); |
628 | 0 | return *this; |
629 | 0 | } |
630 | 0 | inline Options& operator=(Options&& from) noexcept { |
631 | 0 | if (this == &from) return *this; |
632 | 0 | if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
633 | 0 | InternalSwap(&from); |
634 | 0 | } else { |
635 | 0 | CopyFrom(from); |
636 | 0 | } |
637 | 0 | return *this; |
638 | 0 | } |
639 | | |
640 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
641 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
642 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
643 | 0 | } |
644 | | inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() |
645 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
646 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
647 | 0 | } |
648 | | |
649 | 0 | static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { |
650 | 0 | return GetDescriptor(); |
651 | 0 | } |
652 | 0 | static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { |
653 | 0 | return default_instance().GetMetadata().descriptor; |
654 | 0 | } |
655 | 0 | static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() { |
656 | 0 | return default_instance().GetMetadata().reflection; |
657 | 0 | } |
658 | 0 | static const Options& default_instance() { |
659 | 0 | return *reinterpret_cast<const Options*>( |
660 | 0 | &_Options_default_instance_); |
661 | 0 | } |
662 | | static constexpr int kIndexInFileMessages = 0; |
663 | 0 | friend void swap(Options& a, Options& b) { a.Swap(&b); } |
664 | 0 | inline void Swap(Options* PROTOBUF_NONNULL other) { |
665 | 0 | if (other == this) return; |
666 | 0 | if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { |
667 | 0 | InternalSwap(other); |
668 | 0 | } else { |
669 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
670 | 0 | } |
671 | 0 | } |
672 | 0 | void UnsafeArenaSwap(Options* PROTOBUF_NONNULL other) { |
673 | 0 | if (other == this) return; |
674 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
675 | 0 | InternalSwap(other); |
676 | 0 | } |
677 | | |
678 | | // implements Message ---------------------------------------------- |
679 | | |
680 | 0 | Options* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { |
681 | 0 | return ::google::protobuf::Message::DefaultConstruct<Options>(arena); |
682 | 0 | } |
683 | | using ::google::protobuf::Message::CopyFrom; |
684 | | void CopyFrom(const Options& from); |
685 | | using ::google::protobuf::Message::MergeFrom; |
686 | 0 | void MergeFrom(const Options& from) { Options::MergeImpl(*this, from); } |
687 | | |
688 | | private: |
689 | | static void MergeImpl(::google::protobuf::MessageLite& to_msg, |
690 | | const ::google::protobuf::MessageLite& from_msg); |
691 | | |
692 | | public: |
693 | 0 | bool IsInitialized() const { |
694 | 0 | return true; |
695 | 0 | } |
696 | | ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; |
697 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
698 | | private: |
699 | | static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); |
700 | | static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( |
701 | | const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target, |
702 | | ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream); |
703 | | |
704 | | public: |
705 | | ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } |
706 | | ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( |
707 | | ::uint8_t* PROTOBUF_NONNULL target, |
708 | | ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { |
709 | | return _InternalSerialize(*this, target, stream); |
710 | | } |
711 | | #else // PROTOBUF_CUSTOM_VTABLE |
712 | | ::size_t ByteSizeLong() const final; |
713 | | ::uint8_t* PROTOBUF_NONNULL _InternalSerialize( |
714 | | ::uint8_t* PROTOBUF_NONNULL target, |
715 | | ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final; |
716 | | #endif // PROTOBUF_CUSTOM_VTABLE |
717 | 0 | int GetCachedSize() const { return _impl_._cached_size_.Get(); } |
718 | | |
719 | | private: |
720 | | void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); |
721 | | static void SharedDtor(MessageLite& self); |
722 | | void InternalSwap(Options* PROTOBUF_NONNULL other); |
723 | | private: |
724 | | template <typename T> |
725 | | friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); |
726 | 0 | static ::absl::string_view FullMessageName() { return "bloaty.Options"; } |
727 | | |
728 | | protected: |
729 | | explicit Options(::google::protobuf::Arena* PROTOBUF_NULLABLE arena); |
730 | | Options(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Options& from); |
731 | | Options( |
732 | | ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, Options&& from) noexcept |
733 | 0 | : Options(arena) { |
734 | 0 | *this = ::std::move(from); |
735 | 0 | } |
736 | | const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL; |
737 | | static void* PROTOBUF_NONNULL PlacementNew_( |
738 | | const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, |
739 | | ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); |
740 | | static constexpr auto InternalNewImpl_(); |
741 | | |
742 | | public: |
743 | | static constexpr auto InternalGenerateClassData_(); |
744 | | |
745 | | ::google::protobuf::Metadata GetMetadata() const; |
746 | | // nested types ---------------------------------------------------- |
747 | | using Demangle = Options_Demangle; |
748 | | static constexpr Demangle DEMANGLE_SHORT = Options_Demangle_DEMANGLE_SHORT; |
749 | | static constexpr Demangle DEMANGLE_FULL = Options_Demangle_DEMANGLE_FULL; |
750 | | static constexpr Demangle DEMANGLE_NONE = Options_Demangle_DEMANGLE_NONE; |
751 | 0 | static inline bool Demangle_IsValid(int value) { |
752 | 0 | return Options_Demangle_IsValid(value); |
753 | 0 | } |
754 | | static constexpr Demangle Demangle_MIN = Options_Demangle_Demangle_MIN; |
755 | | static constexpr Demangle Demangle_MAX = Options_Demangle_Demangle_MAX; |
756 | | static constexpr int Demangle_ARRAYSIZE = Options_Demangle_Demangle_ARRAYSIZE; |
757 | 0 | static inline const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL Demangle_descriptor() { |
758 | 0 | return Options_Demangle_descriptor(); |
759 | 0 | } |
760 | | template <typename T> |
761 | | static inline const ::std::string& Demangle_Name(T value) { |
762 | | return Options_Demangle_Name(value); |
763 | | } |
764 | | static inline bool Demangle_Parse( |
765 | 0 | ::absl::string_view name, Demangle* PROTOBUF_NONNULL value) { |
766 | 0 | return Options_Demangle_Parse(name, value); |
767 | 0 | } |
768 | | using SortBy = Options_SortBy; |
769 | | static constexpr SortBy SORTBY_BOTH = Options_SortBy_SORTBY_BOTH; |
770 | | static constexpr SortBy SORTBY_VMSIZE = Options_SortBy_SORTBY_VMSIZE; |
771 | | static constexpr SortBy SORTBY_FILESIZE = Options_SortBy_SORTBY_FILESIZE; |
772 | 0 | static inline bool SortBy_IsValid(int value) { |
773 | 0 | return Options_SortBy_IsValid(value); |
774 | 0 | } |
775 | | static constexpr SortBy SortBy_MIN = Options_SortBy_SortBy_MIN; |
776 | | static constexpr SortBy SortBy_MAX = Options_SortBy_SortBy_MAX; |
777 | | static constexpr int SortBy_ARRAYSIZE = Options_SortBy_SortBy_ARRAYSIZE; |
778 | 0 | static inline const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL SortBy_descriptor() { |
779 | 0 | return Options_SortBy_descriptor(); |
780 | 0 | } |
781 | | template <typename T> |
782 | | static inline const ::std::string& SortBy_Name(T value) { |
783 | | return Options_SortBy_Name(value); |
784 | | } |
785 | | static inline bool SortBy_Parse( |
786 | 0 | ::absl::string_view name, SortBy* PROTOBUF_NONNULL value) { |
787 | 0 | return Options_SortBy_Parse(name, value); |
788 | 0 | } |
789 | | |
790 | | // accessors ------------------------------------------------------- |
791 | | enum : int { |
792 | | kFilenameFieldNumber = 1, |
793 | | kBaseFilenameFieldNumber = 2, |
794 | | kDataSourceFieldNumber = 3, |
795 | | kCustomDataSourceFieldNumber = 8, |
796 | | kDebugFilenameFieldNumber = 10, |
797 | | kSourceMapFieldNumber = 15, |
798 | | kDisassembleFunctionFieldNumber = 9, |
799 | | kSourceFilterFieldNumber = 13, |
800 | | kDemangleFieldNumber = 5, |
801 | | kSortByFieldNumber = 6, |
802 | | kVerboseLevelFieldNumber = 7, |
803 | | kDumpRawMapFieldNumber = 14, |
804 | | kDebugVmaddrFieldNumber = 11, |
805 | | kDebugFileoffFieldNumber = 12, |
806 | | kMaxRowsPerLevelFieldNumber = 4, |
807 | | }; |
808 | | // repeated string filename = 1; |
809 | | int filename_size() const; |
810 | | private: |
811 | | int _internal_filename_size() const; |
812 | | |
813 | | public: |
814 | | void clear_filename() ; |
815 | | const ::std::string& filename(int index) const; |
816 | | ::std::string* PROTOBUF_NONNULL mutable_filename(int index); |
817 | | template <typename Arg_ = const ::std::string&, typename... Args_> |
818 | | void set_filename(int index, Arg_&& value, Args_... args); |
819 | | ::std::string* PROTOBUF_NONNULL add_filename(); |
820 | | template <typename Arg_ = const ::std::string&, typename... Args_> |
821 | | void add_filename(Arg_&& value, Args_... args); |
822 | | const ::google::protobuf::RepeatedPtrField<::std::string>& filename() const; |
823 | | ::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL mutable_filename(); |
824 | | |
825 | | private: |
826 | | const ::google::protobuf::RepeatedPtrField<::std::string>& _internal_filename() const; |
827 | | ::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL _internal_mutable_filename(); |
828 | | |
829 | | public: |
830 | | // repeated string base_filename = 2; |
831 | | int base_filename_size() const; |
832 | | private: |
833 | | int _internal_base_filename_size() const; |
834 | | |
835 | | public: |
836 | | void clear_base_filename() ; |
837 | | const ::std::string& base_filename(int index) const; |
838 | | ::std::string* PROTOBUF_NONNULL mutable_base_filename(int index); |
839 | | template <typename Arg_ = const ::std::string&, typename... Args_> |
840 | | void set_base_filename(int index, Arg_&& value, Args_... args); |
841 | | ::std::string* PROTOBUF_NONNULL add_base_filename(); |
842 | | template <typename Arg_ = const ::std::string&, typename... Args_> |
843 | | void add_base_filename(Arg_&& value, Args_... args); |
844 | | const ::google::protobuf::RepeatedPtrField<::std::string>& base_filename() const; |
845 | | ::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL mutable_base_filename(); |
846 | | |
847 | | private: |
848 | | const ::google::protobuf::RepeatedPtrField<::std::string>& _internal_base_filename() const; |
849 | | ::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL _internal_mutable_base_filename(); |
850 | | |
851 | | public: |
852 | | // repeated string data_source = 3; |
853 | | int data_source_size() const; |
854 | | private: |
855 | | int _internal_data_source_size() const; |
856 | | |
857 | | public: |
858 | | void clear_data_source() ; |
859 | | const ::std::string& data_source(int index) const; |
860 | | ::std::string* PROTOBUF_NONNULL mutable_data_source(int index); |
861 | | template <typename Arg_ = const ::std::string&, typename... Args_> |
862 | | void set_data_source(int index, Arg_&& value, Args_... args); |
863 | | ::std::string* PROTOBUF_NONNULL add_data_source(); |
864 | | template <typename Arg_ = const ::std::string&, typename... Args_> |
865 | | void add_data_source(Arg_&& value, Args_... args); |
866 | | const ::google::protobuf::RepeatedPtrField<::std::string>& data_source() const; |
867 | | ::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL mutable_data_source(); |
868 | | |
869 | | private: |
870 | | const ::google::protobuf::RepeatedPtrField<::std::string>& _internal_data_source() const; |
871 | | ::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL _internal_mutable_data_source(); |
872 | | |
873 | | public: |
874 | | // repeated .bloaty.CustomDataSource custom_data_source = 8; |
875 | | int custom_data_source_size() const; |
876 | | private: |
877 | | int _internal_custom_data_source_size() const; |
878 | | |
879 | | public: |
880 | | void clear_custom_data_source() ; |
881 | | ::bloaty::CustomDataSource* PROTOBUF_NONNULL mutable_custom_data_source(int index); |
882 | | ::google::protobuf::RepeatedPtrField<::bloaty::CustomDataSource>* PROTOBUF_NONNULL mutable_custom_data_source(); |
883 | | |
884 | | private: |
885 | | const ::google::protobuf::RepeatedPtrField<::bloaty::CustomDataSource>& _internal_custom_data_source() const; |
886 | | ::google::protobuf::RepeatedPtrField<::bloaty::CustomDataSource>* PROTOBUF_NONNULL _internal_mutable_custom_data_source(); |
887 | | public: |
888 | | const ::bloaty::CustomDataSource& custom_data_source(int index) const; |
889 | | ::bloaty::CustomDataSource* PROTOBUF_NONNULL add_custom_data_source(); |
890 | | const ::google::protobuf::RepeatedPtrField<::bloaty::CustomDataSource>& custom_data_source() const; |
891 | | // repeated string debug_filename = 10; |
892 | | int debug_filename_size() const; |
893 | | private: |
894 | | int _internal_debug_filename_size() const; |
895 | | |
896 | | public: |
897 | | void clear_debug_filename() ; |
898 | | const ::std::string& debug_filename(int index) const; |
899 | | ::std::string* PROTOBUF_NONNULL mutable_debug_filename(int index); |
900 | | template <typename Arg_ = const ::std::string&, typename... Args_> |
901 | | void set_debug_filename(int index, Arg_&& value, Args_... args); |
902 | | ::std::string* PROTOBUF_NONNULL add_debug_filename(); |
903 | | template <typename Arg_ = const ::std::string&, typename... Args_> |
904 | | void add_debug_filename(Arg_&& value, Args_... args); |
905 | | const ::google::protobuf::RepeatedPtrField<::std::string>& debug_filename() const; |
906 | | ::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL mutable_debug_filename(); |
907 | | |
908 | | private: |
909 | | const ::google::protobuf::RepeatedPtrField<::std::string>& _internal_debug_filename() const; |
910 | | ::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL _internal_mutable_debug_filename(); |
911 | | |
912 | | public: |
913 | | // repeated string source_map = 15; |
914 | | int source_map_size() const; |
915 | | private: |
916 | | int _internal_source_map_size() const; |
917 | | |
918 | | public: |
919 | | void clear_source_map() ; |
920 | | const ::std::string& source_map(int index) const; |
921 | | ::std::string* PROTOBUF_NONNULL mutable_source_map(int index); |
922 | | template <typename Arg_ = const ::std::string&, typename... Args_> |
923 | | void set_source_map(int index, Arg_&& value, Args_... args); |
924 | | ::std::string* PROTOBUF_NONNULL add_source_map(); |
925 | | template <typename Arg_ = const ::std::string&, typename... Args_> |
926 | | void add_source_map(Arg_&& value, Args_... args); |
927 | | const ::google::protobuf::RepeatedPtrField<::std::string>& source_map() const; |
928 | | ::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL mutable_source_map(); |
929 | | |
930 | | private: |
931 | | const ::google::protobuf::RepeatedPtrField<::std::string>& _internal_source_map() const; |
932 | | ::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL _internal_mutable_source_map(); |
933 | | |
934 | | public: |
935 | | // optional string disassemble_function = 9; |
936 | | bool has_disassemble_function() const; |
937 | | void clear_disassemble_function() ; |
938 | | const ::std::string& disassemble_function() const; |
939 | | template <typename Arg_ = const ::std::string&, typename... Args_> |
940 | | void set_disassemble_function(Arg_&& arg, Args_... args); |
941 | | ::std::string* PROTOBUF_NONNULL mutable_disassemble_function(); |
942 | | [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_disassemble_function(); |
943 | | void set_allocated_disassemble_function(::std::string* PROTOBUF_NULLABLE value); |
944 | | |
945 | | private: |
946 | | const ::std::string& _internal_disassemble_function() const; |
947 | | PROTOBUF_ALWAYS_INLINE void _internal_set_disassemble_function(const ::std::string& value); |
948 | | ::std::string* PROTOBUF_NONNULL _internal_mutable_disassemble_function(); |
949 | | |
950 | | public: |
951 | | // optional string source_filter = 13; |
952 | | bool has_source_filter() const; |
953 | | void clear_source_filter() ; |
954 | | const ::std::string& source_filter() const; |
955 | | template <typename Arg_ = const ::std::string&, typename... Args_> |
956 | | void set_source_filter(Arg_&& arg, Args_... args); |
957 | | ::std::string* PROTOBUF_NONNULL mutable_source_filter(); |
958 | | [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_source_filter(); |
959 | | void set_allocated_source_filter(::std::string* PROTOBUF_NULLABLE value); |
960 | | |
961 | | private: |
962 | | const ::std::string& _internal_source_filter() const; |
963 | | PROTOBUF_ALWAYS_INLINE void _internal_set_source_filter(const ::std::string& value); |
964 | | ::std::string* PROTOBUF_NONNULL _internal_mutable_source_filter(); |
965 | | |
966 | | public: |
967 | | // optional .bloaty.Options.Demangle demangle = 5 [default = DEMANGLE_SHORT]; |
968 | | bool has_demangle() const; |
969 | | void clear_demangle() ; |
970 | | ::bloaty::Options_Demangle demangle() const; |
971 | | void set_demangle(::bloaty::Options_Demangle value); |
972 | | |
973 | | private: |
974 | | ::bloaty::Options_Demangle _internal_demangle() const; |
975 | | void _internal_set_demangle(::bloaty::Options_Demangle value); |
976 | | |
977 | | public: |
978 | | // optional .bloaty.Options.SortBy sort_by = 6 [default = SORTBY_BOTH]; |
979 | | bool has_sort_by() const; |
980 | | void clear_sort_by() ; |
981 | | ::bloaty::Options_SortBy sort_by() const; |
982 | | void set_sort_by(::bloaty::Options_SortBy value); |
983 | | |
984 | | private: |
985 | | ::bloaty::Options_SortBy _internal_sort_by() const; |
986 | | void _internal_set_sort_by(::bloaty::Options_SortBy value); |
987 | | |
988 | | public: |
989 | | // optional int32 verbose_level = 7; |
990 | | bool has_verbose_level() const; |
991 | | void clear_verbose_level() ; |
992 | | ::int32_t verbose_level() const; |
993 | | void set_verbose_level(::int32_t value); |
994 | | |
995 | | private: |
996 | | ::int32_t _internal_verbose_level() const; |
997 | | void _internal_set_verbose_level(::int32_t value); |
998 | | |
999 | | public: |
1000 | | // optional bool dump_raw_map = 14; |
1001 | | bool has_dump_raw_map() const; |
1002 | | void clear_dump_raw_map() ; |
1003 | | bool dump_raw_map() const; |
1004 | | void set_dump_raw_map(bool value); |
1005 | | |
1006 | | private: |
1007 | | bool _internal_dump_raw_map() const; |
1008 | | void _internal_set_dump_raw_map(bool value); |
1009 | | |
1010 | | public: |
1011 | | // optional uint64 debug_vmaddr = 11; |
1012 | | bool has_debug_vmaddr() const; |
1013 | | void clear_debug_vmaddr() ; |
1014 | | ::uint64_t debug_vmaddr() const; |
1015 | | void set_debug_vmaddr(::uint64_t value); |
1016 | | |
1017 | | private: |
1018 | | ::uint64_t _internal_debug_vmaddr() const; |
1019 | | void _internal_set_debug_vmaddr(::uint64_t value); |
1020 | | |
1021 | | public: |
1022 | | // optional uint64 debug_fileoff = 12; |
1023 | | bool has_debug_fileoff() const; |
1024 | | void clear_debug_fileoff() ; |
1025 | | ::uint64_t debug_fileoff() const; |
1026 | | void set_debug_fileoff(::uint64_t value); |
1027 | | |
1028 | | private: |
1029 | | ::uint64_t _internal_debug_fileoff() const; |
1030 | | void _internal_set_debug_fileoff(::uint64_t value); |
1031 | | |
1032 | | public: |
1033 | | // optional int64 max_rows_per_level = 4 [default = 20]; |
1034 | | bool has_max_rows_per_level() const; |
1035 | | void clear_max_rows_per_level() ; |
1036 | | ::int64_t max_rows_per_level() const; |
1037 | | void set_max_rows_per_level(::int64_t value); |
1038 | | |
1039 | | private: |
1040 | | ::int64_t _internal_max_rows_per_level() const; |
1041 | | void _internal_set_max_rows_per_level(::int64_t value); |
1042 | | |
1043 | | public: |
1044 | | // @@protoc_insertion_point(class_scope:bloaty.Options) |
1045 | | private: |
1046 | | class _Internal; |
1047 | | friend class ::google::protobuf::internal::TcParser; |
1048 | | static const ::google::protobuf::internal::TcParseTable<4, 15, |
1049 | | 3, 120, |
1050 | | 2> |
1051 | | _table_; |
1052 | | |
1053 | | friend class ::google::protobuf::MessageLite; |
1054 | | friend class ::google::protobuf::Arena; |
1055 | | template <typename T> |
1056 | | friend class ::google::protobuf::Arena::InternalHelper; |
1057 | | using InternalArenaConstructable_ = void; |
1058 | | using DestructorSkippable_ = void; |
1059 | | struct Impl_ { |
1060 | | inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; |
1061 | | inline explicit Impl_( |
1062 | | ::google::protobuf::internal::InternalVisibility visibility, |
1063 | | ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); |
1064 | | inline explicit Impl_( |
1065 | | ::google::protobuf::internal::InternalVisibility visibility, |
1066 | | ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, |
1067 | | const Options& from_msg); |
1068 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
1069 | | ::google::protobuf::internal::CachedSize _cached_size_; |
1070 | | ::google::protobuf::RepeatedPtrField<::std::string> filename_; |
1071 | | ::google::protobuf::RepeatedPtrField<::std::string> base_filename_; |
1072 | | ::google::protobuf::RepeatedPtrField<::std::string> data_source_; |
1073 | | ::google::protobuf::RepeatedPtrField< ::bloaty::CustomDataSource > custom_data_source_; |
1074 | | ::google::protobuf::RepeatedPtrField<::std::string> debug_filename_; |
1075 | | ::google::protobuf::RepeatedPtrField<::std::string> source_map_; |
1076 | | ::google::protobuf::internal::ArenaStringPtr disassemble_function_; |
1077 | | ::google::protobuf::internal::ArenaStringPtr source_filter_; |
1078 | | int demangle_; |
1079 | | int sort_by_; |
1080 | | ::int32_t verbose_level_; |
1081 | | bool dump_raw_map_; |
1082 | | ::uint64_t debug_vmaddr_; |
1083 | | ::uint64_t debug_fileoff_; |
1084 | | ::int64_t max_rows_per_level_; |
1085 | | PROTOBUF_TSAN_DECLARE_MEMBER |
1086 | | }; |
1087 | | union { Impl_ _impl_; }; |
1088 | | friend struct ::TableStruct_bloaty_2eproto; |
1089 | | }; |
1090 | | |
1091 | | extern const ::google::protobuf::internal::ClassDataFull Options_class_data_; |
1092 | | |
1093 | | // =================================================================== |
1094 | | |
1095 | | |
1096 | | |
1097 | | |
1098 | | // =================================================================== |
1099 | | |
1100 | | |
1101 | | #ifdef __GNUC__ |
1102 | | #pragma GCC diagnostic push |
1103 | | #pragma GCC diagnostic ignored "-Wstrict-aliasing" |
1104 | | #endif // __GNUC__ |
1105 | | // ------------------------------------------------------------------- |
1106 | | |
1107 | | // Options |
1108 | | |
1109 | | // repeated string filename = 1; |
1110 | 21.4k | inline int Options::_internal_filename_size() const { |
1111 | 21.4k | return _internal_filename().size(); |
1112 | 21.4k | } |
1113 | 21.4k | inline int Options::filename_size() const { |
1114 | 21.4k | return _internal_filename_size(); |
1115 | 21.4k | } |
1116 | 0 | inline void Options::clear_filename() { |
1117 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
1118 | 0 | _impl_.filename_.Clear(); |
1119 | 0 | } |
1120 | | inline ::std::string* PROTOBUF_NONNULL Options::add_filename() |
1121 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
1122 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
1123 | 0 | ::std::string* _s = _internal_mutable_filename()->Add(); |
1124 | 0 | // @@protoc_insertion_point(field_add_mutable:bloaty.Options.filename) |
1125 | 0 | return _s; |
1126 | 0 | } |
1127 | | inline const ::std::string& Options::filename(int index) const |
1128 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
1129 | 0 | // @@protoc_insertion_point(field_get:bloaty.Options.filename) |
1130 | 0 | return _internal_filename().Get(index); |
1131 | 0 | } |
1132 | | inline ::std::string* PROTOBUF_NONNULL Options::mutable_filename(int index) |
1133 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
1134 | 0 | // @@protoc_insertion_point(field_mutable:bloaty.Options.filename) |
1135 | 0 | return _internal_mutable_filename()->Mutable(index); |
1136 | 0 | } |
1137 | | template <typename Arg_, typename... Args_> |
1138 | | inline void Options::set_filename(int index, Arg_&& value, Args_... args) { |
1139 | | ::google::protobuf::internal::AssignToString(*_internal_mutable_filename()->Mutable(index), ::std::forward<Arg_>(value), |
1140 | | args... ); |
1141 | | // @@protoc_insertion_point(field_set:bloaty.Options.filename) |
1142 | | } |
1143 | | template <typename Arg_, typename... Args_> |
1144 | 21.4k | inline void Options::add_filename(Arg_&& value, Args_... args) { |
1145 | 21.4k | ::google::protobuf::internal::TSanWrite(&_impl_); |
1146 | 21.4k | ::google::protobuf::internal::AddToRepeatedPtrField(*_internal_mutable_filename(), |
1147 | 21.4k | ::std::forward<Arg_>(value), |
1148 | 21.4k | args... ); |
1149 | | // @@protoc_insertion_point(field_add:bloaty.Options.filename) |
1150 | 21.4k | } void bloaty::Options::add_filename<char const (&) [15]>(char const (&) [15]) Line | Count | Source | 1144 | 21.4k | inline void Options::add_filename(Arg_&& value, Args_... args) { | 1145 | 21.4k | ::google::protobuf::internal::TSanWrite(&_impl_); | 1146 | 21.4k | ::google::protobuf::internal::AddToRepeatedPtrField(*_internal_mutable_filename(), | 1147 | 21.4k | ::std::forward<Arg_>(value), | 1148 | 21.4k | args... ); | 1149 | | // @@protoc_insertion_point(field_add:bloaty.Options.filename) | 1150 | 21.4k | } |
Unexecuted instantiation: void bloaty::Options::add_filename<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >>(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&&) |
1151 | | inline const ::google::protobuf::RepeatedPtrField<::std::string>& Options::filename() |
1152 | 21.4k | const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
1153 | | // @@protoc_insertion_point(field_list:bloaty.Options.filename) |
1154 | 21.4k | return _internal_filename(); |
1155 | 21.4k | } |
1156 | | inline ::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL |
1157 | 0 | Options::mutable_filename() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
1158 | 0 | // @@protoc_insertion_point(field_mutable_list:bloaty.Options.filename) |
1159 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
1160 | 0 | return _internal_mutable_filename(); |
1161 | 0 | } |
1162 | | inline const ::google::protobuf::RepeatedPtrField<::std::string>& |
1163 | 42.9k | Options::_internal_filename() const { |
1164 | 42.9k | ::google::protobuf::internal::TSanRead(&_impl_); |
1165 | 42.9k | return _impl_.filename_; |
1166 | 42.9k | } |
1167 | | inline ::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL |
1168 | 21.4k | Options::_internal_mutable_filename() { |
1169 | 21.4k | ::google::protobuf::internal::TSanRead(&_impl_); |
1170 | 21.4k | return &_impl_.filename_; |
1171 | 21.4k | } |
1172 | | |
1173 | | // repeated string base_filename = 2; |
1174 | 0 | inline int Options::_internal_base_filename_size() const { |
1175 | 0 | return _internal_base_filename().size(); |
1176 | 0 | } |
1177 | 0 | inline int Options::base_filename_size() const { |
1178 | 0 | return _internal_base_filename_size(); |
1179 | 0 | } |
1180 | 0 | inline void Options::clear_base_filename() { |
1181 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
1182 | 0 | _impl_.base_filename_.Clear(); |
1183 | 0 | } |
1184 | | inline ::std::string* PROTOBUF_NONNULL Options::add_base_filename() |
1185 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
1186 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
1187 | 0 | ::std::string* _s = _internal_mutable_base_filename()->Add(); |
1188 | 0 | // @@protoc_insertion_point(field_add_mutable:bloaty.Options.base_filename) |
1189 | 0 | return _s; |
1190 | 0 | } |
1191 | | inline const ::std::string& Options::base_filename(int index) const |
1192 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
1193 | 0 | // @@protoc_insertion_point(field_get:bloaty.Options.base_filename) |
1194 | 0 | return _internal_base_filename().Get(index); |
1195 | 0 | } |
1196 | | inline ::std::string* PROTOBUF_NONNULL Options::mutable_base_filename(int index) |
1197 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
1198 | 0 | // @@protoc_insertion_point(field_mutable:bloaty.Options.base_filename) |
1199 | 0 | return _internal_mutable_base_filename()->Mutable(index); |
1200 | 0 | } |
1201 | | template <typename Arg_, typename... Args_> |
1202 | | inline void Options::set_base_filename(int index, Arg_&& value, Args_... args) { |
1203 | | ::google::protobuf::internal::AssignToString(*_internal_mutable_base_filename()->Mutable(index), ::std::forward<Arg_>(value), |
1204 | | args... ); |
1205 | | // @@protoc_insertion_point(field_set:bloaty.Options.base_filename) |
1206 | | } |
1207 | | template <typename Arg_, typename... Args_> |
1208 | 0 | inline void Options::add_base_filename(Arg_&& value, Args_... args) { |
1209 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
1210 | 0 | ::google::protobuf::internal::AddToRepeatedPtrField(*_internal_mutable_base_filename(), |
1211 | 0 | ::std::forward<Arg_>(value), |
1212 | 0 | args... ); |
1213 | | // @@protoc_insertion_point(field_add:bloaty.Options.base_filename) |
1214 | 0 | } |
1215 | | inline const ::google::protobuf::RepeatedPtrField<::std::string>& Options::base_filename() |
1216 | 20.9k | const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
1217 | | // @@protoc_insertion_point(field_list:bloaty.Options.base_filename) |
1218 | 20.9k | return _internal_base_filename(); |
1219 | 20.9k | } |
1220 | | inline ::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL |
1221 | 0 | Options::mutable_base_filename() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
1222 | 0 | // @@protoc_insertion_point(field_mutable_list:bloaty.Options.base_filename) |
1223 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
1224 | 0 | return _internal_mutable_base_filename(); |
1225 | 0 | } |
1226 | | inline const ::google::protobuf::RepeatedPtrField<::std::string>& |
1227 | 20.9k | Options::_internal_base_filename() const { |
1228 | 20.9k | ::google::protobuf::internal::TSanRead(&_impl_); |
1229 | 20.9k | return _impl_.base_filename_; |
1230 | 20.9k | } |
1231 | | inline ::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL |
1232 | 0 | Options::_internal_mutable_base_filename() { |
1233 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
1234 | 0 | return &_impl_.base_filename_; |
1235 | 0 | } |
1236 | | |
1237 | | // repeated string debug_filename = 10; |
1238 | 0 | inline int Options::_internal_debug_filename_size() const { |
1239 | 0 | return _internal_debug_filename().size(); |
1240 | 0 | } |
1241 | 0 | inline int Options::debug_filename_size() const { |
1242 | 0 | return _internal_debug_filename_size(); |
1243 | 0 | } |
1244 | 0 | inline void Options::clear_debug_filename() { |
1245 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
1246 | 0 | _impl_.debug_filename_.Clear(); |
1247 | 0 | } |
1248 | | inline ::std::string* PROTOBUF_NONNULL Options::add_debug_filename() |
1249 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
1250 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
1251 | 0 | ::std::string* _s = _internal_mutable_debug_filename()->Add(); |
1252 | 0 | // @@protoc_insertion_point(field_add_mutable:bloaty.Options.debug_filename) |
1253 | 0 | return _s; |
1254 | 0 | } |
1255 | | inline const ::std::string& Options::debug_filename(int index) const |
1256 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
1257 | 0 | // @@protoc_insertion_point(field_get:bloaty.Options.debug_filename) |
1258 | 0 | return _internal_debug_filename().Get(index); |
1259 | 0 | } |
1260 | | inline ::std::string* PROTOBUF_NONNULL Options::mutable_debug_filename(int index) |
1261 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
1262 | 0 | // @@protoc_insertion_point(field_mutable:bloaty.Options.debug_filename) |
1263 | 0 | return _internal_mutable_debug_filename()->Mutable(index); |
1264 | 0 | } |
1265 | | template <typename Arg_, typename... Args_> |
1266 | | inline void Options::set_debug_filename(int index, Arg_&& value, Args_... args) { |
1267 | | ::google::protobuf::internal::AssignToString(*_internal_mutable_debug_filename()->Mutable(index), ::std::forward<Arg_>(value), |
1268 | | args... ); |
1269 | | // @@protoc_insertion_point(field_set:bloaty.Options.debug_filename) |
1270 | | } |
1271 | | template <typename Arg_, typename... Args_> |
1272 | 0 | inline void Options::add_debug_filename(Arg_&& value, Args_... args) { |
1273 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
1274 | 0 | ::google::protobuf::internal::AddToRepeatedPtrField(*_internal_mutable_debug_filename(), |
1275 | 0 | ::std::forward<Arg_>(value), |
1276 | 0 | args... ); |
1277 | | // @@protoc_insertion_point(field_add:bloaty.Options.debug_filename) |
1278 | 0 | } |
1279 | | inline const ::google::protobuf::RepeatedPtrField<::std::string>& Options::debug_filename() |
1280 | 20.9k | const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
1281 | | // @@protoc_insertion_point(field_list:bloaty.Options.debug_filename) |
1282 | 20.9k | return _internal_debug_filename(); |
1283 | 20.9k | } |
1284 | | inline ::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL |
1285 | 0 | Options::mutable_debug_filename() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
1286 | 0 | // @@protoc_insertion_point(field_mutable_list:bloaty.Options.debug_filename) |
1287 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
1288 | 0 | return _internal_mutable_debug_filename(); |
1289 | 0 | } |
1290 | | inline const ::google::protobuf::RepeatedPtrField<::std::string>& |
1291 | 20.9k | Options::_internal_debug_filename() const { |
1292 | 20.9k | ::google::protobuf::internal::TSanRead(&_impl_); |
1293 | 20.9k | return _impl_.debug_filename_; |
1294 | 20.9k | } |
1295 | | inline ::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL |
1296 | 0 | Options::_internal_mutable_debug_filename() { |
1297 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
1298 | 0 | return &_impl_.debug_filename_; |
1299 | 0 | } |
1300 | | |
1301 | | // repeated string source_map = 15; |
1302 | 0 | inline int Options::_internal_source_map_size() const { |
1303 | 0 | return _internal_source_map().size(); |
1304 | 0 | } |
1305 | 0 | inline int Options::source_map_size() const { |
1306 | 0 | return _internal_source_map_size(); |
1307 | 0 | } |
1308 | 0 | inline void Options::clear_source_map() { |
1309 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
1310 | 0 | _impl_.source_map_.Clear(); |
1311 | 0 | } |
1312 | | inline ::std::string* PROTOBUF_NONNULL Options::add_source_map() |
1313 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
1314 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
1315 | 0 | ::std::string* _s = _internal_mutable_source_map()->Add(); |
1316 | 0 | // @@protoc_insertion_point(field_add_mutable:bloaty.Options.source_map) |
1317 | 0 | return _s; |
1318 | 0 | } |
1319 | | inline const ::std::string& Options::source_map(int index) const |
1320 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
1321 | 0 | // @@protoc_insertion_point(field_get:bloaty.Options.source_map) |
1322 | 0 | return _internal_source_map().Get(index); |
1323 | 0 | } |
1324 | | inline ::std::string* PROTOBUF_NONNULL Options::mutable_source_map(int index) |
1325 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
1326 | 0 | // @@protoc_insertion_point(field_mutable:bloaty.Options.source_map) |
1327 | 0 | return _internal_mutable_source_map()->Mutable(index); |
1328 | 0 | } |
1329 | | template <typename Arg_, typename... Args_> |
1330 | | inline void Options::set_source_map(int index, Arg_&& value, Args_... args) { |
1331 | | ::google::protobuf::internal::AssignToString(*_internal_mutable_source_map()->Mutable(index), ::std::forward<Arg_>(value), |
1332 | | args... ); |
1333 | | // @@protoc_insertion_point(field_set:bloaty.Options.source_map) |
1334 | | } |
1335 | | template <typename Arg_, typename... Args_> |
1336 | 0 | inline void Options::add_source_map(Arg_&& value, Args_... args) { |
1337 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
1338 | 0 | ::google::protobuf::internal::AddToRepeatedPtrField(*_internal_mutable_source_map(), |
1339 | 0 | ::std::forward<Arg_>(value), |
1340 | 0 | args... ); |
1341 | | // @@protoc_insertion_point(field_add:bloaty.Options.source_map) |
1342 | 0 | } |
1343 | | inline const ::google::protobuf::RepeatedPtrField<::std::string>& Options::source_map() |
1344 | 20.9k | const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
1345 | | // @@protoc_insertion_point(field_list:bloaty.Options.source_map) |
1346 | 20.9k | return _internal_source_map(); |
1347 | 20.9k | } |
1348 | | inline ::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL |
1349 | 0 | Options::mutable_source_map() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
1350 | 0 | // @@protoc_insertion_point(field_mutable_list:bloaty.Options.source_map) |
1351 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
1352 | 0 | return _internal_mutable_source_map(); |
1353 | 0 | } |
1354 | | inline const ::google::protobuf::RepeatedPtrField<::std::string>& |
1355 | 20.9k | Options::_internal_source_map() const { |
1356 | 20.9k | ::google::protobuf::internal::TSanRead(&_impl_); |
1357 | 20.9k | return _impl_.source_map_; |
1358 | 20.9k | } |
1359 | | inline ::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL |
1360 | 0 | Options::_internal_mutable_source_map() { |
1361 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
1362 | 0 | return &_impl_.source_map_; |
1363 | 0 | } |
1364 | | |
1365 | | // repeated string data_source = 3; |
1366 | 20.9k | inline int Options::_internal_data_source_size() const { |
1367 | 20.9k | return _internal_data_source().size(); |
1368 | 20.9k | } |
1369 | 20.9k | inline int Options::data_source_size() const { |
1370 | 20.9k | return _internal_data_source_size(); |
1371 | 20.9k | } |
1372 | 0 | inline void Options::clear_data_source() { |
1373 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
1374 | 0 | _impl_.data_source_.Clear(); |
1375 | 0 | } |
1376 | | inline ::std::string* PROTOBUF_NONNULL Options::add_data_source() |
1377 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
1378 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
1379 | 0 | ::std::string* _s = _internal_mutable_data_source()->Add(); |
1380 | 0 | // @@protoc_insertion_point(field_add_mutable:bloaty.Options.data_source) |
1381 | 0 | return _s; |
1382 | 0 | } |
1383 | | inline const ::std::string& Options::data_source(int index) const |
1384 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
1385 | 0 | // @@protoc_insertion_point(field_get:bloaty.Options.data_source) |
1386 | 0 | return _internal_data_source().Get(index); |
1387 | 0 | } |
1388 | | inline ::std::string* PROTOBUF_NONNULL Options::mutable_data_source(int index) |
1389 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
1390 | 0 | // @@protoc_insertion_point(field_mutable:bloaty.Options.data_source) |
1391 | 0 | return _internal_mutable_data_source()->Mutable(index); |
1392 | 0 | } |
1393 | | template <typename Arg_, typename... Args_> |
1394 | | inline void Options::set_data_source(int index, Arg_&& value, Args_... args) { |
1395 | | ::google::protobuf::internal::AssignToString(*_internal_mutable_data_source()->Mutable(index), ::std::forward<Arg_>(value), |
1396 | | args... ); |
1397 | | // @@protoc_insertion_point(field_set:bloaty.Options.data_source) |
1398 | | } |
1399 | | template <typename Arg_, typename... Args_> |
1400 | 21.4k | inline void Options::add_data_source(Arg_&& value, Args_... args) { |
1401 | 21.4k | ::google::protobuf::internal::TSanWrite(&_impl_); |
1402 | 21.4k | ::google::protobuf::internal::AddToRepeatedPtrField(*_internal_mutable_data_source(), |
1403 | 21.4k | ::std::forward<Arg_>(value), |
1404 | 21.4k | args... ); |
1405 | | // @@protoc_insertion_point(field_add:bloaty.Options.data_source) |
1406 | 21.4k | } void bloaty::Options::add_data_source<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&>(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) Line | Count | Source | 1400 | 21.4k | inline void Options::add_data_source(Arg_&& value, Args_... args) { | 1401 | 21.4k | ::google::protobuf::internal::TSanWrite(&_impl_); | 1402 | 21.4k | ::google::protobuf::internal::AddToRepeatedPtrField(*_internal_mutable_data_source(), | 1403 | 21.4k | ::std::forward<Arg_>(value), | 1404 | 21.4k | args... ); | 1405 | | // @@protoc_insertion_point(field_add:bloaty.Options.data_source) | 1406 | 21.4k | } |
Unexecuted instantiation: void bloaty::Options::add_data_source<char const (&) [9]>(char const (&) [9]) |
1407 | | inline const ::google::protobuf::RepeatedPtrField<::std::string>& Options::data_source() |
1408 | 20.9k | const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
1409 | | // @@protoc_insertion_point(field_list:bloaty.Options.data_source) |
1410 | 20.9k | return _internal_data_source(); |
1411 | 20.9k | } |
1412 | | inline ::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL |
1413 | 0 | Options::mutable_data_source() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
1414 | 0 | // @@protoc_insertion_point(field_mutable_list:bloaty.Options.data_source) |
1415 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
1416 | 0 | return _internal_mutable_data_source(); |
1417 | 0 | } |
1418 | | inline const ::google::protobuf::RepeatedPtrField<::std::string>& |
1419 | 41.9k | Options::_internal_data_source() const { |
1420 | 41.9k | ::google::protobuf::internal::TSanRead(&_impl_); |
1421 | 41.9k | return _impl_.data_source_; |
1422 | 41.9k | } |
1423 | | inline ::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL |
1424 | 21.4k | Options::_internal_mutable_data_source() { |
1425 | 21.4k | ::google::protobuf::internal::TSanRead(&_impl_); |
1426 | 21.4k | return &_impl_.data_source_; |
1427 | 21.4k | } |
1428 | | |
1429 | | // optional int64 max_rows_per_level = 4 [default = 20]; |
1430 | 0 | inline bool Options::has_max_rows_per_level() const { |
1431 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; |
1432 | 0 | return value; |
1433 | 0 | } |
1434 | 0 | inline void Options::clear_max_rows_per_level() { |
1435 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
1436 | 0 | _impl_.max_rows_per_level_ = ::int64_t{20}; |
1437 | 0 | _impl_._has_bits_[0] &= ~0x00000100u; |
1438 | 0 | } |
1439 | 660k | inline ::int64_t Options::max_rows_per_level() const { |
1440 | | // @@protoc_insertion_point(field_get:bloaty.Options.max_rows_per_level) |
1441 | 660k | return _internal_max_rows_per_level(); |
1442 | 660k | } |
1443 | 0 | inline void Options::set_max_rows_per_level(::int64_t value) { |
1444 | 0 | _internal_set_max_rows_per_level(value); |
1445 | 0 | _impl_._has_bits_[0] |= 0x00000100u; |
1446 | | // @@protoc_insertion_point(field_set:bloaty.Options.max_rows_per_level) |
1447 | 0 | } |
1448 | 660k | inline ::int64_t Options::_internal_max_rows_per_level() const { |
1449 | 660k | ::google::protobuf::internal::TSanRead(&_impl_); |
1450 | 660k | return _impl_.max_rows_per_level_; |
1451 | 660k | } |
1452 | 0 | inline void Options::_internal_set_max_rows_per_level(::int64_t value) { |
1453 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
1454 | 0 | _impl_.max_rows_per_level_ = value; |
1455 | 0 | } |
1456 | | |
1457 | | // optional .bloaty.Options.Demangle demangle = 5 [default = DEMANGLE_SHORT]; |
1458 | 0 | inline bool Options::has_demangle() const { |
1459 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; |
1460 | 0 | return value; |
1461 | 0 | } |
1462 | 0 | inline void Options::clear_demangle() { |
1463 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
1464 | 0 | _impl_.demangle_ = 0; |
1465 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
1466 | 0 | } |
1467 | 21.4k | inline ::bloaty::Options_Demangle Options::demangle() const { |
1468 | | // @@protoc_insertion_point(field_get:bloaty.Options.demangle) |
1469 | 21.4k | return _internal_demangle(); |
1470 | 21.4k | } |
1471 | 0 | inline void Options::set_demangle(::bloaty::Options_Demangle value) { |
1472 | 0 | _internal_set_demangle(value); |
1473 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
1474 | | // @@protoc_insertion_point(field_set:bloaty.Options.demangle) |
1475 | 0 | } |
1476 | 21.4k | inline ::bloaty::Options_Demangle Options::_internal_demangle() const { |
1477 | 21.4k | ::google::protobuf::internal::TSanRead(&_impl_); |
1478 | 21.4k | return static_cast<::bloaty::Options_Demangle>(_impl_.demangle_); |
1479 | 21.4k | } |
1480 | 0 | inline void Options::_internal_set_demangle(::bloaty::Options_Demangle value) { |
1481 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
1482 | |
|
1483 | 0 | assert(::google::protobuf::internal::ValidateEnum( |
1484 | 0 | value, ::bloaty::Options_Demangle_internal_data_)); |
1485 | 0 | _impl_.demangle_ = value; |
1486 | 0 | } |
1487 | | |
1488 | | // optional .bloaty.Options.SortBy sort_by = 6 [default = SORTBY_BOTH]; |
1489 | 0 | inline bool Options::has_sort_by() const { |
1490 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; |
1491 | 0 | return value; |
1492 | 0 | } |
1493 | 0 | inline void Options::clear_sort_by() { |
1494 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
1495 | 0 | _impl_.sort_by_ = 0; |
1496 | 0 | _impl_._has_bits_[0] &= ~0x00000008u; |
1497 | 0 | } |
1498 | 728k | inline ::bloaty::Options_SortBy Options::sort_by() const { |
1499 | | // @@protoc_insertion_point(field_get:bloaty.Options.sort_by) |
1500 | 728k | return _internal_sort_by(); |
1501 | 728k | } |
1502 | 0 | inline void Options::set_sort_by(::bloaty::Options_SortBy value) { |
1503 | 0 | _internal_set_sort_by(value); |
1504 | 0 | _impl_._has_bits_[0] |= 0x00000008u; |
1505 | | // @@protoc_insertion_point(field_set:bloaty.Options.sort_by) |
1506 | 0 | } |
1507 | 728k | inline ::bloaty::Options_SortBy Options::_internal_sort_by() const { |
1508 | 728k | ::google::protobuf::internal::TSanRead(&_impl_); |
1509 | 728k | return static_cast<::bloaty::Options_SortBy>(_impl_.sort_by_); |
1510 | 728k | } |
1511 | 0 | inline void Options::_internal_set_sort_by(::bloaty::Options_SortBy value) { |
1512 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
1513 | |
|
1514 | 0 | assert(::google::protobuf::internal::ValidateEnum( |
1515 | 0 | value, ::bloaty::Options_SortBy_internal_data_)); |
1516 | 0 | _impl_.sort_by_ = value; |
1517 | 0 | } |
1518 | | |
1519 | | // optional int32 verbose_level = 7; |
1520 | 0 | inline bool Options::has_verbose_level() const { |
1521 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; |
1522 | 0 | return value; |
1523 | 0 | } |
1524 | 0 | inline void Options::clear_verbose_level() { |
1525 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
1526 | 0 | _impl_.verbose_level_ = 0; |
1527 | 0 | _impl_._has_bits_[0] &= ~0x00000010u; |
1528 | 0 | } |
1529 | 6.99M | inline ::int32_t Options::verbose_level() const { |
1530 | | // @@protoc_insertion_point(field_get:bloaty.Options.verbose_level) |
1531 | 6.99M | return _internal_verbose_level(); |
1532 | 6.99M | } |
1533 | 0 | inline void Options::set_verbose_level(::int32_t value) { |
1534 | 0 | _internal_set_verbose_level(value); |
1535 | 0 | _impl_._has_bits_[0] |= 0x00000010u; |
1536 | | // @@protoc_insertion_point(field_set:bloaty.Options.verbose_level) |
1537 | 0 | } |
1538 | 6.99M | inline ::int32_t Options::_internal_verbose_level() const { |
1539 | 6.99M | ::google::protobuf::internal::TSanRead(&_impl_); |
1540 | 6.99M | return _impl_.verbose_level_; |
1541 | 6.99M | } |
1542 | 0 | inline void Options::_internal_set_verbose_level(::int32_t value) { |
1543 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
1544 | 0 | _impl_.verbose_level_ = value; |
1545 | 0 | } |
1546 | | |
1547 | | // optional uint64 debug_vmaddr = 11; |
1548 | 4.87M | inline bool Options::has_debug_vmaddr() const { |
1549 | 4.87M | bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; |
1550 | 4.87M | return value; |
1551 | 4.87M | } |
1552 | 0 | inline void Options::clear_debug_vmaddr() { |
1553 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
1554 | 0 | _impl_.debug_vmaddr_ = ::uint64_t{0u}; |
1555 | 0 | _impl_._has_bits_[0] &= ~0x00000040u; |
1556 | 0 | } |
1557 | 0 | inline ::uint64_t Options::debug_vmaddr() const { |
1558 | | // @@protoc_insertion_point(field_get:bloaty.Options.debug_vmaddr) |
1559 | 0 | return _internal_debug_vmaddr(); |
1560 | 0 | } |
1561 | 0 | inline void Options::set_debug_vmaddr(::uint64_t value) { |
1562 | 0 | _internal_set_debug_vmaddr(value); |
1563 | 0 | _impl_._has_bits_[0] |= 0x00000040u; |
1564 | | // @@protoc_insertion_point(field_set:bloaty.Options.debug_vmaddr) |
1565 | 0 | } |
1566 | 0 | inline ::uint64_t Options::_internal_debug_vmaddr() const { |
1567 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
1568 | 0 | return _impl_.debug_vmaddr_; |
1569 | 0 | } |
1570 | 0 | inline void Options::_internal_set_debug_vmaddr(::uint64_t value) { |
1571 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
1572 | 0 | _impl_.debug_vmaddr_ = value; |
1573 | 0 | } |
1574 | | |
1575 | | // optional uint64 debug_fileoff = 12; |
1576 | 6.59M | inline bool Options::has_debug_fileoff() const { |
1577 | 6.59M | bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; |
1578 | 6.59M | return value; |
1579 | 6.59M | } |
1580 | 0 | inline void Options::clear_debug_fileoff() { |
1581 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
1582 | 0 | _impl_.debug_fileoff_ = ::uint64_t{0u}; |
1583 | 0 | _impl_._has_bits_[0] &= ~0x00000080u; |
1584 | 0 | } |
1585 | 0 | inline ::uint64_t Options::debug_fileoff() const { |
1586 | | // @@protoc_insertion_point(field_get:bloaty.Options.debug_fileoff) |
1587 | 0 | return _internal_debug_fileoff(); |
1588 | 0 | } |
1589 | 0 | inline void Options::set_debug_fileoff(::uint64_t value) { |
1590 | 0 | _internal_set_debug_fileoff(value); |
1591 | 0 | _impl_._has_bits_[0] |= 0x00000080u; |
1592 | | // @@protoc_insertion_point(field_set:bloaty.Options.debug_fileoff) |
1593 | 0 | } |
1594 | 0 | inline ::uint64_t Options::_internal_debug_fileoff() const { |
1595 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
1596 | 0 | return _impl_.debug_fileoff_; |
1597 | 0 | } |
1598 | 0 | inline void Options::_internal_set_debug_fileoff(::uint64_t value) { |
1599 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
1600 | 0 | _impl_.debug_fileoff_ = value; |
1601 | 0 | } |
1602 | | |
1603 | | // repeated .bloaty.CustomDataSource custom_data_source = 8; |
1604 | 0 | inline int Options::_internal_custom_data_source_size() const { |
1605 | 0 | return _internal_custom_data_source().size(); |
1606 | 0 | } |
1607 | 0 | inline int Options::custom_data_source_size() const { |
1608 | 0 | return _internal_custom_data_source_size(); |
1609 | 0 | } |
1610 | 0 | inline void Options::clear_custom_data_source() { |
1611 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
1612 | 0 | _impl_.custom_data_source_.Clear(); |
1613 | 0 | } |
1614 | | inline ::bloaty::CustomDataSource* PROTOBUF_NONNULL Options::mutable_custom_data_source(int index) |
1615 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
1616 | 0 | // @@protoc_insertion_point(field_mutable:bloaty.Options.custom_data_source) |
1617 | 0 | return _internal_mutable_custom_data_source()->Mutable(index); |
1618 | 0 | } |
1619 | | inline ::google::protobuf::RepeatedPtrField<::bloaty::CustomDataSource>* PROTOBUF_NONNULL Options::mutable_custom_data_source() |
1620 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
1621 | 0 | // @@protoc_insertion_point(field_mutable_list:bloaty.Options.custom_data_source) |
1622 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
1623 | 0 | return _internal_mutable_custom_data_source(); |
1624 | 0 | } |
1625 | | inline const ::bloaty::CustomDataSource& Options::custom_data_source(int index) const |
1626 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
1627 | 0 | // @@protoc_insertion_point(field_get:bloaty.Options.custom_data_source) |
1628 | 0 | return _internal_custom_data_source().Get(index); |
1629 | 0 | } |
1630 | | inline ::bloaty::CustomDataSource* PROTOBUF_NONNULL Options::add_custom_data_source() |
1631 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
1632 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
1633 | 0 | ::bloaty::CustomDataSource* _add = _internal_mutable_custom_data_source()->Add(); |
1634 | 0 | // @@protoc_insertion_point(field_add:bloaty.Options.custom_data_source) |
1635 | 0 | return _add; |
1636 | 0 | } |
1637 | | inline const ::google::protobuf::RepeatedPtrField<::bloaty::CustomDataSource>& Options::custom_data_source() const |
1638 | 20.9k | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
1639 | | // @@protoc_insertion_point(field_list:bloaty.Options.custom_data_source) |
1640 | 20.9k | return _internal_custom_data_source(); |
1641 | 20.9k | } |
1642 | | inline const ::google::protobuf::RepeatedPtrField<::bloaty::CustomDataSource>& |
1643 | 20.9k | Options::_internal_custom_data_source() const { |
1644 | 20.9k | ::google::protobuf::internal::TSanRead(&_impl_); |
1645 | 20.9k | return _impl_.custom_data_source_; |
1646 | 20.9k | } |
1647 | | inline ::google::protobuf::RepeatedPtrField<::bloaty::CustomDataSource>* PROTOBUF_NONNULL |
1648 | 0 | Options::_internal_mutable_custom_data_source() { |
1649 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
1650 | 0 | return &_impl_.custom_data_source_; |
1651 | 0 | } |
1652 | | |
1653 | | // optional string disassemble_function = 9; |
1654 | 0 | inline bool Options::has_disassemble_function() const { |
1655 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
1656 | 0 | return value; |
1657 | 0 | } |
1658 | 0 | inline void Options::clear_disassemble_function() { |
1659 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
1660 | 0 | _impl_.disassemble_function_.ClearToEmpty(); |
1661 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
1662 | 0 | } |
1663 | | inline const ::std::string& Options::disassemble_function() const |
1664 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
1665 | | // @@protoc_insertion_point(field_get:bloaty.Options.disassemble_function) |
1666 | 0 | return _internal_disassemble_function(); |
1667 | 0 | } |
1668 | | template <typename Arg_, typename... Args_> |
1669 | | PROTOBUF_ALWAYS_INLINE void Options::set_disassemble_function(Arg_&& arg, Args_... args) { |
1670 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
1671 | | _impl_._has_bits_[0] |= 0x00000001u; |
1672 | | _impl_.disassemble_function_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
1673 | | // @@protoc_insertion_point(field_set:bloaty.Options.disassemble_function) |
1674 | | } |
1675 | | inline ::std::string* PROTOBUF_NONNULL Options::mutable_disassemble_function() |
1676 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
1677 | 0 | ::std::string* _s = _internal_mutable_disassemble_function(); |
1678 | | // @@protoc_insertion_point(field_mutable:bloaty.Options.disassemble_function) |
1679 | 0 | return _s; |
1680 | 0 | } |
1681 | 0 | inline const ::std::string& Options::_internal_disassemble_function() const { |
1682 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
1683 | 0 | return _impl_.disassemble_function_.Get(); |
1684 | 0 | } |
1685 | 0 | inline void Options::_internal_set_disassemble_function(const ::std::string& value) { |
1686 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
1687 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
1688 | 0 | _impl_.disassemble_function_.Set(value, GetArena()); |
1689 | 0 | } |
1690 | 0 | inline ::std::string* PROTOBUF_NONNULL Options::_internal_mutable_disassemble_function() { |
1691 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
1692 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
1693 | 0 | return _impl_.disassemble_function_.Mutable( GetArena()); |
1694 | 0 | } |
1695 | 0 | inline ::std::string* PROTOBUF_NULLABLE Options::release_disassemble_function() { |
1696 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
1697 | 0 | // @@protoc_insertion_point(field_release:bloaty.Options.disassemble_function) |
1698 | 0 | if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { |
1699 | 0 | return nullptr; |
1700 | 0 | } |
1701 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
1702 | 0 | auto* released = _impl_.disassemble_function_.Release(); |
1703 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { |
1704 | 0 | _impl_.disassemble_function_.Set("", GetArena()); |
1705 | 0 | } |
1706 | 0 | return released; |
1707 | 0 | } |
1708 | 0 | inline void Options::set_allocated_disassemble_function(::std::string* PROTOBUF_NULLABLE value) { |
1709 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
1710 | 0 | if (value != nullptr) { |
1711 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
1712 | 0 | } else { |
1713 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
1714 | 0 | } |
1715 | 0 | _impl_.disassemble_function_.SetAllocated(value, GetArena()); |
1716 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.disassemble_function_.IsDefault()) { |
1717 | 0 | _impl_.disassemble_function_.Set("", GetArena()); |
1718 | 0 | } |
1719 | 0 | // @@protoc_insertion_point(field_set_allocated:bloaty.Options.disassemble_function) |
1720 | 0 | } |
1721 | | |
1722 | | // optional string source_filter = 13; |
1723 | 41.9k | inline bool Options::has_source_filter() const { |
1724 | 41.9k | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
1725 | 41.9k | return value; |
1726 | 41.9k | } |
1727 | 0 | inline void Options::clear_source_filter() { |
1728 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
1729 | 0 | _impl_.source_filter_.ClearToEmpty(); |
1730 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
1731 | 0 | } |
1732 | | inline const ::std::string& Options::source_filter() const |
1733 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
1734 | | // @@protoc_insertion_point(field_get:bloaty.Options.source_filter) |
1735 | 0 | return _internal_source_filter(); |
1736 | 0 | } |
1737 | | template <typename Arg_, typename... Args_> |
1738 | 0 | PROTOBUF_ALWAYS_INLINE void Options::set_source_filter(Arg_&& arg, Args_... args) { |
1739 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
1740 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
1741 | 0 | _impl_.source_filter_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
1742 | | // @@protoc_insertion_point(field_set:bloaty.Options.source_filter) |
1743 | 0 | } |
1744 | | inline ::std::string* PROTOBUF_NONNULL Options::mutable_source_filter() |
1745 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
1746 | 0 | ::std::string* _s = _internal_mutable_source_filter(); |
1747 | 0 | // @@protoc_insertion_point(field_mutable:bloaty.Options.source_filter) |
1748 | 0 | return _s; |
1749 | 0 | } |
1750 | 0 | inline const ::std::string& Options::_internal_source_filter() const { |
1751 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
1752 | 0 | return _impl_.source_filter_.Get(); |
1753 | 0 | } |
1754 | 0 | inline void Options::_internal_set_source_filter(const ::std::string& value) { |
1755 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
1756 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
1757 | 0 | _impl_.source_filter_.Set(value, GetArena()); |
1758 | 0 | } |
1759 | 0 | inline ::std::string* PROTOBUF_NONNULL Options::_internal_mutable_source_filter() { |
1760 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
1761 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
1762 | 0 | return _impl_.source_filter_.Mutable( GetArena()); |
1763 | 0 | } |
1764 | 0 | inline ::std::string* PROTOBUF_NULLABLE Options::release_source_filter() { |
1765 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
1766 | 0 | // @@protoc_insertion_point(field_release:bloaty.Options.source_filter) |
1767 | 0 | if ((_impl_._has_bits_[0] & 0x00000002u) == 0) { |
1768 | 0 | return nullptr; |
1769 | 0 | } |
1770 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
1771 | 0 | auto* released = _impl_.source_filter_.Release(); |
1772 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { |
1773 | 0 | _impl_.source_filter_.Set("", GetArena()); |
1774 | 0 | } |
1775 | 0 | return released; |
1776 | 0 | } |
1777 | 0 | inline void Options::set_allocated_source_filter(::std::string* PROTOBUF_NULLABLE value) { |
1778 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
1779 | 0 | if (value != nullptr) { |
1780 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
1781 | 0 | } else { |
1782 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
1783 | 0 | } |
1784 | 0 | _impl_.source_filter_.SetAllocated(value, GetArena()); |
1785 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.source_filter_.IsDefault()) { |
1786 | 0 | _impl_.source_filter_.Set("", GetArena()); |
1787 | 0 | } |
1788 | 0 | // @@protoc_insertion_point(field_set_allocated:bloaty.Options.source_filter) |
1789 | 0 | } |
1790 | | |
1791 | | // optional bool dump_raw_map = 14; |
1792 | 0 | inline bool Options::has_dump_raw_map() const { |
1793 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; |
1794 | 0 | return value; |
1795 | 0 | } |
1796 | 0 | inline void Options::clear_dump_raw_map() { |
1797 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
1798 | 0 | _impl_.dump_raw_map_ = false; |
1799 | 0 | _impl_._has_bits_[0] &= ~0x00000020u; |
1800 | 0 | } |
1801 | 10.4k | inline bool Options::dump_raw_map() const { |
1802 | | // @@protoc_insertion_point(field_get:bloaty.Options.dump_raw_map) |
1803 | 10.4k | return _internal_dump_raw_map(); |
1804 | 10.4k | } |
1805 | 0 | inline void Options::set_dump_raw_map(bool value) { |
1806 | 0 | _internal_set_dump_raw_map(value); |
1807 | 0 | _impl_._has_bits_[0] |= 0x00000020u; |
1808 | | // @@protoc_insertion_point(field_set:bloaty.Options.dump_raw_map) |
1809 | 0 | } |
1810 | 10.4k | inline bool Options::_internal_dump_raw_map() const { |
1811 | 10.4k | ::google::protobuf::internal::TSanRead(&_impl_); |
1812 | 10.4k | return _impl_.dump_raw_map_; |
1813 | 10.4k | } |
1814 | 0 | inline void Options::_internal_set_dump_raw_map(bool value) { |
1815 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
1816 | 0 | _impl_.dump_raw_map_ = value; |
1817 | 0 | } |
1818 | | |
1819 | | // ------------------------------------------------------------------- |
1820 | | |
1821 | | // CustomDataSource |
1822 | | |
1823 | | // optional string name = 1; |
1824 | 0 | inline bool CustomDataSource::has_name() const { |
1825 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
1826 | 0 | return value; |
1827 | 0 | } |
1828 | 0 | inline void CustomDataSource::clear_name() { |
1829 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
1830 | 0 | _impl_.name_.ClearToEmpty(); |
1831 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
1832 | 0 | } |
1833 | | inline const ::std::string& CustomDataSource::name() const |
1834 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
1835 | | // @@protoc_insertion_point(field_get:bloaty.CustomDataSource.name) |
1836 | 0 | return _internal_name(); |
1837 | 0 | } |
1838 | | template <typename Arg_, typename... Args_> |
1839 | | PROTOBUF_ALWAYS_INLINE void CustomDataSource::set_name(Arg_&& arg, Args_... args) { |
1840 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
1841 | | _impl_._has_bits_[0] |= 0x00000001u; |
1842 | | _impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
1843 | | // @@protoc_insertion_point(field_set:bloaty.CustomDataSource.name) |
1844 | | } |
1845 | | inline ::std::string* PROTOBUF_NONNULL CustomDataSource::mutable_name() |
1846 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
1847 | 0 | ::std::string* _s = _internal_mutable_name(); |
1848 | 0 | // @@protoc_insertion_point(field_mutable:bloaty.CustomDataSource.name) |
1849 | 0 | return _s; |
1850 | 0 | } |
1851 | 0 | inline const ::std::string& CustomDataSource::_internal_name() const { |
1852 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
1853 | 0 | return _impl_.name_.Get(); |
1854 | 0 | } |
1855 | 0 | inline void CustomDataSource::_internal_set_name(const ::std::string& value) { |
1856 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
1857 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
1858 | 0 | _impl_.name_.Set(value, GetArena()); |
1859 | 0 | } |
1860 | 0 | inline ::std::string* PROTOBUF_NONNULL CustomDataSource::_internal_mutable_name() { |
1861 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
1862 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
1863 | 0 | return _impl_.name_.Mutable( GetArena()); |
1864 | 0 | } |
1865 | 0 | inline ::std::string* PROTOBUF_NULLABLE CustomDataSource::release_name() { |
1866 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
1867 | 0 | // @@protoc_insertion_point(field_release:bloaty.CustomDataSource.name) |
1868 | 0 | if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { |
1869 | 0 | return nullptr; |
1870 | 0 | } |
1871 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
1872 | 0 | auto* released = _impl_.name_.Release(); |
1873 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { |
1874 | 0 | _impl_.name_.Set("", GetArena()); |
1875 | 0 | } |
1876 | 0 | return released; |
1877 | 0 | } |
1878 | 0 | inline void CustomDataSource::set_allocated_name(::std::string* PROTOBUF_NULLABLE value) { |
1879 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
1880 | 0 | if (value != nullptr) { |
1881 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
1882 | 0 | } else { |
1883 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
1884 | 0 | } |
1885 | 0 | _impl_.name_.SetAllocated(value, GetArena()); |
1886 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.name_.IsDefault()) { |
1887 | 0 | _impl_.name_.Set("", GetArena()); |
1888 | 0 | } |
1889 | 0 | // @@protoc_insertion_point(field_set_allocated:bloaty.CustomDataSource.name) |
1890 | 0 | } |
1891 | | |
1892 | | // optional string base_data_source = 2; |
1893 | 0 | inline bool CustomDataSource::has_base_data_source() const { |
1894 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
1895 | 0 | return value; |
1896 | 0 | } |
1897 | 0 | inline void CustomDataSource::clear_base_data_source() { |
1898 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
1899 | 0 | _impl_.base_data_source_.ClearToEmpty(); |
1900 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
1901 | 0 | } |
1902 | | inline const ::std::string& CustomDataSource::base_data_source() const |
1903 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
1904 | | // @@protoc_insertion_point(field_get:bloaty.CustomDataSource.base_data_source) |
1905 | 0 | return _internal_base_data_source(); |
1906 | 0 | } |
1907 | | template <typename Arg_, typename... Args_> |
1908 | | PROTOBUF_ALWAYS_INLINE void CustomDataSource::set_base_data_source(Arg_&& arg, Args_... args) { |
1909 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
1910 | | _impl_._has_bits_[0] |= 0x00000002u; |
1911 | | _impl_.base_data_source_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
1912 | | // @@protoc_insertion_point(field_set:bloaty.CustomDataSource.base_data_source) |
1913 | | } |
1914 | | inline ::std::string* PROTOBUF_NONNULL CustomDataSource::mutable_base_data_source() |
1915 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
1916 | 0 | ::std::string* _s = _internal_mutable_base_data_source(); |
1917 | 0 | // @@protoc_insertion_point(field_mutable:bloaty.CustomDataSource.base_data_source) |
1918 | 0 | return _s; |
1919 | 0 | } |
1920 | 0 | inline const ::std::string& CustomDataSource::_internal_base_data_source() const { |
1921 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
1922 | 0 | return _impl_.base_data_source_.Get(); |
1923 | 0 | } |
1924 | 0 | inline void CustomDataSource::_internal_set_base_data_source(const ::std::string& value) { |
1925 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
1926 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
1927 | 0 | _impl_.base_data_source_.Set(value, GetArena()); |
1928 | 0 | } |
1929 | 0 | inline ::std::string* PROTOBUF_NONNULL CustomDataSource::_internal_mutable_base_data_source() { |
1930 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
1931 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
1932 | 0 | return _impl_.base_data_source_.Mutable( GetArena()); |
1933 | 0 | } |
1934 | 0 | inline ::std::string* PROTOBUF_NULLABLE CustomDataSource::release_base_data_source() { |
1935 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
1936 | 0 | // @@protoc_insertion_point(field_release:bloaty.CustomDataSource.base_data_source) |
1937 | 0 | if ((_impl_._has_bits_[0] & 0x00000002u) == 0) { |
1938 | 0 | return nullptr; |
1939 | 0 | } |
1940 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
1941 | 0 | auto* released = _impl_.base_data_source_.Release(); |
1942 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { |
1943 | 0 | _impl_.base_data_source_.Set("", GetArena()); |
1944 | 0 | } |
1945 | 0 | return released; |
1946 | 0 | } |
1947 | 0 | inline void CustomDataSource::set_allocated_base_data_source(::std::string* PROTOBUF_NULLABLE value) { |
1948 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
1949 | 0 | if (value != nullptr) { |
1950 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
1951 | 0 | } else { |
1952 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
1953 | 0 | } |
1954 | 0 | _impl_.base_data_source_.SetAllocated(value, GetArena()); |
1955 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.base_data_source_.IsDefault()) { |
1956 | 0 | _impl_.base_data_source_.Set("", GetArena()); |
1957 | 0 | } |
1958 | 0 | // @@protoc_insertion_point(field_set_allocated:bloaty.CustomDataSource.base_data_source) |
1959 | 0 | } |
1960 | | |
1961 | | // repeated .bloaty.Regex rewrite = 3; |
1962 | 0 | inline int CustomDataSource::_internal_rewrite_size() const { |
1963 | 0 | return _internal_rewrite().size(); |
1964 | 0 | } |
1965 | 0 | inline int CustomDataSource::rewrite_size() const { |
1966 | 0 | return _internal_rewrite_size(); |
1967 | 0 | } |
1968 | 0 | inline void CustomDataSource::clear_rewrite() { |
1969 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
1970 | 0 | _impl_.rewrite_.Clear(); |
1971 | 0 | } |
1972 | | inline ::bloaty::Regex* PROTOBUF_NONNULL CustomDataSource::mutable_rewrite(int index) |
1973 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
1974 | 0 | // @@protoc_insertion_point(field_mutable:bloaty.CustomDataSource.rewrite) |
1975 | 0 | return _internal_mutable_rewrite()->Mutable(index); |
1976 | 0 | } |
1977 | | inline ::google::protobuf::RepeatedPtrField<::bloaty::Regex>* PROTOBUF_NONNULL CustomDataSource::mutable_rewrite() |
1978 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
1979 | 0 | // @@protoc_insertion_point(field_mutable_list:bloaty.CustomDataSource.rewrite) |
1980 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
1981 | 0 | return _internal_mutable_rewrite(); |
1982 | 0 | } |
1983 | | inline const ::bloaty::Regex& CustomDataSource::rewrite(int index) const |
1984 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
1985 | 0 | // @@protoc_insertion_point(field_get:bloaty.CustomDataSource.rewrite) |
1986 | 0 | return _internal_rewrite().Get(index); |
1987 | 0 | } |
1988 | | inline ::bloaty::Regex* PROTOBUF_NONNULL CustomDataSource::add_rewrite() |
1989 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
1990 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
1991 | 0 | ::bloaty::Regex* _add = _internal_mutable_rewrite()->Add(); |
1992 | 0 | // @@protoc_insertion_point(field_add:bloaty.CustomDataSource.rewrite) |
1993 | 0 | return _add; |
1994 | 0 | } |
1995 | | inline const ::google::protobuf::RepeatedPtrField<::bloaty::Regex>& CustomDataSource::rewrite() const |
1996 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
1997 | | // @@protoc_insertion_point(field_list:bloaty.CustomDataSource.rewrite) |
1998 | 0 | return _internal_rewrite(); |
1999 | 0 | } |
2000 | | inline const ::google::protobuf::RepeatedPtrField<::bloaty::Regex>& |
2001 | 0 | CustomDataSource::_internal_rewrite() const { |
2002 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
2003 | 0 | return _impl_.rewrite_; |
2004 | 0 | } |
2005 | | inline ::google::protobuf::RepeatedPtrField<::bloaty::Regex>* PROTOBUF_NONNULL |
2006 | 0 | CustomDataSource::_internal_mutable_rewrite() { |
2007 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
2008 | 0 | return &_impl_.rewrite_; |
2009 | 0 | } |
2010 | | |
2011 | | // ------------------------------------------------------------------- |
2012 | | |
2013 | | // Regex |
2014 | | |
2015 | | // optional string pattern = 1; |
2016 | 0 | inline bool Regex::has_pattern() const { |
2017 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
2018 | 0 | return value; |
2019 | 0 | } |
2020 | 0 | inline void Regex::clear_pattern() { |
2021 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
2022 | 0 | _impl_.pattern_.ClearToEmpty(); |
2023 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
2024 | 0 | } |
2025 | | inline const ::std::string& Regex::pattern() const |
2026 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
2027 | | // @@protoc_insertion_point(field_get:bloaty.Regex.pattern) |
2028 | 0 | return _internal_pattern(); |
2029 | 0 | } |
2030 | | template <typename Arg_, typename... Args_> |
2031 | | PROTOBUF_ALWAYS_INLINE void Regex::set_pattern(Arg_&& arg, Args_... args) { |
2032 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
2033 | | _impl_._has_bits_[0] |= 0x00000001u; |
2034 | | _impl_.pattern_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
2035 | | // @@protoc_insertion_point(field_set:bloaty.Regex.pattern) |
2036 | | } |
2037 | | inline ::std::string* PROTOBUF_NONNULL Regex::mutable_pattern() |
2038 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
2039 | 0 | ::std::string* _s = _internal_mutable_pattern(); |
2040 | 0 | // @@protoc_insertion_point(field_mutable:bloaty.Regex.pattern) |
2041 | 0 | return _s; |
2042 | 0 | } |
2043 | 0 | inline const ::std::string& Regex::_internal_pattern() const { |
2044 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
2045 | 0 | return _impl_.pattern_.Get(); |
2046 | 0 | } |
2047 | 0 | inline void Regex::_internal_set_pattern(const ::std::string& value) { |
2048 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
2049 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
2050 | 0 | _impl_.pattern_.Set(value, GetArena()); |
2051 | 0 | } |
2052 | 0 | inline ::std::string* PROTOBUF_NONNULL Regex::_internal_mutable_pattern() { |
2053 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
2054 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
2055 | 0 | return _impl_.pattern_.Mutable( GetArena()); |
2056 | 0 | } |
2057 | 0 | inline ::std::string* PROTOBUF_NULLABLE Regex::release_pattern() { |
2058 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
2059 | 0 | // @@protoc_insertion_point(field_release:bloaty.Regex.pattern) |
2060 | 0 | if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { |
2061 | 0 | return nullptr; |
2062 | 0 | } |
2063 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
2064 | 0 | auto* released = _impl_.pattern_.Release(); |
2065 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { |
2066 | 0 | _impl_.pattern_.Set("", GetArena()); |
2067 | 0 | } |
2068 | 0 | return released; |
2069 | 0 | } |
2070 | 0 | inline void Regex::set_allocated_pattern(::std::string* PROTOBUF_NULLABLE value) { |
2071 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
2072 | 0 | if (value != nullptr) { |
2073 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
2074 | 0 | } else { |
2075 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
2076 | 0 | } |
2077 | 0 | _impl_.pattern_.SetAllocated(value, GetArena()); |
2078 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.pattern_.IsDefault()) { |
2079 | 0 | _impl_.pattern_.Set("", GetArena()); |
2080 | 0 | } |
2081 | 0 | // @@protoc_insertion_point(field_set_allocated:bloaty.Regex.pattern) |
2082 | 0 | } |
2083 | | |
2084 | | // optional string replacement = 2; |
2085 | 0 | inline bool Regex::has_replacement() const { |
2086 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
2087 | 0 | return value; |
2088 | 0 | } |
2089 | 0 | inline void Regex::clear_replacement() { |
2090 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
2091 | 0 | _impl_.replacement_.ClearToEmpty(); |
2092 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
2093 | 0 | } |
2094 | | inline const ::std::string& Regex::replacement() const |
2095 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
2096 | | // @@protoc_insertion_point(field_get:bloaty.Regex.replacement) |
2097 | 0 | return _internal_replacement(); |
2098 | 0 | } |
2099 | | template <typename Arg_, typename... Args_> |
2100 | | PROTOBUF_ALWAYS_INLINE void Regex::set_replacement(Arg_&& arg, Args_... args) { |
2101 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
2102 | | _impl_._has_bits_[0] |= 0x00000002u; |
2103 | | _impl_.replacement_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
2104 | | // @@protoc_insertion_point(field_set:bloaty.Regex.replacement) |
2105 | | } |
2106 | | inline ::std::string* PROTOBUF_NONNULL Regex::mutable_replacement() |
2107 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
2108 | 0 | ::std::string* _s = _internal_mutable_replacement(); |
2109 | 0 | // @@protoc_insertion_point(field_mutable:bloaty.Regex.replacement) |
2110 | 0 | return _s; |
2111 | 0 | } |
2112 | 0 | inline const ::std::string& Regex::_internal_replacement() const { |
2113 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
2114 | 0 | return _impl_.replacement_.Get(); |
2115 | 0 | } |
2116 | 0 | inline void Regex::_internal_set_replacement(const ::std::string& value) { |
2117 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
2118 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
2119 | 0 | _impl_.replacement_.Set(value, GetArena()); |
2120 | 0 | } |
2121 | 0 | inline ::std::string* PROTOBUF_NONNULL Regex::_internal_mutable_replacement() { |
2122 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
2123 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
2124 | 0 | return _impl_.replacement_.Mutable( GetArena()); |
2125 | 0 | } |
2126 | 0 | inline ::std::string* PROTOBUF_NULLABLE Regex::release_replacement() { |
2127 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
2128 | 0 | // @@protoc_insertion_point(field_release:bloaty.Regex.replacement) |
2129 | 0 | if ((_impl_._has_bits_[0] & 0x00000002u) == 0) { |
2130 | 0 | return nullptr; |
2131 | 0 | } |
2132 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
2133 | 0 | auto* released = _impl_.replacement_.Release(); |
2134 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { |
2135 | 0 | _impl_.replacement_.Set("", GetArena()); |
2136 | 0 | } |
2137 | 0 | return released; |
2138 | 0 | } |
2139 | 0 | inline void Regex::set_allocated_replacement(::std::string* PROTOBUF_NULLABLE value) { |
2140 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
2141 | 0 | if (value != nullptr) { |
2142 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
2143 | 0 | } else { |
2144 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
2145 | 0 | } |
2146 | 0 | _impl_.replacement_.SetAllocated(value, GetArena()); |
2147 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.replacement_.IsDefault()) { |
2148 | 0 | _impl_.replacement_.Set("", GetArena()); |
2149 | 0 | } |
2150 | 0 | // @@protoc_insertion_point(field_set_allocated:bloaty.Regex.replacement) |
2151 | 0 | } |
2152 | | |
2153 | | #ifdef __GNUC__ |
2154 | | #pragma GCC diagnostic pop |
2155 | | #endif // __GNUC__ |
2156 | | |
2157 | | // @@protoc_insertion_point(namespace_scope) |
2158 | | } // namespace bloaty |
2159 | | |
2160 | | |
2161 | | namespace google { |
2162 | | namespace protobuf { |
2163 | | |
2164 | | template <> |
2165 | | struct is_proto_enum<::bloaty::Options_Demangle> : std::true_type {}; |
2166 | | template <> |
2167 | 0 | inline const EnumDescriptor* PROTOBUF_NONNULL GetEnumDescriptor<::bloaty::Options_Demangle>() { |
2168 | 0 | return ::bloaty::Options_Demangle_descriptor(); |
2169 | 0 | } |
2170 | | template <> |
2171 | | struct is_proto_enum<::bloaty::Options_SortBy> : std::true_type {}; |
2172 | | template <> |
2173 | 0 | inline const EnumDescriptor* PROTOBUF_NONNULL GetEnumDescriptor<::bloaty::Options_SortBy>() { |
2174 | 0 | return ::bloaty::Options_SortBy_descriptor(); |
2175 | 0 | } |
2176 | | |
2177 | | } // namespace protobuf |
2178 | | } // namespace google |
2179 | | |
2180 | | // @@protoc_insertion_point(global_scope) |
2181 | | |
2182 | | #include "google/protobuf/port_undef.inc" |
2183 | | |
2184 | | #endif // bloaty_2eproto_2epb_2eh |