Ignition Msgs

API Reference

5.8.1
model.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: ignition/msgs/model.proto
3 
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fmodel_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fmodel_2eproto
6 
7 #include <limits>
8 #include <string>
9 
10 #include <google/protobuf/port_def.inc>
11 #if PROTOBUF_VERSION < 3019000
12 #error This file was generated by a newer version of protoc which is
13 #error incompatible with your Protocol Buffer headers. Please update
14 #error your headers.
15 #endif
16 #if 3019000 < PROTOBUF_MIN_PROTOC_VERSION
17 #error This file was generated by an older version of protoc which is
18 #error incompatible with your Protocol Buffer headers. Please
19 #error regenerate this file with a newer version of protoc.
20 #endif
21 
22 #include <google/protobuf/port_undef.inc>
23 #include <google/protobuf/io/coded_stream.h>
24 #include <google/protobuf/arena.h>
25 #include <google/protobuf/arenastring.h>
26 #include <google/protobuf/generated_message_table_driven.h>
27 #include <google/protobuf/generated_message_util.h>
28 #include <google/protobuf/metadata_lite.h>
29 #include <google/protobuf/generated_message_reflection.h>
30 #include <google/protobuf/message.h>
31 #include <google/protobuf/repeated_field.h> // IWYU pragma: export
32 #include <google/protobuf/extension_set.h> // IWYU pragma: export
33 #include <google/protobuf/unknown_field_set.h>
35 #include "ignition/msgs/joint.pb.h"
36 #include "ignition/msgs/link.pb.h"
37 #include "ignition/msgs/pose.pb.h"
41 #ifndef _MSC_VER
42 #pragma GCC system_header
43 #else
44 #pragma warning(push)
45 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
46 #endif
47 #ifdef __linux__
48 #include <sys/sysmacros.h>
49 #endif
50 #include <memory>
51 #include <ignition/msgs/Export.hh>
52 // @@protoc_insertion_point(includes)
53 #include <google/protobuf/port_def.inc>
54 #define PROTOBUF_INTERNAL_EXPORT_ignition_2fmsgs_2fmodel_2eproto IGNITION_MSGS_VISIBLE
55 PROTOBUF_NAMESPACE_OPEN
56 namespace internal {
57 class AnyMetadata;
58 } // namespace internal
59 PROTOBUF_NAMESPACE_CLOSE
60 
61 // Internal implementation detail -- do not use these members.
62 struct IGNITION_MSGS_VISIBLE TableStruct_ignition_2fmsgs_2fmodel_2eproto {
63  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
64  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
65  static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
66  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
67  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1]
68  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
69  static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
70  static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
71  static const uint32_t offsets[];
72 };
73 IGNITION_MSGS_VISIBLE extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fmodel_2eproto;
74 namespace ignition {
75 namespace msgs {
76 class Model;
77 struct ModelDefaultTypeInternal;
78 IGNITION_MSGS_VISIBLE extern ModelDefaultTypeInternal _Model_default_instance_;
79 } // namespace msgs
80 } // namespace ignition
81 PROTOBUF_NAMESPACE_OPEN
82 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::Model* Arena::CreateMaybeMessage<::ignition::msgs::Model>(Arena*);
83 PROTOBUF_NAMESPACE_CLOSE
84 namespace ignition {
85 namespace msgs {
86 
87 // ===================================================================
88 
89 class IGNITION_MSGS_VISIBLE Model final :
90  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.Model) */ {
91  public:
92  inline Model() : Model(nullptr) {}
93  ~Model() override;
94  explicit constexpr Model(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
95 
96  Model(const Model& from);
97  Model(Model&& from) noexcept
98  : Model() {
99  *this = ::std::move(from);
100  }
101 
102  inline Model& operator=(const Model& from) {
103  CopyFrom(from);
104  return *this;
105  }
106  inline Model& operator=(Model&& from) noexcept {
107  if (this == &from) return *this;
108  if (GetOwningArena() == from.GetOwningArena()
109  #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
110  && GetOwningArena() != nullptr
111  #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
112  ) {
113  InternalSwap(&from);
114  } else {
115  CopyFrom(from);
116  }
117  return *this;
118  }
119 
120  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
121  return GetDescriptor();
122  }
123  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
124  return default_instance().GetMetadata().descriptor;
125  }
126  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
127  return default_instance().GetMetadata().reflection;
128  }
129  static const Model& default_instance() {
130  return *internal_default_instance();
131  }
132  static inline const Model* internal_default_instance() {
133  return reinterpret_cast<const Model*>(
135  }
136  static constexpr int kIndexInFileMessages =
137  0;
138 
139  friend void swap(Model& a, Model& b) {
140  a.Swap(&b);
141  }
142  inline void Swap(Model* other) {
143  if (other == this) return;
144  #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
145  if (GetOwningArena() != nullptr &&
146  GetOwningArena() == other->GetOwningArena()) {
147  #else // PROTOBUF_FORCE_COPY_IN_SWAP
148  if (GetOwningArena() == other->GetOwningArena()) {
149  #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
150  InternalSwap(other);
151  } else {
152  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
153  }
154  }
155  void UnsafeArenaSwap(Model* other) {
156  if (other == this) return;
157  GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
158  InternalSwap(other);
159  }
160 
161  // implements Message ----------------------------------------------
162 
163  Model* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
164  return CreateMaybeMessage<Model>(arena);
165  }
166  using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
167  void CopyFrom(const Model& from);
168  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
169  void MergeFrom(const Model& from);
170  private:
171  static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
172  public:
173  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
174  bool IsInitialized() const final;
175 
176  size_t ByteSizeLong() const final;
177  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
178  uint8_t* _InternalSerialize(
179  uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
180  int GetCachedSize() const final { return _cached_size_.Get(); }
181 
182  private:
183  void SharedCtor();
184  void SharedDtor();
185  void SetCachedSize(int size) const final;
186  void InternalSwap(Model* other);
187 
188  private:
189  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
190  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
191  return "ignition.msgs.Model";
192  }
193  protected:
194  explicit Model(::PROTOBUF_NAMESPACE_ID::Arena* arena,
195  bool is_message_owned = false);
196  private:
197  static void ArenaDtor(void* object);
198  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
199  public:
200 
201  static const ClassData _class_data_;
202  const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
203 
204  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
205 
206  // nested types ----------------------------------------------------
207 
208  // accessors -------------------------------------------------------
209 
210  enum : int {
211  kJointFieldNumber = 6,
212  kLinkFieldNumber = 7,
213  kVisualFieldNumber = 9,
214  kModelFieldNumber = 12,
215  kNameFieldNumber = 2,
216  kHeaderFieldNumber = 1,
217  kPoseFieldNumber = 5,
218  kScaleFieldNumber = 10,
219  kBoundingBoxFieldNumber = 13,
220  kIdFieldNumber = 3,
221  kIsStaticFieldNumber = 4,
222  kDeletedFieldNumber = 8,
223  kSelfCollideFieldNumber = 11,
224  };
225  // repeated .ignition.msgs.Joint joint = 6;
226  int joint_size() const;
227  private:
228  int _internal_joint_size() const;
229  public:
230  void clear_joint();
231  ::ignition::msgs::Joint* mutable_joint(int index);
232  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Joint >*
233  mutable_joint();
234  private:
235  const ::ignition::msgs::Joint& _internal_joint(int index) const;
236  ::ignition::msgs::Joint* _internal_add_joint();
237  public:
238  const ::ignition::msgs::Joint& joint(int index) const;
239  ::ignition::msgs::Joint* add_joint();
240  const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Joint >&
241  joint() const;
242 
243  // repeated .ignition.msgs.Link link = 7;
244  int link_size() const;
245  private:
246  int _internal_link_size() const;
247  public:
248  void clear_link();
249  ::ignition::msgs::Link* mutable_link(int index);
250  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Link >*
251  mutable_link();
252  private:
253  const ::ignition::msgs::Link& _internal_link(int index) const;
254  ::ignition::msgs::Link* _internal_add_link();
255  public:
256  const ::ignition::msgs::Link& link(int index) const;
257  ::ignition::msgs::Link* add_link();
258  const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Link >&
259  link() const;
260 
261  // repeated .ignition.msgs.Visual visual = 9;
262  int visual_size() const;
263  private:
264  int _internal_visual_size() const;
265  public:
266  void clear_visual();
267  ::ignition::msgs::Visual* mutable_visual(int index);
268  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Visual >*
269  mutable_visual();
270  private:
271  const ::ignition::msgs::Visual& _internal_visual(int index) const;
272  ::ignition::msgs::Visual* _internal_add_visual();
273  public:
274  const ::ignition::msgs::Visual& visual(int index) const;
275  ::ignition::msgs::Visual* add_visual();
276  const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Visual >&
277  visual() const;
278 
279  // repeated .ignition.msgs.Model model = 12;
280  int model_size() const;
281  private:
282  int _internal_model_size() const;
283  public:
284  void clear_model();
285  ::ignition::msgs::Model* mutable_model(int index);
286  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Model >*
287  mutable_model();
288  private:
289  const ::ignition::msgs::Model& _internal_model(int index) const;
290  ::ignition::msgs::Model* _internal_add_model();
291  public:
292  const ::ignition::msgs::Model& model(int index) const;
293  ::ignition::msgs::Model* add_model();
294  const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Model >&
295  model() const;
296 
297  // string name = 2;
298  void clear_name();
299  const std::string& name() const;
300  template <typename ArgT0 = const std::string&, typename... ArgT>
301  void set_name(ArgT0&& arg0, ArgT... args);
302  std::string* mutable_name();
303  PROTOBUF_NODISCARD std::string* release_name();
304  void set_allocated_name(std::string* name);
305  private:
306  const std::string& _internal_name() const;
307  inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
308  std::string* _internal_mutable_name();
309  public:
310 
311  // .ignition.msgs.Header header = 1;
312  bool has_header() const;
313  private:
314  bool _internal_has_header() const;
315  public:
316  void clear_header();
317  const ::ignition::msgs::Header& header() const;
318  PROTOBUF_NODISCARD ::ignition::msgs::Header* release_header();
319  ::ignition::msgs::Header* mutable_header();
320  void set_allocated_header(::ignition::msgs::Header* header);
321  private:
322  const ::ignition::msgs::Header& _internal_header() const;
323  ::ignition::msgs::Header* _internal_mutable_header();
324  public:
325  void unsafe_arena_set_allocated_header(
326  ::ignition::msgs::Header* header);
327  ::ignition::msgs::Header* unsafe_arena_release_header();
328 
329  // .ignition.msgs.Pose pose = 5;
330  bool has_pose() const;
331  private:
332  bool _internal_has_pose() const;
333  public:
334  void clear_pose();
335  const ::ignition::msgs::Pose& pose() const;
336  PROTOBUF_NODISCARD ::ignition::msgs::Pose* release_pose();
337  ::ignition::msgs::Pose* mutable_pose();
338  void set_allocated_pose(::ignition::msgs::Pose* pose);
339  private:
340  const ::ignition::msgs::Pose& _internal_pose() const;
341  ::ignition::msgs::Pose* _internal_mutable_pose();
342  public:
343  void unsafe_arena_set_allocated_pose(
344  ::ignition::msgs::Pose* pose);
345  ::ignition::msgs::Pose* unsafe_arena_release_pose();
346 
347  // .ignition.msgs.Vector3d scale = 10;
348  bool has_scale() const;
349  private:
350  bool _internal_has_scale() const;
351  public:
352  void clear_scale();
353  const ::ignition::msgs::Vector3d& scale() const;
354  PROTOBUF_NODISCARD ::ignition::msgs::Vector3d* release_scale();
355  ::ignition::msgs::Vector3d* mutable_scale();
356  void set_allocated_scale(::ignition::msgs::Vector3d* scale);
357  private:
358  const ::ignition::msgs::Vector3d& _internal_scale() const;
359  ::ignition::msgs::Vector3d* _internal_mutable_scale();
360  public:
361  void unsafe_arena_set_allocated_scale(
362  ::ignition::msgs::Vector3d* scale);
363  ::ignition::msgs::Vector3d* unsafe_arena_release_scale();
364 
365  // .ignition.msgs.AxisAlignedBox bounding_box = 13;
366  bool has_bounding_box() const;
367  private:
368  bool _internal_has_bounding_box() const;
369  public:
371  const ::ignition::msgs::AxisAlignedBox& bounding_box() const;
372  PROTOBUF_NODISCARD ::ignition::msgs::AxisAlignedBox* release_bounding_box();
373  ::ignition::msgs::AxisAlignedBox* mutable_bounding_box();
374  void set_allocated_bounding_box(::ignition::msgs::AxisAlignedBox* bounding_box);
375  private:
376  const ::ignition::msgs::AxisAlignedBox& _internal_bounding_box() const;
377  ::ignition::msgs::AxisAlignedBox* _internal_mutable_bounding_box();
378  public:
379  void unsafe_arena_set_allocated_bounding_box(
380  ::ignition::msgs::AxisAlignedBox* bounding_box);
381  ::ignition::msgs::AxisAlignedBox* unsafe_arena_release_bounding_box();
382 
383  // uint32 id = 3;
384  void clear_id();
385  uint32_t id() const;
386  void set_id(uint32_t value);
387  private:
388  uint32_t _internal_id() const;
389  void _internal_set_id(uint32_t value);
390  public:
391 
392  // bool is_static = 4;
393  void clear_is_static();
394  bool is_static() const;
395  void set_is_static(bool value);
396  private:
397  bool _internal_is_static() const;
398  void _internal_set_is_static(bool value);
399  public:
400 
401  // bool deleted = 8;
402  void clear_deleted();
403  bool deleted() const;
404  void set_deleted(bool value);
405  private:
406  bool _internal_deleted() const;
407  void _internal_set_deleted(bool value);
408  public:
409 
410  // bool self_collide = 11;
411  void clear_self_collide();
412  bool self_collide() const;
413  void set_self_collide(bool value);
414  private:
415  bool _internal_self_collide() const;
416  void _internal_set_self_collide(bool value);
417  public:
418 
419  // @@protoc_insertion_point(class_scope:ignition.msgs.Model)
420  private:
421  class _Internal;
422 
423  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
424  typedef void InternalArenaConstructable_;
425  typedef void DestructorSkippable_;
426  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Joint > joint_;
427  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Link > link_;
428  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Visual > visual_;
429  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Model > model_;
430  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
431  ::ignition::msgs::Header* header_;
432  ::ignition::msgs::Pose* pose_;
434  ::ignition::msgs::AxisAlignedBox* bounding_box_;
435  uint32_t id_;
436  bool is_static_;
437  bool deleted_;
438  bool self_collide_;
439  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
440  friend struct ::TableStruct_ignition_2fmsgs_2fmodel_2eproto;
441 };
442 // ===================================================================
443 
444 
445 // ===================================================================
446 
447 #ifdef __GNUC__
448  #pragma GCC diagnostic push
449  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
450 #endif // __GNUC__
451 // Model
452 
453 // .ignition.msgs.Header header = 1;
454 inline bool Model::_internal_has_header() const {
455  return this != internal_default_instance() && header_ != nullptr;
456 }
457 inline bool Model::has_header() const {
458  return _internal_has_header();
459 }
460 inline const ::ignition::msgs::Header& Model::_internal_header() const {
461  const ::ignition::msgs::Header* p = header_;
462  return p != nullptr ? *p : reinterpret_cast<const ::ignition::msgs::Header&>(
464 }
465 inline const ::ignition::msgs::Header& Model::header() const {
466  // @@protoc_insertion_point(field_get:ignition.msgs.Model.header)
467  return _internal_header();
468 }
470  ::ignition::msgs::Header* header) {
471  if (GetArenaForAllocation() == nullptr) {
472  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(header_);
473  }
474  header_ = header;
475  if (header) {
476 
477  } else {
478 
479  }
480  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.Model.header)
481 }
482 inline ::ignition::msgs::Header* Model::release_header() {
483 
484  ::ignition::msgs::Header* temp = header_;
485  header_ = nullptr;
486 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
487  auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
488  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
489  if (GetArenaForAllocation() == nullptr) { delete old; }
490 #else // PROTOBUF_FORCE_COPY_IN_RELEASE
491  if (GetArenaForAllocation() != nullptr) {
492  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
493  }
494 #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
495  return temp;
496 }
497 inline ::ignition::msgs::Header* Model::unsafe_arena_release_header() {
498  // @@protoc_insertion_point(field_release:ignition.msgs.Model.header)
499 
500  ::ignition::msgs::Header* temp = header_;
501  header_ = nullptr;
502  return temp;
503 }
504 inline ::ignition::msgs::Header* Model::_internal_mutable_header() {
505 
506  if (header_ == nullptr) {
507  auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArenaForAllocation());
508  header_ = p;
509  }
510  return header_;
511 }
512 inline ::ignition::msgs::Header* Model::mutable_header() {
513  ::ignition::msgs::Header* _msg = _internal_mutable_header();
514  // @@protoc_insertion_point(field_mutable:ignition.msgs.Model.header)
515  return _msg;
516 }
518  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
519  if (message_arena == nullptr) {
520  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(header_);
521  }
522  if (header) {
523  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
524  ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<
525  ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena(
526  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(header));
527  if (message_arena != submessage_arena) {
528  header = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
529  message_arena, header, submessage_arena);
530  }
531 
532  } else {
533 
534  }
535  header_ = header;
536  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Model.header)
537 }
538 
539 // string name = 2;
540 inline void Model::clear_name() {
541  name_.ClearToEmpty();
542 }
543 inline const std::string& Model::name() const {
544  // @@protoc_insertion_point(field_get:ignition.msgs.Model.name)
545  return _internal_name();
546 }
547 template <typename ArgT0, typename... ArgT>
548 inline PROTOBUF_ALWAYS_INLINE
549 void Model::set_name(ArgT0&& arg0, ArgT... args) {
550 
551  name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
552  // @@protoc_insertion_point(field_set:ignition.msgs.Model.name)
553 }
555  std::string* _s = _internal_mutable_name();
556  // @@protoc_insertion_point(field_mutable:ignition.msgs.Model.name)
557  return _s;
558 }
559 inline const std::string& Model::_internal_name() const {
560  return name_.Get();
561 }
562 inline void Model::_internal_set_name(const std::string& value) {
563 
564  name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
565 }
566 inline std::string* Model::_internal_mutable_name() {
567 
568  return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
569 }
571  // @@protoc_insertion_point(field_release:ignition.msgs.Model.name)
572  return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
573 }
575  if (name != nullptr) {
576 
577  } else {
578 
579  }
580  name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name,
581  GetArenaForAllocation());
582 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
583  if (name_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
584  name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
585  }
586 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
587  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Model.name)
588 }
589 
590 // uint32 id = 3;
591 inline void Model::clear_id() {
592  id_ = 0u;
593 }
594 inline uint32_t Model::_internal_id() const {
595  return id_;
596 }
597 inline uint32_t Model::id() const {
598  // @@protoc_insertion_point(field_get:ignition.msgs.Model.id)
599  return _internal_id();
600 }
601 inline void Model::_internal_set_id(uint32_t value) {
602 
603  id_ = value;
604 }
605 inline void Model::set_id(uint32_t value) {
606  _internal_set_id(value);
607  // @@protoc_insertion_point(field_set:ignition.msgs.Model.id)
608 }
609 
610 // bool is_static = 4;
611 inline void Model::clear_is_static() {
612  is_static_ = false;
613 }
614 inline bool Model::_internal_is_static() const {
615  return is_static_;
616 }
617 inline bool Model::is_static() const {
618  // @@protoc_insertion_point(field_get:ignition.msgs.Model.is_static)
619  return _internal_is_static();
620 }
621 inline void Model::_internal_set_is_static(bool value) {
622 
623  is_static_ = value;
624 }
625 inline void Model::set_is_static(bool value) {
626  _internal_set_is_static(value);
627  // @@protoc_insertion_point(field_set:ignition.msgs.Model.is_static)
628 }
629 
630 // .ignition.msgs.Pose pose = 5;
631 inline bool Model::_internal_has_pose() const {
632  return this != internal_default_instance() && pose_ != nullptr;
633 }
634 inline bool Model::has_pose() const {
635  return _internal_has_pose();
636 }
637 inline const ::ignition::msgs::Pose& Model::_internal_pose() const {
638  const ::ignition::msgs::Pose* p = pose_;
639  return p != nullptr ? *p : reinterpret_cast<const ::ignition::msgs::Pose&>(
641 }
642 inline const ::ignition::msgs::Pose& Model::pose() const {
643  // @@protoc_insertion_point(field_get:ignition.msgs.Model.pose)
644  return _internal_pose();
645 }
647  ::ignition::msgs::Pose* pose) {
648  if (GetArenaForAllocation() == nullptr) {
649  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(pose_);
650  }
651  pose_ = pose;
652  if (pose) {
653 
654  } else {
655 
656  }
657  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.Model.pose)
658 }
659 inline ::ignition::msgs::Pose* Model::release_pose() {
660 
661  ::ignition::msgs::Pose* temp = pose_;
662  pose_ = nullptr;
663 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
664  auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
665  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
666  if (GetArenaForAllocation() == nullptr) { delete old; }
667 #else // PROTOBUF_FORCE_COPY_IN_RELEASE
668  if (GetArenaForAllocation() != nullptr) {
669  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
670  }
671 #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
672  return temp;
673 }
674 inline ::ignition::msgs::Pose* Model::unsafe_arena_release_pose() {
675  // @@protoc_insertion_point(field_release:ignition.msgs.Model.pose)
676 
677  ::ignition::msgs::Pose* temp = pose_;
678  pose_ = nullptr;
679  return temp;
680 }
681 inline ::ignition::msgs::Pose* Model::_internal_mutable_pose() {
682 
683  if (pose_ == nullptr) {
684  auto* p = CreateMaybeMessage<::ignition::msgs::Pose>(GetArenaForAllocation());
685  pose_ = p;
686  }
687  return pose_;
688 }
689 inline ::ignition::msgs::Pose* Model::mutable_pose() {
690  ::ignition::msgs::Pose* _msg = _internal_mutable_pose();
691  // @@protoc_insertion_point(field_mutable:ignition.msgs.Model.pose)
692  return _msg;
693 }
695  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
696  if (message_arena == nullptr) {
697  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(pose_);
698  }
699  if (pose) {
700  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
701  ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<
702  ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena(
703  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(pose));
704  if (message_arena != submessage_arena) {
705  pose = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
706  message_arena, pose, submessage_arena);
707  }
708 
709  } else {
710 
711  }
712  pose_ = pose;
713  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Model.pose)
714 }
715 
716 // repeated .ignition.msgs.Joint joint = 6;
717 inline int Model::_internal_joint_size() const {
718  return joint_.size();
719 }
720 inline int Model::joint_size() const {
721  return _internal_joint_size();
722 }
723 inline ::ignition::msgs::Joint* Model::mutable_joint(int index) {
724  // @@protoc_insertion_point(field_mutable:ignition.msgs.Model.joint)
725  return joint_.Mutable(index);
726 }
727 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Joint >*
729  // @@protoc_insertion_point(field_mutable_list:ignition.msgs.Model.joint)
730  return &joint_;
731 }
732 inline const ::ignition::msgs::Joint& Model::_internal_joint(int index) const {
733  return joint_.Get(index);
734 }
735 inline const ::ignition::msgs::Joint& Model::joint(int index) const {
736  // @@protoc_insertion_point(field_get:ignition.msgs.Model.joint)
737  return _internal_joint(index);
738 }
739 inline ::ignition::msgs::Joint* Model::_internal_add_joint() {
740  return joint_.Add();
741 }
742 inline ::ignition::msgs::Joint* Model::add_joint() {
743  ::ignition::msgs::Joint* _add = _internal_add_joint();
744  // @@protoc_insertion_point(field_add:ignition.msgs.Model.joint)
745  return _add;
746 }
747 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Joint >&
748 Model::joint() const {
749  // @@protoc_insertion_point(field_list:ignition.msgs.Model.joint)
750  return joint_;
751 }
752 
753 // repeated .ignition.msgs.Link link = 7;
754 inline int Model::_internal_link_size() const {
755  return link_.size();
756 }
757 inline int Model::link_size() const {
758  return _internal_link_size();
759 }
760 inline ::ignition::msgs::Link* Model::mutable_link(int index) {
761  // @@protoc_insertion_point(field_mutable:ignition.msgs.Model.link)
762  return link_.Mutable(index);
763 }
764 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Link >*
766  // @@protoc_insertion_point(field_mutable_list:ignition.msgs.Model.link)
767  return &link_;
768 }
769 inline const ::ignition::msgs::Link& Model::_internal_link(int index) const {
770  return link_.Get(index);
771 }
772 inline const ::ignition::msgs::Link& Model::link(int index) const {
773  // @@protoc_insertion_point(field_get:ignition.msgs.Model.link)
774  return _internal_link(index);
775 }
776 inline ::ignition::msgs::Link* Model::_internal_add_link() {
777  return link_.Add();
778 }
779 inline ::ignition::msgs::Link* Model::add_link() {
780  ::ignition::msgs::Link* _add = _internal_add_link();
781  // @@protoc_insertion_point(field_add:ignition.msgs.Model.link)
782  return _add;
783 }
784 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Link >&
785 Model::link() const {
786  // @@protoc_insertion_point(field_list:ignition.msgs.Model.link)
787  return link_;
788 }
789 
790 // bool deleted = 8;
791 inline void Model::clear_deleted() {
792  deleted_ = false;
793 }
794 inline bool Model::_internal_deleted() const {
795  return deleted_;
796 }
797 inline bool Model::deleted() const {
798  // @@protoc_insertion_point(field_get:ignition.msgs.Model.deleted)
799  return _internal_deleted();
800 }
801 inline void Model::_internal_set_deleted(bool value) {
802 
803  deleted_ = value;
804 }
805 inline void Model::set_deleted(bool value) {
806  _internal_set_deleted(value);
807  // @@protoc_insertion_point(field_set:ignition.msgs.Model.deleted)
808 }
809 
810 // repeated .ignition.msgs.Visual visual = 9;
811 inline int Model::_internal_visual_size() const {
812  return visual_.size();
813 }
814 inline int Model::visual_size() const {
815  return _internal_visual_size();
816 }
817 inline ::ignition::msgs::Visual* Model::mutable_visual(int index) {
818  // @@protoc_insertion_point(field_mutable:ignition.msgs.Model.visual)
819  return visual_.Mutable(index);
820 }
821 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Visual >*
823  // @@protoc_insertion_point(field_mutable_list:ignition.msgs.Model.visual)
824  return &visual_;
825 }
826 inline const ::ignition::msgs::Visual& Model::_internal_visual(int index) const {
827  return visual_.Get(index);
828 }
829 inline const ::ignition::msgs::Visual& Model::visual(int index) const {
830  // @@protoc_insertion_point(field_get:ignition.msgs.Model.visual)
831  return _internal_visual(index);
832 }
833 inline ::ignition::msgs::Visual* Model::_internal_add_visual() {
834  return visual_.Add();
835 }
836 inline ::ignition::msgs::Visual* Model::add_visual() {
837  ::ignition::msgs::Visual* _add = _internal_add_visual();
838  // @@protoc_insertion_point(field_add:ignition.msgs.Model.visual)
839  return _add;
840 }
841 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Visual >&
842 Model::visual() const {
843  // @@protoc_insertion_point(field_list:ignition.msgs.Model.visual)
844  return visual_;
845 }
846 
847 // .ignition.msgs.Vector3d scale = 10;
848 inline bool Model::_internal_has_scale() const {
849  return this != internal_default_instance() && scale_ != nullptr;
850 }
851 inline bool Model::has_scale() const {
852  return _internal_has_scale();
853 }
854 inline const ::ignition::msgs::Vector3d& Model::_internal_scale() const {
855  const ::ignition::msgs::Vector3d* p = scale_;
856  return p != nullptr ? *p : reinterpret_cast<const ::ignition::msgs::Vector3d&>(
858 }
859 inline const ::ignition::msgs::Vector3d& Model::scale() const {
860  // @@protoc_insertion_point(field_get:ignition.msgs.Model.scale)
861  return _internal_scale();
862 }
864  ::ignition::msgs::Vector3d* scale) {
865  if (GetArenaForAllocation() == nullptr) {
866  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(scale_);
867  }
868  scale_ = scale;
869  if (scale) {
870 
871  } else {
872 
873  }
874  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.Model.scale)
875 }
876 inline ::ignition::msgs::Vector3d* Model::release_scale() {
877 
878  ::ignition::msgs::Vector3d* temp = scale_;
879  scale_ = nullptr;
880 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
881  auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
882  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
883  if (GetArenaForAllocation() == nullptr) { delete old; }
884 #else // PROTOBUF_FORCE_COPY_IN_RELEASE
885  if (GetArenaForAllocation() != nullptr) {
886  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
887  }
888 #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
889  return temp;
890 }
891 inline ::ignition::msgs::Vector3d* Model::unsafe_arena_release_scale() {
892  // @@protoc_insertion_point(field_release:ignition.msgs.Model.scale)
893 
894  ::ignition::msgs::Vector3d* temp = scale_;
895  scale_ = nullptr;
896  return temp;
897 }
898 inline ::ignition::msgs::Vector3d* Model::_internal_mutable_scale() {
899 
900  if (scale_ == nullptr) {
901  auto* p = CreateMaybeMessage<::ignition::msgs::Vector3d>(GetArenaForAllocation());
902  scale_ = p;
903  }
904  return scale_;
905 }
906 inline ::ignition::msgs::Vector3d* Model::mutable_scale() {
907  ::ignition::msgs::Vector3d* _msg = _internal_mutable_scale();
908  // @@protoc_insertion_point(field_mutable:ignition.msgs.Model.scale)
909  return _msg;
910 }
912  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
913  if (message_arena == nullptr) {
914  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(scale_);
915  }
916  if (scale) {
917  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
918  ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<
919  ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena(
920  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(scale));
921  if (message_arena != submessage_arena) {
922  scale = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
923  message_arena, scale, submessage_arena);
924  }
925 
926  } else {
927 
928  }
929  scale_ = scale;
930  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Model.scale)
931 }
932 
933 // bool self_collide = 11;
935  self_collide_ = false;
936 }
937 inline bool Model::_internal_self_collide() const {
938  return self_collide_;
939 }
940 inline bool Model::self_collide() const {
941  // @@protoc_insertion_point(field_get:ignition.msgs.Model.self_collide)
942  return _internal_self_collide();
943 }
944 inline void Model::_internal_set_self_collide(bool value) {
945 
946  self_collide_ = value;
947 }
948 inline void Model::set_self_collide(bool value) {
949  _internal_set_self_collide(value);
950  // @@protoc_insertion_point(field_set:ignition.msgs.Model.self_collide)
951 }
952 
953 // repeated .ignition.msgs.Model model = 12;
954 inline int Model::_internal_model_size() const {
955  return model_.size();
956 }
957 inline int Model::model_size() const {
958  return _internal_model_size();
959 }
960 inline void Model::clear_model() {
961  model_.Clear();
962 }
963 inline ::ignition::msgs::Model* Model::mutable_model(int index) {
964  // @@protoc_insertion_point(field_mutable:ignition.msgs.Model.model)
965  return model_.Mutable(index);
966 }
967 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Model >*
969  // @@protoc_insertion_point(field_mutable_list:ignition.msgs.Model.model)
970  return &model_;
971 }
972 inline const ::ignition::msgs::Model& Model::_internal_model(int index) const {
973  return model_.Get(index);
974 }
975 inline const ::ignition::msgs::Model& Model::model(int index) const {
976  // @@protoc_insertion_point(field_get:ignition.msgs.Model.model)
977  return _internal_model(index);
978 }
979 inline ::ignition::msgs::Model* Model::_internal_add_model() {
980  return model_.Add();
981 }
982 inline ::ignition::msgs::Model* Model::add_model() {
983  ::ignition::msgs::Model* _add = _internal_add_model();
984  // @@protoc_insertion_point(field_add:ignition.msgs.Model.model)
985  return _add;
986 }
987 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Model >&
988 Model::model() const {
989  // @@protoc_insertion_point(field_list:ignition.msgs.Model.model)
990  return model_;
991 }
992 
993 // .ignition.msgs.AxisAlignedBox bounding_box = 13;
994 inline bool Model::_internal_has_bounding_box() const {
995  return this != internal_default_instance() && bounding_box_ != nullptr;
996 }
997 inline bool Model::has_bounding_box() const {
998  return _internal_has_bounding_box();
999 }
1000 inline const ::ignition::msgs::AxisAlignedBox& Model::_internal_bounding_box() const {
1001  const ::ignition::msgs::AxisAlignedBox* p = bounding_box_;
1002  return p != nullptr ? *p : reinterpret_cast<const ::ignition::msgs::AxisAlignedBox&>(
1004 }
1005 inline const ::ignition::msgs::AxisAlignedBox& Model::bounding_box() const {
1006  // @@protoc_insertion_point(field_get:ignition.msgs.Model.bounding_box)
1007  return _internal_bounding_box();
1008 }
1010  ::ignition::msgs::AxisAlignedBox* bounding_box) {
1011  if (GetArenaForAllocation() == nullptr) {
1012  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(bounding_box_);
1013  }
1014  bounding_box_ = bounding_box;
1015  if (bounding_box) {
1016 
1017  } else {
1018 
1019  }
1020  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.Model.bounding_box)
1021 }
1022 inline ::ignition::msgs::AxisAlignedBox* Model::release_bounding_box() {
1023 
1024  ::ignition::msgs::AxisAlignedBox* temp = bounding_box_;
1025  bounding_box_ = nullptr;
1026 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1027  auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
1028  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1029  if (GetArenaForAllocation() == nullptr) { delete old; }
1030 #else // PROTOBUF_FORCE_COPY_IN_RELEASE
1031  if (GetArenaForAllocation() != nullptr) {
1032  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1033  }
1034 #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
1035  return temp;
1036 }
1037 inline ::ignition::msgs::AxisAlignedBox* Model::unsafe_arena_release_bounding_box() {
1038  // @@protoc_insertion_point(field_release:ignition.msgs.Model.bounding_box)
1039 
1040  ::ignition::msgs::AxisAlignedBox* temp = bounding_box_;
1041  bounding_box_ = nullptr;
1042  return temp;
1043 }
1044 inline ::ignition::msgs::AxisAlignedBox* Model::_internal_mutable_bounding_box() {
1045 
1046  if (bounding_box_ == nullptr) {
1047  auto* p = CreateMaybeMessage<::ignition::msgs::AxisAlignedBox>(GetArenaForAllocation());
1048  bounding_box_ = p;
1049  }
1050  return bounding_box_;
1051 }
1052 inline ::ignition::msgs::AxisAlignedBox* Model::mutable_bounding_box() {
1053  ::ignition::msgs::AxisAlignedBox* _msg = _internal_mutable_bounding_box();
1054  // @@protoc_insertion_point(field_mutable:ignition.msgs.Model.bounding_box)
1055  return _msg;
1056 }
1058  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1059  if (message_arena == nullptr) {
1060  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(bounding_box_);
1061  }
1062  if (bounding_box) {
1063  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1064  ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<
1065  ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena(
1066  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(bounding_box));
1067  if (message_arena != submessage_arena) {
1068  bounding_box = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1069  message_arena, bounding_box, submessage_arena);
1070  }
1071 
1072  } else {
1073 
1074  }
1075  bounding_box_ = bounding_box;
1076  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Model.bounding_box)
1077 }
1078 
1079 #ifdef __GNUC__
1080  #pragma GCC diagnostic pop
1081 #endif // __GNUC__
1082 
1087 // @@protoc_insertion_point(namespace_scope)
1088 
1089 } // namespace msgs
1090 } // namespace ignition
1091 
1092 #ifdef _MSC_VER
1093 #pragma warning(pop)
1094 #endif
1095 // @@protoc_insertion_point(global_scope)
1096 
1097 #include <google/protobuf/port_undef.inc>
1098 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fmodel_2eproto
Definition: axis_aligned_box.pb.h:85
Definition: header.pb.h:265
Definition: joint.pb.h:435
Definition: model.pb.h:90
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Model > * mutable_model()
Definition: model.pb.h:968
Model & operator=(const Model &from)
Definition: model.pb.h:102
::ignition::msgs::Vector3d * mutable_scale()
Definition: model.pb.h:906
const ::ignition::msgs::Pose & pose() const
Definition: model.pb.h:642
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Joint > * mutable_joint()
Definition: model.pb.h:728
Model * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Definition: model.pb.h:163
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Visual > & visual() const
Definition: model.pb.h:842
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: model.pb.h:126
PROTOBUF_NODISCARD ::ignition::msgs::Vector3d * release_scale()
Definition: model.pb.h:876
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Link > & link() const
Definition: model.pb.h:785
const ::ignition::msgs::AxisAlignedBox & bounding_box() const
Definition: model.pb.h:1005
bool has_header() const
Definition: model.pb.h:457
::ignition::msgs::Pose * unsafe_arena_release_pose()
Definition: model.pb.h:674
::ignition::msgs::Header * mutable_header()
Definition: model.pb.h:512
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
PROTOBUF_NODISCARD std::string * release_name()
Definition: model.pb.h:570
void unsafe_arena_set_allocated_pose(::ignition::msgs::Pose *pose)
Definition: model.pb.h:646
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Joint > & joint() const
Definition: model.pb.h:748
const std::string & name() const
Definition: model.pb.h:543
Model(const Model &from)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: model.pb.h:120
Model()
Definition: model.pb.h:92
int joint_size() const
Definition: model.pb.h:720
void set_is_static(bool value)
Definition: model.pb.h:625
Model(Model &&from) noexcept
Definition: model.pb.h:97
void clear_name()
Definition: model.pb.h:540
void unsafe_arena_set_allocated_scale(::ignition::msgs::Vector3d *scale)
Definition: model.pb.h:863
int link_size() const
Definition: model.pb.h:757
void set_allocated_bounding_box(::ignition::msgs::AxisAlignedBox *bounding_box)
Definition: model.pb.h:1057
int model_size() const
Definition: model.pb.h:957
void clear_id()
Definition: model.pb.h:591
constexpr Model(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
void unsafe_arena_set_allocated_header(::ignition::msgs::Header *header)
Definition: model.pb.h:469
void set_self_collide(bool value)
Definition: model.pb.h:948
::ignition::msgs::Joint * add_joint()
Definition: model.pb.h:742
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Visual > * mutable_visual()
Definition: model.pb.h:822
::ignition::msgs::AxisAlignedBox * unsafe_arena_release_bounding_box()
Definition: model.pb.h:1037
void unsafe_arena_set_allocated_bounding_box(::ignition::msgs::AxisAlignedBox *bounding_box)
Definition: model.pb.h:1009
void set_name(ArgT0 &&arg0, ArgT... args)
::ignition::msgs::Vector3d * unsafe_arena_release_scale()
Definition: model.pb.h:891
bool has_pose() const
Definition: model.pb.h:634
void clear_self_collide()
Definition: model.pb.h:934
void set_allocated_pose(::ignition::msgs::Pose *pose)
Definition: model.pb.h:694
PROTOBUF_NODISCARD ::ignition::msgs::AxisAlignedBox * release_bounding_box()
Definition: model.pb.h:1022
void clear_deleted()
Definition: model.pb.h:791
bool deleted() const
Definition: model.pb.h:797
void set_deleted(bool value)
Definition: model.pb.h:805
static const Model & default_instance()
Definition: model.pb.h:129
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Link > * mutable_link()
Definition: model.pb.h:765
bool has_bounding_box() const
Definition: model.pb.h:997
::ignition::msgs::Model * add_model()
Definition: model.pb.h:982
void CopyFrom(const Model &from)
void set_allocated_header(::ignition::msgs::Header *header)
Definition: model.pb.h:517
::ignition::msgs::Pose * mutable_pose()
Definition: model.pb.h:689
void clear_is_static()
Definition: model.pb.h:611
void UnsafeArenaSwap(Model *other)
Definition: model.pb.h:155
PROTOBUF_NODISCARD ::ignition::msgs::Header * release_header()
Definition: model.pb.h:482
void set_allocated_scale(::ignition::msgs::Vector3d *scale)
Definition: model.pb.h:911
Model & operator=(Model &&from) noexcept
Definition: model.pb.h:106
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Model > & model() const
Definition: model.pb.h:988
bool has_scale() const
Definition: model.pb.h:851
bool is_static() const
Definition: model.pb.h:617
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: model.pb.h:123
::ignition::msgs::Link * add_link()
Definition: model.pb.h:779
::ignition::msgs::Visual * add_visual()
Definition: model.pb.h:836
const ::ignition::msgs::Header & header() const
Definition: model.pb.h:465
std::string * mutable_name()
Definition: model.pb.h:554
::ignition::msgs::AxisAlignedBox * mutable_bounding_box()
Definition: model.pb.h:1052
bool self_collide() const
Definition: model.pb.h:940
void clear_model()
Definition: model.pb.h:960
PROTOBUF_NODISCARD ::ignition::msgs::Pose * release_pose()
Definition: model.pb.h:659
const ::ignition::msgs::Vector3d & scale() const
Definition: model.pb.h:859
static const Model * internal_default_instance()
Definition: model.pb.h:132
static const ClassData _class_data_
Definition: model.pb.h:201
::ignition::msgs::Header * unsafe_arena_release_header()
Definition: model.pb.h:497
void Swap(Model *other)
Definition: model.pb.h:142
friend void swap(Model &a, Model &b)
Definition: model.pb.h:139
void set_id(uint32_t value)
Definition: model.pb.h:605
uint32_t id() const
Definition: model.pb.h:597
void set_allocated_name(std::string *name)
Definition: model.pb.h:574
Model(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
int visual_size() const
Definition: model.pb.h:814
void MergeFrom(const Model &from)
Definition: pose.pb.h:86
Definition: vector3d.pb.h:84
Definition: visual.pb.h:271
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fmodel_2eproto
std::shared_ptr< const Model > ConstModelSharedPtr
Definition: model.pb.h:1086
IGNITION_MSGS_VISIBLE Vector3dDefaultTypeInternal _Vector3d_default_instance_
IGNITION_MSGS_VISIBLE ModelDefaultTypeInternal _Model_default_instance_
std::shared_ptr< Model > ModelSharedPtr
Definition: model.pb.h:1085
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
std::unique_ptr< const Model > ConstModelUniquePtr
Definition: model.pb.h:1084
IGNITION_MSGS_VISIBLE PoseDefaultTypeInternal _Pose_default_instance_
std::unique_ptr< Model > ModelUniquePtr
Definition: model.pb.h:1083
IGNITION_MSGS_VISIBLE AxisAlignedBoxDefaultTypeInternal _AxisAlignedBox_default_instance_
Definition: actor.pb.h:52
static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1] PROTOBUF_SECTION_VARIABLE(protodesc_cold)