Ignition Msgs

API Reference

5.8.1
statistic.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: ignition/msgs/statistic.proto
3 
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fstatistic_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fstatistic_2eproto
6 
7 #include <limits>
8 #include <string>
9 
10 #include <google/protobuf/port_def.inc>
11 #if PROTOBUF_VERSION < 3019000
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 3019000 < 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/metadata_lite.h>
29 #include <google/protobuf/generated_message_reflection.h>
30 #include <google/protobuf/message.h>
31 #include <google/protobuf/repeated_field.h> // IWYU pragma: export
32 #include <google/protobuf/extension_set.h> // IWYU pragma: export
33 #include <google/protobuf/generated_enum_reflection.h>
34 #include <google/protobuf/unknown_field_set.h>
36 #ifndef _MSC_VER
37 #pragma GCC system_header
38 #else
39 #pragma warning(push)
40 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
41 #endif
42 #ifdef __linux__
43 #include <sys/sysmacros.h>
44 #endif
45 #include <memory>
46 #include <ignition/msgs/Export.hh>
47 // @@protoc_insertion_point(includes)
48 #include <google/protobuf/port_def.inc>
49 #define PROTOBUF_INTERNAL_EXPORT_ignition_2fmsgs_2fstatistic_2eproto IGNITION_MSGS_VISIBLE
50 PROTOBUF_NAMESPACE_OPEN
51 namespace internal {
52 class AnyMetadata;
53 } // namespace internal
54 PROTOBUF_NAMESPACE_CLOSE
55 
56 // Internal implementation detail -- do not use these members.
58  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
59  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
60  static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
61  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
62  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[3]
63  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
64  static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
65  static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
66  static const uint32_t offsets[];
67 };
68 IGNITION_MSGS_VISIBLE extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fstatistic_2eproto;
69 namespace ignition {
70 namespace msgs {
71 class Metric;
72 struct MetricDefaultTypeInternal;
73 IGNITION_MSGS_VISIBLE extern MetricDefaultTypeInternal _Metric_default_instance_;
74 class Statistic;
75 struct StatisticDefaultTypeInternal;
76 IGNITION_MSGS_VISIBLE extern StatisticDefaultTypeInternal _Statistic_default_instance_;
77 class StatisticsGroup;
78 struct StatisticsGroupDefaultTypeInternal;
79 IGNITION_MSGS_VISIBLE extern StatisticsGroupDefaultTypeInternal _StatisticsGroup_default_instance_;
80 } // namespace msgs
81 } // namespace ignition
82 PROTOBUF_NAMESPACE_OPEN
83 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::Metric* Arena::CreateMaybeMessage<::ignition::msgs::Metric>(Arena*);
84 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::Statistic* Arena::CreateMaybeMessage<::ignition::msgs::Statistic>(Arena*);
85 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::StatisticsGroup* Arena::CreateMaybeMessage<::ignition::msgs::StatisticsGroup>(Arena*);
86 PROTOBUF_NAMESPACE_CLOSE
87 namespace ignition {
88 namespace msgs {
89 
90 enum Statistic_DataType : int {
102 };
103 IGNITION_MSGS_VISIBLE bool Statistic_DataType_IsValid(int value);
107 
108 IGNITION_MSGS_VISIBLE const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Statistic_DataType_descriptor();
109 template<typename T>
110 inline const std::string& Statistic_DataType_Name(T enum_t_value) {
113  "Incorrect type passed to function Statistic_DataType_Name.");
114  return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
115  Statistic_DataType_descriptor(), enum_t_value);
116 }
118  ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Statistic_DataType* value) {
119  return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<Statistic_DataType>(
120  Statistic_DataType_descriptor(), name, value);
121 }
122 // ===================================================================
123 
124 class IGNITION_MSGS_VISIBLE Statistic final :
125  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.Statistic) */ {
126  public:
127  inline Statistic() : Statistic(nullptr) {}
128  ~Statistic() override;
129  explicit constexpr Statistic(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
130 
131  Statistic(const Statistic& from);
132  Statistic(Statistic&& from) noexcept
133  : Statistic() {
134  *this = ::std::move(from);
135  }
136 
137  inline Statistic& operator=(const Statistic& from) {
138  CopyFrom(from);
139  return *this;
140  }
141  inline Statistic& operator=(Statistic&& from) noexcept {
142  if (this == &from) return *this;
143  if (GetOwningArena() == from.GetOwningArena()
144  #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
145  && GetOwningArena() != nullptr
146  #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
147  ) {
148  InternalSwap(&from);
149  } else {
150  CopyFrom(from);
151  }
152  return *this;
153  }
154 
155  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
156  return GetDescriptor();
157  }
158  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
159  return default_instance().GetMetadata().descriptor;
160  }
161  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
162  return default_instance().GetMetadata().reflection;
163  }
164  static const Statistic& default_instance() {
165  return *internal_default_instance();
166  }
167  static inline const Statistic* internal_default_instance() {
168  return reinterpret_cast<const Statistic*>(
170  }
171  static constexpr int kIndexInFileMessages =
172  0;
173 
174  friend void swap(Statistic& a, Statistic& b) {
175  a.Swap(&b);
176  }
177  inline void Swap(Statistic* other) {
178  if (other == this) return;
179  #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
180  if (GetOwningArena() != nullptr &&
181  GetOwningArena() == other->GetOwningArena()) {
182  #else // PROTOBUF_FORCE_COPY_IN_SWAP
183  if (GetOwningArena() == other->GetOwningArena()) {
184  #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
185  InternalSwap(other);
186  } else {
187  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
188  }
189  }
190  void UnsafeArenaSwap(Statistic* other) {
191  if (other == this) return;
192  GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
193  InternalSwap(other);
194  }
195 
196  // implements Message ----------------------------------------------
197 
198  Statistic* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
199  return CreateMaybeMessage<Statistic>(arena);
200  }
201  using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
202  void CopyFrom(const Statistic& from);
203  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
204  void MergeFrom(const Statistic& from);
205  private:
206  static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
207  public:
208  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
209  bool IsInitialized() const final;
210 
211  size_t ByteSizeLong() const final;
212  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
213  uint8_t* _InternalSerialize(
214  uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
215  int GetCachedSize() const final { return _cached_size_.Get(); }
216 
217  private:
218  void SharedCtor();
219  void SharedDtor();
220  void SetCachedSize(int size) const final;
221  void InternalSwap(Statistic* other);
222 
223  private:
224  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
225  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
226  return "ignition.msgs.Statistic";
227  }
228  protected:
229  explicit Statistic(::PROTOBUF_NAMESPACE_ID::Arena* arena,
230  bool is_message_owned = false);
231  private:
232  static void ArenaDtor(void* object);
233  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
234  public:
235 
236  static const ClassData _class_data_;
237  const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
238 
239  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
240 
241  // nested types ----------------------------------------------------
242 
244  static constexpr DataType UNINITIALIZED =
246  static constexpr DataType AVERAGE =
248  static constexpr DataType MINIMUM =
250  static constexpr DataType MAXIMUM =
252  static constexpr DataType VARIANCE =
254  static constexpr DataType STDDEV =
256  static constexpr DataType SAMPLE_COUNT =
258  static constexpr DataType ROOT_MEAN_SQUARE =
260  static constexpr DataType MAX_ABS_VALUE =
262  static inline bool DataType_IsValid(int value) {
263  return Statistic_DataType_IsValid(value);
264  }
265  static constexpr DataType DataType_MIN =
267  static constexpr DataType DataType_MAX =
269  static constexpr int DataType_ARRAYSIZE =
271  static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
274  }
275  template<typename T>
276  static inline const std::string& DataType_Name(T enum_t_value) {
277  static_assert(::std::is_same<T, DataType>::value ||
279  "Incorrect type passed to function DataType_Name.");
280  return Statistic_DataType_Name(enum_t_value);
281  }
282  static inline bool DataType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
283  DataType* value) {
284  return Statistic_DataType_Parse(name, value);
285  }
286 
287  // accessors -------------------------------------------------------
288 
289  enum : int {
290  kNameFieldNumber = 3,
291  kHeaderFieldNumber = 1,
292  kValueFieldNumber = 4,
293  kTypeFieldNumber = 2,
294  };
295  // string name = 3;
296  void clear_name();
297  const std::string& name() const;
298  template <typename ArgT0 = const std::string&, typename... ArgT>
299  void set_name(ArgT0&& arg0, ArgT... args);
300  std::string* mutable_name();
301  PROTOBUF_NODISCARD std::string* release_name();
302  void set_allocated_name(std::string* name);
303  private:
304  const std::string& _internal_name() const;
305  inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
306  std::string* _internal_mutable_name();
307  public:
308 
309  // .ignition.msgs.Header header = 1;
310  bool has_header() const;
311  private:
312  bool _internal_has_header() const;
313  public:
314  void clear_header();
315  const ::ignition::msgs::Header& header() const;
316  PROTOBUF_NODISCARD ::ignition::msgs::Header* release_header();
317  ::ignition::msgs::Header* mutable_header();
318  void set_allocated_header(::ignition::msgs::Header* header);
319  private:
320  const ::ignition::msgs::Header& _internal_header() const;
321  ::ignition::msgs::Header* _internal_mutable_header();
322  public:
323  void unsafe_arena_set_allocated_header(
324  ::ignition::msgs::Header* header);
325  ::ignition::msgs::Header* unsafe_arena_release_header();
326 
327  // double value = 4;
328  void clear_value();
329  double value() const;
330  void set_value(double value);
331  private:
332  double _internal_value() const;
333  void _internal_set_value(double value);
334  public:
335 
336  // .ignition.msgs.Statistic.DataType type = 2;
337  void clear_type();
339  void set_type(::ignition::msgs::Statistic_DataType value);
340  private:
341  ::ignition::msgs::Statistic_DataType _internal_type() const;
342  void _internal_set_type(::ignition::msgs::Statistic_DataType value);
343  public:
344 
345  // @@protoc_insertion_point(class_scope:ignition.msgs.Statistic)
346  private:
347  class _Internal;
348 
349  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
350  typedef void InternalArenaConstructable_;
351  typedef void DestructorSkippable_;
352  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
353  ::ignition::msgs::Header* header_;
354  double value_;
355  int type_;
356  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
357  friend struct ::TableStruct_ignition_2fmsgs_2fstatistic_2eproto;
358 };
359 // -------------------------------------------------------------------
360 
361 class IGNITION_MSGS_VISIBLE StatisticsGroup final :
362  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.StatisticsGroup) */ {
363  public:
364  inline StatisticsGroup() : StatisticsGroup(nullptr) {}
365  ~StatisticsGroup() override;
366  explicit constexpr StatisticsGroup(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
367 
370  : StatisticsGroup() {
371  *this = ::std::move(from);
372  }
373 
375  CopyFrom(from);
376  return *this;
377  }
378  inline StatisticsGroup& operator=(StatisticsGroup&& from) noexcept {
379  if (this == &from) return *this;
380  if (GetOwningArena() == from.GetOwningArena()
381  #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
382  && GetOwningArena() != nullptr
383  #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
384  ) {
385  InternalSwap(&from);
386  } else {
387  CopyFrom(from);
388  }
389  return *this;
390  }
391 
392  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
393  return GetDescriptor();
394  }
395  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
396  return default_instance().GetMetadata().descriptor;
397  }
398  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
399  return default_instance().GetMetadata().reflection;
400  }
402  return *internal_default_instance();
403  }
405  return reinterpret_cast<const StatisticsGroup*>(
407  }
408  static constexpr int kIndexInFileMessages =
409  1;
410 
411  friend void swap(StatisticsGroup& a, StatisticsGroup& b) {
412  a.Swap(&b);
413  }
414  inline void Swap(StatisticsGroup* other) {
415  if (other == this) return;
416  #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
417  if (GetOwningArena() != nullptr &&
418  GetOwningArena() == other->GetOwningArena()) {
419  #else // PROTOBUF_FORCE_COPY_IN_SWAP
420  if (GetOwningArena() == other->GetOwningArena()) {
421  #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
422  InternalSwap(other);
423  } else {
424  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
425  }
426  }
428  if (other == this) return;
429  GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
430  InternalSwap(other);
431  }
432 
433  // implements Message ----------------------------------------------
434 
435  StatisticsGroup* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
436  return CreateMaybeMessage<StatisticsGroup>(arena);
437  }
438  using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
439  void CopyFrom(const StatisticsGroup& from);
440  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
441  void MergeFrom(const StatisticsGroup& from);
442  private:
443  static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
444  public:
445  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
446  bool IsInitialized() const final;
447 
448  size_t ByteSizeLong() const final;
449  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
450  uint8_t* _InternalSerialize(
451  uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
452  int GetCachedSize() const final { return _cached_size_.Get(); }
453 
454  private:
455  void SharedCtor();
456  void SharedDtor();
457  void SetCachedSize(int size) const final;
458  void InternalSwap(StatisticsGroup* other);
459 
460  private:
461  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
462  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
463  return "ignition.msgs.StatisticsGroup";
464  }
465  protected:
466  explicit StatisticsGroup(::PROTOBUF_NAMESPACE_ID::Arena* arena,
467  bool is_message_owned = false);
468  private:
469  static void ArenaDtor(void* object);
470  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
471  public:
472 
473  static const ClassData _class_data_;
474  const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
475 
476  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
477 
478  // nested types ----------------------------------------------------
479 
480  // accessors -------------------------------------------------------
481 
482  enum : int {
483  kStatisticsFieldNumber = 3,
484  kNameFieldNumber = 2,
485  kHeaderFieldNumber = 1,
486  };
487  // repeated .ignition.msgs.Statistic statistics = 3;
488  int statistics_size() const;
489  private:
490  int _internal_statistics_size() const;
491  public:
492  void clear_statistics();
493  ::ignition::msgs::Statistic* mutable_statistics(int index);
494  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Statistic >*
495  mutable_statistics();
496  private:
497  const ::ignition::msgs::Statistic& _internal_statistics(int index) const;
498  ::ignition::msgs::Statistic* _internal_add_statistics();
499  public:
500  const ::ignition::msgs::Statistic& statistics(int index) const;
501  ::ignition::msgs::Statistic* add_statistics();
502  const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Statistic >&
503  statistics() const;
504 
505  // string name = 2;
506  void clear_name();
507  const std::string& name() const;
508  template <typename ArgT0 = const std::string&, typename... ArgT>
509  void set_name(ArgT0&& arg0, ArgT... args);
510  std::string* mutable_name();
511  PROTOBUF_NODISCARD std::string* release_name();
512  void set_allocated_name(std::string* name);
513  private:
514  const std::string& _internal_name() const;
515  inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
516  std::string* _internal_mutable_name();
517  public:
518 
519  // .ignition.msgs.Header header = 1;
520  bool has_header() const;
521  private:
522  bool _internal_has_header() const;
523  public:
524  void clear_header();
525  const ::ignition::msgs::Header& header() const;
526  PROTOBUF_NODISCARD ::ignition::msgs::Header* release_header();
527  ::ignition::msgs::Header* mutable_header();
528  void set_allocated_header(::ignition::msgs::Header* header);
529  private:
530  const ::ignition::msgs::Header& _internal_header() const;
531  ::ignition::msgs::Header* _internal_mutable_header();
532  public:
533  void unsafe_arena_set_allocated_header(
534  ::ignition::msgs::Header* header);
535  ::ignition::msgs::Header* unsafe_arena_release_header();
536 
537  // @@protoc_insertion_point(class_scope:ignition.msgs.StatisticsGroup)
538  private:
539  class _Internal;
540 
541  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
542  typedef void InternalArenaConstructable_;
543  typedef void DestructorSkippable_;
544  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Statistic > statistics_;
545  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
546  ::ignition::msgs::Header* header_;
547  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
548  friend struct ::TableStruct_ignition_2fmsgs_2fstatistic_2eproto;
549 };
550 // -------------------------------------------------------------------
551 
552 class IGNITION_MSGS_VISIBLE Metric final :
553  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.Metric) */ {
554  public:
555  inline Metric() : Metric(nullptr) {}
556  ~Metric() override;
557  explicit constexpr Metric(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
558 
559  Metric(const Metric& from);
560  Metric(Metric&& from) noexcept
561  : Metric() {
562  *this = ::std::move(from);
563  }
564 
565  inline Metric& operator=(const Metric& from) {
566  CopyFrom(from);
567  return *this;
568  }
569  inline Metric& operator=(Metric&& from) noexcept {
570  if (this == &from) return *this;
571  if (GetOwningArena() == from.GetOwningArena()
572  #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
573  && GetOwningArena() != nullptr
574  #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
575  ) {
576  InternalSwap(&from);
577  } else {
578  CopyFrom(from);
579  }
580  return *this;
581  }
582 
583  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
584  return GetDescriptor();
585  }
586  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
587  return default_instance().GetMetadata().descriptor;
588  }
589  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
590  return default_instance().GetMetadata().reflection;
591  }
592  static const Metric& default_instance() {
593  return *internal_default_instance();
594  }
595  static inline const Metric* internal_default_instance() {
596  return reinterpret_cast<const Metric*>(
598  }
599  static constexpr int kIndexInFileMessages =
600  2;
601 
602  friend void swap(Metric& a, Metric& b) {
603  a.Swap(&b);
604  }
605  inline void Swap(Metric* other) {
606  if (other == this) return;
607  #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
608  if (GetOwningArena() != nullptr &&
609  GetOwningArena() == other->GetOwningArena()) {
610  #else // PROTOBUF_FORCE_COPY_IN_SWAP
611  if (GetOwningArena() == other->GetOwningArena()) {
612  #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
613  InternalSwap(other);
614  } else {
615  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
616  }
617  }
618  void UnsafeArenaSwap(Metric* other) {
619  if (other == this) return;
620  GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
621  InternalSwap(other);
622  }
623 
624  // implements Message ----------------------------------------------
625 
626  Metric* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
627  return CreateMaybeMessage<Metric>(arena);
628  }
629  using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
630  void CopyFrom(const Metric& from);
631  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
632  void MergeFrom(const Metric& from);
633  private:
634  static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
635  public:
636  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
637  bool IsInitialized() const final;
638 
639  size_t ByteSizeLong() const final;
640  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
641  uint8_t* _InternalSerialize(
642  uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
643  int GetCachedSize() const final { return _cached_size_.Get(); }
644 
645  private:
646  void SharedCtor();
647  void SharedDtor();
648  void SetCachedSize(int size) const final;
649  void InternalSwap(Metric* other);
650 
651  private:
652  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
653  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
654  return "ignition.msgs.Metric";
655  }
656  protected:
657  explicit Metric(::PROTOBUF_NAMESPACE_ID::Arena* arena,
658  bool is_message_owned = false);
659  private:
660  static void ArenaDtor(void* object);
661  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
662  public:
663 
664  static const ClassData _class_data_;
665  const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
666 
667  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
668 
669  // nested types ----------------------------------------------------
670 
671  // accessors -------------------------------------------------------
672 
673  enum : int {
674  kStatisticsGroupsFieldNumber = 3,
675  kStatisticsFieldNumber = 4,
676  kUnitFieldNumber = 2,
677  kHeaderFieldNumber = 1,
678  };
679  // repeated .ignition.msgs.StatisticsGroup statistics_groups = 3;
680  int statistics_groups_size() const;
681  private:
682  int _internal_statistics_groups_size() const;
683  public:
684  void clear_statistics_groups();
685  ::ignition::msgs::StatisticsGroup* mutable_statistics_groups(int index);
686  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::StatisticsGroup >*
687  mutable_statistics_groups();
688  private:
689  const ::ignition::msgs::StatisticsGroup& _internal_statistics_groups(int index) const;
690  ::ignition::msgs::StatisticsGroup* _internal_add_statistics_groups();
691  public:
692  const ::ignition::msgs::StatisticsGroup& statistics_groups(int index) const;
693  ::ignition::msgs::StatisticsGroup* add_statistics_groups();
694  const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::StatisticsGroup >&
695  statistics_groups() const;
696 
697  // repeated .ignition.msgs.Statistic statistics = 4;
698  int statistics_size() const;
699  private:
700  int _internal_statistics_size() const;
701  public:
702  void clear_statistics();
703  ::ignition::msgs::Statistic* mutable_statistics(int index);
704  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Statistic >*
705  mutable_statistics();
706  private:
707  const ::ignition::msgs::Statistic& _internal_statistics(int index) const;
708  ::ignition::msgs::Statistic* _internal_add_statistics();
709  public:
710  const ::ignition::msgs::Statistic& statistics(int index) const;
711  ::ignition::msgs::Statistic* add_statistics();
712  const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Statistic >&
713  statistics() const;
714 
715  // string unit = 2;
716  void clear_unit();
717  const std::string& unit() const;
718  template <typename ArgT0 = const std::string&, typename... ArgT>
719  void set_unit(ArgT0&& arg0, ArgT... args);
720  std::string* mutable_unit();
721  PROTOBUF_NODISCARD std::string* release_unit();
722  void set_allocated_unit(std::string* unit);
723  private:
724  const std::string& _internal_unit() const;
725  inline PROTOBUF_ALWAYS_INLINE void _internal_set_unit(const std::string& value);
726  std::string* _internal_mutable_unit();
727  public:
728 
729  // .ignition.msgs.Header header = 1;
730  bool has_header() const;
731  private:
732  bool _internal_has_header() const;
733  public:
734  void clear_header();
735  const ::ignition::msgs::Header& header() const;
736  PROTOBUF_NODISCARD ::ignition::msgs::Header* release_header();
737  ::ignition::msgs::Header* mutable_header();
738  void set_allocated_header(::ignition::msgs::Header* header);
739  private:
740  const ::ignition::msgs::Header& _internal_header() const;
741  ::ignition::msgs::Header* _internal_mutable_header();
742  public:
743  void unsafe_arena_set_allocated_header(
744  ::ignition::msgs::Header* header);
745  ::ignition::msgs::Header* unsafe_arena_release_header();
746 
747  // @@protoc_insertion_point(class_scope:ignition.msgs.Metric)
748  private:
749  class _Internal;
750 
751  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
752  typedef void InternalArenaConstructable_;
753  typedef void DestructorSkippable_;
754  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::StatisticsGroup > statistics_groups_;
755  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Statistic > statistics_;
756  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr unit_;
757  ::ignition::msgs::Header* header_;
758  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
759  friend struct ::TableStruct_ignition_2fmsgs_2fstatistic_2eproto;
760 };
761 // ===================================================================
762 
763 
764 // ===================================================================
765 
766 #ifdef __GNUC__
767  #pragma GCC diagnostic push
768  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
769 #endif // __GNUC__
770 // Statistic
771 
772 // .ignition.msgs.Header header = 1;
773 inline bool Statistic::_internal_has_header() const {
774  return this != internal_default_instance() && header_ != nullptr;
775 }
776 inline bool Statistic::has_header() const {
777  return _internal_has_header();
778 }
779 inline const ::ignition::msgs::Header& Statistic::_internal_header() const {
780  const ::ignition::msgs::Header* p = header_;
781  return p != nullptr ? *p : reinterpret_cast<const ::ignition::msgs::Header&>(
783 }
784 inline const ::ignition::msgs::Header& Statistic::header() const {
785  // @@protoc_insertion_point(field_get:ignition.msgs.Statistic.header)
786  return _internal_header();
787 }
789  ::ignition::msgs::Header* header) {
790  if (GetArenaForAllocation() == nullptr) {
791  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(header_);
792  }
793  header_ = header;
794  if (header) {
795 
796  } else {
797 
798  }
799  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.Statistic.header)
800 }
801 inline ::ignition::msgs::Header* Statistic::release_header() {
802 
803  ::ignition::msgs::Header* temp = header_;
804  header_ = nullptr;
805 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
806  auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
807  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
808  if (GetArenaForAllocation() == nullptr) { delete old; }
809 #else // PROTOBUF_FORCE_COPY_IN_RELEASE
810  if (GetArenaForAllocation() != nullptr) {
811  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
812  }
813 #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
814  return temp;
815 }
816 inline ::ignition::msgs::Header* Statistic::unsafe_arena_release_header() {
817  // @@protoc_insertion_point(field_release:ignition.msgs.Statistic.header)
818 
819  ::ignition::msgs::Header* temp = header_;
820  header_ = nullptr;
821  return temp;
822 }
823 inline ::ignition::msgs::Header* Statistic::_internal_mutable_header() {
824 
825  if (header_ == nullptr) {
826  auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArenaForAllocation());
827  header_ = p;
828  }
829  return header_;
830 }
831 inline ::ignition::msgs::Header* Statistic::mutable_header() {
832  ::ignition::msgs::Header* _msg = _internal_mutable_header();
833  // @@protoc_insertion_point(field_mutable:ignition.msgs.Statistic.header)
834  return _msg;
835 }
837  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
838  if (message_arena == nullptr) {
839  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(header_);
840  }
841  if (header) {
842  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
843  ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<
844  ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena(
845  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(header));
846  if (message_arena != submessage_arena) {
847  header = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
848  message_arena, header, submessage_arena);
849  }
850 
851  } else {
852 
853  }
854  header_ = header;
855  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Statistic.header)
856 }
857 
858 // .ignition.msgs.Statistic.DataType type = 2;
859 inline void Statistic::clear_type() {
860  type_ = 0;
861 }
862 inline ::ignition::msgs::Statistic_DataType Statistic::_internal_type() const {
863  return static_cast< ::ignition::msgs::Statistic_DataType >(type_);
864 }
866  // @@protoc_insertion_point(field_get:ignition.msgs.Statistic.type)
867  return _internal_type();
868 }
869 inline void Statistic::_internal_set_type(::ignition::msgs::Statistic_DataType value) {
870 
871  type_ = value;
872 }
874  _internal_set_type(value);
875  // @@protoc_insertion_point(field_set:ignition.msgs.Statistic.type)
876 }
877 
878 // string name = 3;
879 inline void Statistic::clear_name() {
880  name_.ClearToEmpty();
881 }
882 inline const std::string& Statistic::name() const {
883  // @@protoc_insertion_point(field_get:ignition.msgs.Statistic.name)
884  return _internal_name();
885 }
886 template <typename ArgT0, typename... ArgT>
887 inline PROTOBUF_ALWAYS_INLINE
888 void Statistic::set_name(ArgT0&& arg0, ArgT... args) {
889 
890  name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
891  // @@protoc_insertion_point(field_set:ignition.msgs.Statistic.name)
892 }
894  std::string* _s = _internal_mutable_name();
895  // @@protoc_insertion_point(field_mutable:ignition.msgs.Statistic.name)
896  return _s;
897 }
898 inline const std::string& Statistic::_internal_name() const {
899  return name_.Get();
900 }
901 inline void Statistic::_internal_set_name(const std::string& value) {
902 
903  name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
904 }
905 inline std::string* Statistic::_internal_mutable_name() {
906 
907  return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
908 }
910  // @@protoc_insertion_point(field_release:ignition.msgs.Statistic.name)
911  return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
912 }
914  if (name != nullptr) {
915 
916  } else {
917 
918  }
919  name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name,
920  GetArenaForAllocation());
921 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
922  if (name_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
923  name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
924  }
925 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
926  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Statistic.name)
927 }
928 
929 // double value = 4;
930 inline void Statistic::clear_value() {
931  value_ = 0;
932 }
933 inline double Statistic::_internal_value() const {
934  return value_;
935 }
936 inline double Statistic::value() const {
937  // @@protoc_insertion_point(field_get:ignition.msgs.Statistic.value)
938  return _internal_value();
939 }
940 inline void Statistic::_internal_set_value(double value) {
941 
942  value_ = value;
943 }
944 inline void Statistic::set_value(double value) {
945  _internal_set_value(value);
946  // @@protoc_insertion_point(field_set:ignition.msgs.Statistic.value)
947 }
948 
949 // -------------------------------------------------------------------
950 
951 // StatisticsGroup
952 
953 // .ignition.msgs.Header header = 1;
954 inline bool StatisticsGroup::_internal_has_header() const {
955  return this != internal_default_instance() && header_ != nullptr;
956 }
957 inline bool StatisticsGroup::has_header() const {
958  return _internal_has_header();
959 }
960 inline const ::ignition::msgs::Header& StatisticsGroup::_internal_header() const {
961  const ::ignition::msgs::Header* p = header_;
962  return p != nullptr ? *p : reinterpret_cast<const ::ignition::msgs::Header&>(
964 }
965 inline const ::ignition::msgs::Header& StatisticsGroup::header() const {
966  // @@protoc_insertion_point(field_get:ignition.msgs.StatisticsGroup.header)
967  return _internal_header();
968 }
970  ::ignition::msgs::Header* header) {
971  if (GetArenaForAllocation() == nullptr) {
972  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(header_);
973  }
974  header_ = header;
975  if (header) {
976 
977  } else {
978 
979  }
980  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.StatisticsGroup.header)
981 }
982 inline ::ignition::msgs::Header* StatisticsGroup::release_header() {
983 
984  ::ignition::msgs::Header* temp = header_;
985  header_ = nullptr;
986 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
987  auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
988  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
989  if (GetArenaForAllocation() == nullptr) { delete old; }
990 #else // PROTOBUF_FORCE_COPY_IN_RELEASE
991  if (GetArenaForAllocation() != nullptr) {
992  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
993  }
994 #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
995  return temp;
996 }
997 inline ::ignition::msgs::Header* StatisticsGroup::unsafe_arena_release_header() {
998  // @@protoc_insertion_point(field_release:ignition.msgs.StatisticsGroup.header)
999 
1000  ::ignition::msgs::Header* temp = header_;
1001  header_ = nullptr;
1002  return temp;
1003 }
1004 inline ::ignition::msgs::Header* StatisticsGroup::_internal_mutable_header() {
1005 
1006  if (header_ == nullptr) {
1007  auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArenaForAllocation());
1008  header_ = p;
1009  }
1010  return header_;
1011 }
1012 inline ::ignition::msgs::Header* StatisticsGroup::mutable_header() {
1013  ::ignition::msgs::Header* _msg = _internal_mutable_header();
1014  // @@protoc_insertion_point(field_mutable:ignition.msgs.StatisticsGroup.header)
1015  return _msg;
1016 }
1018  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1019  if (message_arena == nullptr) {
1020  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(header_);
1021  }
1022  if (header) {
1023  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1024  ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<
1025  ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena(
1026  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(header));
1027  if (message_arena != submessage_arena) {
1028  header = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1029  message_arena, header, submessage_arena);
1030  }
1031 
1032  } else {
1033 
1034  }
1035  header_ = header;
1036  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.StatisticsGroup.header)
1037 }
1038 
1039 // string name = 2;
1041  name_.ClearToEmpty();
1042 }
1043 inline const std::string& StatisticsGroup::name() const {
1044  // @@protoc_insertion_point(field_get:ignition.msgs.StatisticsGroup.name)
1045  return _internal_name();
1046 }
1047 template <typename ArgT0, typename... ArgT>
1048 inline PROTOBUF_ALWAYS_INLINE
1049 void StatisticsGroup::set_name(ArgT0&& arg0, ArgT... args) {
1050 
1051  name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
1052  // @@protoc_insertion_point(field_set:ignition.msgs.StatisticsGroup.name)
1053 }
1055  std::string* _s = _internal_mutable_name();
1056  // @@protoc_insertion_point(field_mutable:ignition.msgs.StatisticsGroup.name)
1057  return _s;
1058 }
1059 inline const std::string& StatisticsGroup::_internal_name() const {
1060  return name_.Get();
1061 }
1062 inline void StatisticsGroup::_internal_set_name(const std::string& value) {
1063 
1064  name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
1065 }
1066 inline std::string* StatisticsGroup::_internal_mutable_name() {
1067 
1068  return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
1069 }
1071  // @@protoc_insertion_point(field_release:ignition.msgs.StatisticsGroup.name)
1072  return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
1073 }
1075  if (name != nullptr) {
1076 
1077  } else {
1078 
1079  }
1080  name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name,
1081  GetArenaForAllocation());
1082 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1083  if (name_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
1084  name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
1085  }
1086 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1087  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.StatisticsGroup.name)
1088 }
1089 
1090 // repeated .ignition.msgs.Statistic statistics = 3;
1091 inline int StatisticsGroup::_internal_statistics_size() const {
1092  return statistics_.size();
1093 }
1095  return _internal_statistics_size();
1096 }
1098  statistics_.Clear();
1099 }
1100 inline ::ignition::msgs::Statistic* StatisticsGroup::mutable_statistics(int index) {
1101  // @@protoc_insertion_point(field_mutable:ignition.msgs.StatisticsGroup.statistics)
1102  return statistics_.Mutable(index);
1103 }
1104 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Statistic >*
1106  // @@protoc_insertion_point(field_mutable_list:ignition.msgs.StatisticsGroup.statistics)
1107  return &statistics_;
1108 }
1109 inline const ::ignition::msgs::Statistic& StatisticsGroup::_internal_statistics(int index) const {
1110  return statistics_.Get(index);
1111 }
1112 inline const ::ignition::msgs::Statistic& StatisticsGroup::statistics(int index) const {
1113  // @@protoc_insertion_point(field_get:ignition.msgs.StatisticsGroup.statistics)
1114  return _internal_statistics(index);
1115 }
1116 inline ::ignition::msgs::Statistic* StatisticsGroup::_internal_add_statistics() {
1117  return statistics_.Add();
1118 }
1119 inline ::ignition::msgs::Statistic* StatisticsGroup::add_statistics() {
1120  ::ignition::msgs::Statistic* _add = _internal_add_statistics();
1121  // @@protoc_insertion_point(field_add:ignition.msgs.StatisticsGroup.statistics)
1122  return _add;
1123 }
1124 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Statistic >&
1126  // @@protoc_insertion_point(field_list:ignition.msgs.StatisticsGroup.statistics)
1127  return statistics_;
1128 }
1129 
1130 // -------------------------------------------------------------------
1131 
1132 // Metric
1133 
1134 // .ignition.msgs.Header header = 1;
1135 inline bool Metric::_internal_has_header() const {
1136  return this != internal_default_instance() && header_ != nullptr;
1137 }
1138 inline bool Metric::has_header() const {
1139  return _internal_has_header();
1140 }
1141 inline const ::ignition::msgs::Header& Metric::_internal_header() const {
1142  const ::ignition::msgs::Header* p = header_;
1143  return p != nullptr ? *p : reinterpret_cast<const ::ignition::msgs::Header&>(
1145 }
1146 inline const ::ignition::msgs::Header& Metric::header() const {
1147  // @@protoc_insertion_point(field_get:ignition.msgs.Metric.header)
1148  return _internal_header();
1149 }
1151  ::ignition::msgs::Header* header) {
1152  if (GetArenaForAllocation() == nullptr) {
1153  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(header_);
1154  }
1155  header_ = header;
1156  if (header) {
1157 
1158  } else {
1159 
1160  }
1161  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.Metric.header)
1162 }
1163 inline ::ignition::msgs::Header* Metric::release_header() {
1164 
1165  ::ignition::msgs::Header* temp = header_;
1166  header_ = nullptr;
1167 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1168  auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
1169  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1170  if (GetArenaForAllocation() == nullptr) { delete old; }
1171 #else // PROTOBUF_FORCE_COPY_IN_RELEASE
1172  if (GetArenaForAllocation() != nullptr) {
1173  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1174  }
1175 #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
1176  return temp;
1177 }
1178 inline ::ignition::msgs::Header* Metric::unsafe_arena_release_header() {
1179  // @@protoc_insertion_point(field_release:ignition.msgs.Metric.header)
1180 
1181  ::ignition::msgs::Header* temp = header_;
1182  header_ = nullptr;
1183  return temp;
1184 }
1185 inline ::ignition::msgs::Header* Metric::_internal_mutable_header() {
1186 
1187  if (header_ == nullptr) {
1188  auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArenaForAllocation());
1189  header_ = p;
1190  }
1191  return header_;
1192 }
1193 inline ::ignition::msgs::Header* Metric::mutable_header() {
1194  ::ignition::msgs::Header* _msg = _internal_mutable_header();
1195  // @@protoc_insertion_point(field_mutable:ignition.msgs.Metric.header)
1196  return _msg;
1197 }
1199  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1200  if (message_arena == nullptr) {
1201  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(header_);
1202  }
1203  if (header) {
1204  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1205  ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<
1206  ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena(
1207  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(header));
1208  if (message_arena != submessage_arena) {
1209  header = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1210  message_arena, header, submessage_arena);
1211  }
1212 
1213  } else {
1214 
1215  }
1216  header_ = header;
1217  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Metric.header)
1218 }
1219 
1220 // string unit = 2;
1221 inline void Metric::clear_unit() {
1222  unit_.ClearToEmpty();
1223 }
1224 inline const std::string& Metric::unit() const {
1225  // @@protoc_insertion_point(field_get:ignition.msgs.Metric.unit)
1226  return _internal_unit();
1227 }
1228 template <typename ArgT0, typename... ArgT>
1229 inline PROTOBUF_ALWAYS_INLINE
1230 void Metric::set_unit(ArgT0&& arg0, ArgT... args) {
1231 
1232  unit_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
1233  // @@protoc_insertion_point(field_set:ignition.msgs.Metric.unit)
1234 }
1236  std::string* _s = _internal_mutable_unit();
1237  // @@protoc_insertion_point(field_mutable:ignition.msgs.Metric.unit)
1238  return _s;
1239 }
1240 inline const std::string& Metric::_internal_unit() const {
1241  return unit_.Get();
1242 }
1243 inline void Metric::_internal_set_unit(const std::string& value) {
1244 
1245  unit_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
1246 }
1247 inline std::string* Metric::_internal_mutable_unit() {
1248 
1249  return unit_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
1250 }
1252  // @@protoc_insertion_point(field_release:ignition.msgs.Metric.unit)
1253  return unit_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
1254 }
1256  if (unit != nullptr) {
1257 
1258  } else {
1259 
1260  }
1261  unit_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), unit,
1262  GetArenaForAllocation());
1263 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1264  if (unit_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
1265  unit_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
1266  }
1267 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1268  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Metric.unit)
1269 }
1270 
1271 // repeated .ignition.msgs.StatisticsGroup statistics_groups = 3;
1272 inline int Metric::_internal_statistics_groups_size() const {
1273  return statistics_groups_.size();
1274 }
1276  return _internal_statistics_groups_size();
1277 }
1279  statistics_groups_.Clear();
1280 }
1281 inline ::ignition::msgs::StatisticsGroup* Metric::mutable_statistics_groups(int index) {
1282  // @@protoc_insertion_point(field_mutable:ignition.msgs.Metric.statistics_groups)
1283  return statistics_groups_.Mutable(index);
1284 }
1285 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::StatisticsGroup >*
1287  // @@protoc_insertion_point(field_mutable_list:ignition.msgs.Metric.statistics_groups)
1288  return &statistics_groups_;
1289 }
1290 inline const ::ignition::msgs::StatisticsGroup& Metric::_internal_statistics_groups(int index) const {
1291  return statistics_groups_.Get(index);
1292 }
1293 inline const ::ignition::msgs::StatisticsGroup& Metric::statistics_groups(int index) const {
1294  // @@protoc_insertion_point(field_get:ignition.msgs.Metric.statistics_groups)
1295  return _internal_statistics_groups(index);
1296 }
1297 inline ::ignition::msgs::StatisticsGroup* Metric::_internal_add_statistics_groups() {
1298  return statistics_groups_.Add();
1299 }
1300 inline ::ignition::msgs::StatisticsGroup* Metric::add_statistics_groups() {
1301  ::ignition::msgs::StatisticsGroup* _add = _internal_add_statistics_groups();
1302  // @@protoc_insertion_point(field_add:ignition.msgs.Metric.statistics_groups)
1303  return _add;
1304 }
1305 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::StatisticsGroup >&
1307  // @@protoc_insertion_point(field_list:ignition.msgs.Metric.statistics_groups)
1308  return statistics_groups_;
1309 }
1310 
1311 // repeated .ignition.msgs.Statistic statistics = 4;
1312 inline int Metric::_internal_statistics_size() const {
1313  return statistics_.size();
1314 }
1315 inline int Metric::statistics_size() const {
1316  return _internal_statistics_size();
1317 }
1319  statistics_.Clear();
1320 }
1321 inline ::ignition::msgs::Statistic* Metric::mutable_statistics(int index) {
1322  // @@protoc_insertion_point(field_mutable:ignition.msgs.Metric.statistics)
1323  return statistics_.Mutable(index);
1324 }
1325 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Statistic >*
1327  // @@protoc_insertion_point(field_mutable_list:ignition.msgs.Metric.statistics)
1328  return &statistics_;
1329 }
1330 inline const ::ignition::msgs::Statistic& Metric::_internal_statistics(int index) const {
1331  return statistics_.Get(index);
1332 }
1333 inline const ::ignition::msgs::Statistic& Metric::statistics(int index) const {
1334  // @@protoc_insertion_point(field_get:ignition.msgs.Metric.statistics)
1335  return _internal_statistics(index);
1336 }
1337 inline ::ignition::msgs::Statistic* Metric::_internal_add_statistics() {
1338  return statistics_.Add();
1339 }
1340 inline ::ignition::msgs::Statistic* Metric::add_statistics() {
1341  ::ignition::msgs::Statistic* _add = _internal_add_statistics();
1342  // @@protoc_insertion_point(field_add:ignition.msgs.Metric.statistics)
1343  return _add;
1344 }
1345 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Statistic >&
1347  // @@protoc_insertion_point(field_list:ignition.msgs.Metric.statistics)
1348  return statistics_;
1349 }
1350 
1351 #ifdef __GNUC__
1352  #pragma GCC diagnostic pop
1353 #endif // __GNUC__
1354 // -------------------------------------------------------------------
1355 
1356 // -------------------------------------------------------------------
1357 
1358 
1363 // @@protoc_insertion_point(namespace_scope)
1364 
1365 } // namespace msgs
1366 } // namespace ignition
1367 
1368 PROTOBUF_NAMESPACE_OPEN
1369 
1370 template <> struct is_proto_enum< ::ignition::msgs::Statistic_DataType> : ::std::true_type {};
1371 template <>
1372 inline const EnumDescriptor* GetEnumDescriptor< ::ignition::msgs::Statistic_DataType>() {
1374 }
1375 
1376 PROTOBUF_NAMESPACE_CLOSE
1377 
1378 #ifdef _MSC_VER
1379 #pragma warning(pop)
1380 #endif
1381 // @@protoc_insertion_point(global_scope)
1382 
1383 #include <google/protobuf/port_undef.inc>
1384 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fstatistic_2eproto
Definition: header.pb.h:265
Definition: statistic.pb.h:553
Metric & operator=(Metric &&from) noexcept
Definition: statistic.pb.h:569
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: statistic.pb.h:589
void MergeFrom(const Metric &from)
bool has_header() const
Definition: statistic.pb.h:1138
::ignition::msgs::Header * mutable_header()
Definition: statistic.pb.h:1193
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
::ignition::msgs::Statistic * add_statistics()
Definition: statistic.pb.h:1340
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: statistic.pb.h:583
::ignition::msgs::StatisticsGroup * add_statistics_groups()
Definition: statistic.pb.h:1300
PROTOBUF_NODISCARD std::string * release_unit()
Definition: statistic.pb.h:1251
void clear_statistics_groups()
Definition: statistic.pb.h:1278
void UnsafeArenaSwap(Metric *other)
Definition: statistic.pb.h:618
Metric(const Metric &from)
static const Metric & default_instance()
Definition: statistic.pb.h:592
void unsafe_arena_set_allocated_header(::ignition::msgs::Header *header)
Definition: statistic.pb.h:1150
int statistics_size() const
Definition: statistic.pb.h:1315
Metric & operator=(const Metric &from)
Definition: statistic.pb.h:565
Metric(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
static const Metric * internal_default_instance()
Definition: statistic.pb.h:595
void CopyFrom(const Metric &from)
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::StatisticsGroup > & statistics_groups() const
Definition: statistic.pb.h:1306
std::string * mutable_unit()
Definition: statistic.pb.h:1235
void set_allocated_unit(std::string *unit)
Definition: statistic.pb.h:1255
void clear_statistics()
Definition: statistic.pb.h:1318
void set_allocated_header(::ignition::msgs::Header *header)
Definition: statistic.pb.h:1198
void set_unit(ArgT0 &&arg0, ArgT... args)
constexpr Metric(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
Metric(Metric &&from) noexcept
Definition: statistic.pb.h:560
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::StatisticsGroup > * mutable_statistics_groups()
Definition: statistic.pb.h:1286
PROTOBUF_NODISCARD ::ignition::msgs::Header * release_header()
Definition: statistic.pb.h:1163
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
const std::string & unit() const
Definition: statistic.pb.h:1224
friend void swap(Metric &a, Metric &b)
Definition: statistic.pb.h:602
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Statistic > * mutable_statistics()
Definition: statistic.pb.h:1326
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: statistic.pb.h:586
const ::ignition::msgs::Header & header() const
Definition: statistic.pb.h:1146
void clear_unit()
Definition: statistic.pb.h:1221
Metric * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Definition: statistic.pb.h:626
static const ClassData _class_data_
Definition: statistic.pb.h:664
void Swap(Metric *other)
Definition: statistic.pb.h:605
::ignition::msgs::Header * unsafe_arena_release_header()
Definition: statistic.pb.h:1178
Metric()
Definition: statistic.pb.h:555
int statistics_groups_size() const
Definition: statistic.pb.h:1275
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Statistic > & statistics() const
Definition: statistic.pb.h:1346
Definition: statistic.pb.h:125
void Swap(Statistic *other)
Definition: statistic.pb.h:177
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: statistic.pb.h:161
bool has_header() const
Definition: statistic.pb.h:776
::ignition::msgs::Header * mutable_header()
Definition: statistic.pb.h:831
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
PROTOBUF_NODISCARD std::string * release_name()
Definition: statistic.pb.h:909
const std::string & name() const
Definition: statistic.pb.h:882
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: statistic.pb.h:155
double value() const
Definition: statistic.pb.h:936
friend void swap(Statistic &a, Statistic &b)
Definition: statistic.pb.h:174
void clear_name()
Definition: statistic.pb.h:879
void clear_value()
Definition: statistic.pb.h:930
static bool DataType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, DataType *value)
Definition: statistic.pb.h:282
::ignition::msgs::Statistic_DataType type() const
Definition: statistic.pb.h:865
Statistic(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
void unsafe_arena_set_allocated_header(::ignition::msgs::Header *header)
Definition: statistic.pb.h:788
static const Statistic & default_instance()
Definition: statistic.pb.h:164
void MergeFrom(const Statistic &from)
void set_name(ArgT0 &&arg0, ArgT... args)
Statistic(Statistic &&from) noexcept
Definition: statistic.pb.h:132
Statistic * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Definition: statistic.pb.h:198
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * DataType_descriptor()
Definition: statistic.pb.h:272
Statistic(const Statistic &from)
Statistic & operator=(const Statistic &from)
Definition: statistic.pb.h:137
Statistic & operator=(Statistic &&from) noexcept
Definition: statistic.pb.h:141
void CopyFrom(const Statistic &from)
void clear_type()
Definition: statistic.pb.h:859
void set_allocated_header(::ignition::msgs::Header *header)
Definition: statistic.pb.h:836
static const Statistic * internal_default_instance()
Definition: statistic.pb.h:167
constexpr Statistic(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
PROTOBUF_NODISCARD ::ignition::msgs::Header * release_header()
Definition: statistic.pb.h:801
void set_value(double value)
Definition: statistic.pb.h:944
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: statistic.pb.h:158
const ::ignition::msgs::Header & header() const
Definition: statistic.pb.h:784
std::string * mutable_name()
Definition: statistic.pb.h:893
static const ClassData _class_data_
Definition: statistic.pb.h:236
static const std::string & DataType_Name(T enum_t_value)
Definition: statistic.pb.h:276
::ignition::msgs::Header * unsafe_arena_release_header()
Definition: statistic.pb.h:816
void set_type(::ignition::msgs::Statistic_DataType value)
Definition: statistic.pb.h:873
Statistic()
Definition: statistic.pb.h:127
void set_allocated_name(std::string *name)
Definition: statistic.pb.h:913
void UnsafeArenaSwap(Statistic *other)
Definition: statistic.pb.h:190
Definition: statistic.pb.h:362
StatisticsGroup(const StatisticsGroup &from)
StatisticsGroup()
Definition: statistic.pb.h:364
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: statistic.pb.h:398
bool has_header() const
Definition: statistic.pb.h:957
::ignition::msgs::Header * mutable_header()
Definition: statistic.pb.h:1012
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
PROTOBUF_NODISCARD std::string * release_name()
Definition: statistic.pb.h:1070
const std::string & name() const
Definition: statistic.pb.h:1043
::ignition::msgs::Statistic * add_statistics()
Definition: statistic.pb.h:1119
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: statistic.pb.h:392
void clear_name()
Definition: statistic.pb.h:1040
StatisticsGroup(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
void unsafe_arena_set_allocated_header(::ignition::msgs::Header *header)
Definition: statistic.pb.h:969
int statistics_size() const
Definition: statistic.pb.h:1094
void set_name(ArgT0 &&arg0, ArgT... args)
void MergeFrom(const StatisticsGroup &from)
void clear_statistics()
Definition: statistic.pb.h:1097
void Swap(StatisticsGroup *other)
Definition: statistic.pb.h:414
constexpr StatisticsGroup(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
void UnsafeArenaSwap(StatisticsGroup *other)
Definition: statistic.pb.h:427
void set_allocated_header(::ignition::msgs::Header *header)
Definition: statistic.pb.h:1017
StatisticsGroup(StatisticsGroup &&from) noexcept
Definition: statistic.pb.h:369
static const StatisticsGroup & default_instance()
Definition: statistic.pb.h:401
PROTOBUF_NODISCARD ::ignition::msgs::Header * release_header()
Definition: statistic.pb.h:982
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
StatisticsGroup & operator=(const StatisticsGroup &from)
Definition: statistic.pb.h:374
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Statistic > * mutable_statistics()
Definition: statistic.pb.h:1105
static const StatisticsGroup * internal_default_instance()
Definition: statistic.pb.h:404
StatisticsGroup * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Definition: statistic.pb.h:435
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: statistic.pb.h:395
StatisticsGroup & operator=(StatisticsGroup &&from) noexcept
Definition: statistic.pb.h:378
const ::ignition::msgs::Header & header() const
Definition: statistic.pb.h:965
std::string * mutable_name()
Definition: statistic.pb.h:1054
static const ClassData _class_data_
Definition: statistic.pb.h:473
::ignition::msgs::Header * unsafe_arena_release_header()
Definition: statistic.pb.h:997
void set_allocated_name(std::string *name)
Definition: statistic.pb.h:1074
friend void swap(StatisticsGroup &a, StatisticsGroup &b)
Definition: statistic.pb.h:411
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Statistic > & statistics() const
Definition: statistic.pb.h:1125
void CopyFrom(const StatisticsGroup &from)
T max(T... args)
T min(T... args)
const std::string & Statistic_DataType_Name(T enum_t_value)
Definition: statistic.pb.h:110
std::shared_ptr< const Statistic > ConstStatisticSharedPtr
Definition: statistic.pb.h:1362
Statistic_DataType
Definition: statistic.pb.h:90
@ Statistic_DataType_AVERAGE
Definition: statistic.pb.h:92
@ Statistic_DataType_VARIANCE
Definition: statistic.pb.h:95
@ Statistic_DataType_MINIMUM
Definition: statistic.pb.h:93
@ Statistic_DataType_MAXIMUM
Definition: statistic.pb.h:94
@ Statistic_DataType_SAMPLE_COUNT
Definition: statistic.pb.h:97
@ Statistic_DataType_Statistic_DataType_INT_MAX_SENTINEL_DO_NOT_USE_
Definition: statistic.pb.h:101
@ Statistic_DataType_STDDEV
Definition: statistic.pb.h:96
@ Statistic_DataType_UNINITIALIZED
Definition: statistic.pb.h:91
@ Statistic_DataType_ROOT_MEAN_SQUARE
Definition: statistic.pb.h:98
@ Statistic_DataType_Statistic_DataType_INT_MIN_SENTINEL_DO_NOT_USE_
Definition: statistic.pb.h:100
@ Statistic_DataType_MAX_ABS_VALUE
Definition: statistic.pb.h:99
std::unique_ptr< const Statistic > ConstStatisticUniquePtr
Definition: statistic.pb.h:1360
constexpr Statistic_DataType Statistic_DataType_DataType_MAX
Definition: statistic.pb.h:105
std::unique_ptr< Statistic > StatisticUniquePtr
Definition: statistic.pb.h:1359
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
IGNITION_MSGS_VISIBLE bool Statistic_DataType_IsValid(int value)
IGNITION_MSGS_VISIBLE MetricDefaultTypeInternal _Metric_default_instance_
IGNITION_MSGS_VISIBLE StatisticsGroupDefaultTypeInternal _StatisticsGroup_default_instance_
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * Statistic_DataType_descriptor()
bool Statistic_DataType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Statistic_DataType *value)
Definition: statistic.pb.h:117
constexpr Statistic_DataType Statistic_DataType_DataType_MIN
Definition: statistic.pb.h:104
constexpr int Statistic_DataType_DataType_ARRAYSIZE
Definition: statistic.pb.h:106
IGNITION_MSGS_VISIBLE StatisticDefaultTypeInternal _Statistic_default_instance_
std::shared_ptr< Statistic > StatisticSharedPtr
Definition: statistic.pb.h:1361
Definition: actor.pb.h:52
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fstatistic_2eproto
static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[3] PROTOBUF_SECTION_VARIABLE(protodesc_cold)