Coverage Report

Created: 2023-03-26 09:52

/work/src/bloaty.pb.h
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
    kDisassembleFunctionFieldNumber = 9,
309
    kSourceFilterFieldNumber = 13,
310
    kDemangleFieldNumber = 5,
311
    kSortByFieldNumber = 6,
312
    kVerboseLevelFieldNumber = 7,
313
    kDumpRawMapFieldNumber = 14,
314
    kDebugVmaddrFieldNumber = 11,
315
    kDebugFileoffFieldNumber = 12,
316
    kMaxRowsPerLevelFieldNumber = 4,
317
  };
318
  // repeated string filename = 1;
319
  int filename_size() const;
320
  private:
321
  int _internal_filename_size() const;
322
  public:
323
  void clear_filename();
324
  const std::string& filename(int index) const;
325
  std::string* mutable_filename(int index);
326
  void set_filename(int index, const std::string& value);
327
  void set_filename(int index, std::string&& value);
328
  void set_filename(int index, const char* value);
329
  void set_filename(int index, const char* value, size_t size);
330
  std::string* add_filename();
331
  void add_filename(const std::string& value);
332
  void add_filename(std::string&& value);
333
  void add_filename(const char* value);
334
  void add_filename(const char* value, size_t size);
335
  const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& filename() const;
336
  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_filename();
337
  private:
338
  const std::string& _internal_filename(int index) const;
339
  std::string* _internal_add_filename();
340
  public:
341
342
  // repeated string base_filename = 2;
343
  int base_filename_size() const;
344
  private:
345
  int _internal_base_filename_size() const;
346
  public:
347
  void clear_base_filename();
348
  const std::string& base_filename(int index) const;
349
  std::string* mutable_base_filename(int index);
350
  void set_base_filename(int index, const std::string& value);
351
  void set_base_filename(int index, std::string&& value);
352
  void set_base_filename(int index, const char* value);
353
  void set_base_filename(int index, const char* value, size_t size);
354
  std::string* add_base_filename();
355
  void add_base_filename(const std::string& value);
356
  void add_base_filename(std::string&& value);
357
  void add_base_filename(const char* value);
358
  void add_base_filename(const char* value, size_t size);
359
  const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& base_filename() const;
360
  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_base_filename();
361
  private:
362
  const std::string& _internal_base_filename(int index) const;
363
  std::string* _internal_add_base_filename();
364
  public:
365
366
  // repeated string data_source = 3;
367
  int data_source_size() const;
368
  private:
369
  int _internal_data_source_size() const;
370
  public:
371
  void clear_data_source();
372
  const std::string& data_source(int index) const;
373
  std::string* mutable_data_source(int index);
374
  void set_data_source(int index, const std::string& value);
375
  void set_data_source(int index, std::string&& value);
376
  void set_data_source(int index, const char* value);
377
  void set_data_source(int index, const char* value, size_t size);
378
  std::string* add_data_source();
379
  void add_data_source(const std::string& value);
380
  void add_data_source(std::string&& value);
381
  void add_data_source(const char* value);
382
  void add_data_source(const char* value, size_t size);
383
  const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& data_source() const;
384
  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_data_source();
385
  private:
386
  const std::string& _internal_data_source(int index) const;
387
  std::string* _internal_add_data_source();
388
  public:
389
390
  // repeated .bloaty.CustomDataSource custom_data_source = 8;
391
  int custom_data_source_size() const;
392
  private:
393
  int _internal_custom_data_source_size() const;
394
  public:
395
  void clear_custom_data_source();
396
  ::bloaty::CustomDataSource* mutable_custom_data_source(int index);
397
  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::bloaty::CustomDataSource >*
398
      mutable_custom_data_source();
399
  private:
400
  const ::bloaty::CustomDataSource& _internal_custom_data_source(int index) const;
401
  ::bloaty::CustomDataSource* _internal_add_custom_data_source();
402
  public:
403
  const ::bloaty::CustomDataSource& custom_data_source(int index) const;
404
  ::bloaty::CustomDataSource* add_custom_data_source();
405
  const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::bloaty::CustomDataSource >&
406
      custom_data_source() const;
407
408
  // repeated string debug_filename = 10;
409
  int debug_filename_size() const;
410
  private:
411
  int _internal_debug_filename_size() const;
412
  public:
413
  void clear_debug_filename();
414
  const std::string& debug_filename(int index) const;
415
  std::string* mutable_debug_filename(int index);
416
  void set_debug_filename(int index, const std::string& value);
417
  void set_debug_filename(int index, std::string&& value);
418
  void set_debug_filename(int index, const char* value);
419
  void set_debug_filename(int index, const char* value, size_t size);
420
  std::string* add_debug_filename();
421
  void add_debug_filename(const std::string& value);
422
  void add_debug_filename(std::string&& value);
423
  void add_debug_filename(const char* value);
424
  void add_debug_filename(const char* value, size_t size);
425
  const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& debug_filename() const;
426
  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_debug_filename();
427
  private:
428
  const std::string& _internal_debug_filename(int index) const;
429
  std::string* _internal_add_debug_filename();
430
  public:
431
432
  // optional string disassemble_function = 9;
433
  bool has_disassemble_function() const;
434
  private:
435
  bool _internal_has_disassemble_function() const;
436
  public:
437
  void clear_disassemble_function();
438
  const std::string& disassemble_function() const;
439
  void set_disassemble_function(const std::string& value);
440
  void set_disassemble_function(std::string&& value);
441
  void set_disassemble_function(const char* value);
442
  void set_disassemble_function(const char* value, size_t size);
443
  std::string* mutable_disassemble_function();
444
  std::string* release_disassemble_function();
445
  void set_allocated_disassemble_function(std::string* disassemble_function);
446
  private:
447
  const std::string& _internal_disassemble_function() const;
448
  void _internal_set_disassemble_function(const std::string& value);
449
  std::string* _internal_mutable_disassemble_function();
450
  public:
451
452
  // optional string source_filter = 13;
453
  bool has_source_filter() const;
454
  private:
455
  bool _internal_has_source_filter() const;
456
  public:
457
  void clear_source_filter();
458
  const std::string& source_filter() const;
459
  void set_source_filter(const std::string& value);
460
  void set_source_filter(std::string&& value);
461
  void set_source_filter(const char* value);
462
  void set_source_filter(const char* value, size_t size);
463
  std::string* mutable_source_filter();
464
  std::string* release_source_filter();
465
  void set_allocated_source_filter(std::string* source_filter);
466
  private:
467
  const std::string& _internal_source_filter() const;
468
  void _internal_set_source_filter(const std::string& value);
469
  std::string* _internal_mutable_source_filter();
470
  public:
471
472
  // optional .bloaty.Options.Demangle demangle = 5 [default = DEMANGLE_SHORT];
473
  bool has_demangle() const;
474
  private:
475
  bool _internal_has_demangle() const;
476
  public:
477
  void clear_demangle();
478
  ::bloaty::Options_Demangle demangle() const;
479
  void set_demangle(::bloaty::Options_Demangle value);
480
  private:
481
  ::bloaty::Options_Demangle _internal_demangle() const;
482
  void _internal_set_demangle(::bloaty::Options_Demangle value);
483
  public:
484
485
  // optional .bloaty.Options.SortBy sort_by = 6 [default = SORTBY_BOTH];
486
  bool has_sort_by() const;
487
  private:
488
  bool _internal_has_sort_by() const;
489
  public:
490
  void clear_sort_by();
491
  ::bloaty::Options_SortBy sort_by() const;
492
  void set_sort_by(::bloaty::Options_SortBy value);
493
  private:
494
  ::bloaty::Options_SortBy _internal_sort_by() const;
495
  void _internal_set_sort_by(::bloaty::Options_SortBy value);
496
  public:
497
498
  // optional int32 verbose_level = 7;
499
  bool has_verbose_level() const;
500
  private:
501
  bool _internal_has_verbose_level() const;
502
  public:
503
  void clear_verbose_level();
504
  ::PROTOBUF_NAMESPACE_ID::int32 verbose_level() const;
505
  void set_verbose_level(::PROTOBUF_NAMESPACE_ID::int32 value);
506
  private:
507
  ::PROTOBUF_NAMESPACE_ID::int32 _internal_verbose_level() const;
508
  void _internal_set_verbose_level(::PROTOBUF_NAMESPACE_ID::int32 value);
509
  public:
510
511
  // optional bool dump_raw_map = 14;
512
  bool has_dump_raw_map() const;
513
  private:
514
  bool _internal_has_dump_raw_map() const;
515
  public:
516
  void clear_dump_raw_map();
517
  bool dump_raw_map() const;
518
  void set_dump_raw_map(bool value);
519
  private:
520
  bool _internal_dump_raw_map() const;
521
  void _internal_set_dump_raw_map(bool value);
522
  public:
523
524
  // optional uint64 debug_vmaddr = 11;
525
  bool has_debug_vmaddr() const;
526
  private:
527
  bool _internal_has_debug_vmaddr() const;
528
  public:
529
  void clear_debug_vmaddr();
530
  ::PROTOBUF_NAMESPACE_ID::uint64 debug_vmaddr() const;
531
  void set_debug_vmaddr(::PROTOBUF_NAMESPACE_ID::uint64 value);
532
  private:
533
  ::PROTOBUF_NAMESPACE_ID::uint64 _internal_debug_vmaddr() const;
534
  void _internal_set_debug_vmaddr(::PROTOBUF_NAMESPACE_ID::uint64 value);
535
  public:
536
537
  // optional uint64 debug_fileoff = 12;
538
  bool has_debug_fileoff() const;
539
  private:
540
  bool _internal_has_debug_fileoff() const;
