4 #ifndef GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fgps_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fgps_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_2fgps_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 GPSDefaultTypeInternal;
75 PROTOBUF_NAMESPACE_OPEN
76 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::GPS* Arena::CreateMaybeMessage<::ignition::msgs::GPS>(Arena*);
77 PROTOBUF_NAMESPACE_CLOSE
83 class IGNITION_MSGS_VISIBLE
GPS final :
84 public ::PROTOBUF_NAMESPACE_ID::Message {
88 explicit constexpr
GPS(::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();
127 return reinterpret_cast<const GPS*
>(
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 GPS*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena =
nullptr) const final {
158 return CreateMaybeMessage<GPS>(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;
180 void InternalSwap(
GPS* other);
183 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
184 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
185 return "ignition.msgs.GPS";
188 explicit GPS(::PROTOBUF_NAMESPACE_ID::Arena* arena,
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 kLinkNameFieldNumber = 2,
206 kHeaderFieldNumber = 1,
207 kLatitudeDegFieldNumber = 3,
208 kLongitudeDegFieldNumber = 4,
209 kAltitudeFieldNumber = 5,
210 kVelocityEastFieldNumber = 6,
211 kVelocityNorthFieldNumber = 7,
212 kVelocityUpFieldNumber = 8,
215 void clear_link_name();
217 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
220 PROTOBUF_NODISCARD
std::string* release_link_name();
221 void set_allocated_link_name(
std::string* link_name);
224 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_link_name(
const std::string& value);
229 bool has_header()
const;
231 bool _internal_has_header()
const;
234 const ::ignition::msgs::Header& header()
const;
235 PROTOBUF_NODISCARD ::ignition::msgs::Header* release_header();
239 const ::ignition::msgs::Header& _internal_header()
const;
242 void unsafe_arena_set_allocated_header(
247 void clear_latitude_deg();
248 double latitude_deg()
const;
249 void set_latitude_deg(
double value);
251 double _internal_latitude_deg()
const;
252 void _internal_set_latitude_deg(
double value);
256 void clear_longitude_deg();
257 double longitude_deg()
const;
258 void set_longitude_deg(
double value);
260 double _internal_longitude_deg()
const;
261 void _internal_set_longitude_deg(
double value);
265 void clear_altitude();
266 double altitude()
const;
267 void set_altitude(
double value);
269 double _internal_altitude()
const;
270 void _internal_set_altitude(
double value);
274 void clear_velocity_east();
275 double velocity_east()
const;
276 void set_velocity_east(
double value);
278 double _internal_velocity_east()
const;
279 void _internal_set_velocity_east(
double value);
283 void clear_velocity_north();
284 double velocity_north()
const;
285 void set_velocity_north(
double value);
287 double _internal_velocity_north()
const;
288 void _internal_set_velocity_north(
double value);
292 void clear_velocity_up();
293 double velocity_up()
const;
294 void set_velocity_up(
double value);
296 double _internal_velocity_up()
const;
297 void _internal_set_velocity_up(
double value);
304 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
305 typedef void InternalArenaConstructable_;
306 typedef void DestructorSkippable_;
307 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr link_name_;
309 double latitude_deg_;
310 double longitude_deg_;
312 double velocity_east_;
313 double velocity_north_;
315 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
316 friend struct ::TableStruct_ignition_2fmsgs_2fgps_2eproto;
324 #pragma GCC diagnostic push
325 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
330 inline bool GPS::_internal_has_header()
const {
331 return this != internal_default_instance() && header_ !=
nullptr;
334 return _internal_has_header();
336 inline const ::ignition::msgs::Header& GPS::_internal_header()
const {
337 const ::ignition::msgs::Header* p = header_;
343 return _internal_header();
347 if (GetArenaForAllocation() ==
nullptr) {
348 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header_);
362 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
363 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
364 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
365 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
367 if (GetArenaForAllocation() !=
nullptr) {
368 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
380 inline ::ignition::msgs::Header* GPS::_internal_mutable_header() {
382 if (header_ ==
nullptr) {
383 auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArenaForAllocation());
394 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
395 if (message_arena ==
nullptr) {
396 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header_);
399 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
400 ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<
401 ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena(
402 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header));
403 if (message_arena != submessage_arena) {
404 header = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
405 message_arena, header, submessage_arena);
417 link_name_.ClearToEmpty();
421 return _internal_link_name();
423 template <
typename ArgT0,
typename... ArgT>
424 inline PROTOBUF_ALWAYS_INLINE
427 link_name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{},
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
435 inline const std::string& GPS::_internal_link_name()
const {
436 return link_name_.Get();
438 inline void GPS::_internal_set_link_name(
const std::string& value) {
440 link_name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
442 inline std::string* GPS::_internal_mutable_link_name() {
444 return link_name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
448 return link_name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
451 if (link_name !=
nullptr) {
456 link_name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), link_name,
457 GetArenaForAllocation());
458 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
459 if (link_name_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
460 link_name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
"", GetArenaForAllocation());
470 inline double GPS::_internal_latitude_deg()
const {
471 return latitude_deg_;
475 return _internal_latitude_deg();
477 inline void GPS::_internal_set_latitude_deg(
double value) {
479 latitude_deg_ = value;
482 _internal_set_latitude_deg(value);
490 inline double GPS::_internal_longitude_deg()
const {
491 return longitude_deg_;
495 return _internal_longitude_deg();
497 inline void GPS::_internal_set_longitude_deg(
double value) {
499 longitude_deg_ = value;
502 _internal_set_longitude_deg(value);
510 inline double GPS::_internal_altitude()
const {
515 return _internal_altitude();
517 inline void GPS::_internal_set_altitude(
double value) {
522 _internal_set_altitude(value);
530 inline double GPS::_internal_velocity_east()
const {
531 return velocity_east_;
535 return _internal_velocity_east();
537 inline void GPS::_internal_set_velocity_east(
double value) {
539 velocity_east_ = value;
542 _internal_set_velocity_east(value);
550 inline double GPS::_internal_velocity_north()
const {
551 return velocity_north_;
555 return _internal_velocity_north();
557 inline void GPS::_internal_set_velocity_north(
double value) {
559 velocity_north_ = value;
562 _internal_set_velocity_north(value);
570 inline double GPS::_internal_velocity_up()
const {
575 return _internal_velocity_up();
577 inline void GPS::_internal_set_velocity_up(
double value) {
579 velocity_up_ = value;
582 _internal_set_velocity_up(value);
587 #pragma GCC diagnostic pop
604 #include <google/protobuf/port_undef.inc>
void clear_velocity_up()
Definition: gps.pb.h:567
double longitude_deg() const
Definition: gps.pb.h:493
void set_link_name(ArgT0 &&arg0, ArgT... args)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: gps.pb.h:120
void clear_velocity_east()
Definition: gps.pb.h:527
void clear_altitude()
Definition: gps.pb.h:507
void set_latitude_deg(double value)
Definition: gps.pb.h:481
void Swap(GPS *other)
Definition: gps.pb.h:136
bool has_header() const
Definition: gps.pb.h:333
::ignition::msgs::Header * mutable_header()
Definition: gps.pb.h:388
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
static const GPS * internal_default_instance()
Definition: gps.pb.h:126
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: gps.pb.h:114
friend void swap(GPS &a, GPS &b)
Definition: gps.pb.h:133
void clear_link_name()
Definition: gps.pb.h:416
void set_allocated_link_name(std::string *link_name)
Definition: gps.pb.h:450
double velocity_north() const
Definition: gps.pb.h:553
void clear_velocity_north()
Definition: gps.pb.h:547
GPS(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
void unsafe_arena_set_allocated_header(::ignition::msgs::Header *header)
Definition: gps.pb.h:345
void CopyFrom(const GPS &from)
GPS & operator=(GPS &&from) noexcept
Definition: gps.pb.h:100
std::string * mutable_link_name()
Definition: gps.pb.h:430
void clear_longitude_deg()
Definition: gps.pb.h:487
GPS * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Definition: gps.pb.h:157
GPS(GPS &&from) noexcept
Definition: gps.pb.h:91
double latitude_deg() const
Definition: gps.pb.h:473
constexpr GPS(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
double altitude() const
Definition: gps.pb.h:513
void set_velocity_north(double value)
Definition: gps.pb.h:561
double velocity_up() const
Definition: gps.pb.h:573
void set_allocated_header(::ignition::msgs::Header *header)
Definition: gps.pb.h:393
void set_longitude_deg(double value)
Definition: gps.pb.h:501
GPS & operator=(const GPS &from)
Definition: gps.pb.h:96
void set_velocity_east(double value)
Definition: gps.pb.h:541
PROTOBUF_NODISCARD ::ignition::msgs::Header * release_header()
Definition: gps.pb.h:358
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
const std::string & link_name() const
Definition: gps.pb.h:419
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: gps.pb.h:117
void MergeFrom(const GPS &from)
double velocity_east() const
Definition: gps.pb.h:533
const ::ignition::msgs::Header & header() const
Definition: gps.pb.h:341
void clear_latitude_deg()
Definition: gps.pb.h:467
PROTOBUF_NODISCARD std::string * release_link_name()
Definition: gps.pb.h:446
GPS()
Definition: gps.pb.h:86
static const ClassData _class_data_
Definition: gps.pb.h:195
void set_altitude(double value)
Definition: gps.pb.h:521
::ignition::msgs::Header * unsafe_arena_release_header()
Definition: gps.pb.h:373
void set_velocity_up(double value)
Definition: gps.pb.h:581
static const GPS & default_instance()
Definition: gps.pb.h:123
void UnsafeArenaSwap(GPS *other)
Definition: gps.pb.h:149
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fgps_2eproto
IGNITION_MSGS_VISIBLE GPSDefaultTypeInternal _GPS_default_instance_
std::unique_ptr< GPS > GPSUniquePtr
Definition: gps.pb.h:590
std::shared_ptr< GPS > GPSSharedPtr
Definition: gps.pb.h:592
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
std::shared_ptr< const GPS > ConstGPSSharedPtr
Definition: gps.pb.h:593
std::unique_ptr< const GPS > ConstGPSUniquePtr
Definition: gps.pb.h:591
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)