Ignition Msgs

API Reference

5.8.1
gps_sensor.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: ignition/msgs/gps_sensor.proto
3 
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fgps_5fsensor_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fgps_5fsensor_2eproto
6 
7 #include <limits>
8 #include <string>
9 
10 #include <google/protobuf/port_def.inc>
11 #if PROTOBUF_VERSION < 3014000
12 #error This file was generated by a newer version of protoc which is
13 #error incompatible with your Protocol Buffer headers. Please update
14 #error your headers.
15 #endif
16 #if 3014000 < 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.
20 #endif
21 
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> // IWYU pragma: export
32 #include <google/protobuf/extension_set.h> // IWYU pragma: export
33 #include <google/protobuf/unknown_field_set.h>
36 #ifndef _MSC_VER
37 #pragma GCC system_header
38 #else
39 #pragma warning(push)
40 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
41 #endif
42 #ifdef __linux__
43 #include <sys/sysmacros.h>
44 #endif
45 #include <memory>
46 #include <ignition/msgs/Export.hh>
47 // @@protoc_insertion_point(includes)
48 #include <google/protobuf/port_def.inc>
49 #define PROTOBUF_INTERNAL_EXPORT_ignition_2fmsgs_2fgps_5fsensor_2eproto IGNITION_MSGS_VISIBLE
50 PROTOBUF_NAMESPACE_OPEN
51 namespace internal {
52 class AnyMetadata;
53 } // namespace internal
54 PROTOBUF_NAMESPACE_CLOSE
55 
56 // Internal implementation detail -- do not use these members.
58  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
59  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
60  static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
61  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
62  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[2]
63  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
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[];
67 };
68 extern IGNITION_MSGS_VISIBLE const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fgps_5fsensor_2eproto;
69 namespace ignition {
70 namespace msgs {
71 class GPSSensor;
72 class GPSSensorDefaultTypeInternal;
73 IGNITION_MSGS_VISIBLE extern GPSSensorDefaultTypeInternal _GPSSensor_default_instance_;
74 class GPSSensor_Sensing;
75 class GPSSensor_SensingDefaultTypeInternal;
76 IGNITION_MSGS_VISIBLE extern GPSSensor_SensingDefaultTypeInternal _GPSSensor_Sensing_default_instance_;
77 } // namespace msgs
78 } // namespace ignition
79 PROTOBUF_NAMESPACE_OPEN
80 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::GPSSensor* Arena::CreateMaybeMessage<::ignition::msgs::GPSSensor>(Arena*);
81 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::GPSSensor_Sensing* Arena::CreateMaybeMessage<::ignition::msgs::GPSSensor_Sensing>(Arena*);
82 PROTOBUF_NAMESPACE_CLOSE
83 namespace ignition {
84 namespace msgs {
85 
86 // ===================================================================
87 
88 class IGNITION_MSGS_VISIBLE GPSSensor_Sensing PROTOBUF_FINAL :
89  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.GPSSensor.Sensing) */ {
90  public:
91  inline GPSSensor_Sensing() : GPSSensor_Sensing(nullptr) {}
92  virtual ~GPSSensor_Sensing();
93 
94  GPSSensor_Sensing(const GPSSensor_Sensing& from);
95  GPSSensor_Sensing(GPSSensor_Sensing&& from) noexcept
96  : GPSSensor_Sensing() {
97  *this = ::std::move(from);
98  }
99 
100  inline GPSSensor_Sensing& operator=(const GPSSensor_Sensing& from) {
101  CopyFrom(from);
102  return *this;
103  }
104  inline GPSSensor_Sensing& operator=(GPSSensor_Sensing&& from) noexcept {
105  if (GetArena() == from.GetArena()) {
106  if (this != &from) InternalSwap(&from);
107  } else {
108  CopyFrom(from);
109  }
110  return *this;
111  }
112 
113  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
114  return GetDescriptor();
115  }
116  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
117  return GetMetadataStatic().descriptor;
118  }
119  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
120  return GetMetadataStatic().reflection;
121  }
122  static const GPSSensor_Sensing& default_instance();
123 
124  static inline const GPSSensor_Sensing* internal_default_instance() {
125  return reinterpret_cast<const GPSSensor_Sensing*>(
127  }
128  static constexpr int kIndexInFileMessages =
129  0;
130 
131  friend void swap(GPSSensor_Sensing& a, GPSSensor_Sensing& b) {
132  a.Swap(&b);
133  }
134  inline void Swap(GPSSensor_Sensing* other) {
135  if (other == this) return;
136  if (GetArena() == other->GetArena()) {
137  InternalSwap(other);
138  } else {
139  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
140  }
141  }
142  void UnsafeArenaSwap(GPSSensor_Sensing* other) {
143  if (other == this) return;
144  GOOGLE_DCHECK(GetArena() == other->GetArena());
145  InternalSwap(other);
146  }
147 
148  // implements Message ----------------------------------------------
149 
150  inline GPSSensor_Sensing* New() const final {
151  return CreateMaybeMessage<GPSSensor_Sensing>(nullptr);
152  }
153 
154  GPSSensor_Sensing* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
155  return CreateMaybeMessage<GPSSensor_Sensing>(arena);
156  }
157  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
158  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
159  void CopyFrom(const GPSSensor_Sensing& from);
160  void MergeFrom(const GPSSensor_Sensing& from);
161  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
162  bool IsInitialized() const final;
163 
164  size_t ByteSizeLong() const final;
165  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
166  ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
167  ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
168  int GetCachedSize() const final { return _cached_size_.Get(); }
169 
170  private:
171  inline void SharedCtor();
172  inline void SharedDtor();
173  void SetCachedSize(int size) const final;
174  void InternalSwap(GPSSensor_Sensing* other);
175  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
176  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
177  return "ignition.msgs.GPSSensor.Sensing";
178  }
179  protected:
180  explicit GPSSensor_Sensing(::PROTOBUF_NAMESPACE_ID::Arena* arena);
181  private:
182  static void ArenaDtor(void* object);
183  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
184  public:
185 
186  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
187  private:
188  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
189  ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_ignition_2fmsgs_2fgps_5fsensor_2eproto);
190  return ::descriptor_table_ignition_2fmsgs_2fgps_5fsensor_2eproto.file_level_metadata[kIndexInFileMessages];
191  }
192 
193  public:
194 
195  // nested types ----------------------------------------------------
196 
197  // accessors -------------------------------------------------------
198 
199  enum : int {
200  kHorizontalNoiseFieldNumber = 1,
201  kVerticalNoiseFieldNumber = 2,
202  };
203  // .ignition.msgs.SensorNoise horizontal_noise = 1;
204  bool has_horizontal_noise() const;
205  private:
206  bool _internal_has_horizontal_noise() const;
207  public:
209  const ::ignition::msgs::SensorNoise& horizontal_noise() const;
210  ::ignition::msgs::SensorNoise* release_horizontal_noise();
211  ::ignition::msgs::SensorNoise* mutable_horizontal_noise();
212  void set_allocated_horizontal_noise(::ignition::msgs::SensorNoise* horizontal_noise);
213  private:
214  const ::ignition::msgs::SensorNoise& _internal_horizontal_noise() const;
215  ::ignition::msgs::SensorNoise* _internal_mutable_horizontal_noise();
216  public:
218  ::ignition::msgs::SensorNoise* horizontal_noise);
219  ::ignition::msgs::SensorNoise* unsafe_arena_release_horizontal_noise();
220 
221  // .ignition.msgs.SensorNoise vertical_noise = 2;
222  bool has_vertical_noise() const;
223  private:
224  bool _internal_has_vertical_noise() const;
225  public:
227  const ::ignition::msgs::SensorNoise& vertical_noise() const;
228  ::ignition::msgs::SensorNoise* release_vertical_noise();
229  ::ignition::msgs::SensorNoise* mutable_vertical_noise();
230  void set_allocated_vertical_noise(::ignition::msgs::SensorNoise* vertical_noise);
231  private:
232  const ::ignition::msgs::SensorNoise& _internal_vertical_noise() const;
233  ::ignition::msgs::SensorNoise* _internal_mutable_vertical_noise();
234  public:
236  ::ignition::msgs::SensorNoise* vertical_noise);
237  ::ignition::msgs::SensorNoise* unsafe_arena_release_vertical_noise();
238 
239  // @@protoc_insertion_point(class_scope:ignition.msgs.GPSSensor.Sensing)
240  private:
241  class _Internal;
242 
243  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
244  typedef void InternalArenaConstructable_;
245  typedef void DestructorSkippable_;
246  ::ignition::msgs::SensorNoise* horizontal_noise_;
247  ::ignition::msgs::SensorNoise* vertical_noise_;
248  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
249  friend struct ::TableStruct_ignition_2fmsgs_2fgps_5fsensor_2eproto;
250 };
251 // -------------------------------------------------------------------
252 
253 class IGNITION_MSGS_VISIBLE GPSSensor PROTOBUF_FINAL :
254  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.GPSSensor) */ {
255  public:
256  inline GPSSensor() : GPSSensor(nullptr) {}
257  virtual ~GPSSensor();
258 
259  GPSSensor(const GPSSensor& from);
260  GPSSensor(GPSSensor&& from) noexcept
261  : GPSSensor() {
262  *this = ::std::move(from);
263  }
264 
265  inline GPSSensor& operator=(const GPSSensor& from) {
266  CopyFrom(from);
267  return *this;
268  }
269  inline GPSSensor& operator=(GPSSensor&& from) noexcept {
270  if (GetArena() == from.GetArena()) {
271  if (this != &from) InternalSwap(&from);
272  } else {
273  CopyFrom(from);
274  }
275  return *this;
276  }
277 
278  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
279  return GetDescriptor();
280  }
281  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
282  return GetMetadataStatic().descriptor;
283  }
284  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
285  return GetMetadataStatic().reflection;
286  }
287  static const GPSSensor& default_instance();
288 
289  static inline const GPSSensor* internal_default_instance() {
290  return reinterpret_cast<const GPSSensor*>(
292  }
293  static constexpr int kIndexInFileMessages =
294  1;
295 
296  friend void swap(GPSSensor& a, GPSSensor& b) {
297  a.Swap(&b);
298  }
299  inline void Swap(GPSSensor* other) {
300  if (other == this) return;
301  if (GetArena() == other->GetArena()) {
302  InternalSwap(other);
303  } else {
304  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
305  }
306  }
307  void UnsafeArenaSwap(GPSSensor* other) {
308  if (other == this) return;
309  GOOGLE_DCHECK(GetArena() == other->GetArena());
310  InternalSwap(other);
311  }
312 
313  // implements Message ----------------------------------------------
314 
315  inline GPSSensor* New() const final {
316  return CreateMaybeMessage<GPSSensor>(nullptr);
317  }
318 
319  GPSSensor* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
320  return CreateMaybeMessage<GPSSensor>(arena);
321  }
322  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
323  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
324  void CopyFrom(const GPSSensor& from);
325  void MergeFrom(const GPSSensor& from);
326  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
327  bool IsInitialized() const final;
328 
329  size_t ByteSizeLong() const final;
330  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
331  ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
332  ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
333  int GetCachedSize() const final { return _cached_size_.Get(); }
334 
335  private:
336  inline void SharedCtor();
337  inline void SharedDtor();
338  void SetCachedSize(int size) const final;
339  void InternalSwap(GPSSensor* other);
340  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
341  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
342  return "ignition.msgs.GPSSensor";
343  }
344  protected:
345  explicit GPSSensor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
346  private:
347  static void ArenaDtor(void* object);
348  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
349  public:
350 
351  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
352  private:
353  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
354  ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_ignition_2fmsgs_2fgps_5fsensor_2eproto);
355  return ::descriptor_table_ignition_2fmsgs_2fgps_5fsensor_2eproto.file_level_metadata[kIndexInFileMessages];
356  }
357 
358  public:
359 
360  // nested types ----------------------------------------------------
361 
362  typedef GPSSensor_Sensing Sensing;
363 
364  // accessors -------------------------------------------------------
365 
366  enum : int {
367  kHeaderFieldNumber = 1,
368  kPositionFieldNumber = 2,
369  kVelocityFieldNumber = 3,
370  };
371  // .ignition.msgs.Header header = 1;
372  bool has_header() const;
373  private:
374  bool _internal_has_header() const;
375  public:
376  void clear_header();
377  const ::ignition::msgs::Header& header() const;
378  ::ignition::msgs::Header* release_header();
379  ::ignition::msgs::Header* mutable_header();
380  void set_allocated_header(::ignition::msgs::Header* header);
381  private:
382  const ::ignition::msgs::Header& _internal_header() const;
383  ::ignition::msgs::Header* _internal_mutable_header();
384  public:
386  ::ignition::msgs::Header* header);
387  ::ignition::msgs::Header* unsafe_arena_release_header();
388 
389  // .ignition.msgs.GPSSensor.Sensing position = 2;
390  bool has_position() const;
391  private:
392  bool _internal_has_position() const;
393  public:
395  const ::ignition::msgs::GPSSensor_Sensing& position() const;
396  ::ignition::msgs::GPSSensor_Sensing* release_position();
397  ::ignition::msgs::GPSSensor_Sensing* mutable_position();
398  void set_allocated_position(::ignition::msgs::GPSSensor_Sensing* position);
399  private:
400  const ::ignition::msgs::GPSSensor_Sensing& _internal_position() const;
401  ::ignition::msgs::GPSSensor_Sensing* _internal_mutable_position();
402  public:
404  ::ignition::msgs::GPSSensor_Sensing* position);
405  ::ignition::msgs::GPSSensor_Sensing* unsafe_arena_release_position();
406 
407  // .ignition.msgs.GPSSensor.Sensing velocity = 3;
408  bool has_velocity() const;
409  private:
410  bool _internal_has_velocity() const;
411  public:
413  const ::ignition::msgs::GPSSensor_Sensing& velocity() const;
414  ::ignition::msgs::GPSSensor_Sensing* release_velocity();
415  ::ignition::msgs::GPSSensor_Sensing* mutable_velocity();
416  void set_allocated_velocity(::ignition::msgs::GPSSensor_Sensing* velocity);
417  private:
418  const ::ignition::msgs::GPSSensor_Sensing& _internal_velocity() const;
419  ::ignition::msgs::GPSSensor_Sensing* _internal_mutable_velocity();
420  public:
422  ::ignition::msgs::GPSSensor_Sensing* velocity);
423  ::ignition::msgs::GPSSensor_Sensing* unsafe_arena_release_velocity();
424 
425  // @@protoc_insertion_point(class_scope:ignition.msgs.GPSSensor)
426  private:
427  class _Internal;
428 
429  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
430  typedef void InternalArenaConstructable_;
431  typedef void DestructorSkippable_;
432  ::ignition::msgs::Header* header_;
433  ::ignition::msgs::GPSSensor_Sensing* position_;
434  ::ignition::msgs::GPSSensor_Sensing* velocity_;
435  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
436  friend struct ::TableStruct_ignition_2fmsgs_2fgps_5fsensor_2eproto;
437 };
438 // ===================================================================
439 
440 
441 // ===================================================================
442 
443 #ifdef __GNUC__
444  #pragma GCC diagnostic push
445  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
446 #endif // __GNUC__
447 // GPSSensor_Sensing
448 
449 // .ignition.msgs.SensorNoise horizontal_noise = 1;
450 inline bool GPSSensor_Sensing::_internal_has_horizontal_noise() const {
451  return this != internal_default_instance() && horizontal_noise_ != nullptr;
452 }
453 inline bool GPSSensor_Sensing::has_horizontal_noise() const {
454  return _internal_has_horizontal_noise();
455 }
456 inline const ::ignition::msgs::SensorNoise& GPSSensor_Sensing::_internal_horizontal_noise() const {
457  const ::ignition::msgs::SensorNoise* p = horizontal_noise_;
458  return p != nullptr ? *p : reinterpret_cast<const ::ignition::msgs::SensorNoise&>(
460 }
461 inline const ::ignition::msgs::SensorNoise& GPSSensor_Sensing::horizontal_noise() const {
462  // @@protoc_insertion_point(field_get:ignition.msgs.GPSSensor.Sensing.horizontal_noise)
463  return _internal_horizontal_noise();
464 }
465 inline void GPSSensor_Sensing::unsafe_arena_set_allocated_horizontal_noise(
466  ::ignition::msgs::SensorNoise* horizontal_noise) {
467  if (GetArena() == nullptr) {
468  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(horizontal_noise_);
469  }
470  horizontal_noise_ = horizontal_noise;
471  if (horizontal_noise) {
472 
473  } else {
474 
475  }
476  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.GPSSensor.Sensing.horizontal_noise)
477 }
478 inline ::ignition::msgs::SensorNoise* GPSSensor_Sensing::release_horizontal_noise() {
479 
480  ::ignition::msgs::SensorNoise* temp = horizontal_noise_;
481  horizontal_noise_ = nullptr;
482  if (GetArena() != nullptr) {
483  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
484  }
485  return temp;
486 }
487 inline ::ignition::msgs::SensorNoise* GPSSensor_Sensing::unsafe_arena_release_horizontal_noise() {
488  // @@protoc_insertion_point(field_release:ignition.msgs.GPSSensor.Sensing.horizontal_noise)
489 
490  ::ignition::msgs::SensorNoise* temp = horizontal_noise_;
491  horizontal_noise_ = nullptr;
492  return temp;
493 }
494 inline ::ignition::msgs::SensorNoise* GPSSensor_Sensing::_internal_mutable_horizontal_noise() {
495 
496  if (horizontal_noise_ == nullptr) {
497  auto* p = CreateMaybeMessage<::ignition::msgs::SensorNoise>(GetArena());
498  horizontal_noise_ = p;
499  }
500  return horizontal_noise_;
501 }
502 inline ::ignition::msgs::SensorNoise* GPSSensor_Sensing::mutable_horizontal_noise() {
503  // @@protoc_insertion_point(field_mutable:ignition.msgs.GPSSensor.Sensing.horizontal_noise)
504  return _internal_mutable_horizontal_noise();
505 }
506 inline void GPSSensor_Sensing::set_allocated_horizontal_noise(::ignition::msgs::SensorNoise* horizontal_noise) {
507  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
508  if (message_arena == nullptr) {
509  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(horizontal_noise_);
510  }
511  if (horizontal_noise) {
512  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
513  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(horizontal_noise)->GetArena();
514  if (message_arena != submessage_arena) {
515  horizontal_noise = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
516  message_arena, horizontal_noise, submessage_arena);
517  }
518 
519  } else {
520 
521  }
522  horizontal_noise_ = horizontal_noise;
523  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.GPSSensor.Sensing.horizontal_noise)
524 }
525 
526 // .ignition.msgs.SensorNoise vertical_noise = 2;
527 inline bool GPSSensor_Sensing::_internal_has_vertical_noise() const {
528  return this != internal_default_instance() && vertical_noise_ != nullptr;
529 }
530 inline bool GPSSensor_Sensing::has_vertical_noise() const {
531  return _internal_has_vertical_noise();
532 }
533 inline const ::ignition::msgs::SensorNoise& GPSSensor_Sensing::_internal_vertical_noise() const {
534  const ::ignition::msgs::SensorNoise* p = vertical_noise_;
535  return p != nullptr ? *p : reinterpret_cast<const ::ignition::msgs::SensorNoise&>(
537 }
538 inline const ::ignition::msgs::SensorNoise& GPSSensor_Sensing::vertical_noise() const {
539  // @@protoc_insertion_point(field_get:ignition.msgs.GPSSensor.Sensing.vertical_noise)
540  return _internal_vertical_noise();
541 }
542 inline void GPSSensor_Sensing::unsafe_arena_set_allocated_vertical_noise(
543  ::ignition::msgs::SensorNoise* vertical_noise) {
544  if (GetArena() == nullptr) {
545  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(vertical_noise_);
546  }
547  vertical_noise_ = vertical_noise;
548  if (vertical_noise) {
549 
550  } else {
551 
552  }
553  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.GPSSensor.Sensing.vertical_noise)
554 }
555 inline ::ignition::msgs::SensorNoise* GPSSensor_Sensing::release_vertical_noise() {
556 
557  ::ignition::msgs::SensorNoise* temp = vertical_noise_;
558  vertical_noise_ = nullptr;
559  if (GetArena() != nullptr) {
560  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
561  }
562  return temp;
563 }
564 inline ::ignition::msgs::SensorNoise* GPSSensor_Sensing::unsafe_arena_release_vertical_noise() {
565  // @@protoc_insertion_point(field_release:ignition.msgs.GPSSensor.Sensing.vertical_noise)
566 
567  ::ignition::msgs::SensorNoise* temp = vertical_noise_;
568  vertical_noise_ = nullptr;
569  return temp;
570 }
571 inline ::ignition::msgs::SensorNoise* GPSSensor_Sensing::_internal_mutable_vertical_noise() {
572 
573  if (vertical_noise_ == nullptr) {
574  auto* p = CreateMaybeMessage<::ignition::msgs::SensorNoise>(GetArena());
575  vertical_noise_ = p;
576  }
577  return vertical_noise_;
578 }
579 inline ::ignition::msgs::SensorNoise* GPSSensor_Sensing::mutable_vertical_noise() {
580  // @@protoc_insertion_point(field_mutable:ignition.msgs.GPSSensor.Sensing.vertical_noise)
581  return _internal_mutable_vertical_noise();
582 }
583 inline void GPSSensor_Sensing::set_allocated_vertical_noise(::ignition::msgs::SensorNoise* vertical_noise) {
584  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
585  if (message_arena == nullptr) {
586  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(vertical_noise_);
587  }
588  if (vertical_noise) {
589  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
590  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(vertical_noise)->GetArena();
591  if (message_arena != submessage_arena) {
592  vertical_noise = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
593  message_arena, vertical_noise, submessage_arena);
594  }
595 
596  } else {
597 
598  }
599  vertical_noise_ = vertical_noise;
600  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.GPSSensor.Sensing.vertical_noise)
601 }
602 
603 // -------------------------------------------------------------------
604 
605 // GPSSensor
606 
607 // .ignition.msgs.Header header = 1;
608 inline bool GPSSensor::_internal_has_header() const {
609  return this != internal_default_instance() && header_ != nullptr;
610 }
611 inline bool GPSSensor::has_header() const {
612  return _internal_has_header();
613 }
614 inline const ::ignition::msgs::Header& GPSSensor::_internal_header() const {
615  const ::ignition::msgs::Header* p = header_;
616  return p != nullptr ? *p : reinterpret_cast<const ::ignition::msgs::Header&>(
618 }
619 inline const ::ignition::msgs::Header& GPSSensor::header() const {
620  // @@protoc_insertion_point(field_get:ignition.msgs.GPSSensor.header)
621  return _internal_header();
622 }
623 inline void GPSSensor::unsafe_arena_set_allocated_header(
624  ::ignition::msgs::Header* header) {
625  if (GetArena() == nullptr) {
626  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(header_);
627  }
628  header_ = header;
629  if (header) {
630 
631  } else {
632 
633  }
634  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.GPSSensor.header)
635 }
636 inline ::ignition::msgs::Header* GPSSensor::release_header() {
637 
638  ::ignition::msgs::Header* temp = header_;
639  header_ = nullptr;
640  if (GetArena() != nullptr) {
641  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
642  }
643  return temp;
644 }
645 inline ::ignition::msgs::Header* GPSSensor::unsafe_arena_release_header() {
646  // @@protoc_insertion_point(field_release:ignition.msgs.GPSSensor.header)
647 
648  ::ignition::msgs::Header* temp = header_;
649  header_ = nullptr;
650  return temp;
651 }
652 inline ::ignition::msgs::Header* GPSSensor::_internal_mutable_header() {
653 
654  if (header_ == nullptr) {
655  auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArena());
656  header_ = p;
657  }
658  return header_;
659 }
660 inline ::ignition::msgs::Header* GPSSensor::mutable_header() {
661  // @@protoc_insertion_point(field_mutable:ignition.msgs.GPSSensor.header)
662  return _internal_mutable_header();
663 }
664 inline void GPSSensor::set_allocated_header(::ignition::msgs::Header* header) {
665  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
666  if (message_arena == nullptr) {
667  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(header_);
668  }
669  if (header) {
670  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
671  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(header)->GetArena();
672  if (message_arena != submessage_arena) {
673  header = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
674  message_arena, header, submessage_arena);
675  }
676 
677  } else {
678 
679  }
680  header_ = header;
681  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.GPSSensor.header)
682 }
683 
684 // .ignition.msgs.GPSSensor.Sensing position = 2;
685 inline bool GPSSensor::_internal_has_position() const {
686  return this != internal_default_instance() && position_ != nullptr;
687 }
688 inline bool GPSSensor::has_position() const {
689  return _internal_has_position();
690 }
691 inline void GPSSensor::clear_position() {
692  if (GetArena() == nullptr && position_ != nullptr) {
693  delete position_;
694  }
695  position_ = nullptr;
696 }
697 inline const ::ignition::msgs::GPSSensor_Sensing& GPSSensor::_internal_position() const {
698  const ::ignition::msgs::GPSSensor_Sensing* p = position_;
699  return p != nullptr ? *p : reinterpret_cast<const ::ignition::msgs::GPSSensor_Sensing&>(
701 }
702 inline const ::ignition::msgs::GPSSensor_Sensing& GPSSensor::position() const {
703  // @@protoc_insertion_point(field_get:ignition.msgs.GPSSensor.position)
704  return _internal_position();
705 }
706 inline void GPSSensor::unsafe_arena_set_allocated_position(
707  ::ignition::msgs::GPSSensor_Sensing* position) {
708  if (GetArena() == nullptr) {
709  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(position_);
710  }
711  position_ = position;
712  if (position) {
713 
714  } else {
715 
716  }
717  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.GPSSensor.position)
718 }
719 inline ::ignition::msgs::GPSSensor_Sensing* GPSSensor::release_position() {
720 
721  ::ignition::msgs::GPSSensor_Sensing* temp = position_;
722  position_ = nullptr;
723  if (GetArena() != nullptr) {
724  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
725  }
726  return temp;
727 }
728 inline ::ignition::msgs::GPSSensor_Sensing* GPSSensor::unsafe_arena_release_position() {
729  // @@protoc_insertion_point(field_release:ignition.msgs.GPSSensor.position)
730 
731  ::ignition::msgs::GPSSensor_Sensing* temp = position_;
732  position_ = nullptr;
733  return temp;
734 }
735 inline ::ignition::msgs::GPSSensor_Sensing* GPSSensor::_internal_mutable_position() {
736 
737  if (position_ == nullptr) {
738  auto* p = CreateMaybeMessage<::ignition::msgs::GPSSensor_Sensing>(GetArena());
739  position_ = p;
740  }
741  return position_;
742 }
743 inline ::ignition::msgs::GPSSensor_Sensing* GPSSensor::mutable_position() {
744  // @@protoc_insertion_point(field_mutable:ignition.msgs.GPSSensor.position)
745  return _internal_mutable_position();
746 }
747 inline void GPSSensor::set_allocated_position(::ignition::msgs::GPSSensor_Sensing* position) {
748  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
749  if (message_arena == nullptr) {
750  delete position_;
751  }
752  if (position) {
753  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
754  ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(position);
755  if (message_arena != submessage_arena) {
756  position = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
757  message_arena, position, submessage_arena);
758  }
759 
760  } else {
761 
762  }
763  position_ = position;
764  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.GPSSensor.position)
765 }
766 
767 // .ignition.msgs.GPSSensor.Sensing velocity = 3;
768 inline bool GPSSensor::_internal_has_velocity() const {
769  return this != internal_default_instance() && velocity_ != nullptr;
770 }
771 inline bool GPSSensor::has_velocity() const {
772  return _internal_has_velocity();
773 }
774 inline void GPSSensor::clear_velocity() {
775  if (GetArena() == nullptr && velocity_ != nullptr) {
776  delete velocity_;
777  }
778  velocity_ = nullptr;
779 }
780 inline const ::ignition::msgs::GPSSensor_Sensing& GPSSensor::_internal_velocity() const {
781  const ::ignition::msgs::GPSSensor_Sensing* p = velocity_;
782  return p != nullptr ? *p : reinterpret_cast<const ::ignition::msgs::GPSSensor_Sensing&>(
784 }
785 inline const ::ignition::msgs::GPSSensor_Sensing& GPSSensor::velocity() const {
786  // @@protoc_insertion_point(field_get:ignition.msgs.GPSSensor.velocity)
787  return _internal_velocity();
788 }
789 inline void GPSSensor::unsafe_arena_set_allocated_velocity(
790  ::ignition::msgs::GPSSensor_Sensing* velocity) {
791  if (GetArena() == nullptr) {
792  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(velocity_);
793  }
794  velocity_ = velocity;
795  if (velocity) {
796 
797  } else {
798 
799  }
800  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.GPSSensor.velocity)
801 }
802 inline ::ignition::msgs::GPSSensor_Sensing* GPSSensor::release_velocity() {
803 
804  ::ignition::msgs::GPSSensor_Sensing* temp = velocity_;
805  velocity_ = nullptr;
806  if (GetArena() != nullptr) {
807  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
808  }
809  return temp;
810 }
811 inline ::ignition::msgs::GPSSensor_Sensing* GPSSensor::unsafe_arena_release_velocity() {
812  // @@protoc_insertion_point(field_release:ignition.msgs.GPSSensor.velocity)
813 
814  ::ignition::msgs::GPSSensor_Sensing* temp = velocity_;
815  velocity_ = nullptr;
816  return temp;
817 }
818 inline ::ignition::msgs::GPSSensor_Sensing* GPSSensor::_internal_mutable_velocity() {
819 
820  if (velocity_ == nullptr) {
821  auto* p = CreateMaybeMessage<::ignition::msgs::GPSSensor_Sensing>(GetArena());
822  velocity_ = p;
823  }
824  return velocity_;
825 }
826 inline ::ignition::msgs::GPSSensor_Sensing* GPSSensor::mutable_velocity() {
827  // @@protoc_insertion_point(field_mutable:ignition.msgs.GPSSensor.velocity)
828  return _internal_mutable_velocity();
829 }
830 inline void GPSSensor::set_allocated_velocity(::ignition::msgs::GPSSensor_Sensing* velocity) {
831  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
832  if (message_arena == nullptr) {
833  delete velocity_;
834  }
835  if (velocity) {
836  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
837  ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(velocity);
838  if (message_arena != submessage_arena) {
839  velocity = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
840  message_arena, velocity, submessage_arena);
841  }
842 
843  } else {
844 
845  }
846  velocity_ = velocity;
847  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.GPSSensor.velocity)
848 }
849 
850 #ifdef __GNUC__
851  #pragma GCC diagnostic pop
852 #endif // __GNUC__
853 // -------------------------------------------------------------------
854 
855 
860 // @@protoc_insertion_point(namespace_scope)
861 
862 } // namespace msgs
863 } // namespace ignition
864 
865 #ifdef _MSC_VER
866 #pragma warning(pop)
867 #endif
868 // @@protoc_insertion_point(global_scope)
869 
870 #include <google/protobuf/port_undef.inc>
871 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fgps_5fsensor_2eproto
Definition: actor.pb.h:98
GPSSensor_Sensing(::PROTOBUF_NAMESPACE_ID::Arena *arena)
::ignition::msgs::GPSSensor_Sensing * unsafe_arena_release_velocity()
::ignition::msgs::GPSSensor_Sensing * release_position()
void Swap(GPSSensor *other)
Definition: gps_sensor.pb.h:299
GPSSensor_Sensing & operator=(GPSSensor_Sensing &&from) noexcept
Definition: gps_sensor.pb.h:104
GPSSensor_Sensing * New() const final
Definition: gps_sensor.pb.h:150
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: gps_sensor.pb.h:119
GPSSensor_Sensing * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: gps_sensor.pb.h:154
GPSSensor_Sensing Sensing
Definition: gps_sensor.pb.h:362
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
::ignition::msgs::SensorNoise * release_horizontal_noise()
void set_allocated_vertical_noise(::ignition::msgs::SensorNoise *vertical_noise)
::ignition::msgs::Header * release_header()
void unsafe_arena_set_allocated_vertical_noise(::ignition::msgs::SensorNoise *vertical_noise)
void Swap(GPSSensor_Sensing *other)
Definition: gps_sensor.pb.h:134
::ignition::msgs::SensorNoise * mutable_horizontal_noise()
::ignition::msgs::GPSSensor_Sensing * mutable_velocity()
::ignition::msgs::Header * mutable_header()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: gps_sensor.pb.h:113
GPSSensor(GPSSensor &&from) noexcept
Definition: gps_sensor.pb.h:260
GPSSensor * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: gps_sensor.pb.h:319
GPSSensor(::PROTOBUF_NAMESPACE_ID::Arena *arena)
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
GPSSensor & operator=(GPSSensor &&from) noexcept
Definition: gps_sensor.pb.h:269
void unsafe_arena_set_allocated_horizontal_noise(::ignition::msgs::SensorNoise *horizontal_noise)
GPSSensor * New() const final
Definition: gps_sensor.pb.h:315
GPSSensor_Sensing(const GPSSensor_Sensing &from)
static const GPSSensor * internal_default_instance()
Definition: gps_sensor.pb.h:289
GPSSensor_Sensing(GPSSensor_Sensing &&from) noexcept
Definition: gps_sensor.pb.h:95
void unsafe_arena_set_allocated_position(::ignition::msgs::GPSSensor_Sensing *position)
GPSSensor(const GPSSensor &from)
::ignition::msgs::GPSSensor_Sensing * mutable_position()
void unsafe_arena_set_allocated_header(::ignition::msgs::Header *header)
void set_allocated_horizontal_noise(::ignition::msgs::SensorNoise *horizontal_noise)
const ::ignition::msgs::GPSSensor_Sensing & velocity() const
void CopyFrom(const GPSSensor_Sensing &from)
static const GPSSensor_Sensing * internal_default_instance()
Definition: gps_sensor.pb.h:124
GPSSensor_Sensing()
Definition: gps_sensor.pb.h:91
void UnsafeArenaSwap(GPSSensor *other)
Definition: gps_sensor.pb.h:307
const ::ignition::msgs::SensorNoise & horizontal_noise() const
void set_allocated_position(::ignition::msgs::GPSSensor_Sensing *position)
::ignition::msgs::Header * unsafe_arena_release_header()
void UnsafeArenaSwap(GPSSensor_Sensing *other)
Definition: gps_sensor.pb.h:142
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
void unsafe_arena_set_allocated_velocity(::ignition::msgs::GPSSensor_Sensing *velocity)
::ignition::msgs::SensorNoise * unsafe_arena_release_horizontal_noise()
void set_allocated_header(::ignition::msgs::Header *header)
::ignition::msgs::GPSSensor_Sensing * unsafe_arena_release_position()
::ignition::msgs::SensorNoise * release_vertical_noise()
::ignition::msgs::SensorNoise * unsafe_arena_release_vertical_noise()
const ::ignition::msgs::GPSSensor_Sensing & position() const
void MergeFrom(const GPSSensor &from)
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
void set_allocated_velocity(::ignition::msgs::GPSSensor_Sensing *velocity)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: gps_sensor.pb.h:116
::ignition::msgs::SensorNoise * mutable_vertical_noise()
GPSSensor & operator=(const GPSSensor &from)
Definition: gps_sensor.pb.h:265
GPSSensor()
Definition: gps_sensor.pb.h:256
static const GPSSensor_Sensing & default_instance()
friend void swap(GPSSensor &a, GPSSensor &b)
Definition: gps_sensor.pb.h:296
const ::ignition::msgs::SensorNoise & vertical_noise() const
static const GPSSensor & default_instance()
GPSSensor_Sensing & operator=(const GPSSensor_Sensing &from)
Definition: gps_sensor.pb.h:100
friend void swap(GPSSensor_Sensing &a, GPSSensor_Sensing &b)
Definition: gps_sensor.pb.h:131
::ignition::msgs::GPSSensor_Sensing * release_velocity()
void CopyFrom(const GPSSensor &from)
const ::ignition::msgs::Header & header() const
void MergeFrom(const GPSSensor_Sensing &from)
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fgps_5fsensor_2eproto
std::shared_ptr< GPSSensor > GPSSensorSharedPtr
Definition: gps_sensor.pb.h:858
IGNITION_MSGS_VISIBLE GPSSensor_SensingDefaultTypeInternal _GPSSensor_Sensing_default_instance_
std::unique_ptr< GPSSensor > GPSSensorUniquePtr
Definition: gps_sensor.pb.h:856
IGNITION_MSGS_VISIBLE SensorNoiseDefaultTypeInternal _SensorNoise_default_instance_
std::unique_ptr< const GPSSensor > ConstGPSSensorUniquePtr
Definition: gps_sensor.pb.h:857
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
IGNITION_MSGS_VISIBLE GPSSensorDefaultTypeInternal _GPSSensor_default_instance_
std::shared_ptr< const GPSSensor > ConstGPSSensorSharedPtr
Definition: gps_sensor.pb.h:859
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[2] PROTOBUF_SECTION_VARIABLE(protodesc_cold)