541
  public:
542
  void clear_debug_fileoff();
543
  ::PROTOBUF_NAMESPACE_ID::uint64 debug_fileoff() const;
544
  void set_debug_fileoff(::PROTOBUF_NAMESPACE_ID::uint64 value);
545
  private:
546
  ::PROTOBUF_NAMESPACE_ID::uint64 _internal_debug_fileoff() const;
547
  void _internal_set_debug_fileoff(::PROTOBUF_NAMESPACE_ID::uint64 value);
548
  public:
549
550
  // optional int64 max_rows_per_level = 4 [default = 20];
551
  bool has_max_rows_per_level() const;
552
  private:
553
  bool _internal_has_max_rows_per_level() const;
554
  public:
555
  void clear_max_rows_per_level();
556
  ::PROTOBUF_NAMESPACE_ID::int64 max_rows_per_level() const;
557
  void set_max_rows_per_level(::PROTOBUF_NAMESPACE_ID::int64 value);
558
  private:
559
  ::PROTOBUF_NAMESPACE_ID::int64 _internal_max_rows_per_level() const;
560
  void _internal_set_max_rows_per_level(::PROTOBUF_NAMESPACE_ID::int64 value);
561
  public:
562
563
  // @@protoc_insertion_point(class_scope:bloaty.Options)
564
 private:
565
  class _Internal;
566
567
  ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
568
  ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
569
  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
570
  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> filename_;
571
  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> base_filename_;
572
  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> data_source_;
573
  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::bloaty::CustomDataSource > custom_data_source_;
574
  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> debug_filename_;
575
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr disassemble_function_;
576
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr source_filter_;
577
  int demangle_;
578
  int sort_by_;
579
  ::PROTOBUF_NAMESPACE_ID::int32 verbose_level_;
580
  bool dump_raw_map_;
581
  ::PROTOBUF_NAMESPACE_ID::uint64 debug_vmaddr_;
582
  ::PROTOBUF_NAMESPACE_ID::uint64 debug_fileoff_;
583
  ::PROTOBUF_NAMESPACE_ID::int64 max_rows_per_level_;
584
  friend struct ::TableStruct_bloaty_2eproto;
585
};
586
// -------------------------------------------------------------------
587
588
class CustomDataSource :
589
    public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:bloaty.CustomDataSource) */ {
590
 public:
591
  CustomDataSource();
592
  virtual ~CustomDataSource();
593
594
  CustomDataSource(const CustomDataSource& from);
595
  CustomDataSource(CustomDataSource&& from) noexcept
596
0
    : CustomDataSource() {
597
0
    *this = ::std::move(from);
598
0
  }
599
600
0
  inline CustomDataSource& operator=(const CustomDataSource& from) {
601
0
    CopyFrom(from);
602
0
    return *this;
603
0
  }
604
0
  inline CustomDataSource& operator=(CustomDataSource&& from) noexcept {
605
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
606
0
      if (this != &from) InternalSwap(&from);
607
0
    } else {
608
0
      CopyFrom(from);
609
0
    }
610
0
    return *this;
611
0
  }
612
613
0
  inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
614
0
    return _internal_metadata_.unknown_fields();
615
0
  }
616
0
  inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
617
0
    return _internal_metadata_.mutable_unknown_fields();
618
0
  }
619
620
0
  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
621
0
    return GetDescriptor();
622
0
  }
623
0
  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
624
0
    return GetMetadataStatic().descriptor;
625
0
  }
626
0
  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
627
0
    return GetMetadataStatic().reflection;
628
0
  }
629
  static const CustomDataSource& default_instance();
630
631
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
632
0
  static inline const CustomDataSource* internal_default_instance() {
633
0
    return reinterpret_cast<const CustomDataSource*>(
634
0
               &_CustomDataSource_default_instance_);
635
0
  }
636
  static constexpr int kIndexInFileMessages =
637
    1;
638
639
0
  friend void swap(CustomDataSource& a, CustomDataSource& b) {
640
0
    a.Swap(&b);
641
0
  }
642
0
  inline void Swap(CustomDataSource* other) {
643
0
    if (other == this) return;
644
0
    InternalSwap(other);
645
0
  }
646
647
  // implements Message ----------------------------------------------
648
649
0
  inline CustomDataSource* New() const final {
650
0
    return CreateMaybeMessage<CustomDataSource>(nullptr);
651
0
  }
652
653
0
  CustomDataSource* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
654
0
    return CreateMaybeMessage<CustomDataSource>(arena);
655
0
  }
656
  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
657
  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
658
  void CopyFrom(const CustomDataSource& from);
659
  void MergeFrom(const CustomDataSource& from);
660
  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
661
  bool IsInitialized() const final;
662
663
  size_t ByteSizeLong() const final;
664
  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
665
  ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
666
      ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
667
0
  int GetCachedSize() const final { return _cached_size_.Get(); }
668
669
  private:
670
  inline void SharedCtor();
671
  inline void SharedDtor();
672
  void SetCachedSize(int size) const final;
673
  void InternalSwap(CustomDataSource* other);
674
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
675
0
  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
676
0
    return "bloaty.CustomDataSource";
677
0
  }
678
  private:
679
0
  inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
680
0
    return nullptr;
681
0
  }
682
0
  inline void* MaybeArenaPtr() const {
683
0
    return nullptr;
684
0
  }
685
  public:
686
687
  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
688
  private:
689
0
  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
690
0
    ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_bloaty_2eproto);
691
0
    return ::descriptor_table_bloaty_2eproto.file_level_metadata[kIndexInFileMessages];
692
0
  }
693
694
  public:
695
696
  // nested types ----------------------------------------------------
697
698
  // accessors -------------------------------------------------------
699
700
  enum : int {
701
    kRewriteFieldNumber = 3,
702
    kNameFieldNumber = 1,
703
    kBaseDataSourceFieldNumber = 2,
704
  };
705
  // repeated .bloaty.Regex rewrite = 3;
706
  int rewrite_size() const;
707
  private:
708
  int _internal_rewrite_size() const;
709
  public:
710
  void clear_rewrite();
711
  ::bloaty::Regex* mutable_rewrite(int index);
712
  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::bloaty::Regex >*
713
      mutable_rewrite();
714
  private:
715
  const ::bloaty::Regex& _internal_rewrite(int index) const;
716
  ::bloaty::Regex* _internal_add_rewrite();
717
  public:
718
  const ::bloaty::Regex& rewrite(int index) const;
719
  ::bloaty::Regex* add_rewrite();
720
  const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::bloaty::Regex >&
721
      rewrite() const;
722
723
  // optional string name = 1;
724
  bool has_name() const;
725
  private:
726
  bool _internal_has_name() const;
727
  public:
728
  void clear_name();
729
  const std::string& name() const;
730
  void set_name(const std::string& value);
731
  void set_name(std::string&& value);
732
  void set_name(const char* value);
733
  void set_name(const char* value, size_t size);
734
  std::string* mutable_name();
735
  std::string* release_name();
736
  void set_allocated_name(std::string* name);
737
  private:
738
  const std::string& _internal_name() const;
739
  void _internal_set_name(const std::string& value);
740
  std::string* _internal_mutable_name();
741
  public:
742
743
  // optional string base_data_source = 2;
744
  bool has_base_data_source() const;
745
  private:
746
  bool _internal_has_base_data_source() const;
747
  public:
748
  void clear_base_data_source();
749
  const std::string& base_data_source() const;
750
  void set_base_data_source(const std::string& value);
751
  void set_base_data_source(std::string&& value);
752
  void set_base_data_source(const char* value);
753
  void set_base_data_source(const char* value, size_t size);
754
  std::string* mutable_base_data_source();
755
  std::string* release_base_data_source();
756
  void set_allocated_base_data_source(std::string* base_data_source);
757
  private:
758
  const std::string& _internal_base_data_source() const;
759
  void _internal_set_base_data_source(const std::string& value);
760
  std::string* _internal_mutable_base_data_source();
761
  public:
762
763
  // @@protoc_insertion_point(class_scope:bloaty.CustomDataSource)
764
 private:
765
  class _Internal;
766
767
  ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
768
  ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
769
  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
770
  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::bloaty::Regex > rewrite_;
771
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
772
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr base_data_source_;
773
  friend struct ::TableStruct_bloaty_2eproto;
774
};
775
// -------------------------------------------------------------------
776
777
class Regex :
778
    public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:bloaty.Regex) */ {
779
 public:
780
  Regex();
781
  virtual ~Regex();
782
783
  Regex(const Regex& from);
784
  Regex(Regex&& from) noexcept
785
0
    : Regex() {
786
0
    *this = ::std::move(from);
787
0
  }
788
789
0
  inline Regex& operator=(const Regex& from) {
790
0
    CopyFrom(from);
791
0
    return *this;
792
0
  }
793
0
  inline Regex& operator=(Regex&& from) noexcept {
794
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
795
0
      if (this != &from) InternalSwap(&from);
796
0
    } else {
797
0
      CopyFrom(from);
798
0
    }
799
0
    return *this;
800
0
  }
801
802
0
  inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
803
0
    return _internal_metadata_.unknown_fields();
804
0
  }
805
0
  inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
806
0
    return _internal_metadata_.mutable_unknown_fields();
807
0
  }
808
809
0
  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
810
0
    return GetDescriptor();
811
0
  }
812
0
  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
813
0
    return GetMetadataStatic().descriptor;
814
0
  }
815
0
  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
816
0
    return GetMetadataStatic().reflection;
817
0
  }
818
  static const Regex& default_instance();
819
820
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
821
0
  static inline const Regex* internal_default_instance() {
822
0
    return reinterpret_cast<const Regex*>(
823
0
               &_Regex_default_instance_);
824
0
  }
