4 #ifndef GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fodometry_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fodometry_2eproto
10 #include <google/protobuf/port_def.inc>
11 #if PROTOBUF_VERSION < 3019000
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 3019000 < 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/metadata_lite.h>
29 #include <google/protobuf/generated_message_reflection.h>
30 #include <google/protobuf/message.h>
31 #include <google/protobuf/repeated_field.h>
32 #include <google/protobuf/extension_set.h>
33 #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_2fodometry_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::AuxiliaryParseTableField 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 uint32_t offsets[];
73 struct OdometryDefaultTypeInternal;
77 PROTOBUF_NAMESPACE_OPEN
78 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::Odometry* Arena::CreateMaybeMessage<::ignition::msgs::Odometry>(Arena*);
79 PROTOBUF_NAMESPACE_CLOSE
86 public ::PROTOBUF_NAMESPACE_ID::Message {
90 explicit constexpr
Odometry(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
95 *
this = ::std::move(from);
103 if (
this == &from)
return *
this;
104 if (GetOwningArena() == from.GetOwningArena()
105 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
106 && GetOwningArena() !=
nullptr
116 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
117 return GetDescriptor();
120 return default_instance().GetMetadata().descriptor;
123 return default_instance().GetMetadata().reflection;
126 return *internal_default_instance();
129 return reinterpret_cast<const Odometry*
>(
132 static constexpr
int kIndexInFileMessages =
139 if (other ==
this)
return;
140 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
141 if (GetOwningArena() !=
nullptr &&
142 GetOwningArena() == other->GetOwningArena()) {
144 if (GetOwningArena() == other->GetOwningArena()) {
148 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
152 if (other ==
this)
return;
153 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
159 Odometry*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena =
nullptr) const final {
160 return CreateMaybeMessage<Odometry>(arena);
162 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
164 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
167 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
169 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
170 bool IsInitialized() const final;
172 size_t ByteSizeLong() const final;
173 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
174 uint8_t* _InternalSerialize(
175 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
176 int GetCachedSize() const final {
return _cached_size_.Get(); }
181 void SetCachedSize(
int size)
const final;
185 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
186 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
187 return "ignition.msgs.Odometry";
190 explicit Odometry(::PROTOBUF_NAMESPACE_ID::Arena* arena,
191 bool is_message_owned =
false);
193 static void ArenaDtor(
void*
object);
194 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
198 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
200 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
207 kHeaderFieldNumber = 1,
208 kPoseFieldNumber = 2,
209 kTwistFieldNumber = 3,
212 bool has_header()
const;
214 bool _internal_has_header()
const;
217 const ::ignition::msgs::Header& header()
const;
218 PROTOBUF_NODISCARD ::ignition::msgs::Header* release_header();
222 const ::ignition::msgs::Header& _internal_header()
const;
225 void unsafe_arena_set_allocated_header(
230 bool has_pose()
const;
232 bool _internal_has_pose()
const;
235 const ::ignition::msgs::Pose& pose()
const;
236 PROTOBUF_NODISCARD ::ignition::msgs::Pose* release_pose();
240 const ::ignition::msgs::Pose& _internal_pose()
const;
243 void unsafe_arena_set_allocated_pose(
248 bool has_twist()
const;
250 bool _internal_has_twist()
const;
253 const ::ignition::msgs::Twist& twist()
const;
254 PROTOBUF_NODISCARD ::ignition::msgs::Twist* release_twist();
258 const ::ignition::msgs::Twist& _internal_twist()
const;
261 void unsafe_arena_set_allocated_twist(
269 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
270 typedef void InternalArenaConstructable_;
271 typedef void DestructorSkippable_;
275 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
276 friend struct ::TableStruct_ignition_2fmsgs_2fodometry_2eproto;
284 #pragma GCC diagnostic push
285 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
290 inline bool Odometry::_internal_has_header()
const {
291 return this != internal_default_instance() && header_ !=
nullptr;
294 return _internal_has_header();
296 inline const ::ignition::msgs::Header& Odometry::_internal_header()
const {
297 const ::ignition::msgs::Header* p = header_;
303 return _internal_header();
307 if (GetArenaForAllocation() ==
nullptr) {
308 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header_);
322 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
323 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
324 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
325 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
327 if (GetArenaForAllocation() !=
nullptr) {
328 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
340 inline ::ignition::msgs::Header* Odometry::_internal_mutable_header() {
342 if (header_ ==
nullptr) {
343 auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArenaForAllocation());
354 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
355 if (message_arena ==
nullptr) {
356 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header_);
359 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
360 ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<
361 ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena(
362 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header));
363 if (message_arena != submessage_arena) {
364 header = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
365 message_arena, header, submessage_arena);
376 inline bool Odometry::_internal_has_pose()
const {
377 return this != internal_default_instance() && pose_ !=
nullptr;
380 return _internal_has_pose();
382 inline const ::ignition::msgs::Pose& Odometry::_internal_pose()
const {
383 const ::ignition::msgs::Pose* p = pose_;
389 return _internal_pose();
393 if (GetArenaForAllocation() ==
nullptr) {
394 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(pose_);
408 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
409 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
410 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
411 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
413 if (GetArenaForAllocation() !=
nullptr) {
414 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
426 inline ::ignition::msgs::Pose* Odometry::_internal_mutable_pose() {
428 if (pose_ ==
nullptr) {
429 auto* p = CreateMaybeMessage<::ignition::msgs::Pose>(GetArenaForAllocation());
440 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
441 if (message_arena ==
nullptr) {
442 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(pose_);
445 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
446 ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<
447 ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena(
448 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(pose));
449 if (message_arena != submessage_arena) {
450 pose = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
451 message_arena, pose, submessage_arena);
462 inline bool Odometry::_internal_has_twist()
const {
463 return this != internal_default_instance() && twist_ !=
nullptr;
466 return _internal_has_twist();
468 inline const ::ignition::msgs::Twist& Odometry::_internal_twist()
const {
469 const ::ignition::msgs::Twist* p = twist_;
475 return _internal_twist();
479 if (GetArenaForAllocation() ==
nullptr) {
480 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(twist_);
494 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
495 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
496 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
497 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
499 if (GetArenaForAllocation() !=
nullptr) {
500 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
512 inline ::ignition::msgs::Twist* Odometry::_internal_mutable_twist() {
514 if (twist_ ==
nullptr) {
515 auto* p = CreateMaybeMessage<::ignition::msgs::Twist>(GetArenaForAllocation());
526 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
527 if (message_arena ==
nullptr) {
528 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(twist_);
531 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
532 ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<
533 ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena(
534 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(twist));
535 if (message_arena != submessage_arena) {
536 twist = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
537 message_arena, twist, submessage_arena);
548 #pragma GCC diagnostic pop
565 #include <google/protobuf/port_undef.inc>
Definition: odometry.pb.h:86
const ::ignition::msgs::Pose & pose() const
Definition: odometry.pb.h:387
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: odometry.pb.h:122
void MergeFrom(const Odometry &from)
bool has_header() const
Definition: odometry.pb.h:293
::ignition::msgs::Pose * unsafe_arena_release_pose()
Definition: odometry.pb.h:419
::ignition::msgs::Header * mutable_header()
Definition: odometry.pb.h:348
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void unsafe_arena_set_allocated_pose(::ignition::msgs::Pose *pose)
Definition: odometry.pb.h:391
Odometry(const Odometry &from)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: odometry.pb.h:116
Odometry()
Definition: odometry.pb.h:88
const ::ignition::msgs::Twist & twist() const
Definition: odometry.pb.h:473
PROTOBUF_NODISCARD ::ignition::msgs::Twist * release_twist()
Definition: odometry.pb.h:490
Odometry(Odometry &&from) noexcept
Definition: odometry.pb.h:93
Odometry(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
Odometry * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Definition: odometry.pb.h:159
void unsafe_arena_set_allocated_twist(::ignition::msgs::Twist *twist)
Definition: odometry.pb.h:477
void unsafe_arena_set_allocated_header(::ignition::msgs::Header *header)
Definition: odometry.pb.h:305
void set_allocated_twist(::ignition::msgs::Twist *twist)
Definition: odometry.pb.h:525
::ignition::msgs::Twist * unsafe_arena_release_twist()
Definition: odometry.pb.h:505
::ignition::msgs::Twist * mutable_twist()
Definition: odometry.pb.h:520
bool has_pose() const
Definition: odometry.pb.h:379
void set_allocated_pose(::ignition::msgs::Pose *pose)
Definition: odometry.pb.h:439
Odometry & operator=(const Odometry &from)
Definition: odometry.pb.h:98
void set_allocated_header(::ignition::msgs::Header *header)
Definition: odometry.pb.h:353
::ignition::msgs::Pose * mutable_pose()
Definition: odometry.pb.h:434
void Swap(Odometry *other)
Definition: odometry.pb.h:138
PROTOBUF_NODISCARD ::ignition::msgs::Header * release_header()
Definition: odometry.pb.h:318
constexpr Odometry(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: odometry.pb.h:119
const ::ignition::msgs::Header & header() const
Definition: odometry.pb.h:301
PROTOBUF_NODISCARD ::ignition::msgs::Pose * release_pose()
Definition: odometry.pb.h:404
static const ClassData _class_data_
Definition: odometry.pb.h:197
void UnsafeArenaSwap(Odometry *other)
Definition: odometry.pb.h:151
::ignition::msgs::Header * unsafe_arena_release_header()
Definition: odometry.pb.h:333
static const Odometry & default_instance()
Definition: odometry.pb.h:125
static const Odometry * internal_default_instance()
Definition: odometry.pb.h:128
Odometry & operator=(Odometry &&from) noexcept
Definition: odometry.pb.h:102
friend void swap(Odometry &a, Odometry &b)
Definition: odometry.pb.h:135
bool has_twist() const
Definition: odometry.pb.h:465
void CopyFrom(const Odometry &from)
Definition: twist.pb.h:85
std::unique_ptr< const Odometry > ConstOdometryUniquePtr
Definition: odometry.pb.h:552
std::shared_ptr< const Odometry > ConstOdometrySharedPtr
Definition: odometry.pb.h:554
IGNITION_MSGS_VISIBLE TwistDefaultTypeInternal _Twist_default_instance_
IGNITION_MSGS_VISIBLE OdometryDefaultTypeInternal _Odometry_default_instance_
std::shared_ptr< Odometry > OdometrySharedPtr
Definition: odometry.pb.h:553
std::unique_ptr< Odometry > OdometryUniquePtr
Definition: odometry.pb.h:551
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
IGNITION_MSGS_VISIBLE PoseDefaultTypeInternal _Pose_default_instance_
Definition: actor.pb.h:52
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fodometry_2eproto
Definition: odometry.pb.h:58
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)