YugabyteDB (2.13.1.0-b60, 21121d69985fbf76aa6958d8f04a9bfa936293b5)

Coverage Report

Created: 2022-03-22 16:43

/Users/deen/code/yugabyte-db/build/debugcov-clang-dynamic-arm64-ninja/src/yb/util/histogram.pb.h
Line
Count
Source (jump to first uncovered line)
1
// Generated by the protocol buffer compiler.  DO NOT EDIT!
2
// source: yb/util/histogram.proto
3
4
#ifndef PROTOBUF_yb_2futil_2fhistogram_2eproto__INCLUDED
5
#define PROTOBUF_yb_2futil_2fhistogram_2eproto__INCLUDED
6
7
#include <string>
8
9
#include <google/protobuf/stubs/common.h>
10
11
#if GOOGLE_PROTOBUF_VERSION < 3005000
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 3005001 < GOOGLE_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/io/coded_stream.h>
23
#include <google/protobuf/arena.h>
24
#include <google/protobuf/arenastring.h>
25
#include <google/protobuf/generated_message_table_driven.h>
26
#include <google/protobuf/generated_message_util.h>
27
#include <google/protobuf/metadata.h>
28
#include <google/protobuf/message.h>
29
#include <google/protobuf/repeated_field.h>  // IWYU pragma: export
30
#include <google/protobuf/extension_set.h>  // IWYU pragma: export
31
#include <google/protobuf/unknown_field_set.h>
32
// @@protoc_insertion_point(includes)
33
34
namespace protobuf_yb_2futil_2fhistogram_2eproto {
35
// Internal implementation detail -- do not use these members.
36
struct TableStruct {
37
  static const ::google::protobuf::internal::ParseTableField entries[];
38
  static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
39
  static const ::google::protobuf::internal::ParseTable schema[2];
40
  static const ::google::protobuf::internal::FieldMetadata field_metadata[];
41
  static const ::google::protobuf::internal::SerializationTable serialization_table[];
42
  static const ::google::protobuf::uint32 offsets[];
43
};
44
void AddDescriptors();
45
void InitDefaultsHistogramSnapshotPBImpl();
46
void InitDefaultsHistogramSnapshotPB();
47
void InitDefaultsHistogramSnapshotsListPBImpl();
48
void InitDefaultsHistogramSnapshotsListPB();
49
32.7k
inline void InitDefaults() {
50
32.7k
  InitDefaultsHistogramSnapshotPB();
51
32.7k
  InitDefaultsHistogramSnapshotsListPB();
52
32.7k
}
53
}  // namespace protobuf_yb_2futil_2fhistogram_2eproto
54
namespace yb {
55
class HistogramSnapshotPB;
56
class HistogramSnapshotPBDefaultTypeInternal;
57
extern HistogramSnapshotPBDefaultTypeInternal _HistogramSnapshotPB_default_instance_;
58
class HistogramSnapshotsListPB;
59
class HistogramSnapshotsListPBDefaultTypeInternal;
60
extern HistogramSnapshotsListPBDefaultTypeInternal _HistogramSnapshotsListPB_default_instance_;
61
}  // namespace yb
62
namespace yb {
63
64
// ===================================================================
65
66
class HistogramSnapshotPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.HistogramSnapshotPB) */ {
67
 public:
68
  HistogramSnapshotPB();
69
  virtual ~HistogramSnapshotPB();
70
71
  HistogramSnapshotPB(const HistogramSnapshotPB& from);
72
73
0
  inline HistogramSnapshotPB& operator=(const HistogramSnapshotPB& from) {
74
0
    CopyFrom(from);
75
0
    return *this;
76
0
  }
77
  #if LANG_CXX11
78
  HistogramSnapshotPB(HistogramSnapshotPB&& from) noexcept
79
0
    : HistogramSnapshotPB() {
80
0
    *this = ::std::move(from);
81
0
  }
82
83
0
  inline HistogramSnapshotPB& operator=(HistogramSnapshotPB&& from) noexcept {
84
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
85
0
      if (this != &from) InternalSwap(&from);
86
0
    } else {
87
0
      CopyFrom(from);
88
0
    }
89
0
    return *this;
90
0
  }
91
  #endif
92
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
93
0
    return _internal_metadata_.unknown_fields();
94
0
  }
95
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
96
0
    return _internal_metadata_.mutable_unknown_fields();
97
0
  }
98
99
  static const ::google::protobuf::Descriptor* descriptor();
100
  static const HistogramSnapshotPB& default_instance();
101
102
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
103
5.36M
  static inline const HistogramSnapshotPB* internal_default_instance() {
104
5.36M
    return reinterpret_cast<const HistogramSnapshotPB*>(
105
5.36M
               &_HistogramSnapshotPB_default_instance_);
106
5.36M
  }
107
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
108
    0;
109
110
  void Swap(HistogramSnapshotPB* other);
111
0
  friend void swap(HistogramSnapshotPB& a, HistogramSnapshotPB& b) {
112
0
    a.Swap(&b);
113
0
  }
114
115
  // implements Message ----------------------------------------------
116
117
0
  inline HistogramSnapshotPB* New() const PROTOBUF_FINAL { return New(NULL); }
118
119
  HistogramSnapshotPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
120
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
121
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
122
  void CopyFrom(const HistogramSnapshotPB& from);
123
  void MergeFrom(const HistogramSnapshotPB& from);
124
  void Clear() PROTOBUF_FINAL;
125
  bool IsInitialized() const PROTOBUF_FINAL;
126
127
  size_t ByteSizeLong() const PROTOBUF_FINAL;
