JaiaBot 2.1.1
JaiaBot micro-AUV software
 
Loading...
Searching...
No Matches
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 < 3021000
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 3021012 < 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_util.h>
27#include <google/protobuf/metadata_lite.h>
28#include <google/protobuf/generated_message_reflection.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>
34#include <boost/units/quantity.hpp>
35#include <boost/units/absolute.hpp>
36#include <boost/units/dimensionless_type.hpp>
37#include <boost/units/make_scaled_unit.hpp>
38
39#include <boost/units/systems/si.hpp>
40// @@protoc_insertion_point(includes)
41#include <google/protobuf/port_def.inc>
42#define PROTOBUF_INTERNAL_EXPORT_jaiabot_2fmessages_2fsensor_2fatlas_5fscientific_5f_5foem_5fec_2eproto
43PROTOBUF_NAMESPACE_OPEN
44namespace internal {
45class AnyMetadata;
46} // namespace internal
47PROTOBUF_NAMESPACE_CLOSE
48
49// Internal implementation detail -- do not use these members.
51 static const uint32_t offsets[];
52};
53extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_jaiabot_2fmessages_2fsensor_2fatlas_5fscientific_5f_5foem_5fec_2eproto;
54namespace jaiabot {
55namespace sensor {
56namespace protobuf {
57class AtlasScientificOEMEC;
58struct AtlasScientificOEMECDefaultTypeInternal;
59extern AtlasScientificOEMECDefaultTypeInternal _AtlasScientificOEMEC_default_instance_;
60} // namespace protobuf
61} // namespace sensor
62} // namespace jaiabot
63PROTOBUF_NAMESPACE_OPEN
64template<> ::jaiabot::sensor::protobuf::AtlasScientificOEMEC* Arena::CreateMaybeMessage<::jaiabot::sensor::protobuf::AtlasScientificOEMEC>(Arena*);
65PROTOBUF_NAMESPACE_CLOSE
66namespace jaiabot {
67namespace sensor {
68namespace protobuf {
69
70// ===================================================================
71
72class AtlasScientificOEMEC final :
73 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.sensor.protobuf.AtlasScientificOEMEC) */ {
74 public:
75 inline AtlasScientificOEMEC() : AtlasScientificOEMEC(nullptr) {}
76 ~AtlasScientificOEMEC() override;
77 explicit PROTOBUF_CONSTEXPR AtlasScientificOEMEC(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
78
82 *this = ::std::move(from);
83 }
84
86 CopyFrom(from);
87 return *this;
88 }
89 inline AtlasScientificOEMEC& operator=(AtlasScientificOEMEC&& from) noexcept {
90 if (this == &from) return *this;
91 if (GetOwningArena() == from.GetOwningArena()
92 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
93 && GetOwningArena() != nullptr
94 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
95 ) {
96 InternalSwap(&from);
97 } else {
98 CopyFrom(from);
99 }
100 return *this;
101 }
102
103 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
104 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
105 }
106 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
107 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
108 }
109
110 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
111 return GetDescriptor();
112 }
113 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
114 return default_instance().GetMetadata().descriptor;
115 }
116 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
117 return default_instance().GetMetadata().reflection;
118 }
119 static const AtlasScientificOEMEC& default_instance() {
121 }
122 static inline const AtlasScientificOEMEC* internal_default_instance() {
123 return reinterpret_cast<const AtlasScientificOEMEC*>(
125 }
126 static constexpr int kIndexInFileMessages =
127 0;
128
130 a.Swap(&b);
131 }
132 inline void Swap(AtlasScientificOEMEC* other) {
133 if (other == this) return;
134 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
135 if (GetOwningArena() != nullptr &&
136 GetOwningArena() == other->GetOwningArena()) {
137 #else // PROTOBUF_FORCE_COPY_IN_SWAP
138 if (GetOwningArena() == other->GetOwningArena()) {
139 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
140 InternalSwap(other);
141 } else {
142 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
143 }
144 }
146 if (other == this) return;
147 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
148 InternalSwap(other);
149 }
150
151 // implements Message ----------------------------------------------
152
153 AtlasScientificOEMEC* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
154 return CreateMaybeMessage<AtlasScientificOEMEC>(arena);
155 }
156 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
157 void CopyFrom(const AtlasScientificOEMEC& from);
158 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
159 void MergeFrom( const AtlasScientificOEMEC& from) {
160 AtlasScientificOEMEC::MergeImpl(*this, from);
161 }
162 private:
163 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
164 public:
165 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
166 bool IsInitialized() const final;
167
168 size_t ByteSizeLong() const final;
169 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
170 uint8_t* _InternalSerialize(
171 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
172 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
173
174 private:
175 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
176 void SharedDtor();
177 void SetCachedSize(int size) const final;
178 void InternalSwap(AtlasScientificOEMEC* other);
179
180 private:
181 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
182 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
183 return "jaiabot.sensor.protobuf.AtlasScientificOEMEC";
184 }
185 protected:
186 explicit AtlasScientificOEMEC(::PROTOBUF_NAMESPACE_ID::Arena* arena,
187 bool is_message_owned = false);
188 public:
189
190 static const ClassData _class_data_;
191 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
192
193 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
194
195 // nested types ----------------------------------------------------
196
197 // accessors -------------------------------------------------------
198
199 enum : int {
205 };
206 // optional double conductivity_raw = 1;
207 bool has_conductivity_raw() const;
208 private:
209 bool _internal_has_conductivity_raw() const;
210 public:
212 double conductivity_raw() const;
213 void set_conductivity_raw(double value);
214 private:
215 double _internal_conductivity_raw() const;
216 void _internal_set_conductivity_raw(double value);
217 public:
218
219 // optional double conductivity = 2;
220 bool has_conductivity() const;
221 private:
222 bool _internal_has_conductivity() const;
223 public:
224 void clear_conductivity();
225 double conductivity() const;
226 void set_conductivity(double value);
227 private:
228 double _internal_conductivity() const;
229 void _internal_set_conductivity(double value);
230 public:
231
232 // optional double total_dissolved_solids = 3;
233 bool has_total_dissolved_solids() const;
234 private:
235 bool _internal_has_total_dissolved_solids() const;
236 public:
238 double total_dissolved_solids() const;
239 void set_total_dissolved_solids(double value);
240 private:
241 double _internal_total_dissolved_solids() const;
242 void _internal_set_total_dissolved_solids(double value);
243 public:
244
245 // optional double salinity_raw = 4;
246 bool has_salinity_raw() const;
247 private:
248 bool _internal_has_salinity_raw() const;
249 public:
250 void clear_salinity_raw();
251 double salinity_raw() const;
252 void set_salinity_raw(double value);
253 private:
254 double _internal_salinity_raw() const;
255 void _internal_set_salinity_raw(double value);
256 public:
257
258 // optional double salinity = 5;
259 bool has_salinity() const;
260 private:
261 bool _internal_has_salinity() const;
262 public:
263 void clear_salinity();
264 double salinity() const;
265 void set_salinity(double value);
266 private:
267 double _internal_salinity() const;
268 void _internal_set_salinity(double value);
269 public:
270
271 // @@protoc_insertion_point(class_scope:jaiabot.sensor.protobuf.AtlasScientificOEMEC)
272 private:
273 class _Internal;
274
275 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
276 typedef void InternalArenaConstructable_;
277 typedef void DestructorSkippable_;
278 struct Impl_ {
279 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
280 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
281 double conductivity_raw_;
282 double conductivity_;
283 double total_dissolved_solids_;
284 double salinity_raw_;
285 double salinity_;
286 };
287 union { Impl_ _impl_; };
288 friend struct ::TableStruct_jaiabot_2fmessages_2fsensor_2fatlas_5fscientific_5f_5foem_5fec_2eproto;
289};
290// ===================================================================
291
292
293// ===================================================================
294
295#ifdef __GNUC__
296 #pragma GCC diagnostic push
297 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
298#endif // __GNUC__
299// AtlasScientificOEMEC
300
301// optional double conductivity_raw = 1;
302inline bool AtlasScientificOEMEC::_internal_has_conductivity_raw() const {
303 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
304 return value;
305}
307 return _internal_has_conductivity_raw();
308}
310 _impl_.conductivity_raw_ = 0;
311 _impl_._has_bits_[0] &= ~0x00000001u;
312}
313inline double AtlasScientificOEMEC::_internal_conductivity_raw() const {
314 return _impl_.conductivity_raw_;
315}
316inline double AtlasScientificOEMEC::conductivity_raw() const {
317 // @@protoc_insertion_point(field_get:jaiabot.sensor.protobuf.AtlasScientificOEMEC.conductivity_raw)
318 return _internal_conductivity_raw();
319}
320inline void AtlasScientificOEMEC::_internal_set_conductivity_raw(double value) {
321 _impl_._has_bits_[0] |= 0x00000001u;
322 _impl_.conductivity_raw_ = value;
323}
324inline void AtlasScientificOEMEC::set_conductivity_raw(double value) {
325 _internal_set_conductivity_raw(value);
326 // @@protoc_insertion_point(field_set:jaiabot.sensor.protobuf.AtlasScientificOEMEC.conductivity_raw)
327}
328
329// optional double conductivity = 2;
330inline bool AtlasScientificOEMEC::_internal_has_conductivity() const {
331 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
332 return value;
333}
334inline bool AtlasScientificOEMEC::has_conductivity() const {
335 return _internal_has_conductivity();
336}
338 _impl_.conductivity_ = 0;
339 _impl_._has_bits_[0] &= ~0x00000002u;
340}
341inline double AtlasScientificOEMEC::_internal_conductivity() const {
342 return _impl_.conductivity_;
343}
344inline double AtlasScientificOEMEC::conductivity() const {
345 // @@protoc_insertion_point(field_get:jaiabot.sensor.protobuf.AtlasScientificOEMEC.conductivity)
346 return _internal_conductivity();
347}
348inline void AtlasScientificOEMEC::_internal_set_conductivity(double value) {
349 _impl_._has_bits_[0] |= 0x00000002u;
350 _impl_.conductivity_ = value;
351}
352inline void AtlasScientificOEMEC::set_conductivity(double value) {
353 _internal_set_conductivity(value);
354 // @@protoc_insertion_point(field_set:jaiabot.sensor.protobuf.AtlasScientificOEMEC.conductivity)
355}
356
357// optional double total_dissolved_solids = 3;
358inline bool AtlasScientificOEMEC::_internal_has_total_dissolved_solids() const {
359 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
360 return value;
361}
363 return _internal_has_total_dissolved_solids();
364}
366 _impl_.total_dissolved_solids_ = 0;
367 _impl_._has_bits_[0] &= ~0x00000004u;
368}
369inline double AtlasScientificOEMEC::_internal_total_dissolved_solids() const {
370 return _impl_.total_dissolved_solids_;
371}
373 // @@protoc_insertion_point(field_get:jaiabot.sensor.protobuf.AtlasScientificOEMEC.total_dissolved_solids)
374 return _internal_total_dissolved_solids();
375}
376inline void AtlasScientificOEMEC::_internal_set_total_dissolved_solids(double value) {
377 _impl_._has_bits_[0] |= 0x00000004u;
378 _impl_.total_dissolved_solids_ = value;
379}
380inline void AtlasScientificOEMEC::set_total_dissolved_solids(double value) {
381 _internal_set_total_dissolved_solids(value);
382 // @@protoc_insertion_point(field_set:jaiabot.sensor.protobuf.AtlasScientificOEMEC.total_dissolved_solids)
383}
384
385// optional double salinity_raw = 4;
386inline bool AtlasScientificOEMEC::_internal_has_salinity_raw() const {
387 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
388 return value;
389}
390inline bool AtlasScientificOEMEC::has_salinity_raw() const {
391 return _internal_has_salinity_raw();
392}
394 _impl_.salinity_raw_ = 0;
395 _impl_._has_bits_[0] &= ~0x00000008u;
396}
397inline double AtlasScientificOEMEC::_internal_salinity_raw() const {
398 return _impl_.salinity_raw_;
399}
400inline double AtlasScientificOEMEC::salinity_raw() const {
401 // @@protoc_insertion_point(field_get:jaiabot.sensor.protobuf.AtlasScientificOEMEC.salinity_raw)
402 return _internal_salinity_raw();
403}
404inline void AtlasScientificOEMEC::_internal_set_salinity_raw(double value) {
405 _impl_._has_bits_[0] |= 0x00000008u;
406 _impl_.salinity_raw_ = value;
407}
408inline void AtlasScientificOEMEC::set_salinity_raw(double value) {
409 _internal_set_salinity_raw(value);
410 // @@protoc_insertion_point(field_set:jaiabot.sensor.protobuf.AtlasScientificOEMEC.salinity_raw)
411}
412
413// optional double salinity = 5;
414inline bool AtlasScientificOEMEC::_internal_has_salinity() const {
415 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
416 return value;
417}
418inline bool AtlasScientificOEMEC::has_salinity() const {
419 return _internal_has_salinity();
420}
422 _impl_.salinity_ = 0;
423 _impl_._has_bits_[0] &= ~0x00000010u;
424}
425inline double AtlasScientificOEMEC::_internal_salinity() const {
426 return _impl_.salinity_;
427}
428inline double AtlasScientificOEMEC::salinity() const {
429 // @@protoc_insertion_point(field_get:jaiabot.sensor.protobuf.AtlasScientificOEMEC.salinity)
430 return _internal_salinity();
431}
432inline void AtlasScientificOEMEC::_internal_set_salinity(double value) {
433 _impl_._has_bits_[0] |= 0x00000010u;
434 _impl_.salinity_ = value;
435}
436inline void AtlasScientificOEMEC::set_salinity(double value) {
437 _internal_set_salinity(value);
438 // @@protoc_insertion_point(field_set:jaiabot.sensor.protobuf.AtlasScientificOEMEC.salinity)
439}
440
441#ifdef __GNUC__
442 #pragma GCC diagnostic pop
443#endif // __GNUC__
444
445// @@protoc_insertion_point(namespace_scope)
446
447} // namespace protobuf
448} // namespace sensor
449} // namespace jaiabot
450
451// @@protoc_insertion_point(global_scope)
452
453#include <google/protobuf/port_undef.inc>
454#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2fsensor_2fatlas_5fscientific_5f_5foem_5fec_2eproto
AtlasScientificOEMEC & operator=(const AtlasScientificOEMEC &from)
static const AtlasScientificOEMEC * internal_default_instance()
void CopyFrom(const AtlasScientificOEMEC &from)
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
AtlasScientificOEMEC * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
friend void swap(AtlasScientificOEMEC &a, AtlasScientificOEMEC &b)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
AtlasScientificOEMECDefaultTypeInternal _AtlasScientificOEMEC_default_instance_
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_jaiabot_2fmessages_2fsensor_2fatlas_5fscientific_5f_5foem_5fec_2eproto