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 < 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>
37 #pragma GCC system_header
40 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
43 #include <sys/sysmacros.h>
48 #include <google/protobuf/port_def.inc>
49 #define PROTOBUF_INTERNAL_EXPORT_ignition_2fmsgs_2fgps_2eproto IGNITION_MSGS_VISIBLE
50 PROTOBUF_NAMESPACE_OPEN
54 PROTOBUF_NAMESPACE_CLOSE
58 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
60 static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
62 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1]
64 static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
65 static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
66 static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
72 class GPSDefaultTypeInternal;
76 PROTOBUF_NAMESPACE_OPEN
77 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::GPS* Arena::CreateMaybeMessage<::ignition::msgs::GPS>(Arena*);
78 PROTOBUF_NAMESPACE_CLOSE
84 class IGNITION_MSGS_VISIBLE GPS PROTOBUF_FINAL :
85 public ::PROTOBUF_NAMESPACE_ID::Message {
87 inline GPS() : GPS(nullptr) {};
91 GPS(GPS&& from) noexcept
93 *
this = ::std::move(from);
101 if (GetArena() == from.GetArena()) {
102 if (
this != &from) InternalSwap(&from);
109 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
110 return GetDescriptor();
113 return GetMetadataStatic().descriptor;
116 return GetMetadataStatic().reflection;
122 return reinterpret_cast<const GPS*
>(
125 static constexpr
int kIndexInFileMessages =
128 friend void swap(GPS& a, GPS& b) {
132 if (other ==
this)
return;
133 if (GetArena() == other->GetArena()) {
136 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
140 if (other ==
this)
return;
141 GOOGLE_DCHECK(GetArena() == other->GetArena());
147 inline GPS*
New() const final {
148 return CreateMaybeMessage<GPS>(
nullptr);
151 GPS*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
152 return CreateMaybeMessage<GPS>(arena);
154 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
155 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
158 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
159 bool IsInitialized() const final;
161 size_t ByteSizeLong() const final;
162 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
163 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
164 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
165 int GetCachedSize() const final {
return _cached_size_.Get(); }
168 inline void SharedCtor();
169 inline void SharedDtor();
170 void SetCachedSize(
int size)
const final;
171 void InternalSwap(GPS* other);
172 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
173 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
174 return "ignition.msgs.GPS";
177 explicit GPS(::PROTOBUF_NAMESPACE_ID::Arena* arena);
179 static void ArenaDtor(
void*
object);
180 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
185 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
197 kLinkNameFieldNumber = 2,
198 kHeaderFieldNumber = 1,
199 kLatitudeDegFieldNumber = 3,
200 kLongitudeDegFieldNumber = 4,
201 kAltitudeFieldNumber = 5,
202 kVelocityEastFieldNumber = 6,
203 kVelocityNorthFieldNumber = 7,
204 kVelocityUpFieldNumber = 8,
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_link_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_link_name(
224 std::
string* link_name);
226 const
std::
string& _internal_link_name() const;
227 void _internal_set_link_name(const
std::
string& value);
228 std::
string* _internal_mutable_link_name();
232 bool has_header() const;
234 bool _internal_has_header() const;
240 void set_allocated_header(::
ignition::msgs::Header* header);
242 const ::
ignition::msgs::Header& _internal_header() const;
243 ::
ignition::msgs::Header* _internal_mutable_header();
245 void unsafe_arena_set_allocated_header(
247 ::
ignition::msgs::Header* unsafe_arena_release_header();
250 void clear_latitude_deg();
251 double latitude_deg() const;
252 void set_latitude_deg(
double value);
254 double _internal_latitude_deg() const;
255 void _internal_set_latitude_deg(
double value);
259 void clear_longitude_deg();
260 double longitude_deg() const;
261 void set_longitude_deg(
double value);
263 double _internal_longitude_deg() const;
264 void _internal_set_longitude_deg(
double value);
268 void clear_altitude();
269 double altitude() const;
270 void set_altitude(
double value);
272 double _internal_altitude() const;
273 void _internal_set_altitude(
double value);
277 void clear_velocity_east();
278 double velocity_east() const;
279 void set_velocity_east(
double value);
281 double _internal_velocity_east() const;
282 void _internal_set_velocity_east(
double value);
286 void clear_velocity_north();
287 double velocity_north() const;
288 void set_velocity_north(
double value);
290 double _internal_velocity_north() const;
291 void _internal_set_velocity_north(
double value);
295 void clear_velocity_up();
296 double velocity_up() const;
297 void set_velocity_up(
double value);
299 double _internal_velocity_up() const;
300 void _internal_set_velocity_up(
double value);
307 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
308 typedef
void InternalArenaConstructable_;
309 typedef
void DestructorSkippable_;
310 ::PROTOBUF_NAMESPACE_ID::
internal::ArenaStringPtr link_name_;
312 double latitude_deg_;
313 double longitude_deg_;
315 double velocity_east_;
316 double velocity_north_;
318 mutable ::PROTOBUF_NAMESPACE_ID::
internal::CachedSize _cached_size_;
327 #pragma GCC diagnostic push
328 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
333 inline bool GPS::_internal_has_header()
const {
334 return this != internal_default_instance() && header_ !=
nullptr;
336 inline bool GPS::has_header()
const {
337 return _internal_has_header();
339 inline const ::ignition::msgs::Header& GPS::_internal_header()
const {
340 const ::ignition::msgs::Header* p = header_;
341 return p !=
nullptr ? *p : *
reinterpret_cast<const ::ignition::msgs::Header*
>(
344 inline const ::ignition::msgs::Header& GPS::header()
const {
346 return _internal_header();
348 inline void GPS::unsafe_arena_set_allocated_header(
349 ::ignition::msgs::Header* header) {
350 if (GetArena() ==
nullptr) {
351 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header_);
361 inline ::ignition::msgs::Header* GPS::release_header() {
362 auto temp = unsafe_arena_release_header();
363 if (GetArena() !=
nullptr) {
364 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
368 inline ::ignition::msgs::Header* GPS::unsafe_arena_release_header() {
371 ::ignition::msgs::Header* temp = header_;
375 inline ::ignition::msgs::Header* GPS::_internal_mutable_header() {
377 if (header_ ==
nullptr) {
378 auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArena());
383 inline ::ignition::msgs::Header* GPS::mutable_header() {
385 return _internal_mutable_header();
387 inline void GPS::set_allocated_header(::ignition::msgs::Header* header) {
388 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
389 if (message_arena ==
nullptr) {
390 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header_);
393 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
394 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header)->GetArena();
395 if (message_arena != submessage_arena) {
396 header = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
397 message_arena, header, submessage_arena);
408 inline void GPS::clear_link_name() {
409 link_name_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
413 return _internal_link_name();
415 inline void GPS::set_link_name(
const std::string& value) {
416 _internal_set_link_name(value);
421 return _internal_mutable_link_name();
423 inline const std::string& GPS::_internal_link_name()
const {
424 return link_name_.Get();
426 inline void GPS::_internal_set_link_name(
const std::string& value) {
428 link_name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena());
430 inline void GPS::set_link_name(
std::string&& value) {
433 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::
std::move(value), GetArena());
436 inline void GPS::set_link_name(
const char* value) {
437 GOOGLE_DCHECK(value !=
nullptr);
439 link_name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::
std::string(value),
443 inline void GPS::set_link_name(
const char* value,
446 link_name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::
std::string(
447 reinterpret_cast<const char*
>(value), size), GetArena());
450 inline std::string* GPS::_internal_mutable_link_name() {
452 return link_name_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
456 return link_name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
458 inline void GPS::set_allocated_link_name(
std::string* link_name) {
459 if (link_name !=
nullptr) {
464 link_name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), link_name,
468 inline std::string* GPS::unsafe_arena_release_link_name() {
470 GOOGLE_DCHECK(GetArena() !=
nullptr);
472 return link_name_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
475 inline void GPS::unsafe_arena_set_allocated_link_name(
477 GOOGLE_DCHECK(GetArena() !=
nullptr);
478 if (link_name !=
nullptr) {
483 link_name_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
484 link_name, GetArena());
489 inline void GPS::clear_latitude_deg() {
492 inline double GPS::_internal_latitude_deg()
const {
493 return latitude_deg_;
495 inline double GPS::latitude_deg()
const {
497 return _internal_latitude_deg();
499 inline void GPS::_internal_set_latitude_deg(
double value) {
501 latitude_deg_ = value;
503 inline void GPS::set_latitude_deg(
double value) {
504 _internal_set_latitude_deg(value);
509 inline void GPS::clear_longitude_deg() {
512 inline double GPS::_internal_longitude_deg()
const {
513 return longitude_deg_;
515 inline double GPS::longitude_deg()
const {
517 return _internal_longitude_deg();
519 inline void GPS::_internal_set_longitude_deg(
double value) {
521 longitude_deg_ = value;
523 inline void GPS::set_longitude_deg(
double value) {
524 _internal_set_longitude_deg(value);
529 inline void GPS::clear_altitude() {
532 inline double GPS::_internal_altitude()
const {
535 inline double GPS::altitude()
const {
537 return _internal_altitude();
539 inline void GPS::_internal_set_altitude(
double value) {
543 inline void GPS::set_altitude(
double value) {
544 _internal_set_altitude(value);
549 inline void GPS::clear_velocity_east() {
552 inline double GPS::_internal_velocity_east()
const {
553 return velocity_east_;
555 inline double GPS::velocity_east()
const {
557 return _internal_velocity_east();
559 inline void GPS::_internal_set_velocity_east(
double value) {
561 velocity_east_ = value;
563 inline void GPS::set_velocity_east(
double value) {
564 _internal_set_velocity_east(value);
569 inline void GPS::clear_velocity_north() {
572 inline double GPS::_internal_velocity_north()
const {
573 return velocity_north_;
575 inline double GPS::velocity_north()
const {
577 return _internal_velocity_north();
579 inline void GPS::_internal_set_velocity_north(
double value) {
581 velocity_north_ = value;
583 inline void GPS::set_velocity_north(
double value) {
584 _internal_set_velocity_north(value);
589 inline void GPS::clear_velocity_up() {
592 inline double GPS::_internal_velocity_up()
const {
595 inline double GPS::velocity_up()
const {
597 return _internal_velocity_up();
599 inline void GPS::_internal_set_velocity_up(
double value) {
601 velocity_up_ = value;
603 inline void GPS::set_velocity_up(
double value) {
604 _internal_set_velocity_up(value);
609 #pragma GCC diagnostic pop
626 #include <google/protobuf/port_undef.inc>
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fgps_2eproto
static void InitAsDefaultInstance()
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: build/ignition-msgs8/include/ignition/msgs/gps.pb.h:115
void Swap(GPS *other)
Definition: build/ignition-msgs8/include/ignition/msgs/gps.pb.h:131
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
static const GPS * internal_default_instance()
Definition: build/ignition-msgs8/include/ignition/msgs/gps.pb.h:121
void set_link_name(const char *value)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: build/ignition-msgs8/include/ignition/msgs/gps.pb.h:109
friend void swap(GPS &a, GPS &b)
Definition: build/ignition-msgs8/include/ignition/msgs/gps.pb.h:128
void set_allocated_link_name(std::string *link_name)
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
void CopyFrom(const GPS &from)
GPS & operator=(GPS &&from) noexcept
Definition: build/ignition-msgs8/include/ignition/msgs/gps.pb.h:100
GPS(GPS &&from) noexcept
Definition: build/ignition-msgs8/include/ignition/msgs/gps.pb.h:91
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
GPS * New() const final
Definition: build/ignition-msgs8/include/ignition/msgs/gps.pb.h:147
void set_link_name(std::string &&value)
GPS & operator=(const GPS &from)
Definition: build/ignition-msgs8/include/ignition/msgs/gps.pb.h:96
GPS * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: build/ignition-msgs8/include/ignition/msgs/gps.pb.h:151
GPS(::PROTOBUF_NAMESPACE_ID::Arena *arena)
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
std::string * mutable_link_name()
void set_link_name(const char *value, size_t size)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: build/ignition-msgs8/include/ignition/msgs/gps.pb.h:112
void MergeFrom(const GPS &from)
GPS()
Definition: build/ignition-msgs8/include/ignition/msgs/gps.pb.h:87
std::string * release_link_name()
static const GPS & default_instance()
const std::string & link_name() const
void UnsafeArenaSwap(GPS *other)
Definition: build/ignition-msgs8/include/ignition/msgs/gps.pb.h:139
void set_link_name(const std::string &value)
IGNITION_MSGS_VISIBLE GPSDefaultTypeInternal _GPS_default_instance_
std::unique_ptr< GPS > GPSUniquePtr
Definition: build/ignition-msgs8/include/ignition/msgs/gps.pb.h:612
std::shared_ptr< GPS > GPSSharedPtr
Definition: build/ignition-msgs8/include/ignition/msgs/gps.pb.h:614
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
std::shared_ptr< const GPS > ConstGPSSharedPtr
Definition: build/ignition-msgs8/include/ignition/msgs/gps.pb.h:615
std::unique_ptr< const GPS > ConstGPSUniquePtr
Definition: build/ignition-msgs8/include/ignition/msgs/gps.pb.h:613
Definition: build/ignition-msgs8/include/ignition/msgs/actor.pb.h:53
Definition: build/ignition-msgs8/include/ignition/msgs/gps.pb.h:57
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)