825
  static constexpr int kIndexInFileMessages =
826
    2;
827
828
0
  friend void swap(Regex& a, Regex& b) {
829
0
    a.Swap(&b);
830
0
  }
831
0
  inline void Swap(Regex* other) {
832
0
    if (other == this) return;
833
0
    InternalSwap(other);
834
0
  }
835
836
  // implements Message ----------------------------------------------
837
838
0
  inline Regex* New() const final {
839
0
    return CreateMaybeMessage<Regex>(nullptr);
840
0
  }
841
842
0
  Regex* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
843
0
    return CreateMaybeMessage<Regex>(arena);
844
0
  }
845
  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
846
  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
847
  void CopyFrom(const Regex& from);
848
  void MergeFrom(const Regex& from);
849
  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
850
  bool IsInitialized() const final;
851
852
  size_t ByteSizeLong() const final;
853
  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
854
  ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
855
      ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
856
0
  int GetCachedSize() const final { return _cached_size_.Get(); }
857
858
  private:
859
  inline void SharedCtor();
860
  inline void SharedDtor();
861
  void SetCachedSize(int size) const final;
862
  void InternalSwap(Regex* other);
863
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
864
0
  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
865
0
    return "bloaty.Regex";
866
0
  }
867
  private:
868
0
  inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
869
0
    return nullptr;
870
0
  }
871
0
  inline void* MaybeArenaPtr() const {
872
0
    return nullptr;
873
0
  }
874
  public:
875
876
  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
877
  private:
878
0
  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
879
0
    ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_bloaty_2eproto);
880
0
    return ::descriptor_table_bloaty_2eproto.file_level_metadata[kIndexInFileMessages];
881
0
  }
882
883
  public:
884
885
  // nested types ----------------------------------------------------
886
887
  // accessors -------------------------------------------------------
888
889
  enum : int {
890
    kPatternFieldNumber = 1,
891
    kReplacementFieldNumber = 2,
892
  };
893
  // optional string pattern = 1;
894
  bool has_pattern() const;
895
  private:
896
  bool _internal_has_pattern() const;
897
  public:
898
  void clear_pattern();
899
  const std::string& pattern() const;
900
  void set_pattern(const std::string& value);
901
  void set_pattern(std::string&& value);
902
  void set_pattern(const char* value);
903
  void set_pattern(const char* value, size_t size);
904
  std::string* mutable_pattern();
905
  std::string* release_pattern();
906
  void set_allocated_pattern(std::string* pattern);
907
  private:
908
  const std::string& _internal_pattern() const;
909
  void _internal_set_pattern(const std::string& value);
910
  std::string* _internal_mutable_pattern();
911
  public:
912
913
  // optional string replacement = 2;
914
  bool has_replacement() const;
915
  private:
916
  bool _internal_has_replacement() const;
917
  public:
918
  void clear_replacement();
919
  const std::string& replacement() const;
920
  void set_replacement(const std::string& value);
921
  void set_replacement(std::string&& value);
922
  void set_replacement(const char* value);
923
  void set_replacement(const char* value, size_t size);
924
  std::string* mutable_replacement();
925
  std::string* release_replacement();
926
  void set_allocated_replacement(std::string* replacement);
927
  private:
928
  const std::string& _internal_replacement() const;
929
  void _internal_set_replacement(const std::string& value);
930
  std::string* _internal_mutable_replacement();
931
  public:
932
933
  // @@protoc_insertion_point(class_scope:bloaty.Regex)
934
 private:
935
  class _Internal;
936
937
  ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
938
  ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
939
  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
940
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr pattern_;
941
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr replacement_;
942
  friend struct ::TableStruct_bloaty_2eproto;
943
};
944
// ===================================================================
945
946
947
// ===================================================================
948
949
#ifdef __GNUC__
950
  #pragma GCC diagnostic push
951
  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
