Gazebo Msgs

API Reference

9.5.0
imu_sensor.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: gz/msgs/imu_sensor.proto
3 
4 #ifndef PROTOBUF_INCLUDED_gz_2fmsgs_2fimu_5fsensor_2eproto
5 #define PROTOBUF_INCLUDED_gz_2fmsgs_2fimu_5fsensor_2eproto
6 
7 #include <string>
8 
9 #include <google/protobuf/stubs/common.h>
10 
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
14 #error your headers.
15 #endif
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.
20 #endif
21 
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> // IWYU pragma: export
31 #include <google/protobuf/extension_set.h> // IWYU pragma: export
32 #include <google/protobuf/unknown_field_set.h>
33 #include "gz/msgs/sensor_noise.pb.h"
34 #include "gz/msgs/header.pb.h"
35 #include "gz/msgs/vector3d.pb.h"
36 // @@protoc_insertion_point(includes)
37 #define PROTOBUF_INTERNAL_EXPORT_protobuf_gz_2fmsgs_2fimu_5fsensor_2eproto GZ_MSGS_VISIBLE
38 
40 // Internal implementation detail -- do not use these members.
41 struct GZ_MSGS_VISIBLE TableStruct {
42  static const ::google::protobuf::internal::ParseTableField entries[];
43  static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
44  static const ::google::protobuf::internal::ParseTable schema[4];
45  static const ::google::protobuf::internal::FieldMetadata field_metadata[];
46  static const ::google::protobuf::internal::SerializationTable serialization_table[];
47  static const ::google::protobuf::uint32 offsets[];
48 };
49 void GZ_MSGS_VISIBLE AddDescriptors();
50 } // namespace protobuf_gz_2fmsgs_2fimu_5fsensor_2eproto
51 namespace gz {
52 namespace msgs {
53 class IMUSensor;
54 class IMUSensorDefaultTypeInternal;
55 GZ_MSGS_VISIBLE extern IMUSensorDefaultTypeInternal _IMUSensor_default_instance_;
56 class IMUSensor_AngularVelocity;
57 class IMUSensor_AngularVelocityDefaultTypeInternal;
58 GZ_MSGS_VISIBLE extern IMUSensor_AngularVelocityDefaultTypeInternal _IMUSensor_AngularVelocity_default_instance_;
59 class IMUSensor_LinearAcceleration;
60 class IMUSensor_LinearAccelerationDefaultTypeInternal;
61 GZ_MSGS_VISIBLE extern IMUSensor_LinearAccelerationDefaultTypeInternal _IMUSensor_LinearAcceleration_default_instance_;
62 class IMUSensor_OrientationReferenceFrame;
63 class IMUSensor_OrientationReferenceFrameDefaultTypeInternal;
64 GZ_MSGS_VISIBLE extern IMUSensor_OrientationReferenceFrameDefaultTypeInternal _IMUSensor_OrientationReferenceFrame_default_instance_;
65 } // namespace msgs
66 } // namespace gz
67 namespace google {
68 namespace protobuf {
69 template<> GZ_MSGS_VISIBLE ::gz::msgs::IMUSensor* Arena::CreateMaybeMessage<::gz::msgs::IMUSensor>(Arena*);
70 template<> GZ_MSGS_VISIBLE ::gz::msgs::IMUSensor_AngularVelocity* Arena::CreateMaybeMessage<::gz::msgs::IMUSensor_AngularVelocity>(Arena*);
71 template<> GZ_MSGS_VISIBLE ::gz::msgs::IMUSensor_LinearAcceleration* Arena::CreateMaybeMessage<::gz::msgs::IMUSensor_LinearAcceleration>(Arena*);
72 template<> GZ_MSGS_VISIBLE ::gz::msgs::IMUSensor_OrientationReferenceFrame* Arena::CreateMaybeMessage<::gz::msgs::IMUSensor_OrientationReferenceFrame>(Arena*);
73 } // namespace protobuf
74 } // namespace google
75 namespace gz {
76 namespace msgs {
77 
78 // ===================================================================
79 
80 class GZ_MSGS_VISIBLE IMUSensor_AngularVelocity : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:gz.msgs.IMUSensor.AngularVelocity) */ {
81  public:
83  virtual ~IMUSensor_AngularVelocity();
84 
86 
88  CopyFrom(from);
89  return *this;
90  }
91  #if LANG_CXX11
94  *this = ::std::move(from);
95  }
96 
97  inline IMUSensor_AngularVelocity& operator=(IMUSensor_AngularVelocity&& from) noexcept {
98  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
99  if (this != &from) InternalSwap(&from);
100  } else {
101  CopyFrom(from);
102  }
103  return *this;
104  }
105  #endif
106  static const ::google::protobuf::Descriptor* descriptor();
107  static const IMUSensor_AngularVelocity& default_instance();
108 
109  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
111  return reinterpret_cast<const IMUSensor_AngularVelocity*>(
113  }
114  static constexpr int kIndexInFileMessages =
115  0;
116 
117  void Swap(IMUSensor_AngularVelocity* other);
119  a.Swap(&b);
120  }
121 
122  // implements Message ----------------------------------------------
123 
124  inline IMUSensor_AngularVelocity* New() const final {
125  return CreateMaybeMessage<IMUSensor_AngularVelocity>(NULL);
126  }
127 
128  IMUSensor_AngularVelocity* New(::google::protobuf::Arena* arena) const final {
129  return CreateMaybeMessage<IMUSensor_AngularVelocity>(arena);
130  }
131  void CopyFrom(const ::google::protobuf::Message& from) final;
132  void MergeFrom(const ::google::protobuf::Message& from) final;
133  void CopyFrom(const IMUSensor_AngularVelocity& from);
134  void MergeFrom(const IMUSensor_AngularVelocity& from);
135  void Clear() final;
136  bool IsInitialized() const final;
137 
138  size_t ByteSizeLong() const final;
139  bool MergePartialFromCodedStream(
140  ::google::protobuf::io::CodedInputStream* input) final;
141  void SerializeWithCachedSizes(
142  ::google::protobuf::io::CodedOutputStream* output) const final;
143  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
144  bool deterministic, ::google::protobuf::uint8* target) const final;
145  int GetCachedSize() const final { return _cached_size_.Get(); }
146 
147  private:
148  void SharedCtor();
149  void SharedDtor();
150  void SetCachedSize(int size) const final;
151  void InternalSwap(IMUSensor_AngularVelocity* other);
152  private:
153  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
154  return NULL;
155  }
156  inline void* MaybeArenaPtr() const {
157  return NULL;
158  }
159  public:
160 
161  ::google::protobuf::Metadata GetMetadata() const final;
162 
163  // nested types ----------------------------------------------------
164 
165  // accessors -------------------------------------------------------
166 
167  // .gz.msgs.SensorNoise x_noise = 1;
168  bool has_x_noise() const;
169  void clear_x_noise();
170  static const int kXNoiseFieldNumber = 1;
171  private:
172  const ::gz::msgs::SensorNoise& _internal_x_noise() const;
173  public:
174  const ::gz::msgs::SensorNoise& x_noise() const;
175  ::gz::msgs::SensorNoise* release_x_noise();
176  ::gz::msgs::SensorNoise* mutable_x_noise();
177  void set_allocated_x_noise(::gz::msgs::SensorNoise* x_noise);
178 
179  // .gz.msgs.SensorNoise y_noise = 2;
180  bool has_y_noise() const;
181  void clear_y_noise();
182  static const int kYNoiseFieldNumber = 2;
183  private:
184  const ::gz::msgs::SensorNoise& _internal_y_noise() const;
185  public:
186  const ::gz::msgs::SensorNoise& y_noise() const;
187  ::gz::msgs::SensorNoise* release_y_noise();
188  ::gz::msgs::SensorNoise* mutable_y_noise();
189  void set_allocated_y_noise(::gz::msgs::SensorNoise* y_noise);
190 
191  // .gz.msgs.SensorNoise z_noise = 3;
192  bool has_z_noise() const;
193  void clear_z_noise();
194  static const int kZNoiseFieldNumber = 3;
195  private:
196  const ::gz::msgs::SensorNoise& _internal_z_noise() const;
197  public:
198  const ::gz::msgs::SensorNoise& z_noise() const;
199  ::gz::msgs::SensorNoise* release_z_noise();
200  ::gz::msgs::SensorNoise* mutable_z_noise();
201  void set_allocated_z_noise(::gz::msgs::SensorNoise* z_noise);
202 
203  // @@protoc_insertion_point(class_scope:gz.msgs.IMUSensor.AngularVelocity)
204  private:
205 
206  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
207  ::gz::msgs::SensorNoise* x_noise_;
208  ::gz::msgs::SensorNoise* y_noise_;
209  ::gz::msgs::SensorNoise* z_noise_;
210  mutable ::google::protobuf::internal::CachedSize _cached_size_;
211  friend struct ::protobuf_gz_2fmsgs_2fimu_5fsensor_2eproto::TableStruct;
212 };
213 // -------------------------------------------------------------------
214 
215 class GZ_MSGS_VISIBLE IMUSensor_LinearAcceleration : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:gz.msgs.IMUSensor.LinearAcceleration) */ {
216  public:
218  virtual ~IMUSensor_LinearAcceleration();
219 
221 
223  CopyFrom(from);
224  return *this;
225  }
226  #if LANG_CXX11
229  *this = ::std::move(from);
230  }
231 
232  inline IMUSensor_LinearAcceleration& operator=(IMUSensor_LinearAcceleration&& from) noexcept {
233  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
234  if (this != &from) InternalSwap(&from);
235  } else {
236  CopyFrom(from);
237  }
238  return *this;
239  }
240  #endif
241  static const ::google::protobuf::Descriptor* descriptor();
242  static const IMUSensor_LinearAcceleration& default_instance();
243 
244  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
246  return reinterpret_cast<const IMUSensor_LinearAcceleration*>(
248  }
249  static constexpr int kIndexInFileMessages =
250  1;
251 
252  void Swap(IMUSensor_LinearAcceleration* other);
254  a.Swap(&b);
255  }
256 
257  // implements Message ----------------------------------------------
258 
259  inline IMUSensor_LinearAcceleration* New() const final {
260  return CreateMaybeMessage<IMUSensor_LinearAcceleration>(NULL);
261  }
262 
263  IMUSensor_LinearAcceleration* New(::google::protobuf::Arena* arena) const final {
264  return CreateMaybeMessage<IMUSensor_LinearAcceleration>(arena);
265  }
266  void CopyFrom(const ::google::protobuf::Message& from) final;
267  void MergeFrom(const ::google::protobuf::Message& from) final;
268  void CopyFrom(const IMUSensor_LinearAcceleration& from);
269  void MergeFrom(const IMUSensor_LinearAcceleration& from);
270  void Clear() final;
271  bool IsInitialized() const final;
272 
273  size_t ByteSizeLong() const final;
274  bool MergePartialFromCodedStream(
275  ::google::protobuf::io::CodedInputStream* input) final;
276  void SerializeWithCachedSizes(
277  ::google::protobuf::io::CodedOutputStream* output) const final;
278  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
279  bool deterministic, ::google::protobuf::uint8* target) const final;
280  int GetCachedSize() const final { return _cached_size_.Get(); }
281 
282  private:
283  void SharedCtor();
284  void SharedDtor();
285  void SetCachedSize(int size) const final;
286  void InternalSwap(IMUSensor_LinearAcceleration* other);
287  private:
288  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
289  return NULL;
290  }
291  inline void* MaybeArenaPtr() const {
292  return NULL;
293  }
294  public:
295 
296  ::google::protobuf::Metadata GetMetadata() const final;
297 
298  // nested types ----------------------------------------------------
299 
300  // accessors -------------------------------------------------------
301 
302  // .gz.msgs.SensorNoise x_noise = 1;
303  bool has_x_noise() const;
304  void clear_x_noise();
305  static const int kXNoiseFieldNumber = 1;
306  private:
307  const ::gz::msgs::SensorNoise& _internal_x_noise() const;
308  public:
309  const ::gz::msgs::SensorNoise& x_noise() const;
310  ::gz::msgs::SensorNoise* release_x_noise();
311  ::gz::msgs::SensorNoise* mutable_x_noise();
312  void set_allocated_x_noise(::gz::msgs::SensorNoise* x_noise);
313 
314  // .gz.msgs.SensorNoise y_noise = 2;
315  bool has_y_noise() const;
316  void clear_y_noise();
317  static const int kYNoiseFieldNumber = 2;
318  private:
319  const ::gz::msgs::SensorNoise& _internal_y_noise() const;
320  public:
321  const ::gz::msgs::SensorNoise& y_noise() const;
322  ::gz::msgs::SensorNoise* release_y_noise();
323  ::gz::msgs::SensorNoise* mutable_y_noise();
324  void set_allocated_y_noise(::gz::msgs::SensorNoise* y_noise);
325 
326  // .gz.msgs.SensorNoise z_noise = 3;
327  bool has_z_noise() const;
328  void clear_z_noise();
329  static const int kZNoiseFieldNumber = 3;
330  private:
331  const ::gz::msgs::SensorNoise& _internal_z_noise() const;
332  public:
333  const ::gz::msgs::SensorNoise& z_noise() const;
334  ::gz::msgs::SensorNoise* release_z_noise();
335  ::gz::msgs::SensorNoise* mutable_z_noise();
336  void set_allocated_z_noise(::gz::msgs::SensorNoise* z_noise);
337 
338  // @@protoc_insertion_point(class_scope:gz.msgs.IMUSensor.LinearAcceleration)
339  private:
340 
341  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
342  ::gz::msgs::SensorNoise* x_noise_;
343  ::gz::msgs::SensorNoise* y_noise_;
344  ::gz::msgs::SensorNoise* z_noise_;
345  mutable ::google::protobuf::internal::CachedSize _cached_size_;
346  friend struct ::protobuf_gz_2fmsgs_2fimu_5fsensor_2eproto::TableStruct;
347 };
348 // -------------------------------------------------------------------
349 
350 class GZ_MSGS_VISIBLE IMUSensor_OrientationReferenceFrame : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:gz.msgs.IMUSensor.OrientationReferenceFrame) */ {
351  public:
354 
356 
358  CopyFrom(from);
359  return *this;
360  }
361  #if LANG_CXX11
364  *this = ::std::move(from);
365  }
366 
367  inline IMUSensor_OrientationReferenceFrame& operator=(IMUSensor_OrientationReferenceFrame&& from) noexcept {
368  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
369  if (this != &from) InternalSwap(&from);
370  } else {
371  CopyFrom(from);
372  }
373  return *this;
374  }
375  #endif
376  static const ::google::protobuf::Descriptor* descriptor();
377  static const IMUSensor_OrientationReferenceFrame& default_instance();
378 
379  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
381  return reinterpret_cast<const IMUSensor_OrientationReferenceFrame*>(
383  }
384  static constexpr int kIndexInFileMessages =
385  2;
386 
387  void Swap(IMUSensor_OrientationReferenceFrame* other);
389  a.Swap(&b);
390  }
391 
392  // implements Message ----------------------------------------------
393 
394  inline IMUSensor_OrientationReferenceFrame* New() const final {
395  return CreateMaybeMessage<IMUSensor_OrientationReferenceFrame>(NULL);
396  }
397 
398  IMUSensor_OrientationReferenceFrame* New(::google::protobuf::Arena* arena) const final {
399  return CreateMaybeMessage<IMUSensor_OrientationReferenceFrame>(arena);
400  }
401  void CopyFrom(const ::google::protobuf::Message& from) final;
402  void MergeFrom(const ::google::protobuf::Message& from) final;
403  void CopyFrom(const IMUSensor_OrientationReferenceFrame& from);
404  void MergeFrom(const IMUSensor_OrientationReferenceFrame& from);
405  void Clear() final;
406  bool IsInitialized() const final;
407 
408  size_t ByteSizeLong() const final;
409  bool MergePartialFromCodedStream(
410  ::google::protobuf::io::CodedInputStream* input) final;
411  void SerializeWithCachedSizes(
412  ::google::protobuf::io::CodedOutputStream* output) const final;
413  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
414  bool deterministic, ::google::protobuf::uint8* target) const final;
415  int GetCachedSize() const final { return _cached_size_.Get(); }
416 
417  private:
418  void SharedCtor();
419  void SharedDtor();
420  void SetCachedSize(int size) const final;
421  void InternalSwap(IMUSensor_OrientationReferenceFrame* other);
422  private:
423  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
424  return NULL;
425  }
426  inline void* MaybeArenaPtr() const {
427  return NULL;
428  }
429  public:
430 
431  ::google::protobuf::Metadata GetMetadata() const final;
432 
433  // nested types ----------------------------------------------------
434 
435  // accessors -------------------------------------------------------
436 
437  // string localization = 1;
438  void clear_localization();
439  static const int kLocalizationFieldNumber = 1;
440  const ::std::string& localization() const;
441  void set_localization(const ::std::string& value);
442  #if LANG_CXX11
443  void set_localization(::std::string&& value);
444  #endif
445  void set_localization(const char* value);
446  void set_localization(const char* value, size_t size);
447  ::std::string* mutable_localization();
448  ::std::string* release_localization();
449  void set_allocated_localization(::std::string* localization);
450 
451  // string custom_rpy_parent_frame = 3;
452  void clear_custom_rpy_parent_frame();
453  static const int kCustomRpyParentFrameFieldNumber = 3;
454  const ::std::string& custom_rpy_parent_frame() const;
455  void set_custom_rpy_parent_frame(const ::std::string& value);
456  #if LANG_CXX11
457  void set_custom_rpy_parent_frame(::std::string&& value);
458  #endif
459  void set_custom_rpy_parent_frame(const char* value);
460  void set_custom_rpy_parent_frame(const char* value, size_t size);
461  ::std::string* mutable_custom_rpy_parent_frame();
462  ::std::string* release_custom_rpy_parent_frame();
463  void set_allocated_custom_rpy_parent_frame(::std::string* custom_rpy_parent_frame);
464 
465  // string gravity_dir_x_parent_frame = 5;
466  void clear_gravity_dir_x_parent_frame();
467  static const int kGravityDirXParentFrameFieldNumber = 5;
468  const ::std::string& gravity_dir_x_parent_frame() const;
469  void set_gravity_dir_x_parent_frame(const ::std::string& value);
470  #if LANG_CXX11
471  void set_gravity_dir_x_parent_frame(::std::string&& value);
472  #endif
473  void set_gravity_dir_x_parent_frame(const char* value);
474  void set_gravity_dir_x_parent_frame(const char* value, size_t size);
475  ::std::string* mutable_gravity_dir_x_parent_frame();
476  ::std::string* release_gravity_dir_x_parent_frame();
477  void set_allocated_gravity_dir_x_parent_frame(::std::string* gravity_dir_x_parent_frame);
478 
479  // .gz.msgs.Vector3d custom_rpy = 2;
480  bool has_custom_rpy() const;
481  void clear_custom_rpy();
482  static const int kCustomRpyFieldNumber = 2;
483  private:
484  const ::gz::msgs::Vector3d& _internal_custom_rpy() const;
485  public:
486  const ::gz::msgs::Vector3d& custom_rpy() const;
487  ::gz::msgs::Vector3d* release_custom_rpy();
488  ::gz::msgs::Vector3d* mutable_custom_rpy();
489  void set_allocated_custom_rpy(::gz::msgs::Vector3d* custom_rpy);
490 
491  // .gz.msgs.Vector3d gravity_dir_x = 4;
492  bool has_gravity_dir_x() const;
493  void clear_gravity_dir_x();
494  static const int kGravityDirXFieldNumber = 4;
495  private:
496  const ::gz::msgs::Vector3d& _internal_gravity_dir_x() const;
497  public:
498  const ::gz::msgs::Vector3d& gravity_dir_x() const;
499  ::gz::msgs::Vector3d* release_gravity_dir_x();
500  ::gz::msgs::Vector3d* mutable_gravity_dir_x();
501  void set_allocated_gravity_dir_x(::gz::msgs::Vector3d* gravity_dir_x);
502 
503  // @@protoc_insertion_point(class_scope:gz.msgs.IMUSensor.OrientationReferenceFrame)
504  private:
505 
506  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
507  ::google::protobuf::internal::ArenaStringPtr localization_;
508  ::google::protobuf::internal::ArenaStringPtr custom_rpy_parent_frame_;
509  ::google::protobuf::internal::ArenaStringPtr gravity_dir_x_parent_frame_;
510  ::gz::msgs::Vector3d* custom_rpy_;
511  ::gz::msgs::Vector3d* gravity_dir_x_;
512  mutable ::google::protobuf::internal::CachedSize _cached_size_;
513  friend struct ::protobuf_gz_2fmsgs_2fimu_5fsensor_2eproto::TableStruct;
514 };
515 // -------------------------------------------------------------------
516 
517 class GZ_MSGS_VISIBLE IMUSensor : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:gz.msgs.IMUSensor) */ {
518  public:
519  IMUSensor();
520  virtual ~IMUSensor();
521 
522  IMUSensor(const IMUSensor& from);
523 
524  inline IMUSensor& operator=(const IMUSensor& from) {
525  CopyFrom(from);
526  return *this;
527  }
528  #if LANG_CXX11
529  IMUSensor(IMUSensor&& from) noexcept
530  : IMUSensor() {
531  *this = ::std::move(from);
532  }
533 
534  inline IMUSensor& operator=(IMUSensor&& from) noexcept {
535  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
536  if (this != &from) InternalSwap(&from);
537  } else {
538  CopyFrom(from);
539  }
540  return *this;
541  }
542  #endif
543  static const ::google::protobuf::Descriptor* descriptor();
544  static const IMUSensor& default_instance();
545 
546  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
547  static inline const IMUSensor* internal_default_instance() {
548  return reinterpret_cast<const IMUSensor*>(
550  }
551  static constexpr int kIndexInFileMessages =
552  3;
553 
554  void Swap(IMUSensor* other);
555  friend void swap(IMUSensor& a, IMUSensor& b) {
556  a.Swap(&b);
557  }
558 
559  // implements Message ----------------------------------------------
560 
561  inline IMUSensor* New() const final {
562  return CreateMaybeMessage<IMUSensor>(NULL);
563  }
564 
565  IMUSensor* New(::google::protobuf::Arena* arena) const final {
566  return CreateMaybeMessage<IMUSensor>(arena);
567  }
568  void CopyFrom(const ::google::protobuf::Message& from) final;
569  void MergeFrom(const ::google::protobuf::Message& from) final;
570  void CopyFrom(const IMUSensor& from);
571  void MergeFrom(const IMUSensor& from);
572  void Clear() final;
573  bool IsInitialized() const final;
574 
575  size_t ByteSizeLong() const final;
576  bool MergePartialFromCodedStream(
577  ::google::protobuf::io::CodedInputStream* input) final;
578  void SerializeWithCachedSizes(
579  ::google::protobuf::io::CodedOutputStream* output) const final;
580  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
581  bool deterministic, ::google::protobuf::uint8* target) const final;
582  int GetCachedSize() const final { return _cached_size_.Get(); }
583 
584  private:
585  void SharedCtor();
586  void SharedDtor();
587  void SetCachedSize(int size) const final;
588  void InternalSwap(IMUSensor* other);
589  private:
590  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
591  return NULL;
592  }
593  inline void* MaybeArenaPtr() const {
594  return NULL;
595  }
596  public:
597 
598  ::google::protobuf::Metadata GetMetadata() const final;
599 
600  // nested types ----------------------------------------------------
601 
605 
606  // accessors -------------------------------------------------------
607 
608  // .gz.msgs.Header header = 1;
609  bool has_header() const;
610  void clear_header();
611  static const int kHeaderFieldNumber = 1;
612  private:
613  const ::gz::msgs::Header& _internal_header() const;
614  public:
615  const ::gz::msgs::Header& header() const;
616  ::gz::msgs::Header* release_header();
617  ::gz::msgs::Header* mutable_header();
618  void set_allocated_header(::gz::msgs::Header* header);
619 
620  // .gz.msgs.IMUSensor.AngularVelocity angular_velocity = 2;
621  bool has_angular_velocity() const;
622  void clear_angular_velocity();
623  static const int kAngularVelocityFieldNumber = 2;
624  private:
625  const ::gz::msgs::IMUSensor_AngularVelocity& _internal_angular_velocity() const;
626  public:
627  const ::gz::msgs::IMUSensor_AngularVelocity& angular_velocity() const;
628  ::gz::msgs::IMUSensor_AngularVelocity* release_angular_velocity();
629  ::gz::msgs::IMUSensor_AngularVelocity* mutable_angular_velocity();
630  void set_allocated_angular_velocity(::gz::msgs::IMUSensor_AngularVelocity* angular_velocity);
631 
632  // .gz.msgs.IMUSensor.LinearAcceleration linear_acceleration = 3;
633  bool has_linear_acceleration() const;
634  void clear_linear_acceleration();
635  static const int kLinearAccelerationFieldNumber = 3;
636  private:
637  const ::gz::msgs::IMUSensor_LinearAcceleration& _internal_linear_acceleration() const;
638  public:
639  const ::gz::msgs::IMUSensor_LinearAcceleration& linear_acceleration() const;
640  ::gz::msgs::IMUSensor_LinearAcceleration* release_linear_acceleration();
641  ::gz::msgs::IMUSensor_LinearAcceleration* mutable_linear_acceleration();
642  void set_allocated_linear_acceleration(::gz::msgs::IMUSensor_LinearAcceleration* linear_acceleration);
643 
644  // .gz.msgs.IMUSensor.OrientationReferenceFrame orientation_ref_frame = 4;
645  bool has_orientation_ref_frame() const;
646  void clear_orientation_ref_frame();
647  static const int kOrientationRefFrameFieldNumber = 4;
648  private:
649  const ::gz::msgs::IMUSensor_OrientationReferenceFrame& _internal_orientation_ref_frame() const;
650  public:
651  const ::gz::msgs::IMUSensor_OrientationReferenceFrame& orientation_ref_frame() const;
652  ::gz::msgs::IMUSensor_OrientationReferenceFrame* release_orientation_ref_frame();
653  ::gz::msgs::IMUSensor_OrientationReferenceFrame* mutable_orientation_ref_frame();
654  void set_allocated_orientation_ref_frame(::gz::msgs::IMUSensor_OrientationReferenceFrame* orientation_ref_frame);
655 
656  // @@protoc_insertion_point(class_scope:gz.msgs.IMUSensor)
657  private:
658 
659  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
660  ::gz::msgs::Header* header_;
661  ::gz::msgs::IMUSensor_AngularVelocity* angular_velocity_;
662  ::gz::msgs::IMUSensor_LinearAcceleration* linear_acceleration_;
663  ::gz::msgs::IMUSensor_OrientationReferenceFrame* orientation_ref_frame_;
664  mutable ::google::protobuf::internal::CachedSize _cached_size_;
665  friend struct ::protobuf_gz_2fmsgs_2fimu_5fsensor_2eproto::TableStruct;
666 };
667 // ===================================================================
668 
669 
670 // ===================================================================
671 
672 #ifdef __GNUC__
673  #pragma GCC diagnostic push
674  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
675 #endif // __GNUC__
676 // IMUSensor_AngularVelocity
677 
678 // .gz.msgs.SensorNoise x_noise = 1;
680  return this != internal_default_instance() && x_noise_ != NULL;
681 }
682 inline const ::gz::msgs::SensorNoise& IMUSensor_AngularVelocity::_internal_x_noise() const {
683  return *x_noise_;
684 }
685 inline const ::gz::msgs::SensorNoise& IMUSensor_AngularVelocity::x_noise() const {
686  const ::gz::msgs::SensorNoise* p = x_noise_;
687  // @@protoc_insertion_point(field_get:gz.msgs.IMUSensor.AngularVelocity.x_noise)
688  return p != NULL ? *p : *reinterpret_cast<const ::gz::msgs::SensorNoise*>(
690 }
691 inline ::gz::msgs::SensorNoise* IMUSensor_AngularVelocity::release_x_noise() {
692  // @@protoc_insertion_point(field_release:gz.msgs.IMUSensor.AngularVelocity.x_noise)
693 
694  ::gz::msgs::SensorNoise* temp = x_noise_;
695  x_noise_ = NULL;
696  return temp;
697 }
698 inline ::gz::msgs::SensorNoise* IMUSensor_AngularVelocity::mutable_x_noise() {
699 
700  if (x_noise_ == NULL) {
701  auto* p = CreateMaybeMessage<::gz::msgs::SensorNoise>(GetArenaNoVirtual());
702  x_noise_ = p;
703  }
704  // @@protoc_insertion_point(field_mutable:gz.msgs.IMUSensor.AngularVelocity.x_noise)
705  return x_noise_;
706 }
708  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
709  if (message_arena == NULL) {
710  delete reinterpret_cast< ::google::protobuf::MessageLite*>(x_noise_);
711  }
712  if (x_noise) {
713  ::google::protobuf::Arena* submessage_arena = NULL;
714  if (message_arena != submessage_arena) {
715  x_noise = ::google::protobuf::internal::GetOwnedMessage(
716  message_arena, x_noise, submessage_arena);
717  }
718 
719  } else {
720 
721  }
722  x_noise_ = x_noise;
723  // @@protoc_insertion_point(field_set_allocated:gz.msgs.IMUSensor.AngularVelocity.x_noise)
724 }
725 
726 // .gz.msgs.SensorNoise y_noise = 2;
728  return this != internal_default_instance() && y_noise_ != NULL;
729 }
730 inline const ::gz::msgs::SensorNoise& IMUSensor_AngularVelocity::_internal_y_noise() const {
731  return *y_noise_;
732 }
733 inline const ::gz::msgs::SensorNoise& IMUSensor_AngularVelocity::y_noise() const {
734  const ::gz::msgs::SensorNoise* p = y_noise_;
735  // @@protoc_insertion_point(field_get:gz.msgs.IMUSensor.AngularVelocity.y_noise)
736  return p != NULL ? *p : *reinterpret_cast<const ::gz::msgs::SensorNoise*>(
738 }
739 inline ::gz::msgs::SensorNoise* IMUSensor_AngularVelocity::release_y_noise() {
740  // @@protoc_insertion_point(field_release:gz.msgs.IMUSensor.AngularVelocity.y_noise)
741 
742  ::gz::msgs::SensorNoise* temp = y_noise_;
743  y_noise_ = NULL;
744  return temp;
745 }
746 inline ::gz::msgs::SensorNoise* IMUSensor_AngularVelocity::mutable_y_noise() {
747 
748  if (y_noise_ == NULL) {
749  auto* p = CreateMaybeMessage<::gz::msgs::SensorNoise>(GetArenaNoVirtual());
750  y_noise_ = p;
751  }
752  // @@protoc_insertion_point(field_mutable:gz.msgs.IMUSensor.AngularVelocity.y_noise)
753  return y_noise_;
754 }
756  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
757  if (message_arena == NULL) {
758  delete reinterpret_cast< ::google::protobuf::MessageLite*>(y_noise_);
759  }
760  if (y_noise) {
761  ::google::protobuf::Arena* submessage_arena = NULL;
762  if (message_arena != submessage_arena) {
763  y_noise = ::google::protobuf::internal::GetOwnedMessage(
764  message_arena, y_noise, submessage_arena);
765  }
766 
767  } else {
768 
769  }
770  y_noise_ = y_noise;
771  // @@protoc_insertion_point(field_set_allocated:gz.msgs.IMUSensor.AngularVelocity.y_noise)
772 }
773 
774 // .gz.msgs.SensorNoise z_noise = 3;
776  return this != internal_default_instance() && z_noise_ != NULL;
777 }
778 inline const ::gz::msgs::SensorNoise& IMUSensor_AngularVelocity::_internal_z_noise() const {
779  return *z_noise_;
780 }
781 inline const ::gz::msgs::SensorNoise& IMUSensor_AngularVelocity::z_noise() const {
782  const ::gz::msgs::SensorNoise* p = z_noise_;
783  // @@protoc_insertion_point(field_get:gz.msgs.IMUSensor.AngularVelocity.z_noise)
784  return p != NULL ? *p : *reinterpret_cast<const ::gz::msgs::SensorNoise*>(
786 }
787 inline ::gz::msgs::SensorNoise* IMUSensor_AngularVelocity::release_z_noise() {
788  // @@protoc_insertion_point(field_release:gz.msgs.IMUSensor.AngularVelocity.z_noise)
789 
790  ::gz::msgs::SensorNoise* temp = z_noise_;
791  z_noise_ = NULL;
792  return temp;
793 }
794 inline ::gz::msgs::SensorNoise* IMUSensor_AngularVelocity::mutable_z_noise() {
795 
796  if (z_noise_ == NULL) {
797  auto* p = CreateMaybeMessage<::gz::msgs::SensorNoise>(GetArenaNoVirtual());
798  z_noise_ = p;
799  }
800  // @@protoc_insertion_point(field_mutable:gz.msgs.IMUSensor.AngularVelocity.z_noise)
801  return z_noise_;
802 }
804  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
805  if (message_arena == NULL) {
806  delete reinterpret_cast< ::google::protobuf::MessageLite*>(z_noise_);
807  }
808  if (z_noise) {
809  ::google::protobuf::Arena* submessage_arena = NULL;
810  if (message_arena != submessage_arena) {
811  z_noise = ::google::protobuf::internal::GetOwnedMessage(
812  message_arena, z_noise, submessage_arena);
813  }
814 
815  } else {
816 
817  }
818  z_noise_ = z_noise;
819  // @@protoc_insertion_point(field_set_allocated:gz.msgs.IMUSensor.AngularVelocity.z_noise)
820 }
821 
822 // -------------------------------------------------------------------
823 
824 // IMUSensor_LinearAcceleration
825 
826 // .gz.msgs.SensorNoise x_noise = 1;
828  return this != internal_default_instance() && x_noise_ != NULL;
829 }
830 inline const ::gz::msgs::SensorNoise& IMUSensor_LinearAcceleration::_internal_x_noise() const {
831  return *x_noise_;
832 }
833 inline const ::gz::msgs::SensorNoise& IMUSensor_LinearAcceleration::x_noise() const {
834  const ::gz::msgs::SensorNoise* p = x_noise_;
835  // @@protoc_insertion_point(field_get:gz.msgs.IMUSensor.LinearAcceleration.x_noise)
836  return p != NULL ? *p : *reinterpret_cast<const ::gz::msgs::SensorNoise*>(
838 }
839 inline ::gz::msgs::SensorNoise* IMUSensor_LinearAcceleration::release_x_noise() {
840  // @@protoc_insertion_point(field_release:gz.msgs.IMUSensor.LinearAcceleration.x_noise)
841 
842  ::gz::msgs::SensorNoise* temp = x_noise_;
843  x_noise_ = NULL;
844  return temp;
845 }
846 inline ::gz::msgs::SensorNoise* IMUSensor_LinearAcceleration::mutable_x_noise() {
847 
848  if (x_noise_ == NULL) {
849  auto* p = CreateMaybeMessage<::gz::msgs::SensorNoise>(GetArenaNoVirtual());
850  x_noise_ = p;
851  }
852  // @@protoc_insertion_point(field_mutable:gz.msgs.IMUSensor.LinearAcceleration.x_noise)
853  return x_noise_;
854 }
856  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
857  if (message_arena == NULL) {
858  delete reinterpret_cast< ::google::protobuf::MessageLite*>(x_noise_);
859  }
860  if (x_noise) {
861  ::google::protobuf::Arena* submessage_arena = NULL;
862  if (message_arena != submessage_arena) {
863  x_noise = ::google::protobuf::internal::GetOwnedMessage(
864  message_arena, x_noise, submessage_arena);
865  }
866 
867  } else {
868 
869  }
870  x_noise_ = x_noise;
871  // @@protoc_insertion_point(field_set_allocated:gz.msgs.IMUSensor.LinearAcceleration.x_noise)
872 }
873 
874 // .gz.msgs.SensorNoise y_noise = 2;
876  return this != internal_default_instance() && y_noise_ != NULL;
877 }
878 inline const ::gz::msgs::SensorNoise& IMUSensor_LinearAcceleration::_internal_y_noise() const {
879  return *y_noise_;
880 }
881 inline const ::gz::msgs::SensorNoise& IMUSensor_LinearAcceleration::y_noise() const {
882  const ::gz::msgs::SensorNoise* p = y_noise_;
883  // @@protoc_insertion_point(field_get:gz.msgs.IMUSensor.LinearAcceleration.y_noise)
884  return p != NULL ? *p : *reinterpret_cast<const ::gz::msgs::SensorNoise*>(
886 }
887 inline ::gz::msgs::SensorNoise* IMUSensor_LinearAcceleration::release_y_noise() {
888  // @@protoc_insertion_point(field_release:gz.msgs.IMUSensor.LinearAcceleration.y_noise)
889 
890  ::gz::msgs::SensorNoise* temp = y_noise_;
891  y_noise_ = NULL;
892  return temp;
893 }
894 inline ::gz::msgs::SensorNoise* IMUSensor_LinearAcceleration::mutable_y_noise() {
895 
896  if (y_noise_ == NULL) {
897  auto* p = CreateMaybeMessage<::gz::msgs::SensorNoise>(GetArenaNoVirtual());
898  y_noise_ = p;
899  }
900  // @@protoc_insertion_point(field_mutable:gz.msgs.IMUSensor.LinearAcceleration.y_noise)
901  return y_noise_;
902 }
904  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
905  if (message_arena == NULL) {
906  delete reinterpret_cast< ::google::protobuf::MessageLite*>(y_noise_);
907  }
908  if (y_noise) {
909  ::google::protobuf::Arena* submessage_arena = NULL;
910  if (message_arena != submessage_arena) {
911  y_noise = ::google::protobuf::internal::GetOwnedMessage(
912  message_arena, y_noise, submessage_arena);
913  }
914 
915  } else {
916 
917  }
918  y_noise_ = y_noise;
919  // @@protoc_insertion_point(field_set_allocated:gz.msgs.IMUSensor.LinearAcceleration.y_noise)
920 }
921 
922 // .gz.msgs.SensorNoise z_noise = 3;
924  return this != internal_default_instance() && z_noise_ != NULL;
925 }
926 inline const ::gz::msgs::SensorNoise& IMUSensor_LinearAcceleration::_internal_z_noise() const {
927  return *z_noise_;
928 }
929 inline const ::gz::msgs::SensorNoise& IMUSensor_LinearAcceleration::z_noise() const {
930  const ::gz::msgs::SensorNoise* p = z_noise_;
931  // @@protoc_insertion_point(field_get:gz.msgs.IMUSensor.LinearAcceleration.z_noise)
932  return p != NULL ? *p : *reinterpret_cast<const ::gz::msgs::SensorNoise*>(
934 }
935 inline ::gz::msgs::SensorNoise* IMUSensor_LinearAcceleration::release_z_noise() {
936  // @@protoc_insertion_point(field_release:gz.msgs.IMUSensor.LinearAcceleration.z_noise)
937 
938  ::gz::msgs::SensorNoise* temp = z_noise_;
939  z_noise_ = NULL;
940  return temp;
941 }
942 inline ::gz::msgs::SensorNoise* IMUSensor_LinearAcceleration::mutable_z_noise() {
943 
944  if (z_noise_ == NULL) {
945  auto* p = CreateMaybeMessage<::gz::msgs::SensorNoise>(GetArenaNoVirtual());
946  z_noise_ = p;
947  }
948  // @@protoc_insertion_point(field_mutable:gz.msgs.IMUSensor.LinearAcceleration.z_noise)
949  return z_noise_;
950 }
952  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
953  if (message_arena == NULL) {
954  delete reinterpret_cast< ::google::protobuf::MessageLite*>(z_noise_);
955  }
956  if (z_noise) {
957  ::google::protobuf::Arena* submessage_arena = NULL;
958  if (message_arena != submessage_arena) {
959  z_noise = ::google::protobuf::internal::GetOwnedMessage(
960  message_arena, z_noise, submessage_arena);
961  }
962 
963  } else {
964 
965  }
966  z_noise_ = z_noise;
967  // @@protoc_insertion_point(field_set_allocated:gz.msgs.IMUSensor.LinearAcceleration.z_noise)
968 }
969 
970 // -------------------------------------------------------------------
971 
972 // IMUSensor_OrientationReferenceFrame
973 
974 // string localization = 1;
976  localization_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
977 }
978 inline const ::std::string& IMUSensor_OrientationReferenceFrame::localization() const {
979  // @@protoc_insertion_point(field_get:gz.msgs.IMUSensor.OrientationReferenceFrame.localization)
980  return localization_.GetNoArena();
981 }
982 inline void IMUSensor_OrientationReferenceFrame::set_localization(const ::std::string& value) {
983 
984  localization_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
985  // @@protoc_insertion_point(field_set:gz.msgs.IMUSensor.OrientationReferenceFrame.localization)
986 }
987 #if LANG_CXX11
989 
990  localization_.SetNoArena(
991  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
992  // @@protoc_insertion_point(field_set_rvalue:gz.msgs.IMUSensor.OrientationReferenceFrame.localization)
993 }
994 #endif
996  GOOGLE_DCHECK(value != NULL);
997 
998  localization_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
999  // @@protoc_insertion_point(field_set_char:gz.msgs.IMUSensor.OrientationReferenceFrame.localization)
1000 }
1001 inline void IMUSensor_OrientationReferenceFrame::set_localization(const char* value, size_t size) {
1002 
1003  localization_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1004  ::std::string(reinterpret_cast<const char*>(value), size));
1005  // @@protoc_insertion_point(field_set_pointer:gz.msgs.IMUSensor.OrientationReferenceFrame.localization)
1006 }
1008 
1009  // @@protoc_insertion_point(field_mutable:gz.msgs.IMUSensor.OrientationReferenceFrame.localization)
1010  return localization_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1011 }
1013  // @@protoc_insertion_point(field_release:gz.msgs.IMUSensor.OrientationReferenceFrame.localization)
1014 
1015  return localization_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1016 }
1018  if (localization != NULL) {
1019 
1020  } else {
1021 
1022  }
1023  localization_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), localization);
1024  // @@protoc_insertion_point(field_set_allocated:gz.msgs.IMUSensor.OrientationReferenceFrame.localization)
1025 }
1026 
1027 // .gz.msgs.Vector3d custom_rpy = 2;
1029  return this != internal_default_instance() && custom_rpy_ != NULL;
1030 }
1031 inline const ::gz::msgs::Vector3d& IMUSensor_OrientationReferenceFrame::_internal_custom_rpy() const {
1032  return *custom_rpy_;
1033 }
1034 inline const ::gz::msgs::Vector3d& IMUSensor_OrientationReferenceFrame::custom_rpy() const {
1035  const ::gz::msgs::Vector3d* p = custom_rpy_;
1036  // @@protoc_insertion_point(field_get:gz.msgs.IMUSensor.OrientationReferenceFrame.custom_rpy)
1037  return p != NULL ? *p : *reinterpret_cast<const ::gz::msgs::Vector3d*>(
1039 }
1041  // @@protoc_insertion_point(field_release:gz.msgs.IMUSensor.OrientationReferenceFrame.custom_rpy)
1042 
1043  ::gz::msgs::Vector3d* temp = custom_rpy_;
1044  custom_rpy_ = NULL;
1045  return temp;
1046 }
1048 
1049  if (custom_rpy_ == NULL) {
1050  auto* p = CreateMaybeMessage<::gz::msgs::Vector3d>(GetArenaNoVirtual());
1051  custom_rpy_ = p;
1052  }
1053  // @@protoc_insertion_point(field_mutable:gz.msgs.IMUSensor.OrientationReferenceFrame.custom_rpy)
1054  return custom_rpy_;
1055 }
1057  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1058  if (message_arena == NULL) {
1059  delete reinterpret_cast< ::google::protobuf::MessageLite*>(custom_rpy_);
1060  }
1061  if (custom_rpy) {
1062  ::google::protobuf::Arena* submessage_arena = NULL;
1063  if (message_arena != submessage_arena) {
1064  custom_rpy = ::google::protobuf::internal::GetOwnedMessage(
1065  message_arena, custom_rpy, submessage_arena);
1066  }
1067 
1068  } else {
1069 
1070  }
1071  custom_rpy_ = custom_rpy;
1072  // @@protoc_insertion_point(field_set_allocated:gz.msgs.IMUSensor.OrientationReferenceFrame.custom_rpy)
1073 }
1074 
1075 // string custom_rpy_parent_frame = 3;
1077  custom_rpy_parent_frame_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1078 }
1080  // @@protoc_insertion_point(field_get:gz.msgs.IMUSensor.OrientationReferenceFrame.custom_rpy_parent_frame)
1081  return custom_rpy_parent_frame_.GetNoArena();
1082 }
1084 
1085  custom_rpy_parent_frame_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1086  // @@protoc_insertion_point(field_set:gz.msgs.IMUSensor.OrientationReferenceFrame.custom_rpy_parent_frame)
1087 }
1088 #if LANG_CXX11
1090 
1091  custom_rpy_parent_frame_.SetNoArena(
1092  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1093  // @@protoc_insertion_point(field_set_rvalue:gz.msgs.IMUSensor.OrientationReferenceFrame.custom_rpy_parent_frame)
1094 }
1095 #endif
1097  GOOGLE_DCHECK(value != NULL);
1098 
1099  custom_rpy_parent_frame_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1100  // @@protoc_insertion_point(field_set_char:gz.msgs.IMUSensor.OrientationReferenceFrame.custom_rpy_parent_frame)
1101 }
1102 inline void IMUSensor_OrientationReferenceFrame::set_custom_rpy_parent_frame(const char* value, size_t size) {
1103 
1104  custom_rpy_parent_frame_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1105  ::std::string(reinterpret_cast<const char*>(value), size));
1106  // @@protoc_insertion_point(field_set_pointer:gz.msgs.IMUSensor.OrientationReferenceFrame.custom_rpy_parent_frame)
1107 }
1109 
1110  // @@protoc_insertion_point(field_mutable:gz.msgs.IMUSensor.OrientationReferenceFrame.custom_rpy_parent_frame)
1111  return custom_rpy_parent_frame_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1112 }
1114  // @@protoc_insertion_point(field_release:gz.msgs.IMUSensor.OrientationReferenceFrame.custom_rpy_parent_frame)
1115 
1116  return custom_rpy_parent_frame_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1117 }
1119  if (custom_rpy_parent_frame != NULL) {
1120 
1121  } else {
1122 
1123  }
1124  custom_rpy_parent_frame_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), custom_rpy_parent_frame);
1125  // @@protoc_insertion_point(field_set_allocated:gz.msgs.IMUSensor.OrientationReferenceFrame.custom_rpy_parent_frame)
1126 }
1127 
1128 // .gz.msgs.Vector3d gravity_dir_x = 4;
1130  return this != internal_default_instance() && gravity_dir_x_ != NULL;
1131 }
1132 inline const ::gz::msgs::Vector3d& IMUSensor_OrientationReferenceFrame::_internal_gravity_dir_x() const {
1133  return *gravity_dir_x_;
1134 }
1135 inline const ::gz::msgs::Vector3d& IMUSensor_OrientationReferenceFrame::gravity_dir_x() const {
1136  const ::gz::msgs::Vector3d* p = gravity_dir_x_;
1137  // @@protoc_insertion_point(field_get:gz.msgs.IMUSensor.OrientationReferenceFrame.gravity_dir_x)
1138  return p != NULL ? *p : *reinterpret_cast<const ::gz::msgs::Vector3d*>(
1140 }
1142  // @@protoc_insertion_point(field_release:gz.msgs.IMUSensor.OrientationReferenceFrame.gravity_dir_x)
1143 
1144  ::gz::msgs::Vector3d* temp = gravity_dir_x_;
1145  gravity_dir_x_ = NULL;
1146  return temp;
1147 }
1149 
1150  if (gravity_dir_x_ == NULL) {
1151  auto* p = CreateMaybeMessage<::gz::msgs::Vector3d>(GetArenaNoVirtual());
1152  gravity_dir_x_ = p;
1153  }
1154  // @@protoc_insertion_point(field_mutable:gz.msgs.IMUSensor.OrientationReferenceFrame.gravity_dir_x)
1155  return gravity_dir_x_;
1156 }
1158  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1159  if (message_arena == NULL) {
1160  delete reinterpret_cast< ::google::protobuf::MessageLite*>(gravity_dir_x_);
1161  }
1162  if (gravity_dir_x) {
1163  ::google::protobuf::Arena* submessage_arena = NULL;
1164  if (message_arena != submessage_arena) {
1165  gravity_dir_x = ::google::protobuf::internal::GetOwnedMessage(
1166  message_arena, gravity_dir_x, submessage_arena);
1167  }
1168 
1169  } else {
1170 
1171  }
1172  gravity_dir_x_ = gravity_dir_x;
1173  // @@protoc_insertion_point(field_set_allocated:gz.msgs.IMUSensor.OrientationReferenceFrame.gravity_dir_x)
1174 }
1175 
1176 // string gravity_dir_x_parent_frame = 5;
1178  gravity_dir_x_parent_frame_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1179 }
1181  // @@protoc_insertion_point(field_get:gz.msgs.IMUSensor.OrientationReferenceFrame.gravity_dir_x_parent_frame)
1182  return gravity_dir_x_parent_frame_.GetNoArena();
1183 }
1185 
1186  gravity_dir_x_parent_frame_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1187  // @@protoc_insertion_point(field_set:gz.msgs.IMUSensor.OrientationReferenceFrame.gravity_dir_x_parent_frame)
1188 }
1189 #if LANG_CXX11
1191 
1192  gravity_dir_x_parent_frame_.SetNoArena(
1193  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1194  // @@protoc_insertion_point(field_set_rvalue:gz.msgs.IMUSensor.OrientationReferenceFrame.gravity_dir_x_parent_frame)
1195 }
1196 #endif
1198  GOOGLE_DCHECK(value != NULL);
1199 
1200  gravity_dir_x_parent_frame_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1201  // @@protoc_insertion_point(field_set_char:gz.msgs.IMUSensor.OrientationReferenceFrame.gravity_dir_x_parent_frame)
1202 }
1203 inline void IMUSensor_OrientationReferenceFrame::set_gravity_dir_x_parent_frame(const char* value, size_t size) {
1204 
1205  gravity_dir_x_parent_frame_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1206  ::std::string(reinterpret_cast<const char*>(value), size));
1207  // @@protoc_insertion_point(field_set_pointer:gz.msgs.IMUSensor.OrientationReferenceFrame.gravity_dir_x_parent_frame)
1208 }
1210 
1211  // @@protoc_insertion_point(field_mutable:gz.msgs.IMUSensor.OrientationReferenceFrame.gravity_dir_x_parent_frame)
1212  return gravity_dir_x_parent_frame_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1213 }
1215  // @@protoc_insertion_point(field_release:gz.msgs.IMUSensor.OrientationReferenceFrame.gravity_dir_x_parent_frame)
1216 
1217  return gravity_dir_x_parent_frame_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1218 }
1220  if (gravity_dir_x_parent_frame != NULL) {
1221 
1222  } else {
1223 
1224  }
1225  gravity_dir_x_parent_frame_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), gravity_dir_x_parent_frame);
1226  // @@protoc_insertion_point(field_set_allocated:gz.msgs.IMUSensor.OrientationReferenceFrame.gravity_dir_x_parent_frame)
1227 }
1228 
1229 // -------------------------------------------------------------------
1230 
1231 // IMUSensor
1232 
1233 // .gz.msgs.Header header = 1;
1234 inline bool IMUSensor::has_header() const {
1235  return this != internal_default_instance() && header_ != NULL;
1236 }
1237 inline const ::gz::msgs::Header& IMUSensor::_internal_header() const {
1238  return *header_;
1239 }
1240 inline const ::gz::msgs::Header& IMUSensor::header() const {
1241  const ::gz::msgs::Header* p = header_;
1242  // @@protoc_insertion_point(field_get:gz.msgs.IMUSensor.header)
1243  return p != NULL ? *p : *reinterpret_cast<const ::gz::msgs::Header*>(
1245 }
1246 inline ::gz::msgs::Header* IMUSensor::release_header() {
1247  // @@protoc_insertion_point(field_release:gz.msgs.IMUSensor.header)
1248 
1249  ::gz::msgs::Header* temp = header_;
1250  header_ = NULL;
1251  return temp;
1252 }
1253 inline ::gz::msgs::Header* IMUSensor::mutable_header() {
1254 
1255  if (header_ == NULL) {
1256  auto* p = CreateMaybeMessage<::gz::msgs::Header>(GetArenaNoVirtual());
1257  header_ = p;
1258  }
1259  // @@protoc_insertion_point(field_mutable:gz.msgs.IMUSensor.header)
1260  return header_;
1261 }
1263  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1264  if (message_arena == NULL) {
1265  delete reinterpret_cast< ::google::protobuf::MessageLite*>(header_);
1266  }
1267  if (header) {
1268  ::google::protobuf::Arena* submessage_arena = NULL;
1269  if (message_arena != submessage_arena) {
1270  header = ::google::protobuf::internal::GetOwnedMessage(
1271  message_arena, header, submessage_arena);
1272  }
1273 
1274  } else {
1275 
1276  }
1277  header_ = header;
1278  // @@protoc_insertion_point(field_set_allocated:gz.msgs.IMUSensor.header)
1279 }
1280 
1281 // .gz.msgs.IMUSensor.AngularVelocity angular_velocity = 2;
1282 inline bool IMUSensor::has_angular_velocity() const {
1283  return this != internal_default_instance() && angular_velocity_ != NULL;
1284 }
1286  if (GetArenaNoVirtual() == NULL && angular_velocity_ != NULL) {
1287  delete angular_velocity_;
1288  }
1289  angular_velocity_ = NULL;
1290 }
1291 inline const ::gz::msgs::IMUSensor_AngularVelocity& IMUSensor::_internal_angular_velocity() const {
1292  return *angular_velocity_;
1293 }
1294 inline const ::gz::msgs::IMUSensor_AngularVelocity& IMUSensor::angular_velocity() const {
1295  const ::gz::msgs::IMUSensor_AngularVelocity* p = angular_velocity_;
1296  // @@protoc_insertion_point(field_get:gz.msgs.IMUSensor.angular_velocity)
1297  return p != NULL ? *p : *reinterpret_cast<const ::gz::msgs::IMUSensor_AngularVelocity*>(
1299 }
1300 inline ::gz::msgs::IMUSensor_AngularVelocity* IMUSensor::release_angular_velocity() {
1301  // @@protoc_insertion_point(field_release:gz.msgs.IMUSensor.angular_velocity)
1302 
1303  ::gz::msgs::IMUSensor_AngularVelocity* temp = angular_velocity_;
1304  angular_velocity_ = NULL;
1305  return temp;
1306 }
1307 inline ::gz::msgs::IMUSensor_AngularVelocity* IMUSensor::mutable_angular_velocity() {
1308 
1309  if (angular_velocity_ == NULL) {
1310  auto* p = CreateMaybeMessage<::gz::msgs::IMUSensor_AngularVelocity>(GetArenaNoVirtual());
1311  angular_velocity_ = p;
1312  }
1313  // @@protoc_insertion_point(field_mutable:gz.msgs.IMUSensor.angular_velocity)
1314  return angular_velocity_;
1315 }
1317  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1318  if (message_arena == NULL) {
1319  delete angular_velocity_;
1320  }
1321  if (angular_velocity) {
1322  ::google::protobuf::Arena* submessage_arena = NULL;
1323  if (message_arena != submessage_arena) {
1324  angular_velocity = ::google::protobuf::internal::GetOwnedMessage(
1325  message_arena, angular_velocity, submessage_arena);
1326  }
1327 
1328  } else {
1329 
1330  }
1331  angular_velocity_ = angular_velocity;
1332  // @@protoc_insertion_point(field_set_allocated:gz.msgs.IMUSensor.angular_velocity)
1333 }
1334 
1335 // .gz.msgs.IMUSensor.LinearAcceleration linear_acceleration = 3;
1337  return this != internal_default_instance() && linear_acceleration_ != NULL;
1338 }
1340  if (GetArenaNoVirtual() == NULL && linear_acceleration_ != NULL) {
1341  delete linear_acceleration_;
1342  }
1343  linear_acceleration_ = NULL;
1344 }
1345 inline const ::gz::msgs::IMUSensor_LinearAcceleration& IMUSensor::_internal_linear_acceleration() const {
1346  return *linear_acceleration_;
1347 }
1348 inline const ::gz::msgs::IMUSensor_LinearAcceleration& IMUSensor::linear_acceleration() const {
1349  const ::gz::msgs::IMUSensor_LinearAcceleration* p = linear_acceleration_;
1350  // @@protoc_insertion_point(field_get:gz.msgs.IMUSensor.linear_acceleration)
1351  return p != NULL ? *p : *reinterpret_cast<const ::gz::msgs::IMUSensor_LinearAcceleration*>(
1353 }
1354 inline ::gz::msgs::IMUSensor_LinearAcceleration* IMUSensor::release_linear_acceleration() {
1355  // @@protoc_insertion_point(field_release:gz.msgs.IMUSensor.linear_acceleration)
1356 
1357  ::gz::msgs::IMUSensor_LinearAcceleration* temp = linear_acceleration_;
1358  linear_acceleration_ = NULL;
1359  return temp;
1360 }
1361 inline ::gz::msgs::IMUSensor_LinearAcceleration* IMUSensor::mutable_linear_acceleration() {
1362 
1363  if (linear_acceleration_ == NULL) {
1364  auto* p = CreateMaybeMessage<::gz::msgs::IMUSensor_LinearAcceleration>(GetArenaNoVirtual());
1365  linear_acceleration_ = p;
1366  }
1367  // @@protoc_insertion_point(field_mutable:gz.msgs.IMUSensor.linear_acceleration)
1368  return linear_acceleration_;
1369 }
1371  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1372  if (message_arena == NULL) {
1373  delete linear_acceleration_;
1374  }
1375  if (linear_acceleration) {
1376  ::google::protobuf::Arena* submessage_arena = NULL;
1377  if (message_arena != submessage_arena) {
1378  linear_acceleration = ::google::protobuf::internal::GetOwnedMessage(
1379  message_arena, linear_acceleration, submessage_arena);
1380  }
1381 
1382  } else {
1383 
1384  }
1385  linear_acceleration_ = linear_acceleration;
1386  // @@protoc_insertion_point(field_set_allocated:gz.msgs.IMUSensor.linear_acceleration)
1387 }
1388 
1389 // .gz.msgs.IMUSensor.OrientationReferenceFrame orientation_ref_frame = 4;
1391  return this != internal_default_instance() && orientation_ref_frame_ != NULL;
1392 }
1394  if (GetArenaNoVirtual() == NULL && orientation_ref_frame_ != NULL) {
1395  delete orientation_ref_frame_;
1396  }
1397  orientation_ref_frame_ = NULL;
1398 }
1399 inline const ::gz::msgs::IMUSensor_OrientationReferenceFrame& IMUSensor::_internal_orientation_ref_frame() const {
1400  return *orientation_ref_frame_;
1401 }
1402 inline const ::gz::msgs::IMUSensor_OrientationReferenceFrame& IMUSensor::orientation_ref_frame() const {
1403  const ::gz::msgs::IMUSensor_OrientationReferenceFrame* p = orientation_ref_frame_;
1404  // @@protoc_insertion_point(field_get:gz.msgs.IMUSensor.orientation_ref_frame)
1405  return p != NULL ? *p : *reinterpret_cast<const ::gz::msgs::IMUSensor_OrientationReferenceFrame*>(
1407 }
1408 inline ::gz::msgs::IMUSensor_OrientationReferenceFrame* IMUSensor::release_orientation_ref_frame() {
1409  // @@protoc_insertion_point(field_release:gz.msgs.IMUSensor.orientation_ref_frame)
1410 
1411  ::gz::msgs::IMUSensor_OrientationReferenceFrame* temp = orientation_ref_frame_;
1412  orientation_ref_frame_ = NULL;
1413  return temp;
1414 }
1415 inline ::gz::msgs::IMUSensor_OrientationReferenceFrame* IMUSensor::mutable_orientation_ref_frame() {
1416 
1417  if (orientation_ref_frame_ == NULL) {
1418  auto* p = CreateMaybeMessage<::gz::msgs::IMUSensor_OrientationReferenceFrame>(GetArenaNoVirtual());
1419  orientation_ref_frame_ = p;
1420  }
1421  // @@protoc_insertion_point(field_mutable:gz.msgs.IMUSensor.orientation_ref_frame)
1422  return orientation_ref_frame_;
1423 }
1425  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1426  if (message_arena == NULL) {
1427  delete orientation_ref_frame_;
1428  }
1429  if (orientation_ref_frame) {
1430  ::google::protobuf::Arena* submessage_arena = NULL;
1431  if (message_arena != submessage_arena) {
1432  orientation_ref_frame = ::google::protobuf::internal::GetOwnedMessage(
1433  message_arena, orientation_ref_frame, submessage_arena);
1434  }
1435 
1436  } else {
1437 
1438  }
1439  orientation_ref_frame_ = orientation_ref_frame;
1440  // @@protoc_insertion_point(field_set_allocated:gz.msgs.IMUSensor.orientation_ref_frame)
1441 }
1442 
1443 #ifdef __GNUC__
1444  #pragma GCC diagnostic pop
1445 #endif // __GNUC__
1446 // -------------------------------------------------------------------
1447 
1448 // -------------------------------------------------------------------
1449 
1450 // -------------------------------------------------------------------
1451 
1452 
1453 // @@protoc_insertion_point(namespace_scope)
1454 
1455 } // namespace msgs
1456 } // namespace gz
1457 
1458 // @@protoc_insertion_point(global_scope)
1459 
1460 #endif // PROTOBUF_INCLUDED_gz_2fmsgs_2fimu_5fsensor_2eproto