Gazebo Msgs

API Reference

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