128
  bool MergePartialFromCodedStream(
129
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
130
  void SerializeWithCachedSizes(
131
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
132
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
133
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
134
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
135
  private:
136
  void SharedCtor();
137
  void SharedDtor();
138
  void SetCachedSize(int size) const PROTOBUF_FINAL;
139
  void InternalSwap(HistogramSnapshotPB* other);
140
  private:
141
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
142
0
    return NULL;
143
0
  }
144
0
  inline void* MaybeArenaPtr() const {
145
0
    return NULL;
146
0
  }
147
  public:
148
149
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
150
151
  // nested types ----------------------------------------------------
152
153
  // accessors -------------------------------------------------------
154
155
  // repeated uint64 values = 16 [packed = true];
156
  int values_size() const;
157
  void clear_values();
158
  static const int kValuesFieldNumber = 16;
159
  ::google::protobuf::uint64 values(int index) const;
160
  void set_values(int index, ::google::protobuf::uint64 value);
161
  void add_values(::google::protobuf::uint64 value);
162
  const ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >&
163
      values() const;
164
  ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >*
165
      mutable_values();
166
167
  // repeated uint64 counts = 17 [packed = true];
168
  int counts_size() const;
169
  void clear_counts();
170
  static const int kCountsFieldNumber = 17;
171
  ::google::protobuf::uint64 counts(int index) const;
172
  void set_counts(int index, ::google::protobuf::uint64 value);
173
  void add_counts(::google::protobuf::uint64 value);
174
  const ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >&
175
      counts() const;
176
  ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >*
177
      mutable_counts();
178
179
  // required string type = 1;
180
  bool has_type() const;
181
  void clear_type();
182
  static const int kTypeFieldNumber = 1;
183
  const ::std::string& type() const;
184
  void set_type(const ::std::string& value);
185
  #if LANG_CXX11
186
  void set_type(::std::string&& value);
187
  #endif
188
  void set_type(const char* value);
189
  void set_type(const char* value, size_t size);
190
  ::std::string* mutable_type();
191
  ::std::string* release_type();
192
  void set_allocated_type(::std::string* type);
193
194
  // required string name = 2;
195
  bool has_name() const;
196
  void clear_name();
197
  static const int kNameFieldNumber = 2;
198
  const ::std::string& name() const;
199
  void set_name(const ::std::string& value);
200
  #if LANG_CXX11
201
  void set_name(::std::string&& value);
202
  #endif
203
  void set_name(const char* value);
204
  void set_name(const char* value, size_t size);
205
  ::std::string* mutable_name();
206
  ::std::string* release_name();
207
  void set_allocated_name(::std::string* name);
208
209
  // optional string description = 3;
210
  bool has_description() const;
211
  void clear_description();
212
  static const int kDescriptionFieldNumber = 3;
213
  const ::std::string& description() const;
214
  void set_description(const ::std::string& value);
215
  #if LANG_CXX11
216
  void set_description(::std::string&& value);
217
  #endif
218
  void set_description(const char* value);
219
  void set_description(const char* value, size_t size);
220
  ::std::string* mutable_description();
221
  ::std::string* release_description();
222
  void set_allocated_description(::std::string* description);
223
224
  // required string unit = 4;
225
  bool has_unit() const;
226
  void clear_unit();
227
  static const int kUnitFieldNumber = 4;
228
  const ::std::string& unit() const;
229
  void set_unit(const ::std::string& value);
230
  #if LANG_CXX11
231
  void set_unit(::std::string&& value);
232
  #endif
233
  void set_unit(const char* value);
234
  void set_unit(const char* value, size_t size);
235
  ::std::string* mutable_unit();
236
  ::std::string* release_unit();
237
  void set_allocated_unit(::std::string* unit);
238
239
  // optional string label = 19;
240
  bool has_label() const;
241
  void clear_label();
242
  static const int kLabelFieldNumber = 19;
243
  const ::std::string& label() const;
244
  void set_label(const ::std::string& value);
245
  #if LANG_CXX11
246
  void set_label(::std::string&& value);
247
  #endif
248
  void set_label(const char* value);
249
  void set_label(const char* value, size_t size);
250
  ::std::string* mutable_label();
251
  ::std::string* release_label();
252
  void set_allocated_label(::std::string* label);
253
254
  // optional string level = 20;
255
  bool has_level() const;
256
  void clear_level();
257
  static const int kLevelFieldNumber = 20;
258
  const ::std::string& level() const;
259
  void set_level(const ::std::string& value);
260
  #if LANG_CXX11
261
  void set_level(::std::string&& value);
262
  #endif
263
  void set_level(const char* value);
264
  void set_level(const char* value, size_t size);
265
  ::std::string* mutable_level();
266
  ::std::string* release_level();
267
  void set_allocated_level(::std::string* level);
268
269
  // required uint64 max_trackable_value = 5;
270
  bool has_max_trackable_value() const;
271
  void clear_max_trackable_value();
272
  static const int kMaxTrackableValueFieldNumber = 5;
273
  ::google::protobuf::uint64 max_trackable_value() const;
274
  void set_max_trackable_value(::google::protobuf::uint64 value);
275
276
  // required uint64 total_count = 7;
277
  bool has_total_count() const;
278
  void clear_total_count();
279
  static const int kTotalCountFieldNumber = 7;
280
  ::google::protobuf::uint64 total_count() const;
281
  void set_total_count(::google::protobuf::uint64 value);
282
283
  // required uint64 min = 8;
284
  bool has_min() const;
285
  void clear_min();
286
  static const int kMinFieldNumber = 8;
287
  ::google::protobuf::uint64 min() const;
288
  void set_min(::google::protobuf::uint64 value);
289
290
  // required double mean = 9;
291
  bool has_mean() const;
292
  void clear_mean();
293
  static const int kMeanFieldNumber = 9;
294
  double mean() const;
295
  void set_mean(double value);
296
297
  // required uint64 percentile_75 = 10;
298
  bool has_percentile_75() const;
299
  void clear_percentile_75();
300
  static const int kPercentile75FieldNumber = 10;
301
  ::google::protobuf::uint64 percentile_75() const;
302
  void set_percentile_75(::google::protobuf::uint64 value);
303
304
  // required uint64 percentile_95 = 11;
305
  bool has_percentile_95() const;
306
  void clear_percentile_95();
307
  static const int kPercentile95FieldNumber = 11;
308
  ::google::protobuf::uint64 percentile_95() const;
309
  void set_percentile_95(::google::protobuf::uint64 value);
310
311
  // required uint64 percentile_99 = 12;
312
  bool has_percentile_99() const;
313
  void clear_percentile_99();
314
  static const int kPercentile99FieldNumber = 12;
315
  ::google::protobuf::uint64 percentile_99() const;
316
  void set_percentile_99(::google::protobuf::uint64 value);
317
318
  // required uint64 percentile_99_9 = 13;
319
  bool has_percentile_99_9() const;
320
  void clear_percentile_99_9();
321
  static const int kPercentile999FieldNumber = 13;
322
  ::google::protobuf::uint64 percentile_99_9() const;
323
  void set_percentile_99_9(::google::protobuf::uint64 value);
324
325
  // required uint64 percentile_99_99 = 14;
326
  bool has_percentile_99_99() const;
327
  void clear_percentile_99_99();
328
  static const int kPercentile9999FieldNumber = 14;
329
  ::google::protobuf::uint64 percentile_99_99() const;
330
  void set_percentile_99_99(::google::protobuf::uint64 value);
331
332
  // required uint64 max = 15;
333
  bool has_max() const;
334
  void clear_max();
335
  static const int kMaxFieldNumber = 15;
336
  ::google::protobuf::uint64 max() const;
337
  void set_max(::google::protobuf::uint64 value);
338
339
  // optional uint64 total_sum = 18;
340
  bool has_total_sum() const;
341
  void clear_total_sum();
342
  static const int kTotalSumFieldNumber = 18;
343
  ::google::protobuf::uint64 total_sum() const;
344
  void set_total_sum(::google::protobuf::uint64 value);
345
346
  // required int32 num_significant_digits = 6;
347
  bool has_num_significant_digits() const;
348
  void clear_num_significant_digits();
349
  static const int kNumSignificantDigitsFieldNumber = 6;
350
  ::google::protobuf::int32 num_significant_digits() const;
351
  void set_num_significant_digits(::google::protobuf::int32 value);
352
353
  // @@protoc_insertion_point(class_scope:yb.HistogramSnapshotPB)
354
 private:
355
  void set_has_type();
356
  void clear_has_type();
357
  void set_has_name();
358
  void clear_has_name();
359
  void set_has_description();
360
  void clear_has_description();
361
  void set_has_level();
362
  void clear_has_level();
363
  void set_has_unit();
364
  void clear_has_unit();
365
  void set_has_label();
366
  void clear_has_label();
367
  void set_has_max_trackable_value();
368
  void clear_has_max_trackable_value();
369
  void set_has_num_significant_digits();
370
  void clear_has_num_significant_digits();
371
  void set_has_total_count();
372
  void clear_has_total_count();
373
  void set_has_total_sum();
374
  void clear_has_total_sum();
375
  void set_has_min();
376
  void clear_has_min();
377
  void set_has_mean();
378
  void clear_has_mean();
379
  void set_has_percentile_75();
380
  void clear_has_percentile_75();
381
  void set_has_percentile_95();
382
  void clear_has_percentile_95();
383
  void set_has_percentile_99();
384
  void clear_has_percentile_99();
385
  void set_has_percentile_99_9();
386
  void clear_has_percentile_99_9();
387
  void set_has_percentile_99_99();
388
  void clear_has_percentile_99_99();
389
  void set_has_max();
390
  void clear_has_max();
391
392
  // helper for ByteSizeLong()
393
  size_t RequiredFieldsByteSizeFallback() const;
394
395
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
396
  ::google::protobuf::internal::HasBits<1> _has_bits_;
397
  mutable int _cached_size_;
398
  ::google::protobuf::RepeatedField< ::google::protobuf::uint64 > values_;
399
  mutable int _values_cached_byte_size_;
400
  ::google::protobuf::RepeatedField< ::google::protobuf::uint64 > counts_;
401
  mutable int _counts_cached_byte_size_;
402
  ::google::protobuf::internal::ArenaStringPtr type_;
403
  ::google::protobuf::internal::ArenaStringPtr name_;
404
  ::google::protobuf::internal::ArenaStringPtr description_;
405
  ::google::protobuf::internal::ArenaStringPtr unit_;
406
  ::google::protobuf::internal::ArenaStringPtr label_;
407
  ::google::protobuf::internal::ArenaStringPtr level_;
408
  ::google::protobuf::uint64 max_trackable_value_;
409
  ::google::protobuf::uint64 total_count_;
410
  ::google::protobuf::uint64 min_;
411
  double mean_;
412
  ::google::protobuf::uint64 percentile_75_;
413
  ::google::protobuf::uint64 percentile_95_;
414
  ::google::protobuf::uint64 percentile_99_;
415
  ::google::protobuf::uint64 percentile_99_9_;
416
  ::google::protobuf::uint64 percentile_99_99_;
417
  ::google::protobuf::uint64 max_;
418
  ::google::protobuf::uint64 total_sum_;
419
  ::google::protobuf::int32 num_significant_digits_;
420
  friend struct ::protobuf_yb_2futil_2fhistogram_2eproto::TableStruct;
421
  friend void ::protobuf_yb_2futil_2fhistogram_2eproto::InitDefaultsHistogramSnapshotPBImpl();
422
};
423
// -------------------------------------------------------------------
424
425
class HistogramSnapshotsListPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.HistogramSnapshotsListPB) */ {
426
 public:
427
  HistogramSnapshotsListPB();
428
  virtual ~HistogramSnapshotsListPB();
429
430
  HistogramSnapshotsListPB(const HistogramSnapshotsListPB& from);
431
432
0
  inline HistogramSnapshotsListPB& operator=(const HistogramSnapshotsListPB& from) {
433
0
    CopyFrom(from);
434
0
    return *this;
435
0
  }
436
  #if LANG_CXX11
437
  HistogramSnapshotsListPB(HistogramSnapshotsListPB&& from) noexcept
438
0
    : HistogramSnapshotsListPB() {
439
0
    *this = ::std::move(from);
440
0
  }
441
442
0
  inline HistogramSnapshotsListPB& operator=(HistogramSnapshotsListPB&& from) noexcept {
443
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
444
0
      if (this != &from) InternalSwap(&from);
445
0
    } else {
446
0
      CopyFrom(from);
447
0
    }
448
0
    return *this;
449
0
  }
