Gazebo Msgs

API Reference

5.11.0
build/ignition-msgs5/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 PROTOBUF_INCLUDED_ignition_2fmsgs_2fany_2eproto
5 #define PROTOBUF_INCLUDED_ignition_2fmsgs_2fany_2eproto
6 
7 #include <string>
8 
9 #include <google/protobuf/stubs/common.h>
10 
11 #if GOOGLE_PROTOBUF_VERSION < 3006001
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 3006001 < GOOGLE_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/io/coded_stream.h>
23 #include <google/protobuf/arena.h>
24 #include <google/protobuf/arenastring.h>
25 #include <google/protobuf/generated_message_table_driven.h>
26 #include <google/protobuf/generated_message_util.h>
27 #include <google/protobuf/inlined_string_field.h>
28 #include <google/protobuf/metadata.h>
29 #include <google/protobuf/message.h>
30 #include <google/protobuf/repeated_field.h> // IWYU pragma: export
31 #include <google/protobuf/extension_set.h> // IWYU pragma: export
32 #include <google/protobuf/generated_enum_reflection.h>
33 #include <google/protobuf/unknown_field_set.h>
35 #include "ignition/msgs/color.pb.h"
36 #include "ignition/msgs/pose.pb.h"
38 #include "ignition/msgs/time.pb.h"
40 #ifndef _MSC_VER
41 #pragma GCC system_header
42 #else
43 #pragma warning(push)
44 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
45 #endif
46 #ifdef __linux__
47 #include <sys/sysmacros.h>
48 #endif
49 #include <memory>
50 #include <ignition/msgs/Export.hh>
51 // @@protoc_insertion_point(includes)
52 #define PROTOBUF_INTERNAL_EXPORT_protobuf_ignition_2fmsgs_2fany_2eproto IGNITION_MSGS_VISIBLE
53 
55 // Internal implementation detail -- do not use these members.
56 struct IGNITION_MSGS_VISIBLE TableStruct {
57  static const ::google::protobuf::internal::ParseTableField entries[];
58  static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
59  static const ::google::protobuf::internal::ParseTable schema[1];
60  static const ::google::protobuf::internal::FieldMetadata field_metadata[];
61  static const ::google::protobuf::internal::SerializationTable serialization_table[];
62  static const ::google::protobuf::uint32 offsets[];
63 };
64 void IGNITION_MSGS_VISIBLE AddDescriptors();
65 } // namespace protobuf_ignition_2fmsgs_2fany_2eproto
66 namespace ignition {
67 namespace msgs {
68 class Any;
69 class AnyDefaultTypeInternal;
70 IGNITION_MSGS_VISIBLE extern AnyDefaultTypeInternal _Any_default_instance_;
71 } // namespace msgs
72 } // namespace ignition
73 namespace google {
74 namespace protobuf {
75 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::Any* Arena::CreateMaybeMessage<::ignition::msgs::Any>(Arena*);
76 } // namespace protobuf
77 } // namespace google
78 namespace ignition {
79 namespace msgs {
80 
94 };
95 IGNITION_MSGS_VISIBLE bool Any_ValueType_IsValid(int value);
99 
100 IGNITION_MSGS_VISIBLE const ::google::protobuf::EnumDescriptor* Any_ValueType_descriptor();
101 inline const ::std::string& Any_ValueType_Name(Any_ValueType value) {
102  return ::google::protobuf::internal::NameOfEnum(
103  Any_ValueType_descriptor(), value);
104 }
106  const ::std::string& name, Any_ValueType* value) {
107  return ::google::protobuf::internal::ParseNamedEnum<Any_ValueType>(
108  Any_ValueType_descriptor(), name, value);
109 }
110 // ===================================================================
111 
112 class IGNITION_MSGS_VISIBLE Any : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.Any) */ {
113  public:
114  Any();
115  virtual ~Any();
116 
117  Any(const Any& from);
118 
119  inline Any& operator=(const Any& from) {
120  CopyFrom(from);
121  return *this;
122  }
123  #if LANG_CXX11
124  Any(Any&& from) noexcept
125  : Any() {
126  *this = ::std::move(from);
127  }
128 
129  inline Any& operator=(Any&& from) noexcept {
130  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
131  if (this != &from) InternalSwap(&from);
132  } else {
133  CopyFrom(from);
134  }
135  return *this;
136  }
137  #endif
138  static const ::google::protobuf::Descriptor* descriptor();
139  static const Any& default_instance();
140 
141  enum ValueCase {
142  kDoubleValue = 3,
143  kIntValue = 4,
144  kStringValue = 5,
145  kBoolValue = 6,
146  kVector3DValue = 7,
147  kColorValue = 8,
148  kPose3DValue = 9,
149  kQuaternionValue = 10,
150  kTimeValue = 11,
151  VALUE_NOT_SET = 0,
152  };
153 
154  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
155  static inline const Any* internal_default_instance() {
156  return reinterpret_cast<const Any*>(
158  }
159  static constexpr int kIndexInFileMessages =
160  0;
161 
162  void Swap(Any* other);
163  friend void swap(Any& a, Any& b) {
164  a.Swap(&b);
165  }
166 
167  // implements Message ----------------------------------------------
168 
169  inline Any* New() const final {
170  return CreateMaybeMessage<Any>(NULL);
171  }
172 
173  Any* New(::google::protobuf::Arena* arena) const final {
174  return CreateMaybeMessage<Any>(arena);
175  }
176  void CopyFrom(const ::google::protobuf::Message& from) final;
177  void MergeFrom(const ::google::protobuf::Message& from) final;
178  void CopyFrom(const Any& from);
179  void MergeFrom(const Any& from);
180  void Clear() final;
181  bool IsInitialized() const final;
182 
183  size_t ByteSizeLong() const final;
184  bool MergePartialFromCodedStream(
185  ::google::protobuf::io::CodedInputStream* input) final;
186  void SerializeWithCachedSizes(
187  ::google::protobuf::io::CodedOutputStream* output) const final;
188  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
189  bool deterministic, ::google::protobuf::uint8* target) const final;
190  int GetCachedSize() const final { return _cached_size_.Get(); }
191 
192  private:
193  void SharedCtor();
194  void SharedDtor();
195  void SetCachedSize(int size) const final;
196  void InternalSwap(Any* other);
197  private:
198  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
199  return NULL;
200  }
201  inline void* MaybeArenaPtr() const {
202  return NULL;
203  }
204  public:
205 
206  ::google::protobuf::Metadata GetMetadata() const final;
207 
208  // nested types ----------------------------------------------------
209 
211  static const ValueType NONE =
213  static const ValueType DOUBLE =
215  static const ValueType INT32 =
217  static const ValueType STRING =
219  static const ValueType BOOLEAN =
221  static const ValueType VECTOR3D =
223  static const ValueType COLOR =
225  static const ValueType POSE3D =
227  static const ValueType QUATERNIOND =
229  static const ValueType TIME =
231  static inline bool ValueType_IsValid(int value) {
232  return Any_ValueType_IsValid(value);
233  }
234  static const ValueType ValueType_MIN =
236  static const ValueType ValueType_MAX =
238  static const int ValueType_ARRAYSIZE =
240  static inline const ::google::protobuf::EnumDescriptor*
242  return Any_ValueType_descriptor();
243  }
244  static inline const ::std::string& ValueType_Name(ValueType value) {
245  return Any_ValueType_Name(value);
246  }
247  static inline bool ValueType_Parse(const ::std::string& name,
248  ValueType* value) {
249  return Any_ValueType_Parse(name, value);
250  }
251 
252  // accessors -------------------------------------------------------
253 
254  // .ignition.msgs.Header header = 1;
255  bool has_header() const;
256  void clear_header();
257  static const int kHeaderFieldNumber = 1;
258  private:
259  const ::ignition::msgs::Header& _internal_header() const;
260  public:
261  const ::ignition::msgs::Header& header() const;
262  ::ignition::msgs::Header* release_header();
263  ::ignition::msgs::Header* mutable_header();
264  void set_allocated_header(::ignition::msgs::Header* header);
265 
266  // .ignition.msgs.Any.ValueType type = 2;
267  void clear_type();
268  static const int kTypeFieldNumber = 2;
269  ::ignition::msgs::Any_ValueType type() const;
270  void set_type(::ignition::msgs::Any_ValueType value);
271 
272  // double double_value = 3;
273  private:
274  bool has_double_value() const;
275  public:
276  void clear_double_value();
277  static const int kDoubleValueFieldNumber = 3;
278  double double_value() const;
279  void set_double_value(double value);
280 
281  // int32 int_value = 4;
282  private:
283  bool has_int_value() const;
284  public:
285  void clear_int_value();
286  static const int kIntValueFieldNumber = 4;
287  ::google::protobuf::int32 int_value() const;
288  void set_int_value(::google::protobuf::int32 value);
289 
290  // string string_value = 5;
291  private:
292  bool has_string_value() const;
293  public:
294  void clear_string_value();
295  static const int kStringValueFieldNumber = 5;
296  const ::std::string& string_value() const;
297  void set_string_value(const ::std::string& value);
298  #if LANG_CXX11
299  void set_string_value(::std::string&& value);
300  #endif
301  void set_string_value(const char* value);
302  void set_string_value(const char* value, size_t size);
303  ::std::string* mutable_string_value();
304  ::std::string* release_string_value();
305  void set_allocated_string_value(::std::string* string_value);
306 
307  // bool bool_value = 6;
308  private:
309  bool has_bool_value() const;
310  public:
311  void clear_bool_value();
312  static const int kBoolValueFieldNumber = 6;
313  bool bool_value() const;
314  void set_bool_value(bool value);
315 
316  // .ignition.msgs.Vector3d vector3d_value = 7;
317  bool has_vector3d_value() const;
318  void clear_vector3d_value();
319  static const int kVector3DValueFieldNumber = 7;
320  private:
321  const ::ignition::msgs::Vector3d& _internal_vector3d_value() const;
322  public:
323  const ::ignition::msgs::Vector3d& vector3d_value() const;
324  ::ignition::msgs::Vector3d* release_vector3d_value();
325  ::ignition::msgs::Vector3d* mutable_vector3d_value();
326  void set_allocated_vector3d_value(::ignition::msgs::Vector3d* vector3d_value);
327 
328  // .ignition.msgs.Color color_value = 8;
329  bool has_color_value() const;
330  void clear_color_value();
331  static const int kColorValueFieldNumber = 8;
332  private:
333  const ::ignition::msgs::Color& _internal_color_value() const;
334  public:
335  const ::ignition::msgs::Color& color_value() const;
336  ::ignition::msgs::Color* release_color_value();
337  ::ignition::msgs::Color* mutable_color_value();
338  void set_allocated_color_value(::ignition::msgs::Color* color_value);
339 
340  // .ignition.msgs.Pose pose3d_value = 9;
341  bool has_pose3d_value() const;
342  void clear_pose3d_value();
343  static const int kPose3DValueFieldNumber = 9;
344  private:
345  const ::ignition::msgs::Pose& _internal_pose3d_value() const;
346  public:
347  const ::ignition::msgs::Pose& pose3d_value() const;
348  ::ignition::msgs::Pose* release_pose3d_value();
349  ::ignition::msgs::Pose* mutable_pose3d_value();
350  void set_allocated_pose3d_value(::ignition::msgs::Pose* pose3d_value);
351 
352  // .ignition.msgs.Quaternion quaternion_value = 10;
353  bool has_quaternion_value() const;
354  void clear_quaternion_value();
355  static const int kQuaternionValueFieldNumber = 10;
356  private:
357  const ::ignition::msgs::Quaternion& _internal_quaternion_value() const;
358  public:
359  const ::ignition::msgs::Quaternion& quaternion_value() const;
360  ::ignition::msgs::Quaternion* release_quaternion_value();
361  ::ignition::msgs::Quaternion* mutable_quaternion_value();
362  void set_allocated_quaternion_value(::ignition::msgs::Quaternion* quaternion_value);
363 
364  // .ignition.msgs.Time time_value = 11;
365  bool has_time_value() const;
366  void clear_time_value();
367  static const int kTimeValueFieldNumber = 11;
368  private:
369  const ::ignition::msgs::Time& _internal_time_value() const;
370  public:
371  const ::ignition::msgs::Time& time_value() const;
372  ::ignition::msgs::Time* release_time_value();
373  ::ignition::msgs::Time* mutable_time_value();
374  void set_allocated_time_value(::ignition::msgs::Time* time_value);
375 
376  void clear_value();
377  ValueCase value_case() const;
378  // @@protoc_insertion_point(class_scope:ignition.msgs.Any)
379  private:
380  void set_has_double_value();
381  void set_has_int_value();
382  void set_has_string_value();
383  void set_has_bool_value();
384  void set_has_vector3d_value();
385  void set_has_color_value();
386  void set_has_pose3d_value();
387  void set_has_quaternion_value();
388  void set_has_time_value();
389 
390  inline bool has_value() const;
391  inline void clear_has_value();
392 
393  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
394  ::ignition::msgs::Header* header_;
395  int type_;
396  union ValueUnion {
397  ValueUnion() {}
398  double double_value_;
399  ::google::protobuf::int32 int_value_;
400  ::google::protobuf::internal::ArenaStringPtr string_value_;
401  bool bool_value_;
402  ::ignition::msgs::Vector3d* vector3d_value_;
403  ::ignition::msgs::Color* color_value_;
404  ::ignition::msgs::Pose* pose3d_value_;
405  ::ignition::msgs::Quaternion* quaternion_value_;
406  ::ignition::msgs::Time* time_value_;
407  } value_;
408  mutable ::google::protobuf::internal::CachedSize _cached_size_;
409  ::google::protobuf::uint32 _oneof_case_[1];
410 
411  friend struct ::protobuf_ignition_2fmsgs_2fany_2eproto::TableStruct;
412 };
413 // ===================================================================
414 
415 
416 // ===================================================================
417 
418 #ifdef __GNUC__
419  #pragma GCC diagnostic push
420  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
421 #endif // __GNUC__
422 // Any
423 
424 // .ignition.msgs.Header header = 1;
425 inline bool Any::has_header() const {
426  return this != internal_default_instance() && header_ != NULL;
427 }
428 inline const ::ignition::msgs::Header& Any::_internal_header() const {
429  return *header_;
430 }
431 inline const ::ignition::msgs::Header& Any::header() const {
432  const ::ignition::msgs::Header* p = header_;
433  // @@protoc_insertion_point(field_get:ignition.msgs.Any.header)
434  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Header*>(
436 }
437 inline ::ignition::msgs::Header* Any::release_header() {
438  // @@protoc_insertion_point(field_release:ignition.msgs.Any.header)
439 
440  ::ignition::msgs::Header* temp = header_;
441  header_ = NULL;
442  return temp;
443 }
444 inline ::ignition::msgs::Header* Any::mutable_header() {
445 
446  if (header_ == NULL) {
447  auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArenaNoVirtual());
448  header_ = p;
449  }
450  // @@protoc_insertion_point(field_mutable:ignition.msgs.Any.header)
451  return header_;
452 }
454  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
455  if (message_arena == NULL) {
456  delete reinterpret_cast< ::google::protobuf::MessageLite*>(header_);
457  }
458  if (header) {
459  ::google::protobuf::Arena* submessage_arena = NULL;
460  if (message_arena != submessage_arena) {
461  header = ::google::protobuf::internal::GetOwnedMessage(
462  message_arena, header, submessage_arena);
463  }
464 
465  } else {
466 
467  }
468  header_ = header;
469  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Any.header)
470 }
471 
472 // .ignition.msgs.Any.ValueType type = 2;
473 inline void Any::clear_type() {
474  type_ = 0;
475 }
477  // @@protoc_insertion_point(field_get:ignition.msgs.Any.type)
478  return static_cast< ::ignition::msgs::Any_ValueType >(type_);
479 }
481 
482  type_ = value;
483  // @@protoc_insertion_point(field_set:ignition.msgs.Any.type)
484 }
485 
486 // double double_value = 3;
487 inline bool Any::has_double_value() const {
488  return value_case() == kDoubleValue;
489 }
490 inline void Any::set_has_double_value() {
491  _oneof_case_[0] = kDoubleValue;
492 }
493 inline void Any::clear_double_value() {
494  if (has_double_value()) {
495  value_.double_value_ = 0;
496  clear_has_value();
497  }
498 }
499 inline double Any::double_value() const {
500  // @@protoc_insertion_point(field_get:ignition.msgs.Any.double_value)
501  if (has_double_value()) {
502  return value_.double_value_;
503  }
504  return 0;
505 }
506 inline void Any::set_double_value(double value) {
507  if (!has_double_value()) {
508  clear_value();
509  set_has_double_value();
510  }
511  value_.double_value_ = value;
512  // @@protoc_insertion_point(field_set:ignition.msgs.Any.double_value)
513 }
514 
515 // int32 int_value = 4;
516 inline bool Any::has_int_value() const {
517  return value_case() == kIntValue;
518 }
519 inline void Any::set_has_int_value() {
520  _oneof_case_[0] = kIntValue;
521 }
522 inline void Any::clear_int_value() {
523  if (has_int_value()) {
524  value_.int_value_ = 0;
525  clear_has_value();
526  }
527 }
528 inline ::google::protobuf::int32 Any::int_value() const {
529  // @@protoc_insertion_point(field_get:ignition.msgs.Any.int_value)
530  if (has_int_value()) {
531  return value_.int_value_;
532  }
533  return 0;
534 }
535 inline void Any::set_int_value(::google::protobuf::int32 value) {
536  if (!has_int_value()) {
537  clear_value();
538  set_has_int_value();
539  }
540  value_.int_value_ = value;
541  // @@protoc_insertion_point(field_set:ignition.msgs.Any.int_value)
542 }
543 
544 // string string_value = 5;
545 inline bool Any::has_string_value() const {
546  return value_case() == kStringValue;
547 }
548 inline void Any::set_has_string_value() {
549  _oneof_case_[0] = kStringValue;
550 }
551 inline void Any::clear_string_value() {
552  if (has_string_value()) {
553  value_.string_value_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
554  clear_has_value();
555  }
556 }
557 inline const ::std::string& Any::string_value() const {
558  // @@protoc_insertion_point(field_get:ignition.msgs.Any.string_value)
559  if (has_string_value()) {
560  return value_.string_value_.GetNoArena();
561  }
562  return *&::google::protobuf::internal::GetEmptyStringAlreadyInited();
563 }
564 inline void Any::set_string_value(const ::std::string& value) {
565  // @@protoc_insertion_point(field_set:ignition.msgs.Any.string_value)
566  if (!has_string_value()) {
567  clear_value();
568  set_has_string_value();
569  value_.string_value_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
570  }
571  value_.string_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
572  // @@protoc_insertion_point(field_set:ignition.msgs.Any.string_value)
573 }
574 #if LANG_CXX11
575 inline void Any::set_string_value(::std::string&& value) {
576  // @@protoc_insertion_point(field_set:ignition.msgs.Any.string_value)
577  if (!has_string_value()) {
578  clear_value();
579  set_has_string_value();
580  value_.string_value_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
581  }
582  value_.string_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
583  // @@protoc_insertion_point(field_set_rvalue:ignition.msgs.Any.string_value)
584 }
585 #endif
586 inline void Any::set_string_value(const char* value) {
587  GOOGLE_DCHECK(value != NULL);
588  if (!has_string_value()) {
589  clear_value();
590  set_has_string_value();
591  value_.string_value_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
592  }
593  value_.string_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
594  ::std::string(value));
595  // @@protoc_insertion_point(field_set_char:ignition.msgs.Any.string_value)
596 }
597 inline void Any::set_string_value(const char* value, size_t size) {
598  if (!has_string_value()) {
599  clear_value();
600  set_has_string_value();
601  value_.string_value_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
602  }
603  value_.string_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(
604  reinterpret_cast<const char*>(value), size));
605  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.Any.string_value)
606 }
607 inline ::std::string* Any::mutable_string_value() {
608  if (!has_string_value()) {
609  clear_value();
610  set_has_string_value();
611  value_.string_value_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
612  }
613  // @@protoc_insertion_point(field_mutable:ignition.msgs.Any.string_value)
614  return value_.string_value_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
615 }
616 inline ::std::string* Any::release_string_value() {
617  // @@protoc_insertion_point(field_release:ignition.msgs.Any.string_value)
618  if (has_string_value()) {
619  clear_has_value();
620  return value_.string_value_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
621  } else {
622  return NULL;
623  }
624 }
625 inline void Any::set_allocated_string_value(::std::string* string_value) {
626  if (!has_string_value()) {
627  value_.string_value_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
628  }
629  clear_value();
630  if (string_value != NULL) {
631  set_has_string_value();
632  value_.string_value_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), string_value);
633  }
634  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Any.string_value)
635 }
636 
637 // bool bool_value = 6;
638 inline bool Any::has_bool_value() const {
639  return value_case() == kBoolValue;
640 }
641 inline void Any::set_has_bool_value() {
642  _oneof_case_[0] = kBoolValue;
643 }
644 inline void Any::clear_bool_value() {
645  if (has_bool_value()) {
646  value_.bool_value_ = false;
647  clear_has_value();
648  }
649 }
650 inline bool Any::bool_value() const {
651  // @@protoc_insertion_point(field_get:ignition.msgs.Any.bool_value)
652  if (has_bool_value()) {
653  return value_.bool_value_;
654  }
655  return false;
656 }
657 inline void Any::set_bool_value(bool value) {
658  if (!has_bool_value()) {
659  clear_value();
660  set_has_bool_value();
661  }
662  value_.bool_value_ = value;
663  // @@protoc_insertion_point(field_set:ignition.msgs.Any.bool_value)
664 }
665 
666 // .ignition.msgs.Vector3d vector3d_value = 7;
667 inline bool Any::has_vector3d_value() const {
668  return value_case() == kVector3DValue;
669 }
670 inline void Any::set_has_vector3d_value() {
671  _oneof_case_[0] = kVector3DValue;
672 }
673 inline const ::ignition::msgs::Vector3d& Any::_internal_vector3d_value() const {
674  return *value_.vector3d_value_;
675 }
676 inline ::ignition::msgs::Vector3d* Any::release_vector3d_value() {
677  // @@protoc_insertion_point(field_release:ignition.msgs.Any.vector3d_value)
678  if (has_vector3d_value()) {
679  clear_has_value();
680  ::ignition::msgs::Vector3d* temp = value_.vector3d_value_;
681  value_.vector3d_value_ = NULL;
682  return temp;
683  } else {
684  return NULL;
685  }
686 }
687 inline const ::ignition::msgs::Vector3d& Any::vector3d_value() const {
688  // @@protoc_insertion_point(field_get:ignition.msgs.Any.vector3d_value)
689  return has_vector3d_value()
690  ? *value_.vector3d_value_
692 }
693 inline ::ignition::msgs::Vector3d* Any::mutable_vector3d_value() {
694  if (!has_vector3d_value()) {
695  clear_value();
696  set_has_vector3d_value();
697  value_.vector3d_value_ = CreateMaybeMessage< ::ignition::msgs::Vector3d >(
698  GetArenaNoVirtual());
699  }
700  // @@protoc_insertion_point(field_mutable:ignition.msgs.Any.vector3d_value)
701  return value_.vector3d_value_;
702 }
703 
704 // .ignition.msgs.Color color_value = 8;
705 inline bool Any::has_color_value() const {
706  return value_case() == kColorValue;
707 }
708 inline void Any::set_has_color_value() {
709  _oneof_case_[0] = kColorValue;
710 }
711 inline const ::ignition::msgs::Color& Any::_internal_color_value() const {
712  return *value_.color_value_;
713 }
714 inline ::ignition::msgs::Color* Any::release_color_value() {
715  // @@protoc_insertion_point(field_release:ignition.msgs.Any.color_value)
716  if (has_color_value()) {
717  clear_has_value();
718  ::ignition::msgs::Color* temp = value_.color_value_;
719  value_.color_value_ = NULL;
720  return temp;
721  } else {
722  return NULL;
723  }
724 }
725 inline const ::ignition::msgs::Color& Any::color_value() const {
726  // @@protoc_insertion_point(field_get:ignition.msgs.Any.color_value)
727  return has_color_value()
728  ? *value_.color_value_
730 }
731 inline ::ignition::msgs::Color* Any::mutable_color_value() {
732  if (!has_color_value()) {
733  clear_value();
734  set_has_color_value();
735  value_.color_value_ = CreateMaybeMessage< ::ignition::msgs::Color >(
736  GetArenaNoVirtual());
737  }
738  // @@protoc_insertion_point(field_mutable:ignition.msgs.Any.color_value)
739  return value_.color_value_;
740 }
741 
742 // .ignition.msgs.Pose pose3d_value = 9;
743 inline bool Any::has_pose3d_value() const {
744  return value_case() == kPose3DValue;
745 }
746 inline void Any::set_has_pose3d_value() {
747  _oneof_case_[0] = kPose3DValue;
748 }
749 inline const ::ignition::msgs::Pose& Any::_internal_pose3d_value() const {
750  return *value_.pose3d_value_;
751 }
752 inline ::ignition::msgs::Pose* Any::release_pose3d_value() {
753  // @@protoc_insertion_point(field_release:ignition.msgs.Any.pose3d_value)
754  if (has_pose3d_value()) {
755  clear_has_value();
756  ::ignition::msgs::Pose* temp = value_.pose3d_value_;
757  value_.pose3d_value_ = NULL;
758  return temp;
759  } else {
760  return NULL;
761  }
762 }
763 inline const ::ignition::msgs::Pose& Any::pose3d_value() const {
764  // @@protoc_insertion_point(field_get:ignition.msgs.Any.pose3d_value)
765  return has_pose3d_value()
766  ? *value_.pose3d_value_
768 }
769 inline ::ignition::msgs::Pose* Any::mutable_pose3d_value() {
770  if (!has_pose3d_value()) {
771  clear_value();
772  set_has_pose3d_value();
773  value_.pose3d_value_ = CreateMaybeMessage< ::ignition::msgs::Pose >(
774  GetArenaNoVirtual());
775  }
776  // @@protoc_insertion_point(field_mutable:ignition.msgs.Any.pose3d_value)
777  return value_.pose3d_value_;
778 }
779 
780 // .ignition.msgs.Quaternion quaternion_value = 10;
781 inline bool Any::has_quaternion_value() const {
782  return value_case() == kQuaternionValue;
783 }
784 inline void Any::set_has_quaternion_value() {
785  _oneof_case_[0] = kQuaternionValue;
786 }
787 inline const ::ignition::msgs::Quaternion& Any::_internal_quaternion_value() const {
788  return *value_.quaternion_value_;
789 }
790 inline ::ignition::msgs::Quaternion* Any::release_quaternion_value() {
791  // @@protoc_insertion_point(field_release:ignition.msgs.Any.quaternion_value)
792  if (has_quaternion_value()) {
793  clear_has_value();
794  ::ignition::msgs::Quaternion* temp = value_.quaternion_value_;
795  value_.quaternion_value_ = NULL;
796  return temp;
797  } else {
798  return NULL;
799  }
800 }
801 inline const ::ignition::msgs::Quaternion& Any::quaternion_value() const {
802  // @@protoc_insertion_point(field_get:ignition.msgs.Any.quaternion_value)
803  return has_quaternion_value()
804  ? *value_.quaternion_value_
806 }
807 inline ::ignition::msgs::Quaternion* Any::mutable_quaternion_value() {
808  if (!has_quaternion_value()) {
809  clear_value();
810  set_has_quaternion_value();
811  value_.quaternion_value_ = CreateMaybeMessage< ::ignition::msgs::Quaternion >(
812  GetArenaNoVirtual());
813  }
814  // @@protoc_insertion_point(field_mutable:ignition.msgs.Any.quaternion_value)
815  return value_.quaternion_value_;
816 }
817 
818 // .ignition.msgs.Time time_value = 11;
819 inline bool Any::has_time_value() const {
820  return value_case() == kTimeValue;
821 }
822 inline void Any::set_has_time_value() {
823  _oneof_case_[0] = kTimeValue;
824 }
825 inline const ::ignition::msgs::Time& Any::_internal_time_value() const {
826  return *value_.time_value_;
827 }
828 inline ::ignition::msgs::Time* Any::release_time_value() {
829  // @@protoc_insertion_point(field_release:ignition.msgs.Any.time_value)
830  if (has_time_value()) {
831  clear_has_value();
832  ::ignition::msgs::Time* temp = value_.time_value_;
833  value_.time_value_ = NULL;
834  return temp;
835  } else {
836  return NULL;
837  }
838 }
839 inline const ::ignition::msgs::Time& Any::time_value() const {
840  // @@protoc_insertion_point(field_get:ignition.msgs.Any.time_value)
841  return has_time_value()
842  ? *value_.time_value_
844 }
845 inline ::ignition::msgs::Time* Any::mutable_time_value() {
846  if (!has_time_value()) {
847  clear_value();
848  set_has_time_value();
849  value_.time_value_ = CreateMaybeMessage< ::ignition::msgs::Time >(
850  GetArenaNoVirtual());
851  }
852  // @@protoc_insertion_point(field_mutable:ignition.msgs.Any.time_value)
853  return value_.time_value_;
854 }
855 
856 inline bool Any::has_value() const {
857  return value_case() != VALUE_NOT_SET;
858 }
859 inline void Any::clear_has_value() {
860  _oneof_case_[0] = VALUE_NOT_SET;
861 }
863  return Any::ValueCase(_oneof_case_[0]);
864 }
865 #ifdef __GNUC__
866  #pragma GCC diagnostic pop
867 #endif // __GNUC__
868 
873 // @@protoc_insertion_point(namespace_scope)
874 
875 } // namespace msgs
876 } // namespace ignition
877 
878 namespace google {
879 namespace protobuf {
880 
881 template <> struct is_proto_enum< ::ignition::msgs::Any_ValueType> : ::std::true_type {};
882 template <>
883 inline const EnumDescriptor* GetEnumDescriptor< ::ignition::msgs::Any_ValueType>() {
885 }
886 
887 } // namespace protobuf
888 } // namespace google
889 
890 #ifdef _MSC_VER
891 #pragma warning(pop)
892 #endif
893 // @@protoc_insertion_point(global_scope)
894 
895 #endif // PROTOBUF_INCLUDED_ignition_2fmsgs_2fany_2eproto
@ kPose3DValue
Definition: build/ignition-msgs5/include/ignition/msgs/any.pb.h:148
@ kBoolValue
Definition: build/ignition-msgs5/include/ignition/msgs/any.pb.h:145
@ Any_ValueType_COLOR
Definition: build/ignition-msgs5/include/ignition/msgs/any.pb.h:88
Definition: build/ignition-msgs5/include/ignition/msgs/any.pb.h:54
::ignition::msgs::Pose * release_pose3d_value()
Definition: build/ignition-msgs5/include/ignition/msgs/any.pb.h:752
bool has_pose3d_value() const
Definition: build/ignition-msgs5/include/ignition/msgs/any.pb.h:743
void Swap(Any *other)
::ignition::msgs::Pose * mutable_pose3d_value()
Definition: build/ignition-msgs5/include/ignition/msgs/any.pb.h:769
Definition: build/ignition-msgs5/include/ignition/msgs/any.pb.h:56
void IGNITION_MSGS_VISIBLE AddDescriptors()
STL class.
STL class.
Definition: build/ignition-msgs5/include/ignition/msgs/time.pb.h:76
::std::string * release_string_value()
Definition: build/ignition-msgs5/include/ignition/msgs/any.pb.h:616
::ignition::msgs::Time * mutable_time_value()
Definition: build/ignition-msgs5/include/ignition/msgs/any.pb.h:845
::ignition::msgs::Quaternion * release_quaternion_value()
Definition: build/ignition-msgs5/include/ignition/msgs/any.pb.h:790
friend void swap(Any &a, Any &b)
Definition: build/ignition-msgs5/include/ignition/msgs/any.pb.h:163
T move(T... args)
void clear_int_value()
Definition: build/ignition-msgs5/include/ignition/msgs/any.pb.h:522
::ignition::msgs::Header * release_header()
Definition: build/ignition-msgs5/include/ignition/msgs/any.pb.h:437
@ Any_ValueType_QUATERNIOND
Definition: build/ignition-msgs5/include/ignition/msgs/any.pb.h:90
Definition: build/ignition-msgs5/include/ignition/msgs/vector3d.pb.h:77
const ::ignition::msgs::Vector3d & vector3d_value() const
Definition: build/ignition-msgs5/include/ignition/msgs/any.pb.h:687
@ Any_ValueType_VECTOR3D
Definition: build/ignition-msgs5/include/ignition/msgs/any.pb.h:87
@ kVector3DValue
Definition: build/ignition-msgs5/include/ignition/msgs/any.pb.h:146
@ kColorValue
Definition: build/ignition-msgs5/include/ignition/msgs/any.pb.h:147
::ignition::msgs::Quaternion * mutable_quaternion_value()
Definition: build/ignition-msgs5/include/ignition/msgs/any.pb.h:807
const ::ignition::msgs::Color & color_value() const
Definition: build/ignition-msgs5/include/ignition/msgs/any.pb.h:725
std::shared_ptr< Any > AnySharedPtr
Definition: build/ignition-msgs5/include/ignition/msgs/any.pb.h:871
ValueCase value_case() const
Definition: build/ignition-msgs5/include/ignition/msgs/any.pb.h:862
Definition: build/ignition-msgs5/include/ignition/msgs/pose.pb.h:79
@ Any_ValueType_Any_ValueType_INT_MAX_SENTINEL_DO_NOT_USE_
Definition: build/ignition-msgs5/include/ignition/msgs/any.pb.h:93
@ kIntValue
Definition: build/ignition-msgs5/include/ignition/msgs/any.pb.h:143
::ignition::msgs::Any_ValueType type() const
Definition: build/ignition-msgs5/include/ignition/msgs/any.pb.h:476
IGNITION_MSGS_VISIBLE TimeDefaultTypeInternal _Time_default_instance_
::google::protobuf::int32 int_value() const
Definition: build/ignition-msgs5/include/ignition/msgs/any.pb.h:528
Definition: build/ignition-msgs5/include/ignition/msgs/quaternion.pb.h:77
::ignition::msgs::Color * release_color_value()
Definition: build/ignition-msgs5/include/ignition/msgs/any.pb.h:714
static const ::google::protobuf::EnumDescriptor * ValueType_descriptor()
Definition: build/ignition-msgs5/include/ignition/msgs/any.pb.h:241
std::shared_ptr< const Any > ConstAnySharedPtr
Definition: build/ignition-msgs5/include/ignition/msgs/any.pb.h:872
const ::std::string & string_value() const
Definition: build/ignition-msgs5/include/ignition/msgs/any.pb.h:557
static const ::std::string & ValueType_Name(ValueType value)
Definition: build/ignition-msgs5/include/ignition/msgs/any.pb.h:244
::ignition::msgs::Time * release_time_value()
Definition: build/ignition-msgs5/include/ignition/msgs/any.pb.h:828
void clear_string_value()
Definition: build/ignition-msgs5/include/ignition/msgs/any.pb.h:551
@ kDoubleValue
Definition: build/ignition-msgs5/include/ignition/msgs/any.pb.h:142
bool has_quaternion_value() const
Definition: build/ignition-msgs5/include/ignition/msgs/any.pb.h:781
void set_allocated_string_value(::std::string *string_value)
Definition: build/ignition-msgs5/include/ignition/msgs/any.pb.h:625
@ Any_ValueType_STRING
Definition: build/ignition-msgs5/include/ignition/msgs/any.pb.h:85
IGNITION_MSGS_VISIBLE PoseDefaultTypeInternal _Pose_default_instance_
@ Any_ValueType_Any_ValueType_INT_MIN_SENTINEL_DO_NOT_USE_
Definition: build/ignition-msgs5/include/ignition/msgs/any.pb.h:92
::ignition::msgs::Vector3d * release_vector3d_value()
Definition: build/ignition-msgs5/include/ignition/msgs/any.pb.h:676
bool has_time_value() const
Definition: build/ignition-msgs5/include/ignition/msgs/any.pb.h:819
const ::ignition::msgs::Pose & pose3d_value() const
Definition: build/ignition-msgs5/include/ignition/msgs/any.pb.h:763
IGNITION_MSGS_VISIBLE QuaternionDefaultTypeInternal _Quaternion_default_instance_
void set_double_value(double value)
Definition: build/ignition-msgs5/include/ignition/msgs/any.pb.h:506
@ kTimeValue
Definition: build/ignition-msgs5/include/ignition/msgs/any.pb.h:150
void clear_bool_value()
Definition: build/ignition-msgs5/include/ignition/msgs/any.pb.h:644
IGNITION_MSGS_VISIBLE AnyDefaultTypeInternal _Any_default_instance_
@ Any_ValueType_NONE
Definition: build/ignition-msgs5/include/ignition/msgs/any.pb.h:82
IGNITION_MSGS_VISIBLE ColorDefaultTypeInternal _Color_default_instance_
Any_ValueType
Definition: build/ignition-msgs5/include/ignition/msgs/any.pb.h:81
void set_type(::ignition::msgs::Any_ValueType value)
Definition: build/ignition-msgs5/include/ignition/msgs/any.pb.h:480
void clear_type()
Definition: build/ignition-msgs5/include/ignition/msgs/any.pb.h:473
void set_bool_value(bool value)
Definition: build/ignition-msgs5/include/ignition/msgs/any.pb.h:657
Any * New(::google::protobuf::Arena *arena) const final
Definition: build/ignition-msgs5/include/ignition/msgs/any.pb.h:173
@ Any_ValueType_BOOLEAN
Definition: build/ignition-msgs5/include/ignition/msgs/any.pb.h:86
Definition: build/ignition-msgs5/include/ignition/msgs/color.pb.h:77
const IGNITION_MSGS_VISIBLE ::google::protobuf::EnumDescriptor * Any_ValueType_descriptor()
@ kStringValue
Definition: build/ignition-msgs5/include/ignition/msgs/any.pb.h:144
::ignition::msgs::Header * mutable_header()
Definition: build/ignition-msgs5/include/ignition/msgs/any.pb.h:444
const ::ignition::msgs::Time & time_value() const
Definition: build/ignition-msgs5/include/ignition/msgs/any.pb.h:839
std::unique_ptr< Any > AnyUniquePtr
Definition: build/ignition-msgs5/include/ignition/msgs/any.pb.h:869
static bool ValueType_Parse(const ::std::string &name, ValueType *value)
Definition: build/ignition-msgs5/include/ignition/msgs/any.pb.h:247
@ Any_ValueType_POSE3D
Definition: build/ignition-msgs5/include/ignition/msgs/any.pb.h:89
bool bool_value() const
Definition: build/ignition-msgs5/include/ignition/msgs/any.pb.h:650
IGNITION_MSGS_VISIBLE bool Any_ValueType_IsValid(int value)
bool has_vector3d_value() const
Definition: build/ignition-msgs5/include/ignition/msgs/any.pb.h:667
bool has_color_value() const
Definition: build/ignition-msgs5/include/ignition/msgs/any.pb.h:705
Any & operator=(const Any &from)
Definition: build/ignition-msgs5/include/ignition/msgs/any.pb.h:119
@ Any_ValueType_TIME
Definition: build/ignition-msgs5/include/ignition/msgs/any.pb.h:91
double double_value() const
Definition: build/ignition-msgs5/include/ignition/msgs/any.pb.h:499
const ::ignition::msgs::Header & header() const
Definition: build/ignition-msgs5/include/ignition/msgs/any.pb.h:431
IGNITION_MSGS_VISIBLE Vector3dDefaultTypeInternal _Vector3d_default_instance_
::std::string * mutable_string_value()
Definition: build/ignition-msgs5/include/ignition/msgs/any.pb.h:607
@ Any_ValueType_DOUBLE
Definition: build/ignition-msgs5/include/ignition/msgs/any.pb.h:83
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
Definition: build/ignition-msgs5/include/ignition/msgs/header.pb.h:215
bool Any_ValueType_Parse(const ::std::string &name, Any_ValueType *value)
Definition: build/ignition-msgs5/include/ignition/msgs/any.pb.h:105
void set_allocated_header(::ignition::msgs::Header *header)
Definition: build/ignition-msgs5/include/ignition/msgs/any.pb.h:453
@ kQuaternionValue
Definition: build/ignition-msgs5/include/ignition/msgs/any.pb.h:149
const int Any_ValueType_ValueType_ARRAYSIZE
Definition: build/ignition-msgs5/include/ignition/msgs/any.pb.h:98
const ::ignition::msgs::Quaternion & quaternion_value() const
Definition: build/ignition-msgs5/include/ignition/msgs/any.pb.h:801
void set_int_value(::google::protobuf::int32 value)
Definition: build/ignition-msgs5/include/ignition/msgs/any.pb.h:535
::ignition::msgs::Vector3d * mutable_vector3d_value()
Definition: build/ignition-msgs5/include/ignition/msgs/any.pb.h:693
@ VALUE_NOT_SET
Definition: build/ignition-msgs5/include/ignition/msgs/any.pb.h:151
::ignition::msgs::Color * mutable_color_value()
Definition: build/ignition-msgs5/include/ignition/msgs/any.pb.h:731
const Any_ValueType Any_ValueType_ValueType_MAX
Definition: build/ignition-msgs5/include/ignition/msgs/any.pb.h:97
Definition: build/ignition-msgs5/include/ignition/msgs/any.pb.h:112
STL class.
bool has_header() const
Definition: build/ignition-msgs5/include/ignition/msgs/any.pb.h:425
ValueCase
Definition: build/ignition-msgs5/include/ignition/msgs/any.pb.h:141
const Any_ValueType Any_ValueType_ValueType_MIN
Definition: build/ignition-msgs5/include/ignition/msgs/any.pb.h:96
void set_string_value(const ::std::string &value)
Definition: build/ignition-msgs5/include/ignition/msgs/any.pb.h:564
static const Any * internal_default_instance()
Definition: build/ignition-msgs5/include/ignition/msgs/any.pb.h:155
Any * New() const final
Definition: build/ignition-msgs5/include/ignition/msgs/any.pb.h:169
const ::std::string & Any_ValueType_Name(Any_ValueType value)
Definition: build/ignition-msgs5/include/ignition/msgs/any.pb.h:101
Definition: build/ignition-msgs5/include/ignition/msgs/actor.pb.h:78
std::unique_ptr< const Any > ConstAnyUniquePtr
Definition: build/ignition-msgs5/include/ignition/msgs/any.pb.h:870
@ Any_ValueType_INT32
Definition: build/ignition-msgs5/include/ignition/msgs/any.pb.h:84
void clear_double_value()
Definition: build/ignition-msgs5/include/ignition/msgs/any.pb.h:493