Ignition Msgs

API Reference

5.8.1
joint_wrench.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: ignition/msgs/joint_wrench.proto
3 
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fjoint_5fwrench_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fjoint_5fwrench_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/unknown_field_set.h>
36 #ifndef _MSC_VER
37 #pragma GCC system_header
38 #else
39 #pragma warning(push)
40 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
41 #endif
42 #ifdef __linux__
43 #include <sys/sysmacros.h>
44 #endif
45 #include <memory>
46 #include <ignition/msgs/Export.hh>
47 // @@protoc_insertion_point(includes)
48 #include <google/protobuf/port_def.inc>
49 #define PROTOBUF_INTERNAL_EXPORT_ignition_2fmsgs_2fjoint_5fwrench_2eproto IGNITION_MSGS_VISIBLE
50 PROTOBUF_NAMESPACE_OPEN
51 namespace internal {
52 class AnyMetadata;
53 } // namespace internal
54 PROTOBUF_NAMESPACE_CLOSE
55 
56 // Internal implementation detail -- do not use these members.
58  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
59  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
60  static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
61  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
62  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1]
63  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
64  static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
65  static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
66  static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
67 };
68 extern IGNITION_MSGS_VISIBLE const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fjoint_5fwrench_2eproto;
69 namespace ignition {
70 namespace msgs {
71 class JointWrench;
72 class JointWrenchDefaultTypeInternal;
73 IGNITION_MSGS_VISIBLE extern JointWrenchDefaultTypeInternal _JointWrench_default_instance_;
74 } // namespace msgs
75 } // namespace ignition
76 PROTOBUF_NAMESPACE_OPEN
77 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::JointWrench* Arena::CreateMaybeMessage<::ignition::msgs::JointWrench>(Arena*);
78 PROTOBUF_NAMESPACE_CLOSE
79 namespace ignition {
80 namespace msgs {
81 
82 // ===================================================================
83 
84 class IGNITION_MSGS_VISIBLE JointWrench PROTOBUF_FINAL :
85  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.JointWrench) */ {
86  public:
87  inline JointWrench() : JointWrench(nullptr) {}
88  virtual ~JointWrench();
89 
90  JointWrench(const JointWrench& from);
91  JointWrench(JointWrench&& from) noexcept
92  : JointWrench() {
93  *this = ::std::move(from);
94  }
95 
96  inline JointWrench& operator=(const JointWrench& from) {
97  CopyFrom(from);
98  return *this;
99  }
100  inline JointWrench& operator=(JointWrench&& from) noexcept {
101  if (GetArena() == from.GetArena()) {
102  if (this != &from) InternalSwap(&from);
103  } else {
104  CopyFrom(from);
105  }
106  return *this;
107  }
108 
109  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
110  return GetDescriptor();
111  }
112  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
113  return GetMetadataStatic().descriptor;
114  }
115  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
116  return GetMetadataStatic().reflection;
117  }
118  static const JointWrench& default_instance();
119 
120  static inline const JointWrench* internal_default_instance() {
121  return reinterpret_cast<const JointWrench*>(
123  }
124  static constexpr int kIndexInFileMessages =
125  0;
126 
127  friend void swap(JointWrench& a, JointWrench& b) {
128  a.Swap(&b);
129  }
130  inline void Swap(JointWrench* other) {
131  if (other == this) return;
132  if (GetArena() == other->GetArena()) {
133  InternalSwap(other);
134  } else {
135  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
136  }
137  }
138  void UnsafeArenaSwap(JointWrench* other) {
139  if (other == this) return;
140  GOOGLE_DCHECK(GetArena() == other->GetArena());
141  InternalSwap(other);
142  }
143 
144  // implements Message ----------------------------------------------
145 
146  inline JointWrench* New() const final {
147  return CreateMaybeMessage<JointWrench>(nullptr);
148  }
149 
150  JointWrench* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
151  return CreateMaybeMessage<JointWrench>(arena);
152  }
153  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
154  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
155  void CopyFrom(const JointWrench& from);
156  void MergeFrom(const JointWrench& from);
157  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
158  bool IsInitialized() const final;
159 
160  size_t ByteSizeLong() const final;
161  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
162  ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
163  ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
164  int GetCachedSize() const final { return _cached_size_.Get(); }
165 
166  private:
167  inline void SharedCtor();
168  inline void SharedDtor();
169  void SetCachedSize(int size) const final;
170  void InternalSwap(JointWrench* other);
171  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
172  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
173  return "ignition.msgs.JointWrench";
174  }
175  protected:
176  explicit JointWrench(::PROTOBUF_NAMESPACE_ID::Arena* arena);
177  private:
178  static void ArenaDtor(void* object);
179  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
180  public:
181 
182  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
183  private:
184  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
185  ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_ignition_2fmsgs_2fjoint_5fwrench_2eproto);
186  return ::descriptor_table_ignition_2fmsgs_2fjoint_5fwrench_2eproto.file_level_metadata[kIndexInFileMessages];
187  }
188 
189  public:
190 
191  // nested types ----------------------------------------------------
192 
193  // accessors -------------------------------------------------------
194 
195  enum : int {
196  kBody1NameFieldNumber = 2,
197  kBody2NameFieldNumber = 4,
198  kHeaderFieldNumber = 1,
199  kBody1WrenchFieldNumber = 6,
200  kBody2WrenchFieldNumber = 7,
201  kBody1IdFieldNumber = 3,
202  kBody2IdFieldNumber = 5,
203  };
204  // string body_1_name = 2;
206  const std::string& body_1_name() const;
207  void set_body_1_name(const std::string& value);
209  void set_body_1_name(const char* value);
210  void set_body_1_name(const char* value, size_t size);
214  private:
215  const std::string& _internal_body_1_name() const;
216  void _internal_set_body_1_name(const std::string& value);
217  std::string* _internal_mutable_body_1_name();
218  public:
219 
220  // string body_2_name = 4;
222  const std::string& body_2_name() const;
223  void set_body_2_name(const std::string& value);
225  void set_body_2_name(const char* value);
226  void set_body_2_name(const char* value, size_t size);
230  private:
231  const std::string& _internal_body_2_name() const;
232  void _internal_set_body_2_name(const std::string& value);
233  std::string* _internal_mutable_body_2_name();
234  public:
235 
236  // .ignition.msgs.Header header = 1;
237  bool has_header() const;
238  private:
239  bool _internal_has_header() const;
240  public:
241  void clear_header();
242  const ::ignition::msgs::Header& header() const;
243  ::ignition::msgs::Header* release_header();
244  ::ignition::msgs::Header* mutable_header();
245  void set_allocated_header(::ignition::msgs::Header* header);
246  private:
247  const ::ignition::msgs::Header& _internal_header() const;
248  ::ignition::msgs::Header* _internal_mutable_header();
249  public:
251  ::ignition::msgs::Header* header);
252  ::ignition::msgs::Header* unsafe_arena_release_header();
253 
254  // .ignition.msgs.Wrench body_1_wrench = 6;
255  bool has_body_1_wrench() const;
256  private:
257  bool _internal_has_body_1_wrench() const;
258  public:
260  const ::ignition::msgs::Wrench& body_1_wrench() const;
261  ::ignition::msgs::Wrench* release_body_1_wrench();
262  ::ignition::msgs::Wrench* mutable_body_1_wrench();
263  void set_allocated_body_1_wrench(::ignition::msgs::Wrench* body_1_wrench);
264  private:
265  const ::ignition::msgs::Wrench& _internal_body_1_wrench() const;
266  ::ignition::msgs::Wrench* _internal_mutable_body_1_wrench();
267  public:
269  ::ignition::msgs::Wrench* body_1_wrench);
270  ::ignition::msgs::Wrench* unsafe_arena_release_body_1_wrench();
271 
272  // .ignition.msgs.Wrench body_2_wrench = 7;
273  bool has_body_2_wrench() const;
274  private:
275  bool _internal_has_body_2_wrench() const;
276  public:
278  const ::ignition::msgs::Wrench& body_2_wrench() const;
279  ::ignition::msgs::Wrench* release_body_2_wrench();
280  ::ignition::msgs::Wrench* mutable_body_2_wrench();
281  void set_allocated_body_2_wrench(::ignition::msgs::Wrench* body_2_wrench);
282  private:
283  const ::ignition::msgs::Wrench& _internal_body_2_wrench() const;
284  ::ignition::msgs::Wrench* _internal_mutable_body_2_wrench();
285  public:
287  ::ignition::msgs::Wrench* body_2_wrench);
288  ::ignition::msgs::Wrench* unsafe_arena_release_body_2_wrench();
289 
290  // uint32 body_1_id = 3;
292  ::PROTOBUF_NAMESPACE_ID::uint32 body_1_id() const;
293  void set_body_1_id(::PROTOBUF_NAMESPACE_ID::uint32 value);
294  private:
295  ::PROTOBUF_NAMESPACE_ID::uint32 _internal_body_1_id() const;
296  void _internal_set_body_1_id(::PROTOBUF_NAMESPACE_ID::uint32 value);
297  public:
298 
299  // uint32 body_2_id = 5;
301  ::PROTOBUF_NAMESPACE_ID::uint32 body_2_id() const;
302  void set_body_2_id(::PROTOBUF_NAMESPACE_ID::uint32 value);
303  private:
304  ::PROTOBUF_NAMESPACE_ID::uint32 _internal_body_2_id() const;
305  void _internal_set_body_2_id(::PROTOBUF_NAMESPACE_ID::uint32 value);
306  public:
307 
308  // @@protoc_insertion_point(class_scope:ignition.msgs.JointWrench)
309  private:
310  class _Internal;
311 
312  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
313  typedef void InternalArenaConstructable_;
314  typedef void DestructorSkippable_;
315  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr body_1_name_;
316  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr body_2_name_;
317  ::ignition::msgs::Header* header_;
318  ::ignition::msgs::Wrench* body_1_wrench_;
319  ::ignition::msgs::Wrench* body_2_wrench_;
320  ::PROTOBUF_NAMESPACE_ID::uint32 body_1_id_;
321  ::PROTOBUF_NAMESPACE_ID::uint32 body_2_id_;
322  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
323  friend struct ::TableStruct_ignition_2fmsgs_2fjoint_5fwrench_2eproto;
324 };
325 // ===================================================================
326 
327 
328 // ===================================================================
329 
330 #ifdef __GNUC__
331  #pragma GCC diagnostic push
332  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
333 #endif // __GNUC__
334 // JointWrench
335 
336 // .ignition.msgs.Header header = 1;
337 inline bool JointWrench::_internal_has_header() const {
338  return this != internal_default_instance() && header_ != nullptr;
339 }
340 inline bool JointWrench::has_header() const {
341  return _internal_has_header();
342 }
343 inline const ::ignition::msgs::Header& JointWrench::_internal_header() const {
344  const ::ignition::msgs::Header* p = header_;
345  return p != nullptr ? *p : reinterpret_cast<const ::ignition::msgs::Header&>(
347 }
348 inline const ::ignition::msgs::Header& JointWrench::header() const {
349  // @@protoc_insertion_point(field_get:ignition.msgs.JointWrench.header)
350  return _internal_header();
351 }
352 inline void JointWrench::unsafe_arena_set_allocated_header(
353  ::ignition::msgs::Header* header) {
354  if (GetArena() == nullptr) {
355  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(header_);
356  }
357  header_ = header;
358  if (header) {
359 
360  } else {
361 
362  }
363  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.JointWrench.header)
364 }
365 inline ::ignition::msgs::Header* JointWrench::release_header() {
366 
367  ::ignition::msgs::Header* temp = header_;
368  header_ = nullptr;
369  if (GetArena() != nullptr) {
370  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
371  }
372  return temp;
373 }
374 inline ::ignition::msgs::Header* JointWrench::unsafe_arena_release_header() {
375  // @@protoc_insertion_point(field_release:ignition.msgs.JointWrench.header)
376 
377  ::ignition::msgs::Header* temp = header_;
378  header_ = nullptr;
379  return temp;
380 }
381 inline ::ignition::msgs::Header* JointWrench::_internal_mutable_header() {
382 
383  if (header_ == nullptr) {
384  auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArena());
385  header_ = p;
386  }
387  return header_;
388 }
389 inline ::ignition::msgs::Header* JointWrench::mutable_header() {
390  // @@protoc_insertion_point(field_mutable:ignition.msgs.JointWrench.header)
391  return _internal_mutable_header();
392 }
393 inline void JointWrench::set_allocated_header(::ignition::msgs::Header* header) {
394  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
395  if (message_arena == nullptr) {
396  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(header_);
397  }
398  if (header) {
399  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
400  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(header)->GetArena();
401  if (message_arena != submessage_arena) {
402  header = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
403  message_arena, header, submessage_arena);
404  }
405 
406  } else {
407 
408  }
409  header_ = header;
410  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.JointWrench.header)
411 }
412 
413 // string body_1_name = 2;
414 inline void JointWrench::clear_body_1_name() {
415  body_1_name_.ClearToEmpty();
416 }
417 inline const std::string& JointWrench::body_1_name() const {
418  // @@protoc_insertion_point(field_get:ignition.msgs.JointWrench.body_1_name)
419  return _internal_body_1_name();
420 }
421 inline void JointWrench::set_body_1_name(const std::string& value) {
422  _internal_set_body_1_name(value);
423  // @@protoc_insertion_point(field_set:ignition.msgs.JointWrench.body_1_name)
424 }
425 inline std::string* JointWrench::mutable_body_1_name() {
426  // @@protoc_insertion_point(field_mutable:ignition.msgs.JointWrench.body_1_name)
427  return _internal_mutable_body_1_name();
428 }
429 inline const std::string& JointWrench::_internal_body_1_name() const {
430  return body_1_name_.Get();
431 }
432 inline void JointWrench::_internal_set_body_1_name(const std::string& value) {
433 
434  body_1_name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
435 }
436 inline void JointWrench::set_body_1_name(std::string&& value) {
437 
438  body_1_name_.Set(
439  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
440  // @@protoc_insertion_point(field_set_rvalue:ignition.msgs.JointWrench.body_1_name)
441 }
442 inline void JointWrench::set_body_1_name(const char* value) {
443  GOOGLE_DCHECK(value != nullptr);
444 
445  body_1_name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
446  // @@protoc_insertion_point(field_set_char:ignition.msgs.JointWrench.body_1_name)
447 }
448 inline void JointWrench::set_body_1_name(const char* value,
449  size_t size) {
450 
451  body_1_name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
452  reinterpret_cast<const char*>(value), size), GetArena());
453  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.JointWrench.body_1_name)
454 }
455 inline std::string* JointWrench::_internal_mutable_body_1_name() {
456 
457  return body_1_name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
458 }
459 inline std::string* JointWrench::release_body_1_name() {
460  // @@protoc_insertion_point(field_release:ignition.msgs.JointWrench.body_1_name)
461  return body_1_name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
462 }
463 inline void JointWrench::set_allocated_body_1_name(std::string* body_1_name) {
464  if (body_1_name != nullptr) {
465 
466  } else {
467 
468  }
469  body_1_name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), body_1_name,
470  GetArena());
471  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.JointWrench.body_1_name)
472 }
473 
474 // uint32 body_1_id = 3;
475 inline void JointWrench::clear_body_1_id() {
476  body_1_id_ = 0u;
477 }
478 inline ::PROTOBUF_NAMESPACE_ID::uint32 JointWrench::_internal_body_1_id() const {
479  return body_1_id_;
480 }
481 inline ::PROTOBUF_NAMESPACE_ID::uint32 JointWrench::body_1_id() const {
482  // @@protoc_insertion_point(field_get:ignition.msgs.JointWrench.body_1_id)
483  return _internal_body_1_id();
484 }
485 inline void JointWrench::_internal_set_body_1_id(::PROTOBUF_NAMESPACE_ID::uint32 value) {
486 
487  body_1_id_ = value;
488 }
489 inline void JointWrench::set_body_1_id(::PROTOBUF_NAMESPACE_ID::uint32 value) {
490  _internal_set_body_1_id(value);
491  // @@protoc_insertion_point(field_set:ignition.msgs.JointWrench.body_1_id)
492 }
493 
494 // string body_2_name = 4;
495 inline void JointWrench::clear_body_2_name() {
496  body_2_name_.ClearToEmpty();
497 }
498 inline const std::string& JointWrench::body_2_name() const {
499  // @@protoc_insertion_point(field_get:ignition.msgs.JointWrench.body_2_name)
500  return _internal_body_2_name();
501 }
502 inline void JointWrench::set_body_2_name(const std::string& value) {
503  _internal_set_body_2_name(value);
504  // @@protoc_insertion_point(field_set:ignition.msgs.JointWrench.body_2_name)
505 }
506 inline std::string* JointWrench::mutable_body_2_name() {
507  // @@protoc_insertion_point(field_mutable:ignition.msgs.JointWrench.body_2_name)
508  return _internal_mutable_body_2_name();
509 }
510 inline const std::string& JointWrench::_internal_body_2_name() const {
511  return body_2_name_.Get();
512 }
513 inline void JointWrench::_internal_set_body_2_name(const std::string& value) {
514 
515  body_2_name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
516 }
517 inline void JointWrench::set_body_2_name(std::string&& value) {
518 
519  body_2_name_.Set(
520  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
521  // @@protoc_insertion_point(field_set_rvalue:ignition.msgs.JointWrench.body_2_name)
522 }
523 inline void JointWrench::set_body_2_name(const char* value) {
524  GOOGLE_DCHECK(value != nullptr);
525 
526  body_2_name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
527  // @@protoc_insertion_point(field_set_char:ignition.msgs.JointWrench.body_2_name)
528 }
529 inline void JointWrench::set_body_2_name(const char* value,
530  size_t size) {
531 
532  body_2_name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
533  reinterpret_cast<const char*>(value), size), GetArena());
534  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.JointWrench.body_2_name)
535 }
536 inline std::string* JointWrench::_internal_mutable_body_2_name() {
537 
538  return body_2_name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
539 }
540 inline std::string* JointWrench::release_body_2_name() {
541  // @@protoc_insertion_point(field_release:ignition.msgs.JointWrench.body_2_name)
542  return body_2_name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
543 }
544 inline void JointWrench::set_allocated_body_2_name(std::string* body_2_name) {
545  if (body_2_name != nullptr) {
546 
547  } else {
548 
549  }
550  body_2_name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), body_2_name,
551  GetArena());
552  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.JointWrench.body_2_name)
553 }
554 
555 // uint32 body_2_id = 5;
556 inline void JointWrench::clear_body_2_id() {
557  body_2_id_ = 0u;
558 }
559 inline ::PROTOBUF_NAMESPACE_ID::uint32 JointWrench::_internal_body_2_id() const {
560  return body_2_id_;
561 }
562 inline ::PROTOBUF_NAMESPACE_ID::uint32 JointWrench::body_2_id() const {
563  // @@protoc_insertion_point(field_get:ignition.msgs.JointWrench.body_2_id)
564  return _internal_body_2_id();
565 }
566 inline void JointWrench::_internal_set_body_2_id(::PROTOBUF_NAMESPACE_ID::uint32 value) {
567 
568  body_2_id_ = value;
569 }
570 inline void JointWrench::set_body_2_id(::PROTOBUF_NAMESPACE_ID::uint32 value) {
571  _internal_set_body_2_id(value);
572  // @@protoc_insertion_point(field_set:ignition.msgs.JointWrench.body_2_id)
573 }
574 
575 // .ignition.msgs.Wrench body_1_wrench = 6;
576 inline bool JointWrench::_internal_has_body_1_wrench() const {
577  return this != internal_default_instance() && body_1_wrench_ != nullptr;
578 }
579 inline bool JointWrench::has_body_1_wrench() const {
580  return _internal_has_body_1_wrench();
581 }
582 inline const ::ignition::msgs::Wrench& JointWrench::_internal_body_1_wrench() const {
583  const ::ignition::msgs::Wrench* p = body_1_wrench_;
584  return p != nullptr ? *p : reinterpret_cast<const ::ignition::msgs::Wrench&>(
586 }
587 inline const ::ignition::msgs::Wrench& JointWrench::body_1_wrench() const {
588  // @@protoc_insertion_point(field_get:ignition.msgs.JointWrench.body_1_wrench)
589  return _internal_body_1_wrench();
590 }
591 inline void JointWrench::unsafe_arena_set_allocated_body_1_wrench(
592  ::ignition::msgs::Wrench* body_1_wrench) {
593  if (GetArena() == nullptr) {
594  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(body_1_wrench_);
595  }
596  body_1_wrench_ = body_1_wrench;
597  if (body_1_wrench) {
598 
599  } else {
600 
601  }
602  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.JointWrench.body_1_wrench)
603 }
604 inline ::ignition::msgs::Wrench* JointWrench::release_body_1_wrench() {
605 
606  ::ignition::msgs::Wrench* temp = body_1_wrench_;
607  body_1_wrench_ = nullptr;
608  if (GetArena() != nullptr) {
609  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
610  }
611  return temp;
612 }
613 inline ::ignition::msgs::Wrench* JointWrench::unsafe_arena_release_body_1_wrench() {
614  // @@protoc_insertion_point(field_release:ignition.msgs.JointWrench.body_1_wrench)
615 
616  ::ignition::msgs::Wrench* temp = body_1_wrench_;
617  body_1_wrench_ = nullptr;
618  return temp;
619 }
620 inline ::ignition::msgs::Wrench* JointWrench::_internal_mutable_body_1_wrench() {
621 
622  if (body_1_wrench_ == nullptr) {
623  auto* p = CreateMaybeMessage<::ignition::msgs::Wrench>(GetArena());
624  body_1_wrench_ = p;
625  }
626  return body_1_wrench_;
627 }
628 inline ::ignition::msgs::Wrench* JointWrench::mutable_body_1_wrench() {
629  // @@protoc_insertion_point(field_mutable:ignition.msgs.JointWrench.body_1_wrench)
630  return _internal_mutable_body_1_wrench();
631 }
632 inline void JointWrench::set_allocated_body_1_wrench(::ignition::msgs::Wrench* body_1_wrench) {
633  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
634  if (message_arena == nullptr) {
635  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(body_1_wrench_);
636  }
637  if (body_1_wrench) {
638  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
639  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(body_1_wrench)->GetArena();
640  if (message_arena != submessage_arena) {
641  body_1_wrench = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
642  message_arena, body_1_wrench, submessage_arena);
643  }
644 
645  } else {
646 
647  }
648  body_1_wrench_ = body_1_wrench;
649  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.JointWrench.body_1_wrench)
650 }
651 
652 // .ignition.msgs.Wrench body_2_wrench = 7;
653 inline bool JointWrench::_internal_has_body_2_wrench() const {
654  return this != internal_default_instance() && body_2_wrench_ != nullptr;
655 }
656 inline bool JointWrench::has_body_2_wrench() const {
657  return _internal_has_body_2_wrench();
658 }
659 inline const ::ignition::msgs::Wrench& JointWrench::_internal_body_2_wrench() const {
660  const ::ignition::msgs::Wrench* p = body_2_wrench_;
661  return p != nullptr ? *p : reinterpret_cast<const ::ignition::msgs::Wrench&>(
663 }
664 inline const ::ignition::msgs::Wrench& JointWrench::body_2_wrench() const {
665  // @@protoc_insertion_point(field_get:ignition.msgs.JointWrench.body_2_wrench)
666  return _internal_body_2_wrench();
667 }
668 inline void JointWrench::unsafe_arena_set_allocated_body_2_wrench(
669  ::ignition::msgs::Wrench* body_2_wrench) {
670  if (GetArena() == nullptr) {
671  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(body_2_wrench_);
672  }
673  body_2_wrench_ = body_2_wrench;
674  if (body_2_wrench) {
675 
676  } else {
677 
678  }
679  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.JointWrench.body_2_wrench)
680 }
681 inline ::ignition::msgs::Wrench* JointWrench::release_body_2_wrench() {
682 
683  ::ignition::msgs::Wrench* temp = body_2_wrench_;
684  body_2_wrench_ = nullptr;
685  if (GetArena() != nullptr) {
686  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
687  }
688  return temp;
689 }
690 inline ::ignition::msgs::Wrench* JointWrench::unsafe_arena_release_body_2_wrench() {
691  // @@protoc_insertion_point(field_release:ignition.msgs.JointWrench.body_2_wrench)
692 
693  ::ignition::msgs::Wrench* temp = body_2_wrench_;
694  body_2_wrench_ = nullptr;
695  return temp;
696 }
697 inline ::ignition::msgs::Wrench* JointWrench::_internal_mutable_body_2_wrench() {
698 
699  if (body_2_wrench_ == nullptr) {
700  auto* p = CreateMaybeMessage<::ignition::msgs::Wrench>(GetArena());
701  body_2_wrench_ = p;
702  }
703  return body_2_wrench_;
704 }
705 inline ::ignition::msgs::Wrench* JointWrench::mutable_body_2_wrench() {
706  // @@protoc_insertion_point(field_mutable:ignition.msgs.JointWrench.body_2_wrench)
707  return _internal_mutable_body_2_wrench();
708 }
709 inline void JointWrench::set_allocated_body_2_wrench(::ignition::msgs::Wrench* body_2_wrench) {
710  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
711  if (message_arena == nullptr) {
712  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(body_2_wrench_);
713  }
714  if (body_2_wrench) {
715  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
716  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(body_2_wrench)->GetArena();
717  if (message_arena != submessage_arena) {
718  body_2_wrench = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
719  message_arena, body_2_wrench, submessage_arena);
720  }
721 
722  } else {
723 
724  }
725  body_2_wrench_ = body_2_wrench;
726  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.JointWrench.body_2_wrench)
727 }
728 
729 #ifdef __GNUC__
730  #pragma GCC diagnostic pop
731 #endif // __GNUC__
732 
737 // @@protoc_insertion_point(namespace_scope)
738 
739 } // namespace msgs
740 } // namespace ignition
741 
742 #ifdef _MSC_VER
743 #pragma warning(pop)
744 #endif
745 // @@protoc_insertion_point(global_scope)
746 
747 #include <google/protobuf/port_undef.inc>
748 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fjoint_5fwrench_2eproto
void set_body_1_name(const char *value, size_t size)
void Swap(JointWrench *other)
Definition: joint_wrench.pb.h:130
const std::string & body_2_name() const
const ::ignition::msgs::Wrench & body_2_wrench() const
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: joint_wrench.pb.h:115
::ignition::msgs::Wrench * release_body_2_wrench()
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
JointWrench & operator=(const JointWrench &from)
Definition: joint_wrench.pb.h:96
::ignition::msgs::Header * release_header()
void set_body_1_name(const char *value)
void set_body_2_name(const char *value, size_t size)
void set_allocated_body_1_name(std::string *body_1_name)
void set_body_1_name(std::string &&value)
::ignition::msgs::Header * mutable_header()
::ignition::msgs::Wrench * mutable_body_1_wrench()
static const JointWrench * internal_default_instance()
Definition: joint_wrench.pb.h:120
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: joint_wrench.pb.h:109
void MergeFrom(const JointWrench &from)
const ::ignition::msgs::Wrench & body_1_wrench() const
JointWrench()
Definition: joint_wrench.pb.h:87
std::string * mutable_body_1_name()
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
JointWrench(::PROTOBUF_NAMESPACE_ID::Arena *arena)
void set_body_1_name(const std::string &value)
void set_body_2_name(const std::string &value)
std::string * release_body_2_name()
void unsafe_arena_set_allocated_header(::ignition::msgs::Header *header)
void CopyFrom(const JointWrench &from)
void set_body_2_name(const char *value)
void set_body_2_name(std::string &&value)
void set_body_2_id(::PROTOBUF_NAMESPACE_ID::uint32 value)
void UnsafeArenaSwap(JointWrench *other)
Definition: joint_wrench.pb.h:138
std::string * release_body_1_name()
JointWrench & operator=(JointWrench &&from) noexcept
Definition: joint_wrench.pb.h:100
::ignition::msgs::Header * unsafe_arena_release_header()
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
static const JointWrench & default_instance()
::ignition::msgs::Wrench * unsafe_arena_release_body_1_wrench()
::ignition::msgs::Wrench * unsafe_arena_release_body_2_wrench()
void unsafe_arena_set_allocated_body_2_wrench(::ignition::msgs::Wrench *body_2_wrench)
void set_allocated_body_2_wrench(::ignition::msgs::Wrench *body_2_wrench)
void unsafe_arena_set_allocated_body_1_wrench(::ignition::msgs::Wrench *body_1_wrench)
void set_allocated_header(::ignition::msgs::Header *header)
JointWrench * New() const final
Definition: joint_wrench.pb.h:146
friend void swap(JointWrench &a, JointWrench &b)
Definition: joint_wrench.pb.h:127
JointWrench(JointWrench &&from) noexcept
Definition: joint_wrench.pb.h:91
::PROTOBUF_NAMESPACE_ID::uint32 body_2_id() const
::PROTOBUF_NAMESPACE_ID::uint32 body_1_id() const
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: joint_wrench.pb.h:112
std::string * mutable_body_2_name()
void set_body_1_id(::PROTOBUF_NAMESPACE_ID::uint32 value)
void set_allocated_body_2_name(std::string *body_2_name)
::ignition::msgs::Wrench * release_body_1_wrench()
::ignition::msgs::Wrench * mutable_body_2_wrench()
JointWrench * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: joint_wrench.pb.h:150
JointWrench(const JointWrench &from)
const std::string & body_1_name() const
const ::ignition::msgs::Header & header() const
void set_allocated_body_1_wrench(::ignition::msgs::Wrench *body_1_wrench)
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fjoint_5fwrench_2eproto
std::shared_ptr< const JointWrench > ConstJointWrenchSharedPtr
Definition: joint_wrench.pb.h:736
std::unique_ptr< const JointWrench > ConstJointWrenchUniquePtr
Definition: joint_wrench.pb.h:734
std::unique_ptr< JointWrench > JointWrenchUniquePtr
Definition: joint_wrench.pb.h:733
IGNITION_MSGS_VISIBLE JointWrenchDefaultTypeInternal _JointWrench_default_instance_
std::shared_ptr< JointWrench > JointWrenchSharedPtr
Definition: joint_wrench.pb.h:735
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
IGNITION_MSGS_VISIBLE WrenchDefaultTypeInternal _Wrench_default_instance_
Definition: actor.pb.h:52
static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1] PROTOBUF_SECTION_VARIABLE(protodesc_cold)