4 #ifndef GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fjoint_5fwrench_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fjoint_5fwrench_2eproto
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
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.
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>
33 #include <google/protobuf/extension_set.h>
34 #include <google/protobuf/unknown_field_set.h>
38 #pragma GCC system_header
41 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
44 #include <sys/sysmacros.h>
49 #include <google/protobuf/port_def.inc>
50 #define PROTOBUF_INTERNAL_EXPORT_ignition_2fmsgs_2fjoint_5fwrench_2eproto IGNITION_MSGS_VISIBLE
51 PROTOBUF_NAMESPACE_OPEN
55 PROTOBUF_NAMESPACE_CLOSE
59 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
61 static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
63 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1]
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[];
73 class JointWrenchDefaultTypeInternal;
77 PROTOBUF_NAMESPACE_OPEN
78 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::JointWrench* Arena::CreateMaybeMessage<::ignition::msgs::JointWrench>(Arena*);
79 PROTOBUF_NAMESPACE_CLOSE
85 class IGNITION_MSGS_VISIBLE JointWrench PROTOBUF_FINAL :
86 public ::PROTOBUF_NAMESPACE_ID::Message {
94 *
this = ::std::move(from);
97 inline JointWrench&
operator=(
const JointWrench& from) {
101 inline JointWrench&
operator=(JointWrench&& from) noexcept {
102 if (GetArena() == from.GetArena()) {
103 if (
this != &from) InternalSwap(&from);
110 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
111 return GetDescriptor();
114 return GetMetadataStatic().descriptor;
117 return GetMetadataStatic().reflection;
123 return reinterpret_cast<const JointWrench*
>(
126 static constexpr
int kIndexInFileMessages =
129 friend void swap(JointWrench& a, JointWrench& b) {
132 inline void Swap(JointWrench* other) {
133 if (other ==
this)
return;
134 if (GetArena() == other->GetArena()) {
137 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
141 if (other ==
this)
return;
142 GOOGLE_DCHECK(GetArena() == other->GetArena());
148 inline JointWrench*
New() const final {
149 return CreateMaybeMessage<JointWrench>(
nullptr);
152 JointWrench*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
153 return CreateMaybeMessage<JointWrench>(arena);
155 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
156 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
159 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
160 bool IsInitialized() const final;
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(); }
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";
180 static void ArenaDtor(
void*
object);
181 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
186 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
198 kBody1NameFieldNumber = 2,
199 kBody2NameFieldNumber = 4,
200 kHeaderFieldNumber = 1,
201 kBody1WrenchFieldNumber = 6,
202 kBody2WrenchFieldNumber = 7,
203 kBody1IdFieldNumber = 3,
204 kBody2IdFieldNumber = 5,
216 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED(
"The unsafe_arena_ accessors for"
217 " string fields are deprecated and will be removed in a"
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"
223 void unsafe_arena_set_allocated_body_1_name(
224 std::
string* body_1_name);
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();
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"
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"
248 void unsafe_arena_set_allocated_body_2_name(
249 std::
string* body_2_name);
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();
257 bool has_header() const;
259 bool _internal_has_header() const;
265 void set_allocated_header(::
ignition::msgs::Header* header);
267 const ::
ignition::msgs::Header& _internal_header() const;
268 ::
ignition::msgs::Header* _internal_mutable_header();
270 void unsafe_arena_set_allocated_header(
272 ::
ignition::msgs::Header* unsafe_arena_release_header();
275 bool has_body_1_wrench() const;
277 bool _internal_has_body_1_wrench() const;
279 void clear_body_1_wrench();
280 const ::
ignition::msgs::Wrench& body_1_wrench() const;
283 void set_allocated_body_1_wrench(::
ignition::msgs::Wrench* body_1_wrench);
285 const ::
ignition::msgs::Wrench& _internal_body_1_wrench() const;
286 ::
ignition::msgs::Wrench* _internal_mutable_body_1_wrench();
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();
293 bool has_body_2_wrench() const;
295 bool _internal_has_body_2_wrench() const;
297 void clear_body_2_wrench();
298 const ::
ignition::msgs::Wrench& body_2_wrench() const;
301 void set_allocated_body_2_wrench(::
ignition::msgs::Wrench* body_2_wrench);
303 const ::
ignition::msgs::Wrench& _internal_body_2_wrench() const;
304 ::
ignition::msgs::Wrench* _internal_mutable_body_2_wrench();
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();
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);
315 ::PROTOBUF_NAMESPACE_ID::uint32 _internal_body_1_id() const;
316 void _internal_set_body_1_id(::PROTOBUF_NAMESPACE_ID::uint32 value);
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);
324 ::PROTOBUF_NAMESPACE_ID::uint32 _internal_body_2_id() const;
325 void _internal_set_body_2_id(::PROTOBUF_NAMESPACE_ID::uint32 value);
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_;
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_;
351 #pragma GCC diagnostic push
352 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
357 inline bool JointWrench::_internal_has_header()
const {
358 return this != internal_default_instance() && header_ !=
nullptr;
360 inline bool JointWrench::has_header()
const {
361 return _internal_has_header();
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*
>(
368 inline const ::ignition::msgs::Header& JointWrench::header()
const {
370 return _internal_header();
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_);
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);
392 inline ::ignition::msgs::Header* JointWrench::unsafe_arena_release_header() {
395 ::ignition::msgs::Header* temp = header_;
399 inline ::ignition::msgs::Header* JointWrench::_internal_mutable_header() {
401 if (header_ ==
nullptr) {
402 auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArena());
407 inline ::ignition::msgs::Header* JointWrench::mutable_header() {
409 return _internal_mutable_header();
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_);
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);
432 inline void JointWrench::clear_body_1_name() {
433 body_1_name_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
435 inline const std::string& JointWrench::body_1_name()
const {
437 return _internal_body_1_name();
439 inline void JointWrench::set_body_1_name(
const std::string& value) {
440 _internal_set_body_1_name(value);
443 inline std::string* JointWrench::mutable_body_1_name() {
445 return _internal_mutable_body_1_name();
447 inline const std::string& JointWrench::_internal_body_1_name()
const {
448 return body_1_name_.Get();
450 inline void JointWrench::_internal_set_body_1_name(
const std::string& value) {
452 body_1_name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena());
454 inline void JointWrench::set_body_1_name(
std::string&& value) {
457 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::
std::move(value), GetArena());
460 inline void JointWrench::set_body_1_name(
const char* value) {
461 GOOGLE_DCHECK(value !=
nullptr);
463 body_1_name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::
std::string(value),
467 inline void JointWrench::set_body_1_name(
const char* value,
470 body_1_name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::
std::string(
471 reinterpret_cast<const char*
>(value), size), GetArena());
474 inline std::string* JointWrench::_internal_mutable_body_1_name() {
476 return body_1_name_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
478 inline std::string* JointWrench::release_body_1_name() {
480 return body_1_name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
482 inline void JointWrench::set_allocated_body_1_name(
std::string* body_1_name) {
483 if (body_1_name !=
nullptr) {
488 body_1_name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), body_1_name,
492 inline std::string* JointWrench::unsafe_arena_release_body_1_name() {
494 GOOGLE_DCHECK(GetArena() !=
nullptr);
496 return body_1_name_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
499 inline void JointWrench::unsafe_arena_set_allocated_body_1_name(
501 GOOGLE_DCHECK(GetArena() !=
nullptr);
502 if (body_1_name !=
nullptr) {
507 body_1_name_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
508 body_1_name, GetArena());
513 inline void JointWrench::clear_body_1_id() {
516 inline ::PROTOBUF_NAMESPACE_ID::uint32 JointWrench::_internal_body_1_id()
const {
519 inline ::PROTOBUF_NAMESPACE_ID::uint32 JointWrench::body_1_id()
const {
521 return _internal_body_1_id();
523 inline void JointWrench::_internal_set_body_1_id(::PROTOBUF_NAMESPACE_ID::uint32 value) {
527 inline void JointWrench::set_body_1_id(::PROTOBUF_NAMESPACE_ID::uint32 value) {
528 _internal_set_body_1_id(value);
533 inline void JointWrench::clear_body_2_name() {
534 body_2_name_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
536 inline const std::string& JointWrench::body_2_name()
const {
538 return _internal_body_2_name();
540 inline void JointWrench::set_body_2_name(
const std::string& value) {
541 _internal_set_body_2_name(value);
544 inline std::string* JointWrench::mutable_body_2_name() {
546 return _internal_mutable_body_2_name();
548 inline const std::string& JointWrench::_internal_body_2_name()
const {
549 return body_2_name_.Get();
551 inline void JointWrench::_internal_set_body_2_name(
const std::string& value) {
553 body_2_name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena());
555 inline void JointWrench::set_body_2_name(
std::string&& value) {
558 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::
std::move(value), GetArena());
561 inline void JointWrench::set_body_2_name(
const char* value) {
562 GOOGLE_DCHECK(value !=
nullptr);
564 body_2_name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::
std::string(value),
568 inline void JointWrench::set_body_2_name(
const char* value,
571 body_2_name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::
std::string(
572 reinterpret_cast<const char*
>(value), size), GetArena());
575 inline std::string* JointWrench::_internal_mutable_body_2_name() {
577 return body_2_name_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
579 inline std::string* JointWrench::release_body_2_name() {
581 return body_2_name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
583 inline void JointWrench::set_allocated_body_2_name(
std::string* body_2_name) {
584 if (body_2_name !=
nullptr) {
589 body_2_name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), body_2_name,
593 inline std::string* JointWrench::unsafe_arena_release_body_2_name() {
595 GOOGLE_DCHECK(GetArena() !=
nullptr);
597 return body_2_name_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
600 inline void JointWrench::unsafe_arena_set_allocated_body_2_name(
602 GOOGLE_DCHECK(GetArena() !=
nullptr);
603 if (body_2_name !=
nullptr) {
608 body_2_name_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
609 body_2_name, GetArena());
614 inline void JointWrench::clear_body_2_id() {
617 inline ::PROTOBUF_NAMESPACE_ID::uint32 JointWrench::_internal_body_2_id()
const {
620 inline ::PROTOBUF_NAMESPACE_ID::uint32 JointWrench::body_2_id()
const {
622 return _internal_body_2_id();
624 inline void JointWrench::_internal_set_body_2_id(::PROTOBUF_NAMESPACE_ID::uint32 value) {
628 inline void JointWrench::set_body_2_id(::PROTOBUF_NAMESPACE_ID::uint32 value) {
629 _internal_set_body_2_id(value);
634 inline bool JointWrench::_internal_has_body_1_wrench()
const {
635 return this != internal_default_instance() && body_1_wrench_ !=
nullptr;
637 inline bool JointWrench::has_body_1_wrench()
const {
638 return _internal_has_body_1_wrench();
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*
>(
645 inline const ::ignition::msgs::Wrench& JointWrench::body_1_wrench()
const {
647 return _internal_body_1_wrench();
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_);
654 body_1_wrench_ = body_1_wrench;
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);
669 inline ::ignition::msgs::Wrench* JointWrench::unsafe_arena_release_body_1_wrench() {
672 ::ignition::msgs::Wrench* temp = body_1_wrench_;
673 body_1_wrench_ =
nullptr;
676 inline ::ignition::msgs::Wrench* JointWrench::_internal_mutable_body_1_wrench() {
678 if (body_1_wrench_ ==
nullptr) {
679 auto* p = CreateMaybeMessage<::ignition::msgs::Wrench>(GetArena());
682 return body_1_wrench_;
684 inline ::ignition::msgs::Wrench* JointWrench::mutable_body_1_wrench() {
686 return _internal_mutable_body_1_wrench();
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_);
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);
704 body_1_wrench_ = body_1_wrench;
709 inline bool JointWrench::_internal_has_body_2_wrench()
const {
710 return this != internal_default_instance() && body_2_wrench_ !=
nullptr;
712 inline bool JointWrench::has_body_2_wrench()
const {
713 return _internal_has_body_2_wrench();
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*
>(
720 inline const ::ignition::msgs::Wrench& JointWrench::body_2_wrench()
const {
722 return _internal_body_2_wrench();
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_);
729 body_2_wrench_ = body_2_wrench;
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);
744 inline ::ignition::msgs::Wrench* JointWrench::unsafe_arena_release_body_2_wrench() {
747 ::ignition::msgs::Wrench* temp = body_2_wrench_;
748 body_2_wrench_ =
nullptr;
751 inline ::ignition::msgs::Wrench* JointWrench::_internal_mutable_body_2_wrench() {
753 if (body_2_wrench_ ==
nullptr) {
754 auto* p = CreateMaybeMessage<::ignition::msgs::Wrench>(GetArena());
757 return body_2_wrench_;
759 inline ::ignition::msgs::Wrench* JointWrench::mutable_body_2_wrench() {
761 return _internal_mutable_body_2_wrench();
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_);
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);
779 body_2_wrench_ = body_2_wrench;
784 #pragma GCC diagnostic pop
801 #include <google/protobuf/port_undef.inc>
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 void InitAsDefaultInstance()
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
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
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)