450
  #endif
451
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
452
0
    return _internal_metadata_.unknown_fields();
453
0
  }
454
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
455
0
    return _internal_metadata_.mutable_unknown_fields();
456
0
  }
457
458
  static const ::google::protobuf::Descriptor* descriptor();
459
  static const HistogramSnapshotsListPB& default_instance();
460
461
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
462
32.7k
  static inline const HistogramSnapshotsListPB* internal_default_instance() {
463
32.7k
    return reinterpret_cast<const HistogramSnapshotsListPB*>(
464
32.7k
               &_HistogramSnapshotsListPB_default_instance_);
465
32.7k
  }
466
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
467
    1;
468
469
  void Swap(HistogramSnapshotsListPB* other);
470
0
  friend void swap(HistogramSnapshotsListPB& a, HistogramSnapshotsListPB& b) {
471
0
    a.Swap(&b);
472
0
  }
473
474
  // implements Message ----------------------------------------------
475
476
0
  inline HistogramSnapshotsListPB* New() const PROTOBUF_FINAL { return New(NULL); }
477
478
  HistogramSnapshotsListPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
479
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
480
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
481
  void CopyFrom(const HistogramSnapshotsListPB& from);
482
  void MergeFrom(const HistogramSnapshotsListPB& from);
483
  void Clear() PROTOBUF_FINAL;
484
  bool IsInitialized() const PROTOBUF_FINAL;
485
486
  size_t ByteSizeLong() const PROTOBUF_FINAL;
487
  bool MergePartialFromCodedStream(
488
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
489
  void SerializeWithCachedSizes(
490
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
491
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
492
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
493
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
494
  private:
495
  void SharedCtor();
496
  void SharedDtor();
497
  void SetCachedSize(int size) const PROTOBUF_FINAL;
498
  void InternalSwap(HistogramSnapshotsListPB* other);
499
  private:
500
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
501
0
    return NULL;
502
0
  }
503
0
  inline void* MaybeArenaPtr() const {
504
0
    return NULL;
505
0
  }
506
  public:
507
508
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
509
510
  // nested types ----------------------------------------------------
511
512
  // accessors -------------------------------------------------------
513
514
  // repeated .yb.HistogramSnapshotPB histograms = 1;
515
  int histograms_size() const;
516
  void clear_histograms();
517
  static const int kHistogramsFieldNumber = 1;
518
  const ::yb::HistogramSnapshotPB& histograms(int index) const;
519
  ::yb::HistogramSnapshotPB* mutable_histograms(int index);
520
  ::yb::HistogramSnapshotPB* add_histograms();
521
  ::google::protobuf::RepeatedPtrField< ::yb::HistogramSnapshotPB >*
522
      mutable_histograms();
523
  const ::google::protobuf::RepeatedPtrField< ::yb::HistogramSnapshotPB >&
524
      histograms() const;
525
526
  // @@protoc_insertion_point(class_scope:yb.HistogramSnapshotsListPB)
527
 private:
528
529
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
530
  ::google::protobuf::internal::HasBits<1> _has_bits_;
531
  mutable int _cached_size_;
532
  ::google::protobuf::RepeatedPtrField< ::yb::HistogramSnapshotPB > histograms_;
533
  friend struct ::protobuf_yb_2futil_2fhistogram_2eproto::TableStruct;
534
  friend void ::protobuf_yb_2futil_2fhistogram_2eproto::InitDefaultsHistogramSnapshotsListPBImpl();
535
};
536
// ===================================================================
537
538
539
// ===================================================================
540
541
#ifdef __GNUC__
542
  #pragma GCC diagnostic push
543
  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
