Gazebo Msgs

API Reference

9.5.1
friction.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: gz/msgs/friction.proto
3 
4 #ifndef PROTOBUF_INCLUDED_gz_2fmsgs_2ffriction_2eproto
5 #define PROTOBUF_INCLUDED_gz_2fmsgs_2ffriction_2eproto
6 
7 #include <string>
8 
9 #include <google/protobuf/stubs/common.h>
10 
11 #if GOOGLE_PROTOBUF_VERSION < 3006001
12 #error This file was generated by a newer version of protoc which is
13 #error incompatible with your Protocol Buffer headers. Please update
14 #error your headers.
15 #endif
16 #if 3006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
17 #error This file was generated by an older version of protoc which is
18 #error incompatible with your Protocol Buffer headers. Please
19 #error regenerate this file with a newer version of protoc.
20 #endif
21 
22 #include <google/protobuf/io/coded_stream.h>
23 #include <google/protobuf/arena.h>
24 #include <google/protobuf/arenastring.h>
25 #include <google/protobuf/generated_message_table_driven.h>
26 #include <google/protobuf/generated_message_util.h>
27 #include <google/protobuf/inlined_string_field.h>
28 #include <google/protobuf/metadata.h>
29 #include <google/protobuf/message.h>
30 #include <google/protobuf/repeated_field.h> // IWYU pragma: export
31 #include <google/protobuf/extension_set.h> // IWYU pragma: export
32 #include <google/protobuf/unknown_field_set.h>
33 #include "gz/msgs/vector3d.pb.h"
34 #include "gz/msgs/header.pb.h"
35 // @@protoc_insertion_point(includes)
36 #define PROTOBUF_INTERNAL_EXPORT_protobuf_gz_2fmsgs_2ffriction_2eproto GZ_MSGS_VISIBLE
37 
39 // Internal implementation detail -- do not use these members.
40 struct GZ_MSGS_VISIBLE TableStruct {
41  static const ::google::protobuf::internal::ParseTableField entries[];
42  static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
43  static const ::google::protobuf::internal::ParseTable schema[3];
44  static const ::google::protobuf::internal::FieldMetadata field_metadata[];
45  static const ::google::protobuf::internal::SerializationTable serialization_table[];
46  static const ::google::protobuf::uint32 offsets[];
47 };
48 void GZ_MSGS_VISIBLE AddDescriptors();
49 } // namespace protobuf_gz_2fmsgs_2ffriction_2eproto
50 namespace gz {
51 namespace msgs {
52 class Friction;
53 class FrictionDefaultTypeInternal;
54 GZ_MSGS_VISIBLE extern FrictionDefaultTypeInternal _Friction_default_instance_;
55 class Friction_Torsional;
56 class Friction_TorsionalDefaultTypeInternal;
57 GZ_MSGS_VISIBLE extern Friction_TorsionalDefaultTypeInternal _Friction_Torsional_default_instance_;
58 class Friction_Torsional_ODE;
59 class Friction_Torsional_ODEDefaultTypeInternal;
60 GZ_MSGS_VISIBLE extern Friction_Torsional_ODEDefaultTypeInternal _Friction_Torsional_ODE_default_instance_;
61 } // namespace msgs
62 } // namespace gz
63 namespace google {
64 namespace protobuf {
65 template<> GZ_MSGS_VISIBLE ::gz::msgs::Friction* Arena::CreateMaybeMessage<::gz::msgs::Friction>(Arena*);
66 template<> GZ_MSGS_VISIBLE ::gz::msgs::Friction_Torsional* Arena::CreateMaybeMessage<::gz::msgs::Friction_Torsional>(Arena*);
67 template<> GZ_MSGS_VISIBLE ::gz::msgs::Friction_Torsional_ODE* Arena::CreateMaybeMessage<::gz::msgs::Friction_Torsional_ODE>(Arena*);
68 } // namespace protobuf
69 } // namespace google
70 namespace gz {
71 namespace msgs {
72 
73 // ===================================================================
74 
75 class GZ_MSGS_VISIBLE Friction_Torsional_ODE : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:gz.msgs.Friction.Torsional.ODE) */ {
76  public:
78  virtual ~Friction_Torsional_ODE();
79 
81 
83  CopyFrom(from);
84  return *this;
85  }
86  #if LANG_CXX11
89  *this = ::std::move(from);
90  }
91 
92  inline Friction_Torsional_ODE& operator=(Friction_Torsional_ODE&& from) noexcept {
93  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
94  if (this != &from) InternalSwap(&from);
95  } else {
96  CopyFrom(from);
97  }
98  return *this;
99  }
100  #endif
101  static const ::google::protobuf::Descriptor* descriptor();
102  static const Friction_Torsional_ODE& default_instance();
103 
104  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
106  return reinterpret_cast<const Friction_Torsional_ODE*>(
108  }
109  static constexpr int kIndexInFileMessages =
110  0;
111 
112  void Swap(Friction_Torsional_ODE* other);
114  a.Swap(&b);
115  }
116 
117  // implements Message ----------------------------------------------
118 
119  inline Friction_Torsional_ODE* New() const final {
120  return CreateMaybeMessage<Friction_Torsional_ODE>(NULL);
121  }
122 
123  Friction_Torsional_ODE* New(::google::protobuf::Arena* arena) const final {
124  return CreateMaybeMessage<Friction_Torsional_ODE>(arena);
125  }
126  void CopyFrom(const ::google::protobuf::Message& from) final;
127  void MergeFrom(const ::google::protobuf::Message& from) final;
128  void CopyFrom(const Friction_Torsional_ODE& from);
129  void MergeFrom(const Friction_Torsional_ODE& from);
130  void Clear() final;
131  bool IsInitialized() const final;
132 
133  size_t ByteSizeLong() const final;
134  bool MergePartialFromCodedStream(
135  ::google::protobuf::io::CodedInputStream* input) final;
136  void SerializeWithCachedSizes(
137  ::google::protobuf::io::CodedOutputStream* output) const final;
138  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
139  bool deterministic, ::google::protobuf::uint8* target) const final;
140  int GetCachedSize() const final { return _cached_size_.Get(); }
141 
142  private:
143  void SharedCtor();
144  void SharedDtor();
145  void SetCachedSize(int size) const final;
146  void InternalSwap(Friction_Torsional_ODE* other);
147  private:
148  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
149  return NULL;
150  }
151  inline void* MaybeArenaPtr() const {
152  return NULL;
153  }
154  public:
155 
156  ::google::protobuf::Metadata GetMetadata() const final;
157 
158  // nested types ----------------------------------------------------
159 
160  // accessors -------------------------------------------------------
161 
162  // double slip = 1;
163  void clear_slip();
164  static const int kSlipFieldNumber = 1;
165  double slip() const;
166  void set_slip(double value);
167 
168  // @@protoc_insertion_point(class_scope:gz.msgs.Friction.Torsional.ODE)
169  private:
170 
171  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
172  double slip_;
173  mutable ::google::protobuf::internal::CachedSize _cached_size_;
174  friend struct ::protobuf_gz_2fmsgs_2ffriction_2eproto::TableStruct;
175 };
176 // -------------------------------------------------------------------
177 
178 class GZ_MSGS_VISIBLE Friction_Torsional : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:gz.msgs.Friction.Torsional) */ {
179  public:
181  virtual ~Friction_Torsional();
182 
184 
186  CopyFrom(from);
187  return *this;
188  }
189  #if LANG_CXX11
190  Friction_Torsional(Friction_Torsional&& from) noexcept
191  : Friction_Torsional() {
192  *this = ::std::move(from);
193  }
194 
195  inline Friction_Torsional& operator=(Friction_Torsional&& from) noexcept {
196  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
197  if (this != &from) InternalSwap(&from);
198  } else {
199  CopyFrom(from);
200  }
201  return *this;
202  }
203  #endif
204  static const ::google::protobuf::Descriptor* descriptor();
205  static const Friction_Torsional& default_instance();
206 
207  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
209  return reinterpret_cast<const Friction_Torsional*>(
211  }
212  static constexpr int kIndexInFileMessages =
213  1;
214 
215  void Swap(Friction_Torsional* other);
217  a.Swap(&b);
218  }
219 
220  // implements Message ----------------------------------------------
221 
222  inline Friction_Torsional* New() const final {
223  return CreateMaybeMessage<Friction_Torsional>(NULL);
224  }
225 
226  Friction_Torsional* New(::google::protobuf::Arena* arena) const final {
227  return CreateMaybeMessage<Friction_Torsional>(arena);
228  }
229  void CopyFrom(const ::google::protobuf::Message& from) final;
230  void MergeFrom(const ::google::protobuf::Message& from) final;
231  void CopyFrom(const Friction_Torsional& from);
232  void MergeFrom(const Friction_Torsional& from);
233  void Clear() final;
234  bool IsInitialized() const final;
235 
236  size_t ByteSizeLong() const final;
237  bool MergePartialFromCodedStream(
238  ::google::protobuf::io::CodedInputStream* input) final;
239  void SerializeWithCachedSizes(
240  ::google::protobuf::io::CodedOutputStream* output) const final;
241  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
242  bool deterministic, ::google::protobuf::uint8* target) const final;
243  int GetCachedSize() const final { return _cached_size_.Get(); }
244 
245  private:
246  void SharedCtor();
247  void SharedDtor();
248  void SetCachedSize(int size) const final;
249  void InternalSwap(Friction_Torsional* other);
250  private:
251  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
252  return NULL;
253  }
254  inline void* MaybeArenaPtr() const {
255  return NULL;
256  }
257  public:
258 
259  ::google::protobuf::Metadata GetMetadata() const final;
260 
261  // nested types ----------------------------------------------------
262 
264 
265  // accessors -------------------------------------------------------
266 
267  // .gz.msgs.Friction.Torsional.ODE ode = 5;
268  bool has_ode() const;
269  void clear_ode();
270  static const int kOdeFieldNumber = 5;
271  private:
272  const ::gz::msgs::Friction_Torsional_ODE& _internal_ode() const;
273  public:
274  const ::gz::msgs::Friction_Torsional_ODE& ode() const;
275  ::gz::msgs::Friction_Torsional_ODE* release_ode();
276  ::gz::msgs::Friction_Torsional_ODE* mutable_ode();
277  void set_allocated_ode(::gz::msgs::Friction_Torsional_ODE* ode);
278 
279  // double coefficient = 1;
280  void clear_coefficient();
281  static const int kCoefficientFieldNumber = 1;
282  double coefficient() const;
283  void set_coefficient(double value);
284 
285  // double patch_radius = 3;
286  void clear_patch_radius();
287  static const int kPatchRadiusFieldNumber = 3;
288  double patch_radius() const;
289  void set_patch_radius(double value);
290 
291  // double surface_radius = 4;
292  void clear_surface_radius();
293  static const int kSurfaceRadiusFieldNumber = 4;
294  double surface_radius() const;
295  void set_surface_radius(double value);
296 
297  // bool use_patch_radius = 2;
298  void clear_use_patch_radius();
299  static const int kUsePatchRadiusFieldNumber = 2;
300  bool use_patch_radius() const;
301  void set_use_patch_radius(bool value);
302 
303  // @@protoc_insertion_point(class_scope:gz.msgs.Friction.Torsional)
304  private:
305 
306  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
307  ::gz::msgs::Friction_Torsional_ODE* ode_;
308  double coefficient_;
309  double patch_radius_;
310  double surface_radius_;
311  bool use_patch_radius_;
312  mutable ::google::protobuf::internal::CachedSize _cached_size_;
313  friend struct ::protobuf_gz_2fmsgs_2ffriction_2eproto::TableStruct;
314 };
315 // -------------------------------------------------------------------
316 
317 class GZ_MSGS_VISIBLE Friction : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:gz.msgs.Friction) */ {
318  public:
319  Friction();
320  virtual ~Friction();
321 
322  Friction(const Friction& from);
323 
324  inline Friction& operator=(const Friction& from) {
325  CopyFrom(from);
326  return *this;
327  }
328  #if LANG_CXX11
329  Friction(Friction&& from) noexcept
330  : Friction() {
331  *this = ::std::move(from);
332  }
333 
334  inline Friction& operator=(Friction&& from) noexcept {
335  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
336  if (this != &from) InternalSwap(&from);
337  } else {
338  CopyFrom(from);
339  }
340  return *this;
341  }
342  #endif
343  static const ::google::protobuf::Descriptor* descriptor();
344  static const Friction& default_instance();
345 
346  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
347  static inline const Friction* internal_default_instance() {
348  return reinterpret_cast<const Friction*>(
350  }
351  static constexpr int kIndexInFileMessages =
352  2;
353 
354  void Swap(Friction* other);
355  friend void swap(Friction& a, Friction& b) {
356  a.Swap(&b);
357  }
358 
359  // implements Message ----------------------------------------------
360 
361  inline Friction* New() const final {
362  return CreateMaybeMessage<Friction>(NULL);
363  }
364 
365  Friction* New(::google::protobuf::Arena* arena) const final {
366  return CreateMaybeMessage<Friction>(arena);
367  }
368  void CopyFrom(const ::google::protobuf::Message& from) final;
369  void MergeFrom(const ::google::protobuf::Message& from) final;
370  void CopyFrom(const Friction& from);
371  void MergeFrom(const Friction& from);
372  void Clear() final;
373  bool IsInitialized() const final;
374 
375  size_t ByteSizeLong() const final;
376  bool MergePartialFromCodedStream(
377  ::google::protobuf::io::CodedInputStream* input) final;
378  void SerializeWithCachedSizes(
379  ::google::protobuf::io::CodedOutputStream* output) const final;
380  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
381  bool deterministic, ::google::protobuf::uint8* target) const final;
382  int GetCachedSize() const final { return _cached_size_.Get(); }
383 
384  private:
385  void SharedCtor();
386  void SharedDtor();
387  void SetCachedSize(int size) const final;
388  void InternalSwap(Friction* other);
389  private:
390  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
391  return NULL;
392  }
393  inline void* MaybeArenaPtr() const {
394  return NULL;
395  }
396  public:
397 
398  ::google::protobuf::Metadata GetMetadata() const final;
399 
400  // nested types ----------------------------------------------------
401 
403 
404  // accessors -------------------------------------------------------
405 
406  // .gz.msgs.Header header = 1;
407  bool has_header() const;
408  void clear_header();
409  static const int kHeaderFieldNumber = 1;
410  private:
411  const ::gz::msgs::Header& _internal_header() const;
412  public:
413  const ::gz::msgs::Header& header() const;
414  ::gz::msgs::Header* release_header();
415  ::gz::msgs::Header* mutable_header();
416  void set_allocated_header(::gz::msgs::Header* header);
417 
418  // .gz.msgs.Vector3d fdir1 = 4;
419  bool has_fdir1() const;
420  void clear_fdir1();
421  static const int kFdir1FieldNumber = 4;
422  private:
423  const ::gz::msgs::Vector3d& _internal_fdir1() const;
424  public:
425  const ::gz::msgs::Vector3d& fdir1() const;
426  ::gz::msgs::Vector3d* release_fdir1();
427  ::gz::msgs::Vector3d* mutable_fdir1();
428  void set_allocated_fdir1(::gz::msgs::Vector3d* fdir1);
429 
430  // .gz.msgs.Friction.Torsional torsional = 7;
431  bool has_torsional() const;
432  void clear_torsional();
433  static const int kTorsionalFieldNumber = 7;
434  private:
435  const ::gz::msgs::Friction_Torsional& _internal_torsional() const;
436  public:
437  const ::gz::msgs::Friction_Torsional& torsional() const;
438  ::gz::msgs::Friction_Torsional* release_torsional();
439  ::gz::msgs::Friction_Torsional* mutable_torsional();
440  void set_allocated_torsional(::gz::msgs::Friction_Torsional* torsional);
441 
442  // double mu = 2;
443  void clear_mu();
444  static const int kMuFieldNumber = 2;
445  double mu() const;
446  void set_mu(double value);
447 
448  // double mu2 = 3;
449  void clear_mu2();
450  static const int kMu2FieldNumber = 3;
451  double mu2() const;
452  void set_mu2(double value);
453 
454  // double slip1 = 5;
455  void clear_slip1();
456  static const int kSlip1FieldNumber = 5;
457  double slip1() const;
458  void set_slip1(double value);
459 
460  // double slip2 = 6;
461  void clear_slip2();
462  static const int kSlip2FieldNumber = 6;
463  double slip2() const;
464  void set_slip2(double value);
465 
466  // @@protoc_insertion_point(class_scope:gz.msgs.Friction)
467  private:
468 
469  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
470  ::gz::msgs::Header* header_;
471  ::gz::msgs::Vector3d* fdir1_;
472  ::gz::msgs::Friction_Torsional* torsional_;
473  double mu_;
474  double mu2_;
475  double slip1_;
476  double slip2_;
477  mutable ::google::protobuf::internal::CachedSize _cached_size_;
478  friend struct ::protobuf_gz_2fmsgs_2ffriction_2eproto::TableStruct;
479 };
480 // ===================================================================
481 
482 
483 // ===================================================================
484 
485 #ifdef __GNUC__
486  #pragma GCC diagnostic push
487  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
488 #endif // __GNUC__
489 // Friction_Torsional_ODE
490 
491 // double slip = 1;
493  slip_ = 0;
494 }
495 inline double Friction_Torsional_ODE::slip() const {
496  // @@protoc_insertion_point(field_get:gz.msgs.Friction.Torsional.ODE.slip)
497  return slip_;
498 }
499 inline void Friction_Torsional_ODE::set_slip(double value) {
500 
501  slip_ = value;
502  // @@protoc_insertion_point(field_set:gz.msgs.Friction.Torsional.ODE.slip)
503 }
504 
505 // -------------------------------------------------------------------
506 
507 // Friction_Torsional
508 
509 // double coefficient = 1;
511  coefficient_ = 0;
512 }
513 inline double Friction_Torsional::coefficient() const {
514  // @@protoc_insertion_point(field_get:gz.msgs.Friction.Torsional.coefficient)
515  return coefficient_;
516 }
517 inline void Friction_Torsional::set_coefficient(double value) {
518 
519  coefficient_ = value;
520  // @@protoc_insertion_point(field_set:gz.msgs.Friction.Torsional.coefficient)
521 }
522 
523 // bool use_patch_radius = 2;
525  use_patch_radius_ = false;
526 }
528  // @@protoc_insertion_point(field_get:gz.msgs.Friction.Torsional.use_patch_radius)
529  return use_patch_radius_;
530 }
532 
533  use_patch_radius_ = value;
534  // @@protoc_insertion_point(field_set:gz.msgs.Friction.Torsional.use_patch_radius)
535 }
536 
537 // double patch_radius = 3;
539  patch_radius_ = 0;
540 }
541 inline double Friction_Torsional::patch_radius() const {
542  // @@protoc_insertion_point(field_get:gz.msgs.Friction.Torsional.patch_radius)
543  return patch_radius_;
544 }
545 inline void Friction_Torsional::set_patch_radius(double value) {
546 
547  patch_radius_ = value;
548  // @@protoc_insertion_point(field_set:gz.msgs.Friction.Torsional.patch_radius)
549 }
550 
551 // double surface_radius = 4;
553  surface_radius_ = 0;
554 }
555 inline double Friction_Torsional::surface_radius() const {
556  // @@protoc_insertion_point(field_get:gz.msgs.Friction.Torsional.surface_radius)
557  return surface_radius_;
558 }
559 inline void Friction_Torsional::set_surface_radius(double value) {
560 
561  surface_radius_ = value;
562  // @@protoc_insertion_point(field_set:gz.msgs.Friction.Torsional.surface_radius)
563 }
564 
565 // .gz.msgs.Friction.Torsional.ODE ode = 5;
566 inline bool Friction_Torsional::has_ode() const {
567  return this != internal_default_instance() && ode_ != NULL;
568 }
570  if (GetArenaNoVirtual() == NULL && ode_ != NULL) {
571  delete ode_;
572  }
573  ode_ = NULL;
574 }
575 inline const ::gz::msgs::Friction_Torsional_ODE& Friction_Torsional::_internal_ode() const {
576  return *ode_;
577 }
578 inline const ::gz::msgs::Friction_Torsional_ODE& Friction_Torsional::ode() const {
579  const ::gz::msgs::Friction_Torsional_ODE* p = ode_;
580  // @@protoc_insertion_point(field_get:gz.msgs.Friction.Torsional.ode)
581  return p != NULL ? *p : *reinterpret_cast<const ::gz::msgs::Friction_Torsional_ODE*>(
583 }
584 inline ::gz::msgs::Friction_Torsional_ODE* Friction_Torsional::release_ode() {
585  // @@protoc_insertion_point(field_release:gz.msgs.Friction.Torsional.ode)
586 
588  ode_ = NULL;
589  return temp;
590 }
591 inline ::gz::msgs::Friction_Torsional_ODE* Friction_Torsional::mutable_ode() {
592 
593  if (ode_ == NULL) {
594  auto* p = CreateMaybeMessage<::gz::msgs::Friction_Torsional_ODE>(GetArenaNoVirtual());
595  ode_ = p;
596  }
597  // @@protoc_insertion_point(field_mutable:gz.msgs.Friction.Torsional.ode)
598  return ode_;
599 }
601  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
602  if (message_arena == NULL) {
603  delete ode_;
604  }
605  if (ode) {
606  ::google::protobuf::Arena* submessage_arena = NULL;
607  if (message_arena != submessage_arena) {
608  ode = ::google::protobuf::internal::GetOwnedMessage(
609  message_arena, ode, submessage_arena);
610  }
611 
612  } else {
613 
614  }
615  ode_ = ode;
616  // @@protoc_insertion_point(field_set_allocated:gz.msgs.Friction.Torsional.ode)
617 }
618 
619 // -------------------------------------------------------------------
620 
621 // Friction
622 
623 // .gz.msgs.Header header = 1;
624 inline bool Friction::has_header() const {
625  return this != internal_default_instance() && header_ != NULL;
626 }
627 inline const ::gz::msgs::Header& Friction::_internal_header() const {
628  return *header_;
629 }
630 inline const ::gz::msgs::Header& Friction::header() const {
631  const ::gz::msgs::Header* p = header_;
632  // @@protoc_insertion_point(field_get:gz.msgs.Friction.header)
633  return p != NULL ? *p : *reinterpret_cast<const ::gz::msgs::Header*>(
635 }
636 inline ::gz::msgs::Header* Friction::release_header() {
637  // @@protoc_insertion_point(field_release:gz.msgs.Friction.header)
638 
639  ::gz::msgs::Header* temp = header_;
640  header_ = NULL;
641  return temp;
642 }
643 inline ::gz::msgs::Header* Friction::mutable_header() {
644 
645  if (header_ == NULL) {
646  auto* p = CreateMaybeMessage<::gz::msgs::Header>(GetArenaNoVirtual());
647  header_ = p;
648  }
649  // @@protoc_insertion_point(field_mutable:gz.msgs.Friction.header)
650  return header_;
651 }
653  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
654  if (message_arena == NULL) {
655  delete reinterpret_cast< ::google::protobuf::MessageLite*>(header_);
656  }
657  if (header) {
658  ::google::protobuf::Arena* submessage_arena = NULL;
659  if (message_arena != submessage_arena) {
660  header = ::google::protobuf::internal::GetOwnedMessage(
661  message_arena, header, submessage_arena);
662  }
663 
664  } else {
665 
666  }
667  header_ = header;
668  // @@protoc_insertion_point(field_set_allocated:gz.msgs.Friction.header)
669 }
670 
671 // double mu = 2;
672 inline void Friction::clear_mu() {
673  mu_ = 0;
674 }
675 inline double Friction::mu() const {
676  // @@protoc_insertion_point(field_get:gz.msgs.Friction.mu)
677  return mu_;
678 }
679 inline void Friction::set_mu(double value) {
680 
681  mu_ = value;
682  // @@protoc_insertion_point(field_set:gz.msgs.Friction.mu)
683 }
684 
685 // double mu2 = 3;
686 inline void Friction::clear_mu2() {
687  mu2_ = 0;
688 }
689 inline double Friction::mu2() const {
690  // @@protoc_insertion_point(field_get:gz.msgs.Friction.mu2)
691  return mu2_;
692 }
693 inline void Friction::set_mu2(double value) {
694 
695  mu2_ = value;
696  // @@protoc_insertion_point(field_set:gz.msgs.Friction.mu2)
697 }
698 
699 // .gz.msgs.Vector3d fdir1 = 4;
700 inline bool Friction::has_fdir1() const {
701  return this != internal_default_instance() && fdir1_ != NULL;
702 }
703 inline const ::gz::msgs::Vector3d& Friction::_internal_fdir1() const {
704  return *fdir1_;
705 }
706 inline const ::gz::msgs::Vector3d& Friction::fdir1() const {
707  const ::gz::msgs::Vector3d* p = fdir1_;
708  // @@protoc_insertion_point(field_get:gz.msgs.Friction.fdir1)
709  return p != NULL ? *p : *reinterpret_cast<const ::gz::msgs::Vector3d*>(
711 }
712 inline ::gz::msgs::Vector3d* Friction::release_fdir1() {
713  // @@protoc_insertion_point(field_release:gz.msgs.Friction.fdir1)
714 
715  ::gz::msgs::Vector3d* temp = fdir1_;
716  fdir1_ = NULL;
717  return temp;
718 }
719 inline ::gz::msgs::Vector3d* Friction::mutable_fdir1() {
720 
721  if (fdir1_ == NULL) {
722  auto* p = CreateMaybeMessage<::gz::msgs::Vector3d>(GetArenaNoVirtual());
723  fdir1_ = p;
724  }
725  // @@protoc_insertion_point(field_mutable:gz.msgs.Friction.fdir1)
726  return fdir1_;
727 }
729  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
730  if (message_arena == NULL) {
731  delete reinterpret_cast< ::google::protobuf::MessageLite*>(fdir1_);
732  }
733  if (fdir1) {
734  ::google::protobuf::Arena* submessage_arena = NULL;
735  if (message_arena != submessage_arena) {
736  fdir1 = ::google::protobuf::internal::GetOwnedMessage(
737  message_arena, fdir1, submessage_arena);
738  }
739 
740  } else {
741 
742  }
743  fdir1_ = fdir1;
744  // @@protoc_insertion_point(field_set_allocated:gz.msgs.Friction.fdir1)
745 }
746 
747 // double slip1 = 5;
748 inline void Friction::clear_slip1() {
749  slip1_ = 0;
750 }
751 inline double Friction::slip1() const {
752  // @@protoc_insertion_point(field_get:gz.msgs.Friction.slip1)
753  return slip1_;
754 }
755 inline void Friction::set_slip1(double value) {
756 
757  slip1_ = value;
758  // @@protoc_insertion_point(field_set:gz.msgs.Friction.slip1)
759 }
760 
761 // double slip2 = 6;
762 inline void Friction::clear_slip2() {
763  slip2_ = 0;
764 }
765 inline double Friction::slip2() const {
766  // @@protoc_insertion_point(field_get:gz.msgs.Friction.slip2)
767  return slip2_;
768 }
769 inline void Friction::set_slip2(double value) {
770 
771  slip2_ = value;
772  // @@protoc_insertion_point(field_set:gz.msgs.Friction.slip2)
773 }
774 
775 // .gz.msgs.Friction.Torsional torsional = 7;
776 inline bool Friction::has_torsional() const {
777  return this != internal_default_instance() && torsional_ != NULL;
778 }
780  if (GetArenaNoVirtual() == NULL && torsional_ != NULL) {
781  delete torsional_;
782  }
783  torsional_ = NULL;
784 }
785 inline const ::gz::msgs::Friction_Torsional& Friction::_internal_torsional() const {
786  return *torsional_;
787 }
788 inline const ::gz::msgs::Friction_Torsional& Friction::torsional() const {
789  const ::gz::msgs::Friction_Torsional* p = torsional_;
790  // @@protoc_insertion_point(field_get:gz.msgs.Friction.torsional)
791  return p != NULL ? *p : *reinterpret_cast<const ::gz::msgs::Friction_Torsional*>(
793 }
794 inline ::gz::msgs::Friction_Torsional* Friction::release_torsional() {
795  // @@protoc_insertion_point(field_release:gz.msgs.Friction.torsional)
796 
797  ::gz::msgs::Friction_Torsional* temp = torsional_;
798  torsional_ = NULL;
799  return temp;
800 }
801 inline ::gz::msgs::Friction_Torsional* Friction::mutable_torsional() {
802 
803  if (torsional_ == NULL) {
804  auto* p = CreateMaybeMessage<::gz::msgs::Friction_Torsional>(GetArenaNoVirtual());
805  torsional_ = p;
806  }
807  // @@protoc_insertion_point(field_mutable:gz.msgs.Friction.torsional)
808  return torsional_;
809 }
811  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
812  if (message_arena == NULL) {
813  delete torsional_;
814  }
815  if (torsional) {
816  ::google::protobuf::Arena* submessage_arena = NULL;
817  if (message_arena != submessage_arena) {
818  torsional = ::google::protobuf::internal::GetOwnedMessage(
819  message_arena, torsional, submessage_arena);
820  }
821 
822  } else {
823 
824  }
825  torsional_ = torsional;
826  // @@protoc_insertion_point(field_set_allocated:gz.msgs.Friction.torsional)
827 }
828 
829 #ifdef __GNUC__
830  #pragma GCC diagnostic pop
831 #endif // __GNUC__
832 // -------------------------------------------------------------------
833 
834 // -------------------------------------------------------------------
835 
836 
837 // @@protoc_insertion_point(namespace_scope)
838 
839 } // namespace msgs
840 } // namespace gz
841 
842 // @@protoc_insertion_point(global_scope)
843 
844 #endif // PROTOBUF_INCLUDED_gz_2fmsgs_2ffriction_2eproto