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