JaiaBot  1.20.0
JaiaBot micro-AUV software
atlas_scientific__oem_do.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: jaiabot/messages/sensor/atlas_scientific__oem_do.proto
3 
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2fsensor_2fatlas_5fscientific_5f_5foem_5fdo_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2fsensor_2fatlas_5fscientific_5f_5foem_5fdo_2eproto
6 
7 #include <limits>
8 #include <string>
9 
10 #include <google/protobuf/port_def.inc>
11 #if PROTOBUF_VERSION < 3012000
12 #error This file was generated by a newer version of protoc which is
13 #error incompatible with your Protocol Buffer headers. Please update
14 #error your headers.
15 #endif
16 #if 3012004 < PROTOBUF_MIN_PROTOC_VERSION
17 #error This file was generated by an older version of protoc which is
18 #error incompatible with your Protocol Buffer headers. Please
19 #error regenerate this file with a newer version of protoc.
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/inlined_string_field.h>
29 #include <google/protobuf/metadata_lite.h>
30 #include <google/protobuf/generated_message_reflection.h>
31 #include <google/protobuf/message.h>
32 #include <google/protobuf/repeated_field.h> // IWYU pragma: export
33 #include <google/protobuf/extension_set.h> // IWYU pragma: export
34 #include <google/protobuf/unknown_field_set.h>
36 #include <boost/units/quantity.hpp>
37 #include <boost/units/absolute.hpp>
38 #include <boost/units/dimensionless_type.hpp>
39 #include <boost/units/make_scaled_unit.hpp>
40 
41 #include <boost/units/systems/si.hpp>
42 // @@protoc_insertion_point(includes)
43 #include <google/protobuf/port_def.inc>
44 #define PROTOBUF_INTERNAL_EXPORT_jaiabot_2fmessages_2fsensor_2fatlas_5fscientific_5f_5foem_5fdo_2eproto
45 PROTOBUF_NAMESPACE_OPEN
46 namespace internal {
47 class AnyMetadata;
48 } // namespace internal
49 PROTOBUF_NAMESPACE_CLOSE
50 
51 // Internal implementation detail -- do not use these members.
53  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
54  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
55  static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
56  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
57  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1]
58  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
59  static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
60  static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
61  static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
62 };
63 extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_jaiabot_2fmessages_2fsensor_2fatlas_5fscientific_5f_5foem_5fdo_2eproto;
64 namespace jaiabot {
65 namespace sensor {
66 namespace protobuf {
67 class AtlasScientificOEMDO;
68 class AtlasScientificOEMDODefaultTypeInternal;
69 extern AtlasScientificOEMDODefaultTypeInternal _AtlasScientificOEMDO_default_instance_;
70 } // namespace protobuf
71 } // namespace sensor
72 } // namespace jaiabot
73 PROTOBUF_NAMESPACE_OPEN
74 template<> ::jaiabot::sensor::protobuf::AtlasScientificOEMDO* Arena::CreateMaybeMessage<::jaiabot::sensor::protobuf::AtlasScientificOEMDO>(Arena*);
75 PROTOBUF_NAMESPACE_CLOSE
76 namespace jaiabot {
77 namespace sensor {
78 namespace protobuf {
79 
80 // ===================================================================
81 
82 class AtlasScientificOEMDO PROTOBUF_FINAL :
83  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.sensor.protobuf.AtlasScientificOEMDO) */ {
84  public:
85  inline AtlasScientificOEMDO() : AtlasScientificOEMDO(nullptr) {};
86  virtual ~AtlasScientificOEMDO();
87 
88  AtlasScientificOEMDO(const AtlasScientificOEMDO& from);
89  AtlasScientificOEMDO(AtlasScientificOEMDO&& from) noexcept
90  : AtlasScientificOEMDO() {
91  *this = ::std::move(from);
92  }
93 
94  inline AtlasScientificOEMDO& operator=(const AtlasScientificOEMDO& from) {
95  CopyFrom(from);
96  return *this;
97  }
98  inline AtlasScientificOEMDO& operator=(AtlasScientificOEMDO&& from) noexcept {
99  if (GetArena() == from.GetArena()) {
100  if (this != &from) InternalSwap(&from);
101  } else {
102  CopyFrom(from);
103  }
104  return *this;
105  }
106 
107  inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
108  return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
109  }
110  inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
111  return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
112  }
113 
114  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
115  return GetDescriptor();
116  }
117  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
118  return GetMetadataStatic().descriptor;
119  }
120  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
121  return GetMetadataStatic().reflection;
122  }
123  static const AtlasScientificOEMDO& default_instance();
124 
125  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
126  static inline const AtlasScientificOEMDO* internal_default_instance() {
127  return reinterpret_cast<const AtlasScientificOEMDO*>(
129  }
130  static constexpr int kIndexInFileMessages =
131  0;
132 
133  friend void swap(AtlasScientificOEMDO& a, AtlasScientificOEMDO& b) {
134  a.Swap(&b);
135  }
136  inline void Swap(AtlasScientificOEMDO* other) {
137  if (other == this) return;
138  if (GetArena() == other->GetArena()) {
139  InternalSwap(other);
140  } else {
141  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
142  }
143  }
144  void UnsafeArenaSwap(AtlasScientificOEMDO* other) {
145  if (other == this) return;
146  GOOGLE_DCHECK(GetArena() == other->GetArena());
147  InternalSwap(other);
148  }
149 
150  // implements Message ----------------------------------------------
151 
152  inline AtlasScientificOEMDO* New() const final {
153  return CreateMaybeMessage<AtlasScientificOEMDO>(nullptr);
154  }
155 
156  AtlasScientificOEMDO* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
157  return CreateMaybeMessage<AtlasScientificOEMDO>(arena);
158  }
159  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
160  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
161  void CopyFrom(const AtlasScientificOEMDO& from);
162  void MergeFrom(const AtlasScientificOEMDO& from);
163  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
164  bool IsInitialized() const final;
165 
166  size_t ByteSizeLong() const final;
167  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
168  ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
169  ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
170  int GetCachedSize() const final { return _cached_size_.Get(); }
171 
172  private:
173  inline void SharedCtor();
174  inline void SharedDtor();
175  void SetCachedSize(int size) const final;
176  void InternalSwap(AtlasScientificOEMDO* other);
177  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
178  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
179  return "jaiabot.sensor.protobuf.AtlasScientificOEMDO";
180  }
181  protected:
182  explicit AtlasScientificOEMDO(::PROTOBUF_NAMESPACE_ID::Arena* arena);
183  private:
184  static void ArenaDtor(void* object);
185  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
186  public:
187 
188  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
189  private:
190  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
191  ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_jaiabot_2fmessages_2fsensor_2fatlas_5fscientific_5f_5foem_5fdo_2eproto);
193  }
194 
195  public:
196 
197  // nested types ----------------------------------------------------
198 
199  // accessors -------------------------------------------------------
200 
201  enum : int {
202  kDoRawFieldNumber = 1,
203  kDoSolubilityFieldNumber = 2,
204  kDoSaturationPercentFieldNumber = 3,
205  kDoNormalizedSolubilityFieldNumber = 4,
206  kTemperatureFieldNumber = 5,
207  kTemperatureVoltageFieldNumber = 6,
208  };
209  // optional double do_raw = 1;
210  bool has_do_raw() const;
211  private:
212  bool _internal_has_do_raw() const;
213  public:
214  void clear_do_raw();
215  double do_raw() const;
216  void set_do_raw(double value);
217  private:
218  double _internal_do_raw() const;
219  void _internal_set_do_raw(double value);
220  public:
221 
222  // optional double do_solubility = 2;
223  bool has_do_solubility() const;
224  private:
225  bool _internal_has_do_solubility() const;
226  public:
227  void clear_do_solubility();
228  double do_solubility() const;
229  void set_do_solubility(double value);
230  private:
231  double _internal_do_solubility() const;
232  void _internal_set_do_solubility(double value);
233  public:
234 
235  // optional double do_saturation_percent = 3;
236  bool has_do_saturation_percent() const;
237  private:
238  bool _internal_has_do_saturation_percent() const;
239  public:
240  void clear_do_saturation_percent();
241  double do_saturation_percent() const;
242  void set_do_saturation_percent(double value);
243  private:
244  double _internal_do_saturation_percent() const;
245  void _internal_set_do_saturation_percent(double value);
246  public:
247 
248  // optional double do_normalized_solubility = 4;
249  bool has_do_normalized_solubility() const;
250  private:
251  bool _internal_has_do_normalized_solubility() const;
252  public:
253  void clear_do_normalized_solubility();
254  double do_normalized_solubility() const;
255  void set_do_normalized_solubility(double value);
256  private:
257  double _internal_do_normalized_solubility() const;
258  void _internal_set_do_normalized_solubility(double value);
259  public:
260 
261  // optional double temperature = 5;
262  bool has_temperature() const;
263  private:
264  bool _internal_has_temperature() const;
265  public:
266  void clear_temperature();
267  double temperature() const;
268  void set_temperature(double value);
269  private:
270  double _internal_temperature() const;
271  void _internal_set_temperature(double value);
272  public:
273 
274  // optional double temperature_voltage = 6;
275  bool has_temperature_voltage() const;
276  private:
277  bool _internal_has_temperature_voltage() const;
278  public:
279  void clear_temperature_voltage();
280  double temperature_voltage() const;
281  void set_temperature_voltage(double value);
282  private:
283  double _internal_temperature_voltage() const;
284  void _internal_set_temperature_voltage(double value);
285  public:
286 
287  // @@protoc_insertion_point(class_scope:jaiabot.sensor.protobuf.AtlasScientificOEMDO)
288  private:
289  class _Internal;
290 
291  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
292  typedef void InternalArenaConstructable_;
293  typedef void DestructorSkippable_;
294  ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
295  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
296  double do_raw_;
297  double do_solubility_;
298  double do_saturation_percent_;
299  double do_normalized_solubility_;
300  double temperature_;
301  double temperature_voltage_;
302  friend struct ::TableStruct_jaiabot_2fmessages_2fsensor_2fatlas_5fscientific_5f_5foem_5fdo_2eproto;
303 };
304 // ===================================================================
305 
306 
307 // ===================================================================
308 
309 #ifdef __GNUC__
310  #pragma GCC diagnostic push
311  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
312 #endif // __GNUC__
313 // AtlasScientificOEMDO
314 
315 // optional double do_raw = 1;
316 inline bool AtlasScientificOEMDO::_internal_has_do_raw() const {
317  bool value = (_has_bits_[0] & 0x00000001u) != 0;
318  return value;
319 }
320 inline bool AtlasScientificOEMDO::has_do_raw() const {
321  return _internal_has_do_raw();
322 }
323 inline void AtlasScientificOEMDO::clear_do_raw() {
324  do_raw_ = 0;
325  _has_bits_[0] &= ~0x00000001u;
326 }
327 inline double AtlasScientificOEMDO::_internal_do_raw() const {
328  return do_raw_;
329 }
330 inline double AtlasScientificOEMDO::do_raw() const {
331  // @@protoc_insertion_point(field_get:jaiabot.sensor.protobuf.AtlasScientificOEMDO.do_raw)
332  return _internal_do_raw();
333 }
334 inline void AtlasScientificOEMDO::_internal_set_do_raw(double value) {
335  _has_bits_[0] |= 0x00000001u;
336  do_raw_ = value;
337 }
338 inline void AtlasScientificOEMDO::set_do_raw(double value) {
339  _internal_set_do_raw(value);
340  // @@protoc_insertion_point(field_set:jaiabot.sensor.protobuf.AtlasScientificOEMDO.do_raw)
341 }
342 
343 // optional double do_solubility = 2;
344 inline bool AtlasScientificOEMDO::_internal_has_do_solubility() const {
345  bool value = (_has_bits_[0] & 0x00000002u) != 0;
346  return value;
347 }
348 inline bool AtlasScientificOEMDO::has_do_solubility() const {
349  return _internal_has_do_solubility();
350 }
351 inline void AtlasScientificOEMDO::clear_do_solubility() {
352  do_solubility_ = 0;
353  _has_bits_[0] &= ~0x00000002u;
354 }
355 inline double AtlasScientificOEMDO::_internal_do_solubility() const {
356  return do_solubility_;
357 }
358 inline double AtlasScientificOEMDO::do_solubility() const {
359  // @@protoc_insertion_point(field_get:jaiabot.sensor.protobuf.AtlasScientificOEMDO.do_solubility)
360  return _internal_do_solubility();
361 }
362 inline void AtlasScientificOEMDO::_internal_set_do_solubility(double value) {
363  _has_bits_[0] |= 0x00000002u;
364  do_solubility_ = value;
365 }
366 inline void AtlasScientificOEMDO::set_do_solubility(double value) {
367  _internal_set_do_solubility(value);
368  // @@protoc_insertion_point(field_set:jaiabot.sensor.protobuf.AtlasScientificOEMDO.do_solubility)
369 }
370 
371 // optional double do_saturation_percent = 3;
372 inline bool AtlasScientificOEMDO::_internal_has_do_saturation_percent() const {
373  bool value = (_has_bits_[0] & 0x00000004u) != 0;
374  return value;
375 }
376 inline bool AtlasScientificOEMDO::has_do_saturation_percent() const {
377  return _internal_has_do_saturation_percent();
378 }
379 inline void AtlasScientificOEMDO::clear_do_saturation_percent() {
380  do_saturation_percent_ = 0;
381  _has_bits_[0] &= ~0x00000004u;
382 }
383 inline double AtlasScientificOEMDO::_internal_do_saturation_percent() const {
384  return do_saturation_percent_;
385 }
386 inline double AtlasScientificOEMDO::do_saturation_percent() const {
387  // @@protoc_insertion_point(field_get:jaiabot.sensor.protobuf.AtlasScientificOEMDO.do_saturation_percent)
388  return _internal_do_saturation_percent();
389 }
390 inline void AtlasScientificOEMDO::_internal_set_do_saturation_percent(double value) {
391  _has_bits_[0] |= 0x00000004u;
392  do_saturation_percent_ = value;
393 }
394 inline void AtlasScientificOEMDO::set_do_saturation_percent(double value) {
395  _internal_set_do_saturation_percent(value);
396  // @@protoc_insertion_point(field_set:jaiabot.sensor.protobuf.AtlasScientificOEMDO.do_saturation_percent)
397 }
398 
399 // optional double do_normalized_solubility = 4;
400 inline bool AtlasScientificOEMDO::_internal_has_do_normalized_solubility() const {
401  bool value = (_has_bits_[0] & 0x00000008u) != 0;
402  return value;
403 }
404 inline bool AtlasScientificOEMDO::has_do_normalized_solubility() const {
405  return _internal_has_do_normalized_solubility();
406 }
407 inline void AtlasScientificOEMDO::clear_do_normalized_solubility() {
408  do_normalized_solubility_ = 0;
409  _has_bits_[0] &= ~0x00000008u;
410 }
411 inline double AtlasScientificOEMDO::_internal_do_normalized_solubility() const {
412  return do_normalized_solubility_;
413 }
414 inline double AtlasScientificOEMDO::do_normalized_solubility() const {
415  // @@protoc_insertion_point(field_get:jaiabot.sensor.protobuf.AtlasScientificOEMDO.do_normalized_solubility)
416  return _internal_do_normalized_solubility();
417 }
418 inline void AtlasScientificOEMDO::_internal_set_do_normalized_solubility(double value) {
419  _has_bits_[0] |= 0x00000008u;
420  do_normalized_solubility_ = value;
421 }
422 inline void AtlasScientificOEMDO::set_do_normalized_solubility(double value) {
423  _internal_set_do_normalized_solubility(value);
424  // @@protoc_insertion_point(field_set:jaiabot.sensor.protobuf.AtlasScientificOEMDO.do_normalized_solubility)
425 }
426 
427 // optional double temperature = 5;
428 inline bool AtlasScientificOEMDO::_internal_has_temperature() const {
429  bool value = (_has_bits_[0] & 0x00000010u) != 0;
430  return value;
431 }
432 inline bool AtlasScientificOEMDO::has_temperature() const {
433  return _internal_has_temperature();
434 }
435 inline void AtlasScientificOEMDO::clear_temperature() {
436  temperature_ = 0;
437  _has_bits_[0] &= ~0x00000010u;
438 }
439 inline double AtlasScientificOEMDO::_internal_temperature() const {
440  return temperature_;
441 }
442 inline double AtlasScientificOEMDO::temperature() const {
443  // @@protoc_insertion_point(field_get:jaiabot.sensor.protobuf.AtlasScientificOEMDO.temperature)
444  return _internal_temperature();
445 }
446 inline void AtlasScientificOEMDO::_internal_set_temperature(double value) {
447  _has_bits_[0] |= 0x00000010u;
448  temperature_ = value;
449 }
450 inline void AtlasScientificOEMDO::set_temperature(double value) {
451  _internal_set_temperature(value);
452  // @@protoc_insertion_point(field_set:jaiabot.sensor.protobuf.AtlasScientificOEMDO.temperature)
453 }
454 
455 // optional double temperature_voltage = 6;
456 inline bool AtlasScientificOEMDO::_internal_has_temperature_voltage() const {
457  bool value = (_has_bits_[0] & 0x00000020u) != 0;
458  return value;
459 }
460 inline bool AtlasScientificOEMDO::has_temperature_voltage() const {
461  return _internal_has_temperature_voltage();
462 }
463 inline void AtlasScientificOEMDO::clear_temperature_voltage() {
464  temperature_voltage_ = 0;
465  _has_bits_[0] &= ~0x00000020u;
466 }
467 inline double AtlasScientificOEMDO::_internal_temperature_voltage() const {
468  return temperature_voltage_;
469 }
470 inline double AtlasScientificOEMDO::temperature_voltage() const {
471  // @@protoc_insertion_point(field_get:jaiabot.sensor.protobuf.AtlasScientificOEMDO.temperature_voltage)
472  return _internal_temperature_voltage();
473 }
474 inline void AtlasScientificOEMDO::_internal_set_temperature_voltage(double value) {
475  _has_bits_[0] |= 0x00000020u;
476  temperature_voltage_ = value;
477 }
478 inline void AtlasScientificOEMDO::set_temperature_voltage(double value) {
479  _internal_set_temperature_voltage(value);
480  // @@protoc_insertion_point(field_set:jaiabot.sensor.protobuf.AtlasScientificOEMDO.temperature_voltage)
481 }
482 
483 #ifdef __GNUC__
484  #pragma GCC diagnostic pop
485 #endif // __GNUC__
486 
487 // @@protoc_insertion_point(namespace_scope)
488 
489 } // namespace protobuf
490 } // namespace sensor
491 } // namespace jaiabot
492 
493 // @@protoc_insertion_point(global_scope)
494 
495 #include <google/protobuf/port_undef.inc>
496 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2fsensor_2fatlas_5fscientific_5f_5foem_5fdo_2eproto
AtlasScientificOEMDODefaultTypeInternal _AtlasScientificOEMDO_default_instance_
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_jaiabot_2fmessages_2fsensor_2fatlas_5fscientific_5f_5foem_5fdo_2eproto
static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]
static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)