Ignition Msgs

API Reference

5.8.1
joint.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: ignition/msgs/joint.proto
3 
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fjoint_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fjoint_2eproto
6 
7 #include <limits>
8 #include <string>
9 
10 #include <google/protobuf/port_def.inc>
11 #if PROTOBUF_VERSION < 3014000
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 3014000 < 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/generated_enum_reflection.h>
34 #include <google/protobuf/unknown_field_set.h>
36 #include "ignition/msgs/axis.pb.h"
37 #include "ignition/msgs/pose.pb.h"
39 #ifndef _MSC_VER
40 #pragma GCC system_header
41 #else
42 #pragma warning(push)
43 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
44 #endif
45 #ifdef __linux__
46 #include <sys/sysmacros.h>
47 #endif
48 #include <memory>
49 #include <ignition/msgs/Export.hh>
50 // @@protoc_insertion_point(includes)
51 #include <google/protobuf/port_def.inc>
52 #define PROTOBUF_INTERNAL_EXPORT_ignition_2fmsgs_2fjoint_2eproto IGNITION_MSGS_VISIBLE
53 PROTOBUF_NAMESPACE_OPEN
54 namespace internal {
55 class AnyMetadata;
56 } // namespace internal
57 PROTOBUF_NAMESPACE_CLOSE
58 
59 // Internal implementation detail -- do not use these members.
60 struct IGNITION_MSGS_VISIBLE TableStruct_ignition_2fmsgs_2fjoint_2eproto {
61  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
62  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
63  static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
64  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
65  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[3]
66  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
67  static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
68  static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
69  static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
70 };
71 extern IGNITION_MSGS_VISIBLE const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fjoint_2eproto;
72 namespace ignition {
73 namespace msgs {
74 class Joint;
75 class JointDefaultTypeInternal;
76 IGNITION_MSGS_VISIBLE extern JointDefaultTypeInternal _Joint_default_instance_;
77 class Joint_Gearbox;
78 class Joint_GearboxDefaultTypeInternal;
79 IGNITION_MSGS_VISIBLE extern Joint_GearboxDefaultTypeInternal _Joint_Gearbox_default_instance_;
80 class Joint_Screw;
81 class Joint_ScrewDefaultTypeInternal;
82 IGNITION_MSGS_VISIBLE extern Joint_ScrewDefaultTypeInternal _Joint_Screw_default_instance_;
83 } // namespace msgs
84 } // namespace ignition
85 PROTOBUF_NAMESPACE_OPEN
86 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::Joint* Arena::CreateMaybeMessage<::ignition::msgs::Joint>(Arena*);
87 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::Joint_Gearbox* Arena::CreateMaybeMessage<::ignition::msgs::Joint_Gearbox>(Arena*);
88 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::Joint_Screw* Arena::CreateMaybeMessage<::ignition::msgs::Joint_Screw>(Arena*);
89 PROTOBUF_NAMESPACE_CLOSE
90 namespace ignition {
91 namespace msgs {
92 
93 enum Joint_Type : int {
104 };
105 IGNITION_MSGS_VISIBLE bool Joint_Type_IsValid(int value);
109 
110 IGNITION_MSGS_VISIBLE const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Joint_Type_descriptor();
111 template<typename T>
112 inline const std::string& Joint_Type_Name(T enum_t_value) {
113  static_assert(::std::is_same<T, Joint_Type>::value ||
115  "Incorrect type passed to function Joint_Type_Name.");
116  return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
117  Joint_Type_descriptor(), enum_t_value);
118 }
119 inline bool Joint_Type_Parse(
120  ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Joint_Type* value) {
121  return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<Joint_Type>(
122  Joint_Type_descriptor(), name, value);
123 }
124 // ===================================================================
125 
126 class IGNITION_MSGS_VISIBLE Joint_Gearbox PROTOBUF_FINAL :
127  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.Joint.Gearbox) */ {
128  public:
129  inline Joint_Gearbox() : Joint_Gearbox(nullptr) {}
130  virtual ~Joint_Gearbox();
131 
132  Joint_Gearbox(const Joint_Gearbox& from);
133  Joint_Gearbox(Joint_Gearbox&& from) noexcept
134  : Joint_Gearbox() {
135  *this = ::std::move(from);
136  }
137 
138  inline Joint_Gearbox& operator=(const Joint_Gearbox& from) {
139  CopyFrom(from);
140  return *this;
141  }
142  inline Joint_Gearbox& operator=(Joint_Gearbox&& from) noexcept {
143  if (GetArena() == from.GetArena()) {
144  if (this != &from) InternalSwap(&from);
145  } else {
146  CopyFrom(from);
147  }
148  return *this;
149  }
150 
151  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
152  return GetDescriptor();
153  }
154  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
155  return GetMetadataStatic().descriptor;
156  }
157  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
158  return GetMetadataStatic().reflection;
159  }
160  static const Joint_Gearbox& default_instance();
161 
162  static inline const Joint_Gearbox* internal_default_instance() {
163  return reinterpret_cast<const Joint_Gearbox*>(
165  }
166  static constexpr int kIndexInFileMessages =
167  0;
168 
169  friend void swap(Joint_Gearbox& a, Joint_Gearbox& b) {
170  a.Swap(&b);
171  }
172  inline void Swap(Joint_Gearbox* other) {
173  if (other == this) return;
174  if (GetArena() == other->GetArena()) {
175  InternalSwap(other);
176  } else {
177  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
178  }
179  }
180  void UnsafeArenaSwap(Joint_Gearbox* other) {
181  if (other == this) return;
182  GOOGLE_DCHECK(GetArena() == other->GetArena());
183  InternalSwap(other);
184  }
185 
186  // implements Message ----------------------------------------------
187 
188  inline Joint_Gearbox* New() const final {
189  return CreateMaybeMessage<Joint_Gearbox>(nullptr);
190  }
191 
192  Joint_Gearbox* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
193  return CreateMaybeMessage<Joint_Gearbox>(arena);
194  }
195  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
196  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
197  void CopyFrom(const Joint_Gearbox& from);
198  void MergeFrom(const Joint_Gearbox& from);
199  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
200  bool IsInitialized() const final;
201 
202  size_t ByteSizeLong() const final;
203  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
204  ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
205  ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
206  int GetCachedSize() const final { return _cached_size_.Get(); }
207 
208  private:
209  inline void SharedCtor();
210  inline void SharedDtor();
211  void SetCachedSize(int size) const final;
212  void InternalSwap(Joint_Gearbox* other);
213  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
214  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
215  return "ignition.msgs.Joint.Gearbox";
216  }
217  protected:
218  explicit Joint_Gearbox(::PROTOBUF_NAMESPACE_ID::Arena* arena);
219  private:
220  static void ArenaDtor(void* object);
221  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
222  public:
223 
224  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
225  private:
226  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
227  ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_ignition_2fmsgs_2fjoint_2eproto);
228  return ::descriptor_table_ignition_2fmsgs_2fjoint_2eproto.file_level_metadata[kIndexInFileMessages];
229  }
230 
231  public:
232 
233  // nested types ----------------------------------------------------
234 
235  // accessors -------------------------------------------------------
236 
237  enum : int {
238  kGearboxReferenceBodyFieldNumber = 1,
239  kGearboxRatioFieldNumber = 2,
240  };
241  // string gearbox_reference_body = 1;
246  void set_gearbox_reference_body(const char* value);
247  void set_gearbox_reference_body(const char* value, size_t size);
250  void set_allocated_gearbox_reference_body(std::string* gearbox_reference_body);
251  private:
252  const std::string& _internal_gearbox_reference_body() const;
253  void _internal_set_gearbox_reference_body(const std::string& value);
254  std::string* _internal_mutable_gearbox_reference_body();
255  public:
256 
257  // double gearbox_ratio = 2;
259  double gearbox_ratio() const;
260  void set_gearbox_ratio(double value);
261  private:
262  double _internal_gearbox_ratio() const;
263  void _internal_set_gearbox_ratio(double value);
264  public:
265 
266  // @@protoc_insertion_point(class_scope:ignition.msgs.Joint.Gearbox)
267  private:
268  class _Internal;
269 
270  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
271  typedef void InternalArenaConstructable_;
272  typedef void DestructorSkippable_;
273  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr gearbox_reference_body_;
274  double gearbox_ratio_;
275  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
276  friend struct ::TableStruct_ignition_2fmsgs_2fjoint_2eproto;
277 };
278 // -------------------------------------------------------------------
279 
280 class IGNITION_MSGS_VISIBLE Joint_Screw PROTOBUF_FINAL :
281  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.Joint.Screw) */ {
282  public:
283  inline Joint_Screw() : Joint_Screw(nullptr) {}
284  virtual ~Joint_Screw();
285 
286  Joint_Screw(const Joint_Screw& from);
287  Joint_Screw(Joint_Screw&& from) noexcept
288  : Joint_Screw() {
289  *this = ::std::move(from);
290  }
291 
292  inline Joint_Screw& operator=(const Joint_Screw& from) {
293  CopyFrom(from);
294  return *this;
295  }
296  inline Joint_Screw& operator=(Joint_Screw&& from) noexcept {
297  if (GetArena() == from.GetArena()) {
298  if (this != &from) InternalSwap(&from);
299  } else {
300  CopyFrom(from);
301  }
302  return *this;
303  }
304 
305  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
306  return GetDescriptor();
307  }
308  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
309  return GetMetadataStatic().descriptor;
310  }
311  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
312  return GetMetadataStatic().reflection;
313  }
314  static const Joint_Screw& default_instance();
315 
316  static inline const Joint_Screw* internal_default_instance() {
317  return reinterpret_cast<const Joint_Screw*>(
319  }
320  static constexpr int kIndexInFileMessages =
321  1;
322 
323  friend void swap(Joint_Screw& a, Joint_Screw& b) {
324  a.Swap(&b);
325  }
326  inline void Swap(Joint_Screw* other) {
327  if (other == this) return;
328  if (GetArena() == other->GetArena()) {
329  InternalSwap(other);
330  } else {
331  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
332  }
333  }
334  void UnsafeArenaSwap(Joint_Screw* other) {
335  if (other == this) return;
336  GOOGLE_DCHECK(GetArena() == other->GetArena());
337  InternalSwap(other);
338  }
339 
340  // implements Message ----------------------------------------------
341 
342  inline Joint_Screw* New() const final {
343  return CreateMaybeMessage<Joint_Screw>(nullptr);
344  }
345 
346  Joint_Screw* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
347  return CreateMaybeMessage<Joint_Screw>(arena);
348  }
349  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
350  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
351  void CopyFrom(const Joint_Screw& from);
352  void MergeFrom(const Joint_Screw& from);
353  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
354  bool IsInitialized() const final;
355 
356  size_t ByteSizeLong() const final;
357  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
358  ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
359  ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
360  int GetCachedSize() const final { return _cached_size_.Get(); }
361 
362  private:
363  inline void SharedCtor();
364  inline void SharedDtor();
365  void SetCachedSize(int size) const final;
366  void InternalSwap(Joint_Screw* other);
367  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
368  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
369  return "ignition.msgs.Joint.Screw";
370  }
371  protected:
372  explicit Joint_Screw(::PROTOBUF_NAMESPACE_ID::Arena* arena);
373  private:
374  static void ArenaDtor(void* object);
375  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
376  public:
377 
378  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
379  private:
380  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
381  ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_ignition_2fmsgs_2fjoint_2eproto);
382  return ::descriptor_table_ignition_2fmsgs_2fjoint_2eproto.file_level_metadata[kIndexInFileMessages];
383  }
384 
385  public:
386 
387  // nested types ----------------------------------------------------
388 
389  // accessors -------------------------------------------------------
390 
391  enum : int {
392  kThreadPitchFieldNumber = 1,
393  };
394  // double thread_pitch = 1;
396  double thread_pitch() const;
397  void set_thread_pitch(double value);
398  private:
399  double _internal_thread_pitch() const;
400  void _internal_set_thread_pitch(double value);
401  public:
402 
403  // @@protoc_insertion_point(class_scope:ignition.msgs.Joint.Screw)
404  private:
405  class _Internal;
406 
407  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
408  typedef void InternalArenaConstructable_;
409  typedef void DestructorSkippable_;
410  double thread_pitch_;
411  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
412  friend struct ::TableStruct_ignition_2fmsgs_2fjoint_2eproto;
413 };
414 // -------------------------------------------------------------------
415 
416 class IGNITION_MSGS_VISIBLE Joint PROTOBUF_FINAL :
417  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.Joint) */ {
418  public:
419  inline Joint() : Joint(nullptr) {}
420  virtual ~Joint();
421 
422  Joint(const Joint& from);
423  Joint(Joint&& from) noexcept
424  : Joint() {
425  *this = ::std::move(from);
426  }
427 
428  inline Joint& operator=(const Joint& from) {
429  CopyFrom(from);
430  return *this;
431  }
432  inline Joint& operator=(Joint&& from) noexcept {
433  if (GetArena() == from.GetArena()) {
434  if (this != &from) InternalSwap(&from);
435  } else {
436  CopyFrom(from);
437  }
438  return *this;
439  }
440 
441  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
442  return GetDescriptor();
443  }
444  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
445  return GetMetadataStatic().descriptor;
446  }
447  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
448  return GetMetadataStatic().reflection;
449  }
450  static const Joint& default_instance();
451 
452  static inline const Joint* internal_default_instance() {
453  return reinterpret_cast<const Joint*>(
455  }
456  static constexpr int kIndexInFileMessages =
457  2;
458 
459  friend void swap(Joint& a, Joint& b) {
460  a.Swap(&b);
461  }
462  inline void Swap(Joint* other) {
463  if (other == this) return;
464  if (GetArena() == other->GetArena()) {
465  InternalSwap(other);
466  } else {
467  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
468  }
469  }
470  void UnsafeArenaSwap(Joint* other) {
471  if (other == this) return;
472  GOOGLE_DCHECK(GetArena() == other->GetArena());
473  InternalSwap(other);
474  }
475 
476  // implements Message ----------------------------------------------
477 
478  inline Joint* New() const final {
479  return CreateMaybeMessage<Joint>(nullptr);
480  }
481 
482  Joint* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
483  return CreateMaybeMessage<Joint>(arena);
484  }
485  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
486  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
487  void CopyFrom(const Joint& from);
488  void MergeFrom(const Joint& from);
489  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
490  bool IsInitialized() const final;
491 
492  size_t ByteSizeLong() const final;
493  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
494  ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
495  ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
496  int GetCachedSize() const final { return _cached_size_.Get(); }
497 
498  private:
499  inline void SharedCtor();
500  inline void SharedDtor();
501  void SetCachedSize(int size) const final;
502  void InternalSwap(Joint* other);
503  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
504  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
505  return "ignition.msgs.Joint";
506  }
507  protected:
508  explicit Joint(::PROTOBUF_NAMESPACE_ID::Arena* arena);
509  private:
510  static void ArenaDtor(void* object);
511  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
512  public:
513 
514  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
515  private:
516  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
517  ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_ignition_2fmsgs_2fjoint_2eproto);
518  return ::descriptor_table_ignition_2fmsgs_2fjoint_2eproto.file_level_metadata[kIndexInFileMessages];
519  }
520 
521  public:
522 
523  // nested types ----------------------------------------------------
524 
525  typedef Joint_Gearbox Gearbox;
526  typedef Joint_Screw Screw;
527 
528  typedef Joint_Type Type;
529  static constexpr Type REVOLUTE =
531  static constexpr Type REVOLUTE2 =
533  static constexpr Type PRISMATIC =
535  static constexpr Type UNIVERSAL =
537  static constexpr Type BALL =
539  static constexpr Type SCREW =
541  static constexpr Type GEARBOX =
543  static constexpr Type FIXED =
545  static inline bool Type_IsValid(int value) {
546  return Joint_Type_IsValid(value);
547  }
548  static constexpr Type Type_MIN =
550  static constexpr Type Type_MAX =
552  static constexpr int Type_ARRAYSIZE =
554  static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
556  return Joint_Type_descriptor();
557  }
558  template<typename T>
559  static inline const std::string& Type_Name(T enum_t_value) {
560  static_assert(::std::is_same<T, Type>::value ||
562  "Incorrect type passed to function Type_Name.");
563  return Joint_Type_Name(enum_t_value);
564  }
565  static inline bool Type_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
566  Type* value) {
567  return Joint_Type_Parse(name, value);
568  }
569 
570  // accessors -------------------------------------------------------
571 
572  enum : int {
573  kSensorFieldNumber = 21,
574  kNameFieldNumber = 2,
575  kParentFieldNumber = 5,
576  kChildFieldNumber = 7,
577  kHeaderFieldNumber = 1,
578  kPoseFieldNumber = 9,
579  kAxis1FieldNumber = 10,
580  kAxis2FieldNumber = 11,
581  kGearboxFieldNumber = 19,
582  kScrewFieldNumber = 20,
583  kIdFieldNumber = 3,
584  kTypeFieldNumber = 4,
585  kParentIdFieldNumber = 6,
586  kChildIdFieldNumber = 8,
587  kCfmFieldNumber = 12,
588  kBounceFieldNumber = 13,
589  kFudgeFactorFieldNumber = 14,
590  kLimitCfmFieldNumber = 15,
591  kLimitErpFieldNumber = 16,
592  kSuspensionCfmFieldNumber = 17,
593  kSuspensionErpFieldNumber = 18,
594  };
595  // repeated .ignition.msgs.Sensor sensor = 21;
596  int sensor_size() const;
597  private:
598  int _internal_sensor_size() const;
599  public:
600  void clear_sensor();
601  ::ignition::msgs::Sensor* mutable_sensor(int index);
602  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Sensor >*
604  private:
605  const ::ignition::msgs::Sensor& _internal_sensor(int index) const;
606  ::ignition::msgs::Sensor* _internal_add_sensor();
607  public:
608  const ::ignition::msgs::Sensor& sensor(int index) const;
609  ::ignition::msgs::Sensor* add_sensor();
610  const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Sensor >&
611  sensor() const;
612 
613  // string name = 2;
614  void clear_name();
615  const std::string& name() const;
616  void set_name(const std::string& value);
617  void set_name(std::string&& value);
618  void set_name(const char* value);
619  void set_name(const char* value, size_t size);
623  private:
624  const std::string& _internal_name() const;
625  void _internal_set_name(const std::string& value);
626  std::string* _internal_mutable_name();
627  public:
628 
629  // string parent = 5;
630  void clear_parent();
631  const std::string& parent() const;
632  void set_parent(const std::string& value);
633  void set_parent(std::string&& value);
634  void set_parent(const char* value);
635  void set_parent(const char* value, size_t size);
639  private:
640  const std::string& _internal_parent() const;
641  void _internal_set_parent(const std::string& value);
642  std::string* _internal_mutable_parent();
643  public:
644 
645  // string child = 7;
646  void clear_child();
647  const std::string& child() const;
648  void set_child(const std::string& value);
649  void set_child(std::string&& value);
650  void set_child(const char* value);
651  void set_child(const char* value, size_t size);
655  private:
656  const std::string& _internal_child() const;
657  void _internal_set_child(const std::string& value);
658  std::string* _internal_mutable_child();
659  public:
660 
661  // .ignition.msgs.Header header = 1;
662  bool has_header() const;
663  private:
664  bool _internal_has_header() const;
665  public:
666  void clear_header();
667  const ::ignition::msgs::Header& header() const;
668  ::ignition::msgs::Header* release_header();
669  ::ignition::msgs::Header* mutable_header();
670  void set_allocated_header(::ignition::msgs::Header* header);
671  private:
672  const ::ignition::msgs::Header& _internal_header() const;
673  ::ignition::msgs::Header* _internal_mutable_header();
674  public:
676  ::ignition::msgs::Header* header);
677  ::ignition::msgs::Header* unsafe_arena_release_header();
678 
679  // .ignition.msgs.Pose pose = 9;
680  bool has_pose() const;
681  private:
682  bool _internal_has_pose() const;
683  public:
684  void clear_pose();
685  const ::ignition::msgs::Pose& pose() const;
686  ::ignition::msgs::Pose* release_pose();
687  ::ignition::msgs::Pose* mutable_pose();
688  void set_allocated_pose(::ignition::msgs::Pose* pose);
689  private:
690  const ::ignition::msgs::Pose& _internal_pose() const;
691  ::ignition::msgs::Pose* _internal_mutable_pose();
692  public:
694  ::ignition::msgs::Pose* pose);
695  ::ignition::msgs::Pose* unsafe_arena_release_pose();
696 
697  // .ignition.msgs.Axis axis1 = 10;
698  bool has_axis1() const;
699  private:
700  bool _internal_has_axis1() const;
701  public:
702  void clear_axis1();
703  const ::ignition::msgs::Axis& axis1() const;
704  ::ignition::msgs::Axis* release_axis1();
705  ::ignition::msgs::Axis* mutable_axis1();
706  void set_allocated_axis1(::ignition::msgs::Axis* axis1);
707  private:
708  const ::ignition::msgs::Axis& _internal_axis1() const;
709  ::ignition::msgs::Axis* _internal_mutable_axis1();
710  public:
712  ::ignition::msgs::Axis* axis1);
713  ::ignition::msgs::Axis* unsafe_arena_release_axis1();
714 
715  // .ignition.msgs.Axis axis2 = 11;
716  bool has_axis2() const;
717  private:
718  bool _internal_has_axis2() const;
719  public:
720  void clear_axis2();
721  const ::ignition::msgs::Axis& axis2() const;
722  ::ignition::msgs::Axis* release_axis2();
723  ::ignition::msgs::Axis* mutable_axis2();
724  void set_allocated_axis2(::ignition::msgs::Axis* axis2);
725  private:
726  const ::ignition::msgs::Axis& _internal_axis2() const;
727  ::ignition::msgs::Axis* _internal_mutable_axis2();
728  public:
730  ::ignition::msgs::Axis* axis2);
731  ::ignition::msgs::Axis* unsafe_arena_release_axis2();
732 
733  // .ignition.msgs.Joint.Gearbox gearbox = 19;
734  bool has_gearbox() const;
735  private:
736  bool _internal_has_gearbox() const;
737  public:
739  const ::ignition::msgs::Joint_Gearbox& gearbox() const;
740  ::ignition::msgs::Joint_Gearbox* release_gearbox();
741  ::ignition::msgs::Joint_Gearbox* mutable_gearbox();
742  void set_allocated_gearbox(::ignition::msgs::Joint_Gearbox* gearbox);
743  private:
744  const ::ignition::msgs::Joint_Gearbox& _internal_gearbox() const;
745  ::ignition::msgs::Joint_Gearbox* _internal_mutable_gearbox();
746  public:
748  ::ignition::msgs::Joint_Gearbox* gearbox);
749  ::ignition::msgs::Joint_Gearbox* unsafe_arena_release_gearbox();
750 
751  // .ignition.msgs.Joint.Screw screw = 20;
752  bool has_screw() const;
753  private:
754  bool _internal_has_screw() const;
755  public:
756  void clear_screw();
757  const ::ignition::msgs::Joint_Screw& screw() const;
758  ::ignition::msgs::Joint_Screw* release_screw();
759  ::ignition::msgs::Joint_Screw* mutable_screw();
760  void set_allocated_screw(::ignition::msgs::Joint_Screw* screw);
761  private:
762  const ::ignition::msgs::Joint_Screw& _internal_screw() const;
763  ::ignition::msgs::Joint_Screw* _internal_mutable_screw();
764  public:
766  ::ignition::msgs::Joint_Screw* screw);
767  ::ignition::msgs::Joint_Screw* unsafe_arena_release_screw();
768 
769  // uint32 id = 3;
770  void clear_id();
771  ::PROTOBUF_NAMESPACE_ID::uint32 id() const;
772  void set_id(::PROTOBUF_NAMESPACE_ID::uint32 value);
773  private:
774  ::PROTOBUF_NAMESPACE_ID::uint32 _internal_id() const;
775  void _internal_set_id(::PROTOBUF_NAMESPACE_ID::uint32 value);
776  public:
777 
778  // .ignition.msgs.Joint.Type type = 4;
779  void clear_type();
782  private:
783  ::ignition::msgs::Joint_Type _internal_type() const;
784  void _internal_set_type(::ignition::msgs::Joint_Type value);
785  public:
786 
787  // uint32 parent_id = 6;
789  ::PROTOBUF_NAMESPACE_ID::uint32 parent_id() const;
790  void set_parent_id(::PROTOBUF_NAMESPACE_ID::uint32 value);
791  private:
792  ::PROTOBUF_NAMESPACE_ID::uint32 _internal_parent_id() const;
793  void _internal_set_parent_id(::PROTOBUF_NAMESPACE_ID::uint32 value);
794  public:
795 
796  // uint32 child_id = 8;
798  ::PROTOBUF_NAMESPACE_ID::uint32 child_id() const;
799  void set_child_id(::PROTOBUF_NAMESPACE_ID::uint32 value);
800  private:
801  ::PROTOBUF_NAMESPACE_ID::uint32 _internal_child_id() const;
802  void _internal_set_child_id(::PROTOBUF_NAMESPACE_ID::uint32 value);
803  public:
804 
805  // double cfm = 12;
806  void clear_cfm();
807  double cfm() const;
808  void set_cfm(double value);
809  private:
810  double _internal_cfm() const;
811  void _internal_set_cfm(double value);
812  public:
813 
814  // double bounce = 13;
815  void clear_bounce();
816  double bounce() const;
817  void set_bounce(double value);
818  private:
819  double _internal_bounce() const;
820  void _internal_set_bounce(double value);
821  public:
822 
823  // double fudge_factor = 14;
825  double fudge_factor() const;
826  void set_fudge_factor(double value);
827  private:
828  double _internal_fudge_factor() const;
829  void _internal_set_fudge_factor(double value);
830  public:
831 
832  // double limit_cfm = 15;
834  double limit_cfm() const;
835  void set_limit_cfm(double value);
836  private:
837  double _internal_limit_cfm() const;
838  void _internal_set_limit_cfm(double value);
839  public:
840 
841  // double limit_erp = 16;
843  double limit_erp() const;
844  void set_limit_erp(double value);
845  private:
846  double _internal_limit_erp() const;
847  void _internal_set_limit_erp(double value);
848  public:
849 
850  // double suspension_cfm = 17;
852  double suspension_cfm() const;
853  void set_suspension_cfm(double value);
854  private:
855  double _internal_suspension_cfm() const;
856  void _internal_set_suspension_cfm(double value);
857  public:
858 
859  // double suspension_erp = 18;
861  double suspension_erp() const;
862  void set_suspension_erp(double value);
863  private:
864  double _internal_suspension_erp() const;
865  void _internal_set_suspension_erp(double value);
866  public:
867 
868  // @@protoc_insertion_point(class_scope:ignition.msgs.Joint)
869  private:
870  class _Internal;
871 
872  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
873  typedef void InternalArenaConstructable_;
874  typedef void DestructorSkippable_;
875  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Sensor > sensor_;
876  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
877  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr parent_;
878  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr child_;
879  ::ignition::msgs::Header* header_;
880  ::ignition::msgs::Pose* pose_;
881  ::ignition::msgs::Axis* axis1_;
882  ::ignition::msgs::Axis* axis2_;
883  ::ignition::msgs::Joint_Gearbox* gearbox_;
884  ::ignition::msgs::Joint_Screw* screw_;
885  ::PROTOBUF_NAMESPACE_ID::uint32 id_;
886  int type_;
887  ::PROTOBUF_NAMESPACE_ID::uint32 parent_id_;
888  ::PROTOBUF_NAMESPACE_ID::uint32 child_id_;
889  double cfm_;
890  double bounce_;
891  double fudge_factor_;
892  double limit_cfm_;
893  double limit_erp_;
894  double suspension_cfm_;
895  double suspension_erp_;
896  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
897  friend struct ::TableStruct_ignition_2fmsgs_2fjoint_2eproto;
898 };
899 // ===================================================================
900 
901 
902 // ===================================================================
903 
904 #ifdef __GNUC__
905  #pragma GCC diagnostic push
906  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
907 #endif // __GNUC__
908 // Joint_Gearbox
909 
910 // string gearbox_reference_body = 1;
911 inline void Joint_Gearbox::clear_gearbox_reference_body() {
912  gearbox_reference_body_.ClearToEmpty();
913 }
914 inline const std::string& Joint_Gearbox::gearbox_reference_body() const {
915  // @@protoc_insertion_point(field_get:ignition.msgs.Joint.Gearbox.gearbox_reference_body)
916  return _internal_gearbox_reference_body();
917 }
918 inline void Joint_Gearbox::set_gearbox_reference_body(const std::string& value) {
919  _internal_set_gearbox_reference_body(value);
920  // @@protoc_insertion_point(field_set:ignition.msgs.Joint.Gearbox.gearbox_reference_body)
921 }
922 inline std::string* Joint_Gearbox::mutable_gearbox_reference_body() {
923  // @@protoc_insertion_point(field_mutable:ignition.msgs.Joint.Gearbox.gearbox_reference_body)
924  return _internal_mutable_gearbox_reference_body();
925 }
926 inline const std::string& Joint_Gearbox::_internal_gearbox_reference_body() const {
927  return gearbox_reference_body_.Get();
928 }
929 inline void Joint_Gearbox::_internal_set_gearbox_reference_body(const std::string& value) {
930 
931  gearbox_reference_body_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
932 }
933 inline void Joint_Gearbox::set_gearbox_reference_body(std::string&& value) {
934 
935  gearbox_reference_body_.Set(
936  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
937  // @@protoc_insertion_point(field_set_rvalue:ignition.msgs.Joint.Gearbox.gearbox_reference_body)
938 }
939 inline void Joint_Gearbox::set_gearbox_reference_body(const char* value) {
940  GOOGLE_DCHECK(value != nullptr);
941 
942  gearbox_reference_body_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
943  // @@protoc_insertion_point(field_set_char:ignition.msgs.Joint.Gearbox.gearbox_reference_body)
944 }
945 inline void Joint_Gearbox::set_gearbox_reference_body(const char* value,
946  size_t size) {
947 
948  gearbox_reference_body_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
949  reinterpret_cast<const char*>(value), size), GetArena());
950  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.Joint.Gearbox.gearbox_reference_body)
951 }
952 inline std::string* Joint_Gearbox::_internal_mutable_gearbox_reference_body() {
953 
954  return gearbox_reference_body_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
955 }
956 inline std::string* Joint_Gearbox::release_gearbox_reference_body() {
957  // @@protoc_insertion_point(field_release:ignition.msgs.Joint.Gearbox.gearbox_reference_body)
958  return gearbox_reference_body_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
959 }
960 inline void Joint_Gearbox::set_allocated_gearbox_reference_body(std::string* gearbox_reference_body) {
961  if (gearbox_reference_body != nullptr) {
962 
963  } else {
964 
965  }
966  gearbox_reference_body_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), gearbox_reference_body,
967  GetArena());
968  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Joint.Gearbox.gearbox_reference_body)
969 }
970 
971 // double gearbox_ratio = 2;
972 inline void Joint_Gearbox::clear_gearbox_ratio() {
973  gearbox_ratio_ = 0;
974 }
975 inline double Joint_Gearbox::_internal_gearbox_ratio() const {
976  return gearbox_ratio_;
977 }
978 inline double Joint_Gearbox::gearbox_ratio() const {
979  // @@protoc_insertion_point(field_get:ignition.msgs.Joint.Gearbox.gearbox_ratio)
980  return _internal_gearbox_ratio();
981 }
982 inline void Joint_Gearbox::_internal_set_gearbox_ratio(double value) {
983 
984  gearbox_ratio_ = value;
985 }
986 inline void Joint_Gearbox::set_gearbox_ratio(double value) {
987  _internal_set_gearbox_ratio(value);
988  // @@protoc_insertion_point(field_set:ignition.msgs.Joint.Gearbox.gearbox_ratio)
989 }
990 
991 // -------------------------------------------------------------------
992 
993 // Joint_Screw
994 
995 // double thread_pitch = 1;
996 inline void Joint_Screw::clear_thread_pitch() {
997  thread_pitch_ = 0;
998 }
999 inline double Joint_Screw::_internal_thread_pitch() const {
1000  return thread_pitch_;
1001 }
1002 inline double Joint_Screw::thread_pitch() const {
1003  // @@protoc_insertion_point(field_get:ignition.msgs.Joint.Screw.thread_pitch)
1004  return _internal_thread_pitch();
1005 }
1006 inline void Joint_Screw::_internal_set_thread_pitch(double value) {
1007 
1008  thread_pitch_ = value;
1009 }
1010 inline void Joint_Screw::set_thread_pitch(double value) {
1011  _internal_set_thread_pitch(value);
1012  // @@protoc_insertion_point(field_set:ignition.msgs.Joint.Screw.thread_pitch)
1013 }
1014 
1015 // -------------------------------------------------------------------
1016 
1017 // Joint
1018 
1019 // .ignition.msgs.Header header = 1;
1020 inline bool Joint::_internal_has_header() const {
1021  return this != internal_default_instance() && header_ != nullptr;
1022 }
1023 inline bool Joint::has_header() const {
1024  return _internal_has_header();
1025 }
1026 inline const ::ignition::msgs::Header& Joint::_internal_header() const {
1027  const ::ignition::msgs::Header* p = header_;
1028  return p != nullptr ? *p : reinterpret_cast<const ::ignition::msgs::Header&>(
1030 }
1031 inline const ::ignition::msgs::Header& Joint::header() const {
1032  // @@protoc_insertion_point(field_get:ignition.msgs.Joint.header)
1033  return _internal_header();
1034 }
1035 inline void Joint::unsafe_arena_set_allocated_header(
1036  ::ignition::msgs::Header* header) {
1037  if (GetArena() == nullptr) {
1038  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(header_);
1039  }
1040  header_ = header;
1041  if (header) {
1042 
1043  } else {
1044 
1045  }
1046  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.Joint.header)
1047 }
1048 inline ::ignition::msgs::Header* Joint::release_header() {
1049 
1050  ::ignition::msgs::Header* temp = header_;
1051  header_ = nullptr;
1052  if (GetArena() != nullptr) {
1053  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1054  }
1055  return temp;
1056 }
1057 inline ::ignition::msgs::Header* Joint::unsafe_arena_release_header() {
1058  // @@protoc_insertion_point(field_release:ignition.msgs.Joint.header)
1059 
1060  ::ignition::msgs::Header* temp = header_;
1061  header_ = nullptr;
1062  return temp;
1063 }
1064 inline ::ignition::msgs::Header* Joint::_internal_mutable_header() {
1065 
1066  if (header_ == nullptr) {
1067  auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArena());
1068  header_ = p;
1069  }
1070  return header_;
1071 }
1072 inline ::ignition::msgs::Header* Joint::mutable_header() {
1073  // @@protoc_insertion_point(field_mutable:ignition.msgs.Joint.header)
1074  return _internal_mutable_header();
1075 }
1076 inline void Joint::set_allocated_header(::ignition::msgs::Header* header) {
1077  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
1078  if (message_arena == nullptr) {
1079  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(header_);
1080  }
1081  if (header) {
1082  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1083  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(header)->GetArena();
1084  if (message_arena != submessage_arena) {
1085  header = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1086  message_arena, header, submessage_arena);
1087  }
1088 
1089  } else {
1090 
1091  }
1092  header_ = header;
1093  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Joint.header)
1094 }
1095 
1096 // string name = 2;
1097 inline void Joint::clear_name() {
1098  name_.ClearToEmpty();
1099 }
1100 inline const std::string& Joint::name() const {
1101  // @@protoc_insertion_point(field_get:ignition.msgs.Joint.name)
1102  return _internal_name();
1103 }
1104 inline void Joint::set_name(const std::string& value) {
1105  _internal_set_name(value);
1106  // @@protoc_insertion_point(field_set:ignition.msgs.Joint.name)
1107 }
1108 inline std::string* Joint::mutable_name() {
1109  // @@protoc_insertion_point(field_mutable:ignition.msgs.Joint.name)
1110  return _internal_mutable_name();
1111 }
1112 inline const std::string& Joint::_internal_name() const {
1113  return name_.Get();
1114 }
1115 inline void Joint::_internal_set_name(const std::string& value) {
1116 
1117  name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
1118 }
1119 inline void Joint::set_name(std::string&& value) {
1120 
1121  name_.Set(
1122  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
1123  // @@protoc_insertion_point(field_set_rvalue:ignition.msgs.Joint.name)
1124 }
1125 inline void Joint::set_name(const char* value) {
1126  GOOGLE_DCHECK(value != nullptr);
1127 
1128  name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
1129  // @@protoc_insertion_point(field_set_char:ignition.msgs.Joint.name)
1130 }
1131 inline void Joint::set_name(const char* value,
1132  size_t size) {
1133 
1134  name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
1135  reinterpret_cast<const char*>(value), size), GetArena());
1136  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.Joint.name)
1137 }
1138 inline std::string* Joint::_internal_mutable_name() {
1139 
1140  return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
1141 }
1142 inline std::string* Joint::release_name() {
1143  // @@protoc_insertion_point(field_release:ignition.msgs.Joint.name)
1144  return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
1145 }
1146 inline void Joint::set_allocated_name(std::string* name) {
1147  if (name != nullptr) {
1148 
1149  } else {
1150 
1151  }
1152  name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name,
1153  GetArena());
1154  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Joint.name)
1155 }
1156 
1157 // uint32 id = 3;
1158 inline void Joint::clear_id() {
1159  id_ = 0u;
1160 }
1161 inline ::PROTOBUF_NAMESPACE_ID::uint32 Joint::_internal_id() const {
1162  return id_;
1163 }
1164 inline ::PROTOBUF_NAMESPACE_ID::uint32 Joint::id() const {
1165  // @@protoc_insertion_point(field_get:ignition.msgs.Joint.id)
1166  return _internal_id();
1167 }
1168 inline void Joint::_internal_set_id(::PROTOBUF_NAMESPACE_ID::uint32 value) {
1169 
1170  id_ = value;
1171 }
1172 inline void Joint::set_id(::PROTOBUF_NAMESPACE_ID::uint32 value) {
1173  _internal_set_id(value);
1174  // @@protoc_insertion_point(field_set:ignition.msgs.Joint.id)
1175 }
1176 
1177 // .ignition.msgs.Joint.Type type = 4;
1178 inline void Joint::clear_type() {
1179  type_ = 0;
1180 }
1181 inline ::ignition::msgs::Joint_Type Joint::_internal_type() const {
1182  return static_cast< ::ignition::msgs::Joint_Type >(type_);
1183 }
1184 inline ::ignition::msgs::Joint_Type Joint::type() const {
1185  // @@protoc_insertion_point(field_get:ignition.msgs.Joint.type)
1186  return _internal_type();
1187 }
1188 inline void Joint::_internal_set_type(::ignition::msgs::Joint_Type value) {
1189 
1190  type_ = value;
1191 }
1192 inline void Joint::set_type(::ignition::msgs::Joint_Type value) {
1193  _internal_set_type(value);
1194  // @@protoc_insertion_point(field_set:ignition.msgs.Joint.type)
1195 }
1196 
1197 // string parent = 5;
1198 inline void Joint::clear_parent() {
1199  parent_.ClearToEmpty();
1200 }
1201 inline const std::string& Joint::parent() const {
1202  // @@protoc_insertion_point(field_get:ignition.msgs.Joint.parent)
1203  return _internal_parent();
1204 }
1205 inline void Joint::set_parent(const std::string& value) {
1206  _internal_set_parent(value);
1207  // @@protoc_insertion_point(field_set:ignition.msgs.Joint.parent)
1208 }
1209 inline std::string* Joint::mutable_parent() {
1210  // @@protoc_insertion_point(field_mutable:ignition.msgs.Joint.parent)
1211  return _internal_mutable_parent();
1212 }
1213 inline const std::string& Joint::_internal_parent() const {
1214  return parent_.Get();
1215 }
1216 inline void Joint::_internal_set_parent(const std::string& value) {
1217 
1218  parent_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
1219 }
1220 inline void Joint::set_parent(std::string&& value) {
1221 
1222  parent_.Set(
1223  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
1224  // @@protoc_insertion_point(field_set_rvalue:ignition.msgs.Joint.parent)
1225 }
1226 inline void Joint::set_parent(const char* value) {
1227  GOOGLE_DCHECK(value != nullptr);
1228 
1229  parent_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
1230  // @@protoc_insertion_point(field_set_char:ignition.msgs.Joint.parent)
1231 }
1232 inline void Joint::set_parent(const char* value,
1233  size_t size) {
1234 
1235  parent_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
1236  reinterpret_cast<const char*>(value), size), GetArena());
1237  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.Joint.parent)
1238 }
1239 inline std::string* Joint::_internal_mutable_parent() {
1240 
1241  return parent_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
1242 }
1243 inline std::string* Joint::release_parent() {
1244  // @@protoc_insertion_point(field_release:ignition.msgs.Joint.parent)
1245  return parent_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
1246 }
1247 inline void Joint::set_allocated_parent(std::string* parent) {
1248  if (parent != nullptr) {
1249 
1250  } else {
1251 
1252  }
1253  parent_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), parent,
1254  GetArena());
1255  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Joint.parent)
1256 }
1257 
1258 // uint32 parent_id = 6;
1259 inline void Joint::clear_parent_id() {
1260  parent_id_ = 0u;
1261 }
1262 inline ::PROTOBUF_NAMESPACE_ID::uint32 Joint::_internal_parent_id() const {
1263  return parent_id_;
1264 }
1265 inline ::PROTOBUF_NAMESPACE_ID::uint32 Joint::parent_id() const {
1266  // @@protoc_insertion_point(field_get:ignition.msgs.Joint.parent_id)
1267  return _internal_parent_id();
1268 }
1269 inline void Joint::_internal_set_parent_id(::PROTOBUF_NAMESPACE_ID::uint32 value) {
1270 
1271  parent_id_ = value;
1272 }
1273 inline void Joint::set_parent_id(::PROTOBUF_NAMESPACE_ID::uint32 value) {
1274  _internal_set_parent_id(value);
1275  // @@protoc_insertion_point(field_set:ignition.msgs.Joint.parent_id)
1276 }
1277 
1278 // string child = 7;
1279 inline void Joint::clear_child() {
1280  child_.ClearToEmpty();
1281 }
1282 inline const std::string& Joint::child() const {
1283  // @@protoc_insertion_point(field_get:ignition.msgs.Joint.child)
1284  return _internal_child();
1285 }
1286 inline void Joint::set_child(const std::string& value) {
1287  _internal_set_child(value);
1288  // @@protoc_insertion_point(field_set:ignition.msgs.Joint.child)
1289 }
1290 inline std::string* Joint::mutable_child() {
1291  // @@protoc_insertion_point(field_mutable:ignition.msgs.Joint.child)
1292  return _internal_mutable_child();
1293 }
1294 inline const std::string& Joint::_internal_child() const {
1295  return child_.Get();
1296 }
1297 inline void Joint::_internal_set_child(const std::string& value) {
1298 
1299  child_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
1300 }
1301 inline void Joint::set_child(std::string&& value) {
1302 
1303  child_.Set(
1304  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
1305  // @@protoc_insertion_point(field_set_rvalue:ignition.msgs.Joint.child)
1306 }
1307 inline void Joint::set_child(const char* value) {
1308  GOOGLE_DCHECK(value != nullptr);
1309 
1310  child_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
1311  // @@protoc_insertion_point(field_set_char:ignition.msgs.Joint.child)
1312 }
1313 inline void Joint::set_child(const char* value,
1314  size_t size) {
1315 
1316  child_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
1317  reinterpret_cast<const char*>(value), size), GetArena());
1318  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.Joint.child)
1319 }
1320 inline std::string* Joint::_internal_mutable_child() {
1321 
1322  return child_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
1323 }
1324 inline std::string* Joint::release_child() {
1325  // @@protoc_insertion_point(field_release:ignition.msgs.Joint.child)
1326  return child_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
1327 }
1328 inline void Joint::set_allocated_child(std::string* child) {
1329  if (child != nullptr) {
1330 
1331  } else {
1332 
1333  }
1334  child_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), child,
1335  GetArena());
1336  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Joint.child)
1337 }
1338 
1339 // uint32 child_id = 8;
1340 inline void Joint::clear_child_id() {
1341  child_id_ = 0u;
1342 }
1343 inline ::PROTOBUF_NAMESPACE_ID::uint32 Joint::_internal_child_id() const {
1344  return child_id_;
1345 }
1346 inline ::PROTOBUF_NAMESPACE_ID::uint32 Joint::child_id() const {
1347  // @@protoc_insertion_point(field_get:ignition.msgs.Joint.child_id)
1348  return _internal_child_id();
1349 }
1350 inline void Joint::_internal_set_child_id(::PROTOBUF_NAMESPACE_ID::uint32 value) {
1351 
1352  child_id_ = value;
1353 }
1354 inline void Joint::set_child_id(::PROTOBUF_NAMESPACE_ID::uint32 value) {
1355  _internal_set_child_id(value);
1356  // @@protoc_insertion_point(field_set:ignition.msgs.Joint.child_id)
1357 }
1358 
1359 // .ignition.msgs.Pose pose = 9;
1360 inline bool Joint::_internal_has_pose() const {
1361  return this != internal_default_instance() && pose_ != nullptr;
1362 }
1363 inline bool Joint::has_pose() const {
1364  return _internal_has_pose();
1365 }
1366 inline const ::ignition::msgs::Pose& Joint::_internal_pose() const {
1367  const ::ignition::msgs::Pose* p = pose_;
1368  return p != nullptr ? *p : reinterpret_cast<const ::ignition::msgs::Pose&>(
1370 }
1371 inline const ::ignition::msgs::Pose& Joint::pose() const {
1372  // @@protoc_insertion_point(field_get:ignition.msgs.Joint.pose)
1373  return _internal_pose();
1374 }
1375 inline void Joint::unsafe_arena_set_allocated_pose(
1376  ::ignition::msgs::Pose* pose) {
1377  if (GetArena() == nullptr) {
1378  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(pose_);
1379  }
1380  pose_ = pose;
1381  if (pose) {
1382 
1383  } else {
1384 
1385  }
1386  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.Joint.pose)
1387 }
1388 inline ::ignition::msgs::Pose* Joint::release_pose() {
1389 
1390  ::ignition::msgs::Pose* temp = pose_;
1391  pose_ = nullptr;
1392  if (GetArena() != nullptr) {
1393  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1394  }
1395  return temp;
1396 }
1397 inline ::ignition::msgs::Pose* Joint::unsafe_arena_release_pose() {
1398  // @@protoc_insertion_point(field_release:ignition.msgs.Joint.pose)
1399 
1400  ::ignition::msgs::Pose* temp = pose_;
1401  pose_ = nullptr;
1402  return temp;
1403 }
1404 inline ::ignition::msgs::Pose* Joint::_internal_mutable_pose() {
1405 
1406  if (pose_ == nullptr) {
1407  auto* p = CreateMaybeMessage<::ignition::msgs::Pose>(GetArena());
1408  pose_ = p;
1409  }
1410  return pose_;
1411 }
1412 inline ::ignition::msgs::Pose* Joint::mutable_pose() {
1413  // @@protoc_insertion_point(field_mutable:ignition.msgs.Joint.pose)
1414  return _internal_mutable_pose();
1415 }
1416 inline void Joint::set_allocated_pose(::ignition::msgs::Pose* pose) {
1417  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
1418  if (message_arena == nullptr) {
1419  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(pose_);
1420  }
1421  if (pose) {
1422  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1423  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(pose)->GetArena();
1424  if (message_arena != submessage_arena) {
1425  pose = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1426  message_arena, pose, submessage_arena);
1427  }
1428 
1429  } else {
1430 
1431  }
1432  pose_ = pose;
1433  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Joint.pose)
1434 }
1435 
1436 // .ignition.msgs.Axis axis1 = 10;
1437 inline bool Joint::_internal_has_axis1() const {
1438  return this != internal_default_instance() && axis1_ != nullptr;
1439 }
1440 inline bool Joint::has_axis1() const {
1441  return _internal_has_axis1();
1442 }
1443 inline const ::ignition::msgs::Axis& Joint::_internal_axis1() const {
1444  const ::ignition::msgs::Axis* p = axis1_;
1445  return p != nullptr ? *p : reinterpret_cast<const ::ignition::msgs::Axis&>(
1447 }
1448 inline const ::ignition::msgs::Axis& Joint::axis1() const {
1449  // @@protoc_insertion_point(field_get:ignition.msgs.Joint.axis1)
1450  return _internal_axis1();
1451 }
1452 inline void Joint::unsafe_arena_set_allocated_axis1(
1453  ::ignition::msgs::Axis* axis1) {
1454  if (GetArena() == nullptr) {
1455  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(axis1_);
1456  }
1457  axis1_ = axis1;
1458  if (axis1) {
1459 
1460  } else {
1461 
1462  }
1463  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.Joint.axis1)
1464 }
1465 inline ::ignition::msgs::Axis* Joint::release_axis1() {
1466 
1467  ::ignition::msgs::Axis* temp = axis1_;
1468  axis1_ = nullptr;
1469  if (GetArena() != nullptr) {
1470  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1471  }
1472  return temp;
1473 }
1474 inline ::ignition::msgs::Axis* Joint::unsafe_arena_release_axis1() {
1475  // @@protoc_insertion_point(field_release:ignition.msgs.Joint.axis1)
1476 
1477  ::ignition::msgs::Axis* temp = axis1_;
1478  axis1_ = nullptr;
1479  return temp;
1480 }
1481 inline ::ignition::msgs::Axis* Joint::_internal_mutable_axis1() {
1482 
1483  if (axis1_ == nullptr) {
1484  auto* p = CreateMaybeMessage<::ignition::msgs::Axis>(GetArena());
1485  axis1_ = p;
1486  }
1487  return axis1_;
1488 }
1489 inline ::ignition::msgs::Axis* Joint::mutable_axis1() {
1490  // @@protoc_insertion_point(field_mutable:ignition.msgs.Joint.axis1)
1491  return _internal_mutable_axis1();
1492 }
1493 inline void Joint::set_allocated_axis1(::ignition::msgs::Axis* axis1) {
1494  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
1495  if (message_arena == nullptr) {
1496  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(axis1_);
1497  }
1498  if (axis1) {
1499  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1500  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(axis1)->GetArena();
1501  if (message_arena != submessage_arena) {
1502  axis1 = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1503  message_arena, axis1, submessage_arena);
1504  }
1505 
1506  } else {
1507 
1508  }
1509  axis1_ = axis1;
1510  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Joint.axis1)
1511 }
1512 
1513 // .ignition.msgs.Axis axis2 = 11;
1514 inline bool Joint::_internal_has_axis2() const {
1515  return this != internal_default_instance() && axis2_ != nullptr;
1516 }
1517 inline bool Joint::has_axis2() const {
1518  return _internal_has_axis2();
1519 }
1520 inline const ::ignition::msgs::Axis& Joint::_internal_axis2() const {
1521  const ::ignition::msgs::Axis* p = axis2_;
1522  return p != nullptr ? *p : reinterpret_cast<const ::ignition::msgs::Axis&>(
1524 }
1525 inline const ::ignition::msgs::Axis& Joint::axis2() const {
1526  // @@protoc_insertion_point(field_get:ignition.msgs.Joint.axis2)
1527  return _internal_axis2();
1528 }
1529 inline void Joint::unsafe_arena_set_allocated_axis2(
1530  ::ignition::msgs::Axis* axis2) {
1531  if (GetArena() == nullptr) {
1532  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(axis2_);
1533  }
1534  axis2_ = axis2;
1535  if (axis2) {
1536 
1537  } else {
1538 
1539  }
1540  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.Joint.axis2)
1541 }
1542 inline ::ignition::msgs::Axis* Joint::release_axis2() {
1543 
1544  ::ignition::msgs::Axis* temp = axis2_;
1545  axis2_ = nullptr;
1546  if (GetArena() != nullptr) {
1547  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1548  }
1549  return temp;
1550 }
1551 inline ::ignition::msgs::Axis* Joint::unsafe_arena_release_axis2() {
1552  // @@protoc_insertion_point(field_release:ignition.msgs.Joint.axis2)
1553 
1554  ::ignition::msgs::Axis* temp = axis2_;
1555  axis2_ = nullptr;
1556  return temp;
1557 }
1558 inline ::ignition::msgs::Axis* Joint::_internal_mutable_axis2() {
1559 
1560  if (axis2_ == nullptr) {
1561  auto* p = CreateMaybeMessage<::ignition::msgs::Axis>(GetArena());
1562  axis2_ = p;
1563  }
1564  return axis2_;
1565 }
1566 inline ::ignition::msgs::Axis* Joint::mutable_axis2() {
1567  // @@protoc_insertion_point(field_mutable:ignition.msgs.Joint.axis2)
1568  return _internal_mutable_axis2();
1569 }
1570 inline void Joint::set_allocated_axis2(::ignition::msgs::Axis* axis2) {
1571  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
1572  if (message_arena == nullptr) {
1573  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(axis2_);
1574  }
1575  if (axis2) {
1576  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1577  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(axis2)->GetArena();
1578  if (message_arena != submessage_arena) {
1579  axis2 = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1580  message_arena, axis2, submessage_arena);
1581  }
1582 
1583  } else {
1584 
1585  }
1586  axis2_ = axis2;
1587  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Joint.axis2)
1588 }
1589 
1590 // double cfm = 12;
1591 inline void Joint::clear_cfm() {
1592  cfm_ = 0;
1593 }
1594 inline double Joint::_internal_cfm() const {
1595  return cfm_;
1596 }
1597 inline double Joint::cfm() const {
1598  // @@protoc_insertion_point(field_get:ignition.msgs.Joint.cfm)
1599  return _internal_cfm();
1600 }
1601 inline void Joint::_internal_set_cfm(double value) {
1602 
1603  cfm_ = value;
1604 }
1605 inline void Joint::set_cfm(double value) {
1606  _internal_set_cfm(value);
1607  // @@protoc_insertion_point(field_set:ignition.msgs.Joint.cfm)
1608 }
1609 
1610 // double bounce = 13;
1611 inline void Joint::clear_bounce() {
1612  bounce_ = 0;
1613 }
1614 inline double Joint::_internal_bounce() const {
1615  return bounce_;
1616 }
1617 inline double Joint::bounce() const {
1618  // @@protoc_insertion_point(field_get:ignition.msgs.Joint.bounce)
1619  return _internal_bounce();
1620 }
1621 inline void Joint::_internal_set_bounce(double value) {
1622 
1623  bounce_ = value;
1624 }
1625 inline void Joint::set_bounce(double value) {
1626  _internal_set_bounce(value);
1627  // @@protoc_insertion_point(field_set:ignition.msgs.Joint.bounce)
1628 }
1629 
1630 // double fudge_factor = 14;
1631 inline void Joint::clear_fudge_factor() {
1632  fudge_factor_ = 0;
1633 }
1634 inline double Joint::_internal_fudge_factor() const {
1635  return fudge_factor_;
1636 }
1637 inline double Joint::fudge_factor() const {
1638  // @@protoc_insertion_point(field_get:ignition.msgs.Joint.fudge_factor)
1639  return _internal_fudge_factor();
1640 }
1641 inline void Joint::_internal_set_fudge_factor(double value) {
1642 
1643  fudge_factor_ = value;
1644 }
1645 inline void Joint::set_fudge_factor(double value) {
1646  _internal_set_fudge_factor(value);
1647  // @@protoc_insertion_point(field_set:ignition.msgs.Joint.fudge_factor)
1648 }
1649 
1650 // double limit_cfm = 15;
1651 inline void Joint::clear_limit_cfm() {
1652  limit_cfm_ = 0;
1653 }
1654 inline double Joint::_internal_limit_cfm() const {
1655  return limit_cfm_;
1656 }
1657 inline double Joint::limit_cfm() const {
1658  // @@protoc_insertion_point(field_get:ignition.msgs.Joint.limit_cfm)
1659  return _internal_limit_cfm();
1660 }
1661 inline void Joint::_internal_set_limit_cfm(double value) {
1662 
1663  limit_cfm_ = value;
1664 }
1665 inline void Joint::set_limit_cfm(double value) {
1666  _internal_set_limit_cfm(value);
1667  // @@protoc_insertion_point(field_set:ignition.msgs.Joint.limit_cfm)
1668 }
1669 
1670 // double limit_erp = 16;
1671 inline void Joint::clear_limit_erp() {
1672  limit_erp_ = 0;
1673 }
1674 inline double Joint::_internal_limit_erp() const {
1675  return limit_erp_;
1676 }
1677 inline double Joint::limit_erp() const {
1678  // @@protoc_insertion_point(field_get:ignition.msgs.Joint.limit_erp)
1679  return _internal_limit_erp();
1680 }
1681 inline void Joint::_internal_set_limit_erp(double value) {
1682 
1683  limit_erp_ = value;
1684 }
1685 inline void Joint::set_limit_erp(double value) {
1686  _internal_set_limit_erp(value);
1687  // @@protoc_insertion_point(field_set:ignition.msgs.Joint.limit_erp)
1688 }
1689 
1690 // double suspension_cfm = 17;
1691 inline void Joint::clear_suspension_cfm() {
1692  suspension_cfm_ = 0;
1693 }
1694 inline double Joint::_internal_suspension_cfm() const {
1695  return suspension_cfm_;
1696 }
1697 inline double Joint::suspension_cfm() const {
1698  // @@protoc_insertion_point(field_get:ignition.msgs.Joint.suspension_cfm)
1699  return _internal_suspension_cfm();
1700 }
1701 inline void Joint::_internal_set_suspension_cfm(double value) {
1702 
1703  suspension_cfm_ = value;
1704 }
1705 inline void Joint::set_suspension_cfm(double value) {
1706  _internal_set_suspension_cfm(value);
1707  // @@protoc_insertion_point(field_set:ignition.msgs.Joint.suspension_cfm)
1708 }
1709 
1710 // double suspension_erp = 18;
1711 inline void Joint::clear_suspension_erp() {
1712  suspension_erp_ = 0;
1713 }
1714 inline double Joint::_internal_suspension_erp() const {
1715  return suspension_erp_;
1716 }
1717 inline double Joint::suspension_erp() const {
1718  // @@protoc_insertion_point(field_get:ignition.msgs.Joint.suspension_erp)
1719  return _internal_suspension_erp();
1720 }
1721 inline void Joint::_internal_set_suspension_erp(double value) {
1722 
1723  suspension_erp_ = value;
1724 }
1725 inline void Joint::set_suspension_erp(double value) {
1726  _internal_set_suspension_erp(value);
1727  // @@protoc_insertion_point(field_set:ignition.msgs.Joint.suspension_erp)
1728 }
1729 
1730 // .ignition.msgs.Joint.Gearbox gearbox = 19;
1731 inline bool Joint::_internal_has_gearbox() const {
1732  return this != internal_default_instance() && gearbox_ != nullptr;
1733 }
1734 inline bool Joint::has_gearbox() const {
1735  return _internal_has_gearbox();
1736 }
1737 inline void Joint::clear_gearbox() {
1738  if (GetArena() == nullptr && gearbox_ != nullptr) {
1739  delete gearbox_;
1740  }
1741  gearbox_ = nullptr;
1742 }
1743 inline const ::ignition::msgs::Joint_Gearbox& Joint::_internal_gearbox() const {
1744  const ::ignition::msgs::Joint_Gearbox* p = gearbox_;
1745  return p != nullptr ? *p : reinterpret_cast<const ::ignition::msgs::Joint_Gearbox&>(
1747 }
1748 inline const ::ignition::msgs::Joint_Gearbox& Joint::gearbox() const {
1749  // @@protoc_insertion_point(field_get:ignition.msgs.Joint.gearbox)
1750  return _internal_gearbox();
1751 }
1752 inline void Joint::unsafe_arena_set_allocated_gearbox(
1753  ::ignition::msgs::Joint_Gearbox* gearbox) {
1754  if (GetArena() == nullptr) {
1755  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(gearbox_);
1756  }
1757  gearbox_ = gearbox;
1758  if (gearbox) {
1759 
1760  } else {
1761 
1762  }
1763  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.Joint.gearbox)
1764 }
1765 inline ::ignition::msgs::Joint_Gearbox* Joint::release_gearbox() {
1766 
1767  ::ignition::msgs::Joint_Gearbox* temp = gearbox_;
1768  gearbox_ = nullptr;
1769  if (GetArena() != nullptr) {
1770  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1771  }
1772  return temp;
1773 }
1774 inline ::ignition::msgs::Joint_Gearbox* Joint::unsafe_arena_release_gearbox() {
1775  // @@protoc_insertion_point(field_release:ignition.msgs.Joint.gearbox)
1776 
1777  ::ignition::msgs::Joint_Gearbox* temp = gearbox_;
1778  gearbox_ = nullptr;
1779  return temp;
1780 }
1781 inline ::ignition::msgs::Joint_Gearbox* Joint::_internal_mutable_gearbox() {
1782 
1783  if (gearbox_ == nullptr) {
1784  auto* p = CreateMaybeMessage<::ignition::msgs::Joint_Gearbox>(GetArena());
1785  gearbox_ = p;
1786  }
1787  return gearbox_;
1788 }
1789 inline ::ignition::msgs::Joint_Gearbox* Joint::mutable_gearbox() {
1790  // @@protoc_insertion_point(field_mutable:ignition.msgs.Joint.gearbox)
1791  return _internal_mutable_gearbox();
1792 }
1793 inline void Joint::set_allocated_gearbox(::ignition::msgs::Joint_Gearbox* gearbox) {
1794  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
1795  if (message_arena == nullptr) {
1796  delete gearbox_;
1797  }
1798  if (gearbox) {
1799  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1800  ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(gearbox);
1801  if (message_arena != submessage_arena) {
1802  gearbox = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1803  message_arena, gearbox, submessage_arena);
1804  }
1805 
1806  } else {
1807 
1808  }
1809  gearbox_ = gearbox;
1810  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Joint.gearbox)
1811 }
1812 
1813 // .ignition.msgs.Joint.Screw screw = 20;
1814 inline bool Joint::_internal_has_screw() const {
1815  return this != internal_default_instance() && screw_ != nullptr;
1816 }
1817 inline bool Joint::has_screw() const {
1818  return _internal_has_screw();
1819 }
1820 inline void Joint::clear_screw() {
1821  if (GetArena() == nullptr && screw_ != nullptr) {
1822  delete screw_;
1823  }
1824  screw_ = nullptr;
1825 }
1826 inline const ::ignition::msgs::Joint_Screw& Joint::_internal_screw() const {
1827  const ::ignition::msgs::Joint_Screw* p = screw_;
1828  return p != nullptr ? *p : reinterpret_cast<const ::ignition::msgs::Joint_Screw&>(
1830 }
1831 inline const ::ignition::msgs::Joint_Screw& Joint::screw() const {
1832  // @@protoc_insertion_point(field_get:ignition.msgs.Joint.screw)
1833  return _internal_screw();
1834 }
1835 inline void Joint::unsafe_arena_set_allocated_screw(
1836  ::ignition::msgs::Joint_Screw* screw) {
1837  if (GetArena() == nullptr) {
1838  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(screw_);
1839  }
1840  screw_ = screw;
1841  if (screw) {
1842 
1843  } else {
1844 
1845  }
1846  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.Joint.screw)
1847 }
1848 inline ::ignition::msgs::Joint_Screw* Joint::release_screw() {
1849 
1850  ::ignition::msgs::Joint_Screw* temp = screw_;
1851  screw_ = nullptr;
1852  if (GetArena() != nullptr) {
1853  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1854  }
1855  return temp;
1856 }
1857 inline ::ignition::msgs::Joint_Screw* Joint::unsafe_arena_release_screw() {
1858  // @@protoc_insertion_point(field_release:ignition.msgs.Joint.screw)
1859 
1860  ::ignition::msgs::Joint_Screw* temp = screw_;
1861  screw_ = nullptr;
1862  return temp;
1863 }
1864 inline ::ignition::msgs::Joint_Screw* Joint::_internal_mutable_screw() {
1865 
1866  if (screw_ == nullptr) {
1867  auto* p = CreateMaybeMessage<::ignition::msgs::Joint_Screw>(GetArena());
1868  screw_ = p;
1869  }
1870  return screw_;
1871 }
1872 inline ::ignition::msgs::Joint_Screw* Joint::mutable_screw() {
1873  // @@protoc_insertion_point(field_mutable:ignition.msgs.Joint.screw)
1874  return _internal_mutable_screw();
1875 }
1876 inline void Joint::set_allocated_screw(::ignition::msgs::Joint_Screw* screw) {
1877  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
1878  if (message_arena == nullptr) {
1879  delete screw_;
1880  }
1881  if (screw) {
1882  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1883  ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(screw);
1884  if (message_arena != submessage_arena) {
1885  screw = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1886  message_arena, screw, submessage_arena);
1887  }
1888 
1889  } else {
1890 
1891  }
1892  screw_ = screw;
1893  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Joint.screw)
1894 }
1895 
1896 // repeated .ignition.msgs.Sensor sensor = 21;
1897 inline int Joint::_internal_sensor_size() const {
1898  return sensor_.size();
1899 }
1900 inline int Joint::sensor_size() const {
1901  return _internal_sensor_size();
1902 }
1903 inline ::ignition::msgs::Sensor* Joint::mutable_sensor(int index) {
1904  // @@protoc_insertion_point(field_mutable:ignition.msgs.Joint.sensor)
1905  return sensor_.Mutable(index);
1906 }
1907 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Sensor >*
1908 Joint::mutable_sensor() {
1909  // @@protoc_insertion_point(field_mutable_list:ignition.msgs.Joint.sensor)
1910  return &sensor_;
1911 }
1912 inline const ::ignition::msgs::Sensor& Joint::_internal_sensor(int index) const {
1913  return sensor_.Get(index);
1914 }
1915 inline const ::ignition::msgs::Sensor& Joint::sensor(int index) const {
1916  // @@protoc_insertion_point(field_get:ignition.msgs.Joint.sensor)
1917  return _internal_sensor(index);
1918 }
1919 inline ::ignition::msgs::Sensor* Joint::_internal_add_sensor() {
1920  return sensor_.Add();
1921 }
1922 inline ::ignition::msgs::Sensor* Joint::add_sensor() {
1923  // @@protoc_insertion_point(field_add:ignition.msgs.Joint.sensor)
1924  return _internal_add_sensor();
1925 }
1926 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Sensor >&
1927 Joint::sensor() const {
1928  // @@protoc_insertion_point(field_list:ignition.msgs.Joint.sensor)
1929  return sensor_;
1930 }
1931 
1932 #ifdef __GNUC__
1933  #pragma GCC diagnostic pop
1934 #endif // __GNUC__
1935 // -------------------------------------------------------------------
1936 
1937 // -------------------------------------------------------------------
1938 
1939 
1944 // @@protoc_insertion_point(namespace_scope)
1945 
1946 } // namespace msgs
1947 } // namespace ignition
1948 
1949 PROTOBUF_NAMESPACE_OPEN
1950 
1951 template <> struct is_proto_enum< ::ignition::msgs::Joint_Type> : ::std::true_type {};
1952 template <>
1953 inline const EnumDescriptor* GetEnumDescriptor< ::ignition::msgs::Joint_Type>() {
1955 }
1956 
1957 PROTOBUF_NAMESPACE_CLOSE
1958 
1959 #ifdef _MSC_VER
1960 #pragma warning(pop)
1961 #endif
1962 // @@protoc_insertion_point(global_scope)
1963 
1964 #include <google/protobuf/port_undef.inc>
1965 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fjoint_2eproto
Definition: actor.pb.h:98
::ignition::msgs::Axis * release_axis2()
Joint_Screw(Joint_Screw &&from) noexcept
Definition: joint.pb.h:287
void set_parent(const char *value, size_t size)
void Swap(Joint_Screw *other)
Definition: joint.pb.h:326
void set_gearbox_ratio(double value)
void set_parent(const std::string &value)
Joint_Screw(::PROTOBUF_NAMESPACE_ID::Arena *arena)
::PROTOBUF_NAMESPACE_ID::uint32 parent_id() const
::ignition::msgs::Joint_Screw * unsafe_arena_release_screw()
::ignition::msgs::Pose * release_pose()
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: joint.pb.h:157
void set_allocated_parent(std::string *parent)
::ignition::msgs::Joint_Gearbox * mutable_gearbox()
Joint_Screw()
Definition: joint.pb.h:283
Joint_Gearbox * New() const final
Definition: joint.pb.h:188
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Sensor > * mutable_sensor()
Joint & operator=(Joint &&from) noexcept
Definition: joint.pb.h:432
::ignition::msgs::Joint_Gearbox * release_gearbox()
Joint_Gearbox(Joint_Gearbox &&from) noexcept
Definition: joint.pb.h:133
void set_limit_cfm(double value)
static const std::string & Type_Name(T enum_t_value)
Definition: joint.pb.h:559
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Sensor > & sensor() const
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void unsafe_arena_set_allocated_pose(::ignition::msgs::Pose *pose)
void set_child(const char *value, size_t size)
void set_allocated_gearbox_reference_body(std::string *gearbox_reference_body)
::ignition::msgs::Header * release_header()
::ignition::msgs::Axis * unsafe_arena_release_axis1()
void set_name(const char *value, size_t size)
Joint_Screw & operator=(const Joint_Screw &from)
Definition: joint.pb.h:292
Joint(::PROTOBUF_NAMESPACE_ID::Arena *arena)
Joint_Gearbox(const Joint_Gearbox &from)
Joint_Gearbox & operator=(const Joint_Gearbox &from)
Definition: joint.pb.h:138
::ignition::msgs::Header * mutable_header()
const ::ignition::msgs::Sensor & sensor(int index) const
void set_cfm(double value)
std::string * mutable_gearbox_reference_body()
::ignition::msgs::Sensor * add_sensor()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: joint.pb.h:151
void unsafe_arena_set_allocated_screw(::ignition::msgs::Joint_Screw *screw)
void set_name(const std::string &value)
void set_gearbox_reference_body(const char *value)
::ignition::msgs::Joint_Gearbox * unsafe_arena_release_gearbox()
void set_id(::PROTOBUF_NAMESPACE_ID::uint32 value)
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * Type_descriptor()
Definition: joint.pb.h:555
void UnsafeArenaSwap(Joint_Screw *other)
Definition: joint.pb.h:334
void CopyFrom(const Joint &from)
Joint(Joint &&from) noexcept
Definition: joint.pb.h:423
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
void CopyFrom(const Joint_Gearbox &from)
Joint_Gearbox()
Definition: joint.pb.h:129
::ignition::msgs::Sensor * mutable_sensor(int index)
void Swap(Joint_Gearbox *other)
Definition: joint.pb.h:172
static const Joint_Gearbox & default_instance()
Joint_Gearbox & operator=(Joint_Gearbox &&from) noexcept
Definition: joint.pb.h:142
static bool Type_IsValid(int value)
Definition: joint.pb.h:545
void set_gearbox_reference_body(const std::string &value)
const std::string & parent() const
static const Joint_Gearbox * internal_default_instance()
Definition: joint.pb.h:162
void set_parent(std::string &&value)
void unsafe_arena_set_allocated_header(::ignition::msgs::Header *header)
void set_parent_id(::PROTOBUF_NAMESPACE_ID::uint32 value)
const std::string & gearbox_reference_body() const
JointAnimation_Joint Joint
Definition: joint_animation.pb.h:373
::ignition::msgs::Joint_Type type() const
Joint_Screw(const Joint_Screw &from)
void MergeFrom(const Joint_Screw &from)
void set_bounce(double value)
void set_allocated_gearbox(::ignition::msgs::Joint_Gearbox *gearbox)
void set_allocated_axis2(::ignition::msgs::Axis *axis2)
void set_child_id(::PROTOBUF_NAMESPACE_ID::uint32 value)
void set_gearbox_reference_body(const char *value, size_t size)
const ::ignition::msgs::Axis & axis2() const
friend void swap(Joint &a, Joint &b)
Definition: joint.pb.h:459
void set_allocated_pose(::ignition::msgs::Pose *pose)
Joint_Screw * New() const final
Definition: joint.pb.h:342
const ::ignition::msgs::Joint_Screw & screw() const
::ignition::msgs::Header * unsafe_arena_release_header()
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
Joint_Gearbox * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: joint.pb.h:192
std::string * release_gearbox_reference_body()
friend void swap(Joint_Gearbox &a, Joint_Gearbox &b)
Definition: joint.pb.h:169
void set_fudge_factor(double value)
void set_suspension_cfm(double value)
Joint_Type Type
Definition: joint.pb.h:528
void set_gearbox_reference_body(std::string &&value)
void set_child(const std::string &value)
friend void swap(Joint_Screw &a, Joint_Screw &b)
Definition: joint.pb.h:323
static bool Type_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Type *value)
Definition: joint.pb.h:565
void set_type(::ignition::msgs::Joint_Type value)
::PROTOBUF_NAMESPACE_ID::uint32 child_id() const
void set_allocated_header(::ignition::msgs::Header *header)
const ::ignition::msgs::Pose & pose() const
Joint * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: joint.pb.h:482
void UnsafeArenaSwap(Joint *other)
Definition: joint.pb.h:470
::ignition::msgs::Pose * unsafe_arena_release_pose()
const ::ignition::msgs::Axis & axis1() const
static const Joint_Screw & default_instance()
void set_allocated_axis1(::ignition::msgs::Axis *axis1)
void set_allocated_screw(::ignition::msgs::Joint_Screw *screw)
::ignition::msgs::Pose * mutable_pose()
static const Joint & default_instance()
::ignition::msgs::Axis * release_axis1()
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
void set_thread_pitch(double value)
const ::ignition::msgs::Joint_Gearbox & gearbox() const
void MergeFrom(const Joint_Gearbox &from)
::PROTOBUF_NAMESPACE_ID::uint32 id() const
void set_parent(const char *value)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: joint.pb.h:154
void set_allocated_child(std::string *child)
void MergeFrom(const Joint &from)
void set_limit_erp(double value)
static const Joint * internal_default_instance()
Definition: joint.pb.h:452
Joint()
Definition: joint.pb.h:419
Joint_Gearbox Gearbox
Definition: joint.pb.h:525
::ignition::msgs::Axis * mutable_axis2()
::ignition::msgs::Joint_Screw * release_screw()
::ignition::msgs::Axis * mutable_axis1()
void unsafe_arena_set_allocated_gearbox(::ignition::msgs::Joint_Gearbox *gearbox)
void set_child(std::string &&value)
const std::string & name() const
const std::string & child() const
void CopyFrom(const Joint_Screw &from)
Joint_Screw * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: joint.pb.h:346
void set_name(const char *value)
void set_name(std::string &&value)
Joint & operator=(const Joint &from)
Definition: joint.pb.h:428
Joint * New() const final
Definition: joint.pb.h:478
void Swap(Joint *other)
Definition: joint.pb.h:462
static const Joint_Screw * internal_default_instance()
Definition: joint.pb.h:316
void set_child(const char *value)
Joint_Screw Screw
Definition: joint.pb.h:526
void set_allocated_name(std::string *name)
void unsafe_arena_set_allocated_axis1(::ignition::msgs::Axis *axis1)
::ignition::msgs::Joint_Screw * mutable_screw()
void UnsafeArenaSwap(Joint_Gearbox *other)
Definition: joint.pb.h:180
Joint_Screw & operator=(Joint_Screw &&from) noexcept
Definition: joint.pb.h:296
const ::ignition::msgs::Header & header() const
void set_suspension_erp(double value)
Joint_Gearbox(::PROTOBUF_NAMESPACE_ID::Arena *arena)
void unsafe_arena_set_allocated_axis2(::ignition::msgs::Axis *axis2)
::ignition::msgs::Axis * unsafe_arena_release_axis2()
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fjoint_2eproto
T max(T... args)
T min(T... args)
constexpr int Joint_Type_Type_ARRAYSIZE
Definition: joint.pb.h:108
IGNITION_MSGS_VISIBLE JointDefaultTypeInternal _Joint_default_instance_
IGNITION_MSGS_VISIBLE AxisDefaultTypeInternal _Axis_default_instance_
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * Joint_Type_descriptor()
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
std::unique_ptr< const Joint > ConstJointUniquePtr
Definition: joint.pb.h:1941
std::shared_ptr< Joint > JointSharedPtr
Definition: joint.pb.h:1942
const std::string & Joint_Type_Name(T enum_t_value)
Definition: joint.pb.h:112
constexpr Joint_Type Joint_Type_Type_MIN
Definition: joint.pb.h:106
IGNITION_MSGS_VISIBLE PoseDefaultTypeInternal _Pose_default_instance_
Joint_Type
Definition: joint.pb.h:93
@ Joint_Type_SCREW
Definition: joint.pb.h:99
@ Joint_Type_PRISMATIC
Definition: joint.pb.h:96
@ Joint_Type_UNIVERSAL
Definition: joint.pb.h:97
@ Joint_Type_Joint_Type_INT_MAX_SENTINEL_DO_NOT_USE_
Definition: joint.pb.h:103
@ Joint_Type_FIXED
Definition: joint.pb.h:101
@ Joint_Type_REVOLUTE
Definition: joint.pb.h:94
@ Joint_Type_GEARBOX
Definition: joint.pb.h:100
@ Joint_Type_Joint_Type_INT_MIN_SENTINEL_DO_NOT_USE_
Definition: joint.pb.h:102
@ Joint_Type_REVOLUTE2
Definition: joint.pb.h:95
@ Joint_Type_BALL
Definition: joint.pb.h:98
bool Joint_Type_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Joint_Type *value)
Definition: joint.pb.h:119
IGNITION_MSGS_VISIBLE Joint_ScrewDefaultTypeInternal _Joint_Screw_default_instance_
std::unique_ptr< Joint > JointUniquePtr
Definition: joint.pb.h:1940
Atmosphere_Type
Definition: atmosphere.pb.h:82
IGNITION_MSGS_VISIBLE bool Joint_Type_IsValid(int value)
constexpr Joint_Type Joint_Type_Type_MAX
Definition: joint.pb.h:107
IGNITION_MSGS_VISIBLE Joint_GearboxDefaultTypeInternal _Joint_Gearbox_default_instance_
std::shared_ptr< const Joint > ConstJointSharedPtr
Definition: joint.pb.h:1943
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[3] PROTOBUF_SECTION_VARIABLE(protodesc_cold)