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