4 #ifndef GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fquaternion_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fquaternion_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>
36 #pragma GCC system_header
39 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
42 #include <sys/sysmacros.h>
47 #include <google/protobuf/port_def.inc>
48 #define PROTOBUF_INTERNAL_EXPORT_ignition_2fmsgs_2fquaternion_2eproto IGNITION_MSGS_VISIBLE
49 PROTOBUF_NAMESPACE_OPEN
53 PROTOBUF_NAMESPACE_CLOSE
57 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
59 static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
61 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1]
63 static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
64 static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
65 static const uint32_t offsets[];
71 struct QuaternionDefaultTypeInternal;
75 PROTOBUF_NAMESPACE_OPEN
76 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::Quaternion* Arena::CreateMaybeMessage<::ignition::msgs::Quaternion>(Arena*);
77 PROTOBUF_NAMESPACE_CLOSE
84 public ::PROTOBUF_NAMESPACE_ID::Message {
88 explicit constexpr
Quaternion(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
93 *
this = ::std::move(from);
101 if (
this == &from)
return *
this;
102 if (GetOwningArena() == from.GetOwningArena()
103 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
104 && GetOwningArena() !=
nullptr
114 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
115 return GetDescriptor();
118 return default_instance().GetMetadata().descriptor;
121 return default_instance().GetMetadata().reflection;
124 return *internal_default_instance();
130 static constexpr
int kIndexInFileMessages =
137 if (other ==
this)
return;
138 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
139 if (GetOwningArena() !=
nullptr &&
140 GetOwningArena() == other->GetOwningArena()) {
142 if (GetOwningArena() == other->GetOwningArena()) {
146 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
150 if (other ==
this)
return;
151 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
157 Quaternion*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena =
nullptr) const final {
158 return CreateMaybeMessage<Quaternion>(arena);
160 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
162 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
165 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
167 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
168 bool IsInitialized() const final;
170 size_t ByteSizeLong() const final;
171 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
172 uint8_t* _InternalSerialize(
173 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
174 int GetCachedSize() const final {
return _cached_size_.Get(); }
179 void SetCachedSize(
int size)
const final;
183 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
184 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
185 return "ignition.msgs.Quaternion";
189 bool is_message_owned =
false);
191 static void ArenaDtor(
void*
object);
192 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
196 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
198 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
205 kHeaderFieldNumber = 1,
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(
232 void set_x(
double value);
234 double _internal_x()
const;
235 void _internal_set_x(
double value);
241 void set_y(
double value);
243 double _internal_y()
const;
244 void _internal_set_y(
double value);
250 void set_z(
double value);
252 double _internal_z()
const;
253 void _internal_set_z(
double value);
259 void set_w(
double value);
261 double _internal_w()
const;
262 void _internal_set_w(
double value);
269 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
270 typedef void InternalArenaConstructable_;
271 typedef void DestructorSkippable_;
277 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
278 friend struct ::TableStruct_ignition_2fmsgs_2fquaternion_2eproto;
286 #pragma GCC diagnostic push
287 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
292 inline bool Quaternion::_internal_has_header()
const {
293 return this != internal_default_instance() && header_ !=
nullptr;
296 return _internal_has_header();
298 inline const ::ignition::msgs::Header& Quaternion::_internal_header()
const {
299 const ::ignition::msgs::Header* p = header_;
305 return _internal_header();
309 if (GetArenaForAllocation() ==
nullptr) {
310 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header_);
324 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
325 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
326 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
327 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
329 if (GetArenaForAllocation() !=
nullptr) {
330 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
342 inline ::ignition::msgs::Header* Quaternion::_internal_mutable_header() {
344 if (header_ ==
nullptr) {
345 auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArenaForAllocation());
356 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
357 if (message_arena ==
nullptr) {
358 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header_);
361 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
362 ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<
363 ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena(
364 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header));
365 if (message_arena != submessage_arena) {
366 header = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
367 message_arena, header, submessage_arena);
381 inline double Quaternion::_internal_x()
const {
386 return _internal_x();
388 inline void Quaternion::_internal_set_x(
double value) {
393 _internal_set_x(value);
401 inline double Quaternion::_internal_y()
const {
406 return _internal_y();
408 inline void Quaternion::_internal_set_y(
double value) {
413 _internal_set_y(value);
421 inline double Quaternion::_internal_z()
const {
426 return _internal_z();
428 inline void Quaternion::_internal_set_z(
double value) {
433 _internal_set_z(value);
441 inline double Quaternion::_internal_w()
const {
446 return _internal_w();
448 inline void Quaternion::_internal_set_w(
double value) {
453 _internal_set_w(value);
458 #pragma GCC diagnostic pop
475 #include <google/protobuf/port_undef.inc>
Definition: quaternion.pb.h:84
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: quaternion.pb.h:120
bool has_header() const
Definition: quaternion.pb.h:295
::ignition::msgs::Header * mutable_header()
Definition: quaternion.pb.h:350
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
Quaternion & operator=(Quaternion &&from) noexcept
Definition: quaternion.pb.h:100
friend void swap(Quaternion &a, Quaternion &b)
Definition: quaternion.pb.h:133
void UnsafeArenaSwap(Quaternion *other)
Definition: quaternion.pb.h:149
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: quaternion.pb.h:114
void clear_x()
Definition: quaternion.pb.h:378
static const Quaternion * internal_default_instance()
Definition: quaternion.pb.h:126
void MergeFrom(const Quaternion &from)
void unsafe_arena_set_allocated_header(::ignition::msgs::Header *header)
Definition: quaternion.pb.h:307
Quaternion(const Quaternion &from)
Quaternion()
Definition: quaternion.pb.h:86
void set_z(double value)
Definition: quaternion.pb.h:432
Quaternion * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Definition: quaternion.pb.h:157
double w() const
Definition: quaternion.pb.h:444
Quaternion(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
double x() const
Definition: quaternion.pb.h:384
void set_w(double value)
Definition: quaternion.pb.h:452
void clear_y()
Definition: quaternion.pb.h:398
Quaternion & operator=(const Quaternion &from)
Definition: quaternion.pb.h:96
void set_allocated_header(::ignition::msgs::Header *header)
Definition: quaternion.pb.h:355
constexpr Quaternion(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
PROTOBUF_NODISCARD ::ignition::msgs::Header * release_header()
Definition: quaternion.pb.h:320
static const Quaternion & default_instance()
Definition: quaternion.pb.h:123
void set_y(double value)
Definition: quaternion.pb.h:412
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
Quaternion(Quaternion &&from) noexcept
Definition: quaternion.pb.h:91
void clear_z()
Definition: quaternion.pb.h:418
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: quaternion.pb.h:117
double y() const
Definition: quaternion.pb.h:404
const ::ignition::msgs::Header & header() const
Definition: quaternion.pb.h:303
void Swap(Quaternion *other)
Definition: quaternion.pb.h:136
static const ClassData _class_data_
Definition: quaternion.pb.h:195
::ignition::msgs::Header * unsafe_arena_release_header()
Definition: quaternion.pb.h:335
void clear_w()
Definition: quaternion.pb.h:438
double z() const
Definition: quaternion.pb.h:424
void CopyFrom(const Quaternion &from)
void set_x(double value)
Definition: quaternion.pb.h:392
std::unique_ptr< Quaternion > QuaternionUniquePtr
Definition: quaternion.pb.h:461
IGNITION_MSGS_VISIBLE QuaternionDefaultTypeInternal _Quaternion_default_instance_
std::shared_ptr< Quaternion > QuaternionSharedPtr
Definition: quaternion.pb.h:463
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
std::shared_ptr< const Quaternion > ConstQuaternionSharedPtr
Definition: quaternion.pb.h:464
std::unique_ptr< const Quaternion > ConstQuaternionUniquePtr
Definition: quaternion.pb.h:462
Definition: actor.pb.h:52
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fquaternion_2eproto
Definition: quaternion.pb.h:56
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)