JaiaBot 3.0.0
JaiaBot micro-AUV software
Loading...
Searching...
No Matches
ctd.pb.h
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: jaiabot/messages/ctd.proto
3
4#ifndef GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2fctd_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2fctd_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>
35#include <boost/units/quantity.hpp>
36#include <boost/units/absolute.hpp>
37#include <boost/units/dimensionless_type.hpp>
38#include <boost/units/make_scaled_unit.hpp>
39
40#include <boost/units/systems/temperature/celsius.hpp>
41
42#include <boost/units/systems/si.hpp>
43// @@protoc_insertion_point(includes)
44#include <google/protobuf/port_def.inc>
45#define PROTOBUF_INTERNAL_EXPORT_jaiabot_2fmessages_2fctd_2eproto
46PROTOBUF_NAMESPACE_OPEN
47namespace internal {
48class AnyMetadata;
49} // namespace internal
50PROTOBUF_NAMESPACE_CLOSE
51
52// Internal implementation detail -- do not use these members.
54 static const uint32_t offsets[];
55};
56extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_jaiabot_2fmessages_2fctd_2eproto;
57namespace jaiabot {
58namespace protobuf {
59class CTDProfile;
60struct CTDProfileDefaultTypeInternal;
61extern CTDProfileDefaultTypeInternal _CTDProfile_default_instance_;
62class CTDSnapshot;
63struct CTDSnapshotDefaultTypeInternal;
64extern CTDSnapshotDefaultTypeInternal _CTDSnapshot_default_instance_;
65} // namespace protobuf
66} // namespace jaiabot
67PROTOBUF_NAMESPACE_OPEN
68template<> ::jaiabot::protobuf::CTDProfile* Arena::CreateMaybeMessage<::jaiabot::protobuf::CTDProfile>(Arena*);
69template<> ::jaiabot::protobuf::CTDSnapshot* Arena::CreateMaybeMessage<::jaiabot::protobuf::CTDSnapshot>(Arena*);
70PROTOBUF_NAMESPACE_CLOSE
71namespace jaiabot {
72namespace protobuf {
73
74// ===================================================================
75
76class CTDSnapshot final :
77 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.protobuf.CTDSnapshot) */ {
78 public:
79 inline CTDSnapshot() : CTDSnapshot(nullptr) {}
80 ~CTDSnapshot() override;
81 explicit PROTOBUF_CONSTEXPR CTDSnapshot(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
82
84 CTDSnapshot(CTDSnapshot&& from) noexcept
85 : CTDSnapshot() {
86 *this = ::std::move(from);
87 }
88
89 inline CTDSnapshot& operator=(const CTDSnapshot& from) {
90 CopyFrom(from);
91 return *this;
92 }
93 inline CTDSnapshot& operator=(CTDSnapshot&& from) noexcept {
94 if (this == &from) return *this;
95 if (GetOwningArena() == from.GetOwningArena()
96 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
97 && GetOwningArena() != nullptr
98 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
99 ) {
100 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 default_instance().GetMetadata().descriptor;
119 }
120 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
121 return default_instance().GetMetadata().reflection;
122 }
125 }
126 static inline const CTDSnapshot* internal_default_instance() {
127 return reinterpret_cast<const CTDSnapshot*>(
129 }
130 static constexpr int kIndexInFileMessages =
131 0;
132
133 friend void swap(CTDSnapshot& a, CTDSnapshot& b) {
134 a.Swap(&b);
135 }
136 inline void Swap(CTDSnapshot* other) {
137 if (other == this) return;
138 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
139 if (GetOwningArena() != nullptr &&
140 GetOwningArena() == other->GetOwningArena()) {
141 #else // PROTOBUF_FORCE_COPY_IN_SWAP
142 if (GetOwningArena() == other->GetOwningArena()) {
143 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
144 InternalSwap(other);
145 } else {
146 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
147 }
148 }
150 if (other == this) return;
151 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
152 InternalSwap(other);
153 }
154
155 // implements Message ----------------------------------------------
156
157 CTDSnapshot* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
158 return CreateMaybeMessage<CTDSnapshot>(arena);
159 }
160 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
161 void CopyFrom(const CTDSnapshot& from);
162 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
163 void MergeFrom( const CTDSnapshot& from) {
164 CTDSnapshot::MergeImpl(*this, from);
165 }
166 private:
167 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
168 public:
169 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
170 bool IsInitialized() const final;
171
172 size_t ByteSizeLong() const final;
173 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
175 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
176 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
177
178 private:
179 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
180 void SharedDtor();
181 void SetCachedSize(int size) const final;
182 void InternalSwap(CTDSnapshot* other);
183
184 private:
185 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
186 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
187 return "jaiabot.protobuf.CTDSnapshot";
188 }
189 protected:
190 explicit CTDSnapshot(::PROTOBUF_NAMESPACE_ID::Arena* arena,
191 bool is_message_owned = false);
192 public:
193
194 static const ClassData _class_data_;
195 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
196
197 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
198
199 // nested types ----------------------------------------------------
200
201 // accessors -------------------------------------------------------
202
203 enum : int {
208 };
209 // optional uint64 time = 1 [(.dccl.field) = {
210 bool has_time() const;
211 private:
212 bool _internal_has_time() const;
213 public:
214 void clear_time();
215 uint64_t time() const;
216 void set_time(uint64_t value);
217 private:
218 uint64_t _internal_time() const;
219 void _internal_set_time(uint64_t value);
220 public:
221
222 // optional double salinity = 2 [(.dccl.field) = {
223 bool has_salinity() const;
224 private:
225 bool _internal_has_salinity() const;
226 public:
227 void clear_salinity();
228 double salinity() const;
229 void set_salinity(double value);
230 private:
231 double _internal_salinity() const;
232 void _internal_set_salinity(double value);
233 public:
234
235 // optional double temperature = 3 [(.dccl.field) = {
236 bool has_temperature() const;
237 private:
238 bool _internal_has_temperature() const;
239 public:
240 void clear_temperature();
241 double temperature() const;
242 void set_temperature(double value);
243 private:
244 double _internal_temperature() const;
245 void _internal_set_temperature(double value);
246 public:
247
248 // optional double depth = 4 [(.dccl.field) = {
249 bool has_depth() const;
250 private:
251 bool _internal_has_depth() const;
252 public:
253 void clear_depth();
254 double depth() const;
255 void set_depth(double value);
256 private:
257 double _internal_depth() const;
258 void _internal_set_depth(double value);
259 public:
260
262 typedef boost::units::time_dimension time_dimension;
263
264 typedef boost::units::make_scaled_unit<boost::units::unit<time_dimension,boost::units::si::system> , boost::units::scale<10, boost::units::static_rational<-6> > >::type time_unit;
265
266 template<typename Quantity >
267 void set_time_with_units(Quantity value_w_units)
268 { set_time(boost::units::quantity<time_unit,google::protobuf::uint64 >(value_w_units).value() ); };
269
270 template<typename Quantity >
271 Quantity time_with_units() const
272 { return Quantity(time() * time_unit()); };
273
274 boost::units::quantity< time_unit,google::protobuf::uint64 > time_with_units() const
276
277 typedef boost::units::dimensionless_type salinity_dimension;
278
279 typedef boost::units::unit<salinity_dimension,boost::units::si::system> salinity_unit;
280
281 template<typename Quantity >
282 void set_salinity_with_units(Quantity value_w_units)
283 { set_salinity(boost::units::quantity<salinity_unit,double >(value_w_units).value() ); };
284
285 template<typename Quantity >
286 Quantity salinity_with_units() const
287 { return Quantity(salinity() * salinity_unit()); };
288
289 boost::units::quantity< salinity_unit,double > salinity_with_units() const
291
292 typedef boost::units::temperature_dimension temperature_dimension;
293
294 typedef boost::units::absolute<boost::units::unit<temperature_dimension,boost::units::celsius::system> > temperature_unit;
295
296 template<typename Quantity >
297 void set_temperature_with_units(Quantity value_w_units)
298 { set_temperature(boost::units::quantity<temperature_unit,double >(value_w_units).value() ); };
299
300 template<typename Quantity >
301 Quantity temperature_with_units() const
302 { return Quantity(temperature() * temperature_unit()); };
303
304 boost::units::quantity< temperature_unit,double > temperature_with_units() const
306
307 typedef boost::units::length_dimension depth_dimension;
308
309 typedef boost::units::unit<depth_dimension,boost::units::si::system> depth_unit;
310
311 template<typename Quantity >
312 void set_depth_with_units(Quantity value_w_units)
313 { set_depth(boost::units::quantity<depth_unit,double >(value_w_units).value() ); };
314
315 template<typename Quantity >
316 Quantity depth_with_units() const
317 { return Quantity(depth() * depth_unit()); };
318
319 boost::units::quantity< depth_unit,double > depth_with_units() const
321
322 // @@protoc_insertion_point(class_scope:jaiabot.protobuf.CTDSnapshot)
323 private:
324 class _Internal;
325
326 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
327 typedef void InternalArenaConstructable_;
328 typedef void DestructorSkippable_;
329 struct Impl_ {
330 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
331 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
332 uint64_t time_;
333 double salinity_;
334 double temperature_;
335 double depth_;
336 };
337 union { Impl_ _impl_; };
338 friend struct ::TableStruct_jaiabot_2fmessages_2fctd_2eproto;
339};
340// -------------------------------------------------------------------
341
342class CTDProfile final :
343 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.protobuf.CTDProfile) */ {
344 public:
345 inline CTDProfile() : CTDProfile(nullptr) {}
346 ~CTDProfile() override;
347 explicit PROTOBUF_CONSTEXPR CTDProfile(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
348
349 CTDProfile(const CTDProfile& from);
350 CTDProfile(CTDProfile&& from) noexcept
351 : CTDProfile() {
352 *this = ::std::move(from);
353 }
354
355 inline CTDProfile& operator=(const CTDProfile& from) {
356 CopyFrom(from);
357 return *this;
358 }
359 inline CTDProfile& operator=(CTDProfile&& from) noexcept {
360 if (this == &from) return *this;
361 if (GetOwningArena() == from.GetOwningArena()
362 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
363 && GetOwningArena() != nullptr
364 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
365 ) {
366 InternalSwap(&from);
367 } else {
368 CopyFrom(from);
369 }
370 return *this;
371 }
372
373 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
374 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
375 }
376 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
377 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
378 }
379
380 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
381 return GetDescriptor();
382 }
383 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
384 return default_instance().GetMetadata().descriptor;
385 }
386 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
387 return default_instance().GetMetadata().reflection;
388 }
389 static const CTDProfile& default_instance() {
391 }
392 static inline const CTDProfile* internal_default_instance() {
393 return reinterpret_cast<const CTDProfile*>(
395 }
396 static constexpr int kIndexInFileMessages =
397 1;
398
399 friend void swap(CTDProfile& a, CTDProfile& b) {
400 a.Swap(&b);
401 }
402 inline void Swap(CTDProfile* other) {
403 if (other == this) return;
404 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
405 if (GetOwningArena() != nullptr &&
406 GetOwningArena() == other->GetOwningArena()) {
407 #else // PROTOBUF_FORCE_COPY_IN_SWAP
408 if (GetOwningArena() == other->GetOwningArena()) {
409 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
410 InternalSwap(other);
411 } else {
412 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
413 }
414 }
416 if (other == this) return;
417 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
418 InternalSwap(other);
419 }
420
421 // implements Message ----------------------------------------------
422
423 CTDProfile* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
424 return CreateMaybeMessage<CTDProfile>(arena);
425 }
426 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
427 void CopyFrom(const CTDProfile& from);
428 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
429 void MergeFrom( const CTDProfile& from) {
430 CTDProfile::MergeImpl(*this, from);
431 }
432 private:
433 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
434 public:
435 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
436 bool IsInitialized() const final;
437
438 size_t ByteSizeLong() const final;
439 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
441 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
442 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
443
444 private:
445 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
446 void SharedDtor();
447 void SetCachedSize(int size) const final;
448 void InternalSwap(CTDProfile* other);
449
450 private:
451 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
452 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
453 return "jaiabot.protobuf.CTDProfile";
454 }
455 protected:
456 explicit CTDProfile(::PROTOBUF_NAMESPACE_ID::Arena* arena,
457 bool is_message_owned = false);
458 public:
459
460 static const ClassData _class_data_;
461 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
462
463 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
464
465 // nested types ----------------------------------------------------
466
467 // accessors -------------------------------------------------------
468
469 enum : int {
473 };
474 // repeated .jaiabot.protobuf.CTDSnapshot snapshot = 3;
475 int snapshot_size() const;
476 private:
477 int _internal_snapshot_size() const;
478 public:
479 void clear_snapshot();
480 ::jaiabot::protobuf::CTDSnapshot* mutable_snapshot(int index);
481 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::protobuf::CTDSnapshot >*
482 mutable_snapshot();
483 private:
484 const ::jaiabot::protobuf::CTDSnapshot& _internal_snapshot(int index) const;
485 ::jaiabot::protobuf::CTDSnapshot* _internal_add_snapshot();
486 public:
487 const ::jaiabot::protobuf::CTDSnapshot& snapshot(int index) const;
488 ::jaiabot::protobuf::CTDSnapshot* add_snapshot();
489 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::protobuf::CTDSnapshot >&
490 snapshot() const;
491
492 // optional .jaiabot.protobuf.GeographicCoordinate location = 2;
493 bool has_location() const;
494 private:
495 bool _internal_has_location() const;
496 public:
498 const ::jaiabot::protobuf::GeographicCoordinate& location() const;
499 PROTOBUF_NODISCARD ::jaiabot::protobuf::GeographicCoordinate* release_location();
502 private:
503 const ::jaiabot::protobuf::GeographicCoordinate& _internal_location() const;
504 ::jaiabot::protobuf::GeographicCoordinate* _internal_mutable_location();
505 public:
509
510 // optional uint32 bot_id = 1 [(.dccl.field) = {
511 bool has_bot_id() const;
512 private:
513 bool _internal_has_bot_id() const;
514 public:
515 void clear_bot_id();
516 uint32_t bot_id() const;
517 void set_bot_id(uint32_t value);
518 private:
519 uint32_t _internal_bot_id() const;
520 void _internal_set_bot_id(uint32_t value);
521 public:
522
524 // @@protoc_insertion_point(class_scope:jaiabot.protobuf.CTDProfile)
525 private:
526 class _Internal;
527
528 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
529 typedef void InternalArenaConstructable_;
530 typedef void DestructorSkippable_;
531 struct Impl_ {
532 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
533 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
534 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::protobuf::CTDSnapshot > snapshot_;
536 uint32_t bot_id_;
537 };
538 union { Impl_ _impl_; };
539 friend struct ::TableStruct_jaiabot_2fmessages_2fctd_2eproto;
540};
541// ===================================================================
542
543
544// ===================================================================
545
546#ifdef __GNUC__
547 #pragma GCC diagnostic push
548 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
549#endif // __GNUC__
550// CTDSnapshot
551
552// optional uint64 time = 1 [(.dccl.field) = {
553inline bool CTDSnapshot::_internal_has_time() const {
554 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
555 return value;
556}
557inline bool CTDSnapshot::has_time() const {
558 return _internal_has_time();
559}
561 _impl_.time_ = uint64_t{0u};
562 _impl_._has_bits_[0] &= ~0x00000001u;
563}
564inline uint64_t CTDSnapshot::_internal_time() const {
565 return _impl_.time_;
566}
567inline uint64_t CTDSnapshot::time() const {
568 // @@protoc_insertion_point(field_get:jaiabot.protobuf.CTDSnapshot.time)
569 return _internal_time();
570}
571inline void CTDSnapshot::_internal_set_time(uint64_t value) {
572 _impl_._has_bits_[0] |= 0x00000001u;
573 _impl_.time_ = value;
574}
575inline void CTDSnapshot::set_time(uint64_t value) {
576 _internal_set_time(value);
577 // @@protoc_insertion_point(field_set:jaiabot.protobuf.CTDSnapshot.time)
578}
579
580// optional double salinity = 2 [(.dccl.field) = {
581inline bool CTDSnapshot::_internal_has_salinity() const {
582 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
583 return value;
584}
585inline bool CTDSnapshot::has_salinity() const {
586 return _internal_has_salinity();
587}
589 _impl_.salinity_ = 0;
590 _impl_._has_bits_[0] &= ~0x00000002u;
591}
592inline double CTDSnapshot::_internal_salinity() const {
593 return _impl_.salinity_;
594}
595inline double CTDSnapshot::salinity() const {
596 // @@protoc_insertion_point(field_get:jaiabot.protobuf.CTDSnapshot.salinity)
597 return _internal_salinity();
598}
599inline void CTDSnapshot::_internal_set_salinity(double value) {
600 _impl_._has_bits_[0] |= 0x00000002u;
601 _impl_.salinity_ = value;
602}
603inline void CTDSnapshot::set_salinity(double value) {
604 _internal_set_salinity(value);
605 // @@protoc_insertion_point(field_set:jaiabot.protobuf.CTDSnapshot.salinity)
606}
607
608// optional double temperature = 3 [(.dccl.field) = {
609inline bool CTDSnapshot::_internal_has_temperature() const {
610 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
611 return value;
612}
613inline bool CTDSnapshot::has_temperature() const {
614 return _internal_has_temperature();
615}
617 _impl_.temperature_ = 0;
618 _impl_._has_bits_[0] &= ~0x00000004u;
619}
620inline double CTDSnapshot::_internal_temperature() const {
621 return _impl_.temperature_;
622}
623inline double CTDSnapshot::temperature() const {
624 // @@protoc_insertion_point(field_get:jaiabot.protobuf.CTDSnapshot.temperature)
625 return _internal_temperature();
626}
627inline void CTDSnapshot::_internal_set_temperature(double value) {
628 _impl_._has_bits_[0] |= 0x00000004u;
629 _impl_.temperature_ = value;
630}
631inline void CTDSnapshot::set_temperature(double value) {
632 _internal_set_temperature(value);
633 // @@protoc_insertion_point(field_set:jaiabot.protobuf.CTDSnapshot.temperature)
634}
635
636// optional double depth = 4 [(.dccl.field) = {
637inline bool CTDSnapshot::_internal_has_depth() const {
638 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
639 return value;
640}
641inline bool CTDSnapshot::has_depth() const {
642 return _internal_has_depth();
643}
645 _impl_.depth_ = 0;
646 _impl_._has_bits_[0] &= ~0x00000008u;
647}
648inline double CTDSnapshot::_internal_depth() const {
649 return _impl_.depth_;
650}
651inline double CTDSnapshot::depth() const {
652 // @@protoc_insertion_point(field_get:jaiabot.protobuf.CTDSnapshot.depth)
653 return _internal_depth();
654}
655inline void CTDSnapshot::_internal_set_depth(double value) {
656 _impl_._has_bits_[0] |= 0x00000008u;
657 _impl_.depth_ = value;
658}
659inline void CTDSnapshot::set_depth(double value) {
660 _internal_set_depth(value);
661 // @@protoc_insertion_point(field_set:jaiabot.protobuf.CTDSnapshot.depth)
662}
663
664// -------------------------------------------------------------------
665
666// CTDProfile
667
668// optional uint32 bot_id = 1 [(.dccl.field) = {
669inline bool CTDProfile::_internal_has_bot_id() const {
670 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
671 return value;
672}
673inline bool CTDProfile::has_bot_id() const {
674 return _internal_has_bot_id();
675}
677 _impl_.bot_id_ = 0u;
678 _impl_._has_bits_[0] &= ~0x00000002u;
679}
680inline uint32_t CTDProfile::_internal_bot_id() const {
681 return _impl_.bot_id_;
682}
683inline uint32_t CTDProfile::bot_id() const {
684 // @@protoc_insertion_point(field_get:jaiabot.protobuf.CTDProfile.bot_id)
685 return _internal_bot_id();
686}
687inline void CTDProfile::_internal_set_bot_id(uint32_t value) {
688 _impl_._has_bits_[0] |= 0x00000002u;
689 _impl_.bot_id_ = value;
690}
691inline void CTDProfile::set_bot_id(uint32_t value) {
692 _internal_set_bot_id(value);
693 // @@protoc_insertion_point(field_set:jaiabot.protobuf.CTDProfile.bot_id)
694}
695
696// optional .jaiabot.protobuf.GeographicCoordinate location = 2;
697inline bool CTDProfile::_internal_has_location() const {
698 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
699 PROTOBUF_ASSUME(!value || _impl_.location_ != nullptr);
700 return value;
701}
702inline bool CTDProfile::has_location() const {
703 return _internal_has_location();
704}
705inline const ::jaiabot::protobuf::GeographicCoordinate& CTDProfile::_internal_location() const {
706 const ::jaiabot::protobuf::GeographicCoordinate* p = _impl_.location_;
707 return p != nullptr ? *p : reinterpret_cast<const ::jaiabot::protobuf::GeographicCoordinate&>(
709}
710inline const ::jaiabot::protobuf::GeographicCoordinate& CTDProfile::location() const {
711 // @@protoc_insertion_point(field_get:jaiabot.protobuf.CTDProfile.location)
712 return _internal_location();
713}
716 if (GetArenaForAllocation() == nullptr) {
717 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.location_);
718 }
719 _impl_.location_ = location;
720 if (location) {
721 _impl_._has_bits_[0] |= 0x00000001u;
722 } else {
723 _impl_._has_bits_[0] &= ~0x00000001u;
724 }
725 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.CTDProfile.location)
726}
727inline ::jaiabot::protobuf::GeographicCoordinate* CTDProfile::release_location() {
728 _impl_._has_bits_[0] &= ~0x00000001u;
730 _impl_.location_ = nullptr;
731#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
732 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
733 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
734 if (GetArenaForAllocation() == nullptr) { delete old; }
735#else // PROTOBUF_FORCE_COPY_IN_RELEASE
736 if (GetArenaForAllocation() != nullptr) {
737 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
738 }
739#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
740 return temp;
741}
742inline ::jaiabot::protobuf::GeographicCoordinate* CTDProfile::unsafe_arena_release_location() {
743 // @@protoc_insertion_point(field_release:jaiabot.protobuf.CTDProfile.location)
744 _impl_._has_bits_[0] &= ~0x00000001u;
746 _impl_.location_ = nullptr;
747 return temp;
748}
749inline ::jaiabot::protobuf::GeographicCoordinate* CTDProfile::_internal_mutable_location() {
750 _impl_._has_bits_[0] |= 0x00000001u;
751 if (_impl_.location_ == nullptr) {
752 auto* p = CreateMaybeMessage<::jaiabot::protobuf::GeographicCoordinate>(GetArenaForAllocation());
753 _impl_.location_ = p;
754 }
755 return _impl_.location_;
756}
757inline ::jaiabot::protobuf::GeographicCoordinate* CTDProfile::mutable_location() {
758 ::jaiabot::protobuf::GeographicCoordinate* _msg = _internal_mutable_location();
759 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.CTDProfile.location)
760 return _msg;
761}
763 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
764 if (message_arena == nullptr) {
765 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.location_);
766 }
767 if (location) {
768 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
769 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
770 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(location));
771 if (message_arena != submessage_arena) {
772 location = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
773 message_arena, location, submessage_arena);
774 }
775 _impl_._has_bits_[0] |= 0x00000001u;
776 } else {
777 _impl_._has_bits_[0] &= ~0x00000001u;
778 }
779 _impl_.location_ = location;
780 // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.CTDProfile.location)
781}
782
783// repeated .jaiabot.protobuf.CTDSnapshot snapshot = 3;
784inline int CTDProfile::_internal_snapshot_size() const {
785 return _impl_.snapshot_.size();
786}
787inline int CTDProfile::snapshot_size() const {
788 return _internal_snapshot_size();
789}
791 _impl_.snapshot_.Clear();
792}
793inline ::jaiabot::protobuf::CTDSnapshot* CTDProfile::mutable_snapshot(int index) {
794 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.CTDProfile.snapshot)
795 return _impl_.snapshot_.Mutable(index);
796}
797inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::protobuf::CTDSnapshot >*
799 // @@protoc_insertion_point(field_mutable_list:jaiabot.protobuf.CTDProfile.snapshot)
800 return &_impl_.snapshot_;
801}
802inline const ::jaiabot::protobuf::CTDSnapshot& CTDProfile::_internal_snapshot(int index) const {
803 return _impl_.snapshot_.Get(index);
804}
805inline const ::jaiabot::protobuf::CTDSnapshot& CTDProfile::snapshot(int index) const {
806 // @@protoc_insertion_point(field_get:jaiabot.protobuf.CTDProfile.snapshot)
807 return _internal_snapshot(index);
808}
809inline ::jaiabot::protobuf::CTDSnapshot* CTDProfile::_internal_add_snapshot() {
810 return _impl_.snapshot_.Add();
811}
812inline ::jaiabot::protobuf::CTDSnapshot* CTDProfile::add_snapshot() {
813 ::jaiabot::protobuf::CTDSnapshot* _add = _internal_add_snapshot();
814 // @@protoc_insertion_point(field_add:jaiabot.protobuf.CTDProfile.snapshot)
815 return _add;
816}
817inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::protobuf::CTDSnapshot >&
819 // @@protoc_insertion_point(field_list:jaiabot.protobuf.CTDProfile.snapshot)
820 return _impl_.snapshot_;
821}
822
823#ifdef __GNUC__
824 #pragma GCC diagnostic pop
825#endif // __GNUC__
826// -------------------------------------------------------------------
827
828
829// @@protoc_insertion_point(namespace_scope)
830
831} // namespace protobuf
832} // namespace jaiabot
833
834// @@protoc_insertion_point(global_scope)
835
836#include <google/protobuf/port_undef.inc>
837#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2fctd_2eproto
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition ctd.pb.h:383
const ::jaiabot::protobuf::CTDSnapshot & snapshot(int index) const
Definition ctd.pb.h:805
static const CTDProfile & default_instance()
Definition ctd.pb.h:389
void unsafe_arena_set_allocated_location(::jaiabot::protobuf::GeographicCoordinate *location)
Definition ctd.pb.h:714
::jaiabot::protobuf::GeographicCoordinate * unsafe_arena_release_location()
Definition ctd.pb.h:742
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
Definition ctd.pb.h:376
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
bool IsInitialized() const final
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
static constexpr int kIndexInFileMessages
Definition ctd.pb.h:396
CTDProfile & operator=(const CTDProfile &from)
Definition ctd.pb.h:355
void MergeFrom(const CTDProfile &from)
Definition ctd.pb.h:429
static const CTDProfile * internal_default_instance()
Definition ctd.pb.h:392
::jaiabot::protobuf::CTDSnapshot * add_snapshot()
Definition ctd.pb.h:812
CTDProfile * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Definition ctd.pb.h:423
void CopyFrom(const CTDProfile &from)
size_t ByteSizeLong() const final
CTDProfile & operator=(CTDProfile &&from) noexcept
Definition ctd.pb.h:359
friend void swap(CTDProfile &a, CTDProfile &b)
Definition ctd.pb.h:399
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition ctd.pb.h:386
CTDProfile(CTDProfile &&from) noexcept
Definition ctd.pb.h:350
::jaiabot::protobuf::GeographicCoordinate * mutable_location()
Definition ctd.pb.h:757
void set_bot_id(uint32_t value)
Definition ctd.pb.h:691
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
Definition ctd.pb.h:373
void UnsafeArenaSwap(CTDProfile *other)
Definition ctd.pb.h:415
void Swap(CTDProfile *other)
Definition ctd.pb.h:402
static const ClassData _class_data_
Definition ctd.pb.h:460
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
::jaiabot::protobuf::CTDSnapshot * mutable_snapshot(int index)
Definition ctd.pb.h:793
const ::jaiabot::protobuf::GeographicCoordinate & location() const
Definition ctd.pb.h:710
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition ctd.pb.h:380
PROTOBUF_NODISCARD::jaiabot::protobuf::GeographicCoordinate * release_location()
Definition ctd.pb.h:727
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
CTDProfile(const CTDProfile &from)
int GetCachedSize() const final
Definition ctd.pb.h:442
uint32_t bot_id() const
Definition ctd.pb.h:683
PROTOBUF_CONSTEXPR CTDProfile(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
void set_allocated_location(::jaiabot::protobuf::GeographicCoordinate *location)
Definition ctd.pb.h:762
CTDProfile(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
size_t ByteSizeLong() const final
boost::units::absolute< boost::units::unit< temperature_dimension, boost::units::celsius::system > > temperature_unit
Definition ctd.pb.h:294
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
Quantity time_with_units() const
Definition ctd.pb.h:271
CTDSnapshot & operator=(const CTDSnapshot &from)
Definition ctd.pb.h:89
CTDSnapshot(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
boost::units::quantity< depth_unit, double > depth_with_units() const
Definition ctd.pb.h:319
bool IsInitialized() const final
friend void swap(CTDSnapshot &a, CTDSnapshot &b)
Definition ctd.pb.h:133
int GetCachedSize() const final
Definition ctd.pb.h:176
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition ctd.pb.h:120
boost::units::dimensionless_type salinity_dimension
Definition ctd.pb.h:277
void set_temperature_with_units(Quantity value_w_units)
Definition ctd.pb.h:297
PROTOBUF_CONSTEXPR CTDSnapshot(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
Quantity depth_with_units() const
Definition ctd.pb.h:316
boost::units::length_dimension depth_dimension
Definition ctd.pb.h:307
double temperature() const
Definition ctd.pb.h:623
void set_depth_with_units(Quantity value_w_units)
Definition ctd.pb.h:312
void Swap(CTDSnapshot *other)
Definition ctd.pb.h:136
void set_salinity(double value)
Definition ctd.pb.h:603
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition ctd.pb.h:114
Quantity salinity_with_units() const
Definition ctd.pb.h:286
boost::units::quantity< salinity_unit, double > salinity_with_units() const
Definition ctd.pb.h:289
static const CTDSnapshot & default_instance()
Definition ctd.pb.h:123
Quantity temperature_with_units() const
Definition ctd.pb.h:301
static const ClassData _class_data_
Definition ctd.pb.h:194
static constexpr int kIndexInFileMessages
Definition ctd.pb.h:130
boost::units::temperature_dimension temperature_dimension
Definition ctd.pb.h:292
boost::units::unit< salinity_dimension, boost::units::si::system > salinity_unit
Definition ctd.pb.h:279
boost::units::quantity< time_unit, google::protobuf::uint64 > time_with_units() const
Definition ctd.pb.h:274
boost::units::unit< depth_dimension, boost::units::si::system > depth_unit
Definition ctd.pb.h:309
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
Definition ctd.pb.h:110
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
void UnsafeArenaSwap(CTDSnapshot *other)
Definition ctd.pb.h:149
boost::units::quantity< temperature_unit, double > temperature_with_units() const
Definition ctd.pb.h:304
void MergeFrom(const CTDSnapshot &from)
Definition ctd.pb.h:163
void set_temperature(double value)
Definition ctd.pb.h:631
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
Definition ctd.pb.h:107
void set_salinity_with_units(Quantity value_w_units)
Definition ctd.pb.h:282
boost::units::time_dimension time_dimension
Definition ctd.pb.h:262
CTDSnapshot * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Definition ctd.pb.h:157
void set_depth(double value)
Definition ctd.pb.h:659
static const CTDSnapshot * internal_default_instance()
Definition ctd.pb.h:126
CTDSnapshot & operator=(CTDSnapshot &&from) noexcept
Definition ctd.pb.h:93
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
CTDSnapshot(const CTDSnapshot &from)
CTDSnapshot(CTDSnapshot &&from) noexcept
Definition ctd.pb.h:84
uint64_t time() const
Definition ctd.pb.h:567
void set_time_with_units(Quantity value_w_units)
Definition ctd.pb.h:267
boost::units::make_scaled_unit< boost::units::unit< time_dimension, boost::units::si::system >, boost::units::scale< 10, boost::units::static_rational<-6 > > >::type time_unit
Definition ctd.pb.h:264
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
void set_time(uint64_t value)
Definition ctd.pb.h:575
void CopyFrom(const CTDSnapshot &from)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition ctd.pb.h:117
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_jaiabot_2fmessages_2fctd_2eproto
PROTOBUF_NAMESPACE_OPEN ::jaiabot::protobuf::GeographicCoordinate * Arena::CreateMaybeMessage<::jaiabot::protobuf::GeographicCoordinate >(Arena *)
CTDSnapshotDefaultTypeInternal _CTDSnapshot_default_instance_
CTDProfileDefaultTypeInternal _CTDProfile_default_instance_
GeographicCoordinateDefaultTypeInternal _GeographicCoordinate_default_instance_