544
#endif  // __GNUC__
545
// HistogramSnapshotPB
546
547
// required string type = 1;
548
0
inline bool HistogramSnapshotPB::has_type() const {
549
0
  return (_has_bits_[0] & 0x00000001u) != 0;
550
0
}
551
0
inline void HistogramSnapshotPB::set_has_type() {
552
0
  _has_bits_[0] |= 0x00000001u;
553
0
}
554
0
inline void HistogramSnapshotPB::clear_has_type() {
555
0
  _has_bits_[0] &= ~0x00000001u;
556
0
}
557
0
inline void HistogramSnapshotPB::clear_type() {
558
0
  type_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
559
0
  clear_has_type();
560
0
}
561
0
inline const ::std::string& HistogramSnapshotPB::type() const {
562
0
  // @@protoc_insertion_point(field_get:yb.HistogramSnapshotPB.type)
563
0
  return type_.GetNoArena();
564
0
}
565
0
inline void HistogramSnapshotPB::set_type(const ::std::string& value) {
566
0
  set_has_type();
567
0
  type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
568
0
  // @@protoc_insertion_point(field_set:yb.HistogramSnapshotPB.type)
569
0
}
570
#if LANG_CXX11
571
0
inline void HistogramSnapshotPB::set_type(::std::string&& value) {
572
0
  set_has_type();
573
0
  type_.SetNoArena(
574
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
575
0
  // @@protoc_insertion_point(field_set_rvalue:yb.HistogramSnapshotPB.type)
576
0
}
577
#endif
578
0
inline void HistogramSnapshotPB::set_type(const char* value) {
579
0
  GOOGLE_DCHECK(value != NULL);
580
0
  set_has_type();
581
0
  type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
582
0
  // @@protoc_insertion_point(field_set_char:yb.HistogramSnapshotPB.type)
583
0
}
584
0
inline void HistogramSnapshotPB::set_type(const char* value, size_t size) {
585
0
  set_has_type();
586
0
  type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
587
0
      ::std::string(reinterpret_cast<const char*>(value), size));
588
0
  // @@protoc_insertion_point(field_set_pointer:yb.HistogramSnapshotPB.type)
589
0
}
590
0
inline ::std::string* HistogramSnapshotPB::mutable_type() {
591
0
  set_has_type();
592
0
  // @@protoc_insertion_point(field_mutable:yb.HistogramSnapshotPB.type)
593
0
  return type_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
594
0
}
595
0
inline ::std::string* HistogramSnapshotPB::release_type() {
596
0
  // @@protoc_insertion_point(field_release:yb.HistogramSnapshotPB.type)
597
0
  clear_has_type();
598
0
  return type_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
599
0
}
600
0
inline void HistogramSnapshotPB::set_allocated_type(::std::string* type) {
601
0
  if (type != NULL) {
602
0
    set_has_type();
603
0
  } else {
604
0
    clear_has_type();
605
0
  }
606
0
  type_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), type);
607
0
  // @@protoc_insertion_point(field_set_allocated:yb.HistogramSnapshotPB.type)
608
0
}
609
610
// required string name = 2;
611
0
inline bool HistogramSnapshotPB::has_name() const {
612
0
  return (_has_bits_[0] & 0x00000002u) != 0;
613
0
}
614
5.32M
inline void HistogramSnapshotPB::set_has_name() {
615
5.32M
  _has_bits_[0] |= 0x00000002u;
616
5.32M
}
617
0
inline void HistogramSnapshotPB::clear_has_name() {
618
0
  _has_bits_[0] &= ~0x00000002u;
619
0
}
620
0
inline void HistogramSnapshotPB::clear_name() {
621
0
  name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
622
0
  clear_has_name();
623
0
}
624
0
inline const ::std::string& HistogramSnapshotPB::name() const {
625
0
  // @@protoc_insertion_point(field_get:yb.HistogramSnapshotPB.name)
626
0
  return name_.GetNoArena();
627
0
}
628
0
inline void HistogramSnapshotPB::set_name(const ::std::string& value) {
629
0
  set_has_name();
630
0
  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
631
0
  // @@protoc_insertion_point(field_set:yb.HistogramSnapshotPB.name)
632
0
}
633
#if LANG_CXX11
634
0
inline void HistogramSnapshotPB::set_name(::std::string&& value) {
635
0
  set_has_name();
636
0
  name_.SetNoArena(
637
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
638
0
  // @@protoc_insertion_point(field_set_rvalue:yb.HistogramSnapshotPB.name)
639
0
}
640
#endif
641
5.32M
inline void HistogramSnapshotPB::set_name(const char* value) {
642
5.32M
  GOOGLE_DCHECK(value != NULL);
643
5.32M
  set_has_name();
644
5.32M
  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
645
  // @@protoc_insertion_point(field_set_char:yb.HistogramSnapshotPB.name)
646
5.32M
}
647
0
inline void HistogramSnapshotPB::set_name(const char* value, size_t size) {
648
0
  set_has_name();
649
0
  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
650
0
      ::std::string(reinterpret_cast<const char*>(value), size));
651
0
  // @@protoc_insertion_point(field_set_pointer:yb.HistogramSnapshotPB.name)
652
0
}
653
0
inline ::std::string* HistogramSnapshotPB::mutable_name() {
654
0
  set_has_name();
655
0
  // @@protoc_insertion_point(field_mutable:yb.HistogramSnapshotPB.name)
656
0
  return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
657
0
}
658
0
inline ::std::string* HistogramSnapshotPB::release_name() {
659
0
  // @@protoc_insertion_point(field_release:yb.HistogramSnapshotPB.name)
660
0
  clear_has_name();
661
0
  return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
662
0
}
663
0
inline void HistogramSnapshotPB::set_allocated_name(::std::string* name) {
664
0
  if (name != NULL) {
665
0
    set_has_name();
666
0
  } else {
667
0
    clear_has_name();
668
0
  }
669
0
  name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
670
0
  // @@protoc_insertion_point(field_set_allocated:yb.HistogramSnapshotPB.name)
671
0
}
672
673
// optional string description = 3;
674
0
inline bool HistogramSnapshotPB::has_description() const {
675
0
  return (_has_bits_[0] & 0x00000004u) != 0;
676
0
}
677
0
inline void HistogramSnapshotPB::set_has_description() {
678
0
  _has_bits_[0] |= 0x00000004u;
679
0
}
680
0
inline void HistogramSnapshotPB::clear_has_description() {
681
0
  _has_bits_[0] &= ~0x00000004u;
682
0
}
683
0
inline void HistogramSnapshotPB::clear_description() {
684
0
  description_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
685
0
  clear_has_description();
686
0
}
687
0
inline const ::std::string& HistogramSnapshotPB::description() const {
688
0
  // @@protoc_insertion_point(field_get:yb.HistogramSnapshotPB.description)
689
0
  return description_.GetNoArena();
690
0
}
691
0
inline void HistogramSnapshotPB::set_description(const ::std::string& value) {
692
0
  set_has_description();
693
0
  description_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
694
0
  // @@protoc_insertion_point(field_set:yb.HistogramSnapshotPB.description)
695
0
}
696
#if LANG_CXX11
697
0
inline void HistogramSnapshotPB::set_description(::std::string&& value) {
698
0
  set_has_description();
699
0
  description_.SetNoArena(
700
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
701
0
  // @@protoc_insertion_point(field_set_rvalue:yb.HistogramSnapshotPB.description)
702
0
}
703
#endif
704
0
inline void HistogramSnapshotPB::set_description(const char* value) {
705
0
  GOOGLE_DCHECK(value != NULL);
706
0
  set_has_description();
707
0
  description_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
708
0
  // @@protoc_insertion_point(field_set_char:yb.HistogramSnapshotPB.description)
709
0
}
710
0
inline void HistogramSnapshotPB::set_description(const char* value, size_t size) {
711
0
  set_has_description();
712
0
  description_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
713
0
      ::std::string(reinterpret_cast<const char*>(value), size));
714
0
  // @@protoc_insertion_point(field_set_pointer:yb.HistogramSnapshotPB.description)
715
0
}
716
0
inline ::std::string* HistogramSnapshotPB::mutable_description() {
717
0
  set_has_description();
718
0
  // @@protoc_insertion_point(field_mutable:yb.HistogramSnapshotPB.description)
719
0
  return description_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
720
0
}
721
0
inline ::std::string* HistogramSnapshotPB::release_description() {
722
0
  // @@protoc_insertion_point(field_release:yb.HistogramSnapshotPB.description)
723
0
  clear_has_description();
724
0
  return description_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
725
0
}
726
0
inline void HistogramSnapshotPB::set_allocated_description(::std::string* description) {
727
0
  if (description != NULL) {
728
0
    set_has_description();
729
0
  } else {
730
0
    clear_has_description();
731
0
  }
732
0
  description_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), description);
733
0
  // @@protoc_insertion_point(field_set_allocated:yb.HistogramSnapshotPB.description)
