Gazebo Msgs

API Reference

9.5.0
joint.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: gz/msgs/joint.proto
3 
4 #ifndef PROTOBUF_INCLUDED_gz_2fmsgs_2fjoint_2eproto
5 #define PROTOBUF_INCLUDED_gz_2fmsgs_2fjoint_2eproto
6 
7 #include <string>
8 
9 #include <google/protobuf/stubs/common.h>
10 
11 #if GOOGLE_PROTOBUF_VERSION < 3006001
12 #error This file was generated by a newer version of protoc which is
13 #error incompatible with your Protocol Buffer headers. Please update
14 #error your headers.
15 #endif
16 #if 3006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
17 #error This file was generated by an older version of protoc which is
18 #error incompatible with your Protocol Buffer headers. Please
19 #error regenerate this file with a newer version of protoc.
20 #endif
21 
22 #include <google/protobuf/io/coded_stream.h>
23 #include <google/protobuf/arena.h>
24 #include <google/protobuf/arenastring.h>
25 #include <google/protobuf/generated_message_table_driven.h>
26 #include <google/protobuf/generated_message_util.h>
27 #include <google/protobuf/inlined_string_field.h>
28 #include <google/protobuf/metadata.h>
29 #include <google/protobuf/message.h>
30 #include <google/protobuf/repeated_field.h> // IWYU pragma: export
31 #include <google/protobuf/extension_set.h> // IWYU pragma: export
32 #include <google/protobuf/generated_enum_reflection.h>
33 #include <google/protobuf/unknown_field_set.h>
34 #include "gz/msgs/header.pb.h"
35 #include "gz/msgs/axis.pb.h"
36 #include "gz/msgs/pose.pb.h"
37 #include "gz/msgs/sensor.pb.h"
38 // @@protoc_insertion_point(includes)
39 #define PROTOBUF_INTERNAL_EXPORT_protobuf_gz_2fmsgs_2fjoint_2eproto GZ_MSGS_VISIBLE
40 
42 // Internal implementation detail -- do not use these members.
43 struct GZ_MSGS_VISIBLE TableStruct {
44  static const ::google::protobuf::internal::ParseTableField entries[];
45  static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
46  static const ::google::protobuf::internal::ParseTable schema[3];
47  static const ::google::protobuf::internal::FieldMetadata field_metadata[];
48  static const ::google::protobuf::internal::SerializationTable serialization_table[];
49  static const ::google::protobuf::uint32 offsets[];
50 };
51 void GZ_MSGS_VISIBLE AddDescriptors();
52 } // namespace protobuf_gz_2fmsgs_2fjoint_2eproto
53 namespace gz {
54 namespace msgs {
55 class Joint;
56 class JointDefaultTypeInternal;
57 GZ_MSGS_VISIBLE extern JointDefaultTypeInternal _Joint_default_instance_;
58 class Joint_Gearbox;
59 class Joint_GearboxDefaultTypeInternal;
60 GZ_MSGS_VISIBLE extern Joint_GearboxDefaultTypeInternal _Joint_Gearbox_default_instance_;
61 class Joint_Screw;
62 class Joint_ScrewDefaultTypeInternal;
63 GZ_MSGS_VISIBLE extern Joint_ScrewDefaultTypeInternal _Joint_Screw_default_instance_;
64 } // namespace msgs
65 } // namespace gz
66 namespace google {
67 namespace protobuf {
68 template<> GZ_MSGS_VISIBLE ::gz::msgs::Joint* Arena::CreateMaybeMessage<::gz::msgs::Joint>(Arena*);
69 template<> GZ_MSGS_VISIBLE ::gz::msgs::Joint_Gearbox* Arena::CreateMaybeMessage<::gz::msgs::Joint_Gearbox>(Arena*);
70 template<> GZ_MSGS_VISIBLE ::gz::msgs::Joint_Screw* Arena::CreateMaybeMessage<::gz::msgs::Joint_Screw>(Arena*);
71 } // namespace protobuf
72 } // namespace google
73 namespace gz {
74 namespace msgs {
75 
76 enum Joint_Type {
86  Joint_Type_Joint_Type_INT_MIN_SENTINEL_DO_NOT_USE_ = ::google::protobuf::kint32min,
88 };
89 GZ_MSGS_VISIBLE bool Joint_Type_IsValid(int value);
93 
94 GZ_MSGS_VISIBLE const ::google::protobuf::EnumDescriptor* Joint_Type_descriptor();
95 inline const ::std::string& Joint_Type_Name(Joint_Type value) {
96  return ::google::protobuf::internal::NameOfEnum(
97  Joint_Type_descriptor(), value);
98 }
99 inline bool Joint_Type_Parse(
100  const ::std::string& name, Joint_Type* value) {
101  return ::google::protobuf::internal::ParseNamedEnum<Joint_Type>(
102  Joint_Type_descriptor(), name, value);
103 }
104 // ===================================================================
105 
106 class GZ_MSGS_VISIBLE Joint_Gearbox : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:gz.msgs.Joint.Gearbox) */ {
107  public:
108  Joint_Gearbox();
109  virtual ~Joint_Gearbox();
110 
111  Joint_Gearbox(const Joint_Gearbox& from);
112 
113  inline Joint_Gearbox& operator=(const Joint_Gearbox& from) {
114  CopyFrom(from);
115  return *this;
116  }
117  #if LANG_CXX11
118  Joint_Gearbox(Joint_Gearbox&& from) noexcept
119  : Joint_Gearbox() {
120  *this = ::std::move(from);
121  }
122 
123  inline Joint_Gearbox& operator=(Joint_Gearbox&& from) noexcept {
124  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
125  if (this != &from) InternalSwap(&from);
126  } else {
127  CopyFrom(from);
128  }
129  return *this;
130  }
131  #endif
132  static const ::google::protobuf::Descriptor* descriptor();
133  static const Joint_Gearbox& default_instance();
134 
135  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
136  static inline const Joint_Gearbox* internal_default_instance() {
137  return reinterpret_cast<const Joint_Gearbox*>(
139  }
140  static constexpr int kIndexInFileMessages =
141  0;
142 
143  void Swap(Joint_Gearbox* other);
144  friend void swap(Joint_Gearbox& a, Joint_Gearbox& b) {
145  a.Swap(&b);
146  }
147 
148  // implements Message ----------------------------------------------
149 
150  inline Joint_Gearbox* New() const final {
151  return CreateMaybeMessage<Joint_Gearbox>(NULL);
152  }
153 
154  Joint_Gearbox* New(::google::protobuf::Arena* arena) const final {
155  return CreateMaybeMessage<Joint_Gearbox>(arena);
156  }
157  void CopyFrom(const ::google::protobuf::Message& from) final;
158  void MergeFrom(const ::google::protobuf::Message& from) final;
159  void CopyFrom(const Joint_Gearbox& from);
160  void MergeFrom(const Joint_Gearbox& from);
161  void Clear() final;
162  bool IsInitialized() const final;
163 
164  size_t ByteSizeLong() const final;
165  bool MergePartialFromCodedStream(
166  ::google::protobuf::io::CodedInputStream* input) final;
167  void SerializeWithCachedSizes(
168  ::google::protobuf::io::CodedOutputStream* output) const final;
169  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
170  bool deterministic, ::google::protobuf::uint8* target) const final;
171  int GetCachedSize() const final { return _cached_size_.Get(); }
172 
173  private:
174  void SharedCtor();
175  void SharedDtor();
176  void SetCachedSize(int size) const final;
177  void InternalSwap(Joint_Gearbox* other);
178  private:
179  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
180  return NULL;
181  }
182  inline void* MaybeArenaPtr() const {
183  return NULL;
184  }
185  public:
186 
187  ::google::protobuf::Metadata GetMetadata() const final;
188 
189  // nested types ----------------------------------------------------
190 
191  // accessors -------------------------------------------------------
192 
193  // string gearbox_reference_body = 1;
194  void clear_gearbox_reference_body();
195  static const int kGearboxReferenceBodyFieldNumber = 1;
196  const ::std::string& gearbox_reference_body() const;
197  void set_gearbox_reference_body(const ::std::string& value);
198  #if LANG_CXX11
199  void set_gearbox_reference_body(::std::string&& value);
200  #endif
201  void set_gearbox_reference_body(const char* value);
202  void set_gearbox_reference_body(const char* value, size_t size);
203  ::std::string* mutable_gearbox_reference_body();
204  ::std::string* release_gearbox_reference_body();
205  void set_allocated_gearbox_reference_body(::std::string* gearbox_reference_body);
206 
207  // double gearbox_ratio = 2;
208  void clear_gearbox_ratio();
209  static const int kGearboxRatioFieldNumber = 2;
210  double gearbox_ratio() const;
211  void set_gearbox_ratio(double value);
212 
213  // @@protoc_insertion_point(class_scope:gz.msgs.Joint.Gearbox)
214  private:
215 
216  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
217  ::google::protobuf::internal::ArenaStringPtr gearbox_reference_body_;
218  double gearbox_ratio_;
219  mutable ::google::protobuf::internal::CachedSize _cached_size_;
220  friend struct ::protobuf_gz_2fmsgs_2fjoint_2eproto::TableStruct;
221 };
222 // -------------------------------------------------------------------
223 
224 class GZ_MSGS_VISIBLE Joint_Screw : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:gz.msgs.Joint.Screw) */ {
225  public:
226  Joint_Screw();
227  virtual ~Joint_Screw();
228 
229  Joint_Screw(const Joint_Screw& from);
230 
231  inline Joint_Screw& operator=(const Joint_Screw& from) {
232  CopyFrom(from);
233  return *this;
234  }
235  #if LANG_CXX11
236  Joint_Screw(Joint_Screw&& from) noexcept
237  : Joint_Screw() {
238  *this = ::std::move(from);
239  }
240 
241  inline Joint_Screw& operator=(Joint_Screw&& from) noexcept {
242  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
243  if (this != &from) InternalSwap(&from);
244  } else {
245  CopyFrom(from);
246  }
247  return *this;
248  }
249  #endif
250  static const ::google::protobuf::Descriptor* descriptor();
251  static const Joint_Screw& default_instance();
252 
253  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
254  static inline const Joint_Screw* internal_default_instance() {
255  return reinterpret_cast<const Joint_Screw*>(
257  }
258  static constexpr int kIndexInFileMessages =
259  1;
260 
261  void Swap(Joint_Screw* other);
262  friend void swap(Joint_Screw& a, Joint_Screw& b) {
263  a.Swap(&b);
264  }
265 
266  // implements Message ----------------------------------------------
267 
268  inline Joint_Screw* New() const final {
269  return CreateMaybeMessage<Joint_Screw>(NULL);
270  }
271 
272  Joint_Screw* New(::google::protobuf::Arena* arena) const final {
273  return CreateMaybeMessage<Joint_Screw>(arena);
274  }
275  void CopyFrom(const ::google::protobuf::Message& from) final;
276  void MergeFrom(const ::google::protobuf::Message& from) final;
277  void CopyFrom(const Joint_Screw& from);
278  void MergeFrom(const Joint_Screw& from);
279  void Clear() final;
280  bool IsInitialized() const final;
281 
282  size_t ByteSizeLong() const final;
283  bool MergePartialFromCodedStream(
284  ::google::protobuf::io::CodedInputStream* input) final;
285  void SerializeWithCachedSizes(
286  ::google::protobuf::io::CodedOutputStream* output) const final;
287  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
288  bool deterministic, ::google::protobuf::uint8* target) const final;
289  int GetCachedSize() const final { return _cached_size_.Get(); }
290 
291  private:
292  void SharedCtor();
293  void SharedDtor();
294  void SetCachedSize(int size) const final;
295  void InternalSwap(Joint_Screw* other);
296  private:
297  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
298  return NULL;
299  }
300  inline void* MaybeArenaPtr() const {
301  return NULL;
302  }
303  public:
304 
305  ::google::protobuf::Metadata GetMetadata() const final;
306 
307  // nested types ----------------------------------------------------
308 
309  // accessors -------------------------------------------------------
310 
311  // double thread_pitch = 1;
312  void clear_thread_pitch();
313  static const int kThreadPitchFieldNumber = 1;
314  double thread_pitch() const;
315  void set_thread_pitch(double value);
316 
317  // @@protoc_insertion_point(class_scope:gz.msgs.Joint.Screw)
318  private:
319 
320  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
321  double thread_pitch_;
322  mutable ::google::protobuf::internal::CachedSize _cached_size_;
323  friend struct ::protobuf_gz_2fmsgs_2fjoint_2eproto::TableStruct;
324 };
325 // -------------------------------------------------------------------
326 
327 class GZ_MSGS_VISIBLE Joint : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:gz.msgs.Joint) */ {
328  public:
329  Joint();
330  virtual ~Joint();
331 
332  Joint(const Joint& from);
333 
334  inline Joint& operator=(const Joint& from) {
335  CopyFrom(from);
336  return *this;
337  }
338  #if LANG_CXX11
339  Joint(Joint&& from) noexcept
340  : Joint() {
341  *this = ::std::move(from);
342  }
343 
344  inline Joint& operator=(Joint&& from) noexcept {
345  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
346  if (this != &from) InternalSwap(&from);
347  } else {
348  CopyFrom(from);
349  }
350  return *this;
351  }
352  #endif
353  static const ::google::protobuf::Descriptor* descriptor();
354  static const Joint& default_instance();
355 
356  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
357  static inline const Joint* internal_default_instance() {
358  return reinterpret_cast<const Joint*>(
360  }
361  static constexpr int kIndexInFileMessages =
362  2;
363 
364  void Swap(Joint* other);
365  friend void swap(Joint& a, Joint& b) {
366  a.Swap(&b);
367  }
368 
369  // implements Message ----------------------------------------------
370 
371  inline Joint* New() const final {
372  return CreateMaybeMessage<Joint>(NULL);
373  }
374 
375  Joint* New(::google::protobuf::Arena* arena) const final {
376  return CreateMaybeMessage<Joint>(arena);
377  }
378  void CopyFrom(const ::google::protobuf::Message& from) final;
379  void MergeFrom(const ::google::protobuf::Message& from) final;
380  void CopyFrom(const Joint& from);
381  void MergeFrom(const Joint& from);
382  void Clear() final;
383  bool IsInitialized() const final;
384 
385  size_t ByteSizeLong() const final;
386  bool MergePartialFromCodedStream(
387  ::google::protobuf::io::CodedInputStream* input) final;
388  void SerializeWithCachedSizes(
389  ::google::protobuf::io::CodedOutputStream* output) const final;
390  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
391  bool deterministic, ::google::protobuf::uint8* target) const final;
392  int GetCachedSize() const final { return _cached_size_.Get(); }
393 
394  private:
395  void SharedCtor();
396  void SharedDtor();
397  void SetCachedSize(int size) const final;
398  void InternalSwap(Joint* other);
399  private:
400  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
401  return NULL;
402  }
403  inline void* MaybeArenaPtr() const {
404  return NULL;
405  }
406  public:
407 
408  ::google::protobuf::Metadata GetMetadata() const final;
409 
410  // nested types ----------------------------------------------------
411 
414 
415  typedef Joint_Type Type;
416  static const Type REVOLUTE =
418  static const Type REVOLUTE2 =
420  static const Type PRISMATIC =
422  static const Type UNIVERSAL =
424  static const Type BALL =
426  static const Type SCREW =
428  static const Type GEARBOX =
430  static const Type FIXED =
432  static const Type CONTINUOUS =
434  static inline bool Type_IsValid(int value) {
435  return Joint_Type_IsValid(value);
436  }
437  static const Type Type_MIN =
439  static const Type Type_MAX =
441  static const int Type_ARRAYSIZE =
443  static inline const ::google::protobuf::EnumDescriptor*
445  return Joint_Type_descriptor();
446  }
447  static inline const ::std::string& Type_Name(Type value) {
448  return Joint_Type_Name(value);
449  }
450  static inline bool Type_Parse(const ::std::string& name,
451  Type* value) {
452  return Joint_Type_Parse(name, value);
453  }
454 
455  // accessors -------------------------------------------------------
456 
457  // repeated .gz.msgs.Sensor sensor = 21;
458  int sensor_size() const;
459  void clear_sensor();
460  static const int kSensorFieldNumber = 21;
461  ::gz::msgs::Sensor* mutable_sensor(int index);
462  ::google::protobuf::RepeatedPtrField< ::gz::msgs::Sensor >*
463  mutable_sensor();
464  const ::gz::msgs::Sensor& sensor(int index) const;
465  ::gz::msgs::Sensor* add_sensor();
466  const ::google::protobuf::RepeatedPtrField< ::gz::msgs::Sensor >&
467  sensor() const;
468 
469  // string name = 2;
470  void clear_name();
471  static const int kNameFieldNumber = 2;
472  const ::std::string& name() const;
473  void set_name(const ::std::string& value);
474  #if LANG_CXX11
475  void set_name(::std::string&& value);
476  #endif
477  void set_name(const char* value);
478  void set_name(const char* value, size_t size);
479  ::std::string* mutable_name();
480  ::std::string* release_name();
481  void set_allocated_name(::std::string* name);
482 
483  // string parent = 5;
484  void clear_parent();
485  static const int kParentFieldNumber = 5;
486  const ::std::string& parent() const;
487  void set_parent(const ::std::string& value);
488  #if LANG_CXX11
489  void set_parent(::std::string&& value);
490  #endif
491  void set_parent(const char* value);
492  void set_parent(const char* value, size_t size);
493  ::std::string* mutable_parent();
494  ::std::string* release_parent();
495  void set_allocated_parent(::std::string* parent);
496 
497  // string child = 7;
498  void clear_child();
499  static const int kChildFieldNumber = 7;
500  const ::std::string& child() const;
501  void set_child(const ::std::string& value);
502  #if LANG_CXX11
503  void set_child(::std::string&& value);
504  #endif
505  void set_child(const char* value);
506  void set_child(const char* value, size_t size);
507  ::std::string* mutable_child();
508  ::std::string* release_child();
509  void set_allocated_child(::std::string* child);
510 
511  // .gz.msgs.Header header = 1;
512  bool has_header() const;
513  void clear_header();
514  static const int kHeaderFieldNumber = 1;
515  private:
516  const ::gz::msgs::Header& _internal_header() const;
517  public:
518  const ::gz::msgs::Header& header() const;
519  ::gz::msgs::Header* release_header();
520  ::gz::msgs::Header* mutable_header();
521  void set_allocated_header(::gz::msgs::Header* header);
522 
523  // .gz.msgs.Pose pose = 9;
524  bool has_pose() const;
525  void clear_pose();
526  static const int kPoseFieldNumber = 9;
527  private:
528  const ::gz::msgs::Pose& _internal_pose() const;
529  public:
530  const ::gz::msgs::Pose& pose() const;
531  ::gz::msgs::Pose* release_pose();
532  ::gz::msgs::Pose* mutable_pose();
533  void set_allocated_pose(::gz::msgs::Pose* pose);
534 
535  // .gz.msgs.Axis axis1 = 10;
536  bool has_axis1() const;
537  void clear_axis1();
538  static const int kAxis1FieldNumber = 10;
539  private:
540  const ::gz::msgs::Axis& _internal_axis1() const;
541  public:
542  const ::gz::msgs::Axis& axis1() const;
543  ::gz::msgs::Axis* release_axis1();
544  ::gz::msgs::Axis* mutable_axis1();
545  void set_allocated_axis1(::gz::msgs::Axis* axis1);
546 
547  // .gz.msgs.Axis axis2 = 11;
548  bool has_axis2() const;
549  void clear_axis2();
550  static const int kAxis2FieldNumber = 11;
551  private:
552  const ::gz::msgs::Axis& _internal_axis2() const;
553  public:
554  const ::gz::msgs::Axis& axis2() const;
555  ::gz::msgs::Axis* release_axis2();
556  ::gz::msgs::Axis* mutable_axis2();
557  void set_allocated_axis2(::gz::msgs::Axis* axis2);
558 
559  // .gz.msgs.Joint.Gearbox gearbox = 19;
560  bool has_gearbox() const;
561  void clear_gearbox();
562  static const int kGearboxFieldNumber = 19;
563  private:
564  const ::gz::msgs::Joint_Gearbox& _internal_gearbox() const;
565  public:
566  const ::gz::msgs::Joint_Gearbox& gearbox() const;
567  ::gz::msgs::Joint_Gearbox* release_gearbox();
568  ::gz::msgs::Joint_Gearbox* mutable_gearbox();
569  void set_allocated_gearbox(::gz::msgs::Joint_Gearbox* gearbox);
570 
571  // .gz.msgs.Joint.Screw screw = 20;
572  bool has_screw() const;
573  void clear_screw();
574  static const int kScrewFieldNumber = 20;
575  private:
576  const ::gz::msgs::Joint_Screw& _internal_screw() const;
577  public:
578  const ::gz::msgs::Joint_Screw& screw() const;
579  ::gz::msgs::Joint_Screw* release_screw();
580  ::gz::msgs::Joint_Screw* mutable_screw();
581  void set_allocated_screw(::gz::msgs::Joint_Screw* screw);
582 
583  // uint32 id = 3;
584  void clear_id();
585  static const int kIdFieldNumber = 3;
586  ::google::protobuf::uint32 id() const;
587  void set_id(::google::protobuf::uint32 value);
588 
589  // .gz.msgs.Joint.Type type = 4;
590  void clear_type();
591  static const int kTypeFieldNumber = 4;
592  ::gz::msgs::Joint_Type type() const;
593  void set_type(::gz::msgs::Joint_Type value);
594 
595  // uint32 parent_id = 6;
596  void clear_parent_id();
597  static const int kParentIdFieldNumber = 6;
598  ::google::protobuf::uint32 parent_id() const;
599  void set_parent_id(::google::protobuf::uint32 value);
600 
601  // uint32 child_id = 8;
602  void clear_child_id();
603  static const int kChildIdFieldNumber = 8;
604  ::google::protobuf::uint32 child_id() const;
605  void set_child_id(::google::protobuf::uint32 value);
606 
607  // double cfm = 12;
608  void clear_cfm();
609  static const int kCfmFieldNumber = 12;
610  double cfm() const;
611  void set_cfm(double value);
612 
613  // double bounce = 13;
614  void clear_bounce();
615  static const int kBounceFieldNumber = 13;
616  double bounce() const;
617  void set_bounce(double value);
618 
619  // double fudge_factor = 14;
620  void clear_fudge_factor();
621  static const int kFudgeFactorFieldNumber = 14;
622  double fudge_factor() const;
623  void set_fudge_factor(double value);
624 
625  // double limit_cfm = 15;
626  void clear_limit_cfm();
627  static const int kLimitCfmFieldNumber = 15;
628  double limit_cfm() const;
629  void set_limit_cfm(double value);
630 
631  // double limit_erp = 16;
632  void clear_limit_erp();
633  static const int kLimitErpFieldNumber = 16;
634  double limit_erp() const;
635  void set_limit_erp(double value);
636 
637  // double suspension_cfm = 17;
638  void clear_suspension_cfm();
639  static const int kSuspensionCfmFieldNumber = 17;
640  double suspension_cfm() const;
641  void set_suspension_cfm(double value);
642 
643  // double suspension_erp = 18;
644  void clear_suspension_erp();
645  static const int kSuspensionErpFieldNumber = 18;
646  double suspension_erp() const;
647  void set_suspension_erp(double value);
648 
649  // @@protoc_insertion_point(class_scope:gz.msgs.Joint)
650  private:
651 
652  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
653  ::google::protobuf::RepeatedPtrField< ::gz::msgs::Sensor > sensor_;
654  ::google::protobuf::internal::ArenaStringPtr name_;
655  ::google::protobuf::internal::ArenaStringPtr parent_;
656  ::google::protobuf::internal::ArenaStringPtr child_;
657  ::gz::msgs::Header* header_;
658  ::gz::msgs::Pose* pose_;
659  ::gz::msgs::Axis* axis1_;
660  ::gz::msgs::Axis* axis2_;
661  ::gz::msgs::Joint_Gearbox* gearbox_;
662  ::gz::msgs::Joint_Screw* screw_;
663  ::google::protobuf::uint32 id_;
664  int type_;
665  ::google::protobuf::uint32 parent_id_;
666  ::google::protobuf::uint32 child_id_;
667  double cfm_;
668  double bounce_;
669  double fudge_factor_;
670  double limit_cfm_;
671  double limit_erp_;
672  double suspension_cfm_;
673  double suspension_erp_;
674  mutable ::google::protobuf::internal::CachedSize _cached_size_;
675  friend struct ::protobuf_gz_2fmsgs_2fjoint_2eproto::TableStruct;
676 };
677 // ===================================================================
678 
679 
680 // ===================================================================
681 
682 #ifdef __GNUC__
683  #pragma GCC diagnostic push
684  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
685 #endif // __GNUC__
686 // Joint_Gearbox
687 
688 // string gearbox_reference_body = 1;
690  gearbox_reference_body_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
691 }
692 inline const ::std::string& Joint_Gearbox::gearbox_reference_body() const {
693  // @@protoc_insertion_point(field_get:gz.msgs.Joint.Gearbox.gearbox_reference_body)
694  return gearbox_reference_body_.GetNoArena();
695 }
696 inline void Joint_Gearbox::set_gearbox_reference_body(const ::std::string& value) {
697 
698  gearbox_reference_body_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
699  // @@protoc_insertion_point(field_set:gz.msgs.Joint.Gearbox.gearbox_reference_body)
700 }
701 #if LANG_CXX11
703 
704  gearbox_reference_body_.SetNoArena(
705  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
706  // @@protoc_insertion_point(field_set_rvalue:gz.msgs.Joint.Gearbox.gearbox_reference_body)
707 }
708 #endif
709 inline void Joint_Gearbox::set_gearbox_reference_body(const char* value) {
710  GOOGLE_DCHECK(value != NULL);
711 
712  gearbox_reference_body_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
713  // @@protoc_insertion_point(field_set_char:gz.msgs.Joint.Gearbox.gearbox_reference_body)
714 }
715 inline void Joint_Gearbox::set_gearbox_reference_body(const char* value, size_t size) {
716 
717  gearbox_reference_body_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
718  ::std::string(reinterpret_cast<const char*>(value), size));
719  // @@protoc_insertion_point(field_set_pointer:gz.msgs.Joint.Gearbox.gearbox_reference_body)
720 }
722 
723  // @@protoc_insertion_point(field_mutable:gz.msgs.Joint.Gearbox.gearbox_reference_body)
724  return gearbox_reference_body_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
725 }
727  // @@protoc_insertion_point(field_release:gz.msgs.Joint.Gearbox.gearbox_reference_body)
728 
729  return gearbox_reference_body_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
730 }
731 inline void Joint_Gearbox::set_allocated_gearbox_reference_body(::std::string* gearbox_reference_body) {
732  if (gearbox_reference_body != NULL) {
733 
734  } else {
735 
736  }
737  gearbox_reference_body_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), gearbox_reference_body);
738  // @@protoc_insertion_point(field_set_allocated:gz.msgs.Joint.Gearbox.gearbox_reference_body)
739 }
740 
741 // double gearbox_ratio = 2;
743  gearbox_ratio_ = 0;
744 }
745 inline double Joint_Gearbox::gearbox_ratio() const {
746  // @@protoc_insertion_point(field_get:gz.msgs.Joint.Gearbox.gearbox_ratio)
747  return gearbox_ratio_;
748 }
749 inline void Joint_Gearbox::set_gearbox_ratio(double value) {
750 
751  gearbox_ratio_ = value;
752  // @@protoc_insertion_point(field_set:gz.msgs.Joint.Gearbox.gearbox_ratio)
753 }
754 
755 // -------------------------------------------------------------------
756 
757 // Joint_Screw
758 
759 // double thread_pitch = 1;
761  thread_pitch_ = 0;
762 }
763 inline double Joint_Screw::thread_pitch() const {
764  // @@protoc_insertion_point(field_get:gz.msgs.Joint.Screw.thread_pitch)
765  return thread_pitch_;
766 }
767 inline void Joint_Screw::set_thread_pitch(double value) {
768 
769  thread_pitch_ = value;
770  // @@protoc_insertion_point(field_set:gz.msgs.Joint.Screw.thread_pitch)
771 }
772 
773 // -------------------------------------------------------------------
774 
775 // Joint
776 
777 // .gz.msgs.Header header = 1;
778 inline bool Joint::has_header() const {
779  return this != internal_default_instance() && header_ != NULL;
780 }
781 inline const ::gz::msgs::Header& Joint::_internal_header() const {
782  return *header_;
783 }
784 inline const ::gz::msgs::Header& Joint::header() const {
785  const ::gz::msgs::Header* p = header_;
786  // @@protoc_insertion_point(field_get:gz.msgs.Joint.header)
787  return p != NULL ? *p : *reinterpret_cast<const ::gz::msgs::Header*>(
789 }
790 inline ::gz::msgs::Header* Joint::release_header() {
791  // @@protoc_insertion_point(field_release:gz.msgs.Joint.header)
792 
793  ::gz::msgs::Header* temp = header_;
794  header_ = NULL;
795  return temp;
796 }
797 inline ::gz::msgs::Header* Joint::mutable_header() {
798 
799  if (header_ == NULL) {
800  auto* p = CreateMaybeMessage<::gz::msgs::Header>(GetArenaNoVirtual());
801  header_ = p;
802  }
803  // @@protoc_insertion_point(field_mutable:gz.msgs.Joint.header)
804  return header_;
805 }
807  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
808  if (message_arena == NULL) {
809  delete reinterpret_cast< ::google::protobuf::MessageLite*>(header_);
810  }
811  if (header) {
812  ::google::protobuf::Arena* submessage_arena = NULL;
813  if (message_arena != submessage_arena) {
814  header = ::google::protobuf::internal::GetOwnedMessage(
815  message_arena, header, submessage_arena);
816  }
817 
818  } else {
819 
820  }
821  header_ = header;
822  // @@protoc_insertion_point(field_set_allocated:gz.msgs.Joint.header)
823 }
824 
825 // string name = 2;
826 inline void Joint::clear_name() {
827  name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
828 }
829 inline const ::std::string& Joint::name() const {
830  // @@protoc_insertion_point(field_get:gz.msgs.Joint.name)
831  return name_.GetNoArena();
832 }
833 inline void Joint::set_name(const ::std::string& value) {
834 
835  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
836  // @@protoc_insertion_point(field_set:gz.msgs.Joint.name)
837 }
838 #if LANG_CXX11
839 inline void Joint::set_name(::std::string&& value) {
840 
841  name_.SetNoArena(
842  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
843  // @@protoc_insertion_point(field_set_rvalue:gz.msgs.Joint.name)
844 }
845 #endif
846 inline void Joint::set_name(const char* value) {
847  GOOGLE_DCHECK(value != NULL);
848 
849  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
850  // @@protoc_insertion_point(field_set_char:gz.msgs.Joint.name)
851 }
852 inline void Joint::set_name(const char* value, size_t size) {
853 
854  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
855  ::std::string(reinterpret_cast<const char*>(value), size));
856  // @@protoc_insertion_point(field_set_pointer:gz.msgs.Joint.name)
857 }
858 inline ::std::string* Joint::mutable_name() {
859 
860  // @@protoc_insertion_point(field_mutable:gz.msgs.Joint.name)
861  return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
862 }
863 inline ::std::string* Joint::release_name() {
864  // @@protoc_insertion_point(field_release:gz.msgs.Joint.name)
865 
866  return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
867 }
869  if (name != NULL) {
870 
871  } else {
872 
873  }
874  name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
875  // @@protoc_insertion_point(field_set_allocated:gz.msgs.Joint.name)
876 }
877 
878 // uint32 id = 3;
879 inline void Joint::clear_id() {
880  id_ = 0u;
881 }
882 inline ::google::protobuf::uint32 Joint::id() const {
883  // @@protoc_insertion_point(field_get:gz.msgs.Joint.id)
884  return id_;
885 }
886 inline void Joint::set_id(::google::protobuf::uint32 value) {
887 
888  id_ = value;
889  // @@protoc_insertion_point(field_set:gz.msgs.Joint.id)
890 }
891 
892 // .gz.msgs.Joint.Type type = 4;
893 inline void Joint::clear_type() {
894  type_ = 0;
895 }
897  // @@protoc_insertion_point(field_get:gz.msgs.Joint.type)
898  return static_cast< ::gz::msgs::Joint_Type >(type_);
899 }
900 inline void Joint::set_type(::gz::msgs::Joint_Type value) {
901 
902  type_ = value;
903  // @@protoc_insertion_point(field_set:gz.msgs.Joint.type)
904 }
905 
906 // string parent = 5;
907 inline void Joint::clear_parent() {
908  parent_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
909 }
910 inline const ::std::string& Joint::parent() const {
911  // @@protoc_insertion_point(field_get:gz.msgs.Joint.parent)
912  return parent_.GetNoArena();
913 }
914 inline void Joint::set_parent(const ::std::string& value) {
915 
916  parent_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
917  // @@protoc_insertion_point(field_set:gz.msgs.Joint.parent)
918 }
919 #if LANG_CXX11
920 inline void Joint::set_parent(::std::string&& value) {
921 
922  parent_.SetNoArena(
923  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
924  // @@protoc_insertion_point(field_set_rvalue:gz.msgs.Joint.parent)
925 }
926 #endif
927 inline void Joint::set_parent(const char* value) {
928  GOOGLE_DCHECK(value != NULL);
929 
930  parent_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
931  // @@protoc_insertion_point(field_set_char:gz.msgs.Joint.parent)
932 }
933 inline void Joint::set_parent(const char* value, size_t size) {
934 
935  parent_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
936  ::std::string(reinterpret_cast<const char*>(value), size));
937  // @@protoc_insertion_point(field_set_pointer:gz.msgs.Joint.parent)
938 }
939 inline ::std::string* Joint::mutable_parent() {
940 
941  // @@protoc_insertion_point(field_mutable:gz.msgs.Joint.parent)
942  return parent_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
943 }
944 inline ::std::string* Joint::release_parent() {
945  // @@protoc_insertion_point(field_release:gz.msgs.Joint.parent)
946 
947  return parent_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
948 }
949 inline void Joint::set_allocated_parent(::std::string* parent) {
950  if (parent != NULL) {
951 
952  } else {
953 
954  }
955  parent_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), parent);
956  // @@protoc_insertion_point(field_set_allocated:gz.msgs.Joint.parent)
957 }
958 
959 // uint32 parent_id = 6;
960 inline void Joint::clear_parent_id() {
961  parent_id_ = 0u;
962 }
963 inline ::google::protobuf::uint32 Joint::parent_id() const {
964  // @@protoc_insertion_point(field_get:gz.msgs.Joint.parent_id)
965  return parent_id_;
966 }
967 inline void Joint::set_parent_id(::google::protobuf::uint32 value) {
968 
969  parent_id_ = value;
970  // @@protoc_insertion_point(field_set:gz.msgs.Joint.parent_id)
971 }
972 
973 // string child = 7;
974 inline void Joint::clear_child() {
975  child_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
976 }
977 inline const ::std::string& Joint::child() const {
978  // @@protoc_insertion_point(field_get:gz.msgs.Joint.child)
979  return child_.GetNoArena();
980 }
981 inline void Joint::set_child(const ::std::string& value) {
982 
983  child_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
984  // @@protoc_insertion_point(field_set:gz.msgs.Joint.child)
985 }
986 #if LANG_CXX11
987 inline void Joint::set_child(::std::string&& value) {
988 
989  child_.SetNoArena(
990  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
991  // @@protoc_insertion_point(field_set_rvalue:gz.msgs.Joint.child)
992 }
993 #endif
994 inline void Joint::set_child(const char* value) {
995  GOOGLE_DCHECK(value != NULL);
996 
997  child_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
998  // @@protoc_insertion_point(field_set_char:gz.msgs.Joint.child)
999 }
1000 inline void Joint::set_child(const char* value, size_t size) {
1001 
1002  child_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1003  ::std::string(reinterpret_cast<const char*>(value), size));
1004  // @@protoc_insertion_point(field_set_pointer:gz.msgs.Joint.child)
1005 }
1006 inline ::std::string* Joint::mutable_child() {
1007 
1008  // @@protoc_insertion_point(field_mutable:gz.msgs.Joint.child)
1009  return child_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1010 }
1011 inline ::std::string* Joint::release_child() {
1012  // @@protoc_insertion_point(field_release:gz.msgs.Joint.child)
1013 
1014  return child_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1015 }
1017  if (child != NULL) {
1018 
1019  } else {
1020 
1021  }
1022  child_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), child);
1023  // @@protoc_insertion_point(field_set_allocated:gz.msgs.Joint.child)
1024 }
1025 
1026 // uint32 child_id = 8;
1027 inline void Joint::clear_child_id() {
1028  child_id_ = 0u;
1029 }
1030 inline ::google::protobuf::uint32 Joint::child_id() const {
1031  // @@protoc_insertion_point(field_get:gz.msgs.Joint.child_id)
1032  return child_id_;
1033 }
1034 inline void Joint::set_child_id(::google::protobuf::uint32 value) {
1035 
1036  child_id_ = value;
1037  // @@protoc_insertion_point(field_set:gz.msgs.Joint.child_id)
1038 }
1039 
1040 // .gz.msgs.Pose pose = 9;
1041 inline bool Joint::has_pose() const {
1042  return this != internal_default_instance() && pose_ != NULL;
1043 }
1044 inline const ::gz::msgs::Pose& Joint::_internal_pose() const {
1045  return *pose_;
1046 }
1047 inline const ::gz::msgs::Pose& Joint::pose() const {
1048  const ::gz::msgs::Pose* p = pose_;
1049  // @@protoc_insertion_point(field_get:gz.msgs.Joint.pose)
1050  return p != NULL ? *p : *reinterpret_cast<const ::gz::msgs::Pose*>(
1052 }
1053 inline ::gz::msgs::Pose* Joint::release_pose() {
1054  // @@protoc_insertion_point(field_release:gz.msgs.Joint.pose)
1055 
1056  ::gz::msgs::Pose* temp = pose_;
1057  pose_ = NULL;
1058  return temp;
1059 }
1060 inline ::gz::msgs::Pose* Joint::mutable_pose() {
1061 
1062  if (pose_ == NULL) {
1063  auto* p = CreateMaybeMessage<::gz::msgs::Pose>(GetArenaNoVirtual());
1064  pose_ = p;
1065  }
1066  // @@protoc_insertion_point(field_mutable:gz.msgs.Joint.pose)
1067  return pose_;
1068 }
1070  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1071  if (message_arena == NULL) {
1072  delete reinterpret_cast< ::google::protobuf::MessageLite*>(pose_);
1073  }
1074  if (pose) {
1075  ::google::protobuf::Arena* submessage_arena = NULL;
1076  if (message_arena != submessage_arena) {
1077  pose = ::google::protobuf::internal::GetOwnedMessage(
1078  message_arena, pose, submessage_arena);
1079  }
1080 
1081  } else {
1082 
1083  }
1084  pose_ = pose;
1085  // @@protoc_insertion_point(field_set_allocated:gz.msgs.Joint.pose)
1086 }
1087 
1088 // .gz.msgs.Axis axis1 = 10;
1089 inline bool Joint::has_axis1() const {
1090  return this != internal_default_instance() && axis1_ != NULL;
1091 }
1092 inline const ::gz::msgs::Axis& Joint::_internal_axis1() const {
1093  return *axis1_;
1094 }
1095 inline const ::gz::msgs::Axis& Joint::axis1() const {
1096  const ::gz::msgs::Axis* p = axis1_;
1097  // @@protoc_insertion_point(field_get:gz.msgs.Joint.axis1)
1098  return p != NULL ? *p : *reinterpret_cast<const ::gz::msgs::Axis*>(
1100 }
1101 inline ::gz::msgs::Axis* Joint::release_axis1() {
1102  // @@protoc_insertion_point(field_release:gz.msgs.Joint.axis1)
1103 
1104  ::gz::msgs::Axis* temp = axis1_;
1105  axis1_ = NULL;
1106  return temp;
1107 }
1108 inline ::gz::msgs::Axis* Joint::mutable_axis1() {
1109 
1110  if (axis1_ == NULL) {
1111  auto* p = CreateMaybeMessage<::gz::msgs::Axis>(GetArenaNoVirtual());
1112  axis1_ = p;
1113  }
1114  // @@protoc_insertion_point(field_mutable:gz.msgs.Joint.axis1)
1115  return axis1_;
1116 }
1118  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1119  if (message_arena == NULL) {
1120  delete reinterpret_cast< ::google::protobuf::MessageLite*>(axis1_);
1121  }
1122  if (axis1) {
1123  ::google::protobuf::Arena* submessage_arena = NULL;
1124  if (message_arena != submessage_arena) {
1125  axis1 = ::google::protobuf::internal::GetOwnedMessage(
1126  message_arena, axis1, submessage_arena);
1127  }
1128 
1129  } else {
1130 
1131  }
1132  axis1_ = axis1;
1133  // @@protoc_insertion_point(field_set_allocated:gz.msgs.Joint.axis1)
1134 }
1135 
1136 // .gz.msgs.Axis axis2 = 11;
1137 inline bool Joint::has_axis2() const {
1138  return this != internal_default_instance() && axis2_ != NULL;
1139 }
1140 inline const ::gz::msgs::Axis& Joint::_internal_axis2() const {
1141  return *axis2_;
1142 }
1143 inline const ::gz::msgs::Axis& Joint::axis2() const {
1144  const ::gz::msgs::Axis* p = axis2_;
1145  // @@protoc_insertion_point(field_get:gz.msgs.Joint.axis2)
1146  return p != NULL ? *p : *reinterpret_cast<const ::gz::msgs::Axis*>(
1148 }
1149 inline ::gz::msgs::Axis* Joint::release_axis2() {
1150  // @@protoc_insertion_point(field_release:gz.msgs.Joint.axis2)
1151 
1152  ::gz::msgs::Axis* temp = axis2_;
1153  axis2_ = NULL;
1154  return temp;
1155 }
1156 inline ::gz::msgs::Axis* Joint::mutable_axis2() {
1157 
1158  if (axis2_ == NULL) {
1159  auto* p = CreateMaybeMessage<::gz::msgs::Axis>(GetArenaNoVirtual());
1160  axis2_ = p;
1161  }
1162  // @@protoc_insertion_point(field_mutable:gz.msgs.Joint.axis2)
1163  return axis2_;
1164 }
1166  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1167  if (message_arena == NULL) {
1168  delete reinterpret_cast< ::google::protobuf::MessageLite*>(axis2_);
1169  }
1170  if (axis2) {
1171  ::google::protobuf::Arena* submessage_arena = NULL;
1172  if (message_arena != submessage_arena) {
1173  axis2 = ::google::protobuf::internal::GetOwnedMessage(
1174  message_arena, axis2, submessage_arena);
1175  }
1176 
1177  } else {
1178 
1179  }
1180  axis2_ = axis2;
1181  // @@protoc_insertion_point(field_set_allocated:gz.msgs.Joint.axis2)
1182 }
1183 
1184 // double cfm = 12;
1185 inline void Joint::clear_cfm() {
1186  cfm_ = 0;
1187 }
1188 inline double Joint::cfm() const {
1189  // @@protoc_insertion_point(field_get:gz.msgs.Joint.cfm)
1190  return cfm_;
1191 }
1192 inline void Joint::set_cfm(double value) {
1193 
1194  cfm_ = value;
1195  // @@protoc_insertion_point(field_set:gz.msgs.Joint.cfm)
1196 }
1197 
1198 // double bounce = 13;
1199 inline void Joint::clear_bounce() {
1200  bounce_ = 0;
1201 }
1202 inline double Joint::bounce() const {
1203  // @@protoc_insertion_point(field_get:gz.msgs.Joint.bounce)
1204  return bounce_;
1205 }
1206 inline void Joint::set_bounce(double value) {
1207 
1208  bounce_ = value;
1209  // @@protoc_insertion_point(field_set:gz.msgs.Joint.bounce)
1210 }
1211 
1212 // double fudge_factor = 14;
1214  fudge_factor_ = 0;
1215 }
1216 inline double Joint::fudge_factor() const {
1217  // @@protoc_insertion_point(field_get:gz.msgs.Joint.fudge_factor)
1218  return fudge_factor_;
1219 }
1220 inline void Joint::set_fudge_factor(double value) {
1221 
1222  fudge_factor_ = value;
1223  // @@protoc_insertion_point(field_set:gz.msgs.Joint.fudge_factor)
1224 }
1225 
1226 // double limit_cfm = 15;
1227 inline void Joint::clear_limit_cfm() {
1228  limit_cfm_ = 0;
1229 }
1230 inline double Joint::limit_cfm() const {
1231  // @@protoc_insertion_point(field_get:gz.msgs.Joint.limit_cfm)
1232  return limit_cfm_;
1233 }
1234 inline void Joint::set_limit_cfm(double value) {
1235 
1236  limit_cfm_ = value;
1237  // @@protoc_insertion_point(field_set:gz.msgs.Joint.limit_cfm)
1238 }
1239 
1240 // double limit_erp = 16;
1241 inline void Joint::clear_limit_erp() {
1242  limit_erp_ = 0;
1243 }
1244 inline double Joint::limit_erp() const {
1245  // @@protoc_insertion_point(field_get:gz.msgs.Joint.limit_erp)
1246  return limit_erp_;
1247 }
1248 inline void Joint::set_limit_erp(double value) {
1249 
1250  limit_erp_ = value;
1251  // @@protoc_insertion_point(field_set:gz.msgs.Joint.limit_erp)
1252 }
1253 
1254 // double suspension_cfm = 17;
1256  suspension_cfm_ = 0;
1257 }
1258 inline double Joint::suspension_cfm() const {
1259  // @@protoc_insertion_point(field_get:gz.msgs.Joint.suspension_cfm)
1260  return suspension_cfm_;
1261 }
1262 inline void Joint::set_suspension_cfm(double value) {
1263 
1264  suspension_cfm_ = value;
1265  // @@protoc_insertion_point(field_set:gz.msgs.Joint.suspension_cfm)
1266 }
1267 
1268 // double suspension_erp = 18;
1270  suspension_erp_ = 0;
1271 }
1272 inline double Joint::suspension_erp() const {
1273  // @@protoc_insertion_point(field_get:gz.msgs.Joint.suspension_erp)
1274  return suspension_erp_;
1275 }
1276 inline void Joint::set_suspension_erp(double value) {
1277 
1278  suspension_erp_ = value;
1279  // @@protoc_insertion_point(field_set:gz.msgs.Joint.suspension_erp)
1280 }
1281 
1282 // .gz.msgs.Joint.Gearbox gearbox = 19;
1283 inline bool Joint::has_gearbox() const {
1284  return this != internal_default_instance() && gearbox_ != NULL;
1285 }
1286 inline void Joint::clear_gearbox() {
1287  if (GetArenaNoVirtual() == NULL && gearbox_ != NULL) {
1288  delete gearbox_;
1289  }
1290  gearbox_ = NULL;
1291 }
1292 inline const ::gz::msgs::Joint_Gearbox& Joint::_internal_gearbox() const {
1293  return *gearbox_;
1294 }
1295 inline const ::gz::msgs::Joint_Gearbox& Joint::gearbox() const {
1296  const ::gz::msgs::Joint_Gearbox* p = gearbox_;
1297  // @@protoc_insertion_point(field_get:gz.msgs.Joint.gearbox)
1298  return p != NULL ? *p : *reinterpret_cast<const ::gz::msgs::Joint_Gearbox*>(
1300 }
1301 inline ::gz::msgs::Joint_Gearbox* Joint::release_gearbox() {
1302  // @@protoc_insertion_point(field_release:gz.msgs.Joint.gearbox)
1303 
1304  ::gz::msgs::Joint_Gearbox* temp = gearbox_;
1305  gearbox_ = NULL;
1306  return temp;
1307 }
1308 inline ::gz::msgs::Joint_Gearbox* Joint::mutable_gearbox() {
1309 
1310  if (gearbox_ == NULL) {
1311  auto* p = CreateMaybeMessage<::gz::msgs::Joint_Gearbox>(GetArenaNoVirtual());
1312  gearbox_ = p;
1313  }
1314  // @@protoc_insertion_point(field_mutable:gz.msgs.Joint.gearbox)
1315  return gearbox_;
1316 }
1318  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1319  if (message_arena == NULL) {
1320  delete gearbox_;
1321  }
1322  if (gearbox) {
1323  ::google::protobuf::Arena* submessage_arena = NULL;
1324  if (message_arena != submessage_arena) {
1325  gearbox = ::google::protobuf::internal::GetOwnedMessage(
1326  message_arena, gearbox, submessage_arena);
1327  }
1328 
1329  } else {
1330 
1331  }
1332  gearbox_ = gearbox;
1333  // @@protoc_insertion_point(field_set_allocated:gz.msgs.Joint.gearbox)
1334 }
1335 
1336 // .gz.msgs.Joint.Screw screw = 20;
1337 inline bool Joint::has_screw() const {
1338  return this != internal_default_instance() && screw_ != NULL;
1339 }
1340 inline void Joint::clear_screw() {
1341  if (GetArenaNoVirtual() == NULL && screw_ != NULL) {
1342  delete screw_;
1343  }
1344  screw_ = NULL;
1345 }
1346 inline const ::gz::msgs::Joint_Screw& Joint::_internal_screw() const {
1347  return *screw_;
1348 }
1349 inline const ::gz::msgs::Joint_Screw& Joint::screw() const {
1350  const ::gz::msgs::Joint_Screw* p = screw_;
1351  // @@protoc_insertion_point(field_get:gz.msgs.Joint.screw)
1352  return p != NULL ? *p : *reinterpret_cast<const ::gz::msgs::Joint_Screw*>(
1354 }
1355 inline ::gz::msgs::Joint_Screw* Joint::release_screw() {
1356  // @@protoc_insertion_point(field_release:gz.msgs.Joint.screw)
1357 
1358  ::gz::msgs::Joint_Screw* temp = screw_;
1359  screw_ = NULL;
1360  return temp;
1361 }
1362 inline ::gz::msgs::Joint_Screw* Joint::mutable_screw() {
1363 
1364  if (screw_ == NULL) {
1365  auto* p = CreateMaybeMessage<::gz::msgs::Joint_Screw>(GetArenaNoVirtual());
1366  screw_ = p;
1367  }
1368  // @@protoc_insertion_point(field_mutable:gz.msgs.Joint.screw)
1369  return screw_;
1370 }
1372  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1373  if (message_arena == NULL) {
1374  delete screw_;
1375  }
1376  if (screw) {
1377  ::google::protobuf::Arena* submessage_arena = NULL;
1378  if (message_arena != submessage_arena) {
1379  screw = ::google::protobuf::internal::GetOwnedMessage(
1380  message_arena, screw, submessage_arena);
1381  }
1382 
1383  } else {
1384 
1385  }
1386  screw_ = screw;
1387  // @@protoc_insertion_point(field_set_allocated:gz.msgs.Joint.screw)
1388 }
1389 
1390 // repeated .gz.msgs.Sensor sensor = 21;
1391 inline int Joint::sensor_size() const {
1392  return sensor_.size();
1393 }
1394 inline ::gz::msgs::Sensor* Joint::mutable_sensor(int index) {
1395  // @@protoc_insertion_point(field_mutable:gz.msgs.Joint.sensor)
1396  return sensor_.Mutable(index);
1397 }
1398 inline ::google::protobuf::RepeatedPtrField< ::gz::msgs::Sensor >*
1400  // @@protoc_insertion_point(field_mutable_list:gz.msgs.Joint.sensor)
1401  return &sensor_;
1402 }
1403 inline const ::gz::msgs::Sensor& Joint::sensor(int index) const {
1404  // @@protoc_insertion_point(field_get:gz.msgs.Joint.sensor)
1405  return sensor_.Get(index);
1406 }
1407 inline ::gz::msgs::Sensor* Joint::add_sensor() {
1408  // @@protoc_insertion_point(field_add:gz.msgs.Joint.sensor)
1409  return sensor_.Add();
1410 }
1411 inline const ::google::protobuf::RepeatedPtrField< ::gz::msgs::Sensor >&
1412 Joint::sensor() const {
1413  // @@protoc_insertion_point(field_list:gz.msgs.Joint.sensor)
1414  return sensor_;
1415 }
1416 
1417 #ifdef __GNUC__
1418  #pragma GCC diagnostic pop
1419 #endif // __GNUC__
1420 // -------------------------------------------------------------------
1421 
1422 // -------------------------------------------------------------------
1423 
1424 
1425 // @@protoc_insertion_point(namespace_scope)
1426 
1427 } // namespace msgs
1428 } // namespace gz
1429 
1430 namespace google {
1431 namespace protobuf {
1432 
1433 template <> struct is_proto_enum< ::gz::msgs::Joint_Type> : ::std::true_type {};
1434 template <>
1435 inline const EnumDescriptor* GetEnumDescriptor< ::gz::msgs::Joint_Type>() {
1437 }
1438 
1439 } // namespace protobuf
1440 } // namespace google
1441 
1442 // @@protoc_insertion_point(global_scope)
1443 
1444 #endif // PROTOBUF_INCLUDED_gz_2fmsgs_2fjoint_2eproto