Ignition Msgs

API Reference

5.8.1
any.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: ignition/msgs/any.proto
3 
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fany_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fany_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 #include "ignition/msgs/color.pb.h"
37 #include "ignition/msgs/pose.pb.h"
39 #include "ignition/msgs/time.pb.h"
41 #ifndef _MSC_VER
42 #pragma GCC system_header
43 #else
44 #pragma warning(push)
45 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
46 #endif
47 #ifdef __linux__
48 #include <sys/sysmacros.h>
49 #endif
50 #include <memory>
51 #include <ignition/msgs/Export.hh>
52 // @@protoc_insertion_point(includes)
53 #include <google/protobuf/port_def.inc>
54 #define PROTOBUF_INTERNAL_EXPORT_ignition_2fmsgs_2fany_2eproto IGNITION_MSGS_VISIBLE
55 PROTOBUF_NAMESPACE_OPEN
56 namespace internal {
57 class AnyMetadata;
58 } // namespace internal
59 PROTOBUF_NAMESPACE_CLOSE
60 
61 // Internal implementation detail -- do not use these members.
62 struct IGNITION_MSGS_VISIBLE TableStruct_ignition_2fmsgs_2fany_2eproto {
63  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
64  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
65  static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
66  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
67  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1]
68  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
69  static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
70  static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
71  static const uint32_t offsets[];
72 };
73 IGNITION_MSGS_VISIBLE extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fany_2eproto;
74 namespace ignition {
75 namespace msgs {
76 class Any;
77 struct AnyDefaultTypeInternal;
78 IGNITION_MSGS_VISIBLE extern AnyDefaultTypeInternal _Any_default_instance_;
79 } // namespace msgs
80 } // namespace ignition
81 PROTOBUF_NAMESPACE_OPEN
82 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::Any* Arena::CreateMaybeMessage<::ignition::msgs::Any>(Arena*);
83 PROTOBUF_NAMESPACE_CLOSE
84 namespace ignition {
85 namespace msgs {
86 
87 enum Any_ValueType : int {
100 };
101 IGNITION_MSGS_VISIBLE bool Any_ValueType_IsValid(int value);
105 
106 IGNITION_MSGS_VISIBLE const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Any_ValueType_descriptor();
107 template<typename T>
108 inline const std::string& Any_ValueType_Name(T enum_t_value) {
109  static_assert(::std::is_same<T, Any_ValueType>::value ||
111  "Incorrect type passed to function Any_ValueType_Name.");
112  return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
113  Any_ValueType_descriptor(), enum_t_value);
114 }
116  ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Any_ValueType* value) {
117  return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<Any_ValueType>(
118  Any_ValueType_descriptor(), name, value);
119 }
120 // ===================================================================
121 
122 class IGNITION_MSGS_VISIBLE Any final :
123  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.Any) */ {
124  public:
125  inline Any() : Any(nullptr) {}
126  ~Any() override;
127  explicit constexpr Any(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
128 
129  Any(const Any& from);
130  Any(Any&& from) noexcept
131  : Any() {
132  *this = ::std::move(from);
133  }
134 
135  inline Any& operator=(const Any& from) {
136  CopyFrom(from);
137  return *this;
138  }
139  inline Any& operator=(Any&& from) noexcept {
140  if (this == &from) return *this;
141  if (GetOwningArena() == from.GetOwningArena()
142  #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
143  && GetOwningArena() != nullptr
144  #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
145  ) {
146  InternalSwap(&from);
147  } else {
148  CopyFrom(from);
149  }
150  return *this;
151  }
152 
153  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
154  return GetDescriptor();
155  }
156  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
157  return default_instance().GetMetadata().descriptor;
158  }
159  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
160  return default_instance().GetMetadata().reflection;
161  }
162  static const Any& default_instance() {
163  return *internal_default_instance();
164  }
165  enum ValueCase {
166  kDoubleValue = 3,
167  kIntValue = 4,
168  kStringValue = 5,
169  kBoolValue = 6,
170  kVector3DValue = 7,
171  kColorValue = 8,
172  kPose3DValue = 9,
173  kQuaternionValue = 10,
174  kTimeValue = 11,
175  VALUE_NOT_SET = 0,
176  };
177 
178  static inline const Any* internal_default_instance() {
179  return reinterpret_cast<const Any*>(
181  }
182  static constexpr int kIndexInFileMessages =
183  0;
184 
185  friend void swap(Any& a, Any& b) {
186  a.Swap(&b);
187  }
188  inline void Swap(Any* other) {
189  if (other == this) return;
190  #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
191  if (GetOwningArena() != nullptr &&
192  GetOwningArena() == other->GetOwningArena()) {
193  #else // PROTOBUF_FORCE_COPY_IN_SWAP
194  if (GetOwningArena() == other->GetOwningArena()) {
195  #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
196  InternalSwap(other);
197  } else {
198  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
199  }
200  }
201  void UnsafeArenaSwap(Any* other) {
202  if (other == this) return;
203  GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
204  InternalSwap(other);
205  }
206 
207  // implements Message ----------------------------------------------
208 
209  Any* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
210  return CreateMaybeMessage<Any>(arena);
211  }
212  using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
213  void CopyFrom(const Any& from);
214  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
215  void MergeFrom(const Any& from);
216  private:
217  static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
218  public:
219  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
220  bool IsInitialized() const final;
221 
222  size_t ByteSizeLong() const final;
223  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
224  uint8_t* _InternalSerialize(
225  uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
226  int GetCachedSize() const final { return _cached_size_.Get(); }
227 
228  private:
229  void SharedCtor();
230  void SharedDtor();
231  void SetCachedSize(int size) const final;
232  void InternalSwap(Any* other);
233 
234  private:
235  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
236  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
237  return "ignition.msgs.Any";
238  }
239  protected:
240  explicit Any(::PROTOBUF_NAMESPACE_ID::Arena* arena,
241  bool is_message_owned = false);
242  private:
243  static void ArenaDtor(void* object);
244  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
245  public:
246 
247  static const ClassData _class_data_;
248  const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
249 
250  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
251 
252  // nested types ----------------------------------------------------
253 
255  static constexpr ValueType NONE =
257  static constexpr ValueType DOUBLE =
259  static constexpr ValueType INT32 =
261  static constexpr ValueType STRING =
263  static constexpr ValueType BOOLEAN =
265  static constexpr ValueType VECTOR3D =
267  static constexpr ValueType COLOR =
269  static constexpr ValueType POSE3D =
271  static constexpr ValueType QUATERNIOND =
273  static constexpr ValueType TIME =
275  static inline bool ValueType_IsValid(int value) {
276  return Any_ValueType_IsValid(value);
277  }
278  static constexpr ValueType ValueType_MIN =
280  static constexpr ValueType ValueType_MAX =
282  static constexpr int ValueType_ARRAYSIZE =
284  static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
286  return Any_ValueType_descriptor();
287  }
288  template<typename T>
289  static inline const std::string& ValueType_Name(T enum_t_value) {
290  static_assert(::std::is_same<T, ValueType>::value ||
292  "Incorrect type passed to function ValueType_Name.");
293  return Any_ValueType_Name(enum_t_value);
294  }
295  static inline bool ValueType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
296  ValueType* value) {
297  return Any_ValueType_Parse(name, value);
298  }
299 
300  // accessors -------------------------------------------------------
301 
302  enum : int {
303  kHeaderFieldNumber = 1,
304  kTypeFieldNumber = 2,
305  kDoubleValueFieldNumber = 3,
306  kIntValueFieldNumber = 4,
307  kStringValueFieldNumber = 5,
308  kBoolValueFieldNumber = 6,
309  kVector3DValueFieldNumber = 7,
310  kColorValueFieldNumber = 8,
311  kPose3DValueFieldNumber = 9,
312  kQuaternionValueFieldNumber = 10,
313  kTimeValueFieldNumber = 11,
314  };
315  // .ignition.msgs.Header header = 1;
316  bool has_header() const;
317  private:
318  bool _internal_has_header() const;
319  public:
320  void clear_header();
321  const ::ignition::msgs::Header& header() const;
322  PROTOBUF_NODISCARD ::ignition::msgs::Header* release_header();
323  ::ignition::msgs::Header* mutable_header();
324  void set_allocated_header(::ignition::msgs::Header* header);
325  private:
326  const ::ignition::msgs::Header& _internal_header() const;
327  ::ignition::msgs::Header* _internal_mutable_header();
328  public:
329  void unsafe_arena_set_allocated_header(
330  ::ignition::msgs::Header* header);
331  ::ignition::msgs::Header* unsafe_arena_release_header();
332 
333  // .ignition.msgs.Any.ValueType type = 2;
334  void clear_type();
335  ::ignition::msgs::Any_ValueType type() const;
336  void set_type(::ignition::msgs::Any_ValueType value);
337  private:
338  ::ignition::msgs::Any_ValueType _internal_type() const;
339  void _internal_set_type(::ignition::msgs::Any_ValueType value);
340  public:
341 
342  // double double_value = 3;
343  bool has_double_value() const;
344  private:
345  bool _internal_has_double_value() const;
346  public:
347  void clear_double_value();
348  double double_value() const;
349  void set_double_value(double value);
350  private:
351  double _internal_double_value() const;
352  void _internal_set_double_value(double value);
353  public:
354 
355  // int32 int_value = 4;
356  bool has_int_value() const;
357  private:
358  bool _internal_has_int_value() const;
359  public:
360  void clear_int_value();
361  int32_t int_value() const;
362  void set_int_value(int32_t value);
363  private:
364  int32_t _internal_int_value() const;
365  void _internal_set_int_value(int32_t value);
366  public:
367 
368  // string string_value = 5;
369  bool has_string_value() const;
370  private:
371  bool _internal_has_string_value() const;
372  public:
373  void clear_string_value();
374  const std::string& string_value() const;
375  template <typename ArgT0 = const std::string&, typename... ArgT>
376  void set_string_value(ArgT0&& arg0, ArgT... args);
377  std::string* mutable_string_value();
378  PROTOBUF_NODISCARD std::string* release_string_value();
379  void set_allocated_string_value(std::string* string_value);
380  private:
381  const std::string& _internal_string_value() const;
382  inline PROTOBUF_ALWAYS_INLINE void _internal_set_string_value(const std::string& value);
383  std::string* _internal_mutable_string_value();
384  public:
385 
386  // bool bool_value = 6;
387  bool has_bool_value() const;
388  private:
389  bool _internal_has_bool_value() const;
390  public:
391  void clear_bool_value();
392  bool bool_value() const;
393  void set_bool_value(bool value);
394  private:
395  bool _internal_bool_value() const;
396  void _internal_set_bool_value(bool value);
397  public:
398 
399  // .ignition.msgs.Vector3d vector3d_value = 7;
400  bool has_vector3d_value() const;
401  private:
402  bool _internal_has_vector3d_value() const;
403  public:
405  const ::ignition::msgs::Vector3d& vector3d_value() const;
406  PROTOBUF_NODISCARD ::ignition::msgs::Vector3d* release_vector3d_value();
407  ::ignition::msgs::Vector3d* mutable_vector3d_value();
409  private:
410  const ::ignition::msgs::Vector3d& _internal_vector3d_value() const;
411  ::ignition::msgs::Vector3d* _internal_mutable_vector3d_value();
412  public:
413  void unsafe_arena_set_allocated_vector3d_value(
414  ::ignition::msgs::Vector3d* vector3d_value);
415  ::ignition::msgs::Vector3d* unsafe_arena_release_vector3d_value();
416 
417  // .ignition.msgs.Color color_value = 8;
418  bool has_color_value() const;
419  private:
420  bool _internal_has_color_value() const;
421  public:
423  const ::ignition::msgs::Color& color_value() const;
424  PROTOBUF_NODISCARD ::ignition::msgs::Color* release_color_value();
425  ::ignition::msgs::Color* mutable_color_value();
427  private:
428  const ::ignition::msgs::Color& _internal_color_value() const;
429  ::ignition::msgs::Color* _internal_mutable_color_value();
430  public:
431  void unsafe_arena_set_allocated_color_value(
432  ::ignition::msgs::Color* color_value);
433  ::ignition::msgs::Color* unsafe_arena_release_color_value();
434 
435  // .ignition.msgs.Pose pose3d_value = 9;
436  bool has_pose3d_value() const;
437  private:
438  bool _internal_has_pose3d_value() const;
439  public:
441  const ::ignition::msgs::Pose& pose3d_value() const;
442  PROTOBUF_NODISCARD ::ignition::msgs::Pose* release_pose3d_value();
443  ::ignition::msgs::Pose* mutable_pose3d_value();
445  private:
446  const ::ignition::msgs::Pose& _internal_pose3d_value() const;
447  ::ignition::msgs::Pose* _internal_mutable_pose3d_value();
448  public:
449  void unsafe_arena_set_allocated_pose3d_value(
450  ::ignition::msgs::Pose* pose3d_value);
451  ::ignition::msgs::Pose* unsafe_arena_release_pose3d_value();
452 
453  // .ignition.msgs.Quaternion quaternion_value = 10;
454  bool has_quaternion_value() const;
455  private:
456  bool _internal_has_quaternion_value() const;
457  public:
459  const ::ignition::msgs::Quaternion& quaternion_value() const;
460  PROTOBUF_NODISCARD ::ignition::msgs::Quaternion* release_quaternion_value();
461  ::ignition::msgs::Quaternion* mutable_quaternion_value();
463  private:
464  const ::ignition::msgs::Quaternion& _internal_quaternion_value() const;
465  ::ignition::msgs::Quaternion* _internal_mutable_quaternion_value();
466  public:
467  void unsafe_arena_set_allocated_quaternion_value(
468  ::ignition::msgs::Quaternion* quaternion_value);
469  ::ignition::msgs::Quaternion* unsafe_arena_release_quaternion_value();
470 
471  // .ignition.msgs.Time time_value = 11;
472  bool has_time_value() const;
473  private:
474  bool _internal_has_time_value() const;
475  public:
477  const ::ignition::msgs::Time& time_value() const;
478  PROTOBUF_NODISCARD ::ignition::msgs::Time* release_time_value();
479  ::ignition::msgs::Time* mutable_time_value();
481  private:
482  const ::ignition::msgs::Time& _internal_time_value() const;
483  ::ignition::msgs::Time* _internal_mutable_time_value();
484  public:
485  void unsafe_arena_set_allocated_time_value(
486  ::ignition::msgs::Time* time_value);
487  ::ignition::msgs::Time* unsafe_arena_release_time_value();
488 
489  void clear_value();
490  ValueCase value_case() const;
491  // @@protoc_insertion_point(class_scope:ignition.msgs.Any)
492  private:
493  class _Internal;
494  void set_has_double_value();
495  void set_has_int_value();
496  void set_has_string_value();
497  void set_has_bool_value();
498  void set_has_vector3d_value();
499  void set_has_color_value();
500  void set_has_pose3d_value();
501  void set_has_quaternion_value();
502  void set_has_time_value();
503 
504  inline bool has_value() const;
505  inline void clear_has_value();
506 
507  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
508  typedef void InternalArenaConstructable_;
509  typedef void DestructorSkippable_;
510  ::ignition::msgs::Header* header_;
511  int type_;
512  union ValueUnion {
513  constexpr ValueUnion() : _constinit_{} {}
514  ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_;
515  double double_value_;
516  int32_t int_value_;
517  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr string_value_;
518  bool bool_value_;
519  ::ignition::msgs::Vector3d* vector3d_value_;
520  ::ignition::msgs::Color* color_value_;
521  ::ignition::msgs::Pose* pose3d_value_;
522  ::ignition::msgs::Quaternion* quaternion_value_;
523  ::ignition::msgs::Time* time_value_;
524  } value_;
525  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
526  uint32_t _oneof_case_[1];
527 
528  friend struct ::TableStruct_ignition_2fmsgs_2fany_2eproto;
529 };
530 // ===================================================================
531 
532 
533 // ===================================================================
534 
535 #ifdef __GNUC__
536  #pragma GCC diagnostic push
537  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
538 #endif // __GNUC__
539 // Any
540 
541 // .ignition.msgs.Header header = 1;
542 inline bool Any::_internal_has_header() const {
543  return this != internal_default_instance() && header_ != nullptr;
544 }
545 inline bool Any::has_header() const {
546  return _internal_has_header();
547 }
548 inline const ::ignition::msgs::Header& Any::_internal_header() const {
549  const ::ignition::msgs::Header* p = header_;
550  return p != nullptr ? *p : reinterpret_cast<const ::ignition::msgs::Header&>(
552 }
553 inline const ::ignition::msgs::Header& Any::header() const {
554  // @@protoc_insertion_point(field_get:ignition.msgs.Any.header)
555  return _internal_header();
556 }
558  ::ignition::msgs::Header* header) {
559  if (GetArenaForAllocation() == nullptr) {
560  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(header_);
561  }
562  header_ = header;
563  if (header) {
564 
565  } else {
566 
567  }
568  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.Any.header)
569 }
570 inline ::ignition::msgs::Header* Any::release_header() {
571 
572  ::ignition::msgs::Header* temp = header_;
573  header_ = nullptr;
574 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
575  auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
576  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
577  if (GetArenaForAllocation() == nullptr) { delete old; }
578 #else // PROTOBUF_FORCE_COPY_IN_RELEASE
579  if (GetArenaForAllocation() != nullptr) {
580  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
581  }
582 #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
583  return temp;
584 }
585 inline ::ignition::msgs::Header* Any::unsafe_arena_release_header() {
586  // @@protoc_insertion_point(field_release:ignition.msgs.Any.header)
587 
588  ::ignition::msgs::Header* temp = header_;
589  header_ = nullptr;
590  return temp;
591 }
592 inline ::ignition::msgs::Header* Any::_internal_mutable_header() {
593 
594  if (header_ == nullptr) {
595  auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArenaForAllocation());
596  header_ = p;
597  }
598  return header_;
599 }
600 inline ::ignition::msgs::Header* Any::mutable_header() {
601  ::ignition::msgs::Header* _msg = _internal_mutable_header();
602  // @@protoc_insertion_point(field_mutable:ignition.msgs.Any.header)
603  return _msg;
604 }
606  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
607  if (message_arena == nullptr) {
608  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(header_);
609  }
610  if (header) {
611  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
612  ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<
613  ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena(
614  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(header));
615  if (message_arena != submessage_arena) {
616  header = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
617  message_arena, header, submessage_arena);
618  }
619 
620  } else {
621 
622  }
623  header_ = header;
624  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Any.header)
625 }
626 
627 // .ignition.msgs.Any.ValueType type = 2;
628 inline void Any::clear_type() {
629  type_ = 0;
630 }
631 inline ::ignition::msgs::Any_ValueType Any::_internal_type() const {
632  return static_cast< ::ignition::msgs::Any_ValueType >(type_);
633 }
635  // @@protoc_insertion_point(field_get:ignition.msgs.Any.type)
636  return _internal_type();
637 }
638 inline void Any::_internal_set_type(::ignition::msgs::Any_ValueType value) {
639 
640  type_ = value;
641 }
643  _internal_set_type(value);
644  // @@protoc_insertion_point(field_set:ignition.msgs.Any.type)
645 }
646 
647 // double double_value = 3;
648 inline bool Any::_internal_has_double_value() const {
649  return value_case() == kDoubleValue;
650 }
651 inline bool Any::has_double_value() const {
652  return _internal_has_double_value();
653 }
654 inline void Any::set_has_double_value() {
655  _oneof_case_[0] = kDoubleValue;
656 }
657 inline void Any::clear_double_value() {
658  if (_internal_has_double_value()) {
659  value_.double_value_ = 0;
660  clear_has_value();
661  }
662 }
663 inline double Any::_internal_double_value() const {
664  if (_internal_has_double_value()) {
665  return value_.double_value_;
666  }
667  return 0;
668 }
669 inline void Any::_internal_set_double_value(double value) {
670  if (!_internal_has_double_value()) {
671  clear_value();
672  set_has_double_value();
673  }
674  value_.double_value_ = value;
675 }
676 inline double Any::double_value() const {
677  // @@protoc_insertion_point(field_get:ignition.msgs.Any.double_value)
678  return _internal_double_value();
679 }
680 inline void Any::set_double_value(double value) {
681  _internal_set_double_value(value);
682  // @@protoc_insertion_point(field_set:ignition.msgs.Any.double_value)
683 }
684 
685 // int32 int_value = 4;
686 inline bool Any::_internal_has_int_value() const {
687  return value_case() == kIntValue;
688 }
689 inline bool Any::has_int_value() const {
690  return _internal_has_int_value();
691 }
692 inline void Any::set_has_int_value() {
693  _oneof_case_[0] = kIntValue;
694 }
695 inline void Any::clear_int_value() {
696  if (_internal_has_int_value()) {
697  value_.int_value_ = 0;
698  clear_has_value();
699  }
700 }
701 inline int32_t Any::_internal_int_value() const {
702  if (_internal_has_int_value()) {
703  return value_.int_value_;
704  }
705  return 0;
706 }
707 inline void Any::_internal_set_int_value(int32_t value) {
708  if (!_internal_has_int_value()) {
709  clear_value();
710  set_has_int_value();
711  }
712  value_.int_value_ = value;
713 }
714 inline int32_t Any::int_value() const {
715  // @@protoc_insertion_point(field_get:ignition.msgs.Any.int_value)
716  return _internal_int_value();
717 }
718 inline void Any::set_int_value(int32_t value) {
719  _internal_set_int_value(value);
720  // @@protoc_insertion_point(field_set:ignition.msgs.Any.int_value)
721 }
722 
723 // string string_value = 5;
724 inline bool Any::_internal_has_string_value() const {
725  return value_case() == kStringValue;
726 }
727 inline bool Any::has_string_value() const {
728  return _internal_has_string_value();
729 }
730 inline void Any::set_has_string_value() {
731  _oneof_case_[0] = kStringValue;
732 }
733 inline void Any::clear_string_value() {
734  if (_internal_has_string_value()) {
735  value_.string_value_.Destroy(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
736  clear_has_value();
737  }
738 }
739 inline const std::string& Any::string_value() const {
740  // @@protoc_insertion_point(field_get:ignition.msgs.Any.string_value)
741  return _internal_string_value();
742 }
743 template <typename ArgT0, typename... ArgT>
744 inline void Any::set_string_value(ArgT0&& arg0, ArgT... args) {
745  if (!_internal_has_string_value()) {
746  clear_value();
747  set_has_string_value();
748  value_.string_value_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
749  }
750  value_.string_value_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
751  // @@protoc_insertion_point(field_set:ignition.msgs.Any.string_value)
752 }
754  std::string* _s = _internal_mutable_string_value();
755  // @@protoc_insertion_point(field_mutable:ignition.msgs.Any.string_value)
756  return _s;
757 }
758 inline const std::string& Any::_internal_string_value() const {
759  if (_internal_has_string_value()) {
760  return value_.string_value_.Get();
761  }
762  return ::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited();
763 }
764 inline void Any::_internal_set_string_value(const std::string& value) {
765  if (!_internal_has_string_value()) {
766  clear_value();
767  set_has_string_value();
768  value_.string_value_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
769  }
770  value_.string_value_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
771 }
772 inline std::string* Any::_internal_mutable_string_value() {
773  if (!_internal_has_string_value()) {
774  clear_value();
775  set_has_string_value();
776  value_.string_value_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
777  }
778  return value_.string_value_.Mutable(
779  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
780 }
782  // @@protoc_insertion_point(field_release:ignition.msgs.Any.string_value)
783  if (_internal_has_string_value()) {
784  clear_has_value();
785  return value_.string_value_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
786  } else {
787  return nullptr;
788  }
789 }
790 inline void Any::set_allocated_string_value(std::string* string_value) {
791  if (has_value()) {
792  clear_value();
793  }
794  if (string_value != nullptr) {
795  set_has_string_value();
796  value_.string_value_.UnsafeSetDefault(string_value);
797  ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArenaForAllocation();
798  if (arena != nullptr) {
799  arena->Own(string_value);
800  }
801  }
802  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Any.string_value)
803 }
804 
805 // bool bool_value = 6;
806 inline bool Any::_internal_has_bool_value() const {
807  return value_case() == kBoolValue;
808 }
809 inline bool Any::has_bool_value() const {
810  return _internal_has_bool_value();
811 }
812 inline void Any::set_has_bool_value() {
813  _oneof_case_[0] = kBoolValue;
814 }
815 inline void Any::clear_bool_value() {
816  if (_internal_has_bool_value()) {
817  value_.bool_value_ = false;
818  clear_has_value();
819  }
820 }
821 inline bool Any::_internal_bool_value() const {
822  if (_internal_has_bool_value()) {
823  return value_.bool_value_;
824  }
825  return false;
826 }
827 inline void Any::_internal_set_bool_value(bool value) {
828  if (!_internal_has_bool_value()) {
829  clear_value();
830  set_has_bool_value();
831  }
832  value_.bool_value_ = value;
833 }
834 inline bool Any::bool_value() const {
835  // @@protoc_insertion_point(field_get:ignition.msgs.Any.bool_value)
836  return _internal_bool_value();
837 }
838 inline void Any::set_bool_value(bool value) {
839  _internal_set_bool_value(value);
840  // @@protoc_insertion_point(field_set:ignition.msgs.Any.bool_value)
841 }
842 
843 // .ignition.msgs.Vector3d vector3d_value = 7;
844 inline bool Any::_internal_has_vector3d_value() const {
845  return value_case() == kVector3DValue;
846 }
847 inline bool Any::has_vector3d_value() const {
848  return _internal_has_vector3d_value();
849 }
850 inline void Any::set_has_vector3d_value() {
851  _oneof_case_[0] = kVector3DValue;
852 }
853 inline ::ignition::msgs::Vector3d* Any::release_vector3d_value() {
854  // @@protoc_insertion_point(field_release:ignition.msgs.Any.vector3d_value)
855  if (_internal_has_vector3d_value()) {
856  clear_has_value();
857  ::ignition::msgs::Vector3d* temp = value_.vector3d_value_;
858  if (GetArenaForAllocation() != nullptr) {
859  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
860  }
861  value_.vector3d_value_ = nullptr;
862  return temp;
863  } else {
864  return nullptr;
865  }
866 }
867 inline const ::ignition::msgs::Vector3d& Any::_internal_vector3d_value() const {
868  return _internal_has_vector3d_value()
869  ? *value_.vector3d_value_
871 }
872 inline const ::ignition::msgs::Vector3d& Any::vector3d_value() const {
873  // @@protoc_insertion_point(field_get:ignition.msgs.Any.vector3d_value)
874  return _internal_vector3d_value();
875 }
876 inline ::ignition::msgs::Vector3d* Any::unsafe_arena_release_vector3d_value() {
877  // @@protoc_insertion_point(field_unsafe_arena_release:ignition.msgs.Any.vector3d_value)
878  if (_internal_has_vector3d_value()) {
879  clear_has_value();
880  ::ignition::msgs::Vector3d* temp = value_.vector3d_value_;
881  value_.vector3d_value_ = nullptr;
882  return temp;
883  } else {
884  return nullptr;
885  }
886 }
888  clear_value();
889  if (vector3d_value) {
890  set_has_vector3d_value();
891  value_.vector3d_value_ = vector3d_value;
892  }
893  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.Any.vector3d_value)
894 }
895 inline ::ignition::msgs::Vector3d* Any::_internal_mutable_vector3d_value() {
896  if (!_internal_has_vector3d_value()) {
897  clear_value();
898  set_has_vector3d_value();
899  value_.vector3d_value_ = CreateMaybeMessage< ::ignition::msgs::Vector3d >(GetArenaForAllocation());
900  }
901  return value_.vector3d_value_;
902 }
903 inline ::ignition::msgs::Vector3d* Any::mutable_vector3d_value() {
904  ::ignition::msgs::Vector3d* _msg = _internal_mutable_vector3d_value();
905  // @@protoc_insertion_point(field_mutable:ignition.msgs.Any.vector3d_value)
906  return _msg;
907 }
908 
909 // .ignition.msgs.Color color_value = 8;
910 inline bool Any::_internal_has_color_value() const {
911  return value_case() == kColorValue;
912 }
913 inline bool Any::has_color_value() const {
914  return _internal_has_color_value();
915 }
916 inline void Any::set_has_color_value() {
917  _oneof_case_[0] = kColorValue;
918 }
919 inline ::ignition::msgs::Color* Any::release_color_value() {
920  // @@protoc_insertion_point(field_release:ignition.msgs.Any.color_value)
921  if (_internal_has_color_value()) {
922  clear_has_value();
923  ::ignition::msgs::Color* temp = value_.color_value_;
924  if (GetArenaForAllocation() != nullptr) {
925  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
926  }
927  value_.color_value_ = nullptr;
928  return temp;
929  } else {
930  return nullptr;
931  }
932 }
933 inline const ::ignition::msgs::Color& Any::_internal_color_value() const {
934  return _internal_has_color_value()
935  ? *value_.color_value_
937 }
938 inline const ::ignition::msgs::Color& Any::color_value() const {
939  // @@protoc_insertion_point(field_get:ignition.msgs.Any.color_value)
940  return _internal_color_value();
941 }
942 inline ::ignition::msgs::Color* Any::unsafe_arena_release_color_value() {
943  // @@protoc_insertion_point(field_unsafe_arena_release:ignition.msgs.Any.color_value)
944  if (_internal_has_color_value()) {
945  clear_has_value();
946  ::ignition::msgs::Color* temp = value_.color_value_;
947  value_.color_value_ = nullptr;
948  return temp;
949  } else {
950  return nullptr;
951  }
952 }
954  clear_value();
955  if (color_value) {
956  set_has_color_value();
957  value_.color_value_ = color_value;
958  }
959  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.Any.color_value)
960 }
961 inline ::ignition::msgs::Color* Any::_internal_mutable_color_value() {
962  if (!_internal_has_color_value()) {
963  clear_value();
964  set_has_color_value();
965  value_.color_value_ = CreateMaybeMessage< ::ignition::msgs::Color >(GetArenaForAllocation());
966  }
967  return value_.color_value_;
968 }
969 inline ::ignition::msgs::Color* Any::mutable_color_value() {
970  ::ignition::msgs::Color* _msg = _internal_mutable_color_value();
971  // @@protoc_insertion_point(field_mutable:ignition.msgs.Any.color_value)
972  return _msg;
973 }
974 
975 // .ignition.msgs.Pose pose3d_value = 9;
976 inline bool Any::_internal_has_pose3d_value() const {
977  return value_case() == kPose3DValue;
978 }
979 inline bool Any::has_pose3d_value() const {
980  return _internal_has_pose3d_value();
981 }
982 inline void Any::set_has_pose3d_value() {
983  _oneof_case_[0] = kPose3DValue;
984 }
985 inline ::ignition::msgs::Pose* Any::release_pose3d_value() {
986  // @@protoc_insertion_point(field_release:ignition.msgs.Any.pose3d_value)
987  if (_internal_has_pose3d_value()) {
988  clear_has_value();
989  ::ignition::msgs::Pose* temp = value_.pose3d_value_;
990  if (GetArenaForAllocation() != nullptr) {
991  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
992  }
993  value_.pose3d_value_ = nullptr;
994  return temp;
995  } else {
996  return nullptr;
997  }
998 }
999 inline const ::ignition::msgs::Pose& Any::_internal_pose3d_value() const {
1000  return _internal_has_pose3d_value()
1001  ? *value_.pose3d_value_
1003 }
1004 inline const ::ignition::msgs::Pose& Any::pose3d_value() const {
1005  // @@protoc_insertion_point(field_get:ignition.msgs.Any.pose3d_value)
1006  return _internal_pose3d_value();
1007 }
1008 inline ::ignition::msgs::Pose* Any::unsafe_arena_release_pose3d_value() {
1009  // @@protoc_insertion_point(field_unsafe_arena_release:ignition.msgs.Any.pose3d_value)
1010  if (_internal_has_pose3d_value()) {
1011  clear_has_value();
1012  ::ignition::msgs::Pose* temp = value_.pose3d_value_;
1013  value_.pose3d_value_ = nullptr;
1014  return temp;
1015  } else {
1016  return nullptr;
1017  }
1018 }
1020  clear_value();
1021  if (pose3d_value) {
1022  set_has_pose3d_value();
1023  value_.pose3d_value_ = pose3d_value;
1024  }
1025  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.Any.pose3d_value)
1026 }
1027 inline ::ignition::msgs::Pose* Any::_internal_mutable_pose3d_value() {
1028  if (!_internal_has_pose3d_value()) {
1029  clear_value();
1030  set_has_pose3d_value();
1031  value_.pose3d_value_ = CreateMaybeMessage< ::ignition::msgs::Pose >(GetArenaForAllocation());
1032  }
1033  return value_.pose3d_value_;
1034 }
1035 inline ::ignition::msgs::Pose* Any::mutable_pose3d_value() {
1036  ::ignition::msgs::Pose* _msg = _internal_mutable_pose3d_value();
1037  // @@protoc_insertion_point(field_mutable:ignition.msgs.Any.pose3d_value)
1038  return _msg;
1039 }
1040 
1041 // .ignition.msgs.Quaternion quaternion_value = 10;
1042 inline bool Any::_internal_has_quaternion_value() const {
1043  return value_case() == kQuaternionValue;
1044 }
1045 inline bool Any::has_quaternion_value() const {
1046  return _internal_has_quaternion_value();
1047 }
1048 inline void Any::set_has_quaternion_value() {
1049  _oneof_case_[0] = kQuaternionValue;
1050 }
1051 inline ::ignition::msgs::Quaternion* Any::release_quaternion_value() {
1052  // @@protoc_insertion_point(field_release:ignition.msgs.Any.quaternion_value)
1053  if (_internal_has_quaternion_value()) {
1054  clear_has_value();
1055  ::ignition::msgs::Quaternion* temp = value_.quaternion_value_;
1056  if (GetArenaForAllocation() != nullptr) {
1057  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1058  }
1059  value_.quaternion_value_ = nullptr;
1060  return temp;
1061  } else {
1062  return nullptr;
1063  }
1064 }
1065 inline const ::ignition::msgs::Quaternion& Any::_internal_quaternion_value() const {
1066  return _internal_has_quaternion_value()
1067  ? *value_.quaternion_value_
1069 }
1070 inline const ::ignition::msgs::Quaternion& Any::quaternion_value() const {
1071  // @@protoc_insertion_point(field_get:ignition.msgs.Any.quaternion_value)
1072  return _internal_quaternion_value();
1073 }
1074 inline ::ignition::msgs::Quaternion* Any::unsafe_arena_release_quaternion_value() {
1075  // @@protoc_insertion_point(field_unsafe_arena_release:ignition.msgs.Any.quaternion_value)
1076  if (_internal_has_quaternion_value()) {
1077  clear_has_value();
1078  ::ignition::msgs::Quaternion* temp = value_.quaternion_value_;
1079  value_.quaternion_value_ = nullptr;
1080  return temp;
1081  } else {
1082  return nullptr;
1083  }
1084 }
1086  clear_value();
1087  if (quaternion_value) {
1088  set_has_quaternion_value();
1089  value_.quaternion_value_ = quaternion_value;
1090  }
1091  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.Any.quaternion_value)
1092 }
1093 inline ::ignition::msgs::Quaternion* Any::_internal_mutable_quaternion_value() {
1094  if (!_internal_has_quaternion_value()) {
1095  clear_value();
1096  set_has_quaternion_value();
1097  value_.quaternion_value_ = CreateMaybeMessage< ::ignition::msgs::Quaternion >(GetArenaForAllocation());
1098  }
1099  return value_.quaternion_value_;
1100 }
1101 inline ::ignition::msgs::Quaternion* Any::mutable_quaternion_value() {
1102  ::ignition::msgs::Quaternion* _msg = _internal_mutable_quaternion_value();
1103  // @@protoc_insertion_point(field_mutable:ignition.msgs.Any.quaternion_value)
1104  return _msg;
1105 }
1106 
1107 // .ignition.msgs.Time time_value = 11;
1108 inline bool Any::_internal_has_time_value() const {
1109  return value_case() == kTimeValue;
1110 }
1111 inline bool Any::has_time_value() const {
1112  return _internal_has_time_value();
1113 }
1114 inline void Any::set_has_time_value() {
1115  _oneof_case_[0] = kTimeValue;
1116 }
1117 inline ::ignition::msgs::Time* Any::release_time_value() {
1118  // @@protoc_insertion_point(field_release:ignition.msgs.Any.time_value)
1119  if (_internal_has_time_value()) {
1120  clear_has_value();
1121  ::ignition::msgs::Time* temp = value_.time_value_;
1122  if (GetArenaForAllocation() != nullptr) {
1123  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1124  }
1125  value_.time_value_ = nullptr;
1126  return temp;
1127  } else {
1128  return nullptr;
1129  }
1130 }
1131 inline const ::ignition::msgs::Time& Any::_internal_time_value() const {
1132  return _internal_has_time_value()
1133  ? *value_.time_value_
1135 }
1136 inline const ::ignition::msgs::Time& Any::time_value() const {
1137  // @@protoc_insertion_point(field_get:ignition.msgs.Any.time_value)
1138  return _internal_time_value();
1139 }
1140 inline ::ignition::msgs::Time* Any::unsafe_arena_release_time_value() {
1141  // @@protoc_insertion_point(field_unsafe_arena_release:ignition.msgs.Any.time_value)
1142  if (_internal_has_time_value()) {
1143  clear_has_value();
1144  ::ignition::msgs::Time* temp = value_.time_value_;
1145  value_.time_value_ = nullptr;
1146  return temp;
1147  } else {
1148  return nullptr;
1149  }
1150 }
1152  clear_value();
1153  if (time_value) {
1154  set_has_time_value();
1155  value_.time_value_ = time_value;
1156  }
1157  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.Any.time_value)
1158 }
1159 inline ::ignition::msgs::Time* Any::_internal_mutable_time_value() {
1160  if (!_internal_has_time_value()) {
1161  clear_value();
1162  set_has_time_value();
1163  value_.time_value_ = CreateMaybeMessage< ::ignition::msgs::Time >(GetArenaForAllocation());
1164  }
1165  return value_.time_value_;
1166 }
1167 inline ::ignition::msgs::Time* Any::mutable_time_value() {
1168  ::ignition::msgs::Time* _msg = _internal_mutable_time_value();
1169  // @@protoc_insertion_point(field_mutable:ignition.msgs.Any.time_value)
1170  return _msg;
1171 }
1172 
1173 inline bool Any::has_value() const {
1174  return value_case() != VALUE_NOT_SET;
1175 }
1176 inline void Any::clear_has_value() {
1177  _oneof_case_[0] = VALUE_NOT_SET;
1178 }
1180  return Any::ValueCase(_oneof_case_[0]);
1181 }
1182 #ifdef __GNUC__
1183  #pragma GCC diagnostic pop
1184 #endif // __GNUC__
1185 
1190 // @@protoc_insertion_point(namespace_scope)
1191 
1192 } // namespace msgs
1193 } // namespace ignition
1194 
1195 PROTOBUF_NAMESPACE_OPEN
1196 
1197 template <> struct is_proto_enum< ::ignition::msgs::Any_ValueType> : ::std::true_type {};
1198 template <>
1199 inline const EnumDescriptor* GetEnumDescriptor< ::ignition::msgs::Any_ValueType>() {
1201 }
1202 
1203 PROTOBUF_NAMESPACE_CLOSE
1204 
1205 #ifdef _MSC_VER
1206 #pragma warning(pop)
1207 #endif
1208 // @@protoc_insertion_point(global_scope)
1209 
1210 #include <google/protobuf/port_undef.inc>
1211 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fany_2eproto
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fany_2eproto
Definition: any.pb.h:123
bool has_string_value() const
Definition: any.pb.h:727
Any()
Definition: any.pb.h:125
void unsafe_arena_set_allocated_vector3d_value(::ignition::msgs::Vector3d *vector3d_value)
Definition: any.pb.h:887
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: any.pb.h:159
bool has_double_value() const
Definition: any.pb.h:651
Any & operator=(const Any &from)
Definition: any.pb.h:135
::ignition::msgs::Pose * mutable_pose3d_value()
Definition: any.pb.h:1035
bool has_header() const
Definition: any.pb.h:545
Any * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Definition: any.pb.h:209
void set_string_value(ArgT0 &&arg0, ArgT... args)
Definition: any.pb.h:744
::ignition::msgs::Header * mutable_header()
Definition: any.pb.h:600
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
bool has_pose3d_value() const
Definition: any.pb.h:979
Any(const Any &from)
constexpr Any(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
const ::ignition::msgs::Color & color_value() const
Definition: any.pb.h:938
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: any.pb.h:153
void clear_quaternion_value()
Any & operator=(Any &&from) noexcept
Definition: any.pb.h:139
std::string * mutable_string_value()
Definition: any.pb.h:753
::ignition::msgs::Time * mutable_time_value()
Definition: any.pb.h:1167
void set_int_value(int32_t value)
Definition: any.pb.h:718
void set_allocated_string_value(std::string *string_value)
Definition: any.pb.h:790
int32_t int_value() const
Definition: any.pb.h:714
PROTOBUF_NODISCARD ::ignition::msgs::Quaternion * release_quaternion_value()
Definition: any.pb.h:1051
void UnsafeArenaSwap(Any *other)
Definition: any.pb.h:201
::ignition::msgs::Time * unsafe_arena_release_time_value()
Definition: any.pb.h:1140
const std::string & string_value() const
Definition: any.pb.h:739
::ignition::msgs::Quaternion * unsafe_arena_release_quaternion_value()
Definition: any.pb.h:1074
void unsafe_arena_set_allocated_pose3d_value(::ignition::msgs::Pose *pose3d_value)
Definition: any.pb.h:1019
void clear_bool_value()
Definition: any.pb.h:815
void clear_double_value()
Definition: any.pb.h:657
void unsafe_arena_set_allocated_header(::ignition::msgs::Header *header)
Definition: any.pb.h:557
const ::ignition::msgs::Vector3d & vector3d_value() const
Definition: any.pb.h:872
ValueCase
Definition: any.pb.h:165
PROTOBUF_NODISCARD ::ignition::msgs::Pose * release_pose3d_value()
Definition: any.pb.h:985
void set_allocated_color_value(::ignition::msgs::Color *color_value)
Any(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
void MergeFrom(const Any &from)
::ignition::msgs::Vector3d * unsafe_arena_release_vector3d_value()
Definition: any.pb.h:876
void unsafe_arena_set_allocated_time_value(::ignition::msgs::Time *time_value)
Definition: any.pb.h:1151
void set_double_value(double value)
Definition: any.pb.h:680
::ignition::msgs::Color * mutable_color_value()
Definition: any.pb.h:969
const ::ignition::msgs::Quaternion & quaternion_value() const
Definition: any.pb.h:1070
void set_bool_value(bool value)
Definition: any.pb.h:838
const ::ignition::msgs::Pose & pose3d_value() const
Definition: any.pb.h:1004
void set_type(::ignition::msgs::Any_ValueType value)
Definition: any.pb.h:642
void CopyFrom(const Any &from)
Any(Any &&from) noexcept
Definition: any.pb.h:130
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * ValueType_descriptor()
Definition: any.pb.h:285
void unsafe_arena_set_allocated_color_value(::ignition::msgs::Color *color_value)
Definition: any.pb.h:953
ValueCase value_case() const
Definition: any.pb.h:1179
void set_allocated_vector3d_value(::ignition::msgs::Vector3d *vector3d_value)
static bool ValueType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ValueType *value)
Definition: any.pb.h:295
bool has_int_value() const
Definition: any.pb.h:689
PROTOBUF_NODISCARD std::string * release_string_value()
Definition: any.pb.h:781
void unsafe_arena_set_allocated_quaternion_value(::ignition::msgs::Quaternion *quaternion_value)
Definition: any.pb.h:1085
void clear_type()
Definition: any.pb.h:628
double double_value() const
Definition: any.pb.h:676
bool has_bool_value() const
Definition: any.pb.h:809
friend void swap(Any &a, Any &b)
Definition: any.pb.h:185
void set_allocated_header(::ignition::msgs::Header *header)
Definition: any.pb.h:605
void set_allocated_pose3d_value(::ignition::msgs::Pose *pose3d_value)
PROTOBUF_NODISCARD ::ignition::msgs::Vector3d * release_vector3d_value()
Definition: any.pb.h:853
::ignition::msgs::Quaternion * mutable_quaternion_value()
Definition: any.pb.h:1101
void clear_int_value()
Definition: any.pb.h:695
::ignition::msgs::Pose * unsafe_arena_release_pose3d_value()
Definition: any.pb.h:1008
PROTOBUF_NODISCARD ::ignition::msgs::Header * release_header()
Definition: any.pb.h:570
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
static const std::string & ValueType_Name(T enum_t_value)
Definition: any.pb.h:289
::ignition::msgs::Color * unsafe_arena_release_color_value()
Definition: any.pb.h:942
bool has_color_value() const
Definition: any.pb.h:913
::ignition::msgs::Any_ValueType type() const
Definition: any.pb.h:634
::ignition::msgs::Vector3d * mutable_vector3d_value()
Definition: any.pb.h:903
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: any.pb.h:156
void set_allocated_quaternion_value(::ignition::msgs::Quaternion *quaternion_value)
bool has_vector3d_value() const
Definition: any.pb.h:847
bool has_quaternion_value() const
Definition: any.pb.h:1045
const ::ignition::msgs::Header & header() const
Definition: any.pb.h:553
const ::ignition::msgs::Time & time_value() const
Definition: any.pb.h:1136
PROTOBUF_NODISCARD ::ignition::msgs::Time * release_time_value()
Definition: any.pb.h:1117
void Swap(Any *other)
Definition: any.pb.h:188
bool has_time_value() const
Definition: any.pb.h:1111
static const ClassData _class_data_
Definition: any.pb.h:247
void set_allocated_time_value(::ignition::msgs::Time *time_value)
::ignition::msgs::Header * unsafe_arena_release_header()
Definition: any.pb.h:585
bool bool_value() const
Definition: any.pb.h:834
PROTOBUF_NODISCARD ::ignition::msgs::Color * release_color_value()
Definition: any.pb.h:919
static const Any * internal_default_instance()
Definition: any.pb.h:178
void clear_string_value()
Definition: any.pb.h:733
static const Any & default_instance()
Definition: any.pb.h:162
Definition: color.pb.h:84
Definition: header.pb.h:265
Definition: pose.pb.h:86
Definition: quaternion.pb.h:84
Definition: time.pb.h:83
Definition: vector3d.pb.h:84
T max(T... args)
T min(T... args)
IGNITION_MSGS_VISIBLE ColorDefaultTypeInternal _Color_default_instance_
IGNITION_MSGS_VISIBLE Vector3dDefaultTypeInternal _Vector3d_default_instance_
IGNITION_MSGS_VISIBLE QuaternionDefaultTypeInternal _Quaternion_default_instance_
constexpr Any_ValueType Any_ValueType_ValueType_MAX
Definition: any.pb.h:103
Any_ValueType
Definition: any.pb.h:87
@ Any_ValueType_VECTOR3D
Definition: any.pb.h:93
@ Any_ValueType_INT32
Definition: any.pb.h:90
@ Any_ValueType_POSE3D
Definition: any.pb.h:95
@ Any_ValueType_DOUBLE
Definition: any.pb.h:89
@ Any_ValueType_Any_ValueType_INT_MIN_SENTINEL_DO_NOT_USE_
Definition: any.pb.h:98
@ Any_ValueType_STRING
Definition: any.pb.h:91
@ Any_ValueType_BOOLEAN
Definition: any.pb.h:92
@ Any_ValueType_COLOR
Definition: any.pb.h:94
@ Any_ValueType_Any_ValueType_INT_MAX_SENTINEL_DO_NOT_USE_
Definition: any.pb.h:99
@ Any_ValueType_TIME
Definition: any.pb.h:97
@ Any_ValueType_NONE
Definition: any.pb.h:88
@ Any_ValueType_QUATERNIOND
Definition: any.pb.h:96
std::shared_ptr< Any > AnySharedPtr
Definition: any.pb.h:1188
std::unique_ptr< const Any > ConstAnyUniquePtr
Definition: any.pb.h:1187
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * Any_ValueType_descriptor()
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
IGNITION_MSGS_VISIBLE bool Any_ValueType_IsValid(int value)
IGNITION_MSGS_VISIBLE PoseDefaultTypeInternal _Pose_default_instance_
IGNITION_MSGS_VISIBLE AnyDefaultTypeInternal _Any_default_instance_
bool Any_ValueType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Any_ValueType *value)
Definition: any.pb.h:115
constexpr Any_ValueType Any_ValueType_ValueType_MIN
Definition: any.pb.h:102
std::shared_ptr< const Any > ConstAnySharedPtr
Definition: any.pb.h:1189
IGNITION_MSGS_VISIBLE TimeDefaultTypeInternal _Time_default_instance_
constexpr int Any_ValueType_ValueType_ARRAYSIZE
Definition: any.pb.h:104
const std::string & Any_ValueType_Name(T enum_t_value)
Definition: any.pb.h:108
std::unique_ptr< Any > AnyUniquePtr
Definition: any.pb.h:1186
Definition: actor.pb.h:52
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[1] PROTOBUF_SECTION_VARIABLE(protodesc_cold)