Gazebo Msgs

API Reference

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