952
#endif  // __GNUC__
953
// Options
954
955
// repeated string filename = 1;
956
831k
inline int Options::_internal_filename_size() const {
957
831k
  return filename_.size();
958
831k
}
959
831k
inline int Options::filename_size() const {
960
831k
  return _internal_filename_size();
961
831k
}
962
0
inline void Options::clear_filename() {
963
0
  filename_.Clear();
964
0
}
965
0
inline std::string* Options::add_filename() {
966
0
  // @@protoc_insertion_point(field_add_mutable:bloaty.Options.filename)
967
0
  return _internal_add_filename();
968
0
}
969
0
inline const std::string& Options::_internal_filename(int index) const {
970
0
  return filename_.Get(index);
971
0
}
972
0
inline const std::string& Options::filename(int index) const {
973
0
  // @@protoc_insertion_point(field_get:bloaty.Options.filename)
974
0
  return _internal_filename(index);
975
0
}
976
0
inline std::string* Options::mutable_filename(int index) {
977
0
  // @@protoc_insertion_point(field_mutable:bloaty.Options.filename)
978
0
  return filename_.Mutable(index);
979
0
}
980
0
inline void Options::set_filename(int index, const std::string& value) {
981
0
  // @@protoc_insertion_point(field_set:bloaty.Options.filename)
982
0
  filename_.Mutable(index)->assign(value);
983
0
}
984
0
inline void Options::set_filename(int index, std::string&& value) {
985
0
  // @@protoc_insertion_point(field_set:bloaty.Options.filename)
986
0
  filename_.Mutable(index)->assign(std::move(value));
987
0
}
988
0
inline void Options::set_filename(int index, const char* value) {
989
0
  GOOGLE_DCHECK(value != nullptr);
990
0
  filename_.Mutable(index)->assign(value);
991
0
  // @@protoc_insertion_point(field_set_char:bloaty.Options.filename)
992
0
}
993
0
inline void Options::set_filename(int index, const char* value, size_t size) {
994
0
  filename_.Mutable(index)->assign(
995
0
    reinterpret_cast<const char*>(value), size);
996
0
  // @@protoc_insertion_point(field_set_pointer:bloaty.Options.filename)
997
0
}
998
0
inline std::string* Options::_internal_add_filename() {
999
0
  return filename_.Add();
1000
0
}
1001
0
inline void Options::add_filename(const std::string& value) {
1002
0
  filename_.Add()->assign(value);
1003
0
  // @@protoc_insertion_point(field_add:bloaty.Options.filename)
1004
0
}
1005
0
inline void Options::add_filename(std::string&& value) {
1006
0
  filename_.Add(std::move(value));
1007
  // @@protoc_insertion_point(field_add:bloaty.Options.filename)
1008
0
}
1009
831k
inline void Options::add_filename(const char* value) {
1010
831k
  GOOGLE_DCHECK(value != nullptr);
1011
831k
  filename_.Add()->assign(value);
1012
  // @@protoc_insertion_point(field_add_char:bloaty.Options.filename)
1013
831k
}
1014
0
inline void Options::add_filename(const char* value, size_t size) {
1015
0
  filename_.Add()->assign(reinterpret_cast<const char*>(value), size);
1016
0
  // @@protoc_insertion_point(field_add_pointer:bloaty.Options.filename)
1017
0
}
1018
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
1019
831k
Options::filename() const {
1020
  // @@protoc_insertion_point(field_list:bloaty.Options.filename)
1021
831k
  return filename_;
1022
831k
}
1023
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
1024
0
Options::mutable_filename() {
1025
0
  // @@protoc_insertion_point(field_mutable_list:bloaty.Options.filename)
1026
0
  return &filename_;
1027
0
}
1028
1029
// repeated string base_filename = 2;
1030
0
inline int Options::_internal_base_filename_size() const {
1031
0
  return base_filename_.size();
1032
0
}
1033
0
inline int Options::base_filename_size() const {
1034
0
  return _internal_base_filename_size();
1035
0
}
1036
0
inline void Options::clear_base_filename() {
1037
0
  base_filename_.Clear();
1038
0
}
1039
0
inline std::string* Options::add_base_filename() {
1040
0
  // @@protoc_insertion_point(field_add_mutable:bloaty.Options.base_filename)
1041
0
  return _internal_add_base_filename();
1042
0
}
1043
0
inline const std::string& Options::_internal_base_filename(int index) const {
1044
0
  return base_filename_.Get(index);
1045
0
}
1046
0
inline const std::string& Options::base_filename(int index) const {
1047
0
  // @@protoc_insertion_point(field_get:bloaty.Options.base_filename)
1048
0
  return _internal_base_filename(index);
1049
0
}
1050
0
inline std::string* Options::mutable_base_filename(int index) {
1051
0
  // @@protoc_insertion_point(field_mutable:bloaty.Options.base_filename)
1052
0
  return base_filename_.Mutable(index);
1053
0
}
1054
0
inline void Options::set_base_filename(int index, const std::string& value) {
1055
0
  // @@protoc_insertion_point(field_set:bloaty.Options.base_filename)
1056
0
  base_filename_.Mutable(index)->assign(value);
1057
0
}
1058
0
inline void Options::set_base_filename(int index, std::string&& value) {
1059
0
  // @@protoc_insertion_point(field_set:bloaty.Options.base_filename)
1060
0
  base_filename_.Mutable(index)->assign(std::move(value));
1061
0
}
1062
0
inline void Options::set_base_filename(int index, const char* value) {
1063
0
  GOOGLE_DCHECK(value != nullptr);
1064
0
  base_filename_.Mutable(index)->assign(value);
1065
0
  // @@protoc_insertion_point(field_set_char:bloaty.Options.base_filename)
1066
0
}
1067
0
inline void Options::set_base_filename(int index, const char* value, size_t size) {
1068
0
  base_filename_.Mutable(index)->assign(
1069
0
    reinterpret_cast<const char*>(value), size);
1070
0
  // @@protoc_insertion_point(field_set_pointer:bloaty.Options.base_filename)
1071
0
}
1072
0
inline std::string* Options::_internal_add_base_filename() {
1073
0
  return base_filename_.Add();
1074
0
}
1075
0
inline void Options::add_base_filename(const std::string& value) {
1076
0
  base_filename_.Add()->assign(value);
1077
0
  // @@protoc_insertion_point(field_add:bloaty.Options.base_filename)
1078
0
}
1079
0
inline void Options::add_base_filename(std::string&& value) {
1080
0
  base_filename_.Add(std::move(value));
1081
  // @@protoc_insertion_point(field_add:bloaty.Options.base_filename)
1082
0
}
1083
0
inline void Options::add_base_filename(const char* value) {
1084
0
  GOOGLE_DCHECK(value != nullptr);
1085
0
  base_filename_.Add()->assign(value);
1086
0
  // @@protoc_insertion_point(field_add_char:bloaty.Options.base_filename)
1087
0
}
1088
0
inline void Options::add_base_filename(const char* value, size_t size) {
1089
0
  base_filename_.Add()->assign(reinterpret_cast<const char*>(value), size);
1090
0
  // @@protoc_insertion_point(field_add_pointer:bloaty.Options.base_filename)
1091
0
}
1092
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
1093
785k
Options::base_filename() const {
1094
  // @@protoc_insertion_point(field_list:bloaty.Options.base_filename)
1095
785k
  return base_filename_;
1096
785k
}
1097
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
1098
0
Options::mutable_base_filename() {
1099
0
  // @@protoc_insertion_point(field_mutable_list:bloaty.Options.base_filename)
1100
0
  return &base_filename_;
1101
0
}
1102
1103
// repeated string debug_filename = 10;
1104
0
inline int Options::_internal_debug_filename_size() const {
1105
0
  return debug_filename_.size();
1106
0
}
1107
0
inline int Options::debug_filename_size() const {
1108
0
  return _internal_debug_filename_size();
1109
0
}
1110
0
inline void Options::clear_debug_filename() {
1111
0
  debug_filename_.Clear();
1112
0
}
1113
0
inline std::string* Options::add_debug_filename() {
1114
0
  // @@protoc_insertion_point(field_add_mutable:bloaty.Options.debug_filename)
1115
0
  return _internal_add_debug_filename();
1116
0
}
1117
0
inline const std::string& Options::_internal_debug_filename(int index) const {
1118
0
  return debug_filename_.Get(index);
1119
0
}
1120
0
inline const std::string& Options::debug_filename(int index) const {
1121
0
  // @@protoc_insertion_point(field_get:bloaty.Options.debug_filename)
1122
0
  return _internal_debug_filename(index);
1123
0
}
1124
0
inline std::string* Options::mutable_debug_filename(int index) {
1125
0
  // @@protoc_insertion_point(field_mutable:bloaty.Options.debug_filename)
1126
0
  return debug_filename_.Mutable(index);
1127
0
}
1128
0
inline void Options::set_debug_filename(int index, const std::string& value) {
1129
0
  // @@protoc_insertion_point(field_set:bloaty.Options.debug_filename)
1130
0
  debug_filename_.Mutable(index)->assign(value);
1131
0
}
1132
0
inline void Options::set_debug_filename(int index, std::string&& value) {
1133
0
  // @@protoc_insertion_point(field_set:bloaty.Options.debug_filename)
1134
0
  debug_filename_.Mutable(index)->assign(std::move(value));
1135
0
}
1136
0
inline void Options::set_debug_filename(int index, const char* value) {
1137
0
  GOOGLE_DCHECK(value != nullptr);
1138
0
  debug_filename_.Mutable(index)->assign(value);
1139
0
  // @@protoc_insertion_point(field_set_char:bloaty.Options.debug_filename)
1140
0
}
1141
0
inline void Options::set_debug_filename(int index, const char* value, size_t size) {
1142
0
  debug_filename_.Mutable(index)->assign(
1143
0
    reinterpret_cast<const char*>(value), size);
1144
0
  // @@protoc_insertion_point(field_set_pointer:bloaty.Options.debug_filename)
1145
0
}
1146
0
inline std::string* Options::_internal_add_debug_filename() {
1147
0
  return debug_filename_.Add();
1148
0
}
1149
0
inline void Options::add_debug_filename(const std::string& value) {
1150
0
  debug_filename_.Add()->assign(value);
1151
0
  // @@protoc_insertion_point(field_add:bloaty.Options.debug_filename)
1152
0
}
1153
0
inline void Options::add_debug_filename(std::string&& value) {
1154
0
  debug_filename_.Add(std::move(value));
1155
  // @@protoc_insertion_point(field_add:bloaty.Options.debug_filename)
1156
0
}
1157
0
inline void Options::add_debug_filename(const char* value) {
1158
0
  GOOGLE_DCHECK(value != nullptr);
1159
0
  debug_filename_.Add()->assign(value);
1160
0
  // @@protoc_insertion_point(field_add_char:bloaty.Options.debug_filename)
1161
0
}
1162
0
inline void Options::add_debug_filename(const char* value, size_t size) {
1163
0
  debug_filename_.Add()->assign(reinterpret_cast<const char*>(value), size);
1164
0
  // @@protoc_insertion_point(field_add_pointer:bloaty.Options.debug_filename)
1165
0
}
1166
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
1167
785k
Options::debug_filename() const {
1168
  // @@protoc_insertion_point(field_list:bloaty.Options.debug_filename)
1169
785k
  return debug_filename_;
1170
785k
}
1171
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
1172
0
Options::mutable_debug_filename() {
1173
0
  // @@protoc_insertion_point(field_mutable_list:bloaty.Options.debug_filename)
1174
0
  return &debug_filename_;
1175
0
}
1176
1177
// repeated string data_source = 3;
1178
785k
inline int Options::_internal_data_source_size() const {
1179
785k
  return data_source_.size();
1180
785k
}
1181
785k
inline int Options::data_source_size() const {
1182
785k
  return _internal_data_source_size();
1183
785k
}
1184
0
inline void Options::clear_data_source() {
1185
0
  data_source_.Clear();
1186
0
}
1187
0
inline std::string* Options::add_data_source() {
1188
0
  // @@protoc_insertion_point(field_add_mutable:bloaty.Options.data_source)
1189
0
  return _internal_add_data_source();
1190
0
}
1191
0
inline const std::string& Options::_internal_data_source(int index) const {
1192
0
  return data_source_.Get(index);
1193
0
}
1194
0
inline const std::string& Options::data_source(int index) const {
1195
0
  // @@protoc_insertion_point(field_get:bloaty.Options.data_source)
1196
0
  return _internal_data_source(index);
1197
0
}
1198
0
inline std::string* Options::mutable_data_source(int index) {
1199
0
  // @@protoc_insertion_point(field_mutable:bloaty.Options.data_source)
1200
0
  return data_source_.Mutable(index);
1201
0
}
1202
0
inline void Options::set_data_source(int index, const std::string& value) {
1203
0
  // @@protoc_insertion_point(field_set:bloaty.Options.data_source)
1204
0
  data_source_.Mutable(index)->assign(value);
1205
0
}
1206
0
inline void Options::set_data_source(int index, std::string&& value) {
1207
0
  // @@protoc_insertion_point(field_set:bloaty.Options.data_source)
1208
0
  data_source_.Mutable(index)->assign(std::move(value));
1209
0
}
1210
0
inline void Options::set_data_source(int index, const char* value) {
1211
0
  GOOGLE_DCHECK(value != nullptr);
1212
0
  data_source_.Mutable(index)->assign(value);
1213
0
  // @@protoc_insertion_point(field_set_char:bloaty.Options.data_source)
1214
0
}
1215
0
inline void Options::set_data_source(int index, const char* value, size_t size) {
1216
0
  data_source_.Mutable(index)->assign(
1217
0
    reinterpret_cast<const char*>(value), size);
1218
0
  // @@protoc_insertion_point(field_set_pointer:bloaty.Options.data_source)
1219
0
}
1220
0
inline std::string* Options::_internal_add_data_source() {
1221
0
  return data_source_.Add();
1222
0
}
1223
831k
inline void Options::add_data_source(const std::string& value) {
1224
831k
  data_source_.Add()->assign(value);
1225
  // @@protoc_insertion_point(field_add:bloaty.Options.data_source)
1226
831k
}
1227
0
inline void Options::add_data_source(std::string&& value) {
1228
0
  data_source_.Add(std::move(value));
1229
0
  // @@protoc_insertion_point(field_add:bloaty.Options.data_source)
1230
0
}
1231
0
inline void Options::add_data_source(const char* value) {
1232
0
  GOOGLE_DCHECK(value != nullptr);
1233
0
  data_source_.Add()->assign(value);
1234
  // @@protoc_insertion_point(field_add_char:bloaty.Options.data_source)
1235
0
}
1236
0
inline void Options::add_data_source(const char* value, size_t size) {
1237
0
  data_source_.Add()->assign(reinterpret_cast<const char*>(value), size);
1238
0
  // @@protoc_insertion_point(field_add_pointer:bloaty.Options.data_source)
1239
0
}
1240
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
1241
785k
Options::data_source() const {
1242
  // @@protoc_insertion_point(field_list:bloaty.Options.data_source)
1243
785k
  return data_source_;
1244
785k
}
1245
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
1246
0
Options::mutable_data_source() {
1247
0
  // @@protoc_insertion_point(field_mutable_list:bloaty.Options.data_source)
1248
0
  return &data_source_;
1249
0
}
1250
1251
// optional int64 max_rows_per_level = 4 [default = 20];
1252
0
inline bool Options::_internal_has_max_rows_per_level() const {
1253
0
  bool value = (_has_bits_[0] & 0x00000100u) != 0;
1254
0
  return value;
1255
0
}
1256
0
inline bool Options::has_max_rows_per_level() const {
1257
0
  return _internal_has_max_rows_per_level();
1258
0
}
1259
0
inline void Options::clear_max_rows_per_level() {
1260
0
  max_rows_per_level_ = PROTOBUF_LONGLONG(20);
1261
0
  _has_bits_[0] &= ~0x00000100u;
1262
0
}
1263
6.21M
inline ::PROTOBUF_NAMESPACE_ID::int64 Options::_internal_max_rows_per_level() const {
1264
6.21M
  return max_rows_per_level_;
1265
6.21M
}
1266
6.21M
inline ::PROTOBUF_NAMESPACE_ID::int64 Options::max_rows_per_level() const {
1267
  // @@protoc_insertion_point(field_get:bloaty.Options.max_rows_per_level)
1268
6.21M
  return _internal_max_rows_per_level();
1269
6.21M
}
1270
0
inline void Options::_internal_set_max_rows_per_level(::PROTOBUF_NAMESPACE_ID::int64 value) {
1271
0
  _has_bits_[0] |= 0x00000100u;
1272
0
  max_rows_per_level_ = value;
1273
0
}
1274
0
inline void Options::set_max_rows_per_level(::PROTOBUF_NAMESPACE_ID::int64 value) {
1275
0
  _internal_set_max_rows_per_level(value);
1276
  // @@protoc_insertion_point(field_set:bloaty.Options.max_rows_per_level)
1277
0
}
1278
1279
// optional .bloaty.Options.Demangle demangle = 5 [default = DEMANGLE_SHORT];
1280
0
inline bool Options::_internal_has_demangle() const {
1281
0
  bool value = (_has_bits_[0] & 0x00000004u) != 0;
1282
0
  return value;
1283
0
}
1284
0
inline bool Options::has_demangle() const {
1285
0
  return _internal_has_demangle();
1286
0
}
1287
0
inline void Options::clear_demangle() {
1288
0
  demangle_ = 0;
1289
0
  _has_bits_[0] &= ~0x00000004u;
1290
0
}
1291
831k
inline ::bloaty::Options_Demangle Options::_internal_demangle() const {
1292
831k
  return static_cast< ::bloaty::Options_Demangle >(demangle_);
1293
831k
}
1294
831k
inline ::bloaty::Options_Demangle Options::demangle() const {
1295
  // @@protoc_insertion_point(field_get:bloaty.Options.demangle)
1296
831k
  return _internal_demangle();
1297
831k
}
1298
0
inline void Options::_internal_set_demangle(::bloaty::Options_Demangle value) {
1299
0
  assert(::bloaty::Options_Demangle_IsValid(value));
1300
0
  _has_bits_[0] |= 0x00000004u;
1301
0
  demangle_ = value;
1302
0
}
1303
0
inline void Options::set_demangle(::bloaty::Options_Demangle value) {
1304
0
  _internal_set_demangle(value);
1305
  // @@protoc_insertion_point(field_set:bloaty.Options.demangle)
1306
0
}
1307
1308
// optional .bloaty.Options.SortBy sort_by = 6 [default = SORTBY_BOTH];
1309
0
inline bool Options::_internal_has_sort_by() const {
1310
0
  bool value = (_has_bits_[0] & 0x00000008u) != 0;
1311
0
  return value;
1312
0
}
1313
0
inline bool Options::has_sort_by() const {
1314
0
  return _internal_has_sort_by();
1315
0
}
1316
0
inline void Options::clear_sort_by() {
1317
0
  sort_by_ = 0;
1318
0
  _has_bits_[0] &= ~0x00000008u;
1319
0
}
1320
10.6M
inline ::bloaty::Options_SortBy Options::_internal_sort_by() const {
1321
10.6M
  return static_cast< ::bloaty::Options_SortBy >(sort_by_);
1322
10.6M
}
1323
10.6M
inline ::bloaty::Options_SortBy Options::sort_by() const {
1324
  // @@protoc_insertion_point(field_get:bloaty.Options.sort_by)
1325
10.6M
  return _internal_sort_by();
1326
10.6M
}
1327
0
inline void Options::_internal_set_sort_by(::bloaty::Options_SortBy value) {
1328
0
  assert(::bloaty::Options_SortBy_IsValid(value));
1329
0
  _has_bits_[0] |= 0x00000008u;
1330
0
  sort_by_ = value;
1331
0
}
1332
0
inline void Options::set_sort_by(::bloaty::Options_SortBy value) {
1333
0
  _internal_set_sort_by(value);
1334
  // @@protoc_insertion_point(field_set:bloaty.Options.sort_by)
1335
0
}
1336
1337
// optional int32 verbose_level = 7;
1338
0
inline bool Options::_internal_has_verbose_level() const {
1339
0
  bool value = (_has_bits_[0] & 0x00000010u) != 0;
1340
0
  return value;
1341
0
}
1342
0
inline bool Options::has_verbose_level() const {
1343
0
  return _internal_has_verbose_level();
1344
0
}
1345
0
inline void Options::clear_verbose_level() {
1346
0
  verbose_level_ = 0;
1347
0
  _has_bits_[0] &= ~0x00000010u;
1348
0
}
1349
355M
inline ::PROTOBUF_NAMESPACE_ID::int32 Options::_internal_verbose_level() const {
1350
355M
  return verbose_level_;
1351
355M
}
1352
355M
inline ::PROTOBUF_NAMESPACE_ID::int32 Options::verbose_level() const {
1353
  // @@protoc_insertion_point(field_get:bloaty.Options.verbose_level)
1354
355M
  return _internal_verbose_level();
1355
355M
}
1356
0
inline void Options::_internal_set_verbose_level(::PROTOBUF_NAMESPACE_ID::int32 value) {
1357
0
  _has_bits_[0] |= 0x00000010u;
1358
0
  verbose_level_ = value;
1359
0
}
1360
0
inline void Options::set_verbose_level(::PROTOBUF_NAMESPACE_ID::int32 value) {
1361
0
  _internal_set_verbose_level(value);
1362
  // @@protoc_insertion_point(field_set:bloaty.Options.verbose_level)
1363
0
}
1364
1365
// optional uint64 debug_vmaddr = 11;
1366
273M
inline bool Options::_internal_has_debug_vmaddr() const {
1367
273M
  bool value = (_has_bits_[0] & 0x00000040u) != 0;
1368
273M
  return value;
1369
273M
}
1370
273M
inline bool Options::has_debug_vmaddr() const {
1371
273M
  return _internal_has_debug_vmaddr();
1372
273M
}
1373
0
inline void Options::clear_debug_vmaddr() {
1374
0
  debug_vmaddr_ = PROTOBUF_ULONGLONG(0);
1375
0
  _has_bits_[0] &= ~0x00000040u;
1376
0
}
1377
0
inline ::PROTOBUF_NAMESPACE_ID::uint64 Options::_internal_debug_vmaddr() const {
1378
0
  return debug_vmaddr_;
1379
0
}
1380
0
inline ::PROTOBUF_NAMESPACE_ID::uint64 Options::debug_vmaddr() const {
1381
  // @@protoc_insertion_point(field_get:bloaty.Options.debug_vmaddr)
1382
0
  return _internal_debug_vmaddr();
1383
0
}
1384
0
inline void Options::_internal_set_debug_vmaddr(::PROTOBUF_NAMESPACE_ID::uint64 value) {
1385
0
  _has_bits_[0] |= 0x00000040u;
1386
0
  debug_vmaddr_ = value;
1387
0
}
1388
0
inline void Options::set_debug_vmaddr(::PROTOBUF_NAMESPACE_ID::uint64 value) {
1389
0
  _internal_set_debug_vmaddr(value);
1390
  // @@protoc_insertion_point(field_set:bloaty.Options.debug_vmaddr)
1391
0
}
1392
1393
// optional uint64 debug_fileoff = 12;
1394
280M
inline bool Options::_internal_has_debug_fileoff() const {
1395
280M
  bool value = (_has_bits_[0] & 0x00000080u) != 0;
1396
280M
  return value;
1397
280M
}
1398
280M
inline bool Options::has_debug_fileoff() const {
1399
280M
  return _internal_has_debug_fileoff();
1400
280M
}
1401
0
inline void Options::clear_debug_fileoff() {
1402
0
  debug_fileoff_ = PROTOBUF_ULONGLONG(0);
1403
0
  _has_bits_[0] &= ~0x00000080u;
1404
0
}
1405
0
inline ::PROTOBUF_NAMESPACE_ID::uint64 Options::_internal_debug_fileoff() const {
1406
0
  return debug_fileoff_;
1407
0
}
1408
0
inline ::PROTOBUF_NAMESPACE_ID::uint64 Options::debug_fileoff() const {
1409
  // @@protoc_insertion_point(field_get:bloaty.Options.debug_fileoff)
1410
0
  return _internal_debug_fileoff();
1411
0
}
1412
0
inline void Options::_internal_set_debug_fileoff(::PROTOBUF_NAMESPACE_ID::uint64 value) {
1413
0
  _has_bits_[0] |= 0x00000080u;
1414
0
  debug_fileoff_ = value;
1415
0
}
1416
0
inline void Options::set_debug_fileoff(::PROTOBUF_NAMESPACE_ID::uint64 value) {
1417
0
  _internal_set_debug_fileoff(value);
1418
  // @@protoc_insertion_point(field_set:bloaty.Options.debug_fileoff)
1419
0
}
1420
1421
// repeated .bloaty.CustomDataSource custom_data_source = 8;
1422
0
inline int Options::_internal_custom_data_source_size() const {
1423
0
  return custom_data_source_.size();
1424
0
}
1425
0
inline int Options::custom_data_source_size() const {
1426
0
  return _internal_custom_data_source_size();
1427
0
}
1428
0
inline void Options::clear_custom_data_source() {
1429
0
  custom_data_source_.Clear();
1430
0
}
1431
0
inline ::bloaty::CustomDataSource* Options::mutable_custom_data_source(int index) {
1432
0
  // @@protoc_insertion_point(field_mutable:bloaty.Options.custom_data_source)
1433
0
  return custom_data_source_.Mutable(index);
1434
0
}
1435
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::bloaty::CustomDataSource >*
1436
0
Options::mutable_custom_data_source() {
1437
0
  // @@protoc_insertion_point(field_mutable_list:bloaty.Options.custom_data_source)
1438
0
  return &custom_data_source_;
1439
0
}
1440
0
inline const ::bloaty::CustomDataSource& Options::_internal_custom_data_source(int index) const {
1441
0
  return custom_data_source_.Get(index);
1442
0
}
1443
0
inline const ::bloaty::CustomDataSource& Options::custom_data_source(int index) const {
1444
0
  // @@protoc_insertion_point(field_get:bloaty.Options.custom_data_source)
1445
0
  return _internal_custom_data_source(index);
1446
0
}
1447
0
inline ::bloaty::CustomDataSource* Options::_internal_add_custom_data_source() {
1448
0
  return custom_data_source_.Add();
1449
0
}
1450
0
inline ::bloaty::CustomDataSource* Options::add_custom_data_source() {
1451
0
  // @@protoc_insertion_point(field_add:bloaty.Options.custom_data_source)
1452
0
  return _internal_add_custom_data_source();
1453
0
}
1454
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::bloaty::CustomDataSource >&
1455
785k
Options::custom_data_source() const {
1456
  // @@protoc_insertion_point(field_list:bloaty.Options.custom_data_source)
1457
785k
  return custom_data_source_;
1458
785k
}
1459
1460
// optional string disassemble_function = 9;
1461
2.49M
inline bool Options::_internal_has_disassemble_function() const {
1462
2.49M
  bool value = (_has_bits_[0] & 0x00000001u) != 0;
1463
2.49M
  return value;
1464
2.49M
}
1465
0
inline bool Options::has_disassemble_function() const {
1466
0
  return _internal_has_disassemble_function();
1467
0
}
1468
0
inline void Options::clear_disassemble_function() {
1469
0
  disassemble_function_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1470
0
  _has_bits_[0] &= ~0x00000001u;
1471
0
}
1472
0
inline const std::string& Options::disassemble_function() const {
1473
  // @@protoc_insertion_point(field_get:bloaty.Options.disassemble_function)
1474
0
  return _internal_disassemble_function();
1475
0
}
1476
0
inline void Options::set_disassemble_function(const std::string& value) {
1477
0
  _internal_set_disassemble_function(value);
1478
0
  // @@protoc_insertion_point(field_set:bloaty.Options.disassemble_function)
1479
0
}
1480
0
inline std::string* Options::mutable_disassemble_function() {
1481
  // @@protoc_insertion_point(field_mutable:bloaty.Options.disassemble_function)
1482
0
  return _internal_mutable_disassemble_function();
1483
0
}
1484
0
inline const std::string& Options::_internal_disassemble_function() const {
1485
0
  return disassemble_function_.GetNoArena();
1486
0
}
1487
0
inline void Options::_internal_set_disassemble_function(const std::string& value) {
1488
0
  _has_bits_[0] |= 0x00000001u;
1489
0
  disassemble_function_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
1490
0
}
1491
0
inline void Options::set_disassemble_function(std::string&& value) {
1492
0
  _has_bits_[0] |= 0x00000001u;
1493
0
  disassemble_function_.SetNoArena(
1494
0
    &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1495
0
  // @@protoc_insertion_point(field_set_rvalue:bloaty.Options.disassemble_function)
1496
0
}
1497
0
inline void Options::set_disassemble_function(const char* value) {
1498
0
  GOOGLE_DCHECK(value != nullptr);
1499
0
  _has_bits_[0] |= 0x00000001u;
1500
0
  disassemble_function_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1501
0
  // @@protoc_insertion_point(field_set_char:bloaty.Options.disassemble_function)
1502
0
}
1503
0
inline void Options::set_disassemble_function(const char* value, size_t size) {
1504
0
  _has_bits_[0] |= 0x00000001u;
1505
0
  disassemble_function_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
1506
0
      ::std::string(reinterpret_cast<const char*>(value), size));
1507
0
  // @@protoc_insertion_point(field_set_pointer:bloaty.Options.disassemble_function)
1508
0
}
1509
0
inline std::string* Options::_internal_mutable_disassemble_function() {
1510
0
  _has_bits_[0] |= 0x00000001u;
1511
0
  return disassemble_function_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1512
0
}
1513
0
inline std::string* Options::release_disassemble_function() {
1514
0
  // @@protoc_insertion_point(field_release:bloaty.Options.disassemble_function)
1515
0
  if (!has_disassemble_function()) {
1516
0
    return nullptr;
1517
0
  }
1518
0
  _has_bits_[0] &= ~0x00000001u;
1519
0
  return disassemble_function_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1520
0
}
1521
0
inline void Options::set_allocated_disassemble_function(std::string* disassemble_function) {
1522
0
  if (disassemble_function != nullptr) {
1523
0
    _has_bits_[0] |= 0x00000001u;
1524
0
  } else {
1525
0
    _has_bits_[0] &= ~0x00000001u;
1526
0
  }
1527
0
  disassemble_function_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), disassemble_function);
