Gazebo Msgs

API Reference

8.7.1
build/ignition-msgs8/include/ignition/msgs/geometry.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: ignition/msgs/geometry.proto
3 
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fgeometry_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fgeometry_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>
49 #ifndef _MSC_VER
50 #pragma GCC system_header
51 #else
52 #pragma warning(push)
53 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
54 #endif
55 #ifdef __linux__
56 #include <sys/sysmacros.h>
57 #endif
58 #include <memory>
59 #include <ignition/msgs/Export.hh>
60 // @@protoc_insertion_point(includes)
61 #include <google/protobuf/port_def.inc>
62 #define PROTOBUF_INTERNAL_EXPORT_ignition_2fmsgs_2fgeometry_2eproto IGNITION_MSGS_VISIBLE
63 PROTOBUF_NAMESPACE_OPEN
64 namespace internal {
65 class AnyMetadata;
66 } // namespace internal
67 PROTOBUF_NAMESPACE_CLOSE
68 
69 // Internal implementation detail -- do not use these members.
70 struct IGNITION_MSGS_VISIBLE TableStruct_ignition_2fmsgs_2fgeometry_2eproto {
71  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
72  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
73  static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
74  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
75  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1]
76  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
77  static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
78  static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
79  static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
80 };
81 extern IGNITION_MSGS_VISIBLE const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fgeometry_2eproto;
82 namespace ignition {
83 namespace msgs {
84 class Geometry;
85 class GeometryDefaultTypeInternal;
86 IGNITION_MSGS_VISIBLE extern GeometryDefaultTypeInternal _Geometry_default_instance_;
87 } // namespace msgs
88 } // namespace ignition
89 PROTOBUF_NAMESPACE_OPEN
90 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::Geometry* Arena::CreateMaybeMessage<::ignition::msgs::Geometry>(Arena*);
91 PROTOBUF_NAMESPACE_CLOSE
92 namespace ignition {
93 namespace msgs {
94 
95 enum Geometry_Type : int {
114 };
115 IGNITION_MSGS_VISIBLE bool Geometry_Type_IsValid(int value);
119 
120 IGNITION_MSGS_VISIBLE const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Geometry_Type_descriptor();
121 template<typename T>
122 inline const std::string& Geometry_Type_Name(T enum_t_value) {
123  static_assert(::std::is_same<T, Geometry_Type>::value ||
125  "Incorrect type passed to function Geometry_Type_Name.");
126  return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
127  Geometry_Type_descriptor(), enum_t_value);
128 }
130  const std::string& name, Geometry_Type* value) {
131  return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<Geometry_Type>(
132  Geometry_Type_descriptor(), name, value);
133 }
134 // ===================================================================
135 
136 class IGNITION_MSGS_VISIBLE Geometry PROTOBUF_FINAL :
137  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.Geometry) */ {
138  public:
139  inline Geometry() : Geometry(nullptr) {};
140  virtual ~Geometry();
141 
142  Geometry(const Geometry& from);
143  Geometry(Geometry&& from) noexcept
144  : Geometry() {
145  *this = ::std::move(from);
146  }
147 
148  inline Geometry& operator=(const Geometry& from) {
149  CopyFrom(from);
150  return *this;
151  }
152  inline Geometry& operator=(Geometry&& from) noexcept {
153  if (GetArena() == from.GetArena()) {
154  if (this != &from) InternalSwap(&from);
155  } else {
156  CopyFrom(from);
157  }
158  return *this;
159  }
160 
161  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
162  return GetDescriptor();
163  }
164  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
165  return GetMetadataStatic().descriptor;
166  }
167  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
168  return GetMetadataStatic().reflection;
169  }
170  static const Geometry& default_instance();
171 
172  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
173  static inline const Geometry* internal_default_instance() {
174  return reinterpret_cast<const Geometry*>(
176  }
177  static constexpr int kIndexInFileMessages =
178  0;
179 
180  friend void swap(Geometry& a, Geometry& b) {
181  a.Swap(&b);
182  }
183  inline void Swap(Geometry* 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(Geometry* other) {
192  if (other == this) return;
193  GOOGLE_DCHECK(GetArena() == other->GetArena());
194  InternalSwap(other);
195  }
196 
197  // implements Message ----------------------------------------------
198 
199  inline Geometry* New() const final {
200  return CreateMaybeMessage<Geometry>(nullptr);
201  }
202 
203  Geometry* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
204  return CreateMaybeMessage<Geometry>(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 Geometry& from);
209  void MergeFrom(const Geometry& 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(Geometry* other);
224  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
225  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
226  return "ignition.msgs.Geometry";
227  }
228  protected:
229  explicit Geometry(::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_2fgeometry_2eproto);
239  return ::descriptor_table_ignition_2fmsgs_2fgeometry_2eproto.file_level_metadata[kIndexInFileMessages];
240  }
241 
242  public:
243 
244  // nested types ----------------------------------------------------
245 
247  static constexpr Type BOX =
249  static constexpr Type CYLINDER =
251  static constexpr Type SPHERE =
253  static constexpr Type PLANE =
255  static constexpr Type IMAGE =
257  static constexpr Type HEIGHTMAP =
259  static constexpr Type MESH =
261  static constexpr Type TRIANGLE_FAN =
263  static constexpr Type LINE_STRIP =
265  static constexpr Type POLYLINE =
267  static constexpr Type CONE =
269  static constexpr Type EMPTY =
271  static constexpr Type ARROW =
273  static constexpr Type AXIS =
275  static constexpr Type CAPSULE =
277  static constexpr Type ELLIPSOID =
279  static inline bool Type_IsValid(int value) {
280  return Geometry_Type_IsValid(value);
281  }
282  static constexpr Type Type_MIN =
284  static constexpr Type Type_MAX =
286  static constexpr int Type_ARRAYSIZE =
288  static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
290  return Geometry_Type_descriptor();
291  }
292  template<typename T>
293  static inline const std::string& Type_Name(T enum_t_value) {
294  static_assert(::std::is_same<T, Type>::value ||
296  "Incorrect type passed to function Type_Name.");
297  return Geometry_Type_Name(enum_t_value);
298  }
299  static inline bool Type_Parse(const std::string& name,
300  Type* value) {
301  return Geometry_Type_Parse(name, value);
302  }
303 
304  // accessors -------------------------------------------------------
305 
306  enum : int {
307  kPointsFieldNumber = 11,
308  kPolylineFieldNumber = 12,
309  kHeaderFieldNumber = 1,
310  kBoxFieldNumber = 3,
311  kCylinderFieldNumber = 4,
312  kPlaneFieldNumber = 5,
313  kSphereFieldNumber = 6,
314  kImageFieldNumber = 7,
315  kHeightmapFieldNumber = 8,
316  kMeshFieldNumber = 9,
317  kConeFieldNumber = 10,
318  kCapsuleFieldNumber = 13,
319  kEllipsoidFieldNumber = 14,
320  kTypeFieldNumber = 2,
321  };
322  // repeated .ignition.msgs.Vector3d points = 11;
323  int points_size() const;
324  private:
325  int _internal_points_size() const;
326  public:
327  void clear_points();
328  ::ignition::msgs::Vector3d* mutable_points(int index);
329  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Vector3d >*
331  private:
332  const ::ignition::msgs::Vector3d& _internal_points(int index) const;
333  ::ignition::msgs::Vector3d* _internal_add_points();
334  public:
335  const ::ignition::msgs::Vector3d& points(int index) const;
336  ::ignition::msgs::Vector3d* add_points();
337  const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Vector3d >&
338  points() const;
339 
340  // repeated .ignition.msgs.Polyline polyline = 12;
341  int polyline_size() const;
342  private:
343  int _internal_polyline_size() const;
344  public:
346  ::ignition::msgs::Polyline* mutable_polyline(int index);
347  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Polyline >*
349  private:
350  const ::ignition::msgs::Polyline& _internal_polyline(int index) const;
351  ::ignition::msgs::Polyline* _internal_add_polyline();
352  public:
353  const ::ignition::msgs::Polyline& polyline(int index) const;
354  ::ignition::msgs::Polyline* add_polyline();
355  const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Polyline >&
356  polyline() const;
357 
358  // .ignition.msgs.Header header = 1;
359  bool has_header() const;
360  private:
361  bool _internal_has_header() const;
362  public:
363  void clear_header();
364  const ::ignition::msgs::Header& header() const;
365  ::ignition::msgs::Header* release_header();
366  ::ignition::msgs::Header* mutable_header();
367  void set_allocated_header(::ignition::msgs::Header* header);
368  private:
369  const ::ignition::msgs::Header& _internal_header() const;
370  ::ignition::msgs::Header* _internal_mutable_header();
371  public:
373  ::ignition::msgs::Header* header);
374  ::ignition::msgs::Header* unsafe_arena_release_header();
375 
376  // .ignition.msgs.BoxGeom box = 3;
377  bool has_box() const;
378  private:
379  bool _internal_has_box() const;
380  public:
381  void clear_box();
382  const ::ignition::msgs::BoxGeom& box() const;
383  ::ignition::msgs::BoxGeom* release_box();
384  ::ignition::msgs::BoxGeom* mutable_box();
385  void set_allocated_box(::ignition::msgs::BoxGeom* box);
386  private:
387  const ::ignition::msgs::BoxGeom& _internal_box() const;
388  ::ignition::msgs::BoxGeom* _internal_mutable_box();
389  public:
391  ::ignition::msgs::BoxGeom* box);
392  ::ignition::msgs::BoxGeom* unsafe_arena_release_box();
393 
394  // .ignition.msgs.CylinderGeom cylinder = 4;
395  bool has_cylinder() const;
396  private:
397  bool _internal_has_cylinder() const;
398  public:
400  const ::ignition::msgs::CylinderGeom& cylinder() const;
401  ::ignition::msgs::CylinderGeom* release_cylinder();
402  ::ignition::msgs::CylinderGeom* mutable_cylinder();
403  void set_allocated_cylinder(::ignition::msgs::CylinderGeom* cylinder);
404  private:
405  const ::ignition::msgs::CylinderGeom& _internal_cylinder() const;
406  ::ignition::msgs::CylinderGeom* _internal_mutable_cylinder();
407  public:
409  ::ignition::msgs::CylinderGeom* cylinder);
410  ::ignition::msgs::CylinderGeom* unsafe_arena_release_cylinder();
411 
412  // .ignition.msgs.PlaneGeom plane = 5;
413  bool has_plane() const;
414  private:
415  bool _internal_has_plane() const;
416  public:
417  void clear_plane();
418  const ::ignition::msgs::PlaneGeom& plane() const;
419  ::ignition::msgs::PlaneGeom* release_plane();
420  ::ignition::msgs::PlaneGeom* mutable_plane();
421  void set_allocated_plane(::ignition::msgs::PlaneGeom* plane);
422  private:
423  const ::ignition::msgs::PlaneGeom& _internal_plane() const;
424  ::ignition::msgs::PlaneGeom* _internal_mutable_plane();
425  public:
427  ::ignition::msgs::PlaneGeom* plane);
428  ::ignition::msgs::PlaneGeom* unsafe_arena_release_plane();
429 
430  // .ignition.msgs.SphereGeom sphere = 6;
431  bool has_sphere() const;
432  private:
433  bool _internal_has_sphere() const;
434  public:
435  void clear_sphere();
436  const ::ignition::msgs::SphereGeom& sphere() const;
437  ::ignition::msgs::SphereGeom* release_sphere();
438  ::ignition::msgs::SphereGeom* mutable_sphere();
439  void set_allocated_sphere(::ignition::msgs::SphereGeom* sphere);
440  private:
441  const ::ignition::msgs::SphereGeom& _internal_sphere() const;
442  ::ignition::msgs::SphereGeom* _internal_mutable_sphere();
443  public:
445  ::ignition::msgs::SphereGeom* sphere);
446  ::ignition::msgs::SphereGeom* unsafe_arena_release_sphere();
447 
448  // .ignition.msgs.ImageGeom image = 7;
449  bool has_image() const;
450  private:
451  bool _internal_has_image() const;
452  public:
453  void clear_image();
454  const ::ignition::msgs::ImageGeom& image() const;
455  ::ignition::msgs::ImageGeom* release_image();
456  ::ignition::msgs::ImageGeom* mutable_image();
457  void set_allocated_image(::ignition::msgs::ImageGeom* image);
458  private:
459  const ::ignition::msgs::ImageGeom& _internal_image() const;
460  ::ignition::msgs::ImageGeom* _internal_mutable_image();
461  public:
463  ::ignition::msgs::ImageGeom* image);
464  ::ignition::msgs::ImageGeom* unsafe_arena_release_image();
465 
466  // .ignition.msgs.HeightmapGeom heightmap = 8;
467  bool has_heightmap() const;
468  private:
469  bool _internal_has_heightmap() const;
470  public:
472  const ::ignition::msgs::HeightmapGeom& heightmap() const;
473  ::ignition::msgs::HeightmapGeom* release_heightmap();
474  ::ignition::msgs::HeightmapGeom* mutable_heightmap();
475  void set_allocated_heightmap(::ignition::msgs::HeightmapGeom* heightmap);
476  private:
477  const ::ignition::msgs::HeightmapGeom& _internal_heightmap() const;
478  ::ignition::msgs::HeightmapGeom* _internal_mutable_heightmap();
479  public:
481  ::ignition::msgs::HeightmapGeom* heightmap);
482  ::ignition::msgs::HeightmapGeom* unsafe_arena_release_heightmap();
483 
484  // .ignition.msgs.MeshGeom mesh = 9;
485  bool has_mesh() const;
486  private:
487  bool _internal_has_mesh() const;
488  public:
489  void clear_mesh();
490  const ::ignition::msgs::MeshGeom& mesh() const;
491  ::ignition::msgs::MeshGeom* release_mesh();
492  ::ignition::msgs::MeshGeom* mutable_mesh();
493  void set_allocated_mesh(::ignition::msgs::MeshGeom* mesh);
494  private:
495  const ::ignition::msgs::MeshGeom& _internal_mesh() const;
496  ::ignition::msgs::MeshGeom* _internal_mutable_mesh();
497  public:
499  ::ignition::msgs::MeshGeom* mesh);
500  ::ignition::msgs::MeshGeom* unsafe_arena_release_mesh();
501 
502  // .ignition.msgs.ConeGeom cone = 10;
503  bool has_cone() const;
504  private:
505  bool _internal_has_cone() const;
506  public:
507  void clear_cone();
508  const ::ignition::msgs::ConeGeom& cone() const;
509  ::ignition::msgs::ConeGeom* release_cone();
510  ::ignition::msgs::ConeGeom* mutable_cone();
511  void set_allocated_cone(::ignition::msgs::ConeGeom* cone);
512  private:
513  const ::ignition::msgs::ConeGeom& _internal_cone() const;
514  ::ignition::msgs::ConeGeom* _internal_mutable_cone();
515  public:
517  ::ignition::msgs::ConeGeom* cone);
518  ::ignition::msgs::ConeGeom* unsafe_arena_release_cone();
519 
520  // .ignition.msgs.CapsuleGeom capsule = 13;
521  bool has_capsule() const;
522  private:
523  bool _internal_has_capsule() const;
524  public:
526  const ::ignition::msgs::CapsuleGeom& capsule() const;
527  ::ignition::msgs::CapsuleGeom* release_capsule();
528  ::ignition::msgs::CapsuleGeom* mutable_capsule();
529  void set_allocated_capsule(::ignition::msgs::CapsuleGeom* capsule);
530  private:
531  const ::ignition::msgs::CapsuleGeom& _internal_capsule() const;
532  ::ignition::msgs::CapsuleGeom* _internal_mutable_capsule();
533  public:
535  ::ignition::msgs::CapsuleGeom* capsule);
536  ::ignition::msgs::CapsuleGeom* unsafe_arena_release_capsule();
537 
538  // .ignition.msgs.EllipsoidGeom ellipsoid = 14;
539  bool has_ellipsoid() const;
540  private:
541  bool _internal_has_ellipsoid() const;
542  public:
544  const ::ignition::msgs::EllipsoidGeom& ellipsoid() const;
545  ::ignition::msgs::EllipsoidGeom* release_ellipsoid();
546  ::ignition::msgs::EllipsoidGeom* mutable_ellipsoid();
547  void set_allocated_ellipsoid(::ignition::msgs::EllipsoidGeom* ellipsoid);
548  private:
549  const ::ignition::msgs::EllipsoidGeom& _internal_ellipsoid() const;
550  ::ignition::msgs::EllipsoidGeom* _internal_mutable_ellipsoid();
551  public:
553  ::ignition::msgs::EllipsoidGeom* ellipsoid);
554  ::ignition::msgs::EllipsoidGeom* unsafe_arena_release_ellipsoid();
555 
556  // .ignition.msgs.Geometry.Type type = 2;
557  void clear_type();
560  private:
561  ::ignition::msgs::Geometry_Type _internal_type() const;
562  void _internal_set_type(::ignition::msgs::Geometry_Type value);
563  public:
564 
565  // @@protoc_insertion_point(class_scope:ignition.msgs.Geometry)
566  private:
567  class _Internal;
568 
569  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
570  typedef void InternalArenaConstructable_;
571  typedef void DestructorSkippable_;
572  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Vector3d > points_;
573  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Polyline > polyline_;
574  ::ignition::msgs::Header* header_;
575  ::ignition::msgs::BoxGeom* box_;
576  ::ignition::msgs::CylinderGeom* cylinder_;
577  ::ignition::msgs::PlaneGeom* plane_;
578  ::ignition::msgs::SphereGeom* sphere_;
579  ::ignition::msgs::ImageGeom* image_;
580  ::ignition::msgs::HeightmapGeom* heightmap_;
581  ::ignition::msgs::MeshGeom* mesh_;
582  ::ignition::msgs::ConeGeom* cone_;
583  ::ignition::msgs::CapsuleGeom* capsule_;
584  ::ignition::msgs::EllipsoidGeom* ellipsoid_;
585  int type_;
586  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
587  friend struct ::TableStruct_ignition_2fmsgs_2fgeometry_2eproto;
588 };
589 // ===================================================================
590 
591 
592 // ===================================================================
593 
594 #ifdef __GNUC__
595  #pragma GCC diagnostic push
596  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
597 #endif // __GNUC__
598 // Geometry
599 
600 // .ignition.msgs.Header header = 1;
601 inline bool Geometry::_internal_has_header() const {
602  return this != internal_default_instance() && header_ != nullptr;
603 }
604 inline bool Geometry::has_header() const {
605  return _internal_has_header();
606 }
607 inline const ::ignition::msgs::Header& Geometry::_internal_header() const {
608  const ::ignition::msgs::Header* p = header_;
609  return p != nullptr ? *p : *reinterpret_cast<const ::ignition::msgs::Header*>(
611 }
612 inline const ::ignition::msgs::Header& Geometry::header() const {
613  // @@protoc_insertion_point(field_get:ignition.msgs.Geometry.header)
614  return _internal_header();
615 }
616 inline void Geometry::unsafe_arena_set_allocated_header(
617  ::ignition::msgs::Header* header) {
618  if (GetArena() == nullptr) {
619  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(header_);
620  }
621  header_ = header;
622  if (header) {
623 
624  } else {
625 
626  }
627  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.Geometry.header)
628 }
629 inline ::ignition::msgs::Header* Geometry::release_header() {
630  auto temp = unsafe_arena_release_header();
631  if (GetArena() != nullptr) {
632  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
633  }
634  return temp;
635 }
636 inline ::ignition::msgs::Header* Geometry::unsafe_arena_release_header() {
637  // @@protoc_insertion_point(field_release:ignition.msgs.Geometry.header)
638 
639  ::ignition::msgs::Header* temp = header_;
640  header_ = nullptr;
641  return temp;
642 }
643 inline ::ignition::msgs::Header* Geometry::_internal_mutable_header() {
644 
645  if (header_ == nullptr) {
646  auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArena());
647  header_ = p;
648  }
649  return header_;
650 }
651 inline ::ignition::msgs::Header* Geometry::mutable_header() {
652  // @@protoc_insertion_point(field_mutable:ignition.msgs.Geometry.header)
653  return _internal_mutable_header();
654 }
655 inline void Geometry::set_allocated_header(::ignition::msgs::Header* header) {
656  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
657  if (message_arena == nullptr) {
658  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(header_);
659  }
660  if (header) {
661  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
662  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(header)->GetArena();
663  if (message_arena != submessage_arena) {
664  header = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
665  message_arena, header, submessage_arena);
666  }
667 
668  } else {
669 
670  }
671  header_ = header;
672  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Geometry.header)
673 }
674 
675 // .ignition.msgs.Geometry.Type type = 2;
676 inline void Geometry::clear_type() {
677  type_ = 0;
678 }
679 inline ::ignition::msgs::Geometry_Type Geometry::_internal_type() const {
680  return static_cast< ::ignition::msgs::Geometry_Type >(type_);
681 }
682 inline ::ignition::msgs::Geometry_Type Geometry::type() const {
683  // @@protoc_insertion_point(field_get:ignition.msgs.Geometry.type)
684  return _internal_type();
685 }
686 inline void Geometry::_internal_set_type(::ignition::msgs::Geometry_Type value) {
687 
688  type_ = value;
689 }
690 inline void Geometry::set_type(::ignition::msgs::Geometry_Type value) {
691  _internal_set_type(value);
692  // @@protoc_insertion_point(field_set:ignition.msgs.Geometry.type)
693 }
694 
695 // .ignition.msgs.BoxGeom box = 3;
696 inline bool Geometry::_internal_has_box() const {
697  return this != internal_default_instance() && box_ != nullptr;
698 }
699 inline bool Geometry::has_box() const {
700  return _internal_has_box();
701 }
702 inline const ::ignition::msgs::BoxGeom& Geometry::_internal_box() const {
703  const ::ignition::msgs::BoxGeom* p = box_;
704  return p != nullptr ? *p : *reinterpret_cast<const ::ignition::msgs::BoxGeom*>(
706 }
707 inline const ::ignition::msgs::BoxGeom& Geometry::box() const {
708  // @@protoc_insertion_point(field_get:ignition.msgs.Geometry.box)
709  return _internal_box();
710 }
711 inline void Geometry::unsafe_arena_set_allocated_box(
712  ::ignition::msgs::BoxGeom* box) {
713  if (GetArena() == nullptr) {
714  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(box_);
715  }
716  box_ = box;
717  if (box) {
718 
719  } else {
720 
721  }
722  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.Geometry.box)
723 }
724 inline ::ignition::msgs::BoxGeom* Geometry::release_box() {
725  auto temp = unsafe_arena_release_box();
726  if (GetArena() != nullptr) {
727  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
728  }
729  return temp;
730 }
731 inline ::ignition::msgs::BoxGeom* Geometry::unsafe_arena_release_box() {
732  // @@protoc_insertion_point(field_release:ignition.msgs.Geometry.box)
733 
734  ::ignition::msgs::BoxGeom* temp = box_;
735  box_ = nullptr;
736  return temp;
737 }
738 inline ::ignition::msgs::BoxGeom* Geometry::_internal_mutable_box() {
739 
740  if (box_ == nullptr) {
741  auto* p = CreateMaybeMessage<::ignition::msgs::BoxGeom>(GetArena());
742  box_ = p;
743  }
744  return box_;
745 }
746 inline ::ignition::msgs::BoxGeom* Geometry::mutable_box() {
747  // @@protoc_insertion_point(field_mutable:ignition.msgs.Geometry.box)
748  return _internal_mutable_box();
749 }
750 inline void Geometry::set_allocated_box(::ignition::msgs::BoxGeom* box) {
751  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
752  if (message_arena == nullptr) {
753  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(box_);
754  }
755  if (box) {
756  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
757  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(box)->GetArena();
758  if (message_arena != submessage_arena) {
759  box = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
760  message_arena, box, submessage_arena);
761  }
762 
763  } else {
764 
765  }
766  box_ = box;
767  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Geometry.box)
768 }
769 
770 // .ignition.msgs.CylinderGeom cylinder = 4;
771 inline bool Geometry::_internal_has_cylinder() const {
772  return this != internal_default_instance() && cylinder_ != nullptr;
773 }
774 inline bool Geometry::has_cylinder() const {
775  return _internal_has_cylinder();
776 }
777 inline const ::ignition::msgs::CylinderGeom& Geometry::_internal_cylinder() const {
778  const ::ignition::msgs::CylinderGeom* p = cylinder_;
779  return p != nullptr ? *p : *reinterpret_cast<const ::ignition::msgs::CylinderGeom*>(
781 }
782 inline const ::ignition::msgs::CylinderGeom& Geometry::cylinder() const {
783  // @@protoc_insertion_point(field_get:ignition.msgs.Geometry.cylinder)
784  return _internal_cylinder();
785 }
786 inline void Geometry::unsafe_arena_set_allocated_cylinder(
787  ::ignition::msgs::CylinderGeom* cylinder) {
788  if (GetArena() == nullptr) {
789  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(cylinder_);
790  }
791  cylinder_ = cylinder;
792  if (cylinder) {
793 
794  } else {
795 
796  }
797  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.Geometry.cylinder)
798 }
799 inline ::ignition::msgs::CylinderGeom* Geometry::release_cylinder() {
800  auto temp = unsafe_arena_release_cylinder();
801  if (GetArena() != nullptr) {
802  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
803  }
804  return temp;
805 }
806 inline ::ignition::msgs::CylinderGeom* Geometry::unsafe_arena_release_cylinder() {
807  // @@protoc_insertion_point(field_release:ignition.msgs.Geometry.cylinder)
808 
809  ::ignition::msgs::CylinderGeom* temp = cylinder_;
810  cylinder_ = nullptr;
811  return temp;
812 }
813 inline ::ignition::msgs::CylinderGeom* Geometry::_internal_mutable_cylinder() {
814 
815  if (cylinder_ == nullptr) {
816  auto* p = CreateMaybeMessage<::ignition::msgs::CylinderGeom>(GetArena());
817  cylinder_ = p;
818  }
819  return cylinder_;
820 }
821 inline ::ignition::msgs::CylinderGeom* Geometry::mutable_cylinder() {
822  // @@protoc_insertion_point(field_mutable:ignition.msgs.Geometry.cylinder)
823  return _internal_mutable_cylinder();
824 }
825 inline void Geometry::set_allocated_cylinder(::ignition::msgs::CylinderGeom* cylinder) {
826  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
827  if (message_arena == nullptr) {
828  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(cylinder_);
829  }
830  if (cylinder) {
831  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
832  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(cylinder)->GetArena();
833  if (message_arena != submessage_arena) {
834  cylinder = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
835  message_arena, cylinder, submessage_arena);
836  }
837 
838  } else {
839 
840  }
841  cylinder_ = cylinder;
842  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Geometry.cylinder)
843 }
844 
845 // .ignition.msgs.PlaneGeom plane = 5;
846 inline bool Geometry::_internal_has_plane() const {
847  return this != internal_default_instance() && plane_ != nullptr;
848 }
849 inline bool Geometry::has_plane() const {
850  return _internal_has_plane();
851 }
852 inline const ::ignition::msgs::PlaneGeom& Geometry::_internal_plane() const {
853  const ::ignition::msgs::PlaneGeom* p = plane_;
854  return p != nullptr ? *p : *reinterpret_cast<const ::ignition::msgs::PlaneGeom*>(
856 }
857 inline const ::ignition::msgs::PlaneGeom& Geometry::plane() const {
858  // @@protoc_insertion_point(field_get:ignition.msgs.Geometry.plane)
859  return _internal_plane();
860 }
861 inline void Geometry::unsafe_arena_set_allocated_plane(
862  ::ignition::msgs::PlaneGeom* plane) {
863  if (GetArena() == nullptr) {
864  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(plane_);
865  }
866  plane_ = plane;
867  if (plane) {
868 
869  } else {
870 
871  }
872  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.Geometry.plane)
873 }
874 inline ::ignition::msgs::PlaneGeom* Geometry::release_plane() {
875  auto temp = unsafe_arena_release_plane();
876  if (GetArena() != nullptr) {
877  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
878  }
879  return temp;
880 }
881 inline ::ignition::msgs::PlaneGeom* Geometry::unsafe_arena_release_plane() {
882  // @@protoc_insertion_point(field_release:ignition.msgs.Geometry.plane)
883 
884  ::ignition::msgs::PlaneGeom* temp = plane_;
885  plane_ = nullptr;
886  return temp;
887 }
888 inline ::ignition::msgs::PlaneGeom* Geometry::_internal_mutable_plane() {
889 
890  if (plane_ == nullptr) {
891  auto* p = CreateMaybeMessage<::ignition::msgs::PlaneGeom>(GetArena());
892  plane_ = p;
893  }
894  return plane_;
895 }
896 inline ::ignition::msgs::PlaneGeom* Geometry::mutable_plane() {
897  // @@protoc_insertion_point(field_mutable:ignition.msgs.Geometry.plane)
898  return _internal_mutable_plane();
899 }
900 inline void Geometry::set_allocated_plane(::ignition::msgs::PlaneGeom* plane) {
901  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
902  if (message_arena == nullptr) {
903  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(plane_);
904  }
905  if (plane) {
906  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
907  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(plane)->GetArena();
908  if (message_arena != submessage_arena) {
909  plane = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
910  message_arena, plane, submessage_arena);
911  }
912 
913  } else {
914 
915  }
916  plane_ = plane;
917  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Geometry.plane)
918 }
919 
920 // .ignition.msgs.SphereGeom sphere = 6;
921 inline bool Geometry::_internal_has_sphere() const {
922  return this != internal_default_instance() && sphere_ != nullptr;
923 }
924 inline bool Geometry::has_sphere() const {
925  return _internal_has_sphere();
926 }
927 inline const ::ignition::msgs::SphereGeom& Geometry::_internal_sphere() const {
928  const ::ignition::msgs::SphereGeom* p = sphere_;
929  return p != nullptr ? *p : *reinterpret_cast<const ::ignition::msgs::SphereGeom*>(
931 }
932 inline const ::ignition::msgs::SphereGeom& Geometry::sphere() const {
933  // @@protoc_insertion_point(field_get:ignition.msgs.Geometry.sphere)
934  return _internal_sphere();
935 }
936 inline void Geometry::unsafe_arena_set_allocated_sphere(
937  ::ignition::msgs::SphereGeom* sphere) {
938  if (GetArena() == nullptr) {
939  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(sphere_);
940  }
941  sphere_ = sphere;
942  if (sphere) {
943 
944  } else {
945 
946  }
947  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.Geometry.sphere)
948 }
949 inline ::ignition::msgs::SphereGeom* Geometry::release_sphere() {
950  auto temp = unsafe_arena_release_sphere();
951  if (GetArena() != nullptr) {
952  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
953  }
954  return temp;
955 }
956 inline ::ignition::msgs::SphereGeom* Geometry::unsafe_arena_release_sphere() {
957  // @@protoc_insertion_point(field_release:ignition.msgs.Geometry.sphere)
958 
959  ::ignition::msgs::SphereGeom* temp = sphere_;
960  sphere_ = nullptr;
961  return temp;
962 }
963 inline ::ignition::msgs::SphereGeom* Geometry::_internal_mutable_sphere() {
964 
965  if (sphere_ == nullptr) {
966  auto* p = CreateMaybeMessage<::ignition::msgs::SphereGeom>(GetArena());
967  sphere_ = p;
968  }
969  return sphere_;
970 }
971 inline ::ignition::msgs::SphereGeom* Geometry::mutable_sphere() {
972  // @@protoc_insertion_point(field_mutable:ignition.msgs.Geometry.sphere)
973  return _internal_mutable_sphere();
974 }
975 inline void Geometry::set_allocated_sphere(::ignition::msgs::SphereGeom* sphere) {
976  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
977  if (message_arena == nullptr) {
978  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(sphere_);
979  }
980  if (sphere) {
981  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
982  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(sphere)->GetArena();
983  if (message_arena != submessage_arena) {
984  sphere = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
985  message_arena, sphere, submessage_arena);
986  }
987 
988  } else {
989 
990  }
991  sphere_ = sphere;
992  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Geometry.sphere)
993 }
994 
995 // .ignition.msgs.ImageGeom image = 7;
996 inline bool Geometry::_internal_has_image() const {
997  return this != internal_default_instance() && image_ != nullptr;
998 }
999 inline bool Geometry::has_image() const {
1000  return _internal_has_image();
1001 }
1002 inline const ::ignition::msgs::ImageGeom& Geometry::_internal_image() const {
1003  const ::ignition::msgs::ImageGeom* p = image_;
1004  return p != nullptr ? *p : *reinterpret_cast<const ::ignition::msgs::ImageGeom*>(
1006 }
1007 inline const ::ignition::msgs::ImageGeom& Geometry::image() const {
1008  // @@protoc_insertion_point(field_get:ignition.msgs.Geometry.image)
1009  return _internal_image();
1010 }
1011 inline void Geometry::unsafe_arena_set_allocated_image(
1012  ::ignition::msgs::ImageGeom* image) {
1013  if (GetArena() == nullptr) {
1014  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(image_);
1015  }
1016  image_ = image;
1017  if (image) {
1018 
1019  } else {
1020 
1021  }
1022  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.Geometry.image)
1023 }
1024 inline ::ignition::msgs::ImageGeom* Geometry::release_image() {
1025  auto temp = unsafe_arena_release_image();
1026  if (GetArena() != nullptr) {
1027  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1028  }
1029  return temp;
1030 }
1031 inline ::ignition::msgs::ImageGeom* Geometry::unsafe_arena_release_image() {
1032  // @@protoc_insertion_point(field_release:ignition.msgs.Geometry.image)
1033 
1034  ::ignition::msgs::ImageGeom* temp = image_;
1035  image_ = nullptr;
1036  return temp;
1037 }
1038 inline ::ignition::msgs::ImageGeom* Geometry::_internal_mutable_image() {
1039 
1040  if (image_ == nullptr) {
1041  auto* p = CreateMaybeMessage<::ignition::msgs::ImageGeom>(GetArena());
1042  image_ = p;
1043  }
1044  return image_;
1045 }
1046 inline ::ignition::msgs::ImageGeom* Geometry::mutable_image() {
1047  // @@protoc_insertion_point(field_mutable:ignition.msgs.Geometry.image)
1048  return _internal_mutable_image();
1049 }
1050 inline void Geometry::set_allocated_image(::ignition::msgs::ImageGeom* image) {
1051  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
1052  if (message_arena == nullptr) {
1053  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(image_);
1054  }
1055  if (image) {
1056  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1057  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(image)->GetArena();
1058  if (message_arena != submessage_arena) {
1059  image = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1060  message_arena, image, submessage_arena);
1061  }
1062 
1063  } else {
1064 
1065  }
1066  image_ = image;
1067  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Geometry.image)
1068 }
1069 
1070 // .ignition.msgs.HeightmapGeom heightmap = 8;
1071 inline bool Geometry::_internal_has_heightmap() const {
1072  return this != internal_default_instance() && heightmap_ != nullptr;
1073 }
1074 inline bool Geometry::has_heightmap() const {
1075  return _internal_has_heightmap();
1076 }
1077 inline const ::ignition::msgs::HeightmapGeom& Geometry::_internal_heightmap() const {
1078  const ::ignition::msgs::HeightmapGeom* p = heightmap_;
1079  return p != nullptr ? *p : *reinterpret_cast<const ::ignition::msgs::HeightmapGeom*>(
1081 }
1082 inline const ::ignition::msgs::HeightmapGeom& Geometry::heightmap() const {
1083  // @@protoc_insertion_point(field_get:ignition.msgs.Geometry.heightmap)
1084  return _internal_heightmap();
1085 }
1086 inline void Geometry::unsafe_arena_set_allocated_heightmap(
1087  ::ignition::msgs::HeightmapGeom* heightmap) {
1088  if (GetArena() == nullptr) {
1089  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(heightmap_);
1090  }
1091  heightmap_ = heightmap;
1092  if (heightmap) {
1093 
1094  } else {
1095 
1096  }
1097  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.Geometry.heightmap)
1098 }
1099 inline ::ignition::msgs::HeightmapGeom* Geometry::release_heightmap() {
1100  auto temp = unsafe_arena_release_heightmap();
1101  if (GetArena() != nullptr) {
1102  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1103  }
1104  return temp;
1105 }
1106 inline ::ignition::msgs::HeightmapGeom* Geometry::unsafe_arena_release_heightmap() {
1107  // @@protoc_insertion_point(field_release:ignition.msgs.Geometry.heightmap)
1108 
1109  ::ignition::msgs::HeightmapGeom* temp = heightmap_;
1110  heightmap_ = nullptr;
1111  return temp;
1112 }
1113 inline ::ignition::msgs::HeightmapGeom* Geometry::_internal_mutable_heightmap() {
1114 
1115  if (heightmap_ == nullptr) {
1116  auto* p = CreateMaybeMessage<::ignition::msgs::HeightmapGeom>(GetArena());
1117  heightmap_ = p;
1118  }
1119  return heightmap_;
1120 }
1121 inline ::ignition::msgs::HeightmapGeom* Geometry::mutable_heightmap() {
1122  // @@protoc_insertion_point(field_mutable:ignition.msgs.Geometry.heightmap)
1123  return _internal_mutable_heightmap();
1124 }
1125 inline void Geometry::set_allocated_heightmap(::ignition::msgs::HeightmapGeom* heightmap) {
1126  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
1127  if (message_arena == nullptr) {
1128  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(heightmap_);
1129  }
1130  if (heightmap) {
1131  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1132  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(heightmap)->GetArena();
1133  if (message_arena != submessage_arena) {
1134  heightmap = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1135  message_arena, heightmap, submessage_arena);
1136  }
1137 
1138  } else {
1139 
1140  }
1141  heightmap_ = heightmap;
1142  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Geometry.heightmap)
1143 }
1144 
1145 // .ignition.msgs.MeshGeom mesh = 9;
1146 inline bool Geometry::_internal_has_mesh() const {
1147  return this != internal_default_instance() && mesh_ != nullptr;
1148 }
1149 inline bool Geometry::has_mesh() const {
1150  return _internal_has_mesh();
1151 }
1152 inline const ::ignition::msgs::MeshGeom& Geometry::_internal_mesh() const {
1153  const ::ignition::msgs::MeshGeom* p = mesh_;
1154  return p != nullptr ? *p : *reinterpret_cast<const ::ignition::msgs::MeshGeom*>(
1156 }
1157 inline const ::ignition::msgs::MeshGeom& Geometry::mesh() const {
1158  // @@protoc_insertion_point(field_get:ignition.msgs.Geometry.mesh)
1159  return _internal_mesh();
1160 }
1161 inline void Geometry::unsafe_arena_set_allocated_mesh(
1162  ::ignition::msgs::MeshGeom* mesh) {
1163  if (GetArena() == nullptr) {
1164  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(mesh_);
1165  }
1166  mesh_ = mesh;
1167  if (mesh) {
1168 
1169  } else {
1170 
1171  }
1172  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.Geometry.mesh)
1173 }
1174 inline ::ignition::msgs::MeshGeom* Geometry::release_mesh() {
1175  auto temp = unsafe_arena_release_mesh();
1176  if (GetArena() != nullptr) {
1177  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1178  }
1179  return temp;
1180 }
1181 inline ::ignition::msgs::MeshGeom* Geometry::unsafe_arena_release_mesh() {
1182  // @@protoc_insertion_point(field_release:ignition.msgs.Geometry.mesh)
1183 
1184  ::ignition::msgs::MeshGeom* temp = mesh_;
1185  mesh_ = nullptr;
1186  return temp;
1187 }
1188 inline ::ignition::msgs::MeshGeom* Geometry::_internal_mutable_mesh() {
1189 
1190  if (mesh_ == nullptr) {
1191  auto* p = CreateMaybeMessage<::ignition::msgs::MeshGeom>(GetArena());
1192  mesh_ = p;
1193  }
1194  return mesh_;
1195 }
1196 inline ::ignition::msgs::MeshGeom* Geometry::mutable_mesh() {
1197  // @@protoc_insertion_point(field_mutable:ignition.msgs.Geometry.mesh)
1198  return _internal_mutable_mesh();
1199 }
1200 inline void Geometry::set_allocated_mesh(::ignition::msgs::MeshGeom* mesh) {
1201  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
1202  if (message_arena == nullptr) {
1203  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(mesh_);
1204  }
1205  if (mesh) {
1206  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1207  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(mesh)->GetArena();
1208  if (message_arena != submessage_arena) {
1209  mesh = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1210  message_arena, mesh, submessage_arena);
1211  }
1212 
1213  } else {
1214 
1215  }
1216  mesh_ = mesh;
1217  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Geometry.mesh)
1218 }
1219 
1220 // .ignition.msgs.ConeGeom cone = 10;
1221 inline bool Geometry::_internal_has_cone() const {
1222  return this != internal_default_instance() && cone_ != nullptr;
1223 }
1224 inline bool Geometry::has_cone() const {
1225  return _internal_has_cone();
1226 }
1227 inline const ::ignition::msgs::ConeGeom& Geometry::_internal_cone() const {
1228  const ::ignition::msgs::ConeGeom* p = cone_;
1229  return p != nullptr ? *p : *reinterpret_cast<const ::ignition::msgs::ConeGeom*>(
1231 }
1232 inline const ::ignition::msgs::ConeGeom& Geometry::cone() const {
1233  // @@protoc_insertion_point(field_get:ignition.msgs.Geometry.cone)
1234  return _internal_cone();
1235 }
1236 inline void Geometry::unsafe_arena_set_allocated_cone(
1237  ::ignition::msgs::ConeGeom* cone) {
1238  if (GetArena() == nullptr) {
1239  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(cone_);
1240  }
1241  cone_ = cone;
1242  if (cone) {
1243 
1244  } else {
1245 
1246  }
1247  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.Geometry.cone)
1248 }
1249 inline ::ignition::msgs::ConeGeom* Geometry::release_cone() {
1250  auto temp = unsafe_arena_release_cone();
1251  if (GetArena() != nullptr) {
1252  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1253  }
1254  return temp;
1255 }
1256 inline ::ignition::msgs::ConeGeom* Geometry::unsafe_arena_release_cone() {
1257  // @@protoc_insertion_point(field_release:ignition.msgs.Geometry.cone)
1258 
1259  ::ignition::msgs::ConeGeom* temp = cone_;
1260  cone_ = nullptr;
1261  return temp;
1262 }
1263 inline ::ignition::msgs::ConeGeom* Geometry::_internal_mutable_cone() {
1264 
1265  if (cone_ == nullptr) {
1266  auto* p = CreateMaybeMessage<::ignition::msgs::ConeGeom>(GetArena());
1267  cone_ = p;
1268  }
1269  return cone_;
1270 }
1271 inline ::ignition::msgs::ConeGeom* Geometry::mutable_cone() {
1272  // @@protoc_insertion_point(field_mutable:ignition.msgs.Geometry.cone)
1273  return _internal_mutable_cone();
1274 }
1275 inline void Geometry::set_allocated_cone(::ignition::msgs::ConeGeom* cone) {
1276  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
1277  if (message_arena == nullptr) {
1278  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(cone_);
1279  }
1280  if (cone) {
1281  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1282  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(cone)->GetArena();
1283  if (message_arena != submessage_arena) {
1284  cone = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1285  message_arena, cone, submessage_arena);
1286  }
1287 
1288  } else {
1289 
1290  }
1291  cone_ = cone;
1292  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Geometry.cone)
1293 }
1294 
1295 // .ignition.msgs.CapsuleGeom capsule = 13;
1296 inline bool Geometry::_internal_has_capsule() const {
1297  return this != internal_default_instance() && capsule_ != nullptr;
1298 }
1299 inline bool Geometry::has_capsule() const {
1300  return _internal_has_capsule();
1301 }
1302 inline const ::ignition::msgs::CapsuleGeom& Geometry::_internal_capsule() const {
1303  const ::ignition::msgs::CapsuleGeom* p = capsule_;
1304  return p != nullptr ? *p : *reinterpret_cast<const ::ignition::msgs::CapsuleGeom*>(
1306 }
1307 inline const ::ignition::msgs::CapsuleGeom& Geometry::capsule() const {
1308  // @@protoc_insertion_point(field_get:ignition.msgs.Geometry.capsule)
1309  return _internal_capsule();
1310 }
1311 inline void Geometry::unsafe_arena_set_allocated_capsule(
1312  ::ignition::msgs::CapsuleGeom* capsule) {
1313  if (GetArena() == nullptr) {
1314  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(capsule_);
1315  }
1316  capsule_ = capsule;
1317  if (capsule) {
1318 
1319  } else {
1320 
1321  }
1322  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.Geometry.capsule)
1323 }
1324 inline ::ignition::msgs::CapsuleGeom* Geometry::release_capsule() {
1325  auto temp = unsafe_arena_release_capsule();
1326  if (GetArena() != nullptr) {
1327  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1328  }
1329  return temp;
1330 }
1331 inline ::ignition::msgs::CapsuleGeom* Geometry::unsafe_arena_release_capsule() {
1332  // @@protoc_insertion_point(field_release:ignition.msgs.Geometry.capsule)
1333 
1334  ::ignition::msgs::CapsuleGeom* temp = capsule_;
1335  capsule_ = nullptr;
1336  return temp;
1337 }
1338 inline ::ignition::msgs::CapsuleGeom* Geometry::_internal_mutable_capsule() {
1339 
1340  if (capsule_ == nullptr) {
1341  auto* p = CreateMaybeMessage<::ignition::msgs::CapsuleGeom>(GetArena());
1342  capsule_ = p;
1343  }
1344  return capsule_;
1345 }
1346 inline ::ignition::msgs::CapsuleGeom* Geometry::mutable_capsule() {
1347  // @@protoc_insertion_point(field_mutable:ignition.msgs.Geometry.capsule)
1348  return _internal_mutable_capsule();
1349 }
1350 inline void Geometry::set_allocated_capsule(::ignition::msgs::CapsuleGeom* capsule) {
1351  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
1352  if (message_arena == nullptr) {
1353  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(capsule_);
1354  }
1355  if (capsule) {
1356  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1357  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(capsule)->GetArena();
1358  if (message_arena != submessage_arena) {
1359  capsule = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1360  message_arena, capsule, submessage_arena);
1361  }
1362 
1363  } else {
1364 
1365  }
1366  capsule_ = capsule;
1367  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Geometry.capsule)
1368 }
1369 
1370 // .ignition.msgs.EllipsoidGeom ellipsoid = 14;
1371 inline bool Geometry::_internal_has_ellipsoid() const {
1372  return this != internal_default_instance() && ellipsoid_ != nullptr;
1373 }
1374 inline bool Geometry::has_ellipsoid() const {
1375  return _internal_has_ellipsoid();
1376 }
1377 inline const ::ignition::msgs::EllipsoidGeom& Geometry::_internal_ellipsoid() const {
1378  const ::ignition::msgs::EllipsoidGeom* p = ellipsoid_;
1379  return p != nullptr ? *p : *reinterpret_cast<const ::ignition::msgs::EllipsoidGeom*>(
1381 }
1382 inline const ::ignition::msgs::EllipsoidGeom& Geometry::ellipsoid() const {
1383  // @@protoc_insertion_point(field_get:ignition.msgs.Geometry.ellipsoid)
1384  return _internal_ellipsoid();
1385 }
1386 inline void Geometry::unsafe_arena_set_allocated_ellipsoid(
1387  ::ignition::msgs::EllipsoidGeom* ellipsoid) {
1388  if (GetArena() == nullptr) {
1389  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(ellipsoid_);
1390  }
1391  ellipsoid_ = ellipsoid;
1392  if (ellipsoid) {
1393 
1394  } else {
1395 
1396  }
1397  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.Geometry.ellipsoid)
1398 }
1399 inline ::ignition::msgs::EllipsoidGeom* Geometry::release_ellipsoid() {
1400  auto temp = unsafe_arena_release_ellipsoid();
1401  if (GetArena() != nullptr) {
1402  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1403  }
1404  return temp;
1405 }
1406 inline ::ignition::msgs::EllipsoidGeom* Geometry::unsafe_arena_release_ellipsoid() {
1407  // @@protoc_insertion_point(field_release:ignition.msgs.Geometry.ellipsoid)
1408 
1409  ::ignition::msgs::EllipsoidGeom* temp = ellipsoid_;
1410  ellipsoid_ = nullptr;
1411  return temp;
1412 }
1413 inline ::ignition::msgs::EllipsoidGeom* Geometry::_internal_mutable_ellipsoid() {
1414 
1415  if (ellipsoid_ == nullptr) {
1416  auto* p = CreateMaybeMessage<::ignition::msgs::EllipsoidGeom>(GetArena());
1417  ellipsoid_ = p;
1418  }
1419  return ellipsoid_;
1420 }
1421 inline ::ignition::msgs::EllipsoidGeom* Geometry::mutable_ellipsoid() {
1422  // @@protoc_insertion_point(field_mutable:ignition.msgs.Geometry.ellipsoid)
1423  return _internal_mutable_ellipsoid();
1424 }
1425 inline void Geometry::set_allocated_ellipsoid(::ignition::msgs::EllipsoidGeom* ellipsoid) {
1426  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
1427  if (message_arena == nullptr) {
1428  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(ellipsoid_);
1429  }
1430  if (ellipsoid) {
1431  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1432  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(ellipsoid)->GetArena();
1433  if (message_arena != submessage_arena) {
1434  ellipsoid = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1435  message_arena, ellipsoid, submessage_arena);
1436  }
1437 
1438  } else {
1439 
1440  }
1441  ellipsoid_ = ellipsoid;
1442  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Geometry.ellipsoid)
1443 }
1444 
1445 // repeated .ignition.msgs.Vector3d points = 11;
1446 inline int Geometry::_internal_points_size() const {
1447  return points_.size();
1448 }
1449 inline int Geometry::points_size() const {
1450  return _internal_points_size();
1451 }
1452 inline ::ignition::msgs::Vector3d* Geometry::mutable_points(int index) {
1453  // @@protoc_insertion_point(field_mutable:ignition.msgs.Geometry.points)
1454  return points_.Mutable(index);
1455 }
1456 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Vector3d >*
1457 Geometry::mutable_points() {
1458  // @@protoc_insertion_point(field_mutable_list:ignition.msgs.Geometry.points)
1459  return &points_;
1460 }
1461 inline const ::ignition::msgs::Vector3d& Geometry::_internal_points(int index) const {
1462  return points_.Get(index);
1463 }
1464 inline const ::ignition::msgs::Vector3d& Geometry::points(int index) const {
1465  // @@protoc_insertion_point(field_get:ignition.msgs.Geometry.points)
1466  return _internal_points(index);
1467 }
1468 inline ::ignition::msgs::Vector3d* Geometry::_internal_add_points() {
1469  return points_.Add();
1470 }
1471 inline ::ignition::msgs::Vector3d* Geometry::add_points() {
1472  // @@protoc_insertion_point(field_add:ignition.msgs.Geometry.points)
1473  return _internal_add_points();
1474 }
1475 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Vector3d >&
1476 Geometry::points() const {
1477  // @@protoc_insertion_point(field_list:ignition.msgs.Geometry.points)
1478  return points_;
1479 }
1480 
1481 // repeated .ignition.msgs.Polyline polyline = 12;
1482 inline int Geometry::_internal_polyline_size() const {
1483  return polyline_.size();
1484 }
1485 inline int Geometry::polyline_size() const {
1486  return _internal_polyline_size();
1487 }
1488 inline ::ignition::msgs::Polyline* Geometry::mutable_polyline(int index) {
1489  // @@protoc_insertion_point(field_mutable:ignition.msgs.Geometry.polyline)
1490  return polyline_.Mutable(index);
1491 }
1492 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Polyline >*
1493 Geometry::mutable_polyline() {
1494  // @@protoc_insertion_point(field_mutable_list:ignition.msgs.Geometry.polyline)
1495  return &polyline_;
1496 }
1497 inline const ::ignition::msgs::Polyline& Geometry::_internal_polyline(int index) const {
1498  return polyline_.Get(index);
1499 }
1500 inline const ::ignition::msgs::Polyline& Geometry::polyline(int index) const {
1501  // @@protoc_insertion_point(field_get:ignition.msgs.Geometry.polyline)
1502  return _internal_polyline(index);
1503 }
1504 inline ::ignition::msgs::Polyline* Geometry::_internal_add_polyline() {
1505  return polyline_.Add();
1506 }
1507 inline ::ignition::msgs::Polyline* Geometry::add_polyline() {
1508  // @@protoc_insertion_point(field_add:ignition.msgs.Geometry.polyline)
1509  return _internal_add_polyline();
1510 }
1511 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Polyline >&
1512 Geometry::polyline() const {
1513  // @@protoc_insertion_point(field_list:ignition.msgs.Geometry.polyline)
1514  return polyline_;
1515 }
1516 
1517 #ifdef __GNUC__
1518  #pragma GCC diagnostic pop
1519 #endif // __GNUC__
1520 
1525 // @@protoc_insertion_point(namespace_scope)
1526 
1527 } // namespace msgs
1528 } // namespace ignition
1529 
1530 PROTOBUF_NAMESPACE_OPEN
1531 
1532 template <> struct is_proto_enum< ::ignition::msgs::Geometry_Type> : ::std::true_type {};
1533 template <>
1534 inline const EnumDescriptor* GetEnumDescriptor< ::ignition::msgs::Geometry_Type>() {
1536 }
1537 
1538 PROTOBUF_NAMESPACE_CLOSE
1539 
1540 #ifdef _MSC_VER
1541 #pragma warning(pop)
1542 #endif
1543 // @@protoc_insertion_point(global_scope)
1544 
1545 #include <google/protobuf/port_undef.inc>
1546 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fgeometry_2eproto
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fgeometry_2eproto
void set_type(::ignition::msgs::Geometry_Type value)
::ignition::msgs::EllipsoidGeom * release_ellipsoid()
::ignition::msgs::Vector3d * add_points()
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: build/ignition-msgs8/include/ignition/msgs/geometry.pb.h:167
::ignition::msgs::ConeGeom * unsafe_arena_release_cone()
const ::ignition::msgs::Polyline & polyline(int index) const
const ::ignition::msgs::SphereGeom & sphere() const
Geometry * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: build/ignition-msgs8/include/ignition/msgs/geometry.pb.h:203
static const std::string & Type_Name(T enum_t_value)
Definition: build/ignition-msgs8/include/ignition/msgs/geometry.pb.h:293
void unsafe_arena_set_allocated_sphere(::ignition::msgs::SphereGeom *sphere)
void unsafe_arena_set_allocated_heightmap(::ignition::msgs::HeightmapGeom *heightmap)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
::ignition::msgs::MeshGeom * release_mesh()
::ignition::msgs::Header * release_header()
friend void swap(Geometry &a, Geometry &b)
Definition: build/ignition-msgs8/include/ignition/msgs/geometry.pb.h:180
::ignition::msgs::PlaneGeom * mutable_plane()
::ignition::msgs::CapsuleGeom * release_capsule()
void unsafe_arena_set_allocated_image(::ignition::msgs::ImageGeom *image)
::ignition::msgs::Header * mutable_header()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: build/ignition-msgs8/include/ignition/msgs/geometry.pb.h:161
void unsafe_arena_set_allocated_cylinder(::ignition::msgs::CylinderGeom *cylinder)
::ignition::msgs::MeshGeom * mutable_mesh()
::ignition::msgs::SphereGeom * release_sphere()
void unsafe_arena_set_allocated_ellipsoid(::ignition::msgs::EllipsoidGeom *ellipsoid)
void Swap(Geometry *other)
Definition: build/ignition-msgs8/include/ignition/msgs/geometry.pb.h:183
const ::ignition::msgs::HeightmapGeom & heightmap() const
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * Type_descriptor()
Definition: build/ignition-msgs8/include/ignition/msgs/geometry.pb.h:289
const ::ignition::msgs::MeshGeom & mesh() const
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
void MergeFrom(const Geometry &from)
::ignition::msgs::ImageGeom * mutable_image()
::ignition::msgs::Geometry_Type type() const
void UnsafeArenaSwap(Geometry *other)
Definition: build/ignition-msgs8/include/ignition/msgs/geometry.pb.h:191
static bool Type_IsValid(int value)
Definition: build/ignition-msgs8/include/ignition/msgs/geometry.pb.h:279
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Vector3d > & points() const
::ignition::msgs::Vector3d * mutable_points(int index)
::ignition::msgs::HeightmapGeom * mutable_heightmap()
Geometry & operator=(Geometry &&from) noexcept
Definition: build/ignition-msgs8/include/ignition/msgs/geometry.pb.h:152
::ignition::msgs::EllipsoidGeom * mutable_ellipsoid()
::ignition::msgs::ImageGeom * release_image()
void unsafe_arena_set_allocated_header(::ignition::msgs::Header *header)
void set_allocated_plane(::ignition::msgs::PlaneGeom *plane)
::ignition::msgs::Polyline * add_polyline()
::ignition::msgs::PlaneGeom * unsafe_arena_release_plane()
Geometry(Geometry &&from) noexcept
Definition: build/ignition-msgs8/include/ignition/msgs/geometry.pb.h:143
void set_allocated_box(::ignition::msgs::BoxGeom *box)
::ignition::msgs::ConeGeom * release_cone()
static bool Type_Parse(const std::string &name, Type *value)
Definition: build/ignition-msgs8/include/ignition/msgs/geometry.pb.h:299
Geometry & operator=(const Geometry &from)
Definition: build/ignition-msgs8/include/ignition/msgs/geometry.pb.h:148
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Polyline > * mutable_polyline()
::ignition::msgs::CylinderGeom * unsafe_arena_release_cylinder()
::ignition::msgs::Header * unsafe_arena_release_header()
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
void unsafe_arena_set_allocated_box(::ignition::msgs::BoxGeom *box)
void unsafe_arena_set_allocated_capsule(::ignition::msgs::CapsuleGeom *capsule)
::ignition::msgs::BoxGeom * release_box()
::ignition::msgs::PlaneGeom * release_plane()
void set_allocated_sphere(::ignition::msgs::SphereGeom *sphere)
::ignition::msgs::CylinderGeom * release_cylinder()
const ::ignition::msgs::CapsuleGeom & capsule() const
void set_allocated_image(::ignition::msgs::ImageGeom *image)
const ::ignition::msgs::ConeGeom & cone() const
::ignition::msgs::ConeGeom * mutable_cone()
::ignition::msgs::HeightmapGeom * unsafe_arena_release_heightmap()
Geometry_Type Type
Definition: build/ignition-msgs8/include/ignition/msgs/geometry.pb.h:246
::ignition::msgs::ImageGeom * unsafe_arena_release_image()
::ignition::msgs::Polyline * mutable_polyline(int index)
const ::ignition::msgs::PlaneGeom & plane() const
void set_allocated_header(::ignition::msgs::Header *header)
::ignition::msgs::CylinderGeom * mutable_cylinder()
void unsafe_arena_set_allocated_mesh(::ignition::msgs::MeshGeom *mesh)
::ignition::msgs::MeshGeom * unsafe_arena_release_mesh()
const ::ignition::msgs::CylinderGeom & cylinder() const
::ignition::msgs::EllipsoidGeom * unsafe_arena_release_ellipsoid()
::ignition::msgs::SphereGeom * mutable_sphere()
::ignition::msgs::CapsuleGeom * mutable_capsule()
Geometry(::PROTOBUF_NAMESPACE_ID::Arena *arena)
::ignition::msgs::SphereGeom * unsafe_arena_release_sphere()
const ::ignition::msgs::ImageGeom & image() const
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
Geometry * New() const final
Definition: build/ignition-msgs8/include/ignition/msgs/geometry.pb.h:199
::ignition::msgs::BoxGeom * unsafe_arena_release_box()
Geometry(const Geometry &from)
void unsafe_arena_set_allocated_plane(::ignition::msgs::PlaneGeom *plane)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: build/ignition-msgs8/include/ignition/msgs/geometry.pb.h:164
void set_allocated_cone(::ignition::msgs::ConeGeom *cone)
void set_allocated_heightmap(::ignition::msgs::HeightmapGeom *heightmap)
void set_allocated_cylinder(::ignition::msgs::CylinderGeom *cylinder)
void set_allocated_ellipsoid(::ignition::msgs::EllipsoidGeom *ellipsoid)
const ::ignition::msgs::EllipsoidGeom & ellipsoid() const
void unsafe_arena_set_allocated_cone(::ignition::msgs::ConeGeom *cone)
void set_allocated_mesh(::ignition::msgs::MeshGeom *mesh)
::ignition::msgs::CapsuleGeom * unsafe_arena_release_capsule()
::ignition::msgs::BoxGeom * mutable_box()
Geometry()
Definition: build/ignition-msgs8/include/ignition/msgs/geometry.pb.h:139
const ::ignition::msgs::Vector3d & points(int index) const
const ::ignition::msgs::BoxGeom & box() const
static const Geometry & default_instance()
void set_allocated_capsule(::ignition::msgs::CapsuleGeom *capsule)
void CopyFrom(const Geometry &from)
static const Geometry * internal_default_instance()
Definition: build/ignition-msgs8/include/ignition/msgs/geometry.pb.h:173
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Vector3d > * mutable_points()
const ::ignition::msgs::Header & header() const
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Polyline > & polyline() const
::ignition::msgs::HeightmapGeom * release_heightmap()
T max(T... args)
T min(T... args)
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * Geometry_Type_descriptor()
IGNITION_MSGS_VISIBLE PlaneGeomDefaultTypeInternal _PlaneGeom_default_instance_
constexpr Geometry_Type Geometry_Type_Type_MIN
Definition: build/ignition-msgs8/include/ignition/msgs/geometry.pb.h:116
IGNITION_MSGS_VISIBLE CapsuleGeomDefaultTypeInternal _CapsuleGeom_default_instance_
IGNITION_MSGS_VISIBLE HeightmapGeomDefaultTypeInternal _HeightmapGeom_default_instance_
IGNITION_MSGS_VISIBLE ConeGeomDefaultTypeInternal _ConeGeom_default_instance_
IGNITION_MSGS_VISIBLE bool Geometry_Type_IsValid(int value)
std::unique_ptr< const Geometry > ConstGeometryUniquePtr
Definition: build/ignition-msgs8/include/ignition/msgs/geometry.pb.h:1522
IGNITION_MSGS_VISIBLE ImageGeomDefaultTypeInternal _ImageGeom_default_instance_
IGNITION_MSGS_VISIBLE EllipsoidGeomDefaultTypeInternal _EllipsoidGeom_default_instance_
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
std::shared_ptr< Geometry > GeometrySharedPtr
Definition: build/ignition-msgs8/include/ignition/msgs/geometry.pb.h:1523
constexpr int Geometry_Type_Type_ARRAYSIZE
Definition: build/ignition-msgs8/include/ignition/msgs/geometry.pb.h:118
IGNITION_MSGS_VISIBLE MeshGeomDefaultTypeInternal _MeshGeom_default_instance_
std::shared_ptr< const Geometry > ConstGeometrySharedPtr
Definition: build/ignition-msgs8/include/ignition/msgs/geometry.pb.h:1524
const std::string & Geometry_Type_Name(T enum_t_value)
Definition: build/ignition-msgs8/include/ignition/msgs/geometry.pb.h:122
std::unique_ptr< Geometry > GeometryUniquePtr
Definition: build/ignition-msgs8/include/ignition/msgs/geometry.pb.h:1521
bool Geometry_Type_Parse(const std::string &name, Geometry_Type *value)
Definition: build/ignition-msgs8/include/ignition/msgs/geometry.pb.h:129
IGNITION_MSGS_VISIBLE CylinderGeomDefaultTypeInternal _CylinderGeom_default_instance_
Atmosphere_Type
Definition: build/ignition-msgs8/include/ignition/msgs/atmosphere.pb.h:83
Geometry_Type
Definition: build/ignition-msgs8/include/ignition/msgs/geometry.pb.h:95
@ Geometry_Type_Geometry_Type_INT_MIN_SENTINEL_DO_NOT_USE_
Definition: build/ignition-msgs8/include/ignition/msgs/geometry.pb.h:112
@ Geometry_Type_Geometry_Type_INT_MAX_SENTINEL_DO_NOT_USE_
Definition: build/ignition-msgs8/include/ignition/msgs/geometry.pb.h:113
@ Geometry_Type_MESH
Definition: build/ignition-msgs8/include/ignition/msgs/geometry.pb.h:102
@ Geometry_Type_CYLINDER
Definition: build/ignition-msgs8/include/ignition/msgs/geometry.pb.h:97
@ Geometry_Type_SPHERE
Definition: build/ignition-msgs8/include/ignition/msgs/geometry.pb.h:98
@ Geometry_Type_HEIGHTMAP
Definition: build/ignition-msgs8/include/ignition/msgs/geometry.pb.h:101
@ Geometry_Type_POLYLINE
Definition: build/ignition-msgs8/include/ignition/msgs/geometry.pb.h:105
@ Geometry_Type_IMAGE
Definition: build/ignition-msgs8/include/ignition/msgs/geometry.pb.h:100
@ Geometry_Type_TRIANGLE_FAN
Definition: build/ignition-msgs8/include/ignition/msgs/geometry.pb.h:103
@ Geometry_Type_CAPSULE
Definition: build/ignition-msgs8/include/ignition/msgs/geometry.pb.h:110
@ Geometry_Type_AXIS
Definition: build/ignition-msgs8/include/ignition/msgs/geometry.pb.h:109
@ Geometry_Type_LINE_STRIP
Definition: build/ignition-msgs8/include/ignition/msgs/geometry.pb.h:104
@ Geometry_Type_ELLIPSOID
Definition: build/ignition-msgs8/include/ignition/msgs/geometry.pb.h:111
@ Geometry_Type_PLANE
Definition: build/ignition-msgs8/include/ignition/msgs/geometry.pb.h:99
@ Geometry_Type_EMPTY
Definition: build/ignition-msgs8/include/ignition/msgs/geometry.pb.h:107
@ Geometry_Type_ARROW
Definition: build/ignition-msgs8/include/ignition/msgs/geometry.pb.h:108
@ Geometry_Type_BOX
Definition: build/ignition-msgs8/include/ignition/msgs/geometry.pb.h:96
@ Geometry_Type_CONE
Definition: build/ignition-msgs8/include/ignition/msgs/geometry.pb.h:106
IGNITION_MSGS_VISIBLE BoxGeomDefaultTypeInternal _BoxGeom_default_instance_
constexpr Geometry_Type Geometry_Type_Type_MAX
Definition: build/ignition-msgs8/include/ignition/msgs/geometry.pb.h:117
IGNITION_MSGS_VISIBLE SphereGeomDefaultTypeInternal _SphereGeom_default_instance_
IGNITION_MSGS_VISIBLE GeometryDefaultTypeInternal _Geometry_default_instance_
Definition: build/ignition-msgs8/include/ignition/msgs/actor.pb.h:53
Definition: build/ignition-msgs8/include/ignition/msgs/geometry.pb.h:70
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)