JaiaBot  1.20.0
JaiaBot micro-AUV software
atlas_scientific__oem_ec.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_ec.proto
3 
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2fsensor_2fatlas_5fscientific_5f_5foem_5fec_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2fsensor_2fatlas_5fscientific_5f_5foem_5fec_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_5fec_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_5fec_2eproto;
64 namespace jaiabot {
65 namespace sensor {
66 namespace protobuf {
67 class AtlasScientificOEMEC;
68 class AtlasScientificOEMECDefaultTypeInternal;
69 extern AtlasScientificOEMECDefaultTypeInternal _AtlasScientificOEMEC_default_instance_;
70 } // namespace protobuf
71 } // namespace sensor
72 } // namespace jaiabot
73 PROTOBUF_NAMESPACE_OPEN
74 template<> ::jaiabot::sensor::protobuf::AtlasScientificOEMEC* Arena::CreateMaybeMessage<::jaiabot::sensor::protobuf::AtlasScientificOEMEC>(Arena*);
75 PROTOBUF_NAMESPACE_CLOSE
76 namespace jaiabot {
77 namespace sensor {
78 namespace protobuf {
79 
80 // ===================================================================
81 
82 class AtlasScientificOEMEC PROTOBUF_FINAL :
83  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.sensor.protobuf.AtlasScientificOEMEC) */ {
84  public:
85  inline AtlasScientificOEMEC() : AtlasScientificOEMEC(nullptr) {};
86  virtual ~AtlasScientificOEMEC();
87 
88  AtlasScientificOEMEC(const AtlasScientificOEMEC& from);
89  AtlasScientificOEMEC(AtlasScientificOEMEC&& from) noexcept
90  : AtlasScientificOEMEC() {
91  *this = ::std::move(from);
92  }
93 
94  inline AtlasScientificOEMEC& operator=(const AtlasScientificOEMEC& from) {
95  CopyFrom(from);
96  return *this;
97  }
98  inline AtlasScientificOEMEC& operator=(AtlasScientificOEMEC&& 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 AtlasScientificOEMEC& default_instance();
124 
125  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
126  static inline const AtlasScientificOEMEC* internal_default_instance() {
127  return reinterpret_cast<const AtlasScientificOEMEC*>(
129  }
130  static constexpr int kIndexInFileMessages =
131  0;
132 
133  friend void swap(AtlasScientificOEMEC& a, AtlasScientificOEMEC& b) {
134  a.Swap(&b);
135  }
136  inline void Swap(AtlasScientificOEMEC* 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(AtlasScientificOEMEC* other) {
145  if (other == this) return;
146  GOOGLE_DCHECK(GetArena() == other->GetArena());
147  InternalSwap(other);
148  }
149 
150  // implements Message ----------------------------------------------
151 
152  inline AtlasScientificOEMEC* New() const final {
153  return CreateMaybeMessage<AtlasScientificOEMEC>(nullptr);
154  }
155 
156  AtlasScientificOEMEC* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
157  return CreateMaybeMessage<AtlasScientificOEMEC>(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 AtlasScientificOEMEC& from);
162  void MergeFrom(const AtlasScientificOEMEC& 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(AtlasScientificOEMEC* other);
177  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
178  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
179  return "jaiabot.sensor.protobuf.AtlasScientificOEMEC";
180  }
181  protected:
182  explicit AtlasScientificOEMEC(::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_5fec_2eproto);
193  }
194 
195  public:
196 
197  // nested types ----------------------------------------------------
198 
199  // accessors -------------------------------------------------------
200 
201  enum : int {
202  kConductivityRawFieldNumber = 1,
203  kConductivityFieldNumber = 2,
204  kTotalDissolvedSolidsFieldNumber = 3,
205  kSalinityRawFieldNumber = 4,
206  kSalinityFieldNumber = 5,
207  };
208  // optional double conductivity_raw = 1;
209  bool has_conductivity_raw() const;
210  private:
211  bool _internal_has_conductivity_raw() const;
212  public:
213  void clear_conductivity_raw();
214  double conductivity_raw() const;
215  void set_conductivity_raw(double value);
216  private:
217  double _internal_conductivity_raw() const;
218  void _internal_set_conductivity_raw(double value);
219  public:
220 
221  // optional double conductivity = 2;
222  bool has_conductivity() const;
223  private:
224  bool _internal_has_conductivity() const;
225  public:
226  void clear_conductivity();
227  double conductivity() const;
228  void set_conductivity(double value);
229  private:
230  double _internal_conductivity() const;
231  void _internal_set_conductivity(double value);
232  public:
233 
234  // optional double total_dissolved_solids = 3;
235  bool has_total_dissolved_solids() const;
236  private:
237  bool _internal_has_total_dissolved_solids() const;
238  public:
239  void clear_total_dissolved_solids();
240  double total_dissolved_solids() const;
241  void set_total_dissolved_solids(double value);
242  private:
243  double _internal_total_dissolved_solids() const;
244  void _internal_set_total_dissolved_solids(double value);
245  public:
246 
247  // optional double salinity_raw = 4;
248  bool has_salinity_raw() const;
249  private:
250  bool _internal_has_salinity_raw() const;
251  public:
252  void clear_salinity_raw();
253  double salinity_raw() const;
254  void set_salinity_raw(double value);
255  private:
256  double _internal_salinity_raw() const;
257  void _internal_set_salinity_raw(double value);
258  public:
259 
260  // optional double salinity = 5;
261  bool has_salinity() const;
262  private:
263  bool _internal_has_salinity() const;
264  public:
265  void clear_salinity();
266  double salinity() const;
267  void set_salinity(double value);
268  private:
269  double _internal_salinity() const;
270  void _internal_set_salinity(double value);
271  public:
272 
273  // @@protoc_insertion_point(class_scope:jaiabot.sensor.protobuf.AtlasScientificOEMEC)
274  private:
275  class _Internal;
276 
277  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
278  typedef void InternalArenaConstructable_;
279  typedef void DestructorSkippable_;
280  ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
281  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
282  double conductivity_raw_;
283  double conductivity_;
284  double total_dissolved_solids_;
285  double salinity_raw_;
286  double salinity_;
287  friend struct ::TableStruct_jaiabot_2fmessages_2fsensor_2fatlas_5fscientific_5f_5foem_5fec_2eproto;
288 };
289 // ===================================================================
290 
291 
292 // ===================================================================
293 
294 #ifdef __GNUC__
295  #pragma GCC diagnostic push
296  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
297 #endif // __GNUC__
298 // AtlasScientificOEMEC
299 
300 // optional double conductivity_raw = 1;
301 inline bool AtlasScientificOEMEC::_internal_has_conductivity_raw() const {
302  bool value = (_has_bits_[0] & 0x00000001u) != 0;
303  return value;
304 }
305 inline bool AtlasScientificOEMEC::has_conductivity_raw() const {
306  return _internal_has_conductivity_raw();
307 }
308 inline void AtlasScientificOEMEC::clear_conductivity_raw() {
309  conductivity_raw_ = 0;
310  _has_bits_[0] &= ~0x00000001u;
311 }
312 inline double AtlasScientificOEMEC::_internal_conductivity_raw() const {
313  return conductivity_raw_;
314 }
315 inline double AtlasScientificOEMEC::conductivity_raw() const {
316  // @@protoc_insertion_point(field_get:jaiabot.sensor.protobuf.AtlasScientificOEMEC.conductivity_raw)
317  return _internal_conductivity_raw();
318 }
319 inline void AtlasScientificOEMEC::_internal_set_conductivity_raw(double value) {
320  _has_bits_[0] |= 0x00000001u;
321  conductivity_raw_ = value;
322 }
323 inline void AtlasScientificOEMEC::set_conductivity_raw(double value) {
324  _internal_set_conductivity_raw(value);
325  // @@protoc_insertion_point(field_set:jaiabot.sensor.protobuf.AtlasScientificOEMEC.conductivity_raw)
326 }
327 
328 // optional double conductivity = 2;
329 inline bool AtlasScientificOEMEC::_internal_has_conductivity() const {
330  bool value = (_has_bits_[0] & 0x00000002u) != 0;
331  return value;
332 }
333 inline bool AtlasScientificOEMEC::has_conductivity() const {
334  return _internal_has_conductivity();
335 }
336 inline void AtlasScientificOEMEC::clear_conductivity() {
337  conductivity_ = 0;
338  _has_bits_[0] &= ~0x00000002u;
339 }
340 inline double AtlasScientificOEMEC::_internal_conductivity() const {
341  return conductivity_;
342 }
343 inline double AtlasScientificOEMEC::conductivity() const {
344  // @@protoc_insertion_point(field_get:jaiabot.sensor.protobuf.AtlasScientificOEMEC.conductivity)
345  return _internal_conductivity();
346 }
347 inline void AtlasScientificOEMEC::_internal_set_conductivity(double value) {
348  _has_bits_[0] |= 0x00000002u;
349  conductivity_ = value;
350 }
351 inline void AtlasScientificOEMEC::set_conductivity(double value) {
352  _internal_set_conductivity(value);
353  // @@protoc_insertion_point(field_set:jaiabot.sensor.protobuf.AtlasScientificOEMEC.conductivity)
354 }
355 
356 // optional double total_dissolved_solids = 3;
357 inline bool AtlasScientificOEMEC::_internal_has_total_dissolved_solids() const {
358  bool value = (_has_bits_[0] & 0x00000004u) != 0;
359  return value;
360 }
361 inline bool AtlasScientificOEMEC::has_total_dissolved_solids() const {
362  return _internal_has_total_dissolved_solids();
363 }
364 inline void AtlasScientificOEMEC::clear_total_dissolved_solids() {
365  total_dissolved_solids_ = 0;
366  _has_bits_[0] &= ~0x00000004u;
367 }
368 inline double AtlasScientificOEMEC::_internal_total_dissolved_solids() const {
369  return total_dissolved_solids_;
370 }
371 inline double AtlasScientificOEMEC::total_dissolved_solids() const {
372  // @@protoc_insertion_point(field_get:jaiabot.sensor.protobuf.AtlasScientificOEMEC.total_dissolved_solids)
373  return _internal_total_dissolved_solids();
374 }
375 inline void AtlasScientificOEMEC::_internal_set_total_dissolved_solids(double value) {
376  _has_bits_[0] |= 0x00000004u;
377  total_dissolved_solids_ = value;
378 }
379 inline void AtlasScientificOEMEC::set_total_dissolved_solids(double value) {
380  _internal_set_total_dissolved_solids(value);
381  // @@protoc_insertion_point(field_set:jaiabot.sensor.protobuf.AtlasScientificOEMEC.total_dissolved_solids)
382 }
383 
384 // optional double salinity_raw = 4;
385 inline bool AtlasScientificOEMEC::_internal_has_salinity_raw() const {
386  bool value = (_has_bits_[0] & 0x00000008u) != 0;
387  return value;
388 }
389 inline bool AtlasScientificOEMEC::has_salinity_raw() const {
390  return _internal_has_salinity_raw();
391 }
392 inline void AtlasScientificOEMEC::clear_salinity_raw() {
393  salinity_raw_ = 0;
394  _has_bits_[0] &= ~0x00000008u;
395 }
396 inline double AtlasScientificOEMEC::_internal_salinity_raw() const {
397  return salinity_raw_;
398 }
399 inline double AtlasScientificOEMEC::salinity_raw() const {
400  // @@protoc_insertion_point(field_get:jaiabot.sensor.protobuf.AtlasScientificOEMEC.salinity_raw)
401  return _internal_salinity_raw();
402 }
403 inline void AtlasScientificOEMEC::_internal_set_salinity_raw(double value) {
404  _has_bits_[0] |= 0x00000008u;
405  salinity_raw_ = value;
406 }
407 inline void AtlasScientificOEMEC::set_salinity_raw(double value) {
408  _internal_set_salinity_raw(value);
409  // @@protoc_insertion_point(field_set:jaiabot.sensor.protobuf.AtlasScientificOEMEC.salinity_raw)
410 }
411 
412 // optional double salinity = 5;
413 inline bool AtlasScientificOEMEC::_internal_has_salinity() const {
414  bool value = (_has_bits_[0] & 0x00000010u) != 0;
415  return value;
416 }
417 inline bool AtlasScientificOEMEC::has_salinity() const {
418  return _internal_has_salinity();
419 }
420 inline void AtlasScientificOEMEC::clear_salinity() {
421  salinity_ = 0;
422  _has_bits_[0] &= ~0x00000010u;
423 }
424 inline double AtlasScientificOEMEC::_internal_salinity() const {
425  return salinity_;
426 }
427 inline double AtlasScientificOEMEC::salinity() const {
428  // @@protoc_insertion_point(field_get:jaiabot.sensor.protobuf.AtlasScientificOEMEC.salinity)
429  return _internal_salinity();
430 }
431 inline void AtlasScientificOEMEC::_internal_set_salinity(double value) {
432  _has_bits_[0] |= 0x00000010u;
433  salinity_ = value;
434 }
435 inline void AtlasScientificOEMEC::set_salinity(double value) {
436  _internal_set_salinity(value);
437  // @@protoc_insertion_point(field_set:jaiabot.sensor.protobuf.AtlasScientificOEMEC.salinity)
438 }
439 
440 #ifdef __GNUC__
441  #pragma GCC diagnostic pop
442 #endif // __GNUC__
443 
444 // @@protoc_insertion_point(namespace_scope)
445 
446 } // namespace protobuf
447 } // namespace sensor
448 } // namespace jaiabot
449 
450 // @@protoc_insertion_point(global_scope)
451 
452 #include <google/protobuf/port_undef.inc>
453 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2fsensor_2fatlas_5fscientific_5f_5foem_5fec_2eproto
constexpr goby::middleware::Group salinity
Definition: groups.h:45
AtlasScientificOEMECDefaultTypeInternal _AtlasScientificOEMEC_default_instance_
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_jaiabot_2fmessages_2fsensor_2fatlas_5fscientific_5f_5foem_5fec_2eproto
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]
static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]