1528
0
  // @@protoc_insertion_point(field_set_allocated:bloaty.Options.disassemble_function)
1529
0
}
1530
1531
// optional string source_filter = 13;
1532
4.06M
inline bool Options::_internal_has_source_filter() const {
1533
4.06M
  bool value = (_has_bits_[0] & 0x00000002u) != 0;
1534
4.06M
  return value;
1535
4.06M
}
1536
1.57M
inline bool Options::has_source_filter() const {
1537
1.57M
  return _internal_has_source_filter();
1538
1.57M
}
1539
0
inline void Options::clear_source_filter() {
1540
0
  source_filter_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1541
0
  _has_bits_[0] &= ~0x00000002u;
1542
0
}
1543
0
inline const std::string& Options::source_filter() const {
1544
  // @@protoc_insertion_point(field_get:bloaty.Options.source_filter)
1545
0
  return _internal_source_filter();
1546
0
}
1547
0
inline void Options::set_source_filter(const std::string& value) {
1548
0
  _internal_set_source_filter(value);
1549
0
  // @@protoc_insertion_point(field_set:bloaty.Options.source_filter)
1550
0
}
1551
0
inline std::string* Options::mutable_source_filter() {
1552
0
  // @@protoc_insertion_point(field_mutable:bloaty.Options.source_filter)
1553
0
  return _internal_mutable_source_filter();
1554
0
}
1555
0
inline const std::string& Options::_internal_source_filter() const {
1556
0
  return source_filter_.GetNoArena();
1557
0
}
1558
0
inline void Options::_internal_set_source_filter(const std::string& value) {
1559
0
  _has_bits_[0] |= 0x00000002u;
1560
0
  source_filter_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
1561
0
}
1562
0
inline void Options::set_source_filter(std::string&& value) {
1563
0
  _has_bits_[0] |= 0x00000002u;
1564
0
  source_filter_.SetNoArena(
1565
0
    &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1566
  // @@protoc_insertion_point(field_set_rvalue:bloaty.Options.source_filter)
1567
0
}
1568
0
inline void Options::set_source_filter(const char* value) {
1569
0
  GOOGLE_DCHECK(value != nullptr);
1570
0
  _has_bits_[0] |= 0x00000002u;
1571
0
  source_filter_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1572
0
  // @@protoc_insertion_point(field_set_char:bloaty.Options.source_filter)
1573
0
}
1574
0
inline void Options::set_source_filter(const char* value, size_t size) {
1575
0
  _has_bits_[0] |= 0x00000002u;
1576
0
  source_filter_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
1577
0
      ::std::string(reinterpret_cast<const char*>(value), size));
1578
0
  // @@protoc_insertion_point(field_set_pointer:bloaty.Options.source_filter)
1579
0
}
1580
0
inline std::string* Options::_internal_mutable_source_filter() {
1581
0
  _has_bits_[0] |= 0x00000002u;
1582
0
  return source_filter_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1583
0
}
1584
0
inline std::string* Options::release_source_filter() {
1585
0
  // @@protoc_insertion_point(field_release:bloaty.Options.source_filter)
1586
0
  if (!has_source_filter()) {
1587
0
    return nullptr;
1588
0
  }
1589
0
  _has_bits_[0] &= ~0x00000002u;
1590
0
  return source_filter_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1591
0
}
1592
0
inline void Options::set_allocated_source_filter(std::string* source_filter) {
1593
0
  if (source_filter != nullptr) {
1594
0
    _has_bits_[0] |= 0x00000002u;
1595
0
  } else {
1596
0
    _has_bits_[0] &= ~0x00000002u;
1597
0
  }
1598
0
  source_filter_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), source_filter);
