1 // Generated by the protocol buffer compiler.  DO NOT EDIT!
2 // source: histogram_event.proto
3 
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_histogram_5fevent_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_histogram_5fevent_2eproto
6 
7 #include <limits>
8 #include <string>
9 
10 #include <google/protobuf/port_def.inc>
11 #if PROTOBUF_VERSION < 3021000
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 3021012 < 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_util.h>
27 #include <google/protobuf/metadata_lite.h>
28 #include <google/protobuf/message_lite.h>
29 #include <google/protobuf/repeated_field.h>  // IWYU pragma: export
30 #include <google/protobuf/extension_set.h>  // IWYU pragma: export
31 // @@protoc_insertion_point(includes)
32 #include <google/protobuf/port_def.inc>
33 #define PROTOBUF_INTERNAL_EXPORT_histogram_5fevent_2eproto
34 PROTOBUF_NAMESPACE_OPEN
35 namespace internal {
36 class AnyMetadata;
37 }  // namespace internal
38 PROTOBUF_NAMESPACE_CLOSE
39 
40 // Internal implementation detail -- do not use these members.
41 struct TableStruct_histogram_5fevent_2eproto {
42   static const uint32_t offsets[];
43 };
44 namespace metrics {
45 class HistogramEventProto;
46 struct HistogramEventProtoDefaultTypeInternal;
47 extern HistogramEventProtoDefaultTypeInternal _HistogramEventProto_default_instance_;
48 class HistogramEventProto_Bucket;
49 struct HistogramEventProto_BucketDefaultTypeInternal;
50 extern HistogramEventProto_BucketDefaultTypeInternal _HistogramEventProto_Bucket_default_instance_;
51 }  // namespace metrics
52 PROTOBUF_NAMESPACE_OPEN
53 template<> ::metrics::HistogramEventProto* Arena::CreateMaybeMessage<::metrics::HistogramEventProto>(Arena*);
54 template<> ::metrics::HistogramEventProto_Bucket* Arena::CreateMaybeMessage<::metrics::HistogramEventProto_Bucket>(Arena*);
55 PROTOBUF_NAMESPACE_CLOSE
56 namespace metrics {
57 
58 // ===================================================================
59 
60 class HistogramEventProto_Bucket final :
61     public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:metrics.HistogramEventProto.Bucket) */ {
62  public:
HistogramEventProto_Bucket()63   inline HistogramEventProto_Bucket() : HistogramEventProto_Bucket(nullptr) {}
64   ~HistogramEventProto_Bucket() override;
65   explicit PROTOBUF_CONSTEXPR HistogramEventProto_Bucket(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
66 
67   HistogramEventProto_Bucket(const HistogramEventProto_Bucket& from);
HistogramEventProto_Bucket(HistogramEventProto_Bucket && from)68   HistogramEventProto_Bucket(HistogramEventProto_Bucket&& from) noexcept
69     : HistogramEventProto_Bucket() {
70     *this = ::std::move(from);
71   }
72 
73   inline HistogramEventProto_Bucket& operator=(const HistogramEventProto_Bucket& from) {
74     CopyFrom(from);
75     return *this;
76   }
77   inline HistogramEventProto_Bucket& operator=(HistogramEventProto_Bucket&& from) noexcept {
78     if (this == &from) return *this;
79     if (GetOwningArena() == from.GetOwningArena()
80   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
81         && GetOwningArena() != nullptr
82   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
83     ) {
84       InternalSwap(&from);
85     } else {
86       CopyFrom(from);
87     }
88     return *this;
89   }
90 
unknown_fields()91   inline const std::string& unknown_fields() const {
92     return _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString);
93   }
mutable_unknown_fields()94   inline std::string* mutable_unknown_fields() {
95     return _internal_metadata_.mutable_unknown_fields<std::string>();
96   }
97 
default_instance()98   static const HistogramEventProto_Bucket& default_instance() {
99     return *internal_default_instance();
100   }
internal_default_instance()101   static inline const HistogramEventProto_Bucket* internal_default_instance() {
102     return reinterpret_cast<const HistogramEventProto_Bucket*>(
103                &_HistogramEventProto_Bucket_default_instance_);
104   }
105   static constexpr int kIndexInFileMessages =
106     0;
107 
swap(HistogramEventProto_Bucket & a,HistogramEventProto_Bucket & b)108   friend void swap(HistogramEventProto_Bucket& a, HistogramEventProto_Bucket& b) {
109     a.Swap(&b);
110   }
Swap(HistogramEventProto_Bucket * other)111   PROTOBUF_NOINLINE void Swap(HistogramEventProto_Bucket* other) {
112     if (other == this) return;
113   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
114     if (GetOwningArena() != nullptr &&
115         GetOwningArena() == other->GetOwningArena()) {
116    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
117     if (GetOwningArena() == other->GetOwningArena()) {
118   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
119       InternalSwap(other);
120     } else {
121       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
122     }
123   }
124   void UnsafeArenaSwap(HistogramEventProto_Bucket* other) {
125     if (other == this) return;
126     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
127     InternalSwap(other);
128   }
129 
130   // implements Message ----------------------------------------------
131 
132   HistogramEventProto_Bucket* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
133     return CreateMaybeMessage<HistogramEventProto_Bucket>(arena);
134   }
135   void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)  final;
136   void CopyFrom(const HistogramEventProto_Bucket& from);
137   void MergeFrom(const HistogramEventProto_Bucket& from);
138   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
139   bool IsInitialized() const final;
140 
141   size_t ByteSizeLong() const final;
142   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
143   uint8_t* _InternalSerialize(
144       uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
145   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
146 
147   private:
148   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
149   void SharedDtor();
150   void SetCachedSize(int size) const;
151   void InternalSwap(HistogramEventProto_Bucket* other);
152 
153   private:
154   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
155   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
156     return "metrics.HistogramEventProto.Bucket";
157   }
158   protected:
159   explicit HistogramEventProto_Bucket(::PROTOBUF_NAMESPACE_ID::Arena* arena,
160                        bool is_message_owned = false);
161   public:
162 
163   std::string GetTypeName() const final;
164 
165   // nested types ----------------------------------------------------
166 
167   // accessors -------------------------------------------------------
168 
169   enum : int {
170     kMinFieldNumber = 1,
171     kMaxFieldNumber = 2,
172     kCountFieldNumber = 4,
173   };
174   // optional int64 min = 1;
175   bool has_min() const;
176   private:
177   bool _internal_has_min() const;
178   public:
179   void clear_min();
180   int64_t min() const;
181   void set_min(int64_t value);
182   private:
183   int64_t _internal_min() const;
184   void _internal_set_min(int64_t value);
185   public:
186 
187   // optional int64 max = 2;
188   bool has_max() const;
189   private:
190   bool _internal_has_max() const;
191   public:
192   void clear_max();
193   int64_t max() const;
194   void set_max(int64_t value);
195   private:
196   int64_t _internal_max() const;
197   void _internal_set_max(int64_t value);
198   public:
199 
200   // optional int64 count = 4 [default = 1];
201   bool has_count() const;
202   private:
203   bool _internal_has_count() const;
204   public:
205   void clear_count();
206   int64_t count() const;
207   void set_count(int64_t value);
208   private:
209   int64_t _internal_count() const;
210   void _internal_set_count(int64_t value);
211   public:
212 
213   // @@protoc_insertion_point(class_scope:metrics.HistogramEventProto.Bucket)
214  private:
215   class _Internal;
216 
217   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
218   typedef void InternalArenaConstructable_;
219   typedef void DestructorSkippable_;
220   struct Impl_ {
221     ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
222     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
223     int64_t min_;
224     int64_t max_;
225     int64_t count_;
226   };
227   union { Impl_ _impl_; };
228   friend struct ::TableStruct_histogram_5fevent_2eproto;
229 };
230 // -------------------------------------------------------------------
231 
232 class HistogramEventProto final :
233     public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:metrics.HistogramEventProto) */ {
234  public:
HistogramEventProto()235   inline HistogramEventProto() : HistogramEventProto(nullptr) {}
236   ~HistogramEventProto() override;
237   explicit PROTOBUF_CONSTEXPR HistogramEventProto(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
238 
239   HistogramEventProto(const HistogramEventProto& from);
HistogramEventProto(HistogramEventProto && from)240   HistogramEventProto(HistogramEventProto&& from) noexcept
241     : HistogramEventProto() {
242     *this = ::std::move(from);
243   }
244 
245   inline HistogramEventProto& operator=(const HistogramEventProto& from) {
246     CopyFrom(from);
247     return *this;
248   }
249   inline HistogramEventProto& operator=(HistogramEventProto&& from) noexcept {
250     if (this == &from) return *this;
251     if (GetOwningArena() == from.GetOwningArena()
252   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
253         && GetOwningArena() != nullptr
254   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
255     ) {
256       InternalSwap(&from);
257     } else {
258       CopyFrom(from);
259     }
260     return *this;
261   }
262 
unknown_fields()263   inline const std::string& unknown_fields() const {
264     return _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString);
265   }
mutable_unknown_fields()266   inline std::string* mutable_unknown_fields() {
267     return _internal_metadata_.mutable_unknown_fields<std::string>();
268   }
269 
default_instance()270   static const HistogramEventProto& default_instance() {
271     return *internal_default_instance();
272   }
internal_default_instance()273   static inline const HistogramEventProto* internal_default_instance() {
274     return reinterpret_cast<const HistogramEventProto*>(
275                &_HistogramEventProto_default_instance_);
276   }
277   static constexpr int kIndexInFileMessages =
278     1;
279 
swap(HistogramEventProto & a,HistogramEventProto & b)280   friend void swap(HistogramEventProto& a, HistogramEventProto& b) {
281     a.Swap(&b);
282   }
Swap(HistogramEventProto * other)283   PROTOBUF_NOINLINE void Swap(HistogramEventProto* other) {
284     if (other == this) return;
285   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
286     if (GetOwningArena() != nullptr &&
287         GetOwningArena() == other->GetOwningArena()) {
288    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
289     if (GetOwningArena() == other->GetOwningArena()) {
290   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
291       InternalSwap(other);
292     } else {
293       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
294     }
295   }
296   void UnsafeArenaSwap(HistogramEventProto* other) {
297     if (other == this) return;
298     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
299     InternalSwap(other);
300   }
301 
302   // implements Message ----------------------------------------------
303 
304   HistogramEventProto* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
305     return CreateMaybeMessage<HistogramEventProto>(arena);
306   }
307   void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)  final;
308   void CopyFrom(const HistogramEventProto& from);
309   void MergeFrom(const HistogramEventProto& from);
310   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
311   bool IsInitialized() const final;
312 
313   size_t ByteSizeLong() const final;
314   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
315   uint8_t* _InternalSerialize(
316       uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
317   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
318 
319   private:
320   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
321   void SharedDtor();
322   void SetCachedSize(int size) const;
323   void InternalSwap(HistogramEventProto* other);
324 
325   private:
326   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
327   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
328     return "metrics.HistogramEventProto";
329   }
330   protected:
331   explicit HistogramEventProto(::PROTOBUF_NAMESPACE_ID::Arena* arena,
332                        bool is_message_owned = false);
333   public:
334 
335   std::string GetTypeName() const final;
336 
337   // nested types ----------------------------------------------------
338 
339   typedef HistogramEventProto_Bucket Bucket;
340 
341   // accessors -------------------------------------------------------
342 
343   enum : int {
344     kBucketFieldNumber = 3,
345     kNameHashFieldNumber = 1,
346     kSumFieldNumber = 2,
347   };
348   // repeated .metrics.HistogramEventProto.Bucket bucket = 3;
349   int bucket_size() const;
350   private:
351   int _internal_bucket_size() const;
352   public:
353   void clear_bucket();
354   ::metrics::HistogramEventProto_Bucket* mutable_bucket(int index);
355   ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::HistogramEventProto_Bucket >*
356       mutable_bucket();
357   private:
358   const ::metrics::HistogramEventProto_Bucket& _internal_bucket(int index) const;
359   ::metrics::HistogramEventProto_Bucket* _internal_add_bucket();
360   public:
361   const ::metrics::HistogramEventProto_Bucket& bucket(int index) const;
362   ::metrics::HistogramEventProto_Bucket* add_bucket();
363   const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::HistogramEventProto_Bucket >&
364       bucket() const;
365 
366   // optional fixed64 name_hash = 1;
367   bool has_name_hash() const;
368   private:
369   bool _internal_has_name_hash() const;
370   public:
371   void clear_name_hash();
372   uint64_t name_hash() const;
373   void set_name_hash(uint64_t value);
374   private:
375   uint64_t _internal_name_hash() const;
376   void _internal_set_name_hash(uint64_t value);
377   public:
378 
379   // optional int64 sum = 2;
380   bool has_sum() const;
381   private:
382   bool _internal_has_sum() const;
383   public:
384   void clear_sum();
385   int64_t sum() const;
386   void set_sum(int64_t value);
387   private:
388   int64_t _internal_sum() const;
389   void _internal_set_sum(int64_t value);
390   public:
391 
392   // @@protoc_insertion_point(class_scope:metrics.HistogramEventProto)
393  private:
394   class _Internal;
395 
396   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
397   typedef void InternalArenaConstructable_;
398   typedef void DestructorSkippable_;
399   struct Impl_ {
400     ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
401     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
402     ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::HistogramEventProto_Bucket > bucket_;
403     uint64_t name_hash_;
404     int64_t sum_;
405   };
406   union { Impl_ _impl_; };
407   friend struct ::TableStruct_histogram_5fevent_2eproto;
408 };
409 // ===================================================================
410 
411 
412 // ===================================================================
413 
414 #ifdef __GNUC__
415   #pragma GCC diagnostic push
416   #pragma GCC diagnostic ignored "-Wstrict-aliasing"
417 #endif  // __GNUC__
418 // HistogramEventProto_Bucket
419 
420 // optional int64 min = 1;
_internal_has_min()421 inline bool HistogramEventProto_Bucket::_internal_has_min() const {
422   bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
423   return value;
424 }
has_min()425 inline bool HistogramEventProto_Bucket::has_min() const {
426   return _internal_has_min();
427 }
clear_min()428 inline void HistogramEventProto_Bucket::clear_min() {
429   _impl_.min_ = int64_t{0};
430   _impl_._has_bits_[0] &= ~0x00000001u;
431 }
_internal_min()432 inline int64_t HistogramEventProto_Bucket::_internal_min() const {
433   return _impl_.min_;
434 }
min()435 inline int64_t HistogramEventProto_Bucket::min() const {
436   // @@protoc_insertion_point(field_get:metrics.HistogramEventProto.Bucket.min)
437   return _internal_min();
438 }
_internal_set_min(int64_t value)439 inline void HistogramEventProto_Bucket::_internal_set_min(int64_t value) {
440   _impl_._has_bits_[0] |= 0x00000001u;
441   _impl_.min_ = value;
442 }
set_min(int64_t value)443 inline void HistogramEventProto_Bucket::set_min(int64_t value) {
444   _internal_set_min(value);
445   // @@protoc_insertion_point(field_set:metrics.HistogramEventProto.Bucket.min)
446 }
447 
448 // optional int64 max = 2;
_internal_has_max()449 inline bool HistogramEventProto_Bucket::_internal_has_max() const {
450   bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
451   return value;
452 }
has_max()453 inline bool HistogramEventProto_Bucket::has_max() const {
454   return _internal_has_max();
455 }
clear_max()456 inline void HistogramEventProto_Bucket::clear_max() {
457   _impl_.max_ = int64_t{0};
458   _impl_._has_bits_[0] &= ~0x00000002u;
459 }
_internal_max()460 inline int64_t HistogramEventProto_Bucket::_internal_max() const {
461   return _impl_.max_;
462 }
max()463 inline int64_t HistogramEventProto_Bucket::max() const {
464   // @@protoc_insertion_point(field_get:metrics.HistogramEventProto.Bucket.max)
465   return _internal_max();
466 }
_internal_set_max(int64_t value)467 inline void HistogramEventProto_Bucket::_internal_set_max(int64_t value) {
468   _impl_._has_bits_[0] |= 0x00000002u;
469   _impl_.max_ = value;
470 }
set_max(int64_t value)471 inline void HistogramEventProto_Bucket::set_max(int64_t value) {
472   _internal_set_max(value);
473   // @@protoc_insertion_point(field_set:metrics.HistogramEventProto.Bucket.max)
474 }
475 
476 // optional int64 count = 4 [default = 1];
_internal_has_count()477 inline bool HistogramEventProto_Bucket::_internal_has_count() const {
478   bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
479   return value;
480 }
has_count()481 inline bool HistogramEventProto_Bucket::has_count() const {
482   return _internal_has_count();
483 }
clear_count()484 inline void HistogramEventProto_Bucket::clear_count() {
485   _impl_.count_ = int64_t{1};
486   _impl_._has_bits_[0] &= ~0x00000004u;
487 }
_internal_count()488 inline int64_t HistogramEventProto_Bucket::_internal_count() const {
489   return _impl_.count_;
490 }
count()491 inline int64_t HistogramEventProto_Bucket::count() const {
492   // @@protoc_insertion_point(field_get:metrics.HistogramEventProto.Bucket.count)
493   return _internal_count();
494 }
_internal_set_count(int64_t value)495 inline void HistogramEventProto_Bucket::_internal_set_count(int64_t value) {
496   _impl_._has_bits_[0] |= 0x00000004u;
497   _impl_.count_ = value;
498 }
set_count(int64_t value)499 inline void HistogramEventProto_Bucket::set_count(int64_t value) {
500   _internal_set_count(value);
501   // @@protoc_insertion_point(field_set:metrics.HistogramEventProto.Bucket.count)
502 }
503 
504 // -------------------------------------------------------------------
505 
506 // HistogramEventProto
507 
508 // optional fixed64 name_hash = 1;
_internal_has_name_hash()509 inline bool HistogramEventProto::_internal_has_name_hash() const {
510   bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
511   return value;
512 }
has_name_hash()513 inline bool HistogramEventProto::has_name_hash() const {
514   return _internal_has_name_hash();
515 }
clear_name_hash()516 inline void HistogramEventProto::clear_name_hash() {
517   _impl_.name_hash_ = uint64_t{0u};
518   _impl_._has_bits_[0] &= ~0x00000001u;
519 }
_internal_name_hash()520 inline uint64_t HistogramEventProto::_internal_name_hash() const {
521   return _impl_.name_hash_;
522 }
name_hash()523 inline uint64_t HistogramEventProto::name_hash() const {
524   // @@protoc_insertion_point(field_get:metrics.HistogramEventProto.name_hash)
525   return _internal_name_hash();
526 }
_internal_set_name_hash(uint64_t value)527 inline void HistogramEventProto::_internal_set_name_hash(uint64_t value) {
528   _impl_._has_bits_[0] |= 0x00000001u;
529   _impl_.name_hash_ = value;
530 }
set_name_hash(uint64_t value)531 inline void HistogramEventProto::set_name_hash(uint64_t value) {
532   _internal_set_name_hash(value);
533   // @@protoc_insertion_point(field_set:metrics.HistogramEventProto.name_hash)
534 }
535 
536 // optional int64 sum = 2;
_internal_has_sum()537 inline bool HistogramEventProto::_internal_has_sum() const {
538   bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
539   return value;
540 }
has_sum()541 inline bool HistogramEventProto::has_sum() const {
542   return _internal_has_sum();
543 }
clear_sum()544 inline void HistogramEventProto::clear_sum() {
545   _impl_.sum_ = int64_t{0};
546   _impl_._has_bits_[0] &= ~0x00000002u;
547 }
_internal_sum()548 inline int64_t HistogramEventProto::_internal_sum() const {
549   return _impl_.sum_;
550 }
sum()551 inline int64_t HistogramEventProto::sum() const {
552   // @@protoc_insertion_point(field_get:metrics.HistogramEventProto.sum)
553   return _internal_sum();
554 }
_internal_set_sum(int64_t value)555 inline void HistogramEventProto::_internal_set_sum(int64_t value) {
556   _impl_._has_bits_[0] |= 0x00000002u;
557   _impl_.sum_ = value;
558 }
set_sum(int64_t value)559 inline void HistogramEventProto::set_sum(int64_t value) {
560   _internal_set_sum(value);
561   // @@protoc_insertion_point(field_set:metrics.HistogramEventProto.sum)
562 }
563 
564 // repeated .metrics.HistogramEventProto.Bucket bucket = 3;
_internal_bucket_size()565 inline int HistogramEventProto::_internal_bucket_size() const {
566   return _impl_.bucket_.size();
567 }
bucket_size()568 inline int HistogramEventProto::bucket_size() const {
569   return _internal_bucket_size();
570 }
clear_bucket()571 inline void HistogramEventProto::clear_bucket() {
572   _impl_.bucket_.Clear();
573 }
mutable_bucket(int index)574 inline ::metrics::HistogramEventProto_Bucket* HistogramEventProto::mutable_bucket(int index) {
575   // @@protoc_insertion_point(field_mutable:metrics.HistogramEventProto.bucket)
576   return _impl_.bucket_.Mutable(index);
577 }
578 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::HistogramEventProto_Bucket >*
mutable_bucket()579 HistogramEventProto::mutable_bucket() {
580   // @@protoc_insertion_point(field_mutable_list:metrics.HistogramEventProto.bucket)
581   return &_impl_.bucket_;
582 }
_internal_bucket(int index)583 inline const ::metrics::HistogramEventProto_Bucket& HistogramEventProto::_internal_bucket(int index) const {
584   return _impl_.bucket_.Get(index);
585 }
bucket(int index)586 inline const ::metrics::HistogramEventProto_Bucket& HistogramEventProto::bucket(int index) const {
587   // @@protoc_insertion_point(field_get:metrics.HistogramEventProto.bucket)
588   return _internal_bucket(index);
589 }
_internal_add_bucket()590 inline ::metrics::HistogramEventProto_Bucket* HistogramEventProto::_internal_add_bucket() {
591   return _impl_.bucket_.Add();
592 }
add_bucket()593 inline ::metrics::HistogramEventProto_Bucket* HistogramEventProto::add_bucket() {
594   ::metrics::HistogramEventProto_Bucket* _add = _internal_add_bucket();
595   // @@protoc_insertion_point(field_add:metrics.HistogramEventProto.bucket)
596   return _add;
597 }
598 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::HistogramEventProto_Bucket >&
bucket()599 HistogramEventProto::bucket() const {
600   // @@protoc_insertion_point(field_list:metrics.HistogramEventProto.bucket)
601   return _impl_.bucket_;
602 }
603 
604 #ifdef __GNUC__
605   #pragma GCC diagnostic pop
606 #endif  // __GNUC__
607 // -------------------------------------------------------------------
608 
609 
610 // @@protoc_insertion_point(namespace_scope)
611 
612 }  // namespace metrics
613 
614 // @@protoc_insertion_point(global_scope)
615 
616 #include <google/protobuf/port_undef.inc>
617 #endif  // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_histogram_5fevent_2eproto
618