734
0
}
735
736
// optional string level = 20;
737
0
inline bool HistogramSnapshotPB::has_level() const {
738
0
  return (_has_bits_[0] & 0x00000020u) != 0;
739
0
}
740
0
inline void HistogramSnapshotPB::set_has_level() {
741
0
  _has_bits_[0] |= 0x00000020u;
742
0
}
743
0
inline void HistogramSnapshotPB::clear_has_level() {
744
0
  _has_bits_[0] &= ~0x00000020u;
745
0
}
746
0
inline void HistogramSnapshotPB::clear_level() {
747
0
  level_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
748
0
  clear_has_level();
749
0
}
750
0
inline const ::std::string& HistogramSnapshotPB::level() const {
751
0
  // @@protoc_insertion_point(field_get:yb.HistogramSnapshotPB.level)
752
0
  return level_.GetNoArena();
753
0
}
754
0
inline void HistogramSnapshotPB::set_level(const ::std::string& value) {
755
0
  set_has_level();
756
0
  level_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
757
0
  // @@protoc_insertion_point(field_set:yb.HistogramSnapshotPB.level)
758
0
}
759
#if LANG_CXX11
760
0
inline void HistogramSnapshotPB::set_level(::std::string&& value) {
761
0
  set_has_level();
762
0
  level_.SetNoArena(
763
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
764
0
  // @@protoc_insertion_point(field_set_rvalue:yb.HistogramSnapshotPB.level)
765
0
}
766
#endif
767
0
inline void HistogramSnapshotPB::set_level(const char* value) {
768
0
  GOOGLE_DCHECK(value != NULL);
769
0
  set_has_level();
770
0
  level_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
771
0
  // @@protoc_insertion_point(field_set_char:yb.HistogramSnapshotPB.level)
772
0
}
773
0
inline void HistogramSnapshotPB::set_level(const char* value, size_t size) {
774
0
  set_has_level();
775
0
  level_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
776
0
      ::std::string(reinterpret_cast<const char*>(value), size));
777
0
  // @@protoc_insertion_point(field_set_pointer:yb.HistogramSnapshotPB.level)
778
0
}
779
0
inline ::std::string* HistogramSnapshotPB::mutable_level() {
780
0
  set_has_level();
781
0
  // @@protoc_insertion_point(field_mutable:yb.HistogramSnapshotPB.level)
782
0
  return level_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
783
0
}
784
0
inline ::std::string* HistogramSnapshotPB::release_level() {
785
0
  // @@protoc_insertion_point(field_release:yb.HistogramSnapshotPB.level)
786
0
  clear_has_level();
787
0
  return level_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
788
0
}
789
0
inline void HistogramSnapshotPB::set_allocated_level(::std::string* level) {
790
0
  if (level != NULL) {
791
0
    set_has_level();
792
0
  } else {
793
0
    clear_has_level();
794
0
  }
795
0
  level_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), level);
796
0
  // @@protoc_insertion_point(field_set_allocated:yb.HistogramSnapshotPB.level)
797
0
}
798
799
// required string unit = 4;
800
0
inline bool HistogramSnapshotPB::has_unit() const {
801
0
  return (_has_bits_[0] & 0x00000008u) != 0;
802
0
}
803
0
inline void HistogramSnapshotPB::set_has_unit() {
804
0
  _has_bits_[0] |= 0x00000008u;
805
0
}
806
0
inline void HistogramSnapshotPB::clear_has_unit() {
807
0
  _has_bits_[0] &= ~0x00000008u;
808
0
}
809
0
inline void HistogramSnapshotPB::clear_unit() {
810
0
  unit_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
811
0
  clear_has_unit();
812
0
}
813
0
inline const ::std::string& HistogramSnapshotPB::unit() const {
814
0
  // @@protoc_insertion_point(field_get:yb.HistogramSnapshotPB.unit)
815
0
  return unit_.GetNoArena();
816
0
}
817
0
inline void HistogramSnapshotPB::set_unit(const ::std::string& value) {
818
0
  set_has_unit();
819
0
  unit_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
820
0
  // @@protoc_insertion_point(field_set:yb.HistogramSnapshotPB.unit)
821
0
}
822
#if LANG_CXX11
823
0
inline void HistogramSnapshotPB::set_unit(::std::string&& value) {
824
0
  set_has_unit();
825
0
  unit_.SetNoArena(
826
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
827
0
  // @@protoc_insertion_point(field_set_rvalue:yb.HistogramSnapshotPB.unit)
828
0
}
829
#endif
830
0
inline void HistogramSnapshotPB::set_unit(const char* value) {
831
0
  GOOGLE_DCHECK(value != NULL);
832
0
  set_has_unit();
833
0
  unit_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
834
0
  // @@protoc_insertion_point(field_set_char:yb.HistogramSnapshotPB.unit)
835
0
}
836
0
inline void HistogramSnapshotPB::set_unit(const char* value, size_t size) {
837
0
  set_has_unit();
838
0
  unit_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
839
0
      ::std::string(reinterpret_cast<const char*>(value), size));
840
0
  // @@protoc_insertion_point(field_set_pointer:yb.HistogramSnapshotPB.unit)
841
0
}
842
0
inline ::std::string* HistogramSnapshotPB::mutable_unit() {
843
0
  set_has_unit();
844
0
  // @@protoc_insertion_point(field_mutable:yb.HistogramSnapshotPB.unit)
845
0
  return unit_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
846
0
}
847
0
inline ::std::string* HistogramSnapshotPB::release_unit() {
848
0
  // @@protoc_insertion_point(field_release:yb.HistogramSnapshotPB.unit)
849
0
  clear_has_unit();
850
0
  return unit_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
851
0
}
852
0
inline void HistogramSnapshotPB::set_allocated_unit(::std::string* unit) {
853
0
  if (unit != NULL) {
854
0
    set_has_unit();
855
0
  } else {
856
0
    clear_has_unit();
857
0
  }
858
0
  unit_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), unit);
859
0
  // @@protoc_insertion_point(field_set_allocated:yb.HistogramSnapshotPB.unit)
860
0
}
861
862
// optional string label = 19;
863
0
inline bool HistogramSnapshotPB::has_label() const {
864
0
  return (_has_bits_[0] & 0x00000010u) != 0;
865
0
}
866
0
inline void HistogramSnapshotPB::set_has_label() {
867
0
  _has_bits_[0] |= 0x00000010u;
868
0
}
869
0
inline void HistogramSnapshotPB::clear_has_label() {
870
0
  _has_bits_[0] &= ~0x00000010u;
871
0
}
872
0
inline void HistogramSnapshotPB::clear_label() {
873
0
  label_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
874
0
  clear_has_label();
875
0
}
876
0
inline const ::std::string& HistogramSnapshotPB::label() const {
877
0
  // @@protoc_insertion_point(field_get:yb.HistogramSnapshotPB.label)
878
0
  return label_.GetNoArena();
879
0
}
880
0
inline void HistogramSnapshotPB::set_label(const ::std::string& value) {
881
0
  set_has_label();
882
0
  label_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
883
0
  // @@protoc_insertion_point(field_set:yb.HistogramSnapshotPB.label)
884
0
}
885
#if LANG_CXX11
886
0
inline void HistogramSnapshotPB::set_label(::std::string&& value) {
887
0
  set_has_label();
888
0
  label_.SetNoArena(
889
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
890
0
  // @@protoc_insertion_point(field_set_rvalue:yb.HistogramSnapshotPB.label)
891
0
}
892
#endif
893
0
inline void HistogramSnapshotPB::set_label(const char* value) {
894
0
  GOOGLE_DCHECK(value != NULL);
895
0
  set_has_label();
896
0
  label_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
897
0
  // @@protoc_insertion_point(field_set_char:yb.HistogramSnapshotPB.label)
898
0
}
899
0
inline void HistogramSnapshotPB::set_label(const char* value, size_t size) {
900
0
  set_has_label();
901
0
  label_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
902
0
      ::std::string(reinterpret_cast<const char*>(value), size));
903
0
  // @@protoc_insertion_point(field_set_pointer:yb.HistogramSnapshotPB.label)
904
0
}
905
0
inline ::std::string* HistogramSnapshotPB::mutable_label() {
906
0
  set_has_label();
907
0
  // @@protoc_insertion_point(field_mutable:yb.HistogramSnapshotPB.label)
908
0
  return label_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
909
0
}
910
0
inline ::std::string* HistogramSnapshotPB::release_label() {
911
0
  // @@protoc_insertion_point(field_release:yb.HistogramSnapshotPB.label)
912
0
  clear_has_label();
913
0
  return label_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
914
0
}
915
0
inline void HistogramSnapshotPB::set_allocated_label(::std::string* label) {
916
0
  if (label != NULL) {
917
0
    set_has_label();
918
0
  } else {
919
0
    clear_has_label();
920
0
  }
921
0
  label_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), label);