1599
0
  // @@protoc_insertion_point(field_set_allocated:bloaty.Options.source_filter)
1600
0
}
1601
1602
// optional bool dump_raw_map = 14;
1603
0
inline bool Options::_internal_has_dump_raw_map() const {
1604
0
  bool value = (_has_bits_[0] & 0x00000020u) != 0;
1605
0
  return value;
1606
0
}
1607
0
inline bool Options::has_dump_raw_map() const {
1608
0
  return _internal_has_dump_raw_map();
1609
0
}
1610
0
inline void Options::clear_dump_raw_map() {
1611
0
  dump_raw_map_ = false;
1612
0
  _has_bits_[0] &= ~0x00000020u;
1613
0
}
1614
352k
inline bool Options::_internal_dump_raw_map() const {
1615
352k
  return dump_raw_map_;
1616
352k
}
1617
352k
inline bool Options::dump_raw_map() const {
1618
  // @@protoc_insertion_point(field_get:bloaty.Options.dump_raw_map)
1619
352k
  return _internal_dump_raw_map();
1620
352k
}
1621
0
inline void Options::_internal_set_dump_raw_map(bool value) {
1622
0
  _has_bits_[0] |= 0x00000020u;
1623
0
  dump_raw_map_ = value;
1624
0
}
1625
0
inline void Options::set_dump_raw_map(bool value) {
1626
0
  _internal_set_dump_raw_map(value);
1627
  // @@protoc_insertion_point(field_set:bloaty.Options.dump_raw_map)
1628
0
}
1629
1630
// -------------------------------------------------------------------
1631
1632
// CustomDataSource
1633
1634
// optional string name = 1;
1635
0
inline bool CustomDataSource::_internal_has_name() const {
1636
0
  bool value = (_has_bits_[0] & 0x00000001u) != 0;
1637
0
  return value;
1638
0
}
1639
0
inline bool CustomDataSource::has_name() const {
1640
0
  return _internal_has_name();
1641
0
}
1642
0
inline void CustomDataSource::clear_name() {
1643
0
  name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1644
0
  _has_bits_[0] &= ~0x00000001u;
1645
0
}
1646
0
inline const std::string& CustomDataSource::name() const {
1647
  // @@protoc_insertion_point(field_get:bloaty.CustomDataSource.name)
1648
0
  return _internal_name();
1649
0
}
1650
0
inline void CustomDataSource::set_name(const std::string& value) {
1651
0
  _internal_set_name(value);
1652
0
  // @@protoc_insertion_point(field_set:bloaty.CustomDataSource.name)
1653
0
}
1654
0
inline std::string* CustomDataSource::mutable_name() {
1655
0
  // @@protoc_insertion_point(field_mutable:bloaty.CustomDataSource.name)
1656
0
  return _internal_mutable_name();
1657
0
}
1658
0
inline const std::string& CustomDataSource::_internal_name() const {
1659
0
  return name_.GetNoArena();
1660
0
}
1661
0
inline void CustomDataSource::_internal_set_name(const std::string& value) {
1662
0
  _has_bits_[0] |= 0x00000001u;
1663
0
  name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
1664
0
}
1665
0
inline void CustomDataSource::set_name(std::string&& value) {
1666
0
  _has_bits_[0] |= 0x00000001u;
1667
0
  name_.SetNoArena(
1668
0
    &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1669
0
  // @@protoc_insertion_point(field_set_rvalue:bloaty.CustomDataSource.name)
1670
0
}
1671
0
inline void CustomDataSource::set_name(const char* value) {
1672
0
  GOOGLE_DCHECK(value != nullptr);
1673
0
  _has_bits_[0] |= 0x00000001u;
1674
0
  name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1675
0
  // @@protoc_insertion_point(field_set_char:bloaty.CustomDataSource.name)
1676
0
}
1677
0
inline void CustomDataSource::set_name(const char* value, size_t size) {
1678
0
  _has_bits_[0] |= 0x00000001u;
1679
0
  name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
1680
0
      ::std::string(reinterpret_cast<const char*>(value), size));
1681
0
  // @@protoc_insertion_point(field_set_pointer:bloaty.CustomDataSource.name)
1682
0
}
1683
0
inline std::string* CustomDataSource::_internal_mutable_name() {
1684
0
  _has_bits_[0] |= 0x00000001u;
1685
0
  return name_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1686
0
}
1687
0
inline std::string* CustomDataSource::release_name() {
1688
0
  // @@protoc_insertion_point(field_release:bloaty.CustomDataSource.name)
1689
0
  if (!has_name()) {
1690
0
    return nullptr;
1691
0
  }
1692
0
  _has_bits_[0] &= ~0x00000001u;
1693
0
  return name_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1694
0
}
1695
0
inline void CustomDataSource::set_allocated_name(std::string* name) {
1696
0
  if (name != nullptr) {
1697
0
    _has_bits_[0] |= 0x00000001u;
1698
0
  } else {
1699
0
    _has_bits_[0] &= ~0x00000001u;
1700
0
  }
1701
0
  name_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name);
