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