922
0
  // @@protoc_insertion_point(field_set_allocated:yb.HistogramSnapshotPB.label)
923
0
}
924
925
// required uint64 max_trackable_value = 5;
926
0
inline bool HistogramSnapshotPB::has_max_trackable_value() const {
927
0
  return (_has_bits_[0] & 0x00000040u) != 0;
928
0
}
929
0
inline void HistogramSnapshotPB::set_has_max_trackable_value() {
930
0
  _has_bits_[0] |= 0x00000040u;
931
0
}
932
0
inline void HistogramSnapshotPB::clear_has_max_trackable_value() {
933
0
  _has_bits_[0] &= ~0x00000040u;
934
0
}
935
0
inline void HistogramSnapshotPB::clear_max_trackable_value() {
936
0
  max_trackable_value_ = GOOGLE_ULONGLONG(0);
937
0
  clear_has_max_trackable_value();
938
0
}
939
0
inline ::google::protobuf::uint64 HistogramSnapshotPB::max_trackable_value() const {
940
0
  // @@protoc_insertion_point(field_get:yb.HistogramSnapshotPB.max_trackable_value)
941
0
  return max_trackable_value_;
942
0
}
943
0
inline void HistogramSnapshotPB::set_max_trackable_value(::google::protobuf::uint64 value) {
944
0
  set_has_max_trackable_value();
945
0
  max_trackable_value_ = value;
946
0
  // @@protoc_insertion_point(field_set:yb.HistogramSnapshotPB.max_trackable_value)
947
0
}
948
949
// required int32 num_significant_digits = 6;
950
0
inline bool HistogramSnapshotPB::has_num_significant_digits() const {
951
0
  return (_has_bits_[0] & 0x00020000u) != 0;
952
0
}
953
0
inline void HistogramSnapshotPB::set_has_num_significant_digits() {
954
0
  _has_bits_[0] |= 0x00020000u;
955
0
}
956
0
inline void HistogramSnapshotPB::clear_has_num_significant_digits() {
957
0
  _has_bits_[0] &= ~0x00020000u;
958
0
}
959
0
inline void HistogramSnapshotPB::clear_num_significant_digits() {
960
0
  num_significant_digits_ = 0;
961
0
  clear_has_num_significant_digits();
962
0
}
963
0
inline ::google::protobuf::int32 HistogramSnapshotPB::num_significant_digits() const {
964
0
  // @@protoc_insertion_point(field_get:yb.HistogramSnapshotPB.num_significant_digits)
965
0
  return num_significant_digits_;
966
0
}
967
0
inline void HistogramSnapshotPB::set_num_significant_digits(::google::protobuf::int32 value) {
968
0
  set_has_num_significant_digits();
969
0
  num_significant_digits_ = value;
970
0
  // @@protoc_insertion_point(field_set:yb.HistogramSnapshotPB.num_significant_digits)
971
0
}
972
973
// required uint64 total_count = 7;
974
0
inline bool HistogramSnapshotPB::has_total_count() const {
975
0
  return (_has_bits_[0] & 0x00000080u) != 0;
976
0
}
977
5.32M
inline void HistogramSnapshotPB::set_has_total_count() {
978
5.32M
  _has_bits_[0] |= 0x00000080u;
979
5.32M
}
980
0
inline void HistogramSnapshotPB::clear_has_total_count() {
981
0
  _has_bits_[0] &= ~0x00000080u;
982
0
}
983
0
inline void HistogramSnapshotPB::clear_total_count() {
984
0
  total_count_ = GOOGLE_ULONGLONG(0);
985
0
  clear_has_total_count();
986
0
}
987
0
inline ::google::protobuf::uint64 HistogramSnapshotPB::total_count() const {
988
0
  // @@protoc_insertion_point(field_get:yb.HistogramSnapshotPB.total_count)
989
0
  return total_count_;
990
0
}
991
5.32M
inline void HistogramSnapshotPB::set_total_count(::google::protobuf::uint64 value) {
992
5.32M
  set_has_total_count();
993
5.32M
  total_count_ = value;
994
  // @@protoc_insertion_point(field_set:yb.HistogramSnapshotPB.total_count)
995
5.32M
}
996
997
// optional uint64 total_sum = 18;
998
0
inline bool HistogramSnapshotPB::has_total_sum() const {
999
0
  return (_has_bits_[0] & 0x00010000u) != 0;
1000
0
}
1001
5.32M
inline void HistogramSnapshotPB::set_has_total_sum() {
1002
5.32M
  _has_bits_[0] |= 0x00010000u;
1003
5.32M
}
1004
0
inline void HistogramSnapshotPB::clear_has_total_sum() {
1005
0
  _has_bits_[0] &= ~0x00010000u;
1006
0
}
1007
0
inline void HistogramSnapshotPB::clear_total_sum() {
1008
0
  total_sum_ = GOOGLE_ULONGLONG(0);
1009
0
  clear_has_total_sum();
1010
0
}
1011
0
inline ::google::protobuf::uint64 HistogramSnapshotPB::total_sum() const {
1012
0
  // @@protoc_insertion_point(field_get:yb.HistogramSnapshotPB.total_sum)
1013
0
  return total_sum_;
1014
0
}
1015
5.32M
inline void HistogramSnapshotPB::set_total_sum(::google::protobuf::uint64 value) {
1016
5.32M
  set_has_total_sum();
1017
5.32M
  total_sum_ = value;
1018
  // @@protoc_insertion_point(field_set:yb.HistogramSnapshotPB.total_sum)
1019
5.32M
}
1020
1021
// required uint64 min = 8;
1022
0
inline bool HistogramSnapshotPB::has_min() const {
1023
0
  return (_has_bits_[0] & 0x00000100u) != 0;
1024
0
}
1025
5.32M
inline void HistogramSnapshotPB::set_has_min() {
1026
5.32M
  _has_bits_[0] |= 0x00000100u;
1027
5.32M
}
1028
0
inline void HistogramSnapshotPB::clear_has_min() {
1029
0
  _has_bits_[0] &= ~0x00000100u;
1030
0
}
1031
0
inline void HistogramSnapshotPB::clear_min() {
1032
0
  min_ = GOOGLE_ULONGLONG(0);
1033
0
  clear_has_min();
1034
0
}
1035
0
inline ::google::protobuf::uint64 HistogramSnapshotPB::min() const {
1036
0
  // @@protoc_insertion_point(field_get:yb.HistogramSnapshotPB.min)
1037
0
  return min_;
1038
0
}
1039
5.32M
inline void HistogramSnapshotPB::set_min(::google::protobuf::uint64 value) {
1040
5.32M
  set_has_min();
1041
5.32M
  min_ = value;
1042
  // @@protoc_insertion_point(field_set:yb.HistogramSnapshotPB.min)
1043
5.32M
}
1044
1045
// required double mean = 9;
1046
0
inline bool HistogramSnapshotPB::has_mean() const {
1047
0
  return (_has_bits_[0] & 0x00000200u) != 0;
1048
0
}
1049
5.32M
inline void HistogramSnapshotPB::set_has_mean() {
1050
5.32M
  _has_bits_[0] |= 0x00000200u;
1051
5.32M
}
1052
0
inline void HistogramSnapshotPB::clear_has_mean() {
1053
0
  _has_bits_[0] &= ~0x00000200u;
1054
0
}
1055
0
inline void HistogramSnapshotPB::clear_mean() {
1056
0
  mean_ = 0;
1057
0
  clear_has_mean();
1058
0
}
1059
0
inline double HistogramSnapshotPB::mean() const {
1060
0
  // @@protoc_insertion_point(field_get:yb.HistogramSnapshotPB.mean)
1061
0
  return mean_;
1062
0
}
1063
5.32M
inline void HistogramSnapshotPB::set_mean(double value) {
1064
5.32M
  set_has_mean();
1065
5.32M
  mean_ = value;
1066
  // @@protoc_insertion_point(field_set:yb.HistogramSnapshotPB.mean)
1067
5.32M
}
1068
1069
// required uint64 percentile_75 = 10;
1070
0
inline bool HistogramSnapshotPB::has_percentile_75() const {
1071
0
  return (_has_bits_[0] & 0x00000400u) != 0;
1072
0
}
1073
5.32M
inline void HistogramSnapshotPB::set_has_percentile_75() {
1074
5.32M
  _has_bits_[0] |= 0x00000400u;
1075
5.32M
}
1076
0
inline void HistogramSnapshotPB::clear_has_percentile_75() {
1077
0
  _has_bits_[0] &= ~0x00000400u;
1078
0
}
1079
0
inline void HistogramSnapshotPB::clear_percentile_75() {
1080
0
  percentile_75_ = GOOGLE_ULONGLONG(0);
1081
0
  clear_has_percentile_75();
1082
0
}
1083
0
inline ::google::protobuf::uint64 HistogramSnapshotPB::percentile_75() const {
1084
0
  // @@protoc_insertion_point(field_get:yb.HistogramSnapshotPB.percentile_75)
1085
0
  return percentile_75_;
1086
0
}
1087
5.32M
inline void HistogramSnapshotPB::set_percentile_75(::google::protobuf::uint64 value) {
1088
5.32M
  set_has_percentile_75();
1089
5.32M
  percentile_75_ = value;
1090
  // @@protoc_insertion_point(field_set:yb.HistogramSnapshotPB.percentile_75)
1091
5.32M
}
1092
1093
// required uint64 percentile_95 = 11;
1094
0
inline bool HistogramSnapshotPB::has_percentile_95() const {
1095
0
  return (_has_bits_[0] & 0x00000800u) != 0;
1096
0
}
1097
5.32M
inline void HistogramSnapshotPB::set_has_percentile_95() {
1098
5.32M
  _has_bits_[0] |= 0x00000800u;
1099
5.32M
}
1100
0
inline void HistogramSnapshotPB::clear_has_percentile_95() {
1101
0
  _has_bits_[0] &= ~0x00000800u;
1102
0
}
1103
0
inline void HistogramSnapshotPB::clear_percentile_95() {
1104
0
  percentile_95_ = GOOGLE_ULONGLONG(0);
1105
0
  clear_has_percentile_95();
1106
0
}
1107
0
inline ::google::protobuf::uint64 HistogramSnapshotPB::percentile_95() const {
1108
0
  // @@protoc_insertion_point(field_get:yb.HistogramSnapshotPB.percentile_95)
1109
0
  return percentile_95_;
1110
0
}
1111
5.32M
inline void HistogramSnapshotPB::set_percentile_95(::google::protobuf::uint64 value) {
1112
5.32M
  set_has_percentile_95();
1113
5.32M
  percentile_95_ = value;
1114
  // @@protoc_insertion_point(field_set:yb.HistogramSnapshotPB.percentile_95)
1115
5.32M
}
1116
1117
// required uint64 percentile_99 = 12;
1118
0
inline bool HistogramSnapshotPB::has_percentile_99() const {
1119
0
  return (_has_bits_[0] & 0x00001000u) != 0;
1120
0
}
1121
5.32M
inline void HistogramSnapshotPB::set_has_percentile_99() {
1122
5.32M
  _has_bits_[0] |= 0x00001000u;
1123
5.32M
}
1124
0
inline void HistogramSnapshotPB::clear_has_percentile_99() {
1125
0
  _has_bits_[0] &= ~0x00001000u;
1126
0
}
1127
0
inline void HistogramSnapshotPB::clear_percentile_99() {
1128
0
  percentile_99_ = GOOGLE_ULONGLONG(0);
1129
0
  clear_has_percentile_99();
1130
0
}
1131
0
inline ::google::protobuf::uint64 HistogramSnapshotPB::percentile_99() const {
1132
0
  // @@protoc_insertion_point(field_get:yb.HistogramSnapshotPB.percentile_99)
1133
0
  return percentile_99_;
1134
0
}
1135
5.32M
inline void HistogramSnapshotPB::set_percentile_99(::google::protobuf::uint64 value) {
1136
5.32M
  set_has_percentile_99();
1137
5.32M
  percentile_99_ = value;
1138
  // @@protoc_insertion_point(field_set:yb.HistogramSnapshotPB.percentile_99)
1139
5.32M
}
1140
1141
// required uint64 percentile_99_9 = 13;
1142
0
inline bool HistogramSnapshotPB::has_percentile_99_9() const {
1143
0
  return (_has_bits_[0] & 0x00002000u) != 0;
1144
0
}
1145
5.32M
inline void HistogramSnapshotPB::set_has_percentile_99_9() {
1146
5.32M
  _has_bits_[0] |= 0x00002000u;
1147
5.32M
}
1148
0
inline void HistogramSnapshotPB::clear_has_percentile_99_9() {
1149
0
  _has_bits_[0] &= ~0x00002000u;
1150
0
}
1151
0
inline void HistogramSnapshotPB::clear_percentile_99_9() {
1152
0
  percentile_99_9_ = GOOGLE_ULONGLONG(0);
1153
0
  clear_has_percentile_99_9();
1154
0
}
1155
0
inline ::google::protobuf::uint64 HistogramSnapshotPB::percentile_99_9() const {
1156
0
  // @@protoc_insertion_point(field_get:yb.HistogramSnapshotPB.percentile_99_9)
1157
0
  return percentile_99_9_;
1158
0
}
1159
5.32M
inline void HistogramSnapshotPB::set_percentile_99_9(::google::protobuf::uint64 value) {
1160
5.32M
  set_has_percentile_99_9();
1161
5.32M
  percentile_99_9_ = value;
1162
  // @@protoc_insertion_point(field_set:yb.HistogramSnapshotPB.percentile_99_9)
1163
5.32M
}
1164
1165
// required uint64 percentile_99_99 = 14;
1166
0
inline bool HistogramSnapshotPB::has_percentile_99_99() const {
1167
0
  return (_has_bits_[0] & 0x00004000u) != 0;
1168
0
}
1169
5.32M
inline void HistogramSnapshotPB::set_has_percentile_99_99() {
1170
5.32M
  _has_bits_[0] |= 0x00004000u;
1171
5.32M
}
1172
0
inline void HistogramSnapshotPB::clear_has_percentile_99_99() {
1173
0
  _has_bits_[0] &= ~0x00004000u;
1174
0
}
1175
0
inline void HistogramSnapshotPB::clear_percentile_99_99() {
1176
0
  percentile_99_99_ = GOOGLE_ULONGLONG(0);
1177
0
  clear_has_percentile_99_99();
1178
0
}
1179
0
inline ::google::protobuf::uint64 HistogramSnapshotPB::percentile_99_99() const {
1180
0
  // @@protoc_insertion_point(field_get:yb.HistogramSnapshotPB.percentile_99_99)
1181
0
  return percentile_99_99_;
1182
0
}
1183
5.32M
inline void HistogramSnapshotPB::set_percentile_99_99(::google::protobuf::uint64 value) {
1184
5.32M
  set_has_percentile_99_99();
1185
5.32M
  percentile_99_99_ = value;
1186
  // @@protoc_insertion_point(field_set:yb.HistogramSnapshotPB.percentile_99_99)
1187
5.32M
}
1188
1189
// required uint64 max = 15;
1190
0
inline bool HistogramSnapshotPB::has_max() const {
1191
0
  return (_has_bits_[0] & 0x00008000u) != 0;
1192
0
}
1193
5.32M
inline void HistogramSnapshotPB::set_has_max() {
1194
5.32M
  _has_bits_[0] |= 0x00008000u;
1195
5.32M
}
1196
0
inline void HistogramSnapshotPB::clear_has_max() {
1197
0
  _has_bits_[0] &= ~0x00008000u;
1198
0
}
1199
0
inline void HistogramSnapshotPB::clear_max() {
1200
0
  max_ = GOOGLE_ULONGLONG(0);
1201
0
  clear_has_max();
1202
0
}
1203
0
inline ::google::protobuf::uint64 HistogramSnapshotPB::max() const {
1204
0
  // @@protoc_insertion_point(field_get:yb.HistogramSnapshotPB.max)
1205
0
  return max_;
1206
0
}
1207
5.32M
inline void HistogramSnapshotPB::set_max(::google::protobuf::uint64 value) {
1208
5.32M
  set_has_max();
1209
5.32M
  max_ = value;
1210
  // @@protoc_insertion_point(field_set:yb.HistogramSnapshotPB.max)
1211
5.32M
}
1212
1213
// repeated uint64 values = 16 [packed = true];
1214
0
inline int HistogramSnapshotPB::values_size() const {
1215
0
  return values_.size();
1216
0
}
1217
0
inline void HistogramSnapshotPB::clear_values() {
1218
0
  values_.Clear();
1219
0
}
1220
0
inline ::google::protobuf::uint64 HistogramSnapshotPB::values(int index) const {
1221
0
  // @@protoc_insertion_point(field_get:yb.HistogramSnapshotPB.values)
1222
0
  return values_.Get(index);
1223
0
}
1224
0
inline void HistogramSnapshotPB::set_values(int index, ::google::protobuf::uint64 value) {
1225
0
  values_.Set(index, value);
1226
0
  // @@protoc_insertion_point(field_set:yb.HistogramSnapshotPB.values)
1227
0
}
1228
100
inline void HistogramSnapshotPB::add_values(::google::protobuf::uint64 value) {
1229
100
  values_.Add(value);
1230
  // @@protoc_insertion_point(field_add:yb.HistogramSnapshotPB.values)
1231
100
}
1232
inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >&
1233
0
HistogramSnapshotPB::values() const {
1234
0
  // @@protoc_insertion_point(field_list:yb.HistogramSnapshotPB.values)
1235
0
  return values_;
1236
0
}
1237
inline ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >*
1238
0
HistogramSnapshotPB::mutable_values() {
1239
0
  // @@protoc_insertion_point(field_mutable_list:yb.HistogramSnapshotPB.values)
1240
0
  return &values_;
1241
0
}
1242
1243
// repeated uint64 counts = 17 [packed = true];
1244
0
inline int HistogramSnapshotPB::counts_size() const {
1245
0
  return counts_.size();
1246
0
}
1247
0
inline void HistogramSnapshotPB::clear_counts() {
1248
0
  counts_.Clear();
1249
0
}
1250
0
inline ::google::protobuf::uint64 HistogramSnapshotPB::counts(int index) const {
1251
0
  // @@protoc_insertion_point(field_get:yb.HistogramSnapshotPB.counts)
1252
0
  return counts_.Get(index);
1253
0
}
1254
0
inline void HistogramSnapshotPB::set_counts(int index, ::google::protobuf::uint64 value) {
1255
0
  counts_.Set(index, value);
1256
0
  // @@protoc_insertion_point(field_set:yb.HistogramSnapshotPB.counts)
1257
0
}
1258
100
inline void HistogramSnapshotPB::add_counts(::google::protobuf::uint64 value) {
1259
100
  counts_.Add(value);
1260
  // @@protoc_insertion_point(field_add:yb.HistogramSnapshotPB.counts)
1261
100
}
1262
inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >&
1263
0
HistogramSnapshotPB::counts() const {
1264
0
  // @@protoc_insertion_point(field_list:yb.HistogramSnapshotPB.counts)
1265
0
  return counts_;
1266
0
}
1267
inline ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >*
1268
0
HistogramSnapshotPB::mutable_counts() {
1269
0
  // @@protoc_insertion_point(field_mutable_list:yb.HistogramSnapshotPB.counts)
1270
0
  return &counts_;
1271
0
}
1272
1273
// -------------------------------------------------------------------
1274
1275
// HistogramSnapshotsListPB
1276
1277
// repeated .yb.HistogramSnapshotPB histograms = 1;
1278
0
inline int HistogramSnapshotsListPB::histograms_size() const {
1279
0
  return histograms_.size();
1280
0
}
1281
0
inline void HistogramSnapshotsListPB::clear_histograms() {
1282
0
  histograms_.Clear();
1283
0
}
1284
0
inline const ::yb::HistogramSnapshotPB& HistogramSnapshotsListPB::histograms(int index) const {
1285
0
  // @@protoc_insertion_point(field_get:yb.HistogramSnapshotsListPB.histograms)
1286
0
  return histograms_.Get(index);
1287
0
}
1288
0
inline ::yb::HistogramSnapshotPB* HistogramSnapshotsListPB::mutable_histograms(int index) {
1289
0
  // @@protoc_insertion_point(field_mutable:yb.HistogramSnapshotsListPB.histograms)
1290
0
  return histograms_.Mutable(index);
1291
0
}
1292
0
inline ::yb::HistogramSnapshotPB* HistogramSnapshotsListPB::add_histograms() {
1293
0
  // @@protoc_insertion_point(field_add:yb.HistogramSnapshotsListPB.histograms)
1294
0
  return histograms_.Add();
1295
0
}
1296
inline ::google::protobuf::RepeatedPtrField< ::yb::HistogramSnapshotPB >*
1297
0
HistogramSnapshotsListPB::mutable_histograms() {
1298
0
  // @@protoc_insertion_point(field_mutable_list:yb.HistogramSnapshotsListPB.histograms)
1299
0
  return &histograms_;
1300
0
}
1301
inline const ::google::protobuf::RepeatedPtrField< ::yb::HistogramSnapshotPB >&
1302
0
HistogramSnapshotsListPB::histograms() const {
1303
0
  // @@protoc_insertion_point(field_list:yb.HistogramSnapshotsListPB.histograms)
1304
0
  return histograms_;
1305
0
}
1306
1307
#ifdef __GNUC__
1308
  #pragma GCC diagnostic pop
1309
#endif  // __GNUC__
1310
// -------------------------------------------------------------------
1311
1312
1313
// @@protoc_insertion_point(namespace_scope)
1314
1315
}  // namespace yb
1316
1317
// @@protoc_insertion_point(global_scope)
1318
1319
#endif  // PROTOBUF_yb_2futil_2fhistogram_2eproto__INCLUDED