1702
0
  // @@protoc_insertion_point(field_set_allocated:bloaty.CustomDataSource.name)
1703
0
}
1704
1705
// optional string base_data_source = 2;
1706
0
inline bool CustomDataSource::_internal_has_base_data_source() const {
1707
0
  bool value = (_has_bits_[0] & 0x00000002u) != 0;
1708
0
  return value;
1709
0
}
1710
0
inline bool CustomDataSource::has_base_data_source() const {
1711
0
  return _internal_has_base_data_source();
1712
0
}
1713
0
inline void CustomDataSource::clear_base_data_source() {
1714
0
  base_data_source_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1715
0
  _has_bits_[0] &= ~0x00000002u;
1716
0
}
1717
0
inline const std::string& CustomDataSource::base_data_source() const {
1718
  // @@protoc_insertion_point(field_get:bloaty.CustomDataSource.base_data_source)
1719
0
  return _internal_base_data_source();
1720
0
}
1721
0
inline void CustomDataSource::set_base_data_source(const std::string& value) {
1722
0
  _internal_set_base_data_source(value);
1723
0
  // @@protoc_insertion_point(field_set:bloaty.CustomDataSource.base_data_source)
1724
0
}
1725
0
inline std::string* CustomDataSource::mutable_base_data_source() {
1726
0
  // @@protoc_insertion_point(field_mutable:bloaty.CustomDataSource.base_data_source)
1727
0
  return _internal_mutable_base_data_source();
1728
0
}
1729
0
inline const std::string& CustomDataSource::_internal_base_data_source() const {
1730
0
  return base_data_source_.GetNoArena();
1731
0
}
1732
0
inline void CustomDataSource::_internal_set_base_data_source(const std::string& value) {
1733
0
  _has_bits_[0] |= 0x00000002u;
1734
0
  base_data_source_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
1735
0
}
1736
0
inline void CustomDataSource::set_base_data_source(std::string&& value) {
1737
0
  _has_bits_[0] |= 0x00000002u;
1738
0
  base_data_source_.SetNoArena(
1739
0
    &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1740
0
  // @@protoc_insertion_point(field_set_rvalue:bloaty.CustomDataSource.base_data_source)
1741
0
}
1742
0
inline void CustomDataSource::set_base_data_source(const char* value) {
1743
0
  GOOGLE_DCHECK(value != nullptr);
1744
0
  _has_bits_[0] |= 0x00000002u;
1745
0
  base_data_source_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1746
0
  // @@protoc_insertion_point(field_set_char:bloaty.CustomDataSource.base_data_source)
1747
0
}
1748
0
inline void CustomDataSource::set_base_data_source(const char* value, size_t size) {
1749
0
  _has_bits_[0] |= 0x00000002u;
1750
0
  base_data_source_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
1751
0
      ::std::string(reinterpret_cast<const char*>(value), size));
1752
0
  // @@protoc_insertion_point(field_set_pointer:bloaty.CustomDataSource.base_data_source)
1753
0
}
1754
0
inline std::string* CustomDataSource::_internal_mutable_base_data_source() {
1755
0
  _has_bits_[0] |= 0x00000002u;
1756
0
  return base_data_source_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1757
0
}
1758
0
inline std::string* CustomDataSource::release_base_data_source() {
1759
0
  // @@protoc_insertion_point(field_release:bloaty.CustomDataSource.base_data_source)
1760
0
  if (!has_base_data_source()) {
1761
0
    return nullptr;
1762
0
  }
1763
0
  _has_bits_[0] &= ~0x00000002u;
1764
0
  return base_data_source_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1765
0
}
1766
0
inline void CustomDataSource::set_allocated_base_data_source(std::string* base_data_source) {
1767
0
  if (base_data_source != nullptr) {
1768
0
    _has_bits_[0] |= 0x00000002u;
1769
0
  } else {
1770
0
    _has_bits_[0] &= ~0x00000002u;
1771
0
  }
1772
0
  base_data_source_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), base_data_source);
1773
0
  // @@protoc_insertion_point(field_set_allocated:bloaty.CustomDataSource.base_data_source)
