Gazebo Msgs

API Reference

9.5.1
model.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: gz/msgs/model.proto
3 
4 #ifndef PROTOBUF_INCLUDED_gz_2fmsgs_2fmodel_2eproto
5 #define PROTOBUF_INCLUDED_gz_2fmsgs_2fmodel_2eproto
6 
7 #include <string>
8 
9 #include <google/protobuf/stubs/common.h>
10 
11 #if GOOGLE_PROTOBUF_VERSION < 3006001
12 #error This file was generated by a newer version of protoc which is
13 #error incompatible with your Protocol Buffer headers. Please update
14 #error your headers.
15 #endif
16 #if 3006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
17 #error This file was generated by an older version of protoc which is
18 #error incompatible with your Protocol Buffer headers. Please
19 #error regenerate this file with a newer version of protoc.
20 #endif
21 
22 #include <google/protobuf/io/coded_stream.h>
23 #include <google/protobuf/arena.h>
24 #include <google/protobuf/arenastring.h>
25 #include <google/protobuf/generated_message_table_driven.h>
26 #include <google/protobuf/generated_message_util.h>
27 #include <google/protobuf/inlined_string_field.h>
28 #include <google/protobuf/metadata.h>
29 #include <google/protobuf/message.h>
30 #include <google/protobuf/repeated_field.h> // IWYU pragma: export
31 #include <google/protobuf/extension_set.h> // IWYU pragma: export
32 #include <google/protobuf/unknown_field_set.h>
33 #include "gz/msgs/axis_aligned_box.pb.h"
34 #include "gz/msgs/joint.pb.h"
35 #include "gz/msgs/link.pb.h"
36 #include "gz/msgs/pose.pb.h"
37 #include "gz/msgs/visual.pb.h"
38 #include "gz/msgs/vector3d.pb.h"
39 #include "gz/msgs/header.pb.h"
40 // @@protoc_insertion_point(includes)
41 #define PROTOBUF_INTERNAL_EXPORT_protobuf_gz_2fmsgs_2fmodel_2eproto GZ_MSGS_VISIBLE
42 
44 // Internal implementation detail -- do not use these members.
45 struct GZ_MSGS_VISIBLE TableStruct {
46  static const ::google::protobuf::internal::ParseTableField entries[];
47  static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
48  static const ::google::protobuf::internal::ParseTable schema[1];
49  static const ::google::protobuf::internal::FieldMetadata field_metadata[];
50  static const ::google::protobuf::internal::SerializationTable serialization_table[];
51  static const ::google::protobuf::uint32 offsets[];
52 };
53 void GZ_MSGS_VISIBLE AddDescriptors();
54 } // namespace protobuf_gz_2fmsgs_2fmodel_2eproto
55 namespace gz {
56 namespace msgs {
57 class Model;
58 class ModelDefaultTypeInternal;
59 GZ_MSGS_VISIBLE extern ModelDefaultTypeInternal _Model_default_instance_;
60 } // namespace msgs
61 } // namespace gz
62 namespace google {
63 namespace protobuf {
64 template<> GZ_MSGS_VISIBLE ::gz::msgs::Model* Arena::CreateMaybeMessage<::gz::msgs::Model>(Arena*);
65 } // namespace protobuf
66 } // namespace google
67 namespace gz {
68 namespace msgs {
69 
70 // ===================================================================
71 
72 class GZ_MSGS_VISIBLE Model : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:gz.msgs.Model) */ {
73  public:
74  Model();
75  virtual ~Model();
76 
77  Model(const Model& from);
78 
79  inline Model& operator=(const Model& from) {
80  CopyFrom(from);
81  return *this;
82  }
83  #if LANG_CXX11
84  Model(Model&& from) noexcept
85  : Model() {
86  *this = ::std::move(from);
87  }
88 
89  inline Model& operator=(Model&& from) noexcept {
90  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
91  if (this != &from) InternalSwap(&from);
92  } else {
93  CopyFrom(from);
94  }
95  return *this;
96  }
97  #endif
98  static const ::google::protobuf::Descriptor* descriptor();
99  static const Model& default_instance();
100 
101  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
102  static inline const Model* internal_default_instance() {
103  return reinterpret_cast<const Model*>(
105  }
106  static constexpr int kIndexInFileMessages =
107  0;
108 
109  void Swap(Model* other);
110  friend void swap(Model& a, Model& b) {
111  a.Swap(&b);
112  }
113 
114  // implements Message ----------------------------------------------
115 
116  inline Model* New() const final {
117  return CreateMaybeMessage<Model>(NULL);
118  }
119 
120  Model* New(::google::protobuf::Arena* arena) const final {
121  return CreateMaybeMessage<Model>(arena);
122  }
123  void CopyFrom(const ::google::protobuf::Message& from) final;
124  void MergeFrom(const ::google::protobuf::Message& from) final;
125  void CopyFrom(const Model& from);
126  void MergeFrom(const Model& from);
127  void Clear() final;
128  bool IsInitialized() const final;
129 
130  size_t ByteSizeLong() const final;
131  bool MergePartialFromCodedStream(
132  ::google::protobuf::io::CodedInputStream* input) final;
133  void SerializeWithCachedSizes(
134  ::google::protobuf::io::CodedOutputStream* output) const final;
135  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
136  bool deterministic, ::google::protobuf::uint8* target) const final;
137  int GetCachedSize() const final { return _cached_size_.Get(); }
138 
139  private:
140  void SharedCtor();
141  void SharedDtor();
142  void SetCachedSize(int size) const final;
143  void InternalSwap(Model* other);
144  private:
145  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
146  return NULL;
147  }
148  inline void* MaybeArenaPtr() const {
149  return NULL;
150  }
151  public:
152 
153  ::google::protobuf::Metadata GetMetadata() const final;
154 
155  // nested types ----------------------------------------------------
156 
157  // accessors -------------------------------------------------------
158 
159  // repeated .gz.msgs.Joint joint = 6;
160  int joint_size() const;
161  void clear_joint();
162  static const int kJointFieldNumber = 6;
163  ::gz::msgs::Joint* mutable_joint(int index);
164  ::google::protobuf::RepeatedPtrField< ::gz::msgs::Joint >*
165  mutable_joint();
166  const ::gz::msgs::Joint& joint(int index) const;
167  ::gz::msgs::Joint* add_joint();
168  const ::google::protobuf::RepeatedPtrField< ::gz::msgs::Joint >&
169  joint() const;
170 
171  // repeated .gz.msgs.Link link = 7;
172  int link_size() const;
173  void clear_link();
174  static const int kLinkFieldNumber = 7;
175  ::gz::msgs::Link* mutable_link(int index);
176  ::google::protobuf::RepeatedPtrField< ::gz::msgs::Link >*
177  mutable_link();
178  const ::gz::msgs::Link& link(int index) const;
179  ::gz::msgs::Link* add_link();
180  const ::google::protobuf::RepeatedPtrField< ::gz::msgs::Link >&
181  link() const;
182 
183  // repeated .gz.msgs.Visual visual = 9;
184  int visual_size() const;
185  void clear_visual();
186  static const int kVisualFieldNumber = 9;
187  ::gz::msgs::Visual* mutable_visual(int index);
188  ::google::protobuf::RepeatedPtrField< ::gz::msgs::Visual >*
189  mutable_visual();
190  const ::gz::msgs::Visual& visual(int index) const;
191  ::gz::msgs::Visual* add_visual();
192  const ::google::protobuf::RepeatedPtrField< ::gz::msgs::Visual >&
193  visual() const;
194 
195  // repeated .gz.msgs.Model model = 12;
196  int model_size() const;
197  void clear_model();
198  static const int kModelFieldNumber = 12;
199  ::gz::msgs::Model* mutable_model(int index);
200  ::google::protobuf::RepeatedPtrField< ::gz::msgs::Model >*
201  mutable_model();
202  const ::gz::msgs::Model& model(int index) const;
203  ::gz::msgs::Model* add_model();
204  const ::google::protobuf::RepeatedPtrField< ::gz::msgs::Model >&
205  model() const;
206 
207  // string name = 2;
208  void clear_name();
209  static const int kNameFieldNumber = 2;
210  const ::std::string& name() const;
211  void set_name(const ::std::string& value);
212  #if LANG_CXX11
213  void set_name(::std::string&& value);
214  #endif
215  void set_name(const char* value);
216  void set_name(const char* value, size_t size);
217  ::std::string* mutable_name();
218  ::std::string* release_name();
219  void set_allocated_name(::std::string* name);
220 
221  // .gz.msgs.Header header = 1;
222  bool has_header() const;
223  void clear_header();
224  static const int kHeaderFieldNumber = 1;
225  private:
226  const ::gz::msgs::Header& _internal_header() const;
227  public:
228  const ::gz::msgs::Header& header() const;
229  ::gz::msgs::Header* release_header();
230  ::gz::msgs::Header* mutable_header();
231  void set_allocated_header(::gz::msgs::Header* header);
232 
233  // .gz.msgs.Pose pose = 5;
234  bool has_pose() const;
235  void clear_pose();
236  static const int kPoseFieldNumber = 5;
237  private:
238  const ::gz::msgs::Pose& _internal_pose() const;
239  public:
240  const ::gz::msgs::Pose& pose() const;
241  ::gz::msgs::Pose* release_pose();
242  ::gz::msgs::Pose* mutable_pose();
243  void set_allocated_pose(::gz::msgs::Pose* pose);
244 
245  // .gz.msgs.Vector3d scale = 10;
246  bool has_scale() const;
247  void clear_scale();
248  static const int kScaleFieldNumber = 10;
249  private:
250  const ::gz::msgs::Vector3d& _internal_scale() const;
251  public:
252  const ::gz::msgs::Vector3d& scale() const;
253  ::gz::msgs::Vector3d* release_scale();
254  ::gz::msgs::Vector3d* mutable_scale();
255  void set_allocated_scale(::gz::msgs::Vector3d* scale);
256 
257  // .gz.msgs.AxisAlignedBox bounding_box = 13;
258  bool has_bounding_box() const;
259  void clear_bounding_box();
260  static const int kBoundingBoxFieldNumber = 13;
261  private:
262  const ::gz::msgs::AxisAlignedBox& _internal_bounding_box() const;
263  public:
264  const ::gz::msgs::AxisAlignedBox& bounding_box() const;
265  ::gz::msgs::AxisAlignedBox* release_bounding_box();
266  ::gz::msgs::AxisAlignedBox* mutable_bounding_box();
267  void set_allocated_bounding_box(::gz::msgs::AxisAlignedBox* bounding_box);
268 
269  // uint32 id = 3;
270  void clear_id();
271  static const int kIdFieldNumber = 3;
272  ::google::protobuf::uint32 id() const;
273  void set_id(::google::protobuf::uint32 value);
274 
275  // bool is_static = 4;
276  void clear_is_static();
277  static const int kIsStaticFieldNumber = 4;
278  bool is_static() const;
279  void set_is_static(bool value);
280 
281  // bool deleted = 8;
282  void clear_deleted();
283  static const int kDeletedFieldNumber = 8;
284  bool deleted() const;
285  void set_deleted(bool value);
286 
287  // bool self_collide = 11;
288  void clear_self_collide();
289  static const int kSelfCollideFieldNumber = 11;
290  bool self_collide() const;
291  void set_self_collide(bool value);
292 
293  // @@protoc_insertion_point(class_scope:gz.msgs.Model)
294  private:
295 
296  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
297  ::google::protobuf::RepeatedPtrField< ::gz::msgs::Joint > joint_;
298  ::google::protobuf::RepeatedPtrField< ::gz::msgs::Link > link_;
299  ::google::protobuf::RepeatedPtrField< ::gz::msgs::Visual > visual_;
300  ::google::protobuf::RepeatedPtrField< ::gz::msgs::Model > model_;
301  ::google::protobuf::internal::ArenaStringPtr name_;
302  ::gz::msgs::Header* header_;
303  ::gz::msgs::Pose* pose_;
304  ::gz::msgs::Vector3d* scale_;
305  ::gz::msgs::AxisAlignedBox* bounding_box_;
306  ::google::protobuf::uint32 id_;
307  bool is_static_;
308  bool deleted_;
309  bool self_collide_;
310  mutable ::google::protobuf::internal::CachedSize _cached_size_;
311  friend struct ::protobuf_gz_2fmsgs_2fmodel_2eproto::TableStruct;
312 };
313 // ===================================================================
314 
315 
316 // ===================================================================
317 
318 #ifdef __GNUC__
319  #pragma GCC diagnostic push
320  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
321 #endif // __GNUC__
322 // Model
323 
324 // .gz.msgs.Header header = 1;
325 inline bool Model::has_header() const {
326  return this != internal_default_instance() && header_ != NULL;
327 }
328 inline const ::gz::msgs::Header& Model::_internal_header() const {
329  return *header_;
330 }
331 inline const ::gz::msgs::Header& Model::header() const {
332  const ::gz::msgs::Header* p = header_;
333  // @@protoc_insertion_point(field_get:gz.msgs.Model.header)
334  return p != NULL ? *p : *reinterpret_cast<const ::gz::msgs::Header*>(
336 }
337 inline ::gz::msgs::Header* Model::release_header() {
338  // @@protoc_insertion_point(field_release:gz.msgs.Model.header)
339 
340  ::gz::msgs::Header* temp = header_;
341  header_ = NULL;
342  return temp;
343 }
344 inline ::gz::msgs::Header* Model::mutable_header() {
345 
346  if (header_ == NULL) {
347  auto* p = CreateMaybeMessage<::gz::msgs::Header>(GetArenaNoVirtual());
348  header_ = p;
349  }
350  // @@protoc_insertion_point(field_mutable:gz.msgs.Model.header)
351  return header_;
352 }
354  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
355  if (message_arena == NULL) {
356  delete reinterpret_cast< ::google::protobuf::MessageLite*>(header_);
357  }
358  if (header) {
359  ::google::protobuf::Arena* submessage_arena = NULL;
360  if (message_arena != submessage_arena) {
361  header = ::google::protobuf::internal::GetOwnedMessage(
362  message_arena, header, submessage_arena);
363  }
364 
365  } else {
366 
367  }
368  header_ = header;
369  // @@protoc_insertion_point(field_set_allocated:gz.msgs.Model.header)
370 }
371 
372 // string name = 2;
373 inline void Model::clear_name() {
374  name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
375 }
376 inline const ::std::string& Model::name() const {
377  // @@protoc_insertion_point(field_get:gz.msgs.Model.name)
378  return name_.GetNoArena();
379 }
380 inline void Model::set_name(const ::std::string& value) {
381 
382  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
383  // @@protoc_insertion_point(field_set:gz.msgs.Model.name)
384 }
385 #if LANG_CXX11
386 inline void Model::set_name(::std::string&& value) {
387 
388  name_.SetNoArena(
389  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
390  // @@protoc_insertion_point(field_set_rvalue:gz.msgs.Model.name)
391 }
392 #endif
393 inline void Model::set_name(const char* value) {
394  GOOGLE_DCHECK(value != NULL);
395 
396  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
397  // @@protoc_insertion_point(field_set_char:gz.msgs.Model.name)
398 }
399 inline void Model::set_name(const char* value, size_t size) {
400 
401  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
402  ::std::string(reinterpret_cast<const char*>(value), size));
403  // @@protoc_insertion_point(field_set_pointer:gz.msgs.Model.name)
404 }
405 inline ::std::string* Model::mutable_name() {
406 
407  // @@protoc_insertion_point(field_mutable:gz.msgs.Model.name)
408  return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
409 }
410 inline ::std::string* Model::release_name() {
411  // @@protoc_insertion_point(field_release:gz.msgs.Model.name)
412 
413  return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
414 }
416  if (name != NULL) {
417 
418  } else {
419 
420  }
421  name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
422  // @@protoc_insertion_point(field_set_allocated:gz.msgs.Model.name)
423 }
424 
425 // uint32 id = 3;
426 inline void Model::clear_id() {
427  id_ = 0u;
428 }
429 inline ::google::protobuf::uint32 Model::id() const {
430  // @@protoc_insertion_point(field_get:gz.msgs.Model.id)
431  return id_;
432 }
433 inline void Model::set_id(::google::protobuf::uint32 value) {
434 
435  id_ = value;
436  // @@protoc_insertion_point(field_set:gz.msgs.Model.id)
437 }
438 
439 // bool is_static = 4;
440 inline void Model::clear_is_static() {
441  is_static_ = false;
442 }
443 inline bool Model::is_static() const {
444  // @@protoc_insertion_point(field_get:gz.msgs.Model.is_static)
445  return is_static_;
446 }
447 inline void Model::set_is_static(bool value) {
448 
449  is_static_ = value;
450  // @@protoc_insertion_point(field_set:gz.msgs.Model.is_static)
451 }
452 
453 // .gz.msgs.Pose pose = 5;
454 inline bool Model::has_pose() const {
455  return this != internal_default_instance() && pose_ != NULL;
456 }
457 inline const ::gz::msgs::Pose& Model::_internal_pose() const {
458  return *pose_;
459 }
460 inline const ::gz::msgs::Pose& Model::pose() const {
461  const ::gz::msgs::Pose* p = pose_;
462  // @@protoc_insertion_point(field_get:gz.msgs.Model.pose)
463  return p != NULL ? *p : *reinterpret_cast<const ::gz::msgs::Pose*>(
465 }
466 inline ::gz::msgs::Pose* Model::release_pose() {
467  // @@protoc_insertion_point(field_release:gz.msgs.Model.pose)
468 
469  ::gz::msgs::Pose* temp = pose_;
470  pose_ = NULL;
471  return temp;
472 }
473 inline ::gz::msgs::Pose* Model::mutable_pose() {
474 
475  if (pose_ == NULL) {
476  auto* p = CreateMaybeMessage<::gz::msgs::Pose>(GetArenaNoVirtual());
477  pose_ = p;
478  }
479  // @@protoc_insertion_point(field_mutable:gz.msgs.Model.pose)
480  return pose_;
481 }
483  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
484  if (message_arena == NULL) {
485  delete reinterpret_cast< ::google::protobuf::MessageLite*>(pose_);
486  }
487  if (pose) {
488  ::google::protobuf::Arena* submessage_arena = NULL;
489  if (message_arena != submessage_arena) {
490  pose = ::google::protobuf::internal::GetOwnedMessage(
491  message_arena, pose, submessage_arena);
492  }
493 
494  } else {
495 
496  }
497  pose_ = pose;
498  // @@protoc_insertion_point(field_set_allocated:gz.msgs.Model.pose)
499 }
500 
501 // repeated .gz.msgs.Joint joint = 6;
502 inline int Model::joint_size() const {
503  return joint_.size();
504 }
505 inline ::gz::msgs::Joint* Model::mutable_joint(int index) {
506  // @@protoc_insertion_point(field_mutable:gz.msgs.Model.joint)
507  return joint_.Mutable(index);
508 }
509 inline ::google::protobuf::RepeatedPtrField< ::gz::msgs::Joint >*
511  // @@protoc_insertion_point(field_mutable_list:gz.msgs.Model.joint)
512  return &joint_;
513 }
514 inline const ::gz::msgs::Joint& Model::joint(int index) const {
515  // @@protoc_insertion_point(field_get:gz.msgs.Model.joint)
516  return joint_.Get(index);
517 }
518 inline ::gz::msgs::Joint* Model::add_joint() {
519  // @@protoc_insertion_point(field_add:gz.msgs.Model.joint)
520  return joint_.Add();
521 }
522 inline const ::google::protobuf::RepeatedPtrField< ::gz::msgs::Joint >&
523 Model::joint() const {
524  // @@protoc_insertion_point(field_list:gz.msgs.Model.joint)
525  return joint_;
526 }
527 
528 // repeated .gz.msgs.Link link = 7;
529 inline int Model::link_size() const {
530  return link_.size();
531 }
532 inline ::gz::msgs::Link* Model::mutable_link(int index) {
533  // @@protoc_insertion_point(field_mutable:gz.msgs.Model.link)
534  return link_.Mutable(index);
535 }
536 inline ::google::protobuf::RepeatedPtrField< ::gz::msgs::Link >*
538  // @@protoc_insertion_point(field_mutable_list:gz.msgs.Model.link)
539  return &link_;
540 }
541 inline const ::gz::msgs::Link& Model::link(int index) const {
542  // @@protoc_insertion_point(field_get:gz.msgs.Model.link)
543  return link_.Get(index);
544 }
545 inline ::gz::msgs::Link* Model::add_link() {
546  // @@protoc_insertion_point(field_add:gz.msgs.Model.link)
547  return link_.Add();
548 }
549 inline const ::google::protobuf::RepeatedPtrField< ::gz::msgs::Link >&
550 Model::link() const {
551  // @@protoc_insertion_point(field_list:gz.msgs.Model.link)
552  return link_;
553 }
554 
555 // bool deleted = 8;
556 inline void Model::clear_deleted() {
557  deleted_ = false;
558 }
559 inline bool Model::deleted() const {
560  // @@protoc_insertion_point(field_get:gz.msgs.Model.deleted)
561  return deleted_;
562 }
563 inline void Model::set_deleted(bool value) {
564 
565  deleted_ = value;
566  // @@protoc_insertion_point(field_set:gz.msgs.Model.deleted)
567 }
568 
569 // repeated .gz.msgs.Visual visual = 9;
570 inline int Model::visual_size() const {
571  return visual_.size();
572 }
573 inline ::gz::msgs::Visual* Model::mutable_visual(int index) {
574  // @@protoc_insertion_point(field_mutable:gz.msgs.Model.visual)
575  return visual_.Mutable(index);
576 }
577 inline ::google::protobuf::RepeatedPtrField< ::gz::msgs::Visual >*
579  // @@protoc_insertion_point(field_mutable_list:gz.msgs.Model.visual)
580  return &visual_;
581 }
582 inline const ::gz::msgs::Visual& Model::visual(int index) const {
583  // @@protoc_insertion_point(field_get:gz.msgs.Model.visual)
584  return visual_.Get(index);
585 }
586 inline ::gz::msgs::Visual* Model::add_visual() {
587  // @@protoc_insertion_point(field_add:gz.msgs.Model.visual)
588  return visual_.Add();
589 }
590 inline const ::google::protobuf::RepeatedPtrField< ::gz::msgs::Visual >&
591 Model::visual() const {
592  // @@protoc_insertion_point(field_list:gz.msgs.Model.visual)
593  return visual_;
594 }
595 
596 // .gz.msgs.Vector3d scale = 10;
597 inline bool Model::has_scale() const {
598  return this != internal_default_instance() && scale_ != NULL;
599 }
600 inline const ::gz::msgs::Vector3d& Model::_internal_scale() const {
601  return *scale_;
602 }
603 inline const ::gz::msgs::Vector3d& Model::scale() const {
604  const ::gz::msgs::Vector3d* p = scale_;
605  // @@protoc_insertion_point(field_get:gz.msgs.Model.scale)
606  return p != NULL ? *p : *reinterpret_cast<const ::gz::msgs::Vector3d*>(
608 }
609 inline ::gz::msgs::Vector3d* Model::release_scale() {
610  // @@protoc_insertion_point(field_release:gz.msgs.Model.scale)
611 
612  ::gz::msgs::Vector3d* temp = scale_;
613  scale_ = NULL;
614  return temp;
615 }
616 inline ::gz::msgs::Vector3d* Model::mutable_scale() {
617 
618  if (scale_ == NULL) {
619  auto* p = CreateMaybeMessage<::gz::msgs::Vector3d>(GetArenaNoVirtual());
620  scale_ = p;
621  }
622  // @@protoc_insertion_point(field_mutable:gz.msgs.Model.scale)
623  return scale_;
624 }
626  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
627  if (message_arena == NULL) {
628  delete reinterpret_cast< ::google::protobuf::MessageLite*>(scale_);
629  }
630  if (scale) {
631  ::google::protobuf::Arena* submessage_arena = NULL;
632  if (message_arena != submessage_arena) {
633  scale = ::google::protobuf::internal::GetOwnedMessage(
634  message_arena, scale, submessage_arena);
635  }
636 
637  } else {
638 
639  }
640  scale_ = scale;
641  // @@protoc_insertion_point(field_set_allocated:gz.msgs.Model.scale)
642 }
643 
644 // bool self_collide = 11;
646  self_collide_ = false;
647 }
648 inline bool Model::self_collide() const {
649  // @@protoc_insertion_point(field_get:gz.msgs.Model.self_collide)
650  return self_collide_;
651 }
652 inline void Model::set_self_collide(bool value) {
653 
654  self_collide_ = value;
655  // @@protoc_insertion_point(field_set:gz.msgs.Model.self_collide)
656 }
657 
658 // repeated .gz.msgs.Model model = 12;
659 inline int Model::model_size() const {
660  return model_.size();
661 }
662 inline void Model::clear_model() {
663  model_.Clear();
664 }
665 inline ::gz::msgs::Model* Model::mutable_model(int index) {
666  // @@protoc_insertion_point(field_mutable:gz.msgs.Model.model)
667  return model_.Mutable(index);
668 }
669 inline ::google::protobuf::RepeatedPtrField< ::gz::msgs::Model >*
671  // @@protoc_insertion_point(field_mutable_list:gz.msgs.Model.model)
672  return &model_;
673 }
674 inline const ::gz::msgs::Model& Model::model(int index) const {
675  // @@protoc_insertion_point(field_get:gz.msgs.Model.model)
676  return model_.Get(index);
677 }
678 inline ::gz::msgs::Model* Model::add_model() {
679  // @@protoc_insertion_point(field_add:gz.msgs.Model.model)
680  return model_.Add();
681 }
682 inline const ::google::protobuf::RepeatedPtrField< ::gz::msgs::Model >&
683 Model::model() const {
684  // @@protoc_insertion_point(field_list:gz.msgs.Model.model)
685  return model_;
686 }
687 
688 // .gz.msgs.AxisAlignedBox bounding_box = 13;
689 inline bool Model::has_bounding_box() const {
690  return this != internal_default_instance() && bounding_box_ != NULL;
691 }
692 inline const ::gz::msgs::AxisAlignedBox& Model::_internal_bounding_box() const {
693  return *bounding_box_;
694 }
695 inline const ::gz::msgs::AxisAlignedBox& Model::bounding_box() const {
696  const ::gz::msgs::AxisAlignedBox* p = bounding_box_;
697  // @@protoc_insertion_point(field_get:gz.msgs.Model.bounding_box)
698  return p != NULL ? *p : *reinterpret_cast<const ::gz::msgs::AxisAlignedBox*>(
700 }
701 inline ::gz::msgs::AxisAlignedBox* Model::release_bounding_box() {
702  // @@protoc_insertion_point(field_release:gz.msgs.Model.bounding_box)
703 
704  ::gz::msgs::AxisAlignedBox* temp = bounding_box_;
705  bounding_box_ = NULL;
706  return temp;
707 }
708 inline ::gz::msgs::AxisAlignedBox* Model::mutable_bounding_box() {
709 
710  if (bounding_box_ == NULL) {
711  auto* p = CreateMaybeMessage<::gz::msgs::AxisAlignedBox>(GetArenaNoVirtual());
712  bounding_box_ = p;
713  }
714  // @@protoc_insertion_point(field_mutable:gz.msgs.Model.bounding_box)
715  return bounding_box_;
716 }
718  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
719  if (message_arena == NULL) {
720  delete reinterpret_cast< ::google::protobuf::MessageLite*>(bounding_box_);
721  }
722  if (bounding_box) {
723  ::google::protobuf::Arena* submessage_arena = NULL;
724  if (message_arena != submessage_arena) {
725  bounding_box = ::google::protobuf::internal::GetOwnedMessage(
726  message_arena, bounding_box, submessage_arena);
727  }
728 
729  } else {
730 
731  }
732  bounding_box_ = bounding_box;
733  // @@protoc_insertion_point(field_set_allocated:gz.msgs.Model.bounding_box)
734 }
735 
736 #ifdef __GNUC__
737  #pragma GCC diagnostic pop
738 #endif // __GNUC__
739 
740 // @@protoc_insertion_point(namespace_scope)
741 
742 } // namespace msgs
743 } // namespace gz
744 
745 // @@protoc_insertion_point(global_scope)
746 
747 #endif // PROTOBUF_INCLUDED_gz_2fmsgs_2fmodel_2eproto