4 #ifndef PROTOBUF_INCLUDED_ignition_2fmsgs_2fnavsat_5fsensor_2eproto
5 #define PROTOBUF_INCLUDED_ignition_2fmsgs_2fnavsat_5fsensor_2eproto
9 #include <google/protobuf/stubs/common.h>
11 #if GOOGLE_PROTOBUF_VERSION < 3006001
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 3006001 < GOOGLE_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/io/coded_stream.h>
23 #include <google/protobuf/arena.h>
24 #include <google/protobuf/arenastring.h>
25 #include <google/protobuf/generated_message_table_driven.h>
26 #include <google/protobuf/generated_message_util.h>
27 #include <google/protobuf/inlined_string_field.h>
28 #include <google/protobuf/metadata.h>
29 #include <google/protobuf/message.h>
30 #include <google/protobuf/repeated_field.h>
31 #include <google/protobuf/extension_set.h>
32 #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 #define PROTOBUF_INTERNAL_EXPORT_protobuf_ignition_2fmsgs_2fnavsat_5fsensor_2eproto IGNITION_MSGS_VISIBLE
52 static const ::google::protobuf::internal::ParseTableField entries[];
53 static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
54 static const ::google::protobuf::internal::ParseTable schema[2];
55 static const ::google::protobuf::internal::FieldMetadata field_metadata[];
56 static const ::google::protobuf::internal::SerializationTable serialization_table[];
57 static const ::google::protobuf::uint32 offsets[];
64 class NavSatSensorDefaultTypeInternal;
66 class NavSatSensor_Sensing;
67 class NavSatSensor_SensingDefaultTypeInternal;
73 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::NavSatSensor* Arena::CreateMaybeMessage<::ignition::msgs::NavSatSensor>(Arena*);
74 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::NavSatSensor_Sensing* Arena::CreateMaybeMessage<::ignition::msgs::NavSatSensor_Sensing>(Arena*);
96 *
this = ::std::move(from);
99 inline NavSatSensor_Sensing& operator=(NavSatSensor_Sensing&& from) noexcept {
100 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
101 if (
this != &from) InternalSwap(&from);
108 static const ::google::protobuf::Descriptor* descriptor();
109 static const NavSatSensor_Sensing& default_instance();
111 static void InitAsDefaultInstance();
116 static constexpr
int kIndexInFileMessages =
127 return CreateMaybeMessage<NavSatSensor_Sensing>(NULL);
131 return CreateMaybeMessage<NavSatSensor_Sensing>(arena);
133 void CopyFrom(const ::google::protobuf::Message& from)
final;
134 void MergeFrom(const ::google::protobuf::Message& from)
final;
138 bool IsInitialized() const final;
140 size_t ByteSizeLong() const final;
141 bool MergePartialFromCodedStream(
142 ::
google::protobuf::io::CodedInputStream* input) final;
143 void SerializeWithCachedSizes(
144 ::
google::protobuf::io::CodedOutputStream* output) const final;
145 ::
google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
146 bool deterministic, ::
google::protobuf::uint8* target) const final;
147 int GetCachedSize() const final {
return _cached_size_.Get(); }
152 void SetCachedSize(
int size)
const final;
155 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
158 inline void* MaybeArenaPtr()
const {
163 ::google::protobuf::Metadata GetMetadata() const final;
170 bool has_horizontal_noise() const;
171 void clear_horizontal_noise();
172 static const
int kHorizontalNoiseFieldNumber = 1;
182 bool has_vertical_noise() const;
183 void clear_vertical_noise();
184 static const
int kVerticalNoiseFieldNumber = 2;
196 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
199 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
218 *
this = ::std::move(from);
221 inline NavSatSensor& operator=(NavSatSensor&& from) noexcept {
222 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
223 if (
this != &from) InternalSwap(&from);
230 static const ::google::protobuf::Descriptor* descriptor();
231 static const NavSatSensor& default_instance();
233 static void InitAsDefaultInstance();
238 static constexpr
int kIndexInFileMessages =
249 return CreateMaybeMessage<NavSatSensor>(NULL);
253 return CreateMaybeMessage<NavSatSensor>(arena);
255 void CopyFrom(const ::google::protobuf::Message& from)
final;
256 void MergeFrom(const ::google::protobuf::Message& from)
final;
260 bool IsInitialized() const final;
262 size_t ByteSizeLong() const final;
263 bool MergePartialFromCodedStream(
264 ::
google::protobuf::io::CodedInputStream* input) final;
265 void SerializeWithCachedSizes(
266 ::
google::protobuf::io::CodedOutputStream* output) const final;
267 ::
google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
268 bool deterministic, ::
google::protobuf::uint8* target) const final;
269 int GetCachedSize() const final {
return _cached_size_.Get(); }
274 void SetCachedSize(
int size)
const final;
277 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
280 inline void* MaybeArenaPtr()
const {
285 ::google::protobuf::Metadata GetMetadata() const final;
294 bool has_header() const;
296 static const
int kHeaderFieldNumber = 1;
306 bool has_position() const;
307 void clear_position();
308 static const
int kPositionFieldNumber = 2;
318 bool has_velocity() const;
319 void clear_velocity();
320 static const
int kVelocityFieldNumber = 3;
332 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
336 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
345 #pragma GCC diagnostic push
346 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
352 return this != internal_default_instance() && horizontal_noise_ != NULL;
354 inline const ::ignition::msgs::SensorNoise& NavSatSensor_Sensing::_internal_horizontal_noise()
const {
355 return *horizontal_noise_;
358 const ::ignition::msgs::SensorNoise* p = horizontal_noise_;
367 horizontal_noise_ = NULL;
372 if (horizontal_noise_ == NULL) {
373 auto* p = CreateMaybeMessage<::ignition::msgs::SensorNoise>(GetArenaNoVirtual());
374 horizontal_noise_ = p;
377 return horizontal_noise_;
380 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
381 if (message_arena == NULL) {
382 delete reinterpret_cast< ::google::protobuf::MessageLite*
>(horizontal_noise_);
384 if (horizontal_noise) {
385 ::google::protobuf::Arena* submessage_arena = NULL;
386 if (message_arena != submessage_arena) {
387 horizontal_noise = ::google::protobuf::internal::GetOwnedMessage(
388 message_arena, horizontal_noise, submessage_arena);
394 horizontal_noise_ = horizontal_noise;
400 return this != internal_default_instance() && vertical_noise_ != NULL;
402 inline const ::ignition::msgs::SensorNoise& NavSatSensor_Sensing::_internal_vertical_noise()
const {
403 return *vertical_noise_;
406 const ::ignition::msgs::SensorNoise* p = vertical_noise_;
415 vertical_noise_ = NULL;
420 if (vertical_noise_ == NULL) {
421 auto* p = CreateMaybeMessage<::ignition::msgs::SensorNoise>(GetArenaNoVirtual());
425 return vertical_noise_;
428 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
429 if (message_arena == NULL) {
430 delete reinterpret_cast< ::google::protobuf::MessageLite*
>(vertical_noise_);
432 if (vertical_noise) {
433 ::google::protobuf::Arena* submessage_arena = NULL;
434 if (message_arena != submessage_arena) {
435 vertical_noise = ::google::protobuf::internal::GetOwnedMessage(
436 message_arena, vertical_noise, submessage_arena);
442 vertical_noise_ = vertical_noise;
452 return this != internal_default_instance() && header_ != NULL;
454 inline const ::ignition::msgs::Header& NavSatSensor::_internal_header()
const {
458 const ::ignition::msgs::Header* p = header_;
472 if (header_ == NULL) {
473 auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArenaNoVirtual());
480 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
481 if (message_arena == NULL) {
482 delete reinterpret_cast< ::google::protobuf::MessageLite*
>(header_);
485 ::google::protobuf::Arena* submessage_arena = NULL;
486 if (message_arena != submessage_arena) {
487 header = ::google::protobuf::internal::GetOwnedMessage(
488 message_arena, header, submessage_arena);
500 return this != internal_default_instance() && position_ != NULL;
503 if (GetArenaNoVirtual() == NULL && position_ != NULL) {
508 inline const ::ignition::msgs::NavSatSensor_Sensing& NavSatSensor::_internal_position()
const {
512 const ::ignition::msgs::NavSatSensor_Sensing* p = position_;
526 if (position_ == NULL) {
527 auto* p = CreateMaybeMessage<::ignition::msgs::NavSatSensor_Sensing>(GetArenaNoVirtual());
534 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
535 if (message_arena == NULL) {
539 ::google::protobuf::Arena* submessage_arena = NULL;
540 if (message_arena != submessage_arena) {
541 position = ::google::protobuf::internal::GetOwnedMessage(
542 message_arena, position, submessage_arena);
548 position_ = position;
554 return this != internal_default_instance() && velocity_ != NULL;
557 if (GetArenaNoVirtual() == NULL && velocity_ != NULL) {
562 inline const ::ignition::msgs::NavSatSensor_Sensing& NavSatSensor::_internal_velocity()
const {
566 const ::ignition::msgs::NavSatSensor_Sensing* p = velocity_;
580 if (velocity_ == NULL) {
581 auto* p = CreateMaybeMessage<::ignition::msgs::NavSatSensor_Sensing>(GetArenaNoVirtual());
588 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
589 if (message_arena == NULL) {
593 ::google::protobuf::Arena* submessage_arena = NULL;
594 if (message_arena != submessage_arena) {
595 velocity = ::google::protobuf::internal::GetOwnedMessage(
596 message_arena, velocity, submessage_arena);
602 velocity_ = velocity;
607 #pragma GCC diagnostic pop
626 #endif // PROTOBUF_INCLUDED_ignition_2fmsgs_2fnavsat_5fsensor_2eproto