1774
0
}
1775
1776
// repeated .bloaty.Regex rewrite = 3;
1777
0
inline int CustomDataSource::_internal_rewrite_size() const {
1778
0
  return rewrite_.size();
1779
0
}
1780
0
inline int CustomDataSource::rewrite_size() const {
1781
0
  return _internal_rewrite_size();
1782
0
}
1783
0
inline void CustomDataSource::clear_rewrite() {
1784
0
  rewrite_.Clear();
1785
0
}
1786
0
inline ::bloaty::Regex* CustomDataSource::mutable_rewrite(int index) {
1787
0
  // @@protoc_insertion_point(field_mutable:bloaty.CustomDataSource.rewrite)
1788
0
  return rewrite_.Mutable(index);
1789
0
}
1790
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::bloaty::Regex >*
1791
0
CustomDataSource::mutable_rewrite() {
1792
0
  // @@protoc_insertion_point(field_mutable_list:bloaty.CustomDataSource.rewrite)
1793
0
  return &rewrite_;
1794
0
}
1795
0
inline const ::bloaty::Regex& CustomDataSource::_internal_rewrite(int index) const {
1796
0
  return rewrite_.Get(index);
1797
0
}
1798
0
inline const ::bloaty::Regex& CustomDataSource::rewrite(int index) const {
1799
0
  // @@protoc_insertion_point(field_get:bloaty.CustomDataSource.rewrite)
1800
0
  return _internal_rewrite(index);
1801
0
}
1802
0
inline ::bloaty::Regex* CustomDataSource::_internal_add_rewrite() {
1803
0
  return rewrite_.Add();
1804
0
}
1805
0
inline ::bloaty::Regex* CustomDataSource::add_rewrite() {
1806
0
  // @@protoc_insertion_point(field_add:bloaty.CustomDataSource.rewrite)
1807
0
  return _internal_add_rewrite();
1808
0
}
1809
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::bloaty::Regex >&
1810
0
CustomDataSource::rewrite() const {
1811
  // @@protoc_insertion_point(field_list:bloaty.CustomDataSource.rewrite)
1812
0
  return rewrite_;
1813
0
}
1814
1815
// -------------------------------------------------------------------
1816
1817
// Regex
1818
1819
// optional string pattern = 1;
1820
0
inline bool Regex::_internal_has_pattern() const {
1821
0
  bool value = (_has_bits_[0] & 0x00000001u) != 0;
1822
0
  return value;
1823
0
}
1824
0
inline bool Regex::has_pattern() const {
1825
0
  return _internal_has_pattern();
1826
0
}
1827
0
inline void Regex::clear_pattern() {
1828
0
  pattern_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1829
0
  _has_bits_[0] &= ~0x00000001u;
1830
0
}
1831
0
inline const std::string& Regex::pattern() const {
1832
  // @@protoc_insertion_point(field_get:bloaty.Regex.pattern)
1833
0
  return _internal_pattern();
1834
0
}
1835
0
inline void Regex::set_pattern(const std::string& value) {
1836
0
  _internal_set_pattern(value);
1837
0
  // @@protoc_insertion_point(field_set:bloaty.Regex.pattern)
1838
0
}
1839
0
inline std::string* Regex::mutable_pattern() {
1840
0
  // @@protoc_insertion_point(field_mutable:bloaty.Regex.pattern)
1841
0
  return _internal_mutable_pattern();
1842
0
}
1843
0
inline const std::string& Regex::_internal_pattern() const {
1844
0
  return pattern_.GetNoArena();
1845
0
}
1846
0
inline void Regex::_internal_set_pattern(const std::string& value) {
1847
0
  _has_bits_[0] |= 0x00000001u;
1848
0
  pattern_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
1849
0
}
1850
0
inline void Regex::set_pattern(std::string&& value) {
1851
0
  _has_bits_[0] |= 0x00000001u;
1852
0
  pattern_.SetNoArena(
1853
0
    &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1854
0
  // @@protoc_insertion_point(field_set_rvalue:bloaty.Regex.pattern)
1855
0
}
1856
0
inline void Regex::set_pattern(const char* value) {
1857
0
  GOOGLE_DCHECK(value != nullptr);
1858
0
  _has_bits_[0] |= 0x00000001u;
1859
0
  pattern_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1860
0
  // @@protoc_insertion_point(field_set_char:bloaty.Regex.pattern)
1861
0
}
1862
0
inline void Regex::set_pattern(const char* value, size_t size) {
1863
0
  _has_bits_[0] |= 0x00000001u;
1864
0
  pattern_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
1865
0
      ::std::string(reinterpret_cast<const char*>(value), size));
1866
0
  // @@protoc_insertion_point(field_set_pointer:bloaty.Regex.pattern)
1867
0
}
1868
0
inline std::string* Regex::_internal_mutable_pattern() {
1869
0
  _has_bits_[0] |= 0x00000001u;
1870
0
  return pattern_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1871
0
}
1872
0
inline std::string* Regex::release_pattern() {
1873
0
  // @@protoc_insertion_point(field_release:bloaty.Regex.pattern)
1874
0
  if (!has_pattern()) {
1875
0
    return nullptr;
1876
0
  }
1877
0
  _has_bits_[0] &= ~0x00000001u;
1878
0
  return pattern_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1879
0
}
1880
0
inline void Regex::set_allocated_pattern(std::string* pattern) {
1881
0
  if (pattern != nullptr) {
1882
0
    _has_bits_[0] |= 0x00000001u;
1883
0
  } else {
1884
0
    _has_bits_[0] &= ~0x00000001u;
1885
0
  }
1886
0
  pattern_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), pattern);
1887
0
  // @@protoc_insertion_point(field_set_allocated:bloaty.Regex.pattern)
1888
0
}
1889
1890
// optional string replacement = 2;
1891
0
inline bool Regex::_internal_has_replacement() const {
1892
0
  bool value = (_has_bits_[0] & 0x00000002u) != 0;
1893
0
  return value;
1894
0
}
1895
0
inline bool Regex::has_replacement() const {
1896
0
  return _internal_has_replacement();
1897
0
}
1898
0
inline void Regex::clear_replacement() {
1899
0
  replacement_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1900
0
  _has_bits_[0] &= ~0x00000002u;
1901
0
}
1902
0
inline const std::string& Regex::replacement() const {
1903
  // @@protoc_insertion_point(field_get:bloaty.Regex.replacement)
1904
0
  return _internal_replacement();
1905
0
}
1906
0
inline void Regex::set_replacement(const std::string& value) {
1907
0
  _internal_set_replacement(value);
1908
0
  // @@protoc_insertion_point(field_set:bloaty.Regex.replacement)
1909
0
}
1910
0
inline std::string* Regex::mutable_replacement() {
1911
0
  // @@protoc_insertion_point(field_mutable:bloaty.Regex.replacement)
1912
0
  return _internal_mutable_replacement();
1913
0
}
1914
0
inline const std::string& Regex::_internal_replacement() const {
1915
0
  return replacement_.GetNoArena();
1916
0
}
1917
0
inline void Regex::_internal_set_replacement(const std::string& value) {
1918
0
  _has_bits_[0] |= 0x00000002u;
1919
0
  replacement_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
1920
0
}
1921
0
inline void Regex::set_replacement(std::string&& value) {
1922
0
  _has_bits_[0] |= 0x00000002u;
1923
0
  replacement_.SetNoArena(
1924
0
    &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1925
0
  // @@protoc_insertion_point(field_set_rvalue:bloaty.Regex.replacement)
1926
0
}
1927
0
inline void Regex::set_replacement(const char* value) {
1928
0
  GOOGLE_DCHECK(value != nullptr);
1929
0
  _has_bits_[0] |= 0x00000002u;
1930
0
  replacement_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1931
0
  // @@protoc_insertion_point(field_set_char:bloaty.Regex.replacement)
1932
0
}
1933
0
inline void Regex::set_replacement(const char* value, size_t size) {
1934
0
  _has_bits_[0] |= 0x00000002u;
1935
0
  replacement_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
1936
0
      ::std::string(reinterpret_cast<const char*>(value), size));
1937
0
  // @@protoc_insertion_point(field_set_pointer:bloaty.Regex.replacement)
1938
0
}
1939
0
inline std::string* Regex::_internal_mutable_replacement() {
1940
0
  _has_bits_[0] |= 0x00000002u;
1941
0
  return replacement_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1942
0
}
1943
0
inline std::string* Regex::release_replacement() {
1944
0
  // @@protoc_insertion_point(field_release:bloaty.Regex.replacement)
1945
0
  if (!has_replacement()) {
1946
0
    return nullptr;
1947
0
  }
1948
0
  _has_bits_[0] &= ~0x00000002u;
1949
0
  return replacement_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1950
0
}
1951
0
inline void Regex::set_allocated_replacement(std::string* replacement) {
1952
0
  if (replacement != nullptr) {
1953
0
    _has_bits_[0] |= 0x00000002u;
1954
0
  } else {
1955
0
    _has_bits_[0] &= ~0x00000002u;
1956
0
  }
1957
0
  replacement_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), replacement);
1958
0
  // @@protoc_insertion_point(field_set_allocated:bloaty.Regex.replacement)
1959
0
}
1960
1961
#ifdef __GNUC__
1962
  #pragma GCC diagnostic pop
1963
#endif  // __GNUC__
1964
// -------------------------------------------------------------------
1965
1966
// -------------------------------------------------------------------
1967
1968
1969
// @@protoc_insertion_point(namespace_scope)
1970
1971
}  // namespace bloaty
1972
1973
PROTOBUF_NAMESPACE_OPEN
1974
1975
template <> struct is_proto_enum< ::bloaty::Options_Demangle> : ::std::true_type {};
1976
template <>
1977
0
inline const EnumDescriptor* GetEnumDescriptor< ::bloaty::Options_Demangle>() {
1978
0
  return ::bloaty::Options_Demangle_descriptor();
1979
0
}
1980
template <> struct is_proto_enum< ::bloaty::Options_SortBy> : ::std::true_type {};
1981
template <>
1982
0
inline const EnumDescriptor* GetEnumDescriptor< ::bloaty::Options_SortBy>() {
1983
0
  return ::bloaty::Options_SortBy_descriptor();
1984
0
}
1985
1986
PROTOBUF_NAMESPACE_CLOSE
1987
1988
// @@protoc_insertion_point(global_scope)
1989
1990
#include <google/protobuf/port_undef.inc>
1991
#endif  // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_bloaty_2eproto