JaiaBot 2.6.0
JaiaBot micro-AUV software
 
Loading...
Searching...
No Matches
jaia_dccl.pb.h
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: jaiabot/messages/jaia_dccl.proto
3
4#ifndef GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2fjaia_5fdccl_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2fjaia_5fdccl_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/generated_enum_reflection.h>
33#include <google/protobuf/unknown_field_set.h>
38#include "goby/middleware/protobuf/coroner.pb.h"
43#include <boost/units/quantity.hpp>
44#include <boost/units/absolute.hpp>
45#include <boost/units/dimensionless_type.hpp>
46#include <boost/units/make_scaled_unit.hpp>
47
48#include <boost/units/systems/angle/degrees.hpp>
49
50#include <boost/units/systems/temperature/celsius.hpp>
51
52#include <boost/units/systems/si.hpp>
53// @@protoc_insertion_point(includes)
54#include <google/protobuf/port_def.inc>
55#define PROTOBUF_INTERNAL_EXPORT_jaiabot_2fmessages_2fjaia_5fdccl_2eproto
56PROTOBUF_NAMESPACE_OPEN
57namespace internal {
58class AnyMetadata;
59} // namespace internal
60PROTOBUF_NAMESPACE_CLOSE
61
62// Internal implementation detail -- do not use these members.
66extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_jaiabot_2fmessages_2fjaia_5fdccl_2eproto;
67namespace jaiabot {
68namespace protobuf {
69class BotStatus;
70struct BotStatusDefaultTypeInternal;
71extern BotStatusDefaultTypeInternal _BotStatus_default_instance_;
72class BotStatus_Attitude;
73struct BotStatus_AttitudeDefaultTypeInternal;
74extern BotStatus_AttitudeDefaultTypeInternal _BotStatus_Attitude_default_instance_;
75class BotStatus_Speed;
76struct BotStatus_SpeedDefaultTypeInternal;
77extern BotStatus_SpeedDefaultTypeInternal _BotStatus_Speed_default_instance_;
78class Command;
79struct CommandDefaultTypeInternal;
80extern CommandDefaultTypeInternal _Command_default_instance_;
81class CommandForHub;
82struct CommandForHubDefaultTypeInternal;
83extern CommandForHubDefaultTypeInternal _CommandForHub_default_instance_;
84class ContactUpdate;
85struct ContactUpdateDefaultTypeInternal;
86extern ContactUpdateDefaultTypeInternal _ContactUpdate_default_instance_;
87class DivePacket;
88struct DivePacketDefaultTypeInternal;
89extern DivePacketDefaultTypeInternal _DivePacket_default_instance_;
90class DivePacket_Measurements;
91struct DivePacket_MeasurementsDefaultTypeInternal;
92extern DivePacket_MeasurementsDefaultTypeInternal _DivePacket_Measurements_default_instance_;
93class DivePacket_SubsurfaceCurrentVector;
94struct DivePacket_SubsurfaceCurrentVectorDefaultTypeInternal;
95extern DivePacket_SubsurfaceCurrentVectorDefaultTypeInternal _DivePacket_SubsurfaceCurrentVector_default_instance_;
96class DriftPacket;
97struct DriftPacketDefaultTypeInternal;
98extern DriftPacketDefaultTypeInternal _DriftPacket_default_instance_;
99class DriftPacket_EstimatedDrift;
100struct DriftPacket_EstimatedDriftDefaultTypeInternal;
101extern DriftPacket_EstimatedDriftDefaultTypeInternal _DriftPacket_EstimatedDrift_default_instance_;
102class Hub2HubData;
103struct Hub2HubDataDefaultTypeInternal;
104extern Hub2HubDataDefaultTypeInternal _Hub2HubData_default_instance_;
105class TaskPacket;
106struct TaskPacketDefaultTypeInternal;
107extern TaskPacketDefaultTypeInternal _TaskPacket_default_instance_;
108} // namespace protobuf
109} // namespace jaiabot
110PROTOBUF_NAMESPACE_OPEN
111template<> ::jaiabot::protobuf::BotStatus* Arena::CreateMaybeMessage<::jaiabot::protobuf::BotStatus>(Arena*);
112template<> ::jaiabot::protobuf::BotStatus_Attitude* Arena::CreateMaybeMessage<::jaiabot::protobuf::BotStatus_Attitude>(Arena*);
113template<> ::jaiabot::protobuf::BotStatus_Speed* Arena::CreateMaybeMessage<::jaiabot::protobuf::BotStatus_Speed>(Arena*);
114template<> ::jaiabot::protobuf::Command* Arena::CreateMaybeMessage<::jaiabot::protobuf::Command>(Arena*);
115template<> ::jaiabot::protobuf::CommandForHub* Arena::CreateMaybeMessage<::jaiabot::protobuf::CommandForHub>(Arena*);
116template<> ::jaiabot::protobuf::ContactUpdate* Arena::CreateMaybeMessage<::jaiabot::protobuf::ContactUpdate>(Arena*);
117template<> ::jaiabot::protobuf::DivePacket* Arena::CreateMaybeMessage<::jaiabot::protobuf::DivePacket>(Arena*);
118template<> ::jaiabot::protobuf::DivePacket_Measurements* Arena::CreateMaybeMessage<::jaiabot::protobuf::DivePacket_Measurements>(Arena*);
119template<> ::jaiabot::protobuf::DivePacket_SubsurfaceCurrentVector* Arena::CreateMaybeMessage<::jaiabot::protobuf::DivePacket_SubsurfaceCurrentVector>(Arena*);
120template<> ::jaiabot::protobuf::DriftPacket* Arena::CreateMaybeMessage<::jaiabot::protobuf::DriftPacket>(Arena*);
121template<> ::jaiabot::protobuf::DriftPacket_EstimatedDrift* Arena::CreateMaybeMessage<::jaiabot::protobuf::DriftPacket_EstimatedDrift>(Arena*);
122template<> ::jaiabot::protobuf::Hub2HubData* Arena::CreateMaybeMessage<::jaiabot::protobuf::Hub2HubData>(Arena*);
123template<> ::jaiabot::protobuf::TaskPacket* Arena::CreateMaybeMessage<::jaiabot::protobuf::TaskPacket>(Arena*);
124PROTOBUF_NAMESPACE_CLOSE
125namespace jaiabot {
126namespace protobuf {
127
154
155const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Command_CommandType_descriptor();
156template<typename T>
157inline const std::string& Command_CommandType_Name(T enum_t_value) {
158 static_assert(::std::is_same<T, Command_CommandType>::value ||
159 ::std::is_integral<T>::value,
160 "Incorrect type passed to function Command_CommandType_Name.");
161 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
162 Command_CommandType_descriptor(), enum_t_value);
163}
165 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Command_CommandType* value) {
166 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<Command_CommandType>(
167 Command_CommandType_descriptor(), name, value);
168}
181
182const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CommandForHub_HubCommandType_descriptor();
183template<typename T>
184inline const std::string& CommandForHub_HubCommandType_Name(T enum_t_value) {
185 static_assert(::std::is_same<T, CommandForHub_HubCommandType>::value ||
186 ::std::is_integral<T>::value,
187 "Incorrect type passed to function CommandForHub_HubCommandType_Name.");
188 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
190}
192 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, CommandForHub_HubCommandType* value) {
193 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<CommandForHub_HubCommandType>(
195}
205
206const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* BotStatus_BotType_descriptor();
207template<typename T>
208inline const std::string& BotStatus_BotType_Name(T enum_t_value) {
209 static_assert(::std::is_same<T, BotStatus_BotType>::value ||
210 ::std::is_integral<T>::value,
211 "Incorrect type passed to function BotStatus_BotType_Name.");
212 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
213 BotStatus_BotType_descriptor(), enum_t_value);
214}
216 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, BotStatus_BotType* value) {
217 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<BotStatus_BotType>(
218 BotStatus_BotType_descriptor(), name, value);
219}
228
229const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* DivePacket_BottomType_descriptor();
230template<typename T>
231inline const std::string& DivePacket_BottomType_Name(T enum_t_value) {
232 static_assert(::std::is_same<T, DivePacket_BottomType>::value ||
233 ::std::is_integral<T>::value,
234 "Incorrect type passed to function DivePacket_BottomType_Name.");
235 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
236 DivePacket_BottomType_descriptor(), enum_t_value);
237}
239 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, DivePacket_BottomType* value) {
240 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<DivePacket_BottomType>(
241 DivePacket_BottomType_descriptor(), name, value);
242}
243// ===================================================================
244
245class Command final :
246 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.protobuf.Command) */ {
247 public:
248 inline Command() : Command(nullptr) {}
249 ~Command() override;
250 explicit PROTOBUF_CONSTEXPR Command(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
251
252 Command(const Command& from);
253 Command(Command&& from) noexcept
254 : Command() {
255 *this = ::std::move(from);
256 }
257
258 inline Command& operator=(const Command& from) {
259 CopyFrom(from);
260 return *this;
261 }
262 inline Command& operator=(Command&& from) noexcept {
263 if (this == &from) return *this;
264 if (GetOwningArena() == from.GetOwningArena()
265 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
266 && GetOwningArena() != nullptr
267 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
268 ) {
269 InternalSwap(&from);
270 } else {
271 CopyFrom(from);
272 }
273 return *this;
274 }
275
276 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
277 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
278 }
279 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
280 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
281 }
282
283 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
284 return GetDescriptor();
285 }
286 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
287 return default_instance().GetMetadata().descriptor;
288 }
289 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
290 return default_instance().GetMetadata().reflection;
291 }
292 static const Command& default_instance() {
294 }
301
302 static inline const Command* internal_default_instance() {
303 return reinterpret_cast<const Command*>(
305 }
306 static constexpr int kIndexInFileMessages =
307 0;
308
309 friend void swap(Command& a, Command& b) {
310 a.Swap(&b);
311 }
312 inline void Swap(Command* other) {
313 if (other == this) return;
314 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
315 if (GetOwningArena() != nullptr &&
316 GetOwningArena() == other->GetOwningArena()) {
317 #else // PROTOBUF_FORCE_COPY_IN_SWAP
318 if (GetOwningArena() == other->GetOwningArena()) {
319 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
320 InternalSwap(other);
321 } else {
322 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
323 }
324 }
326 if (other == this) return;
327 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
328 InternalSwap(other);
329 }
330
331 // implements Message ----------------------------------------------
332
333 Command* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
334 return CreateMaybeMessage<Command>(arena);
335 }
336 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
337 void CopyFrom(const Command& from);
338 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
339 void MergeFrom( const Command& from) {
340 Command::MergeImpl(*this, from);
341 }
342 private:
343 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
344 public:
345 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
346 bool IsInitialized() const final;
347
348 size_t ByteSizeLong() const final;
349 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
351 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
352 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
353
354 private:
355 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
356 void SharedDtor();
357 void SetCachedSize(int size) const final;
358 void InternalSwap(Command* other);
359
360 private:
361 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
362 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
363 return "jaiabot.protobuf.Command";
364 }
365 protected:
366 explicit Command(::PROTOBUF_NAMESPACE_ID::Arena* arena,
367 bool is_message_owned = false);
368 public:
369
370 static const ClassData _class_data_;
371 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
372
373 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
374
375 // nested types ----------------------------------------------------
376
378 static constexpr CommandType MISSION_PLAN =
380 static constexpr CommandType ACTIVATE =
382 static constexpr CommandType START_MISSION =
386 static constexpr CommandType NEXT_TASK =
388 static constexpr CommandType RETURN_TO_HOME =
390 static constexpr CommandType STOP =
392 static constexpr CommandType PAUSE =
394 static constexpr CommandType RESUME =
402 static constexpr CommandType RECOVERED =
404 static constexpr CommandType SHUTDOWN =
414 static constexpr CommandType REBOOT_COMPUTER =
418 static inline bool CommandType_IsValid(int value) {
419 return Command_CommandType_IsValid(value);
420 }
421 static constexpr CommandType CommandType_MIN =
423 static constexpr CommandType CommandType_MAX =
425 static constexpr int CommandType_ARRAYSIZE =
427 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
431 template<typename T>
432 static inline const std::string& CommandType_Name(T enum_t_value) {
433 static_assert(::std::is_same<T, CommandType>::value ||
434 ::std::is_integral<T>::value,
435 "Incorrect type passed to function CommandType_Name.");
436 return Command_CommandType_Name(enum_t_value);
437 }
438 static inline bool CommandType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
439 CommandType* value) {
440 return Command_CommandType_Parse(name, value);
441 }
442
443 // accessors -------------------------------------------------------
444
445 enum : int {
454 };
455 // required uint64 time = 2 [(.dccl.field) = {
456 bool has_time() const;
457 private:
458 bool _internal_has_time() const;
459 public:
460 void clear_time();
461 uint64_t time() const;
462 void set_time(uint64_t value);
463 private:
464 uint64_t _internal_time() const;
465 void _internal_set_time(uint64_t value);
466 public:
467
468 // required uint32 bot_id = 1 [(.dccl.field) = {
469 bool has_bot_id() const;
470 private:
471 bool _internal_has_bot_id() const;
472 public:
473 void clear_bot_id();
474 uint32_t bot_id() const;
475 void set_bot_id(uint32_t value);
476 private:
477 uint32_t _internal_bot_id() const;
478 void _internal_set_bot_id(uint32_t value);
479 public:
480
481 // optional uint32 from_hub_id = 4 [(.dccl.field) = {
482 bool has_from_hub_id() const;
483 private:
484 bool _internal_has_from_hub_id() const;
485 public:
486 void clear_from_hub_id();
487 uint32_t from_hub_id() const;
488 void set_from_hub_id(uint32_t value);
489 private:
490 uint32_t _internal_from_hub_id() const;
491 void _internal_set_from_hub_id(uint32_t value);
492 public:
493
494 // optional .jaiabot.protobuf.Link link = 3 [(.dccl.field) = {
495 bool has_link() const;
496 private:
497 bool _internal_has_link() const;
498 public:
499 void clear_link();
502 private:
503 ::jaiabot::protobuf::Link _internal_link() const;
504 void _internal_set_link(::jaiabot::protobuf::Link value);
505 public:
506
507 // required .jaiabot.protobuf.Command.CommandType type = 10 [(.jaia.field) = {
508 bool has_type() const;
509 private:
510 bool _internal_has_type() const;
511 public:
512 void clear_type();
515 private:
516 ::jaiabot::protobuf::Command_CommandType _internal_type() const;
517 void _internal_set_type(::jaiabot::protobuf::Command_CommandType value);
518 public:
519
520 // .jaiabot.protobuf.MissionPlan plan = 20 [(.jaia.field) = {
521 bool has_plan() const;
522 private:
523 bool _internal_has_plan() const;
524 public:
526 const ::jaiabot::protobuf::MissionPlan& plan() const;
527 PROTOBUF_NODISCARD ::jaiabot::protobuf::MissionPlan* release_plan();
530 private:
531 const ::jaiabot::protobuf::MissionPlan& _internal_plan() const;
532 ::jaiabot::protobuf::MissionPlan* _internal_mutable_plan();
533 public:
537
538 // .jaiabot.protobuf.RemoteControl rc = 30 [(.jaia.field) = {
539 bool has_rc() const;
540 private:
541 bool _internal_has_rc() const;
542 public:
543 void clear_rc();
544 const ::jaiabot::protobuf::RemoteControl& rc() const;
545 PROTOBUF_NODISCARD ::jaiabot::protobuf::RemoteControl* release_rc();
548 private:
549 const ::jaiabot::protobuf::RemoteControl& _internal_rc() const;
550 ::jaiabot::protobuf::RemoteControl* _internal_mutable_rc();
551 public:
555
556 // .jaiabot.protobuf.MissionTask rc_task = 31;
557 bool has_rc_task() const;
558 private:
559 bool _internal_has_rc_task() const;
560 public:
562 const ::jaiabot::protobuf::MissionTask& rc_task() const;
563 PROTOBUF_NODISCARD ::jaiabot::protobuf::MissionTask* release_rc_task();
566 private:
567 const ::jaiabot::protobuf::MissionTask& _internal_rc_task() const;
568 ::jaiabot::protobuf::MissionTask* _internal_mutable_rc_task();
569 public:
573
577 typedef boost::units::time_dimension time_dimension;
578
579 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;
580
581 template<typename Quantity >
582 void set_time_with_units(Quantity value_w_units)
583 { set_time(boost::units::quantity<time_unit,google::protobuf::uint64 >(value_w_units).value() ); };
584
585 template<typename Quantity >
586 Quantity time_with_units() const
587 { return Quantity(time() * time_unit()); };
588
589 boost::units::quantity< time_unit,google::protobuf::uint64 > time_with_units() const
590 { return time_with_units<boost::units::quantity< time_unit,google::protobuf::uint64 > >(); };
591
592 // @@protoc_insertion_point(class_scope:jaiabot.protobuf.Command)
593 private:
594 class _Internal;
595 void set_has_plan();
596 void set_has_rc();
597 void set_has_rc_task();
598
599 inline bool has_command_data() const;
600 inline void clear_has_command_data();
601
602 // helper for ByteSizeLong()
603 size_t RequiredFieldsByteSizeFallback() const;
604
605 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
606 typedef void InternalArenaConstructable_;
607 typedef void DestructorSkippable_;
608 struct Impl_ {
609 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
610 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
611 uint64_t time_;
612 uint32_t bot_id_;
613 uint32_t from_hub_id_;
614 int link_;
615 int type_;
623 uint32_t _oneof_case_[1];
624
625 };
626 union { Impl_ _impl_; };
627 friend struct ::TableStruct_jaiabot_2fmessages_2fjaia_5fdccl_2eproto;
628};
629// -------------------------------------------------------------------
630
631class CommandForHub final :
632 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.protobuf.CommandForHub) */ {
633 public:
634 inline CommandForHub() : CommandForHub(nullptr) {}
635 ~CommandForHub() override;
636 explicit PROTOBUF_CONSTEXPR CommandForHub(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
637
640 : CommandForHub() {
641 *this = ::std::move(from);
642 }
643
644 inline CommandForHub& operator=(const CommandForHub& from) {
645 CopyFrom(from);
646 return *this;
647 }
648 inline CommandForHub& operator=(CommandForHub&& from) noexcept {
649 if (this == &from) return *this;
650 if (GetOwningArena() == from.GetOwningArena()
651 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
652 && GetOwningArena() != nullptr
653 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
654 ) {
655 InternalSwap(&from);
656 } else {
657 CopyFrom(from);
658 }
659 return *this;
660 }
661
662 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
663 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
664 }
665 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
666 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
667 }
668
669 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
670 return GetDescriptor();
671 }
672 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
673 return default_instance().GetMetadata().descriptor;
674 }
675 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
676 return default_instance().GetMetadata().reflection;
677 }
679 return *internal_default_instance();
680 }
682 return reinterpret_cast<const CommandForHub*>(
684 }
685 static constexpr int kIndexInFileMessages =
686 1;
687
688 friend void swap(CommandForHub& a, CommandForHub& b) {
689 a.Swap(&b);
690 }
691 inline void Swap(CommandForHub* other) {
692 if (other == this) return;
693 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
694 if (GetOwningArena() != nullptr &&
695 GetOwningArena() == other->GetOwningArena()) {
696 #else // PROTOBUF_FORCE_COPY_IN_SWAP
697 if (GetOwningArena() == other->GetOwningArena()) {
698 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
699 InternalSwap(other);
700 } else {
701 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
702 }
703 }
705 if (other == this) return;
706 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
707 InternalSwap(other);
708 }
709
710 // implements Message ----------------------------------------------
711
712 CommandForHub* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
713 return CreateMaybeMessage<CommandForHub>(arena);
714 }
715 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
716 void CopyFrom(const CommandForHub& from);
717 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
718 void MergeFrom( const CommandForHub& from) {
719 CommandForHub::MergeImpl(*this, from);
720 }
721 private:
722 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
723 public:
724 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
725 bool IsInitialized() const final;
726
727 size_t ByteSizeLong() const final;
728 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
729 uint8_t* _InternalSerialize(
730 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
731 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
732
733 private:
734 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
735 void SharedDtor();
736 void SetCachedSize(int size) const final;
737 void InternalSwap(CommandForHub* other);
738
739 private:
740 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
741 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
742 return "jaiabot.protobuf.CommandForHub";
743 }
744 protected:
745 explicit CommandForHub(::PROTOBUF_NAMESPACE_ID::Arena* arena,
746 bool is_message_owned = false);
747 public:
748
749 static const ClassData _class_data_;
750 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
751
752 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
753
754 // nested types ----------------------------------------------------
755
757 static constexpr HubCommandType SCAN_FOR_BOTS =
758 CommandForHub_HubCommandType_SCAN_FOR_BOTS;
759 static constexpr HubCommandType CTD_DATA_OFFLOAD =
760 CommandForHub_HubCommandType_CTD_DATA_OFFLOAD;
761 static constexpr HubCommandType RESTART_ALL_SERVICES =
762 CommandForHub_HubCommandType_RESTART_ALL_SERVICES;
763 static constexpr HubCommandType REBOOT_COMPUTER =
764 CommandForHub_HubCommandType_REBOOT_COMPUTER;
765 static constexpr HubCommandType SHUTDOWN_COMPUTER =
766 CommandForHub_HubCommandType_SHUTDOWN_COMPUTER;
767 static constexpr HubCommandType SET_HUB_LOCATION =
768 CommandForHub_HubCommandType_SET_HUB_LOCATION;
769 static inline bool HubCommandType_IsValid(int value) {
771 }
772 static constexpr HubCommandType HubCommandType_MIN =
774 static constexpr HubCommandType HubCommandType_MAX =
776 static constexpr int HubCommandType_ARRAYSIZE =
778 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
782 template<typename T>
783 static inline const std::string& HubCommandType_Name(T enum_t_value) {
784 static_assert(::std::is_same<T, HubCommandType>::value ||
785 ::std::is_integral<T>::value,
786 "Incorrect type passed to function HubCommandType_Name.");
787 return CommandForHub_HubCommandType_Name(enum_t_value);
788 }
789 static inline bool HubCommandType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
790 HubCommandType* value) {
791 return CommandForHub_HubCommandType_Parse(name, value);
792 }
793
794 // accessors -------------------------------------------------------
795
796 enum : int {
797 kHubLocationFieldNumber = 80,
798 kTimeFieldNumber = 2,
799 kHubIdFieldNumber = 1,
800 kScanForBotIdFieldNumber = 11,
801 kTypeFieldNumber = 10,
802 };
803 // optional .jaiabot.protobuf.GeographicCoordinate hub_location = 80 [(.jaia.field) = {
804 bool has_hub_location() const;
805 private:
806 bool _internal_has_hub_location() const;
807 public:
809 const ::jaiabot::protobuf::GeographicCoordinate& hub_location() const;
810 PROTOBUF_NODISCARD ::jaiabot::protobuf::GeographicCoordinate* release_hub_location();
811 ::jaiabot::protobuf::GeographicCoordinate* mutable_hub_location();
812 void set_allocated_hub_location(::jaiabot::protobuf::GeographicCoordinate* hub_location);
813 private:
814 const ::jaiabot::protobuf::GeographicCoordinate& _internal_hub_location() const;
815 ::jaiabot::protobuf::GeographicCoordinate* _internal_mutable_hub_location();
816 public:
817 void unsafe_arena_set_allocated_hub_location(
819 ::jaiabot::protobuf::GeographicCoordinate* unsafe_arena_release_hub_location();
820
821 // required uint64 time = 2 [(.dccl.field) = {
822 bool has_time() const;
823 private:
824 bool _internal_has_time() const;
825 public:
826 void clear_time();
827 uint64_t time() const;
828 void set_time(uint64_t value);
829 private:
830 uint64_t _internal_time() const;
831 void _internal_set_time(uint64_t value);
832 public:
833
834 // required uint32 hub_id = 1 [(.jaia.field) = {
835 bool has_hub_id() const;
836 private:
837 bool _internal_has_hub_id() const;
838 public:
839 void clear_hub_id();
840 uint32_t hub_id() const;
841 void set_hub_id(uint32_t value);
842 private:
843 uint32_t _internal_hub_id() const;
844 void _internal_set_hub_id(uint32_t value);
845 public:
846
847 // optional uint32 scan_for_bot_id = 11;
848 bool has_scan_for_bot_id() const;
849 private:
850 bool _internal_has_scan_for_bot_id() const;
851 public:
852 void clear_scan_for_bot_id();
853 uint32_t scan_for_bot_id() const;
854 void set_scan_for_bot_id(uint32_t value);
855 private:
856 uint32_t _internal_scan_for_bot_id() const;
857 void _internal_set_scan_for_bot_id(uint32_t value);
858 public:
859
860 // required .jaiabot.protobuf.CommandForHub.HubCommandType type = 10 [(.jaia.field) = {
861 bool has_type() const;
862 private:
863 bool _internal_has_type() const;
864 public:
865 void clear_type();
868 private:
870 void _internal_set_type(::jaiabot::protobuf::CommandForHub_HubCommandType value);
871 public:
872
873 typedef boost::units::time_dimension time_dimension;
874
875 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;
876
877 template<typename Quantity >
878 void set_time_with_units(Quantity value_w_units)
879 { set_time(boost::units::quantity<time_unit,google::protobuf::uint64 >(value_w_units).value() ); };
880
881 template<typename Quantity >
882 Quantity time_with_units() const
883 { return Quantity(time() * time_unit()); };
884
885 boost::units::quantity< time_unit,google::protobuf::uint64 > time_with_units() const
886 { return time_with_units<boost::units::quantity< time_unit,google::protobuf::uint64 > >(); };
887
888 // @@protoc_insertion_point(class_scope:jaiabot.protobuf.CommandForHub)
889 private:
890 class _Internal;
891
892 // helper for ByteSizeLong()
893 size_t RequiredFieldsByteSizeFallback() const;
894
895 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
896 typedef void InternalArenaConstructable_;
897 typedef void DestructorSkippable_;
898 struct Impl_ {
899 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
900 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
902 uint64_t time_;
903 uint32_t hub_id_;
904 uint32_t scan_for_bot_id_;
905 int type_;
906 };
907 union { Impl_ _impl_; };
908 friend struct ::TableStruct_jaiabot_2fmessages_2fjaia_5fdccl_2eproto;
909};
910// -------------------------------------------------------------------
911
913 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.protobuf.BotStatus.Attitude) */ {
914 public:
917 explicit PROTOBUF_CONSTEXPR BotStatus_Attitude(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
918
922 *this = ::std::move(from);
923 }
924
926 CopyFrom(from);
927 return *this;
928 }
930 if (this == &from) return *this;
931 if (GetOwningArena() == from.GetOwningArena()
932 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
933 && GetOwningArena() != nullptr
934 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
935 ) {
936 InternalSwap(&from);
937 } else {
938 CopyFrom(from);
939 }
940 return *this;
941 }
942
943 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
944 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
945 }
946 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
947 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
948 }
949
950 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
951 return GetDescriptor();
952 }
953 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
954 return default_instance().GetMetadata().descriptor;
955 }
956 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
957 return default_instance().GetMetadata().reflection;
958 }
960 return *internal_default_instance();
961 }
963 return reinterpret_cast<const BotStatus_Attitude*>(
965 }
966 static constexpr int kIndexInFileMessages =
967 2;
968
970 a.Swap(&b);
971 }
972 inline void Swap(BotStatus_Attitude* other) {
973 if (other == this) return;
974 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
975 if (GetOwningArena() != nullptr &&
976 GetOwningArena() == other->GetOwningArena()) {
977 #else // PROTOBUF_FORCE_COPY_IN_SWAP
978 if (GetOwningArena() == other->GetOwningArena()) {
979 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
980 InternalSwap(other);
981 } else {
982 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
983 }
984 }
986 if (other == this) return;
987 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
988 InternalSwap(other);
989 }
990
991 // implements Message ----------------------------------------------
992
993 BotStatus_Attitude* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
994 return CreateMaybeMessage<BotStatus_Attitude>(arena);
995 }
996 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
997 void CopyFrom(const BotStatus_Attitude& from);
998 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
999 void MergeFrom( const BotStatus_Attitude& from) {
1000 BotStatus_Attitude::MergeImpl(*this, from);
1001 }
1002 private:
1003 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
1004 public:
1005 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1006 bool IsInitialized() const final;
1007
1008 size_t ByteSizeLong() const final;
1009 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1010 uint8_t* _InternalSerialize(
1011 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1012 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
1013
1014 private:
1015 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
1016 void SharedDtor();
1017 void SetCachedSize(int size) const final;
1018 void InternalSwap(BotStatus_Attitude* other);
1019
1020 private:
1021 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1022 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1023 return "jaiabot.protobuf.BotStatus.Attitude";
1024 }
1025 protected:
1026 explicit BotStatus_Attitude(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1027 bool is_message_owned = false);
1028 public:
1029
1030 static const ClassData _class_data_;
1031 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
1032
1033 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
1034
1035 // nested types ----------------------------------------------------
1036
1037 // accessors -------------------------------------------------------
1038
1039 enum : int {
1040 kRollFieldNumber = 1,
1041 kPitchFieldNumber = 2,
1042 kHeadingFieldNumber = 3,
1043 kCourseOverGroundFieldNumber = 4,
1044 };
1045 // optional double roll = 1 [(.dccl.field) = {
1046 bool has_roll() const;
1047 private:
1048 bool _internal_has_roll() const;
1049 public:
1050 void clear_roll();
1051 double roll() const;
1052 void set_roll(double value);
1053 private:
1054 double _internal_roll() const;
1055 void _internal_set_roll(double value);
1056 public:
1057
1058 // optional double pitch = 2 [(.dccl.field) = {
1059 bool has_pitch() const;
1060 private:
1061 bool _internal_has_pitch() const;
1062 public:
1063 void clear_pitch();
1064 double pitch() const;
1065 void set_pitch(double value);
1066 private:
1067 double _internal_pitch() const;
1068 void _internal_set_pitch(double value);
1069 public:
1070
1071 // optional double heading = 3 [(.dccl.field) = {
1072 bool has_heading() const;
1073 private:
1074 bool _internal_has_heading() const;
1075 public:
1076 void clear_heading();
1077 double heading() const;
1078 void set_heading(double value);
1079 private:
1080 double _internal_heading() const;
1081 void _internal_set_heading(double value);
1082 public:
1083
1084 // optional double course_over_ground = 4 [(.dccl.field) = {
1085 bool has_course_over_ground() const;
1086 private:
1087 bool _internal_has_course_over_ground() const;
1088 public:
1089 void clear_course_over_ground();
1090 double course_over_ground() const;
1091 void set_course_over_ground(double value);
1092 private:
1093 double _internal_course_over_ground() const;
1094 void _internal_set_course_over_ground(double value);
1095 public:
1096
1097 typedef boost::units::plane_angle_dimension roll_dimension;
1098
1099 typedef boost::units::unit<roll_dimension,boost::units::degree::system> roll_unit;
1100
1101 template<typename Quantity >
1102 void set_roll_with_units(Quantity value_w_units)
1103 { set_roll(boost::units::quantity<roll_unit,double >(value_w_units).value() ); };
1104
1105 template<typename Quantity >
1106 Quantity roll_with_units() const
1107 { return Quantity(roll() * roll_unit()); };
1108
1109 boost::units::quantity< roll_unit,double > roll_with_units() const
1110 { return roll_with_units<boost::units::quantity< roll_unit,double > >(); };
1111
1112 typedef boost::units::plane_angle_dimension pitch_dimension;
1113
1114 typedef boost::units::unit<pitch_dimension,boost::units::degree::system> pitch_unit;
1115
1116 template<typename Quantity >
1117 void set_pitch_with_units(Quantity value_w_units)
1118 { set_pitch(boost::units::quantity<pitch_unit,double >(value_w_units).value() ); };
1119
1120 template<typename Quantity >
1121 Quantity pitch_with_units() const
1122 { return Quantity(pitch() * pitch_unit()); };
1123
1124 boost::units::quantity< pitch_unit,double > pitch_with_units() const
1125 { return pitch_with_units<boost::units::quantity< pitch_unit,double > >(); };
1126
1127 typedef boost::units::plane_angle_dimension heading_dimension;
1128
1129 typedef boost::units::unit<heading_dimension,boost::units::degree::system> heading_unit;
1130
1131 template<typename Quantity >
1132 void set_heading_with_units(Quantity value_w_units)
1133 { set_heading(boost::units::quantity<heading_unit,double >(value_w_units).value() ); };
1134
1135 template<typename Quantity >
1136 Quantity heading_with_units() const
1137 { return Quantity(heading() * heading_unit()); };
1138
1139 boost::units::quantity< heading_unit,double > heading_with_units() const
1140 { return heading_with_units<boost::units::quantity< heading_unit,double > >(); };
1141
1142 typedef boost::units::plane_angle_dimension course_over_ground_dimension;
1143
1144 typedef boost::units::unit<course_over_ground_dimension,boost::units::degree::system> course_over_ground_unit;
1145
1146 template<typename Quantity >
1147 void set_course_over_ground_with_units(Quantity value_w_units)
1148 { set_course_over_ground(boost::units::quantity<course_over_ground_unit,double >(value_w_units).value() ); };
1149
1150 template<typename Quantity >
1152 { return Quantity(course_over_ground() * course_over_ground_unit()); };
1153
1154 boost::units::quantity< course_over_ground_unit,double > course_over_ground_with_units() const
1155 { return course_over_ground_with_units<boost::units::quantity< course_over_ground_unit,double > >(); };
1156
1157 // @@protoc_insertion_point(class_scope:jaiabot.protobuf.BotStatus.Attitude)
1158 private:
1159 class _Internal;
1160
1161 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1162 typedef void InternalArenaConstructable_;
1163 typedef void DestructorSkippable_;
1164 struct Impl_ {
1165 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
1166 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1167 double roll_;
1168 double pitch_;
1169 double heading_;
1170 double course_over_ground_;
1171 };
1172 union { Impl_ _impl_; };
1173 friend struct ::TableStruct_jaiabot_2fmessages_2fjaia_5fdccl_2eproto;
1174};
1175// -------------------------------------------------------------------
1176
1177class BotStatus_Speed final :
1178 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.protobuf.BotStatus.Speed) */ {
1179 public:
1180 inline BotStatus_Speed() : BotStatus_Speed(nullptr) {}
1182 explicit PROTOBUF_CONSTEXPR BotStatus_Speed(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
1183
1186 : BotStatus_Speed() {
1187 *this = ::std::move(from);
1188 }
1189
1191 CopyFrom(from);
1192 return *this;
1193 }
1194 inline BotStatus_Speed& operator=(BotStatus_Speed&& from) noexcept {
1195 if (this == &from) return *this;
1196 if (GetOwningArena() == from.GetOwningArena()
1197 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
1198 && GetOwningArena() != nullptr
1199 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
1200 ) {
1201 InternalSwap(&from);
1202 } else {
1203 CopyFrom(from);
1204 }
1205 return *this;
1206 }
1207
1208 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
1209 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
1210 }
1211 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
1212 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
1213 }
1214
1215 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
1216 return GetDescriptor();
1217 }
1218 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
1219 return default_instance().GetMetadata().descriptor;
1220 }
1221 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
1222 return default_instance().GetMetadata().reflection;
1223 }
1225 return *internal_default_instance();
1226 }
1228 return reinterpret_cast<const BotStatus_Speed*>(
1230 }
1231 static constexpr int kIndexInFileMessages =
1232 3;
1233
1235 a.Swap(&b);
1236 }
1237 inline void Swap(BotStatus_Speed* other) {
1238 if (other == this) return;
1239 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
1240 if (GetOwningArena() != nullptr &&
1241 GetOwningArena() == other->GetOwningArena()) {
1242 #else // PROTOBUF_FORCE_COPY_IN_SWAP
1243 if (GetOwningArena() == other->GetOwningArena()) {
1244 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
1245 InternalSwap(other);
1246 } else {
1247 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
1248 }
1249 }
1251 if (other == this) return;
1252 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
1253 InternalSwap(other);
1254 }
1255
1256 // implements Message ----------------------------------------------
1257
1258 BotStatus_Speed* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
1259 return CreateMaybeMessage<BotStatus_Speed>(arena);
1260 }
1261 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
1262 void CopyFrom(const BotStatus_Speed& from);
1263 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
1264 void MergeFrom( const BotStatus_Speed& from) {
1265 BotStatus_Speed::MergeImpl(*this, from);
1266 }
1267 private:
1268 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
1269 public:
1270 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1271 bool IsInitialized() const final;
1272
1273 size_t ByteSizeLong() const final;
1274 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1275 uint8_t* _InternalSerialize(
1276 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1277 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
1278
1279 private:
1280 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
1281 void SharedDtor();
1282 void SetCachedSize(int size) const final;
1283 void InternalSwap(BotStatus_Speed* other);
1284
1285 private:
1286 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1287 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1288 return "jaiabot.protobuf.BotStatus.Speed";
1289 }
1290 protected:
1291 explicit BotStatus_Speed(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1292 bool is_message_owned = false);
1293 public:
1294
1295 static const ClassData _class_data_;
1296 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
1297
1298 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
1299
1300 // nested types ----------------------------------------------------
1301
1302 // accessors -------------------------------------------------------
1303
1304 enum : int {
1305 kOverGroundFieldNumber = 1,
1306 kOverWaterFieldNumber = 2,
1307 };
1308 // optional double over_ground = 1 [(.dccl.field) = {
1309 bool has_over_ground() const;
1310 private:
1311 bool _internal_has_over_ground() const;
1312 public:
1313 void clear_over_ground();
1314 double over_ground() const;
1315 void set_over_ground(double value);
1316 private:
1317 double _internal_over_ground() const;
1318 void _internal_set_over_ground(double value);
1319 public:
1320
1321 // optional double over_water = 2 [(.dccl.field) = {
1322 bool has_over_water() const;
1323 private:
1324 bool _internal_has_over_water() const;
1325 public:
1326 void clear_over_water();
1327 double over_water() const;
1328 void set_over_water(double value);
1329 private:
1330 double _internal_over_water() const;
1331 void _internal_set_over_water(double value);
1332 public:
1333
1334 typedef boost::units::velocity_dimension over_ground_dimension;
1335
1336 typedef boost::units::unit<over_ground_dimension,boost::units::si::system> over_ground_unit;
1337
1338 template<typename Quantity >
1339 void set_over_ground_with_units(Quantity value_w_units)
1340 { set_over_ground(boost::units::quantity<over_ground_unit,double >(value_w_units).value() ); };
1341
1342 template<typename Quantity >
1343 Quantity over_ground_with_units() const
1344 { return Quantity(over_ground() * over_ground_unit()); };
1345
1346 boost::units::quantity< over_ground_unit,double > over_ground_with_units() const
1347 { return over_ground_with_units<boost::units::quantity< over_ground_unit,double > >(); };
1348
1349 typedef boost::units::velocity_dimension over_water_dimension;
1350
1351 typedef boost::units::unit<over_water_dimension,boost::units::si::system> over_water_unit;
1352
1353 template<typename Quantity >
1354 void set_over_water_with_units(Quantity value_w_units)
1355 { set_over_water(boost::units::quantity<over_water_unit,double >(value_w_units).value() ); };
1356
1357 template<typename Quantity >
1358 Quantity over_water_with_units() const
1359 { return Quantity(over_water() * over_water_unit()); };
1360
1361 boost::units::quantity< over_water_unit,double > over_water_with_units() const
1362 { return over_water_with_units<boost::units::quantity< over_water_unit,double > >(); };
1363
1364 // @@protoc_insertion_point(class_scope:jaiabot.protobuf.BotStatus.Speed)
1365 private:
1366 class _Internal;
1367
1368 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1369 typedef void InternalArenaConstructable_;
1370 typedef void DestructorSkippable_;
1371 struct Impl_ {
1372 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
1373 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1374 double over_ground_;
1375 double over_water_;
1376 };
1377 union { Impl_ _impl_; };
1378 friend struct ::TableStruct_jaiabot_2fmessages_2fjaia_5fdccl_2eproto;
1379};
1380// -------------------------------------------------------------------
1381
1382class BotStatus final :
1383 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.protobuf.BotStatus) */ {
1384 public:
1385 inline BotStatus() : BotStatus(nullptr) {}
1386 ~BotStatus() override;
1387 explicit PROTOBUF_CONSTEXPR BotStatus(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
1388
1389 BotStatus(const BotStatus& from);
1390 BotStatus(BotStatus&& from) noexcept
1391 : BotStatus() {
1392 *this = ::std::move(from);
1393 }
1394
1395 inline BotStatus& operator=(const BotStatus& from) {
1396 CopyFrom(from);
1397 return *this;
1398 }
1399 inline BotStatus& operator=(BotStatus&& from) noexcept {
1400 if (this == &from) return *this;
1401 if (GetOwningArena() == from.GetOwningArena()
1402 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
1403 && GetOwningArena() != nullptr
1404 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
1405 ) {
1406 InternalSwap(&from);
1407 } else {
1408 CopyFrom(from);
1409 }
1410 return *this;
1411 }
1412
1413 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
1414 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
1415 }
1416 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
1417 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
1418 }
1419
1420 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
1421 return GetDescriptor();
1422 }
1423 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
1424 return default_instance().GetMetadata().descriptor;
1425 }
1426 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
1427 return default_instance().GetMetadata().reflection;
1428 }
1429 static const BotStatus& default_instance() {
1430 return *internal_default_instance();
1431 }
1432 static inline const BotStatus* internal_default_instance() {
1433 return reinterpret_cast<const BotStatus*>(
1435 }
1436 static constexpr int kIndexInFileMessages =
1437 4;
1438
1439 friend void swap(BotStatus& a, BotStatus& b) {
1440 a.Swap(&b);
1441 }
1442 inline void Swap(BotStatus* other) {
1443 if (other == this) return;
1444 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
1445 if (GetOwningArena() != nullptr &&
1446 GetOwningArena() == other->GetOwningArena()) {
1447 #else // PROTOBUF_FORCE_COPY_IN_SWAP
1448 if (GetOwningArena() == other->GetOwningArena()) {
1449 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
1450 InternalSwap(other);
1451 } else {
1452 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
1453 }
1454 }
1456 if (other == this) return;
1457 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
1458 InternalSwap(other);
1459 }
1460
1461 // implements Message ----------------------------------------------
1462
1463 BotStatus* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
1464 return CreateMaybeMessage<BotStatus>(arena);
1465 }
1466 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
1467 void CopyFrom(const BotStatus& from);
1468 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
1469 void MergeFrom( const BotStatus& from) {
1470 BotStatus::MergeImpl(*this, from);
1471 }
1472 private:
1473 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
1474 public:
1475 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1476 bool IsInitialized() const final;
1477
1478 size_t ByteSizeLong() const final;
1479 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1480 uint8_t* _InternalSerialize(
1481 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1482 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
1483
1484 private:
1485 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
1486 void SharedDtor();
1487 void SetCachedSize(int size) const final;
1488 void InternalSwap(BotStatus* other);
1489
1490 private:
1491 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1492 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1493 return "jaiabot.protobuf.BotStatus";
1494 }
1495 protected:
1496 explicit BotStatus(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1497 bool is_message_owned = false);
1498 public:
1499
1500 static const ClassData _class_data_;
1501 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
1502
1503 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
1504
1505 // nested types ----------------------------------------------------
1506
1509
1511 static constexpr BotType HYDRO =
1512 BotStatus_BotType_HYDRO;
1513 static constexpr BotType ECHO =
1514 BotStatus_BotType_ECHO;
1515 static constexpr BotType BIO =
1516 BotStatus_BotType_BIO;
1517 static inline bool BotType_IsValid(int value) {
1518 return BotStatus_BotType_IsValid(value);
1519 }
1520 static constexpr BotType BotType_MIN =
1522 static constexpr BotType BotType_MAX =
1524 static constexpr int BotType_ARRAYSIZE =
1526 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
1530 template<typename T>
1531 static inline const std::string& BotType_Name(T enum_t_value) {
1532 static_assert(::std::is_same<T, BotType>::value ||
1533 ::std::is_integral<T>::value,
1534 "Incorrect type passed to function BotType_Name.");
1535 return BotStatus_BotType_Name(enum_t_value);
1536 }
1537 static inline bool BotType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
1538 BotType* value) {
1539 return BotStatus_BotType_Parse(name, value);
1540 }
1541
1542 // accessors -------------------------------------------------------
1543
1544 enum : int {
1545 kErrorFieldNumber = 5,
1546 kWarningFieldNumber = 6,
1547 kLocationFieldNumber = 10,
1548 kAttitudeFieldNumber = 20,
1549 kSpeedFieldNumber = 30,
1550 kTimeFieldNumber = 2,
1551 kLastCommandTimeFieldNumber = 3,
1552 kSensorDepthFieldNumber = 11,
1553 kDepthFieldNumber = 12,
1554 kBotIdFieldNumber = 1,
1555 kMissionStateFieldNumber = 40,
1556 kDistanceToActiveGoalFieldNumber = 42,
1557 kActiveGoalFieldNumber = 41,
1558 kActiveGoalTimeoutFieldNumber = 43,
1559 kRepeatIndexFieldNumber = 44,
1560 kCalibrationStatusFieldNumber = 54,
1561 kSalinityFieldNumber = 51,
1562 kTemperatureFieldNumber = 52,
1563 kBatteryPercentFieldNumber = 53,
1564 kHdopFieldNumber = 56,
1565 kPdopFieldNumber = 57,
1566 kReceivedTimeFieldNumber = 59,
1567 kWifiLinkQualityPercentageFieldNumber = 58,
1568 kHealthStateFieldNumber = 4,
1569 kBotTypeFieldNumber = 7,
1570 kLinkFieldNumber = 8,
1571 kCalibrationStateFieldNumber = 55,
1572 };
1573 // repeated .jaiabot.protobuf.Error error = 5 [(.dccl.field) = {
1574 int error_size() const;
1575 private:
1576 int _internal_error_size() const;
1577 public:
1578 void clear_error();
1579 private:
1580 ::jaiabot::protobuf::Error _internal_error(int index) const;
1581 void _internal_add_error(::jaiabot::protobuf::Error value);
1582 ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>* _internal_mutable_error();
1583 public:
1584 ::jaiabot::protobuf::Error error(int index) const;
1585 void set_error(int index, ::jaiabot::protobuf::Error value);
1586 void add_error(::jaiabot::protobuf::Error value);
1587 const ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>& error() const;
1588 ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>* mutable_error();
1589
1590 // repeated .jaiabot.protobuf.Warning warning = 6 [(.dccl.field) = {
1591 int warning_size() const;
1592 private:
1593 int _internal_warning_size() const;
1594 public:
1595 void clear_warning();
1596 private:
1597 ::jaiabot::protobuf::Warning _internal_warning(int index) const;
1598 void _internal_add_warning(::jaiabot::protobuf::Warning value);
1599 ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>* _internal_mutable_warning();
1600 public:
1601 ::jaiabot::protobuf::Warning warning(int index) const;
1602 void set_warning(int index, ::jaiabot::protobuf::Warning value);
1603 void add_warning(::jaiabot::protobuf::Warning value);
1604 const ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>& warning() const;
1605 ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>* mutable_warning();
1606
1607 // optional .jaiabot.protobuf.GeographicCoordinate location = 10 [(.jaia.field) = {
1608 bool has_location() const;
1609 private:
1610 bool _internal_has_location() const;
1611 public:
1613 const ::jaiabot::protobuf::GeographicCoordinate& location() const;
1614 PROTOBUF_NODISCARD ::jaiabot::protobuf::GeographicCoordinate* release_location();
1616 void set_allocated_location(::jaiabot::protobuf::GeographicCoordinate* location);
1617 private:
1618 const ::jaiabot::protobuf::GeographicCoordinate& _internal_location() const;
1619 ::jaiabot::protobuf::GeographicCoordinate* _internal_mutable_location();
1620 public:
1621 void unsafe_arena_set_allocated_location(
1623 ::jaiabot::protobuf::GeographicCoordinate* unsafe_arena_release_location();
1624
1625 // optional .jaiabot.protobuf.BotStatus.Attitude attitude = 20 [(.jaia.field) = {
1626 bool has_attitude() const;
1627 private:
1628 bool _internal_has_attitude() const;
1629 public:
1630 void clear_attitude();
1631 const ::jaiabot::protobuf::BotStatus_Attitude& attitude() const;
1632 PROTOBUF_NODISCARD ::jaiabot::protobuf::BotStatus_Attitude* release_attitude();
1633 ::jaiabot::protobuf::BotStatus_Attitude* mutable_attitude();
1634 void set_allocated_attitude(::jaiabot::protobuf::BotStatus_Attitude* attitude);
1635 private:
1636 const ::jaiabot::protobuf::BotStatus_Attitude& _internal_attitude() const;
1637 ::jaiabot::protobuf::BotStatus_Attitude* _internal_mutable_attitude();
1638 public:
1639 void unsafe_arena_set_allocated_attitude(
1641 ::jaiabot::protobuf::BotStatus_Attitude* unsafe_arena_release_attitude();
1642
1643 // optional .jaiabot.protobuf.BotStatus.Speed speed = 30 [(.jaia.field) = {
1644 bool has_speed() const;
1645 private:
1646 bool _internal_has_speed() const;
1647 public:
1648 void clear_speed();
1649 const ::jaiabot::protobuf::BotStatus_Speed& speed() const;
1650 PROTOBUF_NODISCARD ::jaiabot::protobuf::BotStatus_Speed* release_speed();
1651 ::jaiabot::protobuf::BotStatus_Speed* mutable_speed();
1652 void set_allocated_speed(::jaiabot::protobuf::BotStatus_Speed* speed);
1653 private:
1654 const ::jaiabot::protobuf::BotStatus_Speed& _internal_speed() const;
1655 ::jaiabot::protobuf::BotStatus_Speed* _internal_mutable_speed();
1656 public:
1657 void unsafe_arena_set_allocated_speed(
1659 ::jaiabot::protobuf::BotStatus_Speed* unsafe_arena_release_speed();
1660
1661 // required uint64 time = 2 [(.dccl.field) = {
1662 bool has_time() const;
1663 private:
1664 bool _internal_has_time() const;
1665 public:
1666 void clear_time();
1667 uint64_t time() const;
1668 void set_time(uint64_t value);
1669 private:
1670 uint64_t _internal_time() const;
1671 void _internal_set_time(uint64_t value);
1672 public:
1673
1674 // optional uint64 last_command_time = 3 [(.dccl.field) = {
1675 bool has_last_command_time() const;
1676 private:
1677 bool _internal_has_last_command_time() const;
1678 public:
1679 void clear_last_command_time();
1680 uint64_t last_command_time() const;
1681 void set_last_command_time(uint64_t value);
1682 private:
1683 uint64_t _internal_last_command_time() const;
1684 void _internal_set_last_command_time(uint64_t value);
1685 public:
1686
1687 // optional double sensor_depth = 11 [(.dccl.field) = {
1688 bool has_sensor_depth() const;
1689 private:
1690 bool _internal_has_sensor_depth() const;
1691 public:
1692 void clear_sensor_depth();
1693 double sensor_depth() const;
1694 void set_sensor_depth(double value);
1695 private:
1696 double _internal_sensor_depth() const;
1697 void _internal_set_sensor_depth(double value);
1698 public:
1699
1700 // optional double depth = 12 [(.dccl.field) = {
1701 bool has_depth() const;
1702 private:
1703 bool _internal_has_depth() const;
1704 public:
1705 void clear_depth();
1706 double depth() const;
1707 void set_depth(double value);
1708 private:
1709 double _internal_depth() const;
1710 void _internal_set_depth(double value);
1711 public:
1712
1713 // required uint32 bot_id = 1 [(.dccl.field) = {
1714 bool has_bot_id() const;
1715 private:
1716 bool _internal_has_bot_id() const;
1717 public:
1718 void clear_bot_id();
1719 uint32_t bot_id() const;
1720 void set_bot_id(uint32_t value);
1721 private:
1722 uint32_t _internal_bot_id() const;
1723 void _internal_set_bot_id(uint32_t value);
1724 public:
1725
1726 // optional .jaiabot.protobuf.MissionState mission_state = 40 [(.jaia.field) = {
1727 bool has_mission_state() const;
1728 private:
1729 bool _internal_has_mission_state() const;
1730 public:
1731 void clear_mission_state();
1732 ::jaiabot::protobuf::MissionState mission_state() const;
1733 void set_mission_state(::jaiabot::protobuf::MissionState value);
1734 private:
1735 ::jaiabot::protobuf::MissionState _internal_mission_state() const;
1736 void _internal_set_mission_state(::jaiabot::protobuf::MissionState value);
1737 public:
1738
1739 // optional double distance_to_active_goal = 42 [(.dccl.field) = {
1740 bool has_distance_to_active_goal() const;
1741 private:
1742 bool _internal_has_distance_to_active_goal() const;
1743 public:
1744 void clear_distance_to_active_goal();
1745 double distance_to_active_goal() const;
1746 void set_distance_to_active_goal(double value);
1747 private:
1748 double _internal_distance_to_active_goal() const;
1749 void _internal_set_distance_to_active_goal(double value);
1750 public:
1751
1752 // optional int32 active_goal = 41 [(.dccl.field) = {
1753 bool has_active_goal() const;
1754 private:
1755 bool _internal_has_active_goal() const;
1756 public:
1757 void clear_active_goal();
1758 int32_t active_goal() const;
1759 void set_active_goal(int32_t value);
1760 private:
1761 int32_t _internal_active_goal() const;
1762 void _internal_set_active_goal(int32_t value);
1763 public:
1764
1765 // optional uint32 active_goal_timeout = 43 [(.dccl.field) = {
1766 bool has_active_goal_timeout() const;
1767 private:
1768 bool _internal_has_active_goal_timeout() const;
1769 public:
1770 void clear_active_goal_timeout();
1771 uint32_t active_goal_timeout() const;
1772 void set_active_goal_timeout(uint32_t value);
1773 private:
1774 uint32_t _internal_active_goal_timeout() const;
1775 void _internal_set_active_goal_timeout(uint32_t value);
1776 public:
1777
1778 // optional int32 repeat_index = 44 [(.dccl.field) = {
1779 bool has_repeat_index() const;
1780 private:
1781 bool _internal_has_repeat_index() const;
1782 public:
1783 void clear_repeat_index();
1784 int32_t repeat_index() const;
1785 void set_repeat_index(int32_t value);
1786 private:
1787 int32_t _internal_repeat_index() const;
1788 void _internal_set_repeat_index(int32_t value);
1789 public:
1790
1791 // optional int32 calibration_status = 54 [(.dccl.field) = {
1792 bool has_calibration_status() const;
1793 private:
1794 bool _internal_has_calibration_status() const;
1795 public:
1796 void clear_calibration_status();
1797 int32_t calibration_status() const;
1798 void set_calibration_status(int32_t value);
1799 private:
1800 int32_t _internal_calibration_status() const;
1801 void _internal_set_calibration_status(int32_t value);
1802 public:
1803
1804 // optional double salinity = 51 [(.dccl.field) = {
1805 bool has_salinity() const;
1806 private:
1807 bool _internal_has_salinity() const;
1808 public:
1809 void clear_salinity();
1810 double salinity() const;
1811 void set_salinity(double value);
1812 private:
1813 double _internal_salinity() const;
1814 void _internal_set_salinity(double value);
1815 public:
1816
1817 // optional double temperature = 52 [(.dccl.field) = {
1818 bool has_temperature() const;
1819 private:
1820 bool _internal_has_temperature() const;
1821 public:
1822 void clear_temperature();
1823 double temperature() const;
1824 void set_temperature(double value);
1825 private:
1826 double _internal_temperature() const;
1827 void _internal_set_temperature(double value);
1828 public:
1829
1830 // optional double battery_percent = 53 [(.dccl.field) = {
1831 bool has_battery_percent() const;
1832 private:
1833 bool _internal_has_battery_percent() const;
1834 public:
1835 void clear_battery_percent();
1836 double battery_percent() const;
1837 void set_battery_percent(double value);
1838 private:
1839 double _internal_battery_percent() const;
1840 void _internal_set_battery_percent(double value);
1841 public:
1842
1843 // optional double hdop = 56 [(.dccl.field) = {
1844 bool has_hdop() const;
1845 private:
1846 bool _internal_has_hdop() const;
1847 public:
1848 void clear_hdop();
1849 double hdop() const;
1850 void set_hdop(double value);
1851 private:
1852 double _internal_hdop() const;
1853 void _internal_set_hdop(double value);
1854 public:
1855
1856 // optional double pdop = 57 [(.dccl.field) = {
1857 bool has_pdop() const;
1858 private:
1859 bool _internal_has_pdop() const;
1860 public:
1861 void clear_pdop();
1862 double pdop() const;
1863 void set_pdop(double value);
1864 private:
1865 double _internal_pdop() const;
1866 void _internal_set_pdop(double value);
1867 public:
1868
1869 // optional uint64 received_time = 59 [(.dccl.field) = {
1870 bool has_received_time() const;
1871 private:
1872 bool _internal_has_received_time() const;
1873 public:
1874 void clear_received_time();
1875 uint64_t received_time() const;
1876 void set_received_time(uint64_t value);
1877 private:
1878 uint64_t _internal_received_time() const;
1879 void _internal_set_received_time(uint64_t value);
1880 public:
1881
1882 // optional int32 wifi_link_quality_percentage = 58 [(.dccl.field) = {
1883 bool has_wifi_link_quality_percentage() const;
1884 private:
1885 bool _internal_has_wifi_link_quality_percentage() const;
1886 public:
1887 void clear_wifi_link_quality_percentage();
1888 int32_t wifi_link_quality_percentage() const;
1889 void set_wifi_link_quality_percentage(int32_t value);
1890 private:
1891 int32_t _internal_wifi_link_quality_percentage() const;
1892 void _internal_set_wifi_link_quality_percentage(int32_t value);
1893 public:
1894
1895 // optional .goby.middleware.protobuf.HealthState health_state = 4 [(.jaia.field) = {
1896 bool has_health_state() const;
1897 private:
1898 bool _internal_has_health_state() const;
1899 public:
1900 void clear_health_state();
1901 ::goby::middleware::protobuf::HealthState health_state() const;
1902 void set_health_state(::goby::middleware::protobuf::HealthState value);
1903 private:
1904 ::goby::middleware::protobuf::HealthState _internal_health_state() const;
1905 void _internal_set_health_state(::goby::middleware::protobuf::HealthState value);
1906 public:
1907
1908 // optional .jaiabot.protobuf.BotStatus.BotType bot_type = 7 [(.jaia.field) = {
1909 bool has_bot_type() const;
1910 private:
1911 bool _internal_has_bot_type() const;
1912 public:
1913 void clear_bot_type();
1915 void set_bot_type(::jaiabot::protobuf::BotStatus_BotType value);
1916 private:
1917 ::jaiabot::protobuf::BotStatus_BotType _internal_bot_type() const;
1918 void _internal_set_bot_type(::jaiabot::protobuf::BotStatus_BotType value);
1919 public:
1920
1921 // optional .jaiabot.protobuf.Link link = 8 [(.dccl.field) = {
1922 bool has_link() const;
1923 private:
1924 bool _internal_has_link() const;
1925 public:
1926 void clear_link();
1927 ::jaiabot::protobuf::Link link() const;
1928 void set_link(::jaiabot::protobuf::Link value);
1929 private:
1930 ::jaiabot::protobuf::Link _internal_link() const;
1931 void _internal_set_link(::jaiabot::protobuf::Link value);
1932 public:
1933
1934 // optional .jaiabot.protobuf.IMUCalibrationState calibration_state = 55;
1935 bool has_calibration_state() const;
1936 private:
1937 bool _internal_has_calibration_state() const;
1938 public:
1939 void clear_calibration_state();
1940 ::jaiabot::protobuf::IMUCalibrationState calibration_state() const;
1941 void set_calibration_state(::jaiabot::protobuf::IMUCalibrationState value);
1942 private:
1943 ::jaiabot::protobuf::IMUCalibrationState _internal_calibration_state() const;
1944 void _internal_set_calibration_state(::jaiabot::protobuf::IMUCalibrationState value);
1945 public:
1946
1947 enum DCCLParameters { DCCL_ID = 81, DCCL_MAX_BYTES = 250 };
1948 typedef boost::units::time_dimension time_dimension;
1949
1950 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;
1951
1952 template<typename Quantity >
1953 void set_time_with_units(Quantity value_w_units)
1954 { set_time(boost::units::quantity<time_unit,google::protobuf::uint64 >(value_w_units).value() ); };
1955
1956 template<typename Quantity >
1957 Quantity time_with_units() const
1958 { return Quantity(time() * time_unit()); };
1959
1960 boost::units::quantity< time_unit,google::protobuf::uint64 > time_with_units() const
1961 { return time_with_units<boost::units::quantity< time_unit,google::protobuf::uint64 > >(); };
1962
1963 typedef boost::units::time_dimension last_command_time_dimension;
1964
1965 typedef boost::units::make_scaled_unit<boost::units::unit<last_command_time_dimension,boost::units::si::system> , boost::units::scale<10, boost::units::static_rational<-6> > >::type last_command_time_unit;
1966
1967 template<typename Quantity >
1968 void set_last_command_time_with_units(Quantity value_w_units)
1969 { set_last_command_time(boost::units::quantity<last_command_time_unit,google::protobuf::uint64 >(value_w_units).value() ); };
1970
1971 template<typename Quantity >
1973 { return Quantity(last_command_time() * last_command_time_unit()); };
1974
1975 boost::units::quantity< last_command_time_unit,google::protobuf::uint64 > last_command_time_with_units() const
1976 { return last_command_time_with_units<boost::units::quantity< last_command_time_unit,google::protobuf::uint64 > >(); };
1977
1978 typedef boost::units::length_dimension sensor_depth_dimension;
1979
1980 typedef boost::units::unit<sensor_depth_dimension,boost::units::si::system> sensor_depth_unit;
1981
1982 template<typename Quantity >
1983 void set_sensor_depth_with_units(Quantity value_w_units)
1984 { set_sensor_depth(boost::units::quantity<sensor_depth_unit,double >(value_w_units).value() ); };
1985
1986 template<typename Quantity >
1988 { return Quantity(sensor_depth() * sensor_depth_unit()); };
1989
1990 boost::units::quantity< sensor_depth_unit,double > sensor_depth_with_units() const
1991 { return sensor_depth_with_units<boost::units::quantity< sensor_depth_unit,double > >(); };
1992
1993 typedef boost::units::length_dimension depth_dimension;
1994
1995 typedef boost::units::unit<depth_dimension,boost::units::si::system> depth_unit;
1996
1997 template<typename Quantity >
1998 void set_depth_with_units(Quantity value_w_units)
1999 { set_depth(boost::units::quantity<depth_unit,double >(value_w_units).value() ); };
2000
2001 template<typename Quantity >
2002 Quantity depth_with_units() const
2003 { return Quantity(depth() * depth_unit()); };
2004
2005 boost::units::quantity< depth_unit,double > depth_with_units() const
2006 { return depth_with_units<boost::units::quantity< depth_unit,double > >(); };
2007
2008 typedef boost::units::length_dimension distance_to_active_goal_dimension;
2009
2010 typedef boost::units::unit<distance_to_active_goal_dimension,boost::units::si::system> distance_to_active_goal_unit;
2011
2012 template<typename Quantity >
2013 void set_distance_to_active_goal_with_units(Quantity value_w_units)
2014 { set_distance_to_active_goal(boost::units::quantity<distance_to_active_goal_unit,double >(value_w_units).value() ); };
2015
2016 template<typename Quantity >
2018 { return Quantity(distance_to_active_goal() * distance_to_active_goal_unit()); };
2019
2020 boost::units::quantity< distance_to_active_goal_unit,double > distance_to_active_goal_with_units() const
2021 { return distance_to_active_goal_with_units<boost::units::quantity< distance_to_active_goal_unit,double > >(); };
2022
2023 typedef boost::units::derived_dimension< boost::units::time_base_dimension,1 >::type active_goal_timeout_dimension;
2024
2025 typedef boost::units::unit<active_goal_timeout_dimension,boost::units::si::system> active_goal_timeout_unit;
2026
2027 template<typename Quantity >
2028 void set_active_goal_timeout_with_units(Quantity value_w_units)
2029 { set_active_goal_timeout(boost::units::quantity<active_goal_timeout_unit,google::protobuf::uint32 >(value_w_units).value() ); };
2030
2031 template<typename Quantity >
2033 { return Quantity(active_goal_timeout() * active_goal_timeout_unit()); };
2034
2035 boost::units::quantity< active_goal_timeout_unit,google::protobuf::uint32 > active_goal_timeout_with_units() const
2036 { return active_goal_timeout_with_units<boost::units::quantity< active_goal_timeout_unit,google::protobuf::uint32 > >(); };
2037
2038 typedef boost::units::temperature_dimension temperature_dimension;
2039
2040 typedef boost::units::absolute<boost::units::unit<temperature_dimension,boost::units::celsius::system> > temperature_unit;
2041
2042 template<typename Quantity >
2043 void set_temperature_with_units(Quantity value_w_units)
2044 { set_temperature(boost::units::quantity<temperature_unit,double >(value_w_units).value() ); };
2045
2046 template<typename Quantity >
2047 Quantity temperature_with_units() const
2048 { return Quantity(temperature() * temperature_unit()); };
2049
2050 boost::units::quantity< temperature_unit,double > temperature_with_units() const
2051 { return temperature_with_units<boost::units::quantity< temperature_unit,double > >(); };
2052
2053 typedef boost::units::time_dimension received_time_dimension;
2054
2055 typedef boost::units::make_scaled_unit<boost::units::unit<received_time_dimension,boost::units::si::system> , boost::units::scale<10, boost::units::static_rational<-6> > >::type received_time_unit;
2056
2057 template<typename Quantity >
2058 void set_received_time_with_units(Quantity value_w_units)
2059 { set_received_time(boost::units::quantity<received_time_unit,google::protobuf::uint64 >(value_w_units).value() ); };
2060
2061 template<typename Quantity >
2063 { return Quantity(received_time() * received_time_unit()); };
2064
2065 boost::units::quantity< received_time_unit,google::protobuf::uint64 > received_time_with_units() const
2066 { return received_time_with_units<boost::units::quantity< received_time_unit,google::protobuf::uint64 > >(); };
2067
2068 // @@protoc_insertion_point(class_scope:jaiabot.protobuf.BotStatus)
2069 private:
2070 class _Internal;
2071
2072 // helper for ByteSizeLong()
2073 size_t RequiredFieldsByteSizeFallback() const;
2074
2075 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
2076 typedef void InternalArenaConstructable_;
2077 typedef void DestructorSkippable_;
2078 struct Impl_ {
2079 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
2080 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
2081 ::PROTOBUF_NAMESPACE_ID::RepeatedField<int> error_;
2082 ::PROTOBUF_NAMESPACE_ID::RepeatedField<int> warning_;
2086 uint64_t time_;
2087 uint64_t last_command_time_;
2088 double sensor_depth_;
2089 double depth_;
2090 uint32_t bot_id_;
2091 int mission_state_;
2092 double distance_to_active_goal_;
2093 int32_t active_goal_;
2094 uint32_t active_goal_timeout_;
2095 int32_t repeat_index_;
2096 int32_t calibration_status_;
2097 double salinity_;
2098 double temperature_;
2099 double battery_percent_;
2100 double hdop_;
2101 double pdop_;
2102 uint64_t received_time_;
2103 int32_t wifi_link_quality_percentage_;
2104 int health_state_;
2105 int bot_type_;
2106 int link_;
2107 int calibration_state_;
2108 };
2109 union { Impl_ _impl_; };
2110 friend struct ::TableStruct_jaiabot_2fmessages_2fjaia_5fdccl_2eproto;
2111};
2112// -------------------------------------------------------------------
2113
2115 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.protobuf.DriftPacket.EstimatedDrift) */ {
2116 public:
2119 explicit PROTOBUF_CONSTEXPR DriftPacket_EstimatedDrift(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
2120
2124 *this = ::std::move(from);
2125 }
2126
2128 CopyFrom(from);
2129 return *this;
2130 }
2132 if (this == &from) return *this;
2133 if (GetOwningArena() == from.GetOwningArena()
2134 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
2135 && GetOwningArena() != nullptr
2136 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
2137 ) {
2138 InternalSwap(&from);
2139 } else {
2140 CopyFrom(from);
2141 }
2142 return *this;
2143 }
2144
2145 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
2146 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
2147 }
2148 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
2149 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
2150 }
2151
2152 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
2153 return GetDescriptor();
2154 }
2155 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
2156 return default_instance().GetMetadata().descriptor;
2157 }
2158 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
2159 return default_instance().GetMetadata().reflection;
2160 }
2162 return *internal_default_instance();
2163 }
2168 static constexpr int kIndexInFileMessages =
2169 5;
2170
2172 a.Swap(&b);
2173 }
2174 inline void Swap(DriftPacket_EstimatedDrift* other) {
2175 if (other == this) return;
2176 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
2177 if (GetOwningArena() != nullptr &&
2178 GetOwningArena() == other->GetOwningArena()) {
2179 #else // PROTOBUF_FORCE_COPY_IN_SWAP
2180 if (GetOwningArena() == other->GetOwningArena()) {
2181 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
2182 InternalSwap(other);
2183 } else {
2184 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
2185 }
2186 }
2188 if (other == this) return;
2189 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
2190 InternalSwap(other);
2191 }
2192
2193 // implements Message ----------------------------------------------
2194
2195 DriftPacket_EstimatedDrift* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
2196 return CreateMaybeMessage<DriftPacket_EstimatedDrift>(arena);
2197 }
2198 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
2200 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
2202 DriftPacket_EstimatedDrift::MergeImpl(*this, from);
2203 }
2204 private:
2205 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
2206 public:
2207 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
2208 bool IsInitialized() const final;
2209
2210 size_t ByteSizeLong() const final;
2211 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
2212 uint8_t* _InternalSerialize(
2213 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
2214 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
2215
2216 private:
2217 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
2218 void SharedDtor();
2219 void SetCachedSize(int size) const final;
2220 void InternalSwap(DriftPacket_EstimatedDrift* other);
2221
2222 private:
2223 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
2224 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
2225 return "jaiabot.protobuf.DriftPacket.EstimatedDrift";
2226 }
2227 protected:
2228 explicit DriftPacket_EstimatedDrift(::PROTOBUF_NAMESPACE_ID::Arena* arena,
2229 bool is_message_owned = false);
2230 public:
2231
2232 static const ClassData _class_data_;
2233 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
2234
2235 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
2236
2237 // nested types ----------------------------------------------------
2238
2239 // accessors -------------------------------------------------------
2240
2241 enum : int {
2242 kSpeedFieldNumber = 1,
2243 kHeadingFieldNumber = 3,
2244 };
2245 // required double speed = 1 [(.dccl.field) = {
2246 bool has_speed() const;
2247 private:
2248 bool _internal_has_speed() const;
2249 public:
2250 void clear_speed();
2251 double speed() const;
2252 void set_speed(double value);
2253 private:
2254 double _internal_speed() const;
2255 void _internal_set_speed(double value);
2256 public:
2257
2258 // optional double heading = 3 [(.dccl.field) = {
2259 bool has_heading() const;
2260 private:
2261 bool _internal_has_heading() const;
2262 public:
2263 void clear_heading();
2264 double heading() const;
2265 void set_heading(double value);
2266 private:
2267 double _internal_heading() const;
2268 void _internal_set_heading(double value);
2269 public:
2270
2271 typedef boost::units::velocity_dimension speed_dimension;
2272
2273 typedef boost::units::unit<speed_dimension,boost::units::si::system> speed_unit;
2274
2275 template<typename Quantity >
2276 void set_speed_with_units(Quantity value_w_units)
2277 { set_speed(boost::units::quantity<speed_unit,double >(value_w_units).value() ); };
2278
2279 template<typename Quantity >
2280 Quantity speed_with_units() const
2281 { return Quantity(speed() * speed_unit()); };
2282
2283 boost::units::quantity< speed_unit,double > speed_with_units() const
2284 { return speed_with_units<boost::units::quantity< speed_unit,double > >(); };
2285
2286 typedef boost::units::plane_angle_dimension heading_dimension;
2287
2288 typedef boost::units::unit<heading_dimension,boost::units::degree::system> heading_unit;
2289
2290 template<typename Quantity >
2291 void set_heading_with_units(Quantity value_w_units)
2292 { set_heading(boost::units::quantity<heading_unit,double >(value_w_units).value() ); };
2293
2294 template<typename Quantity >
2295 Quantity heading_with_units() const
2296 { return Quantity(heading() * heading_unit()); };
2297
2298 boost::units::quantity< heading_unit,double > heading_with_units() const
2299 { return heading_with_units<boost::units::quantity< heading_unit,double > >(); };
2300
2301 // @@protoc_insertion_point(class_scope:jaiabot.protobuf.DriftPacket.EstimatedDrift)
2302 private:
2303 class _Internal;
2304
2305 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
2306 typedef void InternalArenaConstructable_;
2307 typedef void DestructorSkippable_;
2308 struct Impl_ {
2309 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
2310 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
2311 double speed_;
2312 double heading_;
2313 };
2314 union { Impl_ _impl_; };
2315 friend struct ::TableStruct_jaiabot_2fmessages_2fjaia_5fdccl_2eproto;
2316};
2317// -------------------------------------------------------------------
2318
2319class DriftPacket final :
2320 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.protobuf.DriftPacket) */ {
2321 public:
2322 inline DriftPacket() : DriftPacket(nullptr) {}
2323 ~DriftPacket() override;
2324 explicit PROTOBUF_CONSTEXPR DriftPacket(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
2325
2327 DriftPacket(DriftPacket&& from) noexcept
2328 : DriftPacket() {
2329 *this = ::std::move(from);
2330 }
2331
2332 inline DriftPacket& operator=(const DriftPacket& from) {
2333 CopyFrom(from);
2334 return *this;
2335 }
2336 inline DriftPacket& operator=(DriftPacket&& from) noexcept {
2337 if (this == &from) return *this;
2338 if (GetOwningArena() == from.GetOwningArena()
2339 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
2340 && GetOwningArena() != nullptr
2341 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
2342 ) {
2343 InternalSwap(&from);
2344 } else {
2345 CopyFrom(from);
2346 }
2347 return *this;
2348 }
2349
2350 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
2351 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
2352 }
2353 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
2354 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
2355 }
2356
2357 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
2358 return GetDescriptor();
2359 }
2360 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
2361 return default_instance().GetMetadata().descriptor;
2362 }
2363 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
2364 return default_instance().GetMetadata().reflection;
2365 }
2367 return *internal_default_instance();
2368 }
2370 return reinterpret_cast<const DriftPacket*>(
2372 }
2373 static constexpr int kIndexInFileMessages =
2374 6;
2375
2376 friend void swap(DriftPacket& a, DriftPacket& b) {
2377 a.Swap(&b);
2378 }
2379 inline void Swap(DriftPacket* other) {
2380 if (other == this) return;
2381 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
2382 if (GetOwningArena() != nullptr &&
2383 GetOwningArena() == other->GetOwningArena()) {
2384 #else // PROTOBUF_FORCE_COPY_IN_SWAP
2385 if (GetOwningArena() == other->GetOwningArena()) {
2386 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
2387 InternalSwap(other);
2388 } else {
2389 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
2390 }
2391 }
2393 if (other == this) return;
2394 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
2395 InternalSwap(other);
2396 }
2397
2398 // implements Message ----------------------------------------------
2399
2400 DriftPacket* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
2401 return CreateMaybeMessage<DriftPacket>(arena);
2402 }
2403 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
2404 void CopyFrom(const DriftPacket& from);
2405 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
2406 void MergeFrom( const DriftPacket& from) {
2407 DriftPacket::MergeImpl(*this, from);
2408 }
2409 private:
2410 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
2411 public:
2412 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
2413 bool IsInitialized() const final;
2414
2415 size_t ByteSizeLong() const final;
2416 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
2417 uint8_t* _InternalSerialize(
2418 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
2419 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
2420
2421 private:
2422 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
2423 void SharedDtor();
2424 void SetCachedSize(int size) const final;
2425 void InternalSwap(DriftPacket* other);
2426
2427 private:
2428 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
2429 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
2430 return "jaiabot.protobuf.DriftPacket";
2431 }
2432 protected:
2433 explicit DriftPacket(::PROTOBUF_NAMESPACE_ID::Arena* arena,
2434 bool is_message_owned = false);
2435 public:
2436
2437 static const ClassData _class_data_;
2438 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
2439
2440 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
2441
2442 // nested types ----------------------------------------------------
2443
2445
2446 // accessors -------------------------------------------------------
2447
2448 enum : int {
2449 kEstimatedDriftFieldNumber = 10,
2450 kStartLocationFieldNumber = 11,
2451 kEndLocationFieldNumber = 12,
2452 kSignificantWaveHeightFieldNumber = 13,
2453 kDriftDurationFieldNumber = 1,
2454 };
2455 // optional .jaiabot.protobuf.DriftPacket.EstimatedDrift estimated_drift = 10 [(.jaia.field) = {
2456 bool has_estimated_drift() const;
2457 private:
2458 bool _internal_has_estimated_drift() const;
2459 public:
2460 void clear_estimated_drift();
2461 const ::jaiabot::protobuf::DriftPacket_EstimatedDrift& estimated_drift() const;
2462 PROTOBUF_NODISCARD ::jaiabot::protobuf::DriftPacket_EstimatedDrift* release_estimated_drift();
2463 ::jaiabot::protobuf::DriftPacket_EstimatedDrift* mutable_estimated_drift();
2464 void set_allocated_estimated_drift(::jaiabot::protobuf::DriftPacket_EstimatedDrift* estimated_drift);
2465 private:
2466 const ::jaiabot::protobuf::DriftPacket_EstimatedDrift& _internal_estimated_drift() const;
2467 ::jaiabot::protobuf::DriftPacket_EstimatedDrift* _internal_mutable_estimated_drift();
2468 public:
2469 void unsafe_arena_set_allocated_estimated_drift(
2471 ::jaiabot::protobuf::DriftPacket_EstimatedDrift* unsafe_arena_release_estimated_drift();
2472
2473 // optional .jaiabot.protobuf.GeographicCoordinate start_location = 11 [(.jaia.field) = {
2474 bool has_start_location() const;
2475 private:
2476 bool _internal_has_start_location() const;
2477 public:
2479 const ::jaiabot::protobuf::GeographicCoordinate& start_location() const;
2480 PROTOBUF_NODISCARD ::jaiabot::protobuf::GeographicCoordinate* release_start_location();
2481 ::jaiabot::protobuf::GeographicCoordinate* mutable_start_location();
2482 void set_allocated_start_location(::jaiabot::protobuf::GeographicCoordinate* start_location);
2483 private:
2484 const ::jaiabot::protobuf::GeographicCoordinate& _internal_start_location() const;
2485 ::jaiabot::protobuf::GeographicCoordinate* _internal_mutable_start_location();
2486 public:
2487 void unsafe_arena_set_allocated_start_location(
2489 ::jaiabot::protobuf::GeographicCoordinate* unsafe_arena_release_start_location();
2490
2491 // optional .jaiabot.protobuf.GeographicCoordinate end_location = 12 [(.jaia.field) = {
2492 bool has_end_location() const;
2493 private:
2494 bool _internal_has_end_location() const;
2495 public:
2497 const ::jaiabot::protobuf::GeographicCoordinate& end_location() const;
2498 PROTOBUF_NODISCARD ::jaiabot::protobuf::GeographicCoordinate* release_end_location();
2499 ::jaiabot::protobuf::GeographicCoordinate* mutable_end_location();
2500 void set_allocated_end_location(::jaiabot::protobuf::GeographicCoordinate* end_location);
2501 private:
2502 const ::jaiabot::protobuf::GeographicCoordinate& _internal_end_location() const;
2503 ::jaiabot::protobuf::GeographicCoordinate* _internal_mutable_end_location();
2504 public:
2505 void unsafe_arena_set_allocated_end_location(
2507 ::jaiabot::protobuf::GeographicCoordinate* unsafe_arena_release_end_location();
2508
2509 // optional double significant_wave_height = 13 [(.dccl.field) = {
2510 bool has_significant_wave_height() const;
2511 private:
2512 bool _internal_has_significant_wave_height() const;
2513 public:
2514 void clear_significant_wave_height();
2515 double significant_wave_height() const;
2516 void set_significant_wave_height(double value);
2517 private:
2518 double _internal_significant_wave_height() const;
2519 void _internal_set_significant_wave_height(double value);
2520 public:
2521
2522 // optional int32 drift_duration = 1 [default = 0, (.dccl.field) = {
2523 bool has_drift_duration() const;
2524 private:
2525 bool _internal_has_drift_duration() const;
2526 public:
2527 void clear_drift_duration();
2528 int32_t drift_duration() const;
2529 void set_drift_duration(int32_t value);
2530 private:
2531 int32_t _internal_drift_duration() const;
2532 void _internal_set_drift_duration(int32_t value);
2533 public:
2534
2535 typedef boost::units::derived_dimension< boost::units::time_base_dimension,1 >::type drift_duration_dimension;
2536
2537 typedef boost::units::unit<drift_duration_dimension,boost::units::si::system> drift_duration_unit;
2538
2539 template<typename Quantity >
2540 void set_drift_duration_with_units(Quantity value_w_units)
2541 { set_drift_duration(boost::units::quantity<drift_duration_unit,google::protobuf::int32 >(value_w_units).value() ); };
2542
2543 template<typename Quantity >
2545 { return Quantity(drift_duration() * drift_duration_unit()); };
2546
2547 boost::units::quantity< drift_duration_unit,google::protobuf::int32 > drift_duration_with_units() const
2548 { return drift_duration_with_units<boost::units::quantity< drift_duration_unit,google::protobuf::int32 > >(); };
2549
2550 typedef boost::units::length_dimension significant_wave_height_dimension;
2551
2552 typedef boost::units::unit<significant_wave_height_dimension,boost::units::si::system> significant_wave_height_unit;
2553
2554 template<typename Quantity >
2555 void set_significant_wave_height_with_units(Quantity value_w_units)
2556 { set_significant_wave_height(boost::units::quantity<significant_wave_height_unit,double >(value_w_units).value() ); };
2557
2558 template<typename Quantity >
2560 { return Quantity(significant_wave_height() * significant_wave_height_unit()); };
2561
2562 boost::units::quantity< significant_wave_height_unit,double > significant_wave_height_with_units() const
2563 { return significant_wave_height_with_units<boost::units::quantity< significant_wave_height_unit,double > >(); };
2564
2565 // @@protoc_insertion_point(class_scope:jaiabot.protobuf.DriftPacket)
2566 private:
2567 class _Internal;
2568
2569 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
2570 typedef void InternalArenaConstructable_;
2571 typedef void DestructorSkippable_;
2572 struct Impl_ {
2573 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
2574 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
2578 double significant_wave_height_;
2579 int32_t drift_duration_;
2580 };
2581 union { Impl_ _impl_; };
2582 friend struct ::TableStruct_jaiabot_2fmessages_2fjaia_5fdccl_2eproto;
2583};
2584// -------------------------------------------------------------------
2585
2587 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.protobuf.DivePacket.Measurements) */ {
2588 public:
2591 explicit PROTOBUF_CONSTEXPR DivePacket_Measurements(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
2592
2596 *this = ::std::move(from);
2597 }
2598
2600 CopyFrom(from);
2601 return *this;
2602 }
2604 if (this == &from) return *this;
2605 if (GetOwningArena() == from.GetOwningArena()
2606 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
2607 && GetOwningArena() != nullptr
2608 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
2609 ) {
2610 InternalSwap(&from);
2611 } else {
2612 CopyFrom(from);
2613 }
2614 return *this;
2615 }
2616
2617 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
2618 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
2619 }
2620 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
2621 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
2622 }
2623
2624 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
2625 return GetDescriptor();
2626 }
2627 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
2628 return default_instance().GetMetadata().descriptor;
2629 }
2630 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
2631 return default_instance().GetMetadata().reflection;
2632 }
2634 return *internal_default_instance();
2635 }
2637 return reinterpret_cast<const DivePacket_Measurements*>(
2639 }
2640 static constexpr int kIndexInFileMessages =
2641 7;
2642
2644 a.Swap(&b);
2645 }
2646 inline void Swap(DivePacket_Measurements* other) {
2647 if (other == this) return;
2648 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
2649 if (GetOwningArena() != nullptr &&
2650 GetOwningArena() == other->GetOwningArena()) {
2651 #else // PROTOBUF_FORCE_COPY_IN_SWAP
2652 if (GetOwningArena() == other->GetOwningArena()) {
2653 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
2654 InternalSwap(other);
2655 } else {
2656 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
2657 }
2658 }
2660 if (other == this) return;
2661 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
2662 InternalSwap(other);
2663 }
2664
2665 // implements Message ----------------------------------------------
2666
2667 DivePacket_Measurements* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
2668 return CreateMaybeMessage<DivePacket_Measurements>(arena);
2669 }
2670 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
2672 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
2674 DivePacket_Measurements::MergeImpl(*this, from);
2675 }
2676 private:
2677 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
2678 public:
2679 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
2680 bool IsInitialized() const final;
2681
2682 size_t ByteSizeLong() const final;
2683 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
2684 uint8_t* _InternalSerialize(
2685 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
2686 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
2687
2688 private:
2689 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
2690 void SharedDtor();
2691 void SetCachedSize(int size) const final;
2692 void InternalSwap(DivePacket_Measurements* other);
2693
2694 private:
2695 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
2696 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
2697 return "jaiabot.protobuf.DivePacket.Measurements";
2698 }
2699 protected:
2700 explicit DivePacket_Measurements(::PROTOBUF_NAMESPACE_ID::Arena* arena,
2701 bool is_message_owned = false);
2702 public:
2703
2704 static const ClassData _class_data_;
2705 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
2706
2707 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
2708
2709 // nested types ----------------------------------------------------
2710
2711 // accessors -------------------------------------------------------
2712
2713 enum : int {
2714 kMeanDepthFieldNumber = 1,
2715 kMeanTemperatureFieldNumber = 2,
2716 kMeanSalinityFieldNumber = 3,
2717 };
2718 // optional double mean_depth = 1 [(.dccl.field) = {
2719 bool has_mean_depth() const;
2720 private:
2721 bool _internal_has_mean_depth() const;
2722 public:
2723 void clear_mean_depth();
2724 double mean_depth() const;
2725 void set_mean_depth(double value);
2726 private:
2727 double _internal_mean_depth() const;
2728 void _internal_set_mean_depth(double value);
2729 public:
2730
2731 // optional double mean_temperature = 2 [(.dccl.field) = {
2732 bool has_mean_temperature() const;
2733 private:
2734 bool _internal_has_mean_temperature() const;
2735 public:
2736 void clear_mean_temperature();
2737 double mean_temperature() const;
2738 void set_mean_temperature(double value);
2739 private:
2740 double _internal_mean_temperature() const;
2741 void _internal_set_mean_temperature(double value);
2742 public:
2743
2744 // optional double mean_salinity = 3 [(.dccl.field) = {
2745 bool has_mean_salinity() const;
2746 private:
2747 bool _internal_has_mean_salinity() const;
2748 public:
2749 void clear_mean_salinity();
2750 double mean_salinity() const;
2751 void set_mean_salinity(double value);
2752 private:
2753 double _internal_mean_salinity() const;
2754 void _internal_set_mean_salinity(double value);
2755 public:
2756
2757 typedef boost::units::length_dimension mean_depth_dimension;
2758
2759 typedef boost::units::unit<mean_depth_dimension,boost::units::si::system> mean_depth_unit;
2760
2761 template<typename Quantity >
2762 void set_mean_depth_with_units(Quantity value_w_units)
2763 { set_mean_depth(boost::units::quantity<mean_depth_unit,double >(value_w_units).value() ); };
2764
2765 template<typename Quantity >
2766 Quantity mean_depth_with_units() const
2767 { return Quantity(mean_depth() * mean_depth_unit()); };
2768
2769 boost::units::quantity< mean_depth_unit,double > mean_depth_with_units() const
2770 { return mean_depth_with_units<boost::units::quantity< mean_depth_unit,double > >(); };
2771
2772 typedef boost::units::temperature_dimension mean_temperature_dimension;
2773
2774 typedef boost::units::absolute<boost::units::unit<mean_temperature_dimension,boost::units::celsius::system> > mean_temperature_unit;
2775
2776 template<typename Quantity >
2777 void set_mean_temperature_with_units(Quantity value_w_units)
2778 { set_mean_temperature(boost::units::quantity<mean_temperature_unit,double >(value_w_units).value() ); };
2779
2780 template<typename Quantity >
2782 { return Quantity(mean_temperature() * mean_temperature_unit()); };
2783
2784 boost::units::quantity< mean_temperature_unit,double > mean_temperature_with_units() const
2785 { return mean_temperature_with_units<boost::units::quantity< mean_temperature_unit,double > >(); };
2786
2787 // @@protoc_insertion_point(class_scope:jaiabot.protobuf.DivePacket.Measurements)
2788 private:
2789 class _Internal;
2790
2791 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
2792 typedef void InternalArenaConstructable_;
2793 typedef void DestructorSkippable_;
2794 struct Impl_ {
2795 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
2796 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
2797 double mean_depth_;
2798 double mean_temperature_;
2799 double mean_salinity_;
2800 };
2801 union { Impl_ _impl_; };
2802 friend struct ::TableStruct_jaiabot_2fmessages_2fjaia_5fdccl_2eproto;
2803};
2804// -------------------------------------------------------------------
2805
2807 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.protobuf.DivePacket.SubsurfaceCurrentVector) */ {
2808 public:
2811 explicit PROTOBUF_CONSTEXPR DivePacket_SubsurfaceCurrentVector(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
2812
2818
2820 CopyFrom(from);
2821 return *this;
2822 }
2824 if (this == &from) return *this;
2825 if (GetOwningArena() == from.GetOwningArena()
2826 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
2827 && GetOwningArena() != nullptr
2828 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
2829 ) {
2830 InternalSwap(&from);
2831 } else {
2832 CopyFrom(from);
2833 }
2834 return *this;
2835 }
2836
2837 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
2838 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
2839 }
2840 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
2841 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
2842 }
2843
2844 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
2845 return GetDescriptor();
2846 }
2847 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
2848 return default_instance().GetMetadata().descriptor;
2849 }
2850 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
2851 return default_instance().GetMetadata().reflection;
2852 }
2854 return *internal_default_instance();
2855 }
2860 static constexpr int kIndexInFileMessages =
2861 8;
2862
2867 if (other == this) return;
2868 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
2869 if (GetOwningArena() != nullptr &&
2870 GetOwningArena() == other->GetOwningArena()) {
2871 #else // PROTOBUF_FORCE_COPY_IN_SWAP
2872 if (GetOwningArena() == other->GetOwningArena()) {
2873 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
2874 InternalSwap(other);
2875 } else {
2876 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
2877 }
2878 }
2880 if (other == this) return;
2881 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
2882 InternalSwap(other);
2883 }
2884
2885 // implements Message ----------------------------------------------
2886
2887 DivePacket_SubsurfaceCurrentVector* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
2888 return CreateMaybeMessage<DivePacket_SubsurfaceCurrentVector>(arena);
2889 }
2890 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
2892 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
2894 DivePacket_SubsurfaceCurrentVector::MergeImpl(*this, from);
2895 }
2896 private:
2897 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
2898 public:
2899 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
2900 bool IsInitialized() const final;
2901
2902 size_t ByteSizeLong() const final;
2903 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
2904 uint8_t* _InternalSerialize(
2905 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
2906 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
2907
2908 private:
2909 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
2910 void SharedDtor();
2911 void SetCachedSize(int size) const final;
2912 void InternalSwap(DivePacket_SubsurfaceCurrentVector* other);
2913
2914 private:
2915 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
2916 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
2917 return "jaiabot.protobuf.DivePacket.SubsurfaceCurrentVector";
2918 }
2919 protected:
2920 explicit DivePacket_SubsurfaceCurrentVector(::PROTOBUF_NAMESPACE_ID::Arena* arena,
2921 bool is_message_owned = false);
2922 public:
2923
2924 static const ClassData _class_data_;
2925 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
2926
2927 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
2928
2929 // nested types ----------------------------------------------------
2930
2931 // accessors -------------------------------------------------------
2932
2933 enum : int {
2934 kVelocityFieldNumber = 1,
2935 kHeadingFieldNumber = 2,
2936 };
2937 // required double velocity = 1 [(.dccl.field) = {
2938 bool has_velocity() const;
2939 private:
2940 bool _internal_has_velocity() const;
2941 public:
2942 void clear_velocity();
2943 double velocity() const;
2944 void set_velocity(double value);
2945 private:
2946 double _internal_velocity() const;
2947 void _internal_set_velocity(double value);
2948 public:
2949
2950 // required double heading = 2 [(.dccl.field) = {
2951 bool has_heading() const;
2952 private:
2953 bool _internal_has_heading() const;
2954 public:
2955 void clear_heading();
2956 double heading() const;
2957 void set_heading(double value);
2958 private:
2959 double _internal_heading() const;
2960 void _internal_set_heading(double value);
2961 public:
2962
2963 typedef boost::units::velocity_dimension velocity_dimension;
2964
2965 typedef boost::units::unit<velocity_dimension,boost::units::si::system> velocity_unit;
2966
2967 template<typename Quantity >
2968 void set_velocity_with_units(Quantity value_w_units)
2969 { set_velocity(boost::units::quantity<velocity_unit,double >(value_w_units).value() ); };
2970
2971 template<typename Quantity >
2972 Quantity velocity_with_units() const
2973 { return Quantity(velocity() * velocity_unit()); };
2974
2975 boost::units::quantity< velocity_unit,double > velocity_with_units() const
2976 { return velocity_with_units<boost::units::quantity< velocity_unit,double > >(); };
2977
2978 typedef boost::units::plane_angle_dimension heading_dimension;
2979
2980 typedef boost::units::unit<heading_dimension,boost::units::degree::system> heading_unit;
2981
2982 template<typename Quantity >
2983 void set_heading_with_units(Quantity value_w_units)
2984 { set_heading(boost::units::quantity<heading_unit,double >(value_w_units).value() ); };
2985
2986 template<typename Quantity >
2987 Quantity heading_with_units() const
2988 { return Quantity(heading() * heading_unit()); };
2989
2990 boost::units::quantity< heading_unit,double > heading_with_units() const
2991 { return heading_with_units<boost::units::quantity< heading_unit,double > >(); };
2992
2993 // @@protoc_insertion_point(class_scope:jaiabot.protobuf.DivePacket.SubsurfaceCurrentVector)
2994 private:
2995 class _Internal;
2996
2997 // helper for ByteSizeLong()
2998 size_t RequiredFieldsByteSizeFallback() const;
2999
3000 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
3001 typedef void InternalArenaConstructable_;
3002 typedef void DestructorSkippable_;
3003 struct Impl_ {
3004 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
3005 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
3006 double velocity_;
3007 double heading_;
3008 };
3009 union { Impl_ _impl_; };
3010 friend struct ::TableStruct_jaiabot_2fmessages_2fjaia_5fdccl_2eproto;
3011};
3012// -------------------------------------------------------------------
3013
3014class DivePacket final :
3015 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.protobuf.DivePacket) */ {
3016 public:
3017 inline DivePacket() : DivePacket(nullptr) {}
3018 ~DivePacket() override;
3019 explicit PROTOBUF_CONSTEXPR DivePacket(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
3020
3022 DivePacket(DivePacket&& from) noexcept
3023 : DivePacket() {
3024 *this = ::std::move(from);
3025 }
3026
3027 inline DivePacket& operator=(const DivePacket& from) {
3028 CopyFrom(from);
3029 return *this;
3030 }
3031 inline DivePacket& operator=(DivePacket&& from) noexcept {
3032 if (this == &from) return *this;
3033 if (GetOwningArena() == from.GetOwningArena()
3034 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
3035 && GetOwningArena() != nullptr
3036 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
3037 ) {
3038 InternalSwap(&from);
3039 } else {
3040 CopyFrom(from);
3041 }
3042 return *this;
3043 }
3044
3045 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
3046 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
3047 }
3048 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
3049 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
3050 }
3051
3052 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
3053 return GetDescriptor();
3054 }
3055 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
3056 return default_instance().GetMetadata().descriptor;
3057 }
3058 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
3059 return default_instance().GetMetadata().reflection;
3060 }
3062 return *internal_default_instance();
3063 }
3064 static inline const DivePacket* internal_default_instance() {
3065 return reinterpret_cast<const DivePacket*>(
3067 }
3068 static constexpr int kIndexInFileMessages =
3069 9;
3070
3071 friend void swap(DivePacket& a, DivePacket& b) {
3072 a.Swap(&b);
3073 }
3074 inline void Swap(DivePacket* other) {
3075 if (other == this) return;
3076 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
3077 if (GetOwningArena() != nullptr &&
3078 GetOwningArena() == other->GetOwningArena()) {
3079 #else // PROTOBUF_FORCE_COPY_IN_SWAP
3080 if (GetOwningArena() == other->GetOwningArena()) {
3081 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
3082 InternalSwap(other);
3083 } else {
3084 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
3085 }
3086 }
3088 if (other == this) return;
3089 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
3090 InternalSwap(other);
3091 }
3092
3093 // implements Message ----------------------------------------------
3094
3095 DivePacket* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
3096 return CreateMaybeMessage<DivePacket>(arena);
3097 }
3098 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
3099 void CopyFrom(const DivePacket& from);
3100 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
3101 void MergeFrom( const DivePacket& from) {
3102 DivePacket::MergeImpl(*this, from);
3103 }
3104 private:
3105 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
3106 public:
3107 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
3108 bool IsInitialized() const final;
3109
3110 size_t ByteSizeLong() const final;
3111 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
3112 uint8_t* _InternalSerialize(
3113 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
3114 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
3115
3116 private:
3117 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
3118 void SharedDtor();
3119 void SetCachedSize(int size) const final;
3120 void InternalSwap(DivePacket* other);
3121
3122 private:
3123 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
3124 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
3125 return "jaiabot.protobuf.DivePacket";
3126 }
3127 protected:
3128 explicit DivePacket(::PROTOBUF_NAMESPACE_ID::Arena* arena,
3129 bool is_message_owned = false);
3130 public:
3131
3132 static const ClassData _class_data_;
3133 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
3134
3135 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
3136
3137 // nested types ----------------------------------------------------
3138
3141
3143 static constexpr BottomType HARD =
3144 DivePacket_BottomType_HARD;
3145 static constexpr BottomType SOFT =
3146 DivePacket_BottomType_SOFT;
3147 static inline bool BottomType_IsValid(int value) {
3148 return DivePacket_BottomType_IsValid(value);
3149 }
3150 static constexpr BottomType BottomType_MIN =
3152 static constexpr BottomType BottomType_MAX =
3154 static constexpr int BottomType_ARRAYSIZE =
3156 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
3160 template<typename T>
3161 static inline const std::string& BottomType_Name(T enum_t_value) {
3162 static_assert(::std::is_same<T, BottomType>::value ||
3163 ::std::is_integral<T>::value,
3164 "Incorrect type passed to function BottomType_Name.");
3165 return DivePacket_BottomType_Name(enum_t_value);
3166 }
3167 static inline bool BottomType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
3168 BottomType* value) {
3169 return DivePacket_BottomType_Parse(name, value);
3170 }
3171
3172 // accessors -------------------------------------------------------
3173
3174 enum : int {
3175 kMeasurementFieldNumber = 14,
3176 kStartLocationFieldNumber = 15,
3177 kSubsurfaceCurrentFieldNumber = 21,
3178 kDiveRateFieldNumber = 10,
3179 kUnpoweredRiseRateFieldNumber = 11,
3180 kPoweredRiseRateFieldNumber = 12,
3181 kDepthAchievedFieldNumber = 13,
3182 kDurationToAcquireGpsFieldNumber = 16,
3183 kMaxAccelerationFieldNumber = 20,
3184 kBottomDiveFieldNumber = 17,
3185 kReachedMinDepthFieldNumber = 18,
3186 kBottomTypeFieldNumber = 19,
3187 };
3188 // repeated .jaiabot.protobuf.DivePacket.Measurements measurement = 14 [(.dccl.field) = {
3189 int measurement_size() const;
3190 private:
3191 int _internal_measurement_size() const;
3192 public:
3193 void clear_measurement();
3194 ::jaiabot::protobuf::DivePacket_Measurements* mutable_measurement(int index);
3195 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::protobuf::DivePacket_Measurements >*
3196 mutable_measurement();
3197 private:
3198 const ::jaiabot::protobuf::DivePacket_Measurements& _internal_measurement(int index) const;
3199 ::jaiabot::protobuf::DivePacket_Measurements* _internal_add_measurement();
3200 public:
3201 const ::jaiabot::protobuf::DivePacket_Measurements& measurement(int index) const;
3203 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::protobuf::DivePacket_Measurements >&
3204 measurement() const;
3205
3206 // optional .jaiabot.protobuf.GeographicCoordinate start_location = 15 [(.jaia.field) = {
3207 bool has_start_location() const;
3208 private:
3209 bool _internal_has_start_location() const;
3210 public:
3212 const ::jaiabot::protobuf::GeographicCoordinate& start_location() const;
3213 PROTOBUF_NODISCARD ::jaiabot::protobuf::GeographicCoordinate* release_start_location();
3214 ::jaiabot::protobuf::GeographicCoordinate* mutable_start_location();
3215 void set_allocated_start_location(::jaiabot::protobuf::GeographicCoordinate* start_location);
3216 private:
3217 const ::jaiabot::protobuf::GeographicCoordinate& _internal_start_location() const;
3218 ::jaiabot::protobuf::GeographicCoordinate* _internal_mutable_start_location();
3219 public:
3220 void unsafe_arena_set_allocated_start_location(
3222 ::jaiabot::protobuf::GeographicCoordinate* unsafe_arena_release_start_location();
3223
3224 // optional .jaiabot.protobuf.DivePacket.SubsurfaceCurrentVector subsurface_current = 21 [(.jaia.field) = {
3225 bool has_subsurface_current() const;
3226 private:
3227 bool _internal_has_subsurface_current() const;
3228 public:
3229 void clear_subsurface_current();
3230 const ::jaiabot::protobuf::DivePacket_SubsurfaceCurrentVector& subsurface_current() const;
3231 PROTOBUF_NODISCARD ::jaiabot::protobuf::DivePacket_SubsurfaceCurrentVector* release_subsurface_current();
3232 ::jaiabot::protobuf::DivePacket_SubsurfaceCurrentVector* mutable_subsurface_current();
3233 void set_allocated_subsurface_current(::jaiabot::protobuf::DivePacket_SubsurfaceCurrentVector* subsurface_current);
3234 private:
3235 const ::jaiabot::protobuf::DivePacket_SubsurfaceCurrentVector& _internal_subsurface_current() const;
3236 ::jaiabot::protobuf::DivePacket_SubsurfaceCurrentVector* _internal_mutable_subsurface_current();
3237 public:
3238 void unsafe_arena_set_allocated_subsurface_current(
3240 ::jaiabot::protobuf::DivePacket_SubsurfaceCurrentVector* unsafe_arena_release_subsurface_current();
3241
3242 // required double dive_rate = 10 [(.dccl.field) = {
3243 bool has_dive_rate() const;
3244 private:
3245 bool _internal_has_dive_rate() const;
3246 public:
3247 void clear_dive_rate();
3248 double dive_rate() const;
3249 void set_dive_rate(double value);
3250 private:
3251 double _internal_dive_rate() const;
3252 void _internal_set_dive_rate(double value);
3253 public:
3254
3255 // optional double unpowered_rise_rate = 11 [(.dccl.field) = {
3256 bool has_unpowered_rise_rate() const;
3257 private:
3258 bool _internal_has_unpowered_rise_rate() const;
3259 public:
3260 void clear_unpowered_rise_rate();
3261 double unpowered_rise_rate() const;
3262 void set_unpowered_rise_rate(double value);
3263 private:
3264 double _internal_unpowered_rise_rate() const;
3265 void _internal_set_unpowered_rise_rate(double value);
3266 public:
3267
3268 // optional double powered_rise_rate = 12 [(.dccl.field) = {
3269 bool has_powered_rise_rate() const;
3270 private:
3271 bool _internal_has_powered_rise_rate() const;
3272 public:
3273 void clear_powered_rise_rate();
3274 double powered_rise_rate() const;
3275 void set_powered_rise_rate(double value);
3276 private:
3277 double _internal_powered_rise_rate() const;
3278 void _internal_set_powered_rise_rate(double value);
3279 public:
3280
3281 // required double depth_achieved = 13 [(.dccl.field) = {
3282 bool has_depth_achieved() const;
3283 private:
3284 bool _internal_has_depth_achieved() const;
3285 public:
3286 void clear_depth_achieved();
3287 double depth_achieved() const;
3288 void set_depth_achieved(double value);
3289 private:
3290 double _internal_depth_achieved() const;
3291 void _internal_set_depth_achieved(double value);
3292 public:
3293
3294 // optional double duration_to_acquire_gps = 16 [(.dccl.field) = {
3295 bool has_duration_to_acquire_gps() const;
3296 private:
3297 bool _internal_has_duration_to_acquire_gps() const;
3298 public:
3299 void clear_duration_to_acquire_gps();
3300 double duration_to_acquire_gps() const;
3301 void set_duration_to_acquire_gps(double value);
3302 private:
3303 double _internal_duration_to_acquire_gps() const;
3304 void _internal_set_duration_to_acquire_gps(double value);
3305 public:
3306
3307 // optional double max_acceleration = 20 [(.dccl.field) = {
3308 bool has_max_acceleration() const;
3309 private:
3310 bool _internal_has_max_acceleration() const;
3311 public:
3312 void clear_max_acceleration();
3313 double max_acceleration() const;
3314 void set_max_acceleration(double value);
3315 private:
3316 double _internal_max_acceleration() const;
3317 void _internal_set_max_acceleration(double value);
3318 public:
3319
3320 // optional bool bottom_dive = 17 [default = false, (.jaia.field) = {
3321 bool has_bottom_dive() const;
3322 private:
3323 bool _internal_has_bottom_dive() const;
3324 public:
3325 void clear_bottom_dive();
3326 bool bottom_dive() const;
3327 void set_bottom_dive(bool value);
3328 private:
3329 bool _internal_bottom_dive() const;
3330 void _internal_set_bottom_dive(bool value);
3331 public:
3332
3333 // optional bool reached_min_depth = 18 [default = false, (.jaia.field) = {
3334 bool has_reached_min_depth() const;
3335 private:
3336 bool _internal_has_reached_min_depth() const;
3337 public:
3338 void clear_reached_min_depth();
3339 bool reached_min_depth() const;
3340 void set_reached_min_depth(bool value);
3341 private:
3342 bool _internal_reached_min_depth() const;
3343 void _internal_set_reached_min_depth(bool value);
3344 public:
3345
3346 // optional .jaiabot.protobuf.DivePacket.BottomType bottom_type = 19 [(.jaia.field) = {
3347 bool has_bottom_type() const;
3348 private:
3349 bool _internal_has_bottom_type() const;
3350 public:
3351 void clear_bottom_type();
3353 void set_bottom_type(::jaiabot::protobuf::DivePacket_BottomType value);
3354 private:
3355 ::jaiabot::protobuf::DivePacket_BottomType _internal_bottom_type() const;
3356 void _internal_set_bottom_type(::jaiabot::protobuf::DivePacket_BottomType value);
3357 public:
3358
3359 typedef boost::units::velocity_dimension dive_rate_dimension;
3360
3361 typedef boost::units::unit<dive_rate_dimension,boost::units::si::system> dive_rate_unit;
3362
3363 template<typename Quantity >
3364 void set_dive_rate_with_units(Quantity value_w_units)
3365 { set_dive_rate(boost::units::quantity<dive_rate_unit,double >(value_w_units).value() ); };
3366
3367 template<typename Quantity >
3368 Quantity dive_rate_with_units() const
3369 { return Quantity(dive_rate() * dive_rate_unit()); };
3370
3371 boost::units::quantity< dive_rate_unit,double > dive_rate_with_units() const
3372 { return dive_rate_with_units<boost::units::quantity< dive_rate_unit,double > >(); };
3373
3374 typedef boost::units::velocity_dimension unpowered_rise_rate_dimension;
3375
3376 typedef boost::units::unit<unpowered_rise_rate_dimension,boost::units::si::system> unpowered_rise_rate_unit;
3377
3378 template<typename Quantity >
3379 void set_unpowered_rise_rate_with_units(Quantity value_w_units)
3380 { set_unpowered_rise_rate(boost::units::quantity<unpowered_rise_rate_unit,double >(value_w_units).value() ); };
3381
3382 template<typename Quantity >
3384 { return Quantity(unpowered_rise_rate() * unpowered_rise_rate_unit()); };
3385
3386 boost::units::quantity< unpowered_rise_rate_unit,double > unpowered_rise_rate_with_units() const
3387 { return unpowered_rise_rate_with_units<boost::units::quantity< unpowered_rise_rate_unit,double > >(); };
3388
3389 typedef boost::units::velocity_dimension powered_rise_rate_dimension;
3390
3391 typedef boost::units::unit<powered_rise_rate_dimension,boost::units::si::system> powered_rise_rate_unit;
3392
3393 template<typename Quantity >
3394 void set_powered_rise_rate_with_units(Quantity value_w_units)
3395 { set_powered_rise_rate(boost::units::quantity<powered_rise_rate_unit,double >(value_w_units).value() ); };
3396
3397 template<typename Quantity >
3399 { return Quantity(powered_rise_rate() * powered_rise_rate_unit()); };
3400
3401 boost::units::quantity< powered_rise_rate_unit,double > powered_rise_rate_with_units() const
3402 { return powered_rise_rate_with_units<boost::units::quantity< powered_rise_rate_unit,double > >(); };
3403
3404 typedef boost::units::length_dimension depth_achieved_dimension;
3405
3406 typedef boost::units::unit<depth_achieved_dimension,boost::units::si::system> depth_achieved_unit;
3407
3408 template<typename Quantity >
3409 void set_depth_achieved_with_units(Quantity value_w_units)
3410 { set_depth_achieved(boost::units::quantity<depth_achieved_unit,double >(value_w_units).value() ); };
3411
3412 template<typename Quantity >
3414 { return Quantity(depth_achieved() * depth_achieved_unit()); };
3415
3416 boost::units::quantity< depth_achieved_unit,double > depth_achieved_with_units() const
3417 { return depth_achieved_with_units<boost::units::quantity< depth_achieved_unit,double > >(); };
3418
3419 typedef boost::units::derived_dimension< boost::units::time_base_dimension,1 >::type duration_to_acquire_gps_dimension;
3420
3421 typedef boost::units::unit<duration_to_acquire_gps_dimension,boost::units::si::system> duration_to_acquire_gps_unit;
3422
3423 template<typename Quantity >
3424 void set_duration_to_acquire_gps_with_units(Quantity value_w_units)
3425 { set_duration_to_acquire_gps(boost::units::quantity<duration_to_acquire_gps_unit,double >(value_w_units).value() ); };
3426
3427 template<typename Quantity >
3429 { return Quantity(duration_to_acquire_gps() * duration_to_acquire_gps_unit()); };
3430
3431 boost::units::quantity< duration_to_acquire_gps_unit,double > duration_to_acquire_gps_with_units() const
3432 { return duration_to_acquire_gps_with_units<boost::units::quantity< duration_to_acquire_gps_unit,double > >(); };
3433
3434 typedef boost::units::acceleration_dimension max_acceleration_dimension;
3435
3436 typedef boost::units::unit<max_acceleration_dimension,boost::units::si::system> max_acceleration_unit;
3437
3438 template<typename Quantity >
3439 void set_max_acceleration_with_units(Quantity value_w_units)
3440 { set_max_acceleration(boost::units::quantity<max_acceleration_unit,double >(value_w_units).value() ); };
3441
3442 template<typename Quantity >
3444 { return Quantity(max_acceleration() * max_acceleration_unit()); };
3445
3446 boost::units::quantity< max_acceleration_unit,double > max_acceleration_with_units() const
3447 { return max_acceleration_with_units<boost::units::quantity< max_acceleration_unit,double > >(); };
3448
3449 // @@protoc_insertion_point(class_scope:jaiabot.protobuf.DivePacket)
3450 private:
3451 class _Internal;
3452
3453 // helper for ByteSizeLong()
3454 size_t RequiredFieldsByteSizeFallback() const;
3455
3456 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
3457 typedef void InternalArenaConstructable_;
3458 typedef void DestructorSkippable_;
3459 struct Impl_ {
3460 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
3461 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
3462 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::protobuf::DivePacket_Measurements > measurement_;
3465 double dive_rate_;
3466 double unpowered_rise_rate_;
3467 double powered_rise_rate_;
3468 double depth_achieved_;
3469 double duration_to_acquire_gps_;
3470 double max_acceleration_;
3471 bool bottom_dive_;
3472 bool reached_min_depth_;
3473 int bottom_type_;
3474 };
3475 union { Impl_ _impl_; };
3476 friend struct ::TableStruct_jaiabot_2fmessages_2fjaia_5fdccl_2eproto;
3477};
3478// -------------------------------------------------------------------
3479
3480class TaskPacket final :
3481 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.protobuf.TaskPacket) */ {
3482 public:
3483 inline TaskPacket() : TaskPacket(nullptr) {}
3484 ~TaskPacket() override;
3485 explicit PROTOBUF_CONSTEXPR TaskPacket(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
3486
3488 TaskPacket(TaskPacket&& from) noexcept
3489 : TaskPacket() {
3490 *this = ::std::move(from);
3491 }
3492
3493 inline TaskPacket& operator=(const TaskPacket& from) {
3494 CopyFrom(from);
3495 return *this;
3496 }
3497 inline TaskPacket& operator=(TaskPacket&& from) noexcept {
3498 if (this == &from) return *this;
3499 if (GetOwningArena() == from.GetOwningArena()
3500 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
3501 && GetOwningArena() != nullptr
3502 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
3503 ) {
3504 InternalSwap(&from);
3505 } else {
3506 CopyFrom(from);
3507 }
3508 return *this;
3509 }
3510
3511 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
3512 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
3513 }
3514 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
3515 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
3516 }
3517
3518 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
3519 return GetDescriptor();
3520 }
3521 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
3522 return default_instance().GetMetadata().descriptor;
3523 }
3524 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
3525 return default_instance().GetMetadata().reflection;
3526 }
3528 return *internal_default_instance();
3529 }
3530 static inline const TaskPacket* internal_default_instance() {
3531 return reinterpret_cast<const TaskPacket*>(
3533 }
3534 static constexpr int kIndexInFileMessages =
3535 10;
3536
3537 friend void swap(TaskPacket& a, TaskPacket& b) {
3538 a.Swap(&b);
3539 }
3540 inline void Swap(TaskPacket* other) {
3541 if (other == this) return;
3542 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
3543 if (GetOwningArena() != nullptr &&
3544 GetOwningArena() == other->GetOwningArena()) {
3545 #else // PROTOBUF_FORCE_COPY_IN_SWAP
3546 if (GetOwningArena() == other->GetOwningArena()) {
3547 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
3548 InternalSwap(other);
3549 } else {
3550 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
3551 }
3552 }
3554 if (other == this) return;
3555 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
3556 InternalSwap(other);
3557 }
3558
3559 // implements Message ----------------------------------------------
3560
3561 TaskPacket* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
3562 return CreateMaybeMessage<TaskPacket>(arena);
3563 }
3564 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
3565 void CopyFrom(const TaskPacket& from);
3566 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
3567 void MergeFrom( const TaskPacket& from) {
3568 TaskPacket::MergeImpl(*this, from);
3569 }
3570 private:
3571 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
3572 public:
3573 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
3574 bool IsInitialized() const final;
3575
3576 size_t ByteSizeLong() const final;
3577 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
3578 uint8_t* _InternalSerialize(
3579 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
3580 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
3581
3582 private:
3583 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
3584 void SharedDtor();
3585 void SetCachedSize(int size) const final;
3586 void InternalSwap(TaskPacket* other);
3587
3588 private:
3589 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
3590 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
3591 return "jaiabot.protobuf.TaskPacket";
3592 }
3593 protected:
3594 explicit TaskPacket(::PROTOBUF_NAMESPACE_ID::Arena* arena,
3595 bool is_message_owned = false);
3596 public:
3597
3598 static const ClassData _class_data_;
3599 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
3600
3601 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
3602
3603 // nested types ----------------------------------------------------
3604
3605 // accessors -------------------------------------------------------
3606
3607 enum : int {
3608 kDiveFieldNumber = 10,
3609 kDriftFieldNumber = 11,
3610 kStartTimeFieldNumber = 2,
3611 kBotIdFieldNumber = 1,
3612 kTypeFieldNumber = 4,
3613 kEndTimeFieldNumber = 3,
3614 kLinkFieldNumber = 5,
3615 };
3616 // optional .jaiabot.protobuf.DivePacket dive = 10 [(.jaia.field) = {
3617 bool has_dive() const;
3618 private:
3619 bool _internal_has_dive() const;
3620 public:
3621 void clear_dive();
3622 const ::jaiabot::protobuf::DivePacket& dive() const;
3623 PROTOBUF_NODISCARD ::jaiabot::protobuf::DivePacket* release_dive();
3624 ::jaiabot::protobuf::DivePacket* mutable_dive();
3625 void set_allocated_dive(::jaiabot::protobuf::DivePacket* dive);
3626 private:
3627 const ::jaiabot::protobuf::DivePacket& _internal_dive() const;
3628 ::jaiabot::protobuf::DivePacket* _internal_mutable_dive();
3629 public:
3630 void unsafe_arena_set_allocated_dive(
3632 ::jaiabot::protobuf::DivePacket* unsafe_arena_release_dive();
3633
3634 // optional .jaiabot.protobuf.DriftPacket drift = 11 [(.jaia.field) = {
3635 bool has_drift() const;
3636 private:
3637 bool _internal_has_drift() const;
3638 public:
3639 void clear_drift();
3640 const ::jaiabot::protobuf::DriftPacket& drift() const;
3641 PROTOBUF_NODISCARD ::jaiabot::protobuf::DriftPacket* release_drift();
3642 ::jaiabot::protobuf::DriftPacket* mutable_drift();
3643 void set_allocated_drift(::jaiabot::protobuf::DriftPacket* drift);
3644 private:
3645 const ::jaiabot::protobuf::DriftPacket& _internal_drift() const;
3646 ::jaiabot::protobuf::DriftPacket* _internal_mutable_drift();
3647 public:
3648 void unsafe_arena_set_allocated_drift(
3650 ::jaiabot::protobuf::DriftPacket* unsafe_arena_release_drift();
3651
3652 // required uint64 start_time = 2 [(.dccl.field) = {
3653 bool has_start_time() const;
3654 private:
3655 bool _internal_has_start_time() const;
3656 public:
3657 void clear_start_time();
3658 uint64_t start_time() const;
3659 void set_start_time(uint64_t value);
3660 private:
3661 uint64_t _internal_start_time() const;
3662 void _internal_set_start_time(uint64_t value);
3663 public:
3664
3665 // required uint32 bot_id = 1 [(.dccl.field) = {
3666 bool has_bot_id() const;
3667 private:
3668 bool _internal_has_bot_id() const;
3669 public:
3670 void clear_bot_id();
3671 uint32_t bot_id() const;
3672 void set_bot_id(uint32_t value);
3673 private:
3674 uint32_t _internal_bot_id() const;
3675 void _internal_set_bot_id(uint32_t value);
3676 public:
3677
3678 // required .jaiabot.protobuf.MissionTask.TaskType type = 4 [(.jaia.field) = {
3679 bool has_type() const;
3680 private:
3681 bool _internal_has_type() const;
3682 public:
3683 void clear_type();
3685 void set_type(::jaiabot::protobuf::MissionTask_TaskType value);
3686 private:
3687 ::jaiabot::protobuf::MissionTask_TaskType _internal_type() const;
3688 void _internal_set_type(::jaiabot::protobuf::MissionTask_TaskType value);
3689 public:
3690
3691 // required uint64 end_time = 3 [(.dccl.field) = {
3692 bool has_end_time() const;
3693 private:
3694 bool _internal_has_end_time() const;
3695 public:
3696 void clear_end_time();
3697 uint64_t end_time() const;
3698 void set_end_time(uint64_t value);
3699 private:
3700 uint64_t _internal_end_time() const;
3701 void _internal_set_end_time(uint64_t value);
3702 public:
3703
3704 // optional .jaiabot.protobuf.Link link = 5 [(.dccl.field) = {
3705 bool has_link() const;
3706 private:
3707 bool _internal_has_link() const;
3708 public:
3709 void clear_link();
3710 ::jaiabot::protobuf::Link link() const;
3711 void set_link(::jaiabot::protobuf::Link value);
3712 private:
3713 ::jaiabot::protobuf::Link _internal_link() const;
3714 void _internal_set_link(::jaiabot::protobuf::Link value);
3715 public:
3716
3717 enum DCCLParameters { DCCL_ID = 20481, DCCL_MAX_BYTES = 250 };
3718 typedef boost::units::time_dimension start_time_dimension;
3719
3720 typedef boost::units::make_scaled_unit<boost::units::unit<start_time_dimension,boost::units::si::system> , boost::units::scale<10, boost::units::static_rational<-6> > >::type start_time_unit;
3721
3722 template<typename Quantity >
3723 void set_start_time_with_units(Quantity value_w_units)
3724 { set_start_time(boost::units::quantity<start_time_unit,google::protobuf::uint64 >(value_w_units).value() ); };
3725
3726 template<typename Quantity >
3727 Quantity start_time_with_units() const
3728 { return Quantity(start_time() * start_time_unit()); };
3729
3730 boost::units::quantity< start_time_unit,google::protobuf::uint64 > start_time_with_units() const
3731 { return start_time_with_units<boost::units::quantity< start_time_unit,google::protobuf::uint64 > >(); };
3732
3733 typedef boost::units::time_dimension end_time_dimension;
3734
3735 typedef boost::units::make_scaled_unit<boost::units::unit<end_time_dimension,boost::units::si::system> , boost::units::scale<10, boost::units::static_rational<-6> > >::type end_time_unit;
3736
3737 template<typename Quantity >
3738 void set_end_time_with_units(Quantity value_w_units)
3739 { set_end_time(boost::units::quantity<end_time_unit,google::protobuf::uint64 >(value_w_units).value() ); };
3740
3741 template<typename Quantity >
3742 Quantity end_time_with_units() const
3743 { return Quantity(end_time() * end_time_unit()); };
3744
3745 boost::units::quantity< end_time_unit,google::protobuf::uint64 > end_time_with_units() const
3746 { return end_time_with_units<boost::units::quantity< end_time_unit,google::protobuf::uint64 > >(); };
3747
3748 // @@protoc_insertion_point(class_scope:jaiabot.protobuf.TaskPacket)
3749 private:
3750 class _Internal;
3751
3752 // helper for ByteSizeLong()
3753 size_t RequiredFieldsByteSizeFallback() const;
3754
3755 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
3756 typedef void InternalArenaConstructable_;
3757 typedef void DestructorSkippable_;
3758 struct Impl_ {
3759 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
3760 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
3763 uint64_t start_time_;
3764 uint32_t bot_id_;
3765 int type_;
3766 uint64_t end_time_;
3767 int link_;
3768 };
3769 union { Impl_ _impl_; };
3770 friend struct ::TableStruct_jaiabot_2fmessages_2fjaia_5fdccl_2eproto;
3771};
3772// -------------------------------------------------------------------
3773
3774class ContactUpdate final :
3775 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.protobuf.ContactUpdate) */ {
3776 public:
3777 inline ContactUpdate() : ContactUpdate(nullptr) {}
3778 ~ContactUpdate() override;
3779 explicit PROTOBUF_CONSTEXPR ContactUpdate(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
3780
3783 : ContactUpdate() {
3784 *this = ::std::move(from);
3785 }
3786
3788 CopyFrom(from);
3789 return *this;
3790 }
3791 inline ContactUpdate& operator=(ContactUpdate&& from) noexcept {
3792 if (this == &from) return *this;
3793 if (GetOwningArena() == from.GetOwningArena()
3794 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
3795 && GetOwningArena() != nullptr
3796 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
3797 ) {
3798 InternalSwap(&from);
3799 } else {
3800 CopyFrom(from);
3801 }
3802 return *this;
3803 }
3804
3805 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
3806 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
3807 }
3808 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
3809 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
3810 }
3811
3812 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
3813 return GetDescriptor();
3814 }
3815 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
3816 return default_instance().GetMetadata().descriptor;
3817 }
3818 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
3819 return default_instance().GetMetadata().reflection;
3820 }
3822 return *internal_default_instance();
3823 }
3825 return reinterpret_cast<const ContactUpdate*>(
3827 }
3828 static constexpr int kIndexInFileMessages =
3829 11;
3830
3831 friend void swap(ContactUpdate& a, ContactUpdate& b) {
3832 a.Swap(&b);
3833 }
3834 inline void Swap(ContactUpdate* other) {
3835 if (other == this) return;
3836 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
3837 if (GetOwningArena() != nullptr &&
3838 GetOwningArena() == other->GetOwningArena()) {
3839 #else // PROTOBUF_FORCE_COPY_IN_SWAP
3840 if (GetOwningArena() == other->GetOwningArena()) {
3841 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
3842 InternalSwap(other);
3843 } else {
3844 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
3845 }
3846 }
3848 if (other == this) return;
3849 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
3850 InternalSwap(other);
3851 }
3852
3853 // implements Message ----------------------------------------------
3854
3855 ContactUpdate* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
3856 return CreateMaybeMessage<ContactUpdate>(arena);
3857 }
3858 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
3859 void CopyFrom(const ContactUpdate& from);
3860 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
3861 void MergeFrom( const ContactUpdate& from) {
3862 ContactUpdate::MergeImpl(*this, from);
3863 }
3864 private:
3865 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
3866 public:
3867 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
3868 bool IsInitialized() const final;
3869
3870 size_t ByteSizeLong() const final;
3871 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
3872 uint8_t* _InternalSerialize(
3873 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
3874 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
3875
3876 private:
3877 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
3878 void SharedDtor();
3879 void SetCachedSize(int size) const final;
3880 void InternalSwap(ContactUpdate* other);
3881
3882 private:
3883 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
3884 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
3885 return "jaiabot.protobuf.ContactUpdate";
3886 }
3887 protected:
3888 explicit ContactUpdate(::PROTOBUF_NAMESPACE_ID::Arena* arena,
3889 bool is_message_owned = false);
3890 public:
3891
3892 static const ClassData _class_data_;
3893 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
3894
3895 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
3896
3897 // nested types ----------------------------------------------------
3898
3899 // accessors -------------------------------------------------------
3900
3901 enum : int {
3902 kLocationFieldNumber = 2,
3903 kSpeedOverGroundFieldNumber = 3,
3904 kHeadingOrCogFieldNumber = 5,
3905 kContactFieldNumber = 1,
3906 };
3907 // required .jaiabot.protobuf.GeographicCoordinate location = 2;
3908 bool has_location() const;
3909 private:
3910 bool _internal_has_location() const;
3911 public:
3913 const ::jaiabot::protobuf::GeographicCoordinate& location() const;
3914 PROTOBUF_NODISCARD ::jaiabot::protobuf::GeographicCoordinate* release_location();
3916 void set_allocated_location(::jaiabot::protobuf::GeographicCoordinate* location);
3917 private:
3918 const ::jaiabot::protobuf::GeographicCoordinate& _internal_location() const;
3919 ::jaiabot::protobuf::GeographicCoordinate* _internal_mutable_location();
3920 public:
3921 void unsafe_arena_set_allocated_location(
3923 ::jaiabot::protobuf::GeographicCoordinate* unsafe_arena_release_location();
3924
3925 // optional double speed_over_ground = 3 [(.dccl.field) = {
3926 bool has_speed_over_ground() const;
3927 private:
3928 bool _internal_has_speed_over_ground() const;
3929 public:
3930 void clear_speed_over_ground();
3931 double speed_over_ground() const;
3932 void set_speed_over_ground(double value);
3933 private:
3934 double _internal_speed_over_ground() const;
3935 void _internal_set_speed_over_ground(double value);
3936 public:
3937
3938 // optional double heading_or_cog = 5 [(.dccl.field) = {
3939 bool has_heading_or_cog() const;
3940 private:
3941 bool _internal_has_heading_or_cog() const;
3942 public:
3943 void clear_heading_or_cog();
3944 double heading_or_cog() const;
3945 void set_heading_or_cog(double value);
3946 private:
3947 double _internal_heading_or_cog() const;
3948 void _internal_set_heading_or_cog(double value);
3949 public:
3950
3951 // optional int32 contact = 1 [(.dccl.field) = {
3952 bool has_contact() const;
3953 private:
3954 bool _internal_has_contact() const;
3955 public:
3956 void clear_contact();
3957 int32_t contact() const;
3958 void set_contact(int32_t value);
3959 private:
3960 int32_t _internal_contact() const;
3961 void _internal_set_contact(int32_t value);
3962 public:
3963
3964 enum DCCLParameters { DCCL_ID = 20482, DCCL_MAX_BYTES = 16 };
3965 typedef boost::units::velocity_dimension speed_over_ground_dimension;
3966
3967 typedef boost::units::unit<speed_over_ground_dimension,boost::units::si::system> speed_over_ground_unit;
3968
3969 template<typename Quantity >
3970 void set_speed_over_ground_with_units(Quantity value_w_units)
3971 { set_speed_over_ground(boost::units::quantity<speed_over_ground_unit,double >(value_w_units).value() ); };
3972
3973 template<typename Quantity >
3975 { return Quantity(speed_over_ground() * speed_over_ground_unit()); };
3976
3977 boost::units::quantity< speed_over_ground_unit,double > speed_over_ground_with_units() const
3978 { return speed_over_ground_with_units<boost::units::quantity< speed_over_ground_unit,double > >(); };
3979
3980 typedef boost::units::plane_angle_dimension heading_or_cog_dimension;
3981
3982 typedef boost::units::unit<heading_or_cog_dimension,boost::units::degree::system> heading_or_cog_unit;
3983
3984 template<typename Quantity >
3985 void set_heading_or_cog_with_units(Quantity value_w_units)
3986 { set_heading_or_cog(boost::units::quantity<heading_or_cog_unit,double >(value_w_units).value() ); };
3987
3988 template<typename Quantity >
3990 { return Quantity(heading_or_cog() * heading_or_cog_unit()); };
3991
3992 boost::units::quantity< heading_or_cog_unit,double > heading_or_cog_with_units() const
3993 { return heading_or_cog_with_units<boost::units::quantity< heading_or_cog_unit,double > >(); };
3994
3995 // @@protoc_insertion_point(class_scope:jaiabot.protobuf.ContactUpdate)
3996 private:
3997 class _Internal;
3998
3999 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
4000 typedef void InternalArenaConstructable_;
4001 typedef void DestructorSkippable_;
4002 struct Impl_ {
4003 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
4004 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
4006 double speed_over_ground_;
4007 double heading_or_cog_;
4008 int32_t contact_;
4009 };
4010 union { Impl_ _impl_; };
4011 friend struct ::TableStruct_jaiabot_2fmessages_2fjaia_5fdccl_2eproto;
4012};
4013// -------------------------------------------------------------------
4014
4015class Hub2HubData final :
4016 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.protobuf.Hub2HubData) */ {
4017 public:
4018 inline Hub2HubData() : Hub2HubData(nullptr) {}
4019 ~Hub2HubData() override;
4020 explicit PROTOBUF_CONSTEXPR Hub2HubData(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
4021
4023 Hub2HubData(Hub2HubData&& from) noexcept
4024 : Hub2HubData() {
4025 *this = ::std::move(from);
4026 }
4027
4028 inline Hub2HubData& operator=(const Hub2HubData& from) {
4029 CopyFrom(from);
4030 return *this;
4031 }
4032 inline Hub2HubData& operator=(Hub2HubData&& from) noexcept {
4033 if (this == &from) return *this;
4034 if (GetOwningArena() == from.GetOwningArena()
4035 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
4036 && GetOwningArena() != nullptr
4037 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
4038 ) {
4039 InternalSwap(&from);
4040 } else {
4041 CopyFrom(from);
4042 }
4043 return *this;
4044 }
4045
4046 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
4047 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
4048 }
4049 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
4050 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
4051 }
4052
4053 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
4054 return GetDescriptor();
4055 }
4056 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
4057 return default_instance().GetMetadata().descriptor;
4058 }
4059 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
4060 return default_instance().GetMetadata().reflection;
4061 }
4063 return *internal_default_instance();
4064 }
4066 kBotStatus = 10,
4067 kTaskPacket = 11,
4068 kCommandForBot = 12,
4069 CONTENTS_NOT_SET = 0,
4070 };
4071
4073 return reinterpret_cast<const Hub2HubData*>(
4075 }
4076 static constexpr int kIndexInFileMessages =
4077 12;
4078
4079 friend void swap(Hub2HubData& a, Hub2HubData& b) {
4080 a.Swap(&b);
4081 }
4082 inline void Swap(Hub2HubData* other) {
4083 if (other == this) return;
4084 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
4085 if (GetOwningArena() != nullptr &&
4086 GetOwningArena() == other->GetOwningArena()) {
4087 #else // PROTOBUF_FORCE_COPY_IN_SWAP
4088 if (GetOwningArena() == other->GetOwningArena()) {
4089 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
4090 InternalSwap(other);
4091 } else {
4092 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
4093 }
4094 }
4096 if (other == this) return;
4097 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
4098 InternalSwap(other);
4099 }
4100
4101 // implements Message ----------------------------------------------
4102
4103 Hub2HubData* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
4104 return CreateMaybeMessage<Hub2HubData>(arena);
4105 }
4106 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
4107 void CopyFrom(const Hub2HubData& from);
4108 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
4109 void MergeFrom( const Hub2HubData& from) {
4110 Hub2HubData::MergeImpl(*this, from);
4111 }
4112 private:
4113 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
4114 public:
4115 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
4116 bool IsInitialized() const final;
4117
4118 size_t ByteSizeLong() const final;
4119 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
4120 uint8_t* _InternalSerialize(
4121 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
4122 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
4123
4124 private:
4125 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
4126 void SharedDtor();
4127 void SetCachedSize(int size) const final;
4128 void InternalSwap(Hub2HubData* other);
4129
4130 private:
4131 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
4132 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
4133 return "jaiabot.protobuf.Hub2HubData";
4134 }
4135 protected:
4136 explicit Hub2HubData(::PROTOBUF_NAMESPACE_ID::Arena* arena,
4137 bool is_message_owned = false);
4138 public:
4139
4140 static const ClassData _class_data_;
4141 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
4142
4143 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
4144
4145 // nested types ----------------------------------------------------
4146
4147 // accessors -------------------------------------------------------
4148
4149 enum : int {
4150 kTimeFieldNumber = 2,
4151 kHubIdFieldNumber = 1,
4152 kBotStatusFieldNumber = 10,
4153 kTaskPacketFieldNumber = 11,
4154 kCommandForBotFieldNumber = 12,
4155 };
4156 // required uint64 time = 2 [(.dccl.field) = {
4157 bool has_time() const;
4158 private:
4159 bool _internal_has_time() const;
4160 public:
4161 void clear_time();
4162 uint64_t time() const;
4163 void set_time(uint64_t value);
4164 private:
4165 uint64_t _internal_time() const;
4166 void _internal_set_time(uint64_t value);
4167 public:
4168
4169 // required uint32 hub_id = 1 [(.dccl.field) = {
4170 bool has_hub_id() const;
4171 private:
4172 bool _internal_has_hub_id() const;
4173 public:
4174 void clear_hub_id();
4175 uint32_t hub_id() const;
4176 void set_hub_id(uint32_t value);
4177 private:
4178 uint32_t _internal_hub_id() const;
4179 void _internal_set_hub_id(uint32_t value);
4180 public:
4181
4182 // .jaiabot.protobuf.BotStatus bot_status = 10;
4183 bool has_bot_status() const;
4184 private:
4185 bool _internal_has_bot_status() const;
4186 public:
4187 void clear_bot_status();
4188 const ::jaiabot::protobuf::BotStatus& bot_status() const;
4189 PROTOBUF_NODISCARD ::jaiabot::protobuf::BotStatus* release_bot_status();
4190 ::jaiabot::protobuf::BotStatus* mutable_bot_status();
4192 private:
4193 const ::jaiabot::protobuf::BotStatus& _internal_bot_status() const;
4194 ::jaiabot::protobuf::BotStatus* _internal_mutable_bot_status();
4195 public:
4196 void unsafe_arena_set_allocated_bot_status(
4197 ::jaiabot::protobuf::BotStatus* bot_status);
4198 ::jaiabot::protobuf::BotStatus* unsafe_arena_release_bot_status();
4199
4200 // .jaiabot.protobuf.TaskPacket task_packet = 11;
4201 bool has_task_packet() const;
4202 private:
4203 bool _internal_has_task_packet() const;
4204 public:
4205 void clear_task_packet();
4206 const ::jaiabot::protobuf::TaskPacket& task_packet() const;
4207 PROTOBUF_NODISCARD ::jaiabot::protobuf::TaskPacket* release_task_packet();
4208 ::jaiabot::protobuf::TaskPacket* mutable_task_packet();
4210 private:
4211 const ::jaiabot::protobuf::TaskPacket& _internal_task_packet() const;
4212 ::jaiabot::protobuf::TaskPacket* _internal_mutable_task_packet();
4213 public:
4214 void unsafe_arena_set_allocated_task_packet(
4215 ::jaiabot::protobuf::TaskPacket* task_packet);
4216 ::jaiabot::protobuf::TaskPacket* unsafe_arena_release_task_packet();
4217
4218 // .jaiabot.protobuf.Command command_for_bot = 12;
4219 bool has_command_for_bot() const;
4220 private:
4221 bool _internal_has_command_for_bot() const;
4222 public:
4223 void clear_command_for_bot();
4224 const ::jaiabot::protobuf::Command& command_for_bot() const;
4225 PROTOBUF_NODISCARD ::jaiabot::protobuf::Command* release_command_for_bot();
4226 ::jaiabot::protobuf::Command* mutable_command_for_bot();
4228 private:
4229 const ::jaiabot::protobuf::Command& _internal_command_for_bot() const;
4230 ::jaiabot::protobuf::Command* _internal_mutable_command_for_bot();
4231 public:
4232 void unsafe_arena_set_allocated_command_for_bot(
4233 ::jaiabot::protobuf::Command* command_for_bot);
4234 ::jaiabot::protobuf::Command* unsafe_arena_release_command_for_bot();
4235
4237 ContentsCase contents_case() const;
4238 enum DCCLParameters { DCCL_ID = 20483, DCCL_MAX_BYTES = 1000 };
4239 typedef boost::units::time_dimension time_dimension;
4240
4241 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;
4242
4243 template<typename Quantity >
4244 void set_time_with_units(Quantity value_w_units)
4245 { set_time(boost::units::quantity<time_unit,google::protobuf::uint64 >(value_w_units).value() ); };
4246
4247 template<typename Quantity >
4248 Quantity time_with_units() const
4249 { return Quantity(time() * time_unit()); };
4250
4251 boost::units::quantity< time_unit,google::protobuf::uint64 > time_with_units() const
4252 { return time_with_units<boost::units::quantity< time_unit,google::protobuf::uint64 > >(); };
4253
4254 // @@protoc_insertion_point(class_scope:jaiabot.protobuf.Hub2HubData)
4255 private:
4256 class _Internal;
4257 void set_has_bot_status();
4258 void set_has_task_packet();
4259 void set_has_command_for_bot();
4260
4261 inline bool has_contents() const;
4262 inline void clear_has_contents();
4263
4264 // helper for ByteSizeLong()
4265 size_t RequiredFieldsByteSizeFallback() const;
4266
4267 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
4268 typedef void InternalArenaConstructable_;
4269 typedef void DestructorSkippable_;
4270 struct Impl_ {
4271 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
4272 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
4273 uint64_t time_;
4274 uint32_t hub_id_;
4282 uint32_t _oneof_case_[1];
4283
4284 };
4285 union { Impl_ _impl_; };
4286 friend struct ::TableStruct_jaiabot_2fmessages_2fjaia_5fdccl_2eproto;
4287};
4288// ===================================================================
4289
4290
4291// ===================================================================
4292
4293#ifdef __GNUC__
4294 #pragma GCC diagnostic push
4295 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
4296#endif // __GNUC__
4297// Command
4298
4299// required uint32 bot_id = 1 [(.dccl.field) = {
4300inline bool Command::_internal_has_bot_id() const {
4301 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
4302 return value;
4303}
4304inline bool Command::has_bot_id() const {
4305 return _internal_has_bot_id();
4306}
4307inline void Command::clear_bot_id() {
4308 _impl_.bot_id_ = 0u;
4309 _impl_._has_bits_[0] &= ~0x00000002u;
4310}
4311inline uint32_t Command::_internal_bot_id() const {
4312 return _impl_.bot_id_;
4313}
4314inline uint32_t Command::bot_id() const {
4315 // @@protoc_insertion_point(field_get:jaiabot.protobuf.Command.bot_id)
4316 return _internal_bot_id();
4317}
4318inline void Command::_internal_set_bot_id(uint32_t value) {
4319 _impl_._has_bits_[0] |= 0x00000002u;
4320 _impl_.bot_id_ = value;
4321}
4322inline void Command::set_bot_id(uint32_t value) {
4323 _internal_set_bot_id(value);
4324 // @@protoc_insertion_point(field_set:jaiabot.protobuf.Command.bot_id)
4325}
4326
4327// required uint64 time = 2 [(.dccl.field) = {
4328inline bool Command::_internal_has_time() const {
4329 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
4330 return value;
4331}
4332inline bool Command::has_time() const {
4333 return _internal_has_time();
4334}
4335inline void Command::clear_time() {
4336 _impl_.time_ = uint64_t{0u};
4337 _impl_._has_bits_[0] &= ~0x00000001u;
4338}
4339inline uint64_t Command::_internal_time() const {
4340 return _impl_.time_;
4341}
4342inline uint64_t Command::time() const {
4343 // @@protoc_insertion_point(field_get:jaiabot.protobuf.Command.time)
4344 return _internal_time();
4345}
4346inline void Command::_internal_set_time(uint64_t value) {
4347 _impl_._has_bits_[0] |= 0x00000001u;
4348 _impl_.time_ = value;
4349}
4350inline void Command::set_time(uint64_t value) {
4351 _internal_set_time(value);
4352 // @@protoc_insertion_point(field_set:jaiabot.protobuf.Command.time)
4353}
4354
4355// optional .jaiabot.protobuf.Link link = 3 [(.dccl.field) = {
4356inline bool Command::_internal_has_link() const {
4357 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
4358 return value;
4359}
4360inline bool Command::has_link() const {
4361 return _internal_has_link();
4362}
4363inline void Command::clear_link() {
4364 _impl_.link_ = -1;
4365 _impl_._has_bits_[0] &= ~0x00000008u;
4366}
4367inline ::jaiabot::protobuf::Link Command::_internal_link() const {
4368 return static_cast< ::jaiabot::protobuf::Link >(_impl_.link_);
4369}
4370inline ::jaiabot::protobuf::Link Command::link() const {
4371 // @@protoc_insertion_point(field_get:jaiabot.protobuf.Command.link)
4372 return _internal_link();
4373}
4374inline void Command::_internal_set_link(::jaiabot::protobuf::Link value) {
4375 assert(::jaiabot::protobuf::Link_IsValid(value));
4376 _impl_._has_bits_[0] |= 0x00000008u;
4377 _impl_.link_ = value;
4378}
4379inline void Command::set_link(::jaiabot::protobuf::Link value) {
4380 _internal_set_link(value);
4381 // @@protoc_insertion_point(field_set:jaiabot.protobuf.Command.link)
4382}
4383
4384// optional uint32 from_hub_id = 4 [(.dccl.field) = {
4385inline bool Command::_internal_has_from_hub_id() const {
4386 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
4387 return value;
4388}
4389inline bool Command::has_from_hub_id() const {
4390 return _internal_has_from_hub_id();
4391}
4392inline void Command::clear_from_hub_id() {
4393 _impl_.from_hub_id_ = 0u;
4394 _impl_._has_bits_[0] &= ~0x00000004u;
4395}
4396inline uint32_t Command::_internal_from_hub_id() const {
4397 return _impl_.from_hub_id_;
4398}
4399inline uint32_t Command::from_hub_id() const {
4400 // @@protoc_insertion_point(field_get:jaiabot.protobuf.Command.from_hub_id)
4401 return _internal_from_hub_id();
4402}
4403inline void Command::_internal_set_from_hub_id(uint32_t value) {
4404 _impl_._has_bits_[0] |= 0x00000004u;
4405 _impl_.from_hub_id_ = value;
4406}
4407inline void Command::set_from_hub_id(uint32_t value) {
4408 _internal_set_from_hub_id(value);
4409 // @@protoc_insertion_point(field_set:jaiabot.protobuf.Command.from_hub_id)
4410}
4411
4412// required .jaiabot.protobuf.Command.CommandType type = 10 [(.jaia.field) = {
4413inline bool Command::_internal_has_type() const {
4414 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
4415 return value;
4416}
4417inline bool Command::has_type() const {
4418 return _internal_has_type();
4419}
4420inline void Command::clear_type() {
4421 _impl_.type_ = 1;
4422 _impl_._has_bits_[0] &= ~0x00000010u;
4423}
4424inline ::jaiabot::protobuf::Command_CommandType Command::_internal_type() const {
4425 return static_cast< ::jaiabot::protobuf::Command_CommandType >(_impl_.type_);
4426}
4427inline ::jaiabot::protobuf::Command_CommandType Command::type() const {
4428 // @@protoc_insertion_point(field_get:jaiabot.protobuf.Command.type)
4429 return _internal_type();
4430}
4431inline void Command::_internal_set_type(::jaiabot::protobuf::Command_CommandType value) {
4433 _impl_._has_bits_[0] |= 0x00000010u;
4434 _impl_.type_ = value;
4435}
4436inline void Command::set_type(::jaiabot::protobuf::Command_CommandType value) {
4437 _internal_set_type(value);
4438 // @@protoc_insertion_point(field_set:jaiabot.protobuf.Command.type)
4439}
4440
4441// .jaiabot.protobuf.MissionPlan plan = 20 [(.jaia.field) = {
4442inline bool Command::_internal_has_plan() const {
4443 return command_data_case() == kPlan;
4444}
4445inline bool Command::has_plan() const {
4446 return _internal_has_plan();
4447}
4448inline void Command::set_has_plan() {
4449 _impl_._oneof_case_[0] = kPlan;
4450}
4451inline ::jaiabot::protobuf::MissionPlan* Command::release_plan() {
4452 // @@protoc_insertion_point(field_release:jaiabot.protobuf.Command.plan)
4453 if (_internal_has_plan()) {
4454 clear_has_command_data();
4455 ::jaiabot::protobuf::MissionPlan* temp = _impl_.command_data_.plan_;
4456 if (GetArenaForAllocation() != nullptr) {
4457 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
4458 }
4459 _impl_.command_data_.plan_ = nullptr;
4460 return temp;
4461 } else {
4462 return nullptr;
4463 }
4464}
4465inline const ::jaiabot::protobuf::MissionPlan& Command::_internal_plan() const {
4466 return _internal_has_plan()
4467 ? *_impl_.command_data_.plan_
4469}
4470inline const ::jaiabot::protobuf::MissionPlan& Command::plan() const {
4471 // @@protoc_insertion_point(field_get:jaiabot.protobuf.Command.plan)
4472 return _internal_plan();
4473}
4474inline ::jaiabot::protobuf::MissionPlan* Command::unsafe_arena_release_plan() {
4475 // @@protoc_insertion_point(field_unsafe_arena_release:jaiabot.protobuf.Command.plan)
4476 if (_internal_has_plan()) {
4477 clear_has_command_data();
4478 ::jaiabot::protobuf::MissionPlan* temp = _impl_.command_data_.plan_;
4479 _impl_.command_data_.plan_ = nullptr;
4480 return temp;
4481 } else {
4482 return nullptr;
4483 }
4484}
4485inline void Command::unsafe_arena_set_allocated_plan(::jaiabot::protobuf::MissionPlan* plan) {
4486 clear_command_data();
4487 if (plan) {
4488 set_has_plan();
4489 _impl_.command_data_.plan_ = plan;
4490 }
4491 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.Command.plan)
4492}
4493inline ::jaiabot::protobuf::MissionPlan* Command::_internal_mutable_plan() {
4494 if (!_internal_has_plan()) {
4495 clear_command_data();
4496 set_has_plan();
4497 _impl_.command_data_.plan_ = CreateMaybeMessage< ::jaiabot::protobuf::MissionPlan >(GetArenaForAllocation());
4498 }
4499 return _impl_.command_data_.plan_;
4500}
4501inline ::jaiabot::protobuf::MissionPlan* Command::mutable_plan() {
4502 ::jaiabot::protobuf::MissionPlan* _msg = _internal_mutable_plan();
4503 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.Command.plan)
4504 return _msg;
4505}
4506
4507// .jaiabot.protobuf.RemoteControl rc = 30 [(.jaia.field) = {
4508inline bool Command::_internal_has_rc() const {
4509 return command_data_case() == kRc;
4510}
4511inline bool Command::has_rc() const {
4512 return _internal_has_rc();
4513}
4514inline void Command::set_has_rc() {
4515 _impl_._oneof_case_[0] = kRc;
4516}
4517inline ::jaiabot::protobuf::RemoteControl* Command::release_rc() {
4518 // @@protoc_insertion_point(field_release:jaiabot.protobuf.Command.rc)
4519 if (_internal_has_rc()) {
4520 clear_has_command_data();
4521 ::jaiabot::protobuf::RemoteControl* temp = _impl_.command_data_.rc_;
4522 if (GetArenaForAllocation() != nullptr) {
4523 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
4524 }
4525 _impl_.command_data_.rc_ = nullptr;
4526 return temp;
4527 } else {
4528 return nullptr;
4529 }
4530}
4531inline const ::jaiabot::protobuf::RemoteControl& Command::_internal_rc() const {
4532 return _internal_has_rc()
4533 ? *_impl_.command_data_.rc_
4535}
4536inline const ::jaiabot::protobuf::RemoteControl& Command::rc() const {
4537 // @@protoc_insertion_point(field_get:jaiabot.protobuf.Command.rc)
4538 return _internal_rc();
4539}
4540inline ::jaiabot::protobuf::RemoteControl* Command::unsafe_arena_release_rc() {
4541 // @@protoc_insertion_point(field_unsafe_arena_release:jaiabot.protobuf.Command.rc)
4542 if (_internal_has_rc()) {
4543 clear_has_command_data();
4544 ::jaiabot::protobuf::RemoteControl* temp = _impl_.command_data_.rc_;
4545 _impl_.command_data_.rc_ = nullptr;
4546 return temp;
4547 } else {
4548 return nullptr;
4549 }
4550}
4551inline void Command::unsafe_arena_set_allocated_rc(::jaiabot::protobuf::RemoteControl* rc) {
4552 clear_command_data();
4553 if (rc) {
4554 set_has_rc();
4555 _impl_.command_data_.rc_ = rc;
4556 }
4557 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.Command.rc)
4558}
4559inline ::jaiabot::protobuf::RemoteControl* Command::_internal_mutable_rc() {
4560 if (!_internal_has_rc()) {
4561 clear_command_data();
4562 set_has_rc();
4563 _impl_.command_data_.rc_ = CreateMaybeMessage< ::jaiabot::protobuf::RemoteControl >(GetArenaForAllocation());
4564 }
4565 return _impl_.command_data_.rc_;
4566}
4567inline ::jaiabot::protobuf::RemoteControl* Command::mutable_rc() {
4568 ::jaiabot::protobuf::RemoteControl* _msg = _internal_mutable_rc();
4569 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.Command.rc)
4570 return _msg;
4571}
4572
4573// .jaiabot.protobuf.MissionTask rc_task = 31;
4574inline bool Command::_internal_has_rc_task() const {
4575 return command_data_case() == kRcTask;
4576}
4577inline bool Command::has_rc_task() const {
4578 return _internal_has_rc_task();
4579}
4580inline void Command::set_has_rc_task() {
4581 _impl_._oneof_case_[0] = kRcTask;
4582}
4583inline ::jaiabot::protobuf::MissionTask* Command::release_rc_task() {
4584 // @@protoc_insertion_point(field_release:jaiabot.protobuf.Command.rc_task)
4585 if (_internal_has_rc_task()) {
4586 clear_has_command_data();
4587 ::jaiabot::protobuf::MissionTask* temp = _impl_.command_data_.rc_task_;
4588 if (GetArenaForAllocation() != nullptr) {
4589 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
4590 }
4591 _impl_.command_data_.rc_task_ = nullptr;
4592 return temp;
4593 } else {
4594 return nullptr;
4595 }
4596}
4597inline const ::jaiabot::protobuf::MissionTask& Command::_internal_rc_task() const {
4598 return _internal_has_rc_task()
4599 ? *_impl_.command_data_.rc_task_
4601}
4602inline const ::jaiabot::protobuf::MissionTask& Command::rc_task() const {
4603 // @@protoc_insertion_point(field_get:jaiabot.protobuf.Command.rc_task)
4604 return _internal_rc_task();
4605}
4606inline ::jaiabot::protobuf::MissionTask* Command::unsafe_arena_release_rc_task() {
4607 // @@protoc_insertion_point(field_unsafe_arena_release:jaiabot.protobuf.Command.rc_task)
4608 if (_internal_has_rc_task()) {
4609 clear_has_command_data();
4610 ::jaiabot::protobuf::MissionTask* temp = _impl_.command_data_.rc_task_;
4611 _impl_.command_data_.rc_task_ = nullptr;
4612 return temp;
4613 } else {
4614 return nullptr;
4615 }
4616}
4617inline void Command::unsafe_arena_set_allocated_rc_task(::jaiabot::protobuf::MissionTask* rc_task) {
4618 clear_command_data();
4619 if (rc_task) {
4620 set_has_rc_task();
4621 _impl_.command_data_.rc_task_ = rc_task;
4622 }
4623 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.Command.rc_task)
4624}
4625inline ::jaiabot::protobuf::MissionTask* Command::_internal_mutable_rc_task() {
4626 if (!_internal_has_rc_task()) {
4627 clear_command_data();
4628 set_has_rc_task();
4629 _impl_.command_data_.rc_task_ = CreateMaybeMessage< ::jaiabot::protobuf::MissionTask >(GetArenaForAllocation());
4630 }
4631 return _impl_.command_data_.rc_task_;
4632}
4633inline ::jaiabot::protobuf::MissionTask* Command::mutable_rc_task() {
4634 ::jaiabot::protobuf::MissionTask* _msg = _internal_mutable_rc_task();
4635 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.Command.rc_task)
4636 return _msg;
4637}
4638
4639inline bool Command::has_command_data() const {
4640 return command_data_case() != COMMAND_DATA_NOT_SET;
4641}
4642inline void Command::clear_has_command_data() {
4643 _impl_._oneof_case_[0] = COMMAND_DATA_NOT_SET;
4644}
4645inline Command::CommandDataCase Command::command_data_case() const {
4646 return Command::CommandDataCase(_impl_._oneof_case_[0]);
4647}
4648// -------------------------------------------------------------------
4649
4650// CommandForHub
4651
4652// required uint32 hub_id = 1 [(.jaia.field) = {
4653inline bool CommandForHub::_internal_has_hub_id() const {
4654 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
4655 return value;
4656}
4657inline bool CommandForHub::has_hub_id() const {
4658 return _internal_has_hub_id();
4659}
4660inline void CommandForHub::clear_hub_id() {
4661 _impl_.hub_id_ = 0u;
4662 _impl_._has_bits_[0] &= ~0x00000004u;
4663}
4664inline uint32_t CommandForHub::_internal_hub_id() const {
4665 return _impl_.hub_id_;
4666}
4667inline uint32_t CommandForHub::hub_id() const {
4668 // @@protoc_insertion_point(field_get:jaiabot.protobuf.CommandForHub.hub_id)
4669 return _internal_hub_id();
4670}
4671inline void CommandForHub::_internal_set_hub_id(uint32_t value) {
4672 _impl_._has_bits_[0] |= 0x00000004u;
4673 _impl_.hub_id_ = value;
4674}
4675inline void CommandForHub::set_hub_id(uint32_t value) {
4676 _internal_set_hub_id(value);
4677 // @@protoc_insertion_point(field_set:jaiabot.protobuf.CommandForHub.hub_id)
4678}
4679
4680// required uint64 time = 2 [(.dccl.field) = {
4681inline bool CommandForHub::_internal_has_time() const {
4682 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
4683 return value;
4684}
4685inline bool CommandForHub::has_time() const {
4686 return _internal_has_time();
4687}
4688inline void CommandForHub::clear_time() {
4689 _impl_.time_ = uint64_t{0u};
4690 _impl_._has_bits_[0] &= ~0x00000002u;
4691}
4692inline uint64_t CommandForHub::_internal_time() const {
4693 return _impl_.time_;
4694}
4695inline uint64_t CommandForHub::time() const {
4696 // @@protoc_insertion_point(field_get:jaiabot.protobuf.CommandForHub.time)
4697 return _internal_time();
4698}
4699inline void CommandForHub::_internal_set_time(uint64_t value) {
4700 _impl_._has_bits_[0] |= 0x00000002u;
4701 _impl_.time_ = value;
4702}
4703inline void CommandForHub::set_time(uint64_t value) {
4704 _internal_set_time(value);
4705 // @@protoc_insertion_point(field_set:jaiabot.protobuf.CommandForHub.time)
4706}
4707
4708// required .jaiabot.protobuf.CommandForHub.HubCommandType type = 10 [(.jaia.field) = {
4709inline bool CommandForHub::_internal_has_type() const {
4710 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
4711 return value;
4712}
4713inline bool CommandForHub::has_type() const {
4714 return _internal_has_type();
4715}
4716inline void CommandForHub::clear_type() {
4717 _impl_.type_ = 5;
4718 _impl_._has_bits_[0] &= ~0x00000010u;
4719}
4720inline ::jaiabot::protobuf::CommandForHub_HubCommandType CommandForHub::_internal_type() const {
4721 return static_cast< ::jaiabot::protobuf::CommandForHub_HubCommandType >(_impl_.type_);
4722}
4723inline ::jaiabot::protobuf::CommandForHub_HubCommandType CommandForHub::type() const {
4724 // @@protoc_insertion_point(field_get:jaiabot.protobuf.CommandForHub.type)
4725 return _internal_type();
4726}
4727inline void CommandForHub::_internal_set_type(::jaiabot::protobuf::CommandForHub_HubCommandType value) {
4729 _impl_._has_bits_[0] |= 0x00000010u;
4730 _impl_.type_ = value;
4731}
4732inline void CommandForHub::set_type(::jaiabot::protobuf::CommandForHub_HubCommandType value) {
4733 _internal_set_type(value);
4734 // @@protoc_insertion_point(field_set:jaiabot.protobuf.CommandForHub.type)
4735}
4736
4737// optional uint32 scan_for_bot_id = 11;
4738inline bool CommandForHub::_internal_has_scan_for_bot_id() const {
4739 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
4740 return value;
4741}
4742inline bool CommandForHub::has_scan_for_bot_id() const {
4743 return _internal_has_scan_for_bot_id();
4744}
4745inline void CommandForHub::clear_scan_for_bot_id() {
4746 _impl_.scan_for_bot_id_ = 0u;
4747 _impl_._has_bits_[0] &= ~0x00000008u;
4748}
4749inline uint32_t CommandForHub::_internal_scan_for_bot_id() const {
4750 return _impl_.scan_for_bot_id_;
4751}
4752inline uint32_t CommandForHub::scan_for_bot_id() const {
4753 // @@protoc_insertion_point(field_get:jaiabot.protobuf.CommandForHub.scan_for_bot_id)
4754 return _internal_scan_for_bot_id();
4755}
4756inline void CommandForHub::_internal_set_scan_for_bot_id(uint32_t value) {
4757 _impl_._has_bits_[0] |= 0x00000008u;
4758 _impl_.scan_for_bot_id_ = value;
4759}
4760inline void CommandForHub::set_scan_for_bot_id(uint32_t value) {
4761 _internal_set_scan_for_bot_id(value);
4762 // @@protoc_insertion_point(field_set:jaiabot.protobuf.CommandForHub.scan_for_bot_id)
4763}
4764
4765// optional .jaiabot.protobuf.GeographicCoordinate hub_location = 80 [(.jaia.field) = {
4766inline bool CommandForHub::_internal_has_hub_location() const {
4767 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
4768 PROTOBUF_ASSUME(!value || _impl_.hub_location_ != nullptr);
4769 return value;
4770}
4771inline bool CommandForHub::has_hub_location() const {
4772 return _internal_has_hub_location();
4773}
4774inline const ::jaiabot::protobuf::GeographicCoordinate& CommandForHub::_internal_hub_location() const {
4775 const ::jaiabot::protobuf::GeographicCoordinate* p = _impl_.hub_location_;
4776 return p != nullptr ? *p : reinterpret_cast<const ::jaiabot::protobuf::GeographicCoordinate&>(
4778}
4779inline const ::jaiabot::protobuf::GeographicCoordinate& CommandForHub::hub_location() const {
4780 // @@protoc_insertion_point(field_get:jaiabot.protobuf.CommandForHub.hub_location)
4781 return _internal_hub_location();
4782}
4783inline void CommandForHub::unsafe_arena_set_allocated_hub_location(
4785 if (GetArenaForAllocation() == nullptr) {
4786 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.hub_location_);
4787 }
4788 _impl_.hub_location_ = hub_location;
4789 if (hub_location) {
4790 _impl_._has_bits_[0] |= 0x00000001u;
4791 } else {
4792 _impl_._has_bits_[0] &= ~0x00000001u;
4793 }
4794 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.CommandForHub.hub_location)
4795}
4796inline ::jaiabot::protobuf::GeographicCoordinate* CommandForHub::release_hub_location() {
4797 _impl_._has_bits_[0] &= ~0x00000001u;
4798 ::jaiabot::protobuf::GeographicCoordinate* temp = _impl_.hub_location_;
4799 _impl_.hub_location_ = nullptr;
4800#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
4801 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
4802 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
4803 if (GetArenaForAllocation() == nullptr) { delete old; }
4804#else // PROTOBUF_FORCE_COPY_IN_RELEASE
4805 if (GetArenaForAllocation() != nullptr) {
4806 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
4807 }
4808#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
4809 return temp;
4810}
4811inline ::jaiabot::protobuf::GeographicCoordinate* CommandForHub::unsafe_arena_release_hub_location() {
4812 // @@protoc_insertion_point(field_release:jaiabot.protobuf.CommandForHub.hub_location)
4813 _impl_._has_bits_[0] &= ~0x00000001u;
4814 ::jaiabot::protobuf::GeographicCoordinate* temp = _impl_.hub_location_;
4815 _impl_.hub_location_ = nullptr;
4816 return temp;
4817}
4818inline ::jaiabot::protobuf::GeographicCoordinate* CommandForHub::_internal_mutable_hub_location() {
4819 _impl_._has_bits_[0] |= 0x00000001u;
4820 if (_impl_.hub_location_ == nullptr) {
4821 auto* p = CreateMaybeMessage<::jaiabot::protobuf::GeographicCoordinate>(GetArenaForAllocation());
4822 _impl_.hub_location_ = p;
4823 }
4824 return _impl_.hub_location_;
4825}
4826inline ::jaiabot::protobuf::GeographicCoordinate* CommandForHub::mutable_hub_location() {
4827 ::jaiabot::protobuf::GeographicCoordinate* _msg = _internal_mutable_hub_location();
4828 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.CommandForHub.hub_location)
4829 return _msg;
4830}
4831inline void CommandForHub::set_allocated_hub_location(::jaiabot::protobuf::GeographicCoordinate* hub_location) {
4832 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
4833 if (message_arena == nullptr) {
4834 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.hub_location_);
4835 }
4836 if (hub_location) {
4837 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
4838 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
4839 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(hub_location));
4840 if (message_arena != submessage_arena) {
4841 hub_location = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
4842 message_arena, hub_location, submessage_arena);
4843 }
4844 _impl_._has_bits_[0] |= 0x00000001u;
4845 } else {
4846 _impl_._has_bits_[0] &= ~0x00000001u;
4847 }
4848 _impl_.hub_location_ = hub_location;
4849 // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.CommandForHub.hub_location)
4850}
4851
4852// -------------------------------------------------------------------
4853
4854// BotStatus_Attitude
4855
4856// optional double roll = 1 [(.dccl.field) = {
4857inline bool BotStatus_Attitude::_internal_has_roll() const {
4858 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
4859 return value;
4860}
4861inline bool BotStatus_Attitude::has_roll() const {
4862 return _internal_has_roll();
4863}
4864inline void BotStatus_Attitude::clear_roll() {
4865 _impl_.roll_ = 0;
4866 _impl_._has_bits_[0] &= ~0x00000001u;
4867}
4868inline double BotStatus_Attitude::_internal_roll() const {
4869 return _impl_.roll_;
4870}
4871inline double BotStatus_Attitude::roll() const {
4872 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.Attitude.roll)
4873 return _internal_roll();
4874}
4875inline void BotStatus_Attitude::_internal_set_roll(double value) {
4876 _impl_._has_bits_[0] |= 0x00000001u;
4877 _impl_.roll_ = value;
4878}
4879inline void BotStatus_Attitude::set_roll(double value) {
4880 _internal_set_roll(value);
4881 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.Attitude.roll)
4882}
4883
4884// optional double pitch = 2 [(.dccl.field) = {
4885inline bool BotStatus_Attitude::_internal_has_pitch() const {
4886 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
4887 return value;
4888}
4889inline bool BotStatus_Attitude::has_pitch() const {
4890 return _internal_has_pitch();
4891}
4892inline void BotStatus_Attitude::clear_pitch() {
4893 _impl_.pitch_ = 0;
4894 _impl_._has_bits_[0] &= ~0x00000002u;
4895}
4896inline double BotStatus_Attitude::_internal_pitch() const {
4897 return _impl_.pitch_;
4898}
4899inline double BotStatus_Attitude::pitch() const {
4900 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.Attitude.pitch)
4901 return _internal_pitch();
4902}
4903inline void BotStatus_Attitude::_internal_set_pitch(double value) {
4904 _impl_._has_bits_[0] |= 0x00000002u;
4905 _impl_.pitch_ = value;
4906}
4907inline void BotStatus_Attitude::set_pitch(double value) {
4908 _internal_set_pitch(value);
4909 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.Attitude.pitch)
4910}
4911
4912// optional double heading = 3 [(.dccl.field) = {
4913inline bool BotStatus_Attitude::_internal_has_heading() const {
4914 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
4915 return value;
4916}
4917inline bool BotStatus_Attitude::has_heading() const {
4918 return _internal_has_heading();
4919}
4920inline void BotStatus_Attitude::clear_heading() {
4921 _impl_.heading_ = 0;
4922 _impl_._has_bits_[0] &= ~0x00000004u;
4923}
4924inline double BotStatus_Attitude::_internal_heading() const {
4925 return _impl_.heading_;
4926}
4927inline double BotStatus_Attitude::heading() const {
4928 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.Attitude.heading)
4929 return _internal_heading();
4930}
4931inline void BotStatus_Attitude::_internal_set_heading(double value) {
4932 _impl_._has_bits_[0] |= 0x00000004u;
4933 _impl_.heading_ = value;
4934}
4935inline void BotStatus_Attitude::set_heading(double value) {
4936 _internal_set_heading(value);
4937 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.Attitude.heading)
4938}
4939
4940// optional double course_over_ground = 4 [(.dccl.field) = {
4941inline bool BotStatus_Attitude::_internal_has_course_over_ground() const {
4942 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
4943 return value;
4944}
4945inline bool BotStatus_Attitude::has_course_over_ground() const {
4946 return _internal_has_course_over_ground();
4947}
4948inline void BotStatus_Attitude::clear_course_over_ground() {
4949 _impl_.course_over_ground_ = 0;
4950 _impl_._has_bits_[0] &= ~0x00000008u;
4951}
4952inline double BotStatus_Attitude::_internal_course_over_ground() const {
4953 return _impl_.course_over_ground_;
4954}
4955inline double BotStatus_Attitude::course_over_ground() const {
4956 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.Attitude.course_over_ground)
4957 return _internal_course_over_ground();
4958}
4959inline void BotStatus_Attitude::_internal_set_course_over_ground(double value) {
4960 _impl_._has_bits_[0] |= 0x00000008u;
4961 _impl_.course_over_ground_ = value;
4962}
4963inline void BotStatus_Attitude::set_course_over_ground(double value) {
4964 _internal_set_course_over_ground(value);
4965 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.Attitude.course_over_ground)
4966}
4967
4968// -------------------------------------------------------------------
4969
4970// BotStatus_Speed
4971
4972// optional double over_ground = 1 [(.dccl.field) = {
4973inline bool BotStatus_Speed::_internal_has_over_ground() const {
4974 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
4975 return value;
4976}
4977inline bool BotStatus_Speed::has_over_ground() const {
4978 return _internal_has_over_ground();
4979}
4980inline void BotStatus_Speed::clear_over_ground() {
4981 _impl_.over_ground_ = 0;
4982 _impl_._has_bits_[0] &= ~0x00000001u;
4983}
4984inline double BotStatus_Speed::_internal_over_ground() const {
4985 return _impl_.over_ground_;
4986}
4987inline double BotStatus_Speed::over_ground() const {
4988 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.Speed.over_ground)
4989 return _internal_over_ground();
4990}
4991inline void BotStatus_Speed::_internal_set_over_ground(double value) {
4992 _impl_._has_bits_[0] |= 0x00000001u;
4993 _impl_.over_ground_ = value;
4994}
4995inline void BotStatus_Speed::set_over_ground(double value) {
4996 _internal_set_over_ground(value);
4997 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.Speed.over_ground)
4998}
4999
5000// optional double over_water = 2 [(.dccl.field) = {
5001inline bool BotStatus_Speed::_internal_has_over_water() const {
5002 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
5003 return value;
5004}
5005inline bool BotStatus_Speed::has_over_water() const {
5006 return _internal_has_over_water();
5007}
5008inline void BotStatus_Speed::clear_over_water() {
5009 _impl_.over_water_ = 0;
5010 _impl_._has_bits_[0] &= ~0x00000002u;
5011}
5012inline double BotStatus_Speed::_internal_over_water() const {
5013 return _impl_.over_water_;
5014}
5015inline double BotStatus_Speed::over_water() const {
5016 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.Speed.over_water)
5017 return _internal_over_water();
5018}
5019inline void BotStatus_Speed::_internal_set_over_water(double value) {
5020 _impl_._has_bits_[0] |= 0x00000002u;
5021 _impl_.over_water_ = value;
5022}
5023inline void BotStatus_Speed::set_over_water(double value) {
5024 _internal_set_over_water(value);
5025 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.Speed.over_water)
5026}
5027
5028// -------------------------------------------------------------------
5029
5030// BotStatus
5031
5032// required uint32 bot_id = 1 [(.dccl.field) = {
5033inline bool BotStatus::_internal_has_bot_id() const {
5034 bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0;
5035 return value;
5036}
5037inline bool BotStatus::has_bot_id() const {
5038 return _internal_has_bot_id();
5039}
5040inline void BotStatus::clear_bot_id() {
5041 _impl_.bot_id_ = 0u;
5042 _impl_._has_bits_[0] &= ~0x00000080u;
5043}
5044inline uint32_t BotStatus::_internal_bot_id() const {
5045 return _impl_.bot_id_;
5046}
5047inline uint32_t BotStatus::bot_id() const {
5048 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.bot_id)
5049 return _internal_bot_id();
5050}
5051inline void BotStatus::_internal_set_bot_id(uint32_t value) {
5052 _impl_._has_bits_[0] |= 0x00000080u;
5053 _impl_.bot_id_ = value;
5054}
5055inline void BotStatus::set_bot_id(uint32_t value) {
5056 _internal_set_bot_id(value);
5057 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.bot_id)
5058}
5059
5060// required uint64 time = 2 [(.dccl.field) = {
5061inline bool BotStatus::_internal_has_time() const {
5062 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
5063 return value;
5064}
5065inline bool BotStatus::has_time() const {
5066 return _internal_has_time();
5067}
5068inline void BotStatus::clear_time() {
5069 _impl_.time_ = uint64_t{0u};
5070 _impl_._has_bits_[0] &= ~0x00000008u;
5071}
5072inline uint64_t BotStatus::_internal_time() const {
5073 return _impl_.time_;
5074}
5075inline uint64_t BotStatus::time() const {
5076 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.time)
5077 return _internal_time();
5078}
5079inline void BotStatus::_internal_set_time(uint64_t value) {
5080 _impl_._has_bits_[0] |= 0x00000008u;
5081 _impl_.time_ = value;
5082}
5083inline void BotStatus::set_time(uint64_t value) {
5084 _internal_set_time(value);
5085 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.time)
5086}
5087
5088// optional uint64 last_command_time = 3 [(.dccl.field) = {
5089inline bool BotStatus::_internal_has_last_command_time() const {
5090 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
5091 return value;
5092}
5093inline bool BotStatus::has_last_command_time() const {
5094 return _internal_has_last_command_time();
5095}
5096inline void BotStatus::clear_last_command_time() {
5097 _impl_.last_command_time_ = uint64_t{0u};
5098 _impl_._has_bits_[0] &= ~0x00000010u;
5099}
5100inline uint64_t BotStatus::_internal_last_command_time() const {
5101 return _impl_.last_command_time_;
5102}
5103inline uint64_t BotStatus::last_command_time() const {
5104 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.last_command_time)
5105 return _internal_last_command_time();
5106}
5107inline void BotStatus::_internal_set_last_command_time(uint64_t value) {
5108 _impl_._has_bits_[0] |= 0x00000010u;
5109 _impl_.last_command_time_ = value;
5110}
5111inline void BotStatus::set_last_command_time(uint64_t value) {
5112 _internal_set_last_command_time(value);
5113 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.last_command_time)
5114}
5115
5116// optional .goby.middleware.protobuf.HealthState health_state = 4 [(.jaia.field) = {
5117inline bool BotStatus::_internal_has_health_state() const {
5118 bool value = (_impl_._has_bits_[0] & 0x00200000u) != 0;
5119 return value;
5120}
5121inline bool BotStatus::has_health_state() const {
5122 return _internal_has_health_state();
5123}
5124inline void BotStatus::clear_health_state() {
5125 _impl_.health_state_ = 1;
5126 _impl_._has_bits_[0] &= ~0x00200000u;
5127}
5128inline ::goby::middleware::protobuf::HealthState BotStatus::_internal_health_state() const {
5129 return static_cast< ::goby::middleware::protobuf::HealthState >(_impl_.health_state_);
5130}
5131inline ::goby::middleware::protobuf::HealthState BotStatus::health_state() const {
5132 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.health_state)
5133 return _internal_health_state();
5134}
5135inline void BotStatus::_internal_set_health_state(::goby::middleware::protobuf::HealthState value) {
5136 assert(::goby::middleware::protobuf::HealthState_IsValid(value));
5137 _impl_._has_bits_[0] |= 0x00200000u;
5138 _impl_.health_state_ = value;
5139}
5140inline void BotStatus::set_health_state(::goby::middleware::protobuf::HealthState value) {
5141 _internal_set_health_state(value);
5142 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.health_state)
5143}
5144
5145// repeated .jaiabot.protobuf.Error error = 5 [(.dccl.field) = {
5146inline int BotStatus::_internal_error_size() const {
5147 return _impl_.error_.size();
5148}
5149inline int BotStatus::error_size() const {
5150 return _internal_error_size();
5151}
5152inline void BotStatus::clear_error() {
5153 _impl_.error_.Clear();
5154}
5155inline ::jaiabot::protobuf::Error BotStatus::_internal_error(int index) const {
5156 return static_cast< ::jaiabot::protobuf::Error >(_impl_.error_.Get(index));
5157}
5158inline ::jaiabot::protobuf::Error BotStatus::error(int index) const {
5159 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.error)
5160 return _internal_error(index);
5161}
5162inline void BotStatus::set_error(int index, ::jaiabot::protobuf::Error value) {
5164 _impl_.error_.Set(index, value);
5165 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.error)
5166}
5167inline void BotStatus::_internal_add_error(::jaiabot::protobuf::Error value) {
5169 _impl_.error_.Add(value);
5170}
5171inline void BotStatus::add_error(::jaiabot::protobuf::Error value) {
5172 _internal_add_error(value);
5173 // @@protoc_insertion_point(field_add:jaiabot.protobuf.BotStatus.error)
5174}
5175inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>&
5176BotStatus::error() const {
5177 // @@protoc_insertion_point(field_list:jaiabot.protobuf.BotStatus.error)
5178 return _impl_.error_;
5179}
5180inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>*
5181BotStatus::_internal_mutable_error() {
5182 return &_impl_.error_;
5183}
5184inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>*
5185BotStatus::mutable_error() {
5186 // @@protoc_insertion_point(field_mutable_list:jaiabot.protobuf.BotStatus.error)
5187 return _internal_mutable_error();
5188}
5189
5190// repeated .jaiabot.protobuf.Warning warning = 6 [(.dccl.field) = {
5191inline int BotStatus::_internal_warning_size() const {
5192 return _impl_.warning_.size();
5193}
5194inline int BotStatus::warning_size() const {
5195 return _internal_warning_size();
5196}
5197inline void BotStatus::clear_warning() {
5198 _impl_.warning_.Clear();
5199}
5200inline ::jaiabot::protobuf::Warning BotStatus::_internal_warning(int index) const {
5201 return static_cast< ::jaiabot::protobuf::Warning >(_impl_.warning_.Get(index));
5202}
5203inline ::jaiabot::protobuf::Warning BotStatus::warning(int index) const {
5204 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.warning)
5205 return _internal_warning(index);
5206}
5207inline void BotStatus::set_warning(int index, ::jaiabot::protobuf::Warning value) {
5209 _impl_.warning_.Set(index, value);
5210 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.warning)
5211}
5212inline void BotStatus::_internal_add_warning(::jaiabot::protobuf::Warning value) {
5214 _impl_.warning_.Add(value);
5215}
5216inline void BotStatus::add_warning(::jaiabot::protobuf::Warning value) {
5217 _internal_add_warning(value);
5218 // @@protoc_insertion_point(field_add:jaiabot.protobuf.BotStatus.warning)
5219}
5220inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>&
5221BotStatus::warning() const {
5222 // @@protoc_insertion_point(field_list:jaiabot.protobuf.BotStatus.warning)
5223 return _impl_.warning_;
5224}
5225inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>*
5226BotStatus::_internal_mutable_warning() {
5227 return &_impl_.warning_;
5228}
5229inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>*
5230BotStatus::mutable_warning() {
5231 // @@protoc_insertion_point(field_mutable_list:jaiabot.protobuf.BotStatus.warning)
5232 return _internal_mutable_warning();
5233}
5234
5235// optional .jaiabot.protobuf.BotStatus.BotType bot_type = 7 [(.jaia.field) = {
5236inline bool BotStatus::_internal_has_bot_type() const {
5237 bool value = (_impl_._has_bits_[0] & 0x00400000u) != 0;
5238 return value;
5239}
5240inline bool BotStatus::has_bot_type() const {
5241 return _internal_has_bot_type();
5242}
5243inline void BotStatus::clear_bot_type() {
5244 _impl_.bot_type_ = 1;
5245 _impl_._has_bits_[0] &= ~0x00400000u;
5246}
5247inline ::jaiabot::protobuf::BotStatus_BotType BotStatus::_internal_bot_type() const {
5248 return static_cast< ::jaiabot::protobuf::BotStatus_BotType >(_impl_.bot_type_);
5249}
5250inline ::jaiabot::protobuf::BotStatus_BotType BotStatus::bot_type() const {
5251 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.bot_type)
5252 return _internal_bot_type();
5253}
5254inline void BotStatus::_internal_set_bot_type(::jaiabot::protobuf::BotStatus_BotType value) {
5256 _impl_._has_bits_[0] |= 0x00400000u;
5257 _impl_.bot_type_ = value;
5258}
5259inline void BotStatus::set_bot_type(::jaiabot::protobuf::BotStatus_BotType value) {
5260 _internal_set_bot_type(value);
5261 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.bot_type)
5262}
5263
5264// optional .jaiabot.protobuf.Link link = 8 [(.dccl.field) = {
5265inline bool BotStatus::_internal_has_link() const {
5266 bool value = (_impl_._has_bits_[0] & 0x00800000u) != 0;
5267 return value;
5268}
5269inline bool BotStatus::has_link() const {
5270 return _internal_has_link();
5271}
5272inline void BotStatus::clear_link() {
5273 _impl_.link_ = -1;
5274 _impl_._has_bits_[0] &= ~0x00800000u;
5275}
5276inline ::jaiabot::protobuf::Link BotStatus::_internal_link() const {
5277 return static_cast< ::jaiabot::protobuf::Link >(_impl_.link_);
5278}
5279inline ::jaiabot::protobuf::Link BotStatus::link() const {
5280 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.link)
5281 return _internal_link();
5282}
5283inline void BotStatus::_internal_set_link(::jaiabot::protobuf::Link value) {
5284 assert(::jaiabot::protobuf::Link_IsValid(value));
5285 _impl_._has_bits_[0] |= 0x00800000u;
5286 _impl_.link_ = value;
5287}
5288inline void BotStatus::set_link(::jaiabot::protobuf::Link value) {
5289 _internal_set_link(value);
5290 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.link)
5291}
5292
5293// optional .jaiabot.protobuf.GeographicCoordinate location = 10 [(.jaia.field) = {
5294inline bool BotStatus::_internal_has_location() const {
5295 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
5296 PROTOBUF_ASSUME(!value || _impl_.location_ != nullptr);
5297 return value;
5298}
5299inline bool BotStatus::has_location() const {
5300 return _internal_has_location();
5301}
5302inline const ::jaiabot::protobuf::GeographicCoordinate& BotStatus::_internal_location() const {
5303 const ::jaiabot::protobuf::GeographicCoordinate* p = _impl_.location_;
5304 return p != nullptr ? *p : reinterpret_cast<const ::jaiabot::protobuf::GeographicCoordinate&>(
5306}
5307inline const ::jaiabot::protobuf::GeographicCoordinate& BotStatus::location() const {
5308 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.location)
5309 return _internal_location();
5310}
5311inline void BotStatus::unsafe_arena_set_allocated_location(
5313 if (GetArenaForAllocation() == nullptr) {
5314 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.location_);
5315 }
5316 _impl_.location_ = location;
5317 if (location) {
5318 _impl_._has_bits_[0] |= 0x00000001u;
5319 } else {
5320 _impl_._has_bits_[0] &= ~0x00000001u;
5321 }
5322 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.BotStatus.location)
5323}
5324inline ::jaiabot::protobuf::GeographicCoordinate* BotStatus::release_location() {
5325 _impl_._has_bits_[0] &= ~0x00000001u;
5326 ::jaiabot::protobuf::GeographicCoordinate* temp = _impl_.location_;
5327 _impl_.location_ = nullptr;
5328#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
5329 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
5330 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
5331 if (GetArenaForAllocation() == nullptr) { delete old; }
5332#else // PROTOBUF_FORCE_COPY_IN_RELEASE
5333 if (GetArenaForAllocation() != nullptr) {
5334 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
5335 }
5336#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
5337 return temp;
5338}
5339inline ::jaiabot::protobuf::GeographicCoordinate* BotStatus::unsafe_arena_release_location() {
5340 // @@protoc_insertion_point(field_release:jaiabot.protobuf.BotStatus.location)
5341 _impl_._has_bits_[0] &= ~0x00000001u;
5342 ::jaiabot::protobuf::GeographicCoordinate* temp = _impl_.location_;
5343 _impl_.location_ = nullptr;
5344 return temp;
5345}
5346inline ::jaiabot::protobuf::GeographicCoordinate* BotStatus::_internal_mutable_location() {
5347 _impl_._has_bits_[0] |= 0x00000001u;
5348 if (_impl_.location_ == nullptr) {
5349 auto* p = CreateMaybeMessage<::jaiabot::protobuf::GeographicCoordinate>(GetArenaForAllocation());
5350 _impl_.location_ = p;
5351 }
5352 return _impl_.location_;
5353}
5354inline ::jaiabot::protobuf::GeographicCoordinate* BotStatus::mutable_location() {
5355 ::jaiabot::protobuf::GeographicCoordinate* _msg = _internal_mutable_location();
5356 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.BotStatus.location)
5357 return _msg;
5358}
5359inline void BotStatus::set_allocated_location(::jaiabot::protobuf::GeographicCoordinate* location) {
5360 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
5361 if (message_arena == nullptr) {
5362 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.location_);
5363 }
5364 if (location) {
5365 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
5366 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
5367 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(location));
5368 if (message_arena != submessage_arena) {
5369 location = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
5370 message_arena, location, submessage_arena);
5371 }
5372 _impl_._has_bits_[0] |= 0x00000001u;
5373 } else {
5374 _impl_._has_bits_[0] &= ~0x00000001u;
5375 }
5376 _impl_.location_ = location;
5377 // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.BotStatus.location)
5378}
5379
5380// optional double sensor_depth = 11 [(.dccl.field) = {
5381inline bool BotStatus::_internal_has_sensor_depth() const {
5382 bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
5383 return value;
5384}
5385inline bool BotStatus::has_sensor_depth() const {
5386 return _internal_has_sensor_depth();
5387}
5388inline void BotStatus::clear_sensor_depth() {
5389 _impl_.sensor_depth_ = 0;
5390 _impl_._has_bits_[0] &= ~0x00000020u;
5391}
5392inline double BotStatus::_internal_sensor_depth() const {
5393 return _impl_.sensor_depth_;
5394}
5395inline double BotStatus::sensor_depth() const {
5396 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.sensor_depth)
5397 return _internal_sensor_depth();
5398}
5399inline void BotStatus::_internal_set_sensor_depth(double value) {
5400 _impl_._has_bits_[0] |= 0x00000020u;
5401 _impl_.sensor_depth_ = value;
5402}
5403inline void BotStatus::set_sensor_depth(double value) {
5404 _internal_set_sensor_depth(value);
5405 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.sensor_depth)
5406}
5407
5408// optional double depth = 12 [(.dccl.field) = {
5409inline bool BotStatus::_internal_has_depth() const {
5410 bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0;
5411 return value;
5412}
5413inline bool BotStatus::has_depth() const {
5414 return _internal_has_depth();
5415}
5416inline void BotStatus::clear_depth() {
5417 _impl_.depth_ = 0;
5418 _impl_._has_bits_[0] &= ~0x00000040u;
5419}
5420inline double BotStatus::_internal_depth() const {
5421 return _impl_.depth_;
5422}
5423inline double BotStatus::depth() const {
5424 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.depth)
5425 return _internal_depth();
5426}
5427inline void BotStatus::_internal_set_depth(double value) {
5428 _impl_._has_bits_[0] |= 0x00000040u;
5429 _impl_.depth_ = value;
5430}
5431inline void BotStatus::set_depth(double value) {
5432 _internal_set_depth(value);
5433 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.depth)
5434}
5435
5436// optional .jaiabot.protobuf.BotStatus.Attitude attitude = 20 [(.jaia.field) = {
5437inline bool BotStatus::_internal_has_attitude() const {
5438 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
5439 PROTOBUF_ASSUME(!value || _impl_.attitude_ != nullptr);
5440 return value;
5441}
5442inline bool BotStatus::has_attitude() const {
5443 return _internal_has_attitude();
5444}
5445inline void BotStatus::clear_attitude() {
5446 if (_impl_.attitude_ != nullptr) _impl_.attitude_->Clear();
5447 _impl_._has_bits_[0] &= ~0x00000002u;
5448}
5449inline const ::jaiabot::protobuf::BotStatus_Attitude& BotStatus::_internal_attitude() const {
5450 const ::jaiabot::protobuf::BotStatus_Attitude* p = _impl_.attitude_;
5451 return p != nullptr ? *p : reinterpret_cast<const ::jaiabot::protobuf::BotStatus_Attitude&>(
5453}
5454inline const ::jaiabot::protobuf::BotStatus_Attitude& BotStatus::attitude() const {
5455 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.attitude)
5456 return _internal_attitude();
5457}
5458inline void BotStatus::unsafe_arena_set_allocated_attitude(
5460 if (GetArenaForAllocation() == nullptr) {
5461 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.attitude_);
5462 }
5463 _impl_.attitude_ = attitude;
5464 if (attitude) {
5465 _impl_._has_bits_[0] |= 0x00000002u;
5466 } else {
5467 _impl_._has_bits_[0] &= ~0x00000002u;
5468 }
5469 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.BotStatus.attitude)
5470}
5471inline ::jaiabot::protobuf::BotStatus_Attitude* BotStatus::release_attitude() {
5472 _impl_._has_bits_[0] &= ~0x00000002u;
5473 ::jaiabot::protobuf::BotStatus_Attitude* temp = _impl_.attitude_;
5474 _impl_.attitude_ = nullptr;
5475#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
5476 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
5477 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
5478 if (GetArenaForAllocation() == nullptr) { delete old; }
5479#else // PROTOBUF_FORCE_COPY_IN_RELEASE
5480 if (GetArenaForAllocation() != nullptr) {
5481 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
5482 }
5483#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
5484 return temp;
5485}
5486inline ::jaiabot::protobuf::BotStatus_Attitude* BotStatus::unsafe_arena_release_attitude() {
5487 // @@protoc_insertion_point(field_release:jaiabot.protobuf.BotStatus.attitude)
5488 _impl_._has_bits_[0] &= ~0x00000002u;
5489 ::jaiabot::protobuf::BotStatus_Attitude* temp = _impl_.attitude_;
5490 _impl_.attitude_ = nullptr;
5491 return temp;
5492}
5493inline ::jaiabot::protobuf::BotStatus_Attitude* BotStatus::_internal_mutable_attitude() {
5494 _impl_._has_bits_[0] |= 0x00000002u;
5495 if (_impl_.attitude_ == nullptr) {
5496 auto* p = CreateMaybeMessage<::jaiabot::protobuf::BotStatus_Attitude>(GetArenaForAllocation());
5497 _impl_.attitude_ = p;
5498 }
5499 return _impl_.attitude_;
5500}
5501inline ::jaiabot::protobuf::BotStatus_Attitude* BotStatus::mutable_attitude() {
5502 ::jaiabot::protobuf::BotStatus_Attitude* _msg = _internal_mutable_attitude();
5503 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.BotStatus.attitude)
5504 return _msg;
5505}
5506inline void BotStatus::set_allocated_attitude(::jaiabot::protobuf::BotStatus_Attitude* attitude) {
5507 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
5508 if (message_arena == nullptr) {
5509 delete _impl_.attitude_;
5510 }
5511 if (attitude) {
5512 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
5513 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(attitude);
5514 if (message_arena != submessage_arena) {
5515 attitude = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
5516 message_arena, attitude, submessage_arena);
5517 }
5518 _impl_._has_bits_[0] |= 0x00000002u;
5519 } else {
5520 _impl_._has_bits_[0] &= ~0x00000002u;
5521 }
5522 _impl_.attitude_ = attitude;
5523 // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.BotStatus.attitude)
5524}
5525
5526// optional .jaiabot.protobuf.BotStatus.Speed speed = 30 [(.jaia.field) = {
5527inline bool BotStatus::_internal_has_speed() const {
5528 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
5529 PROTOBUF_ASSUME(!value || _impl_.speed_ != nullptr);
5530 return value;
5531}
5532inline bool BotStatus::has_speed() const {
5533 return _internal_has_speed();
5534}
5535inline void BotStatus::clear_speed() {
5536 if (_impl_.speed_ != nullptr) _impl_.speed_->Clear();
5537 _impl_._has_bits_[0] &= ~0x00000004u;
5538}
5539inline const ::jaiabot::protobuf::BotStatus_Speed& BotStatus::_internal_speed() const {
5540 const ::jaiabot::protobuf::BotStatus_Speed* p = _impl_.speed_;
5541 return p != nullptr ? *p : reinterpret_cast<const ::jaiabot::protobuf::BotStatus_Speed&>(
5543}
5544inline const ::jaiabot::protobuf::BotStatus_Speed& BotStatus::speed() const {
5545 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.speed)
5546 return _internal_speed();
5547}
5548inline void BotStatus::unsafe_arena_set_allocated_speed(
5550 if (GetArenaForAllocation() == nullptr) {
5551 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.speed_);
5552 }
5553 _impl_.speed_ = speed;
5554 if (speed) {
5555 _impl_._has_bits_[0] |= 0x00000004u;
5556 } else {
5557 _impl_._has_bits_[0] &= ~0x00000004u;
5558 }
5559 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.BotStatus.speed)
5560}
5561inline ::jaiabot::protobuf::BotStatus_Speed* BotStatus::release_speed() {
5562 _impl_._has_bits_[0] &= ~0x00000004u;
5563 ::jaiabot::protobuf::BotStatus_Speed* temp = _impl_.speed_;
5564 _impl_.speed_ = nullptr;
5565#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
5566 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
5567 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
5568 if (GetArenaForAllocation() == nullptr) { delete old; }
5569#else // PROTOBUF_FORCE_COPY_IN_RELEASE
5570 if (GetArenaForAllocation() != nullptr) {
5571 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
5572 }
5573#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
5574 return temp;
5575}
5576inline ::jaiabot::protobuf::BotStatus_Speed* BotStatus::unsafe_arena_release_speed() {
5577 // @@protoc_insertion_point(field_release:jaiabot.protobuf.BotStatus.speed)
5578 _impl_._has_bits_[0] &= ~0x00000004u;
5579 ::jaiabot::protobuf::BotStatus_Speed* temp = _impl_.speed_;
5580 _impl_.speed_ = nullptr;
5581 return temp;
5582}
5583inline ::jaiabot::protobuf::BotStatus_Speed* BotStatus::_internal_mutable_speed() {
5584 _impl_._has_bits_[0] |= 0x00000004u;
5585 if (_impl_.speed_ == nullptr) {
5586 auto* p = CreateMaybeMessage<::jaiabot::protobuf::BotStatus_Speed>(GetArenaForAllocation());
5587 _impl_.speed_ = p;
5588 }
5589 return _impl_.speed_;
5590}
5591inline ::jaiabot::protobuf::BotStatus_Speed* BotStatus::mutable_speed() {
5592 ::jaiabot::protobuf::BotStatus_Speed* _msg = _internal_mutable_speed();
5593 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.BotStatus.speed)
5594 return _msg;
5595}
5596inline void BotStatus::set_allocated_speed(::jaiabot::protobuf::BotStatus_Speed* speed) {
5597 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
5598 if (message_arena == nullptr) {
5599 delete _impl_.speed_;
5600 }
5601 if (speed) {
5602 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
5603 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(speed);
5604 if (message_arena != submessage_arena) {
5605 speed = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
5606 message_arena, speed, submessage_arena);
5607 }
5608 _impl_._has_bits_[0] |= 0x00000004u;
5609 } else {
5610 _impl_._has_bits_[0] &= ~0x00000004u;
5611 }
5612 _impl_.speed_ = speed;
5613 // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.BotStatus.speed)
5614}
5615
5616// optional .jaiabot.protobuf.MissionState mission_state = 40 [(.jaia.field) = {
5617inline bool BotStatus::_internal_has_mission_state() const {
5618 bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0;
5619 return value;
5620}
5621inline bool BotStatus::has_mission_state() const {
5622 return _internal_has_mission_state();
5623}
5624inline void BotStatus::clear_mission_state() {
5625 _impl_.mission_state_ = 0;
5626 _impl_._has_bits_[0] &= ~0x00000100u;
5627}
5628inline ::jaiabot::protobuf::MissionState BotStatus::_internal_mission_state() const {
5629 return static_cast< ::jaiabot::protobuf::MissionState >(_impl_.mission_state_);
5630}
5631inline ::jaiabot::protobuf::MissionState BotStatus::mission_state() const {
5632 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.mission_state)
5633 return _internal_mission_state();
5634}
5635inline void BotStatus::_internal_set_mission_state(::jaiabot::protobuf::MissionState value) {
5637 _impl_._has_bits_[0] |= 0x00000100u;
5638 _impl_.mission_state_ = value;
5639}
5640inline void BotStatus::set_mission_state(::jaiabot::protobuf::MissionState value) {
5641 _internal_set_mission_state(value);
5642 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.mission_state)
5643}
5644
5645// optional int32 active_goal = 41 [(.dccl.field) = {
5646inline bool BotStatus::_internal_has_active_goal() const {
5647 bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0;
5648 return value;
5649}
5650inline bool BotStatus::has_active_goal() const {
5651 return _internal_has_active_goal();
5652}
5653inline void BotStatus::clear_active_goal() {
5654 _impl_.active_goal_ = 0;
5655 _impl_._has_bits_[0] &= ~0x00000400u;
5656}
5657inline int32_t BotStatus::_internal_active_goal() const {
5658 return _impl_.active_goal_;
5659}
5660inline int32_t BotStatus::active_goal() const {
5661 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.active_goal)
5662 return _internal_active_goal();
5663}
5664inline void BotStatus::_internal_set_active_goal(int32_t value) {
5665 _impl_._has_bits_[0] |= 0x00000400u;
5666 _impl_.active_goal_ = value;
5667}
5668inline void BotStatus::set_active_goal(int32_t value) {
5669 _internal_set_active_goal(value);
5670 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.active_goal)
5671}
5672
5673// optional double distance_to_active_goal = 42 [(.dccl.field) = {
5674inline bool BotStatus::_internal_has_distance_to_active_goal() const {
5675 bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0;
5676 return value;
5677}
5678inline bool BotStatus::has_distance_to_active_goal() const {
5679 return _internal_has_distance_to_active_goal();
5680}
5681inline void BotStatus::clear_distance_to_active_goal() {
5682 _impl_.distance_to_active_goal_ = 0;
5683 _impl_._has_bits_[0] &= ~0x00000200u;
5684}
5685inline double BotStatus::_internal_distance_to_active_goal() const {
5686 return _impl_.distance_to_active_goal_;
5687}
5688inline double BotStatus::distance_to_active_goal() const {
5689 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.distance_to_active_goal)
5690 return _internal_distance_to_active_goal();
5691}
5692inline void BotStatus::_internal_set_distance_to_active_goal(double value) {
5693 _impl_._has_bits_[0] |= 0x00000200u;
5694 _impl_.distance_to_active_goal_ = value;
5695}
5696inline void BotStatus::set_distance_to_active_goal(double value) {
5697 _internal_set_distance_to_active_goal(value);
5698 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.distance_to_active_goal)
5699}
5700
5701// optional uint32 active_goal_timeout = 43 [(.dccl.field) = {
5702inline bool BotStatus::_internal_has_active_goal_timeout() const {
5703 bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0;
5704 return value;
5705}
5706inline bool BotStatus::has_active_goal_timeout() const {
5707 return _internal_has_active_goal_timeout();
5708}
5709inline void BotStatus::clear_active_goal_timeout() {
5710 _impl_.active_goal_timeout_ = 0u;
5711 _impl_._has_bits_[0] &= ~0x00000800u;
5712}
5713inline uint32_t BotStatus::_internal_active_goal_timeout() const {
5714 return _impl_.active_goal_timeout_;
5715}
5716inline uint32_t BotStatus::active_goal_timeout() const {
5717 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.active_goal_timeout)
5718 return _internal_active_goal_timeout();
5719}
5720inline void BotStatus::_internal_set_active_goal_timeout(uint32_t value) {
5721 _impl_._has_bits_[0] |= 0x00000800u;
5722 _impl_.active_goal_timeout_ = value;
5723}
5724inline void BotStatus::set_active_goal_timeout(uint32_t value) {
5725 _internal_set_active_goal_timeout(value);
5726 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.active_goal_timeout)
5727}
5728
5729// optional int32 repeat_index = 44 [(.dccl.field) = {
5730inline bool BotStatus::_internal_has_repeat_index() const {
5731 bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0;
5732 return value;
5733}
5734inline bool BotStatus::has_repeat_index() const {
5735 return _internal_has_repeat_index();
5736}
5737inline void BotStatus::clear_repeat_index() {
5738 _impl_.repeat_index_ = 0;
5739 _impl_._has_bits_[0] &= ~0x00001000u;
5740}
5741inline int32_t BotStatus::_internal_repeat_index() const {
5742 return _impl_.repeat_index_;
5743}
5744inline int32_t BotStatus::repeat_index() const {
5745 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.repeat_index)
5746 return _internal_repeat_index();
5747}
5748inline void BotStatus::_internal_set_repeat_index(int32_t value) {
5749 _impl_._has_bits_[0] |= 0x00001000u;
5750 _impl_.repeat_index_ = value;
5751}
5752inline void BotStatus::set_repeat_index(int32_t value) {
5753 _internal_set_repeat_index(value);
5754 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.repeat_index)
5755}
5756
5757// optional double salinity = 51 [(.dccl.field) = {
5758inline bool BotStatus::_internal_has_salinity() const {
5759 bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0;
5760 return value;
5761}
5762inline bool BotStatus::has_salinity() const {
5763 return _internal_has_salinity();
5764}
5765inline void BotStatus::clear_salinity() {
5766 _impl_.salinity_ = 0;
5767 _impl_._has_bits_[0] &= ~0x00004000u;
5768}
5769inline double BotStatus::_internal_salinity() const {
5770 return _impl_.salinity_;
5771}
5772inline double BotStatus::salinity() const {
5773 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.salinity)
5774 return _internal_salinity();
5775}
5776inline void BotStatus::_internal_set_salinity(double value) {
5777 _impl_._has_bits_[0] |= 0x00004000u;
5778 _impl_.salinity_ = value;
5779}
5780inline void BotStatus::set_salinity(double value) {
5781 _internal_set_salinity(value);
5782 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.salinity)
5783}
5784
5785// optional double temperature = 52 [(.dccl.field) = {
5786inline bool BotStatus::_internal_has_temperature() const {
5787 bool value = (_impl_._has_bits_[0] & 0x00008000u) != 0;
5788 return value;
5789}
5790inline bool BotStatus::has_temperature() const {
5791 return _internal_has_temperature();
5792}
5793inline void BotStatus::clear_temperature() {
5794 _impl_.temperature_ = 0;
5795 _impl_._has_bits_[0] &= ~0x00008000u;
5796}
5797inline double BotStatus::_internal_temperature() const {
5798 return _impl_.temperature_;
5799}
5800inline double BotStatus::temperature() const {
5801 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.temperature)
5802 return _internal_temperature();
5803}
5804inline void BotStatus::_internal_set_temperature(double value) {
5805 _impl_._has_bits_[0] |= 0x00008000u;
5806 _impl_.temperature_ = value;
5807}
5808inline void BotStatus::set_temperature(double value) {
5809 _internal_set_temperature(value);
5810 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.temperature)
5811}
5812
5813// optional double battery_percent = 53 [(.dccl.field) = {
5814inline bool BotStatus::_internal_has_battery_percent() const {
5815 bool value = (_impl_._has_bits_[0] & 0x00010000u) != 0;
5816 return value;
5817}
5818inline bool BotStatus::has_battery_percent() const {
5819 return _internal_has_battery_percent();
5820}
5821inline void BotStatus::clear_battery_percent() {
5822 _impl_.battery_percent_ = 0;
5823 _impl_._has_bits_[0] &= ~0x00010000u;
5824}
5825inline double BotStatus::_internal_battery_percent() const {
5826 return _impl_.battery_percent_;
5827}
5828inline double BotStatus::battery_percent() const {
5829 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.battery_percent)
5830 return _internal_battery_percent();
5831}
5832inline void BotStatus::_internal_set_battery_percent(double value) {
5833 _impl_._has_bits_[0] |= 0x00010000u;
5834 _impl_.battery_percent_ = value;
5835}
5836inline void BotStatus::set_battery_percent(double value) {
5837 _internal_set_battery_percent(value);
5838 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.battery_percent)
5839}
5840
5841// optional int32 calibration_status = 54 [(.dccl.field) = {
5842inline bool BotStatus::_internal_has_calibration_status() const {
5843 bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0;
5844 return value;
5845}
5846inline bool BotStatus::has_calibration_status() const {
5847 return _internal_has_calibration_status();
5848}
5849inline void BotStatus::clear_calibration_status() {
5850 _impl_.calibration_status_ = 0;
5851 _impl_._has_bits_[0] &= ~0x00002000u;
5852}
5853inline int32_t BotStatus::_internal_calibration_status() const {
5854 return _impl_.calibration_status_;
5855}
5856inline int32_t BotStatus::calibration_status() const {
5857 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.calibration_status)
5858 return _internal_calibration_status();
5859}
5860inline void BotStatus::_internal_set_calibration_status(int32_t value) {
5861 _impl_._has_bits_[0] |= 0x00002000u;
5862 _impl_.calibration_status_ = value;
5863}
5864inline void BotStatus::set_calibration_status(int32_t value) {
5865 _internal_set_calibration_status(value);
5866 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.calibration_status)
5867}
5868
5869// optional .jaiabot.protobuf.IMUCalibrationState calibration_state = 55;
5870inline bool BotStatus::_internal_has_calibration_state() const {
5871 bool value = (_impl_._has_bits_[0] & 0x01000000u) != 0;
5872 return value;
5873}
5874inline bool BotStatus::has_calibration_state() const {
5875 return _internal_has_calibration_state();
5876}
5877inline void BotStatus::clear_calibration_state() {
5878 _impl_.calibration_state_ = 1;
5879 _impl_._has_bits_[0] &= ~0x01000000u;
5880}
5881inline ::jaiabot::protobuf::IMUCalibrationState BotStatus::_internal_calibration_state() const {
5882 return static_cast< ::jaiabot::protobuf::IMUCalibrationState >(_impl_.calibration_state_);
5883}
5884inline ::jaiabot::protobuf::IMUCalibrationState BotStatus::calibration_state() const {
5885 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.calibration_state)
5886 return _internal_calibration_state();
5887}
5888inline void BotStatus::_internal_set_calibration_state(::jaiabot::protobuf::IMUCalibrationState value) {
5890 _impl_._has_bits_[0] |= 0x01000000u;
5891 _impl_.calibration_state_ = value;
5892}
5893inline void BotStatus::set_calibration_state(::jaiabot::protobuf::IMUCalibrationState value) {
5894 _internal_set_calibration_state(value);
5895 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.calibration_state)
5896}
5897
5898// optional double hdop = 56 [(.dccl.field) = {
5899inline bool BotStatus::_internal_has_hdop() const {
5900 bool value = (_impl_._has_bits_[0] & 0x00020000u) != 0;
5901 return value;
5902}
5903inline bool BotStatus::has_hdop() const {
5904 return _internal_has_hdop();
5905}
5906inline void BotStatus::clear_hdop() {
5907 _impl_.hdop_ = 0;
5908 _impl_._has_bits_[0] &= ~0x00020000u;
5909}
5910inline double BotStatus::_internal_hdop() const {
5911 return _impl_.hdop_;
5912}
5913inline double BotStatus::hdop() const {
5914 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.hdop)
5915 return _internal_hdop();
5916}
5917inline void BotStatus::_internal_set_hdop(double value) {
5918 _impl_._has_bits_[0] |= 0x00020000u;
5919 _impl_.hdop_ = value;
5920}
5921inline void BotStatus::set_hdop(double value) {
5922 _internal_set_hdop(value);
5923 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.hdop)
5924}
5925
5926// optional double pdop = 57 [(.dccl.field) = {
5927inline bool BotStatus::_internal_has_pdop() const {
5928 bool value = (_impl_._has_bits_[0] & 0x00040000u) != 0;
5929 return value;
5930}
5931inline bool BotStatus::has_pdop() const {
5932 return _internal_has_pdop();
5933}
5934inline void BotStatus::clear_pdop() {
5935 _impl_.pdop_ = 0;
5936 _impl_._has_bits_[0] &= ~0x00040000u;
5937}
5938inline double BotStatus::_internal_pdop() const {
5939 return _impl_.pdop_;
5940}
5941inline double BotStatus::pdop() const {
5942 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.pdop)
5943 return _internal_pdop();
5944}
5945inline void BotStatus::_internal_set_pdop(double value) {
5946 _impl_._has_bits_[0] |= 0x00040000u;
5947 _impl_.pdop_ = value;
5948}
5949inline void BotStatus::set_pdop(double value) {
5950 _internal_set_pdop(value);
5951 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.pdop)
5952}
5953
5954// optional int32 wifi_link_quality_percentage = 58 [(.dccl.field) = {
5955inline bool BotStatus::_internal_has_wifi_link_quality_percentage() const {
5956 bool value = (_impl_._has_bits_[0] & 0x00100000u) != 0;
5957 return value;
5958}
5959inline bool BotStatus::has_wifi_link_quality_percentage() const {
5960 return _internal_has_wifi_link_quality_percentage();
5961}
5962inline void BotStatus::clear_wifi_link_quality_percentage() {
5963 _impl_.wifi_link_quality_percentage_ = 0;
5964 _impl_._has_bits_[0] &= ~0x00100000u;
5965}
5966inline int32_t BotStatus::_internal_wifi_link_quality_percentage() const {
5967 return _impl_.wifi_link_quality_percentage_;
5968}
5969inline int32_t BotStatus::wifi_link_quality_percentage() const {
5970 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.wifi_link_quality_percentage)
5971 return _internal_wifi_link_quality_percentage();
5972}
5973inline void BotStatus::_internal_set_wifi_link_quality_percentage(int32_t value) {
5974 _impl_._has_bits_[0] |= 0x00100000u;
5975 _impl_.wifi_link_quality_percentage_ = value;
5976}
5977inline void BotStatus::set_wifi_link_quality_percentage(int32_t value) {
5978 _internal_set_wifi_link_quality_percentage(value);
5979 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.wifi_link_quality_percentage)
5980}
5981
5982// optional uint64 received_time = 59 [(.dccl.field) = {
5983inline bool BotStatus::_internal_has_received_time() const {
5984 bool value = (_impl_._has_bits_[0] & 0x00080000u) != 0;
5985 return value;
5986}
5987inline bool BotStatus::has_received_time() const {
5988 return _internal_has_received_time();
5989}
5990inline void BotStatus::clear_received_time() {
5991 _impl_.received_time_ = uint64_t{0u};
5992 _impl_._has_bits_[0] &= ~0x00080000u;
5993}
5994inline uint64_t BotStatus::_internal_received_time() const {
5995 return _impl_.received_time_;
5996}
5997inline uint64_t BotStatus::received_time() const {
5998 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.received_time)
5999 return _internal_received_time();
6000}
6001inline void BotStatus::_internal_set_received_time(uint64_t value) {
6002 _impl_._has_bits_[0] |= 0x00080000u;
6003 _impl_.received_time_ = value;
6004}
6005inline void BotStatus::set_received_time(uint64_t value) {
6006 _internal_set_received_time(value);
6007 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.received_time)
6008}
6009
6010// -------------------------------------------------------------------
6011
6012// DriftPacket_EstimatedDrift
6013
6014// required double speed = 1 [(.dccl.field) = {
6015inline bool DriftPacket_EstimatedDrift::_internal_has_speed() const {
6016 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
6017 return value;
6018}
6019inline bool DriftPacket_EstimatedDrift::has_speed() const {
6020 return _internal_has_speed();
6021}
6022inline void DriftPacket_EstimatedDrift::clear_speed() {
6023 _impl_.speed_ = 0;
6024 _impl_._has_bits_[0] &= ~0x00000001u;
6025}
6026inline double DriftPacket_EstimatedDrift::_internal_speed() const {
6027 return _impl_.speed_;
6028}
6029inline double DriftPacket_EstimatedDrift::speed() const {
6030 // @@protoc_insertion_point(field_get:jaiabot.protobuf.DriftPacket.EstimatedDrift.speed)
6031 return _internal_speed();
6032}
6033inline void DriftPacket_EstimatedDrift::_internal_set_speed(double value) {
6034 _impl_._has_bits_[0] |= 0x00000001u;
6035 _impl_.speed_ = value;
6036}
6037inline void DriftPacket_EstimatedDrift::set_speed(double value) {
6038 _internal_set_speed(value);
6039 // @@protoc_insertion_point(field_set:jaiabot.protobuf.DriftPacket.EstimatedDrift.speed)
6040}
6041
6042// optional double heading = 3 [(.dccl.field) = {
6043inline bool DriftPacket_EstimatedDrift::_internal_has_heading() const {
6044 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
6045 return value;
6046}
6047inline bool DriftPacket_EstimatedDrift::has_heading() const {
6048 return _internal_has_heading();
6049}
6050inline void DriftPacket_EstimatedDrift::clear_heading() {
6051 _impl_.heading_ = 0;
6052 _impl_._has_bits_[0] &= ~0x00000002u;
6053}
6054inline double DriftPacket_EstimatedDrift::_internal_heading() const {
6055 return _impl_.heading_;
6056}
6057inline double DriftPacket_EstimatedDrift::heading() const {
6058 // @@protoc_insertion_point(field_get:jaiabot.protobuf.DriftPacket.EstimatedDrift.heading)
6059 return _internal_heading();
6060}
6061inline void DriftPacket_EstimatedDrift::_internal_set_heading(double value) {
6062 _impl_._has_bits_[0] |= 0x00000002u;
6063 _impl_.heading_ = value;
6064}
6065inline void DriftPacket_EstimatedDrift::set_heading(double value) {
6066 _internal_set_heading(value);
6067 // @@protoc_insertion_point(field_set:jaiabot.protobuf.DriftPacket.EstimatedDrift.heading)
6068}
6069
6070// -------------------------------------------------------------------
6071
6072// DriftPacket
6073
6074// optional int32 drift_duration = 1 [default = 0, (.dccl.field) = {
6075inline bool DriftPacket::_internal_has_drift_duration() const {
6076 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
6077 return value;
6078}
6079inline bool DriftPacket::has_drift_duration() const {
6080 return _internal_has_drift_duration();
6081}
6082inline void DriftPacket::clear_drift_duration() {
6083 _impl_.drift_duration_ = 0;
6084 _impl_._has_bits_[0] &= ~0x00000010u;
6085}
6086inline int32_t DriftPacket::_internal_drift_duration() const {
6087 return _impl_.drift_duration_;
6088}
6089inline int32_t DriftPacket::drift_duration() const {
6090 // @@protoc_insertion_point(field_get:jaiabot.protobuf.DriftPacket.drift_duration)
6091 return _internal_drift_duration();
6092}
6093inline void DriftPacket::_internal_set_drift_duration(int32_t value) {
6094 _impl_._has_bits_[0] |= 0x00000010u;
6095 _impl_.drift_duration_ = value;
6096}
6097inline void DriftPacket::set_drift_duration(int32_t value) {
6098 _internal_set_drift_duration(value);
6099 // @@protoc_insertion_point(field_set:jaiabot.protobuf.DriftPacket.drift_duration)
6100}
6101
6102// optional .jaiabot.protobuf.DriftPacket.EstimatedDrift estimated_drift = 10 [(.jaia.field) = {
6103inline bool DriftPacket::_internal_has_estimated_drift() const {
6104 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
6105 PROTOBUF_ASSUME(!value || _impl_.estimated_drift_ != nullptr);
6106 return value;
6107}
6108inline bool DriftPacket::has_estimated_drift() const {
6109 return _internal_has_estimated_drift();
6110}
6111inline void DriftPacket::clear_estimated_drift() {
6112 if (_impl_.estimated_drift_ != nullptr) _impl_.estimated_drift_->Clear();
6113 _impl_._has_bits_[0] &= ~0x00000001u;
6114}
6115inline const ::jaiabot::protobuf::DriftPacket_EstimatedDrift& DriftPacket::_internal_estimated_drift() const {
6116 const ::jaiabot::protobuf::DriftPacket_EstimatedDrift* p = _impl_.estimated_drift_;
6117 return p != nullptr ? *p : reinterpret_cast<const ::jaiabot::protobuf::DriftPacket_EstimatedDrift&>(
6119}
6120inline const ::jaiabot::protobuf::DriftPacket_EstimatedDrift& DriftPacket::estimated_drift() const {
6121 // @@protoc_insertion_point(field_get:jaiabot.protobuf.DriftPacket.estimated_drift)
6122 return _internal_estimated_drift();
6123}
6124inline void DriftPacket::unsafe_arena_set_allocated_estimated_drift(
6126 if (GetArenaForAllocation() == nullptr) {
6127 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.estimated_drift_);
6128 }
6129 _impl_.estimated_drift_ = estimated_drift;
6130 if (estimated_drift) {
6131 _impl_._has_bits_[0] |= 0x00000001u;
6132 } else {
6133 _impl_._has_bits_[0] &= ~0x00000001u;
6134 }
6135 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.DriftPacket.estimated_drift)
6136}
6137inline ::jaiabot::protobuf::DriftPacket_EstimatedDrift* DriftPacket::release_estimated_drift() {
6138 _impl_._has_bits_[0] &= ~0x00000001u;
6139 ::jaiabot::protobuf::DriftPacket_EstimatedDrift* temp = _impl_.estimated_drift_;
6140 _impl_.estimated_drift_ = nullptr;
6141#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
6142 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
6143 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
6144 if (GetArenaForAllocation() == nullptr) { delete old; }
6145#else // PROTOBUF_FORCE_COPY_IN_RELEASE
6146 if (GetArenaForAllocation() != nullptr) {
6147 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
6148 }
6149#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
6150 return temp;
6151}
6152inline ::jaiabot::protobuf::DriftPacket_EstimatedDrift* DriftPacket::unsafe_arena_release_estimated_drift() {
6153 // @@protoc_insertion_point(field_release:jaiabot.protobuf.DriftPacket.estimated_drift)
6154 _impl_._has_bits_[0] &= ~0x00000001u;
6155 ::jaiabot::protobuf::DriftPacket_EstimatedDrift* temp = _impl_.estimated_drift_;
6156 _impl_.estimated_drift_ = nullptr;
6157 return temp;
6158}
6159inline ::jaiabot::protobuf::DriftPacket_EstimatedDrift* DriftPacket::_internal_mutable_estimated_drift() {
6160 _impl_._has_bits_[0] |= 0x00000001u;
6161 if (_impl_.estimated_drift_ == nullptr) {
6163 _impl_.estimated_drift_ = p;
6164 }
6165 return _impl_.estimated_drift_;
6166}
6167inline ::jaiabot::protobuf::DriftPacket_EstimatedDrift* DriftPacket::mutable_estimated_drift() {
6168 ::jaiabot::protobuf::DriftPacket_EstimatedDrift* _msg = _internal_mutable_estimated_drift();
6169 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.DriftPacket.estimated_drift)
6170 return _msg;
6171}
6172inline void DriftPacket::set_allocated_estimated_drift(::jaiabot::protobuf::DriftPacket_EstimatedDrift* estimated_drift) {
6173 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
6174 if (message_arena == nullptr) {
6175 delete _impl_.estimated_drift_;
6176 }
6177 if (estimated_drift) {
6178 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
6179 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(estimated_drift);
6180 if (message_arena != submessage_arena) {
6181 estimated_drift = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
6182 message_arena, estimated_drift, submessage_arena);
6183 }
6184 _impl_._has_bits_[0] |= 0x00000001u;
6185 } else {
6186 _impl_._has_bits_[0] &= ~0x00000001u;
6187 }
6188 _impl_.estimated_drift_ = estimated_drift;
6189 // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.DriftPacket.estimated_drift)
6190}
6191
6192// optional .jaiabot.protobuf.GeographicCoordinate start_location = 11 [(.jaia.field) = {
6193inline bool DriftPacket::_internal_has_start_location() const {
6194 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
6195 PROTOBUF_ASSUME(!value || _impl_.start_location_ != nullptr);
6196 return value;
6197}
6198inline bool DriftPacket::has_start_location() const {
6199 return _internal_has_start_location();
6200}
6201inline const ::jaiabot::protobuf::GeographicCoordinate& DriftPacket::_internal_start_location() const {
6202 const ::jaiabot::protobuf::GeographicCoordinate* p = _impl_.start_location_;
6203 return p != nullptr ? *p : reinterpret_cast<const ::jaiabot::protobuf::GeographicCoordinate&>(
6205}
6206inline const ::jaiabot::protobuf::GeographicCoordinate& DriftPacket::start_location() const {
6207 // @@protoc_insertion_point(field_get:jaiabot.protobuf.DriftPacket.start_location)
6208 return _internal_start_location();
6209}
6210inline void DriftPacket::unsafe_arena_set_allocated_start_location(
6212 if (GetArenaForAllocation() == nullptr) {
6213 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.start_location_);
6214 }
6215 _impl_.start_location_ = start_location;
6216 if (start_location) {
6217 _impl_._has_bits_[0] |= 0x00000002u;
6218 } else {
6219 _impl_._has_bits_[0] &= ~0x00000002u;
6220 }
6221 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.DriftPacket.start_location)
6222}
6223inline ::jaiabot::protobuf::GeographicCoordinate* DriftPacket::release_start_location() {
6224 _impl_._has_bits_[0] &= ~0x00000002u;
6225 ::jaiabot::protobuf::GeographicCoordinate* temp = _impl_.start_location_;
6226 _impl_.start_location_ = nullptr;
6227#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
6228 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
6229 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
6230 if (GetArenaForAllocation() == nullptr) { delete old; }
6231#else // PROTOBUF_FORCE_COPY_IN_RELEASE
6232 if (GetArenaForAllocation() != nullptr) {
6233 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
6234 }
6235#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
6236 return temp;
6237}
6238inline ::jaiabot::protobuf::GeographicCoordinate* DriftPacket::unsafe_arena_release_start_location() {
6239 // @@protoc_insertion_point(field_release:jaiabot.protobuf.DriftPacket.start_location)
6240 _impl_._has_bits_[0] &= ~0x00000002u;
6241 ::jaiabot::protobuf::GeographicCoordinate* temp = _impl_.start_location_;
6242 _impl_.start_location_ = nullptr;
6243 return temp;
6244}
6245inline ::jaiabot::protobuf::GeographicCoordinate* DriftPacket::_internal_mutable_start_location() {
6246 _impl_._has_bits_[0] |= 0x00000002u;
6247 if (_impl_.start_location_ == nullptr) {
6248 auto* p = CreateMaybeMessage<::jaiabot::protobuf::GeographicCoordinate>(GetArenaForAllocation());
6249 _impl_.start_location_ = p;
6250 }
6251 return _impl_.start_location_;
6252}
6253inline ::jaiabot::protobuf::GeographicCoordinate* DriftPacket::mutable_start_location() {
6254 ::jaiabot::protobuf::GeographicCoordinate* _msg = _internal_mutable_start_location();
6255 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.DriftPacket.start_location)
6256 return _msg;
6257}
6258inline void DriftPacket::set_allocated_start_location(::jaiabot::protobuf::GeographicCoordinate* start_location) {
6259 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
6260 if (message_arena == nullptr) {
6261 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.start_location_);
6262 }
6263 if (start_location) {
6264 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
6265 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
6266 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(start_location));
6267 if (message_arena != submessage_arena) {
6268 start_location = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
6269 message_arena, start_location, submessage_arena);
6270 }
6271 _impl_._has_bits_[0] |= 0x00000002u;
6272 } else {
6273 _impl_._has_bits_[0] &= ~0x00000002u;
6274 }
6275 _impl_.start_location_ = start_location;
6276 // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.DriftPacket.start_location)
6277}
6278
6279// optional .jaiabot.protobuf.GeographicCoordinate end_location = 12 [(.jaia.field) = {
6280inline bool DriftPacket::_internal_has_end_location() const {
6281 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
6282 PROTOBUF_ASSUME(!value || _impl_.end_location_ != nullptr);
6283 return value;
6284}
6285inline bool DriftPacket::has_end_location() const {
6286 return _internal_has_end_location();
6287}
6288inline const ::jaiabot::protobuf::GeographicCoordinate& DriftPacket::_internal_end_location() const {
6289 const ::jaiabot::protobuf::GeographicCoordinate* p = _impl_.end_location_;
6290 return p != nullptr ? *p : reinterpret_cast<const ::jaiabot::protobuf::GeographicCoordinate&>(
6292}
6293inline const ::jaiabot::protobuf::GeographicCoordinate& DriftPacket::end_location() const {
6294 // @@protoc_insertion_point(field_get:jaiabot.protobuf.DriftPacket.end_location)
6295 return _internal_end_location();
6296}
6297inline void DriftPacket::unsafe_arena_set_allocated_end_location(
6299 if (GetArenaForAllocation() == nullptr) {
6300 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.end_location_);
6301 }
6302 _impl_.end_location_ = end_location;
6303 if (end_location) {
6304 _impl_._has_bits_[0] |= 0x00000004u;
6305 } else {
6306 _impl_._has_bits_[0] &= ~0x00000004u;
6307 }
6308 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.DriftPacket.end_location)
6309}
6310inline ::jaiabot::protobuf::GeographicCoordinate* DriftPacket::release_end_location() {
6311 _impl_._has_bits_[0] &= ~0x00000004u;
6312 ::jaiabot::protobuf::GeographicCoordinate* temp = _impl_.end_location_;
6313 _impl_.end_location_ = nullptr;
6314#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
6315 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
6316 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
6317 if (GetArenaForAllocation() == nullptr) { delete old; }
6318#else // PROTOBUF_FORCE_COPY_IN_RELEASE
6319 if (GetArenaForAllocation() != nullptr) {
6320 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
6321 }
6322#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
6323 return temp;
6324}
6325inline ::jaiabot::protobuf::GeographicCoordinate* DriftPacket::unsafe_arena_release_end_location() {
6326 // @@protoc_insertion_point(field_release:jaiabot.protobuf.DriftPacket.end_location)
6327 _impl_._has_bits_[0] &= ~0x00000004u;
6328 ::jaiabot::protobuf::GeographicCoordinate* temp = _impl_.end_location_;
6329 _impl_.end_location_ = nullptr;
6330 return temp;
6331}
6332inline ::jaiabot::protobuf::GeographicCoordinate* DriftPacket::_internal_mutable_end_location() {
6333 _impl_._has_bits_[0] |= 0x00000004u;
6334 if (_impl_.end_location_ == nullptr) {
6335 auto* p = CreateMaybeMessage<::jaiabot::protobuf::GeographicCoordinate>(GetArenaForAllocation());
6336 _impl_.end_location_ = p;
6337 }
6338 return _impl_.end_location_;
6339}
6340inline ::jaiabot::protobuf::GeographicCoordinate* DriftPacket::mutable_end_location() {
6341 ::jaiabot::protobuf::GeographicCoordinate* _msg = _internal_mutable_end_location();
6342 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.DriftPacket.end_location)
6343 return _msg;
6344}
6345inline void DriftPacket::set_allocated_end_location(::jaiabot::protobuf::GeographicCoordinate* end_location) {
6346 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
6347 if (message_arena == nullptr) {
6348 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.end_location_);
6349 }
6350 if (end_location) {
6351 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
6352 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
6353 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(end_location));
6354 if (message_arena != submessage_arena) {
6355 end_location = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
6356 message_arena, end_location, submessage_arena);
6357 }
6358 _impl_._has_bits_[0] |= 0x00000004u;
6359 } else {
6360 _impl_._has_bits_[0] &= ~0x00000004u;
6361 }
6362 _impl_.end_location_ = end_location;
6363 // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.DriftPacket.end_location)
6364}
6365
6366// optional double significant_wave_height = 13 [(.dccl.field) = {
6367inline bool DriftPacket::_internal_has_significant_wave_height() const {
6368 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
6369 return value;
6370}
6371inline bool DriftPacket::has_significant_wave_height() const {
6372 return _internal_has_significant_wave_height();
6373}
6374inline void DriftPacket::clear_significant_wave_height() {
6375 _impl_.significant_wave_height_ = 0;
6376 _impl_._has_bits_[0] &= ~0x00000008u;
6377}
6378inline double DriftPacket::_internal_significant_wave_height() const {
6379 return _impl_.significant_wave_height_;
6380}
6381inline double DriftPacket::significant_wave_height() const {
6382 // @@protoc_insertion_point(field_get:jaiabot.protobuf.DriftPacket.significant_wave_height)
6383 return _internal_significant_wave_height();
6384}
6385inline void DriftPacket::_internal_set_significant_wave_height(double value) {
6386 _impl_._has_bits_[0] |= 0x00000008u;
6387 _impl_.significant_wave_height_ = value;
6388}
6389inline void DriftPacket::set_significant_wave_height(double value) {
6390 _internal_set_significant_wave_height(value);
6391 // @@protoc_insertion_point(field_set:jaiabot.protobuf.DriftPacket.significant_wave_height)
6392}
6393
6394// -------------------------------------------------------------------
6395
6396// DivePacket_Measurements
6397
6398// optional double mean_depth = 1 [(.dccl.field) = {
6399inline bool DivePacket_Measurements::_internal_has_mean_depth() const {
6400 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
6401 return value;
6402}
6403inline bool DivePacket_Measurements::has_mean_depth() const {
6404 return _internal_has_mean_depth();
6405}
6406inline void DivePacket_Measurements::clear_mean_depth() {
6407 _impl_.mean_depth_ = 0;
6408 _impl_._has_bits_[0] &= ~0x00000001u;
6409}
6410inline double DivePacket_Measurements::_internal_mean_depth() const {
6411 return _impl_.mean_depth_;
6412}
6413inline double DivePacket_Measurements::mean_depth() const {
6414 // @@protoc_insertion_point(field_get:jaiabot.protobuf.DivePacket.Measurements.mean_depth)
6415 return _internal_mean_depth();
6416}
6417inline void DivePacket_Measurements::_internal_set_mean_depth(double value) {
6418 _impl_._has_bits_[0] |= 0x00000001u;
6419 _impl_.mean_depth_ = value;
6420}
6421inline void DivePacket_Measurements::set_mean_depth(double value) {
6422 _internal_set_mean_depth(value);
6423 // @@protoc_insertion_point(field_set:jaiabot.protobuf.DivePacket.Measurements.mean_depth)
6424}
6425
6426// optional double mean_temperature = 2 [(.dccl.field) = {
6427inline bool DivePacket_Measurements::_internal_has_mean_temperature() const {
6428 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
6429 return value;
6430}
6431inline bool DivePacket_Measurements::has_mean_temperature() const {
6432 return _internal_has_mean_temperature();
6433}
6434inline void DivePacket_Measurements::clear_mean_temperature() {
6435 _impl_.mean_temperature_ = 0;
6436 _impl_._has_bits_[0] &= ~0x00000002u;
6437}
6438inline double DivePacket_Measurements::_internal_mean_temperature() const {
6439 return _impl_.mean_temperature_;
6440}
6441inline double DivePacket_Measurements::mean_temperature() const {
6442 // @@protoc_insertion_point(field_get:jaiabot.protobuf.DivePacket.Measurements.mean_temperature)
6443 return _internal_mean_temperature();
6444}
6445inline void DivePacket_Measurements::_internal_set_mean_temperature(double value) {
6446 _impl_._has_bits_[0] |= 0x00000002u;
6447 _impl_.mean_temperature_ = value;
6448}
6449inline void DivePacket_Measurements::set_mean_temperature(double value) {
6450 _internal_set_mean_temperature(value);
6451 // @@protoc_insertion_point(field_set:jaiabot.protobuf.DivePacket.Measurements.mean_temperature)
6452}
6453
6454// optional double mean_salinity = 3 [(.dccl.field) = {
6455inline bool DivePacket_Measurements::_internal_has_mean_salinity() const {
6456 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
6457 return value;
6458}
6459inline bool DivePacket_Measurements::has_mean_salinity() const {
6460 return _internal_has_mean_salinity();
6461}
6462inline void DivePacket_Measurements::clear_mean_salinity() {
6463 _impl_.mean_salinity_ = 0;
6464 _impl_._has_bits_[0] &= ~0x00000004u;
6465}
6466inline double DivePacket_Measurements::_internal_mean_salinity() const {
6467 return _impl_.mean_salinity_;
6468}
6469inline double DivePacket_Measurements::mean_salinity() const {
6470 // @@protoc_insertion_point(field_get:jaiabot.protobuf.DivePacket.Measurements.mean_salinity)
6471 return _internal_mean_salinity();
6472}
6473inline void DivePacket_Measurements::_internal_set_mean_salinity(double value) {
6474 _impl_._has_bits_[0] |= 0x00000004u;
6475 _impl_.mean_salinity_ = value;
6476}
6477inline void DivePacket_Measurements::set_mean_salinity(double value) {
6478 _internal_set_mean_salinity(value);
6479 // @@protoc_insertion_point(field_set:jaiabot.protobuf.DivePacket.Measurements.mean_salinity)
6480}
6481
6482// -------------------------------------------------------------------
6483
6484// DivePacket_SubsurfaceCurrentVector
6485
6486// required double velocity = 1 [(.dccl.field) = {
6487inline bool DivePacket_SubsurfaceCurrentVector::_internal_has_velocity() const {
6488 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
6489 return value;
6490}
6491inline bool DivePacket_SubsurfaceCurrentVector::has_velocity() const {
6492 return _internal_has_velocity();
6493}
6494inline void DivePacket_SubsurfaceCurrentVector::clear_velocity() {
6495 _impl_.velocity_ = 0;
6496 _impl_._has_bits_[0] &= ~0x00000001u;
6497}
6498inline double DivePacket_SubsurfaceCurrentVector::_internal_velocity() const {
6499 return _impl_.velocity_;
6500}
6501inline double DivePacket_SubsurfaceCurrentVector::velocity() const {
6502 // @@protoc_insertion_point(field_get:jaiabot.protobuf.DivePacket.SubsurfaceCurrentVector.velocity)
6503 return _internal_velocity();
6504}
6505inline void DivePacket_SubsurfaceCurrentVector::_internal_set_velocity(double value) {
6506 _impl_._has_bits_[0] |= 0x00000001u;
6507 _impl_.velocity_ = value;
6508}
6509inline void DivePacket_SubsurfaceCurrentVector::set_velocity(double value) {
6510 _internal_set_velocity(value);
6511 // @@protoc_insertion_point(field_set:jaiabot.protobuf.DivePacket.SubsurfaceCurrentVector.velocity)
6512}
6513
6514// required double heading = 2 [(.dccl.field) = {
6515inline bool DivePacket_SubsurfaceCurrentVector::_internal_has_heading() const {
6516 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
6517 return value;
6518}
6519inline bool DivePacket_SubsurfaceCurrentVector::has_heading() const {
6520 return _internal_has_heading();
6521}
6522inline void DivePacket_SubsurfaceCurrentVector::clear_heading() {
6523 _impl_.heading_ = 0;
6524 _impl_._has_bits_[0] &= ~0x00000002u;
6525}
6526inline double DivePacket_SubsurfaceCurrentVector::_internal_heading() const {
6527 return _impl_.heading_;
6528}
6529inline double DivePacket_SubsurfaceCurrentVector::heading() const {
6530 // @@protoc_insertion_point(field_get:jaiabot.protobuf.DivePacket.SubsurfaceCurrentVector.heading)
6531 return _internal_heading();
6532}
6533inline void DivePacket_SubsurfaceCurrentVector::_internal_set_heading(double value) {
6534 _impl_._has_bits_[0] |= 0x00000002u;
6535 _impl_.heading_ = value;
6536}
6537inline void DivePacket_SubsurfaceCurrentVector::set_heading(double value) {
6538 _internal_set_heading(value);
6539 // @@protoc_insertion_point(field_set:jaiabot.protobuf.DivePacket.SubsurfaceCurrentVector.heading)
6540}
6541
6542// -------------------------------------------------------------------
6543
6544// DivePacket
6545
6546// required double dive_rate = 10 [(.dccl.field) = {
6547inline bool DivePacket::_internal_has_dive_rate() const {
6548 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
6549 return value;
6550}
6551inline bool DivePacket::has_dive_rate() const {
6552 return _internal_has_dive_rate();
6553}
6554inline void DivePacket::clear_dive_rate() {
6555 _impl_.dive_rate_ = 0;
6556 _impl_._has_bits_[0] &= ~0x00000004u;
6557}
6558inline double DivePacket::_internal_dive_rate() const {
6559 return _impl_.dive_rate_;
6560}
6561inline double DivePacket::dive_rate() const {
6562 // @@protoc_insertion_point(field_get:jaiabot.protobuf.DivePacket.dive_rate)
6563 return _internal_dive_rate();
6564}
6565inline void DivePacket::_internal_set_dive_rate(double value) {
6566 _impl_._has_bits_[0] |= 0x00000004u;
6567 _impl_.dive_rate_ = value;
6568}
6569inline void DivePacket::set_dive_rate(double value) {
6570 _internal_set_dive_rate(value);
6571 // @@protoc_insertion_point(field_set:jaiabot.protobuf.DivePacket.dive_rate)
6572}
6573
6574// optional double unpowered_rise_rate = 11 [(.dccl.field) = {
6575inline bool DivePacket::_internal_has_unpowered_rise_rate() const {
6576 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
6577 return value;
6578}
6579inline bool DivePacket::has_unpowered_rise_rate() const {
6580 return _internal_has_unpowered_rise_rate();
6581}
6582inline void DivePacket::clear_unpowered_rise_rate() {
6583 _impl_.unpowered_rise_rate_ = 0;
6584 _impl_._has_bits_[0] &= ~0x00000008u;
6585}
6586inline double DivePacket::_internal_unpowered_rise_rate() const {
6587 return _impl_.unpowered_rise_rate_;
6588}
6589inline double DivePacket::unpowered_rise_rate() const {
6590 // @@protoc_insertion_point(field_get:jaiabot.protobuf.DivePacket.unpowered_rise_rate)
6591 return _internal_unpowered_rise_rate();
6592}
6593inline void DivePacket::_internal_set_unpowered_rise_rate(double value) {
6594 _impl_._has_bits_[0] |= 0x00000008u;
6595 _impl_.unpowered_rise_rate_ = value;
6596}
6597inline void DivePacket::set_unpowered_rise_rate(double value) {
6598 _internal_set_unpowered_rise_rate(value);
6599 // @@protoc_insertion_point(field_set:jaiabot.protobuf.DivePacket.unpowered_rise_rate)
6600}
6601
6602// optional double powered_rise_rate = 12 [(.dccl.field) = {
6603inline bool DivePacket::_internal_has_powered_rise_rate() const {
6604 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
6605 return value;
6606}
6607inline bool DivePacket::has_powered_rise_rate() const {
6608 return _internal_has_powered_rise_rate();
6609}
6610inline void DivePacket::clear_powered_rise_rate() {
6611 _impl_.powered_rise_rate_ = 0;
6612 _impl_._has_bits_[0] &= ~0x00000010u;
6613}
6614inline double DivePacket::_internal_powered_rise_rate() const {
6615 return _impl_.powered_rise_rate_;
6616}
6617inline double DivePacket::powered_rise_rate() const {
6618 // @@protoc_insertion_point(field_get:jaiabot.protobuf.DivePacket.powered_rise_rate)
6619 return _internal_powered_rise_rate();
6620}
6621inline void DivePacket::_internal_set_powered_rise_rate(double value) {
6622 _impl_._has_bits_[0] |= 0x00000010u;
6623 _impl_.powered_rise_rate_ = value;
6624}
6625inline void DivePacket::set_powered_rise_rate(double value) {
6626 _internal_set_powered_rise_rate(value);
6627 // @@protoc_insertion_point(field_set:jaiabot.protobuf.DivePacket.powered_rise_rate)
6628}
6629
6630// required double depth_achieved = 13 [(.dccl.field) = {
6631inline bool DivePacket::_internal_has_depth_achieved() const {
6632 bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
6633 return value;
6634}
6635inline bool DivePacket::has_depth_achieved() const {
6636 return _internal_has_depth_achieved();
6637}
6638inline void DivePacket::clear_depth_achieved() {
6639 _impl_.depth_achieved_ = 0;
6640 _impl_._has_bits_[0] &= ~0x00000020u;
6641}
6642inline double DivePacket::_internal_depth_achieved() const {
6643 return _impl_.depth_achieved_;
6644}
6645inline double DivePacket::depth_achieved() const {
6646 // @@protoc_insertion_point(field_get:jaiabot.protobuf.DivePacket.depth_achieved)
6647 return _internal_depth_achieved();
6648}
6649inline void DivePacket::_internal_set_depth_achieved(double value) {
6650 _impl_._has_bits_[0] |= 0x00000020u;
6651 _impl_.depth_achieved_ = value;
6652}
6653inline void DivePacket::set_depth_achieved(double value) {
6654 _internal_set_depth_achieved(value);
6655 // @@protoc_insertion_point(field_set:jaiabot.protobuf.DivePacket.depth_achieved)
6656}
6657
6658// repeated .jaiabot.protobuf.DivePacket.Measurements measurement = 14 [(.dccl.field) = {
6659inline int DivePacket::_internal_measurement_size() const {
6660 return _impl_.measurement_.size();
6661}
6662inline int DivePacket::measurement_size() const {
6663 return _internal_measurement_size();
6664}
6665inline void DivePacket::clear_measurement() {
6666 _impl_.measurement_.Clear();
6667}
6668inline ::jaiabot::protobuf::DivePacket_Measurements* DivePacket::mutable_measurement(int index) {
6669 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.DivePacket.measurement)
6670 return _impl_.measurement_.Mutable(index);
6671}
6672inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::protobuf::DivePacket_Measurements >*
6673DivePacket::mutable_measurement() {
6674 // @@protoc_insertion_point(field_mutable_list:jaiabot.protobuf.DivePacket.measurement)
6675 return &_impl_.measurement_;
6676}
6677inline const ::jaiabot::protobuf::DivePacket_Measurements& DivePacket::_internal_measurement(int index) const {
6678 return _impl_.measurement_.Get(index);
6679}
6680inline const ::jaiabot::protobuf::DivePacket_Measurements& DivePacket::measurement(int index) const {
6681 // @@protoc_insertion_point(field_get:jaiabot.protobuf.DivePacket.measurement)
6682 return _internal_measurement(index);
6683}
6684inline ::jaiabot::protobuf::DivePacket_Measurements* DivePacket::_internal_add_measurement() {
6685 return _impl_.measurement_.Add();
6686}
6687inline ::jaiabot::protobuf::DivePacket_Measurements* DivePacket::add_measurement() {
6688 ::jaiabot::protobuf::DivePacket_Measurements* _add = _internal_add_measurement();
6689 // @@protoc_insertion_point(field_add:jaiabot.protobuf.DivePacket.measurement)
6690 return _add;
6691}
6692inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::protobuf::DivePacket_Measurements >&
6693DivePacket::measurement() const {
6694 // @@protoc_insertion_point(field_list:jaiabot.protobuf.DivePacket.measurement)
6695 return _impl_.measurement_;
6696}
6697
6698// optional .jaiabot.protobuf.GeographicCoordinate start_location = 15 [(.jaia.field) = {
6699inline bool DivePacket::_internal_has_start_location() const {
6700 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
6701 PROTOBUF_ASSUME(!value || _impl_.start_location_ != nullptr);
6702 return value;
6703}
6704inline bool DivePacket::has_start_location() const {
6705 return _internal_has_start_location();
6706}
6707inline const ::jaiabot::protobuf::GeographicCoordinate& DivePacket::_internal_start_location() const {
6708 const ::jaiabot::protobuf::GeographicCoordinate* p = _impl_.start_location_;
6709 return p != nullptr ? *p : reinterpret_cast<const ::jaiabot::protobuf::GeographicCoordinate&>(
6711}
6712inline const ::jaiabot::protobuf::GeographicCoordinate& DivePacket::start_location() const {
6713 // @@protoc_insertion_point(field_get:jaiabot.protobuf.DivePacket.start_location)
6714 return _internal_start_location();
6715}
6716inline void DivePacket::unsafe_arena_set_allocated_start_location(
6718 if (GetArenaForAllocation() == nullptr) {
6719 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.start_location_);
6720 }
6721 _impl_.start_location_ = start_location;
6722 if (start_location) {
6723 _impl_._has_bits_[0] |= 0x00000001u;
6724 } else {
6725 _impl_._has_bits_[0] &= ~0x00000001u;
6726 }
6727 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.DivePacket.start_location)
6728}
6729inline ::jaiabot::protobuf::GeographicCoordinate* DivePacket::release_start_location() {
6730 _impl_._has_bits_[0] &= ~0x00000001u;
6731 ::jaiabot::protobuf::GeographicCoordinate* temp = _impl_.start_location_;
6732 _impl_.start_location_ = nullptr;
6733#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
6734 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
6735 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
6736 if (GetArenaForAllocation() == nullptr) { delete old; }
6737#else // PROTOBUF_FORCE_COPY_IN_RELEASE
6738 if (GetArenaForAllocation() != nullptr) {
6739 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
6740 }
6741#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
6742 return temp;
6743}
6744inline ::jaiabot::protobuf::GeographicCoordinate* DivePacket::unsafe_arena_release_start_location() {
6745 // @@protoc_insertion_point(field_release:jaiabot.protobuf.DivePacket.start_location)
6746 _impl_._has_bits_[0] &= ~0x00000001u;
6747 ::jaiabot::protobuf::GeographicCoordinate* temp = _impl_.start_location_;
6748 _impl_.start_location_ = nullptr;
6749 return temp;
6750}
6751inline ::jaiabot::protobuf::GeographicCoordinate* DivePacket::_internal_mutable_start_location() {
6752 _impl_._has_bits_[0] |= 0x00000001u;
6753 if (_impl_.start_location_ == nullptr) {
6754 auto* p = CreateMaybeMessage<::jaiabot::protobuf::GeographicCoordinate>(GetArenaForAllocation());
6755 _impl_.start_location_ = p;
6756 }
6757 return _impl_.start_location_;
6758}
6759inline ::jaiabot::protobuf::GeographicCoordinate* DivePacket::mutable_start_location() {
6760 ::jaiabot::protobuf::GeographicCoordinate* _msg = _internal_mutable_start_location();
6761 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.DivePacket.start_location)
6762 return _msg;
6763}
6764inline void DivePacket::set_allocated_start_location(::jaiabot::protobuf::GeographicCoordinate* start_location) {
6765 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
6766 if (message_arena == nullptr) {
6767 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.start_location_);
6768 }
6769 if (start_location) {
6770 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
6771 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
6772 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(start_location));
6773 if (message_arena != submessage_arena) {
6774 start_location = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
6775 message_arena, start_location, submessage_arena);
6776 }
6777 _impl_._has_bits_[0] |= 0x00000001u;
6778 } else {
6779 _impl_._has_bits_[0] &= ~0x00000001u;
6780 }
6781 _impl_.start_location_ = start_location;
6782 // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.DivePacket.start_location)
6783}
6784
6785// optional double duration_to_acquire_gps = 16 [(.dccl.field) = {
6786inline bool DivePacket::_internal_has_duration_to_acquire_gps() const {
6787 bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0;
6788 return value;
6789}
6790inline bool DivePacket::has_duration_to_acquire_gps() const {
6791 return _internal_has_duration_to_acquire_gps();
6792}
6793inline void DivePacket::clear_duration_to_acquire_gps() {
6794 _impl_.duration_to_acquire_gps_ = 0;
6795 _impl_._has_bits_[0] &= ~0x00000040u;
6796}
6797inline double DivePacket::_internal_duration_to_acquire_gps() const {
6798 return _impl_.duration_to_acquire_gps_;
6799}
6800inline double DivePacket::duration_to_acquire_gps() const {
6801 // @@protoc_insertion_point(field_get:jaiabot.protobuf.DivePacket.duration_to_acquire_gps)
6802 return _internal_duration_to_acquire_gps();
6803}
6804inline void DivePacket::_internal_set_duration_to_acquire_gps(double value) {
6805 _impl_._has_bits_[0] |= 0x00000040u;
6806 _impl_.duration_to_acquire_gps_ = value;
6807}
6808inline void DivePacket::set_duration_to_acquire_gps(double value) {
6809 _internal_set_duration_to_acquire_gps(value);
6810 // @@protoc_insertion_point(field_set:jaiabot.protobuf.DivePacket.duration_to_acquire_gps)
6811}
6812
6813// optional bool bottom_dive = 17 [default = false, (.jaia.field) = {
6814inline bool DivePacket::_internal_has_bottom_dive() const {
6815 bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0;
6816 return value;
6817}
6818inline bool DivePacket::has_bottom_dive() const {
6819 return _internal_has_bottom_dive();
6820}
6821inline void DivePacket::clear_bottom_dive() {
6822 _impl_.bottom_dive_ = false;
6823 _impl_._has_bits_[0] &= ~0x00000100u;
6824}
6825inline bool DivePacket::_internal_bottom_dive() const {
6826 return _impl_.bottom_dive_;
6827}
6828inline bool DivePacket::bottom_dive() const {
6829 // @@protoc_insertion_point(field_get:jaiabot.protobuf.DivePacket.bottom_dive)
6830 return _internal_bottom_dive();
6831}
6832inline void DivePacket::_internal_set_bottom_dive(bool value) {
6833 _impl_._has_bits_[0] |= 0x00000100u;
6834 _impl_.bottom_dive_ = value;
6835}
6836inline void DivePacket::set_bottom_dive(bool value) {
6837 _internal_set_bottom_dive(value);
6838 // @@protoc_insertion_point(field_set:jaiabot.protobuf.DivePacket.bottom_dive)
6839}
6840
6841// optional bool reached_min_depth = 18 [default = false, (.jaia.field) = {
6842inline bool DivePacket::_internal_has_reached_min_depth() const {
6843 bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0;
6844 return value;
6845}
6846inline bool DivePacket::has_reached_min_depth() const {
6847 return _internal_has_reached_min_depth();
6848}
6849inline void DivePacket::clear_reached_min_depth() {
6850 _impl_.reached_min_depth_ = false;
6851 _impl_._has_bits_[0] &= ~0x00000200u;
6852}
6853inline bool DivePacket::_internal_reached_min_depth() const {
6854 return _impl_.reached_min_depth_;
6855}
6856inline bool DivePacket::reached_min_depth() const {
6857 // @@protoc_insertion_point(field_get:jaiabot.protobuf.DivePacket.reached_min_depth)
6858 return _internal_reached_min_depth();
6859}
6860inline void DivePacket::_internal_set_reached_min_depth(bool value) {
6861 _impl_._has_bits_[0] |= 0x00000200u;
6862 _impl_.reached_min_depth_ = value;
6863}
6864inline void DivePacket::set_reached_min_depth(bool value) {
6865 _internal_set_reached_min_depth(value);
6866 // @@protoc_insertion_point(field_set:jaiabot.protobuf.DivePacket.reached_min_depth)
6867}
6868
6869// optional .jaiabot.protobuf.DivePacket.BottomType bottom_type = 19 [(.jaia.field) = {
6870inline bool DivePacket::_internal_has_bottom_type() const {
6871 bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0;
6872 return value;
6873}
6874inline bool DivePacket::has_bottom_type() const {
6875 return _internal_has_bottom_type();
6876}
6877inline void DivePacket::clear_bottom_type() {
6878 _impl_.bottom_type_ = 1;
6879 _impl_._has_bits_[0] &= ~0x00000400u;
6880}
6881inline ::jaiabot::protobuf::DivePacket_BottomType DivePacket::_internal_bottom_type() const {
6882 return static_cast< ::jaiabot::protobuf::DivePacket_BottomType >(_impl_.bottom_type_);
6883}
6884inline ::jaiabot::protobuf::DivePacket_BottomType DivePacket::bottom_type() const {
6885 // @@protoc_insertion_point(field_get:jaiabot.protobuf.DivePacket.bottom_type)
6886 return _internal_bottom_type();
6887}
6888inline void DivePacket::_internal_set_bottom_type(::jaiabot::protobuf::DivePacket_BottomType value) {
6890 _impl_._has_bits_[0] |= 0x00000400u;
6891 _impl_.bottom_type_ = value;
6892}
6893inline void DivePacket::set_bottom_type(::jaiabot::protobuf::DivePacket_BottomType value) {
6894 _internal_set_bottom_type(value);
6895 // @@protoc_insertion_point(field_set:jaiabot.protobuf.DivePacket.bottom_type)
6896}
6897
6898// optional double max_acceleration = 20 [(.dccl.field) = {
6899inline bool DivePacket::_internal_has_max_acceleration() const {
6900 bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0;
6901 return value;
6902}
6903inline bool DivePacket::has_max_acceleration() const {
6904 return _internal_has_max_acceleration();
6905}
6906inline void DivePacket::clear_max_acceleration() {
6907 _impl_.max_acceleration_ = 0;
6908 _impl_._has_bits_[0] &= ~0x00000080u;
6909}
6910inline double DivePacket::_internal_max_acceleration() const {
6911 return _impl_.max_acceleration_;
6912}
6913inline double DivePacket::max_acceleration() const {
6914 // @@protoc_insertion_point(field_get:jaiabot.protobuf.DivePacket.max_acceleration)
6915 return _internal_max_acceleration();
6916}
6917inline void DivePacket::_internal_set_max_acceleration(double value) {
6918 _impl_._has_bits_[0] |= 0x00000080u;
6919 _impl_.max_acceleration_ = value;
6920}
6921inline void DivePacket::set_max_acceleration(double value) {
6922 _internal_set_max_acceleration(value);
6923 // @@protoc_insertion_point(field_set:jaiabot.protobuf.DivePacket.max_acceleration)
6924}
6925
6926// optional .jaiabot.protobuf.DivePacket.SubsurfaceCurrentVector subsurface_current = 21 [(.jaia.field) = {
6927inline bool DivePacket::_internal_has_subsurface_current() const {
6928 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
6929 PROTOBUF_ASSUME(!value || _impl_.subsurface_current_ != nullptr);
6930 return value;
6931}
6932inline bool DivePacket::has_subsurface_current() const {
6933 return _internal_has_subsurface_current();
6934}
6935inline void DivePacket::clear_subsurface_current() {
6936 if (_impl_.subsurface_current_ != nullptr) _impl_.subsurface_current_->Clear();
6937 _impl_._has_bits_[0] &= ~0x00000002u;
6938}
6939inline const ::jaiabot::protobuf::DivePacket_SubsurfaceCurrentVector& DivePacket::_internal_subsurface_current() const {
6940 const ::jaiabot::protobuf::DivePacket_SubsurfaceCurrentVector* p = _impl_.subsurface_current_;
6941 return p != nullptr ? *p : reinterpret_cast<const ::jaiabot::protobuf::DivePacket_SubsurfaceCurrentVector&>(
6943}
6944inline const ::jaiabot::protobuf::DivePacket_SubsurfaceCurrentVector& DivePacket::subsurface_current() const {
6945 // @@protoc_insertion_point(field_get:jaiabot.protobuf.DivePacket.subsurface_current)
6946 return _internal_subsurface_current();
6947}
6948inline void DivePacket::unsafe_arena_set_allocated_subsurface_current(
6950 if (GetArenaForAllocation() == nullptr) {
6951 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.subsurface_current_);
6952 }
6953 _impl_.subsurface_current_ = subsurface_current;
6954 if (subsurface_current) {
6955 _impl_._has_bits_[0] |= 0x00000002u;
6956 } else {
6957 _impl_._has_bits_[0] &= ~0x00000002u;
6958 }
6959 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.DivePacket.subsurface_current)
6960}
6961inline ::jaiabot::protobuf::DivePacket_SubsurfaceCurrentVector* DivePacket::release_subsurface_current() {
6962 _impl_._has_bits_[0] &= ~0x00000002u;
6963 ::jaiabot::protobuf::DivePacket_SubsurfaceCurrentVector* temp = _impl_.subsurface_current_;
6964 _impl_.subsurface_current_ = nullptr;
6965#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
6966 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
6967 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
6968 if (GetArenaForAllocation() == nullptr) { delete old; }
6969#else // PROTOBUF_FORCE_COPY_IN_RELEASE
6970 if (GetArenaForAllocation() != nullptr) {
6971 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
6972 }
6973#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
6974 return temp;
6975}
6976inline ::jaiabot::protobuf::DivePacket_SubsurfaceCurrentVector* DivePacket::unsafe_arena_release_subsurface_current() {
6977 // @@protoc_insertion_point(field_release:jaiabot.protobuf.DivePacket.subsurface_current)
6978 _impl_._has_bits_[0] &= ~0x00000002u;
6979 ::jaiabot::protobuf::DivePacket_SubsurfaceCurrentVector* temp = _impl_.subsurface_current_;
6980 _impl_.subsurface_current_ = nullptr;
6981 return temp;
6982}
6983inline ::jaiabot::protobuf::DivePacket_SubsurfaceCurrentVector* DivePacket::_internal_mutable_subsurface_current() {
6984 _impl_._has_bits_[0] |= 0x00000002u;
6985 if (_impl_.subsurface_current_ == nullptr) {
6987 _impl_.subsurface_current_ = p;
6988 }
6989 return _impl_.subsurface_current_;
6990}
6991inline ::jaiabot::protobuf::DivePacket_SubsurfaceCurrentVector* DivePacket::mutable_subsurface_current() {
6992 ::jaiabot::protobuf::DivePacket_SubsurfaceCurrentVector* _msg = _internal_mutable_subsurface_current();
6993 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.DivePacket.subsurface_current)
6994 return _msg;
6995}
6996inline void DivePacket::set_allocated_subsurface_current(::jaiabot::protobuf::DivePacket_SubsurfaceCurrentVector* subsurface_current) {
6997 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
6998 if (message_arena == nullptr) {
6999 delete _impl_.subsurface_current_;
7000 }
7001 if (subsurface_current) {
7002 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
7003 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(subsurface_current);
7004 if (message_arena != submessage_arena) {
7005 subsurface_current = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
7006 message_arena, subsurface_current, submessage_arena);
7007 }
7008 _impl_._has_bits_[0] |= 0x00000002u;
7009 } else {
7010 _impl_._has_bits_[0] &= ~0x00000002u;
7011 }
7012 _impl_.subsurface_current_ = subsurface_current;
7013 // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.DivePacket.subsurface_current)
7014}
7015
7016// -------------------------------------------------------------------
7017
7018// TaskPacket
7019
7020// required uint32 bot_id = 1 [(.dccl.field) = {
7021inline bool TaskPacket::_internal_has_bot_id() const {
7022 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
7023 return value;
7024}
7025inline bool TaskPacket::has_bot_id() const {
7026 return _internal_has_bot_id();
7027}
7028inline void TaskPacket::clear_bot_id() {
7029 _impl_.bot_id_ = 0u;
7030 _impl_._has_bits_[0] &= ~0x00000008u;
7031}
7032inline uint32_t TaskPacket::_internal_bot_id() const {
7033 return _impl_.bot_id_;
7034}
7035inline uint32_t TaskPacket::bot_id() const {
7036 // @@protoc_insertion_point(field_get:jaiabot.protobuf.TaskPacket.bot_id)
7037 return _internal_bot_id();
7038}
7039inline void TaskPacket::_internal_set_bot_id(uint32_t value) {
7040 _impl_._has_bits_[0] |= 0x00000008u;
7041 _impl_.bot_id_ = value;
7042}
7043inline void TaskPacket::set_bot_id(uint32_t value) {
7044 _internal_set_bot_id(value);
7045 // @@protoc_insertion_point(field_set:jaiabot.protobuf.TaskPacket.bot_id)
7046}
7047
7048// required uint64 start_time = 2 [(.dccl.field) = {
7049inline bool TaskPacket::_internal_has_start_time() const {
7050 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
7051 return value;
7052}
7053inline bool TaskPacket::has_start_time() const {
7054 return _internal_has_start_time();
7055}
7056inline void TaskPacket::clear_start_time() {
7057 _impl_.start_time_ = uint64_t{0u};
7058 _impl_._has_bits_[0] &= ~0x00000004u;
7059}
7060inline uint64_t TaskPacket::_internal_start_time() const {
7061 return _impl_.start_time_;
7062}
7063inline uint64_t TaskPacket::start_time() const {
7064 // @@protoc_insertion_point(field_get:jaiabot.protobuf.TaskPacket.start_time)
7065 return _internal_start_time();
7066}
7067inline void TaskPacket::_internal_set_start_time(uint64_t value) {
7068 _impl_._has_bits_[0] |= 0x00000004u;
7069 _impl_.start_time_ = value;
7070}
7071inline void TaskPacket::set_start_time(uint64_t value) {
7072 _internal_set_start_time(value);
7073 // @@protoc_insertion_point(field_set:jaiabot.protobuf.TaskPacket.start_time)
7074}
7075
7076// required uint64 end_time = 3 [(.dccl.field) = {
7077inline bool TaskPacket::_internal_has_end_time() const {
7078 bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
7079 return value;
7080}
7081inline bool TaskPacket::has_end_time() const {
7082 return _internal_has_end_time();
7083}
7084inline void TaskPacket::clear_end_time() {
7085 _impl_.end_time_ = uint64_t{0u};
7086 _impl_._has_bits_[0] &= ~0x00000020u;
7087}
7088inline uint64_t TaskPacket::_internal_end_time() const {
7089 return _impl_.end_time_;
7090}
7091inline uint64_t TaskPacket::end_time() const {
7092 // @@protoc_insertion_point(field_get:jaiabot.protobuf.TaskPacket.end_time)
7093 return _internal_end_time();
7094}
7095inline void TaskPacket::_internal_set_end_time(uint64_t value) {
7096 _impl_._has_bits_[0] |= 0x00000020u;
7097 _impl_.end_time_ = value;
7098}
7099inline void TaskPacket::set_end_time(uint64_t value) {
7100 _internal_set_end_time(value);
7101 // @@protoc_insertion_point(field_set:jaiabot.protobuf.TaskPacket.end_time)
7102}
7103
7104// required .jaiabot.protobuf.MissionTask.TaskType type = 4 [(.jaia.field) = {
7105inline bool TaskPacket::_internal_has_type() const {
7106 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
7107 return value;
7108}
7109inline bool TaskPacket::has_type() const {
7110 return _internal_has_type();
7111}
7112inline void TaskPacket::clear_type() {
7113 _impl_.type_ = 0;
7114 _impl_._has_bits_[0] &= ~0x00000010u;
7115}
7116inline ::jaiabot::protobuf::MissionTask_TaskType TaskPacket::_internal_type() const {
7117 return static_cast< ::jaiabot::protobuf::MissionTask_TaskType >(_impl_.type_);
7118}
7119inline ::jaiabot::protobuf::MissionTask_TaskType TaskPacket::type() const {
7120 // @@protoc_insertion_point(field_get:jaiabot.protobuf.TaskPacket.type)
7121 return _internal_type();
7122}
7123inline void TaskPacket::_internal_set_type(::jaiabot::protobuf::MissionTask_TaskType value) {
7125 _impl_._has_bits_[0] |= 0x00000010u;
7126 _impl_.type_ = value;
7127}
7128inline void TaskPacket::set_type(::jaiabot::protobuf::MissionTask_TaskType value) {
7129 _internal_set_type(value);
7130 // @@protoc_insertion_point(field_set:jaiabot.protobuf.TaskPacket.type)
7131}
7132
7133// optional .jaiabot.protobuf.Link link = 5 [(.dccl.field) = {
7134inline bool TaskPacket::_internal_has_link() const {
7135 bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0;
7136 return value;
7137}
7138inline bool TaskPacket::has_link() const {
7139 return _internal_has_link();
7140}
7141inline void TaskPacket::clear_link() {
7142 _impl_.link_ = -1;
7143 _impl_._has_bits_[0] &= ~0x00000040u;
7144}
7145inline ::jaiabot::protobuf::Link TaskPacket::_internal_link() const {
7146 return static_cast< ::jaiabot::protobuf::Link >(_impl_.link_);
7147}
7148inline ::jaiabot::protobuf::Link TaskPacket::link() const {
7149 // @@protoc_insertion_point(field_get:jaiabot.protobuf.TaskPacket.link)
7150 return _internal_link();
7151}
7152inline void TaskPacket::_internal_set_link(::jaiabot::protobuf::Link value) {
7153 assert(::jaiabot::protobuf::Link_IsValid(value));
7154 _impl_._has_bits_[0] |= 0x00000040u;
7155 _impl_.link_ = value;
7156}
7157inline void TaskPacket::set_link(::jaiabot::protobuf::Link value) {
7158 _internal_set_link(value);
7159 // @@protoc_insertion_point(field_set:jaiabot.protobuf.TaskPacket.link)
7160}
7161
7162// optional .jaiabot.protobuf.DivePacket dive = 10 [(.jaia.field) = {
7163inline bool TaskPacket::_internal_has_dive() const {
7164 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
7165 PROTOBUF_ASSUME(!value || _impl_.dive_ != nullptr);
7166 return value;
7167}
7168inline bool TaskPacket::has_dive() const {
7169 return _internal_has_dive();
7170}
7171inline void TaskPacket::clear_dive() {
7172 if (_impl_.dive_ != nullptr) _impl_.dive_->Clear();
7173 _impl_._has_bits_[0] &= ~0x00000001u;
7174}
7175inline const ::jaiabot::protobuf::DivePacket& TaskPacket::_internal_dive() const {
7176 const ::jaiabot::protobuf::DivePacket* p = _impl_.dive_;
7177 return p != nullptr ? *p : reinterpret_cast<const ::jaiabot::protobuf::DivePacket&>(
7179}
7180inline const ::jaiabot::protobuf::DivePacket& TaskPacket::dive() const {
7181 // @@protoc_insertion_point(field_get:jaiabot.protobuf.TaskPacket.dive)
7182 return _internal_dive();
7183}
7184inline void TaskPacket::unsafe_arena_set_allocated_dive(
7186 if (GetArenaForAllocation() == nullptr) {
7187 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.dive_);
7188 }
7189 _impl_.dive_ = dive;
7190 if (dive) {
7191 _impl_._has_bits_[0] |= 0x00000001u;
7192 } else {
7193 _impl_._has_bits_[0] &= ~0x00000001u;
7194 }
7195 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.TaskPacket.dive)
7196}
7197inline ::jaiabot::protobuf::DivePacket* TaskPacket::release_dive() {
7198 _impl_._has_bits_[0] &= ~0x00000001u;
7199 ::jaiabot::protobuf::DivePacket* temp = _impl_.dive_;
7200 _impl_.dive_ = nullptr;
7201#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
7202 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
7203 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
7204 if (GetArenaForAllocation() == nullptr) { delete old; }
7205#else // PROTOBUF_FORCE_COPY_IN_RELEASE
7206 if (GetArenaForAllocation() != nullptr) {
7207 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
7208 }
7209#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
7210 return temp;
7211}
7212inline ::jaiabot::protobuf::DivePacket* TaskPacket::unsafe_arena_release_dive() {
7213 // @@protoc_insertion_point(field_release:jaiabot.protobuf.TaskPacket.dive)
7214 _impl_._has_bits_[0] &= ~0x00000001u;
7215 ::jaiabot::protobuf::DivePacket* temp = _impl_.dive_;
7216 _impl_.dive_ = nullptr;
7217 return temp;
7218}
7219inline ::jaiabot::protobuf::DivePacket* TaskPacket::_internal_mutable_dive() {
7220 _impl_._has_bits_[0] |= 0x00000001u;
7221 if (_impl_.dive_ == nullptr) {
7222 auto* p = CreateMaybeMessage<::jaiabot::protobuf::DivePacket>(GetArenaForAllocation());
7223 _impl_.dive_ = p;
7224 }
7225 return _impl_.dive_;
7226}
7227inline ::jaiabot::protobuf::DivePacket* TaskPacket::mutable_dive() {
7228 ::jaiabot::protobuf::DivePacket* _msg = _internal_mutable_dive();
7229 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.TaskPacket.dive)
7230 return _msg;
7231}
7232inline void TaskPacket::set_allocated_dive(::jaiabot::protobuf::DivePacket* dive) {
7233 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
7234 if (message_arena == nullptr) {
7235 delete _impl_.dive_;
7236 }
7237 if (dive) {
7238 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
7239 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(dive);
7240 if (message_arena != submessage_arena) {
7241 dive = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
7242 message_arena, dive, submessage_arena);
7243 }
7244 _impl_._has_bits_[0] |= 0x00000001u;
7245 } else {
7246 _impl_._has_bits_[0] &= ~0x00000001u;
7247 }
7248 _impl_.dive_ = dive;
7249 // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.TaskPacket.dive)
7250}
7251
7252// optional .jaiabot.protobuf.DriftPacket drift = 11 [(.jaia.field) = {
7253inline bool TaskPacket::_internal_has_drift() const {
7254 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
7255 PROTOBUF_ASSUME(!value || _impl_.drift_ != nullptr);
7256 return value;
7257}
7258inline bool TaskPacket::has_drift() const {
7259 return _internal_has_drift();
7260}
7261inline void TaskPacket::clear_drift() {
7262 if (_impl_.drift_ != nullptr) _impl_.drift_->Clear();
7263 _impl_._has_bits_[0] &= ~0x00000002u;
7264}
7265inline const ::jaiabot::protobuf::DriftPacket& TaskPacket::_internal_drift() const {
7266 const ::jaiabot::protobuf::DriftPacket* p = _impl_.drift_;
7267 return p != nullptr ? *p : reinterpret_cast<const ::jaiabot::protobuf::DriftPacket&>(
7269}
7270inline const ::jaiabot::protobuf::DriftPacket& TaskPacket::drift() const {
7271 // @@protoc_insertion_point(field_get:jaiabot.protobuf.TaskPacket.drift)
7272 return _internal_drift();
7273}
7274inline void TaskPacket::unsafe_arena_set_allocated_drift(
7276 if (GetArenaForAllocation() == nullptr) {
7277 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.drift_);
7278 }
7279 _impl_.drift_ = drift;
7280 if (drift) {
7281 _impl_._has_bits_[0] |= 0x00000002u;
7282 } else {
7283 _impl_._has_bits_[0] &= ~0x00000002u;
7284 }
7285 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.TaskPacket.drift)
7286}
7287inline ::jaiabot::protobuf::DriftPacket* TaskPacket::release_drift() {
7288 _impl_._has_bits_[0] &= ~0x00000002u;
7289 ::jaiabot::protobuf::DriftPacket* temp = _impl_.drift_;
7290 _impl_.drift_ = nullptr;
7291#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
7292 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
7293 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
7294 if (GetArenaForAllocation() == nullptr) { delete old; }
7295#else // PROTOBUF_FORCE_COPY_IN_RELEASE
7296 if (GetArenaForAllocation() != nullptr) {
7297 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
7298 }
7299#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
7300 return temp;
7301}
7302inline ::jaiabot::protobuf::DriftPacket* TaskPacket::unsafe_arena_release_drift() {
7303 // @@protoc_insertion_point(field_release:jaiabot.protobuf.TaskPacket.drift)
7304 _impl_._has_bits_[0] &= ~0x00000002u;
7305 ::jaiabot::protobuf::DriftPacket* temp = _impl_.drift_;
7306 _impl_.drift_ = nullptr;
7307 return temp;
7308}
7309inline ::jaiabot::protobuf::DriftPacket* TaskPacket::_internal_mutable_drift() {
7310 _impl_._has_bits_[0] |= 0x00000002u;
7311 if (_impl_.drift_ == nullptr) {
7312 auto* p = CreateMaybeMessage<::jaiabot::protobuf::DriftPacket>(GetArenaForAllocation());
7313 _impl_.drift_ = p;
7314 }
7315 return _impl_.drift_;
7316}
7317inline ::jaiabot::protobuf::DriftPacket* TaskPacket::mutable_drift() {
7318 ::jaiabot::protobuf::DriftPacket* _msg = _internal_mutable_drift();
7319 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.TaskPacket.drift)
7320 return _msg;
7321}
7322inline void TaskPacket::set_allocated_drift(::jaiabot::protobuf::DriftPacket* drift) {
7323 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
7324 if (message_arena == nullptr) {
7325 delete _impl_.drift_;
7326 }
7327 if (drift) {
7328 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
7329 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(drift);
7330 if (message_arena != submessage_arena) {
7331 drift = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
7332 message_arena, drift, submessage_arena);
7333 }
7334 _impl_._has_bits_[0] |= 0x00000002u;
7335 } else {
7336 _impl_._has_bits_[0] &= ~0x00000002u;
7337 }
7338 _impl_.drift_ = drift;
7339 // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.TaskPacket.drift)
7340}
7341
7342// -------------------------------------------------------------------
7343
7344// ContactUpdate
7345
7346// optional int32 contact = 1 [(.dccl.field) = {
7347inline bool ContactUpdate::_internal_has_contact() const {
7348 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
7349 return value;
7350}
7351inline bool ContactUpdate::has_contact() const {
7352 return _internal_has_contact();
7353}
7354inline void ContactUpdate::clear_contact() {
7355 _impl_.contact_ = 0;
7356 _impl_._has_bits_[0] &= ~0x00000008u;
7357}
7358inline int32_t ContactUpdate::_internal_contact() const {
7359 return _impl_.contact_;
7360}
7361inline int32_t ContactUpdate::contact() const {
7362 // @@protoc_insertion_point(field_get:jaiabot.protobuf.ContactUpdate.contact)
7363 return _internal_contact();
7364}
7365inline void ContactUpdate::_internal_set_contact(int32_t value) {
7366 _impl_._has_bits_[0] |= 0x00000008u;
7367 _impl_.contact_ = value;
7368}
7369inline void ContactUpdate::set_contact(int32_t value) {
7370 _internal_set_contact(value);
7371 // @@protoc_insertion_point(field_set:jaiabot.protobuf.ContactUpdate.contact)
7372}
7373
7374// required .jaiabot.protobuf.GeographicCoordinate location = 2;
7375inline bool ContactUpdate::_internal_has_location() const {
7376 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
7377 PROTOBUF_ASSUME(!value || _impl_.location_ != nullptr);
7378 return value;
7379}
7380inline bool ContactUpdate::has_location() const {
7381 return _internal_has_location();
7382}
7383inline const ::jaiabot::protobuf::GeographicCoordinate& ContactUpdate::_internal_location() const {
7384 const ::jaiabot::protobuf::GeographicCoordinate* p = _impl_.location_;
7385 return p != nullptr ? *p : reinterpret_cast<const ::jaiabot::protobuf::GeographicCoordinate&>(
7387}
7388inline const ::jaiabot::protobuf::GeographicCoordinate& ContactUpdate::location() const {
7389 // @@protoc_insertion_point(field_get:jaiabot.protobuf.ContactUpdate.location)
7390 return _internal_location();
7391}
7392inline void ContactUpdate::unsafe_arena_set_allocated_location(
7394 if (GetArenaForAllocation() == nullptr) {
7395 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.location_);
7396 }
7397 _impl_.location_ = location;
7398 if (location) {
7399 _impl_._has_bits_[0] |= 0x00000001u;
7400 } else {
7401 _impl_._has_bits_[0] &= ~0x00000001u;
7402 }
7403 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.ContactUpdate.location)
7404}
7405inline ::jaiabot::protobuf::GeographicCoordinate* ContactUpdate::release_location() {
7406 _impl_._has_bits_[0] &= ~0x00000001u;
7407 ::jaiabot::protobuf::GeographicCoordinate* temp = _impl_.location_;
7408 _impl_.location_ = nullptr;
7409#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
7410 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
7411 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
7412 if (GetArenaForAllocation() == nullptr) { delete old; }
7413#else // PROTOBUF_FORCE_COPY_IN_RELEASE
7414 if (GetArenaForAllocation() != nullptr) {
7415 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
7416 }
7417#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
7418 return temp;
7419}
7420inline ::jaiabot::protobuf::GeographicCoordinate* ContactUpdate::unsafe_arena_release_location() {
7421 // @@protoc_insertion_point(field_release:jaiabot.protobuf.ContactUpdate.location)
7422 _impl_._has_bits_[0] &= ~0x00000001u;
7423 ::jaiabot::protobuf::GeographicCoordinate* temp = _impl_.location_;
7424 _impl_.location_ = nullptr;
7425 return temp;
7426}
7427inline ::jaiabot::protobuf::GeographicCoordinate* ContactUpdate::_internal_mutable_location() {
7428 _impl_._has_bits_[0] |= 0x00000001u;
7429 if (_impl_.location_ == nullptr) {
7430 auto* p = CreateMaybeMessage<::jaiabot::protobuf::GeographicCoordinate>(GetArenaForAllocation());
7431 _impl_.location_ = p;
7432 }
7433 return _impl_.location_;
7434}
7435inline ::jaiabot::protobuf::GeographicCoordinate* ContactUpdate::mutable_location() {
7436 ::jaiabot::protobuf::GeographicCoordinate* _msg = _internal_mutable_location();
7437 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.ContactUpdate.location)
7438 return _msg;
7439}
7440inline void ContactUpdate::set_allocated_location(::jaiabot::protobuf::GeographicCoordinate* location) {
7441 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
7442 if (message_arena == nullptr) {
7443 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.location_);
7444 }
7445 if (location) {
7446 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
7447 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
7448 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(location));
7449 if (message_arena != submessage_arena) {
7450 location = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
7451 message_arena, location, submessage_arena);
7452 }
7453 _impl_._has_bits_[0] |= 0x00000001u;
7454 } else {
7455 _impl_._has_bits_[0] &= ~0x00000001u;
7456 }
7457 _impl_.location_ = location;
7458 // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.ContactUpdate.location)
7459}
7460
7461// optional double speed_over_ground = 3 [(.dccl.field) = {
7462inline bool ContactUpdate::_internal_has_speed_over_ground() const {
7463 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
7464 return value;
7465}
7466inline bool ContactUpdate::has_speed_over_ground() const {
7467 return _internal_has_speed_over_ground();
7468}
7469inline void ContactUpdate::clear_speed_over_ground() {
7470 _impl_.speed_over_ground_ = 0;
7471 _impl_._has_bits_[0] &= ~0x00000002u;
7472}
7473inline double ContactUpdate::_internal_speed_over_ground() const {
7474 return _impl_.speed_over_ground_;
7475}
7476inline double ContactUpdate::speed_over_ground() const {
7477 // @@protoc_insertion_point(field_get:jaiabot.protobuf.ContactUpdate.speed_over_ground)
7478 return _internal_speed_over_ground();
7479}
7480inline void ContactUpdate::_internal_set_speed_over_ground(double value) {
7481 _impl_._has_bits_[0] |= 0x00000002u;
7482 _impl_.speed_over_ground_ = value;
7483}
7484inline void ContactUpdate::set_speed_over_ground(double value) {
7485 _internal_set_speed_over_ground(value);
7486 // @@protoc_insertion_point(field_set:jaiabot.protobuf.ContactUpdate.speed_over_ground)
7487}
7488
7489// optional double heading_or_cog = 5 [(.dccl.field) = {
7490inline bool ContactUpdate::_internal_has_heading_or_cog() const {
7491 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
7492 return value;
7493}
7494inline bool ContactUpdate::has_heading_or_cog() const {
7495 return _internal_has_heading_or_cog();
7496}
7497inline void ContactUpdate::clear_heading_or_cog() {
7498 _impl_.heading_or_cog_ = 0;
7499 _impl_._has_bits_[0] &= ~0x00000004u;
7500}
7501inline double ContactUpdate::_internal_heading_or_cog() const {
7502 return _impl_.heading_or_cog_;
7503}
7504inline double ContactUpdate::heading_or_cog() const {
7505 // @@protoc_insertion_point(field_get:jaiabot.protobuf.ContactUpdate.heading_or_cog)
7506 return _internal_heading_or_cog();
7507}
7508inline void ContactUpdate::_internal_set_heading_or_cog(double value) {
7509 _impl_._has_bits_[0] |= 0x00000004u;
7510 _impl_.heading_or_cog_ = value;
7511}
7512inline void ContactUpdate::set_heading_or_cog(double value) {
7513 _internal_set_heading_or_cog(value);
7514 // @@protoc_insertion_point(field_set:jaiabot.protobuf.ContactUpdate.heading_or_cog)
7515}
7516
7517// -------------------------------------------------------------------
7518
7519// Hub2HubData
7520
7521// required uint32 hub_id = 1 [(.dccl.field) = {
7522inline bool Hub2HubData::_internal_has_hub_id() const {
7523 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
7524 return value;
7525}
7526inline bool Hub2HubData::has_hub_id() const {
7527 return _internal_has_hub_id();
7528}
7529inline void Hub2HubData::clear_hub_id() {
7530 _impl_.hub_id_ = 0u;
7531 _impl_._has_bits_[0] &= ~0x00000002u;
7532}
7533inline uint32_t Hub2HubData::_internal_hub_id() const {
7534 return _impl_.hub_id_;
7535}
7536inline uint32_t Hub2HubData::hub_id() const {
7537 // @@protoc_insertion_point(field_get:jaiabot.protobuf.Hub2HubData.hub_id)
7538 return _internal_hub_id();
7539}
7540inline void Hub2HubData::_internal_set_hub_id(uint32_t value) {
7541 _impl_._has_bits_[0] |= 0x00000002u;
7542 _impl_.hub_id_ = value;
7543}
7544inline void Hub2HubData::set_hub_id(uint32_t value) {
7545 _internal_set_hub_id(value);
7546 // @@protoc_insertion_point(field_set:jaiabot.protobuf.Hub2HubData.hub_id)
7547}
7548
7549// required uint64 time = 2 [(.dccl.field) = {
7550inline bool Hub2HubData::_internal_has_time() const {
7551 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
7552 return value;
7553}
7554inline bool Hub2HubData::has_time() const {
7555 return _internal_has_time();
7556}
7557inline void Hub2HubData::clear_time() {
7558 _impl_.time_ = uint64_t{0u};
7559 _impl_._has_bits_[0] &= ~0x00000001u;
7560}
7561inline uint64_t Hub2HubData::_internal_time() const {
7562 return _impl_.time_;
7563}
7564inline uint64_t Hub2HubData::time() const {
7565 // @@protoc_insertion_point(field_get:jaiabot.protobuf.Hub2HubData.time)
7566 return _internal_time();
7567}
7568inline void Hub2HubData::_internal_set_time(uint64_t value) {
7569 _impl_._has_bits_[0] |= 0x00000001u;
7570 _impl_.time_ = value;
7571}
7572inline void Hub2HubData::set_time(uint64_t value) {
7573 _internal_set_time(value);
7574 // @@protoc_insertion_point(field_set:jaiabot.protobuf.Hub2HubData.time)
7575}
7576
7577// .jaiabot.protobuf.BotStatus bot_status = 10;
7578inline bool Hub2HubData::_internal_has_bot_status() const {
7579 return contents_case() == kBotStatus;
7580}
7581inline bool Hub2HubData::has_bot_status() const {
7582 return _internal_has_bot_status();
7583}
7584inline void Hub2HubData::set_has_bot_status() {
7585 _impl_._oneof_case_[0] = kBotStatus;
7586}
7587inline void Hub2HubData::clear_bot_status() {
7588 if (_internal_has_bot_status()) {
7589 if (GetArenaForAllocation() == nullptr) {
7590 delete _impl_.contents_.bot_status_;
7591 }
7592 clear_has_contents();
7593 }
7594}
7595inline ::jaiabot::protobuf::BotStatus* Hub2HubData::release_bot_status() {
7596 // @@protoc_insertion_point(field_release:jaiabot.protobuf.Hub2HubData.bot_status)
7597 if (_internal_has_bot_status()) {
7598 clear_has_contents();
7599 ::jaiabot::protobuf::BotStatus* temp = _impl_.contents_.bot_status_;
7600 if (GetArenaForAllocation() != nullptr) {
7601 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
7602 }
7603 _impl_.contents_.bot_status_ = nullptr;
7604 return temp;
7605 } else {
7606 return nullptr;
7607 }
7608}
7609inline const ::jaiabot::protobuf::BotStatus& Hub2HubData::_internal_bot_status() const {
7610 return _internal_has_bot_status()
7611 ? *_impl_.contents_.bot_status_
7613}
7614inline const ::jaiabot::protobuf::BotStatus& Hub2HubData::bot_status() const {
7615 // @@protoc_insertion_point(field_get:jaiabot.protobuf.Hub2HubData.bot_status)
7616 return _internal_bot_status();
7617}
7618inline ::jaiabot::protobuf::BotStatus* Hub2HubData::unsafe_arena_release_bot_status() {
7619 // @@protoc_insertion_point(field_unsafe_arena_release:jaiabot.protobuf.Hub2HubData.bot_status)
7620 if (_internal_has_bot_status()) {
7621 clear_has_contents();
7622 ::jaiabot::protobuf::BotStatus* temp = _impl_.contents_.bot_status_;
7623 _impl_.contents_.bot_status_ = nullptr;
7624 return temp;
7625 } else {
7626 return nullptr;
7627 }
7628}
7629inline void Hub2HubData::unsafe_arena_set_allocated_bot_status(::jaiabot::protobuf::BotStatus* bot_status) {
7630 clear_contents();
7631 if (bot_status) {
7632 set_has_bot_status();
7633 _impl_.contents_.bot_status_ = bot_status;
7634 }
7635 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.Hub2HubData.bot_status)
7636}
7637inline ::jaiabot::protobuf::BotStatus* Hub2HubData::_internal_mutable_bot_status() {
7638 if (!_internal_has_bot_status()) {
7639 clear_contents();
7640 set_has_bot_status();
7641 _impl_.contents_.bot_status_ = CreateMaybeMessage< ::jaiabot::protobuf::BotStatus >(GetArenaForAllocation());
7642 }
7643 return _impl_.contents_.bot_status_;
7644}
7645inline ::jaiabot::protobuf::BotStatus* Hub2HubData::mutable_bot_status() {
7646 ::jaiabot::protobuf::BotStatus* _msg = _internal_mutable_bot_status();
7647 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.Hub2HubData.bot_status)
7648 return _msg;
7649}
7650
7651// .jaiabot.protobuf.TaskPacket task_packet = 11;
7652inline bool Hub2HubData::_internal_has_task_packet() const {
7653 return contents_case() == kTaskPacket;
7654}
7655inline bool Hub2HubData::has_task_packet() const {
7656 return _internal_has_task_packet();
7657}
7658inline void Hub2HubData::set_has_task_packet() {
7659 _impl_._oneof_case_[0] = kTaskPacket;
7660}
7661inline void Hub2HubData::clear_task_packet() {
7662 if (_internal_has_task_packet()) {
7663 if (GetArenaForAllocation() == nullptr) {
7664 delete _impl_.contents_.task_packet_;
7665 }
7666 clear_has_contents();
7667 }
7668}
7669inline ::jaiabot::protobuf::TaskPacket* Hub2HubData::release_task_packet() {
7670 // @@protoc_insertion_point(field_release:jaiabot.protobuf.Hub2HubData.task_packet)
7671 if (_internal_has_task_packet()) {
7672 clear_has_contents();
7673 ::jaiabot::protobuf::TaskPacket* temp = _impl_.contents_.task_packet_;
7674 if (GetArenaForAllocation() != nullptr) {
7675 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
7676 }
7677 _impl_.contents_.task_packet_ = nullptr;
7678 return temp;
7679 } else {
7680 return nullptr;
7681 }
7682}
7683inline const ::jaiabot::protobuf::TaskPacket& Hub2HubData::_internal_task_packet() const {
7684 return _internal_has_task_packet()
7685 ? *_impl_.contents_.task_packet_
7687}
7688inline const ::jaiabot::protobuf::TaskPacket& Hub2HubData::task_packet() const {
7689 // @@protoc_insertion_point(field_get:jaiabot.protobuf.Hub2HubData.task_packet)
7690 return _internal_task_packet();
7691}
7692inline ::jaiabot::protobuf::TaskPacket* Hub2HubData::unsafe_arena_release_task_packet() {
7693 // @@protoc_insertion_point(field_unsafe_arena_release:jaiabot.protobuf.Hub2HubData.task_packet)
7694 if (_internal_has_task_packet()) {
7695 clear_has_contents();
7696 ::jaiabot::protobuf::TaskPacket* temp = _impl_.contents_.task_packet_;
7697 _impl_.contents_.task_packet_ = nullptr;
7698 return temp;
7699 } else {
7700 return nullptr;
7701 }
7702}
7703inline void Hub2HubData::unsafe_arena_set_allocated_task_packet(::jaiabot::protobuf::TaskPacket* task_packet) {
7704 clear_contents();
7705 if (task_packet) {
7706 set_has_task_packet();
7707 _impl_.contents_.task_packet_ = task_packet;
7708 }
7709 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.Hub2HubData.task_packet)
7710}
7711inline ::jaiabot::protobuf::TaskPacket* Hub2HubData::_internal_mutable_task_packet() {
7712 if (!_internal_has_task_packet()) {
7713 clear_contents();
7714 set_has_task_packet();
7715 _impl_.contents_.task_packet_ = CreateMaybeMessage< ::jaiabot::protobuf::TaskPacket >(GetArenaForAllocation());
7716 }
7717 return _impl_.contents_.task_packet_;
7718}
7719inline ::jaiabot::protobuf::TaskPacket* Hub2HubData::mutable_task_packet() {
7720 ::jaiabot::protobuf::TaskPacket* _msg = _internal_mutable_task_packet();
7721 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.Hub2HubData.task_packet)
7722 return _msg;
7723}
7724
7725// .jaiabot.protobuf.Command command_for_bot = 12;
7726inline bool Hub2HubData::_internal_has_command_for_bot() const {
7727 return contents_case() == kCommandForBot;
7728}
7729inline bool Hub2HubData::has_command_for_bot() const {
7730 return _internal_has_command_for_bot();
7731}
7732inline void Hub2HubData::set_has_command_for_bot() {
7733 _impl_._oneof_case_[0] = kCommandForBot;
7734}
7735inline void Hub2HubData::clear_command_for_bot() {
7736 if (_internal_has_command_for_bot()) {
7737 if (GetArenaForAllocation() == nullptr) {
7738 delete _impl_.contents_.command_for_bot_;
7739 }
7740 clear_has_contents();
7741 }
7742}
7743inline ::jaiabot::protobuf::Command* Hub2HubData::release_command_for_bot() {
7744 // @@protoc_insertion_point(field_release:jaiabot.protobuf.Hub2HubData.command_for_bot)
7745 if (_internal_has_command_for_bot()) {
7746 clear_has_contents();
7747 ::jaiabot::protobuf::Command* temp = _impl_.contents_.command_for_bot_;
7748 if (GetArenaForAllocation() != nullptr) {
7749 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
7750 }
7751 _impl_.contents_.command_for_bot_ = nullptr;
7752 return temp;
7753 } else {
7754 return nullptr;
7755 }
7756}
7757inline const ::jaiabot::protobuf::Command& Hub2HubData::_internal_command_for_bot() const {
7758 return _internal_has_command_for_bot()
7759 ? *_impl_.contents_.command_for_bot_
7761}
7762inline const ::jaiabot::protobuf::Command& Hub2HubData::command_for_bot() const {
7763 // @@protoc_insertion_point(field_get:jaiabot.protobuf.Hub2HubData.command_for_bot)
7764 return _internal_command_for_bot();
7765}
7766inline ::jaiabot::protobuf::Command* Hub2HubData::unsafe_arena_release_command_for_bot() {
7767 // @@protoc_insertion_point(field_unsafe_arena_release:jaiabot.protobuf.Hub2HubData.command_for_bot)
7768 if (_internal_has_command_for_bot()) {
7769 clear_has_contents();
7770 ::jaiabot::protobuf::Command* temp = _impl_.contents_.command_for_bot_;
7771 _impl_.contents_.command_for_bot_ = nullptr;
7772 return temp;
7773 } else {
7774 return nullptr;
7775 }
7776}
7777inline void Hub2HubData::unsafe_arena_set_allocated_command_for_bot(::jaiabot::protobuf::Command* command_for_bot) {
7778 clear_contents();
7779 if (command_for_bot) {
7780 set_has_command_for_bot();
7781 _impl_.contents_.command_for_bot_ = command_for_bot;
7782 }
7783 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.Hub2HubData.command_for_bot)
7784}
7785inline ::jaiabot::protobuf::Command* Hub2HubData::_internal_mutable_command_for_bot() {
7786 if (!_internal_has_command_for_bot()) {
7787 clear_contents();
7788 set_has_command_for_bot();
7789 _impl_.contents_.command_for_bot_ = CreateMaybeMessage< ::jaiabot::protobuf::Command >(GetArenaForAllocation());
7790 }
7791 return _impl_.contents_.command_for_bot_;
7792}
7793inline ::jaiabot::protobuf::Command* Hub2HubData::mutable_command_for_bot() {
7794 ::jaiabot::protobuf::Command* _msg = _internal_mutable_command_for_bot();
7795 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.Hub2HubData.command_for_bot)
7796 return _msg;
7797}
7798
7799inline bool Hub2HubData::has_contents() const {
7800 return contents_case() != CONTENTS_NOT_SET;
7801}
7802inline void Hub2HubData::clear_has_contents() {
7803 _impl_._oneof_case_[0] = CONTENTS_NOT_SET;
7804}
7805inline Hub2HubData::ContentsCase Hub2HubData::contents_case() const {
7806 return Hub2HubData::ContentsCase(_impl_._oneof_case_[0]);
7807}
7808#ifdef __GNUC__
7809 #pragma GCC diagnostic pop
7810#endif // __GNUC__
7811// -------------------------------------------------------------------
7812
7813// -------------------------------------------------------------------
7814
7815// -------------------------------------------------------------------
7816
7817// -------------------------------------------------------------------
7818
7819// -------------------------------------------------------------------
7820
7821// -------------------------------------------------------------------
7822
7823// -------------------------------------------------------------------
7824
7825// -------------------------------------------------------------------
7826
7827// -------------------------------------------------------------------
7828
7829// -------------------------------------------------------------------
7830
7831// -------------------------------------------------------------------
7832
7833// -------------------------------------------------------------------
7834
7835
7836// @@protoc_insertion_point(namespace_scope)
7837
7838} // namespace protobuf
7839} // namespace jaiabot
7840
7841PROTOBUF_NAMESPACE_OPEN
7842
7843template <> struct is_proto_enum< ::jaiabot::protobuf::Command_CommandType> : ::std::true_type {};
7844template <>
7846 return ::jaiabot::protobuf::Command_CommandType_descriptor();
7847}
7848template <> struct is_proto_enum< ::jaiabot::protobuf::CommandForHub_HubCommandType> : ::std::true_type {};
7849template <>
7851 return ::jaiabot::protobuf::CommandForHub_HubCommandType_descriptor();
7852}
7853template <> struct is_proto_enum< ::jaiabot::protobuf::BotStatus_BotType> : ::std::true_type {};
7854template <>
7856 return ::jaiabot::protobuf::BotStatus_BotType_descriptor();
7857}
7858template <> struct is_proto_enum< ::jaiabot::protobuf::DivePacket_BottomType> : ::std::true_type {};
7859template <>
7861 return ::jaiabot::protobuf::DivePacket_BottomType_descriptor();
7862}
7863
7864PROTOBUF_NAMESPACE_CLOSE
7865
7866// @@protoc_insertion_point(global_scope)
7867
7868#include <google/protobuf/port_undef.inc>
7869#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2fjaia_5fdccl_2eproto
boost::units::unit< pitch_dimension, boost::units::degree::system > pitch_unit
BotStatus_Attitude(const BotStatus_Attitude &from)
static const BotStatus_Attitude * internal_default_instance()
PROTOBUF_CONSTEXPR BotStatus_Attitude(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
boost::units::unit< roll_dimension, boost::units::degree::system > roll_unit
boost::units::unit< heading_dimension, boost::units::degree::system > heading_unit
boost::units::quantity< roll_unit, double > roll_with_units() const
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
void set_heading_with_units(Quantity value_w_units)
static const BotStatus_Attitude & default_instance()
BotStatus_Attitude & operator=(BotStatus_Attitude &&from) noexcept
void set_roll_with_units(Quantity value_w_units)
void set_pitch_with_units(Quantity value_w_units)
friend void swap(BotStatus_Attitude &a, BotStatus_Attitude &b)
void UnsafeArenaSwap(BotStatus_Attitude *other)
BotStatus_Attitude(BotStatus_Attitude &&from) noexcept
BotStatus_Attitude & operator=(const BotStatus_Attitude &from)
boost::units::plane_angle_dimension roll_dimension
boost::units::quantity< course_over_ground_unit, double > course_over_ground_with_units() const
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
void set_course_over_ground_with_units(Quantity value_w_units)
boost::units::quantity< pitch_unit, double > pitch_with_units() const
void MergeFrom(const BotStatus_Attitude &from)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
BotStatus_Attitude * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
BotStatus_Attitude(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
boost::units::plane_angle_dimension course_over_ground_dimension
void CopyFrom(const BotStatus_Attitude &from)
boost::units::plane_angle_dimension pitch_dimension
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
void Swap(BotStatus_Attitude *other)
boost::units::quantity< heading_unit, double > heading_with_units() const
boost::units::plane_angle_dimension heading_dimension
boost::units::unit< course_over_ground_dimension, boost::units::degree::system > course_over_ground_unit
BotStatus_Speed(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
boost::units::velocity_dimension over_ground_dimension
boost::units::velocity_dimension over_water_dimension
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
boost::units::unit< over_water_dimension, boost::units::si::system > over_water_unit
boost::units::quantity< over_water_unit, double > over_water_with_units() const
PROTOBUF_CONSTEXPR BotStatus_Speed(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
static const BotStatus_Speed * internal_default_instance()
friend void swap(BotStatus_Speed &a, BotStatus_Speed &b)
void MergeFrom(const BotStatus_Speed &from)
void Swap(BotStatus_Speed *other)
void set_over_water_with_units(Quantity value_w_units)
BotStatus_Speed * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
BotStatus_Speed(const BotStatus_Speed &from)
boost::units::quantity< over_ground_unit, double > over_ground_with_units() const
void set_over_ground_with_units(Quantity value_w_units)
boost::units::unit< over_ground_dimension, boost::units::si::system > over_ground_unit
static const ClassData _class_data_
void CopyFrom(const BotStatus_Speed &from)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
void UnsafeArenaSwap(BotStatus_Speed *other)
static const BotStatus_Speed & default_instance()
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
BotStatus_Speed(BotStatus_Speed &&from) noexcept
BotStatus_Speed & operator=(BotStatus_Speed &&from) noexcept
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
BotStatus_Speed & operator=(const BotStatus_Speed &from)
static bool BotType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, BotType *value)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Quantity last_command_time_with_units() const
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
BotStatus(const BotStatus &from)
boost::units::time_dimension time_dimension
boost::units::quantity< depth_unit, double > depth_with_units() const
boost::units::unit< sensor_depth_dimension, boost::units::si::system > sensor_depth_unit
Quantity sensor_depth_with_units() const
boost::units::quantity< active_goal_timeout_unit, google::protobuf::uint32 > active_goal_timeout_with_units() const
Quantity depth_with_units() const
Quantity temperature_with_units() const
void set_temperature_with_units(Quantity value_w_units)
boost::units::quantity< distance_to_active_goal_unit, double > distance_to_active_goal_with_units() const
boost::units::make_scaled_unit< boost::units::unit< last_command_time_dimension, boost::units::si::system >, boost::units::scale< 10, boost::units::static_rational<-6 > > >::type last_command_time_unit
boost::units::time_dimension received_time_dimension
BotStatus * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
boost::units::quantity< temperature_unit, double > temperature_with_units() const
boost::units::temperature_dimension temperature_dimension
Quantity distance_to_active_goal_with_units() const
friend void swap(BotStatus &a, BotStatus &b)
boost::units::unit< active_goal_timeout_dimension, boost::units::si::system > active_goal_timeout_unit
boost::units::quantity< time_unit, google::protobuf::uint64 > time_with_units() const
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
static const std::string & BotType_Name(T enum_t_value)
void Swap(BotStatus *other)
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * BotType_descriptor()
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
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
boost::units::quantity< received_time_unit, google::protobuf::uint64 > received_time_with_units() const
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
boost::units::absolute< boost::units::unit< temperature_dimension, boost::units::celsius::system > > temperature_unit
boost::units::length_dimension distance_to_active_goal_dimension
static const BotStatus & default_instance()
boost::units::quantity< sensor_depth_unit, double > sensor_depth_with_units() const
void set_sensor_depth_with_units(Quantity value_w_units)
void set_last_command_time_with_units(Quantity value_w_units)
boost::units::derived_dimension< boost::units::time_base_dimension, 1 >::type active_goal_timeout_dimension
BotStatus(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
static const ClassData _class_data_
boost::units::make_scaled_unit< boost::units::unit< received_time_dimension, boost::units::si::system >, boost::units::scale< 10, boost::units::static_rational<-6 > > >::type received_time_unit
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
boost::units::quantity< last_command_time_unit, google::protobuf::uint64 > last_command_time_with_units() const
BotStatus & operator=(const BotStatus &from)
Quantity received_time_with_units() const
boost::units::length_dimension sensor_depth_dimension
void set_active_goal_timeout_with_units(Quantity value_w_units)
void set_received_time_with_units(Quantity value_w_units)
static const BotStatus * internal_default_instance()
void set_depth_with_units(Quantity value_w_units)
void CopyFrom(const BotStatus &from)
BotStatus(BotStatus &&from) noexcept
boost::units::unit< distance_to_active_goal_dimension, boost::units::si::system > distance_to_active_goal_unit
Quantity active_goal_timeout_with_units() const
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
boost::units::time_dimension last_command_time_dimension
void set_distance_to_active_goal_with_units(Quantity value_w_units)
Quantity time_with_units() const
void MergeFrom(const BotStatus &from)
boost::units::length_dimension depth_dimension
PROTOBUF_CONSTEXPR BotStatus(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
BotStatus & operator=(BotStatus &&from) noexcept
void set_time_with_units(Quantity value_w_units)
boost::units::unit< depth_dimension, boost::units::si::system > depth_unit
void UnsafeArenaSwap(BotStatus *other)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
CommandForHub * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * HubCommandType_descriptor()
void CopyFrom(const CommandForHub &from)
CommandForHub(const CommandForHub &from)
boost::units::time_dimension time_dimension
static const CommandForHub * internal_default_instance()
friend void swap(CommandForHub &a, CommandForHub &b)
static const std::string & HubCommandType_Name(T enum_t_value)
static const ClassData _class_data_
boost::units::quantity< time_unit, google::protobuf::uint64 > time_with_units() const
void UnsafeArenaSwap(CommandForHub *other)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
PROTOBUF_CONSTEXPR CommandForHub(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
CommandForHub(CommandForHub &&from) noexcept
CommandForHub & operator=(const CommandForHub &from)
void set_time_with_units(Quantity value_w_units)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
CommandForHub & operator=(CommandForHub &&from) noexcept
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
void Swap(CommandForHub *other)
static const CommandForHub & default_instance()
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
void MergeFrom(const CommandForHub &from)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
static bool HubCommandType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, HubCommandType *value)
CommandForHub(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
PROTOBUF_NODISCARD::jaiabot::protobuf::MissionPlan * release_plan()
PROTOBUF_NODISCARD::jaiabot::protobuf::RemoteControl * release_rc()
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
const ::jaiabot::protobuf::RemoteControl & rc() const
void unsafe_arena_set_allocated_rc_task(::jaiabot::protobuf::MissionTask *rc_task)
Command(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
static constexpr CommandType DATA_OFFLOAD_COMPLETE
static constexpr CommandType SHUTDOWN_COMPUTER
static constexpr CommandType STOP
boost::units::quantity< time_unit, google::protobuf::uint64 > time_with_units() const
void set_allocated_rc_task(::jaiabot::protobuf::MissionTask *rc_task)
friend void swap(Command &a, Command &b)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
void MergeFrom(const Command &from)
static constexpr CommandType START_MISSION
static constexpr CommandType RETRY_DATA_OFFLOAD
static const Command * internal_default_instance()
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
static constexpr int kIndexInFileMessages
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
static bool CommandType_IsValid(int value)
Command(Command &&from) noexcept
::jaiabot::protobuf::MissionPlan * unsafe_arena_release_plan()
static constexpr CommandType CommandType_MIN
void set_type(::jaiabot::protobuf::Command_CommandType value)
static constexpr CommandType ACTIVATE
::jaiabot::protobuf::Command_CommandType type() const
int GetCachedSize() const final
static constexpr CommandType NEXT_TASK
void set_allocated_rc(::jaiabot::protobuf::RemoteControl *rc)
static const std::string & CommandType_Name(T enum_t_value)
static constexpr CommandType CommandType_MAX
static bool CommandType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, CommandType *value)
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
void UnsafeArenaSwap(Command *other)
static constexpr CommandType REBOOT_COMPUTER
PROTOBUF_NODISCARD::jaiabot::protobuf::MissionTask * release_rc_task()
::jaiabot::protobuf::MissionTask * unsafe_arena_release_rc_task()
static constexpr CommandType RESTART_ALL_SERVICES
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
static const Command & default_instance()
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
const ::jaiabot::protobuf::MissionTask & rc_task() const
void set_bot_id(uint32_t value)
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * CommandType_descriptor()
static constexpr CommandType REMOTE_CONTROL_TASK
Command(const Command &from)
Command * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Quantity time_with_units() const
void set_allocated_plan(::jaiabot::protobuf::MissionPlan *plan)
void CopyFrom(const Command &from)
void set_time_with_units(Quantity value_w_units)
boost::units::time_dimension time_dimension
void set_time(uint64_t value)
::jaiabot::protobuf::RemoteControl * mutable_rc()
void set_link(::jaiabot::protobuf::Link value)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
static constexpr CommandType PAUSE
void unsafe_arena_set_allocated_rc(::jaiabot::protobuf::RemoteControl *rc)
::jaiabot::protobuf::RemoteControl * unsafe_arena_release_rc()
static constexpr CommandType REMOTE_CONTROL_SETPOINT
static constexpr CommandType RECOVERED
static constexpr CommandType MISSION_PLAN
static constexpr CommandType DATA_OFFLOAD_FAILED
size_t ByteSizeLong() const final
bool IsInitialized() const final
void Swap(Command *other)
void set_from_hub_id(uint32_t value)
::jaiabot::protobuf::MissionPlan * mutable_plan()
static constexpr CommandType RESUME
::jaiabot::protobuf::MissionTask * mutable_rc_task()
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
CommandDataCase command_data_case() const
::jaiabot::protobuf::Link link() const
const ::jaiabot::protobuf::MissionPlan & plan() const
static constexpr int CommandType_ARRAYSIZE
void unsafe_arena_set_allocated_plan(::jaiabot::protobuf::MissionPlan *plan)
static constexpr CommandType RETURN_TO_HOME
Command & operator=(Command &&from) noexcept
uint32_t from_hub_id() const
static const ClassData _class_data_
static constexpr CommandType REMOTE_CONTROL_RESUME_MOVEMENT
static constexpr CommandType SHUTDOWN
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
static constexpr CommandType MISSION_PLAN_FRAGMENT
Command & operator=(const Command &from)
PROTOBUF_CONSTEXPR Command(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
void set_heading_or_cog_with_units(Quantity value_w_units)
friend void swap(ContactUpdate &a, ContactUpdate &b)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
ContactUpdate * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
ContactUpdate & operator=(ContactUpdate &&from) noexcept
PROTOBUF_CONSTEXPR ContactUpdate(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
static const ContactUpdate * internal_default_instance()
void set_speed_over_ground_with_units(Quantity value_w_units)
static const ClassData _class_data_
Quantity speed_over_ground_with_units() const
boost::units::quantity< heading_or_cog_unit, double > heading_or_cog_with_units() const
ContactUpdate(const ContactUpdate &from)
boost::units::unit< speed_over_ground_dimension, boost::units::si::system > speed_over_ground_unit
boost::units::unit< heading_or_cog_dimension, boost::units::degree::system > heading_or_cog_unit
boost::units::plane_angle_dimension heading_or_cog_dimension
boost::units::velocity_dimension speed_over_ground_dimension
static const ContactUpdate & default_instance()
ContactUpdate(ContactUpdate &&from) noexcept
ContactUpdate & operator=(const ContactUpdate &from)
Quantity heading_or_cog_with_units() const
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
void UnsafeArenaSwap(ContactUpdate *other)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
boost::units::quantity< speed_over_ground_unit, double > speed_over_ground_with_units() const
ContactUpdate(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
void Swap(ContactUpdate *other)
void CopyFrom(const ContactUpdate &from)
void MergeFrom(const ContactUpdate &from)
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
DivePacket_Measurements & operator=(const DivePacket_Measurements &from)
static const DivePacket_Measurements * internal_default_instance()
void set_mean_temperature_with_units(Quantity value_w_units)
DivePacket_Measurements(const DivePacket_Measurements &from)
void UnsafeArenaSwap(DivePacket_Measurements *other)
DivePacket_Measurements(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
void set_mean_depth_with_units(Quantity value_w_units)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
static const DivePacket_Measurements & default_instance()
DivePacket_Measurements * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
void Swap(DivePacket_Measurements *other)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
boost::units::unit< mean_depth_dimension, boost::units::si::system > mean_depth_unit
boost::units::temperature_dimension mean_temperature_dimension
boost::units::absolute< boost::units::unit< mean_temperature_dimension, boost::units::celsius::system > > mean_temperature_unit
DivePacket_Measurements(DivePacket_Measurements &&from) noexcept
boost::units::quantity< mean_temperature_unit, double > mean_temperature_with_units() const
DivePacket_Measurements & operator=(DivePacket_Measurements &&from) noexcept
void MergeFrom(const DivePacket_Measurements &from)
boost::units::quantity< mean_depth_unit, double > mean_depth_with_units() const
void CopyFrom(const DivePacket_Measurements &from)
boost::units::length_dimension mean_depth_dimension
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
friend void swap(DivePacket_Measurements &a, DivePacket_Measurements &b)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
PROTOBUF_CONSTEXPR DivePacket_Measurements(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
void CopyFrom(const DivePacket_SubsurfaceCurrentVector &from)
void Swap(DivePacket_SubsurfaceCurrentVector *other)
DivePacket_SubsurfaceCurrentVector(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
static const DivePacket_SubsurfaceCurrentVector * internal_default_instance()
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
boost::units::plane_angle_dimension heading_dimension
boost::units::quantity< heading_unit, double > heading_with_units() const
boost::units::unit< velocity_dimension, boost::units::si::system > velocity_unit
DivePacket_SubsurfaceCurrentVector(const DivePacket_SubsurfaceCurrentVector &from)
DivePacket_SubsurfaceCurrentVector * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
boost::units::velocity_dimension velocity_dimension
friend void swap(DivePacket_SubsurfaceCurrentVector &a, DivePacket_SubsurfaceCurrentVector &b)
PROTOBUF_CONSTEXPR DivePacket_SubsurfaceCurrentVector(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
boost::units::quantity< velocity_unit, double > velocity_with_units() const
DivePacket_SubsurfaceCurrentVector & operator=(DivePacket_SubsurfaceCurrentVector &&from) noexcept
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
void UnsafeArenaSwap(DivePacket_SubsurfaceCurrentVector *other)
DivePacket_SubsurfaceCurrentVector(DivePacket_SubsurfaceCurrentVector &&from) noexcept
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
static const DivePacket_SubsurfaceCurrentVector & default_instance()
boost::units::unit< heading_dimension, boost::units::degree::system > heading_unit
DivePacket_SubsurfaceCurrentVector & operator=(const DivePacket_SubsurfaceCurrentVector &from)
void MergeFrom(const DivePacket_SubsurfaceCurrentVector &from)
boost::units::quantity< dive_rate_unit, double > dive_rate_with_units() const
void Swap(DivePacket *other)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
static const DivePacket * internal_default_instance()
DivePacket(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
void set_dive_rate_with_units(Quantity value_w_units)
boost::units::quantity< powered_rise_rate_unit, double > powered_rise_rate_with_units() const
DivePacket * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
boost::units::unit< duration_to_acquire_gps_dimension, boost::units::si::system > duration_to_acquire_gps_unit
Quantity duration_to_acquire_gps_with_units() const
void set_max_acceleration_with_units(Quantity value_w_units)
DivePacket(const DivePacket &from)
DivePacket & operator=(DivePacket &&from) noexcept
boost::units::acceleration_dimension max_acceleration_dimension
void set_unpowered_rise_rate_with_units(Quantity value_w_units)
void set_depth_achieved_with_units(Quantity value_w_units)
static bool BottomType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, BottomType *value)
static const ClassData _class_data_
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
boost::units::length_dimension depth_achieved_dimension
Quantity dive_rate_with_units() const
boost::units::unit< max_acceleration_dimension, boost::units::si::system > max_acceleration_unit
boost::units::unit< dive_rate_dimension, boost::units::si::system > dive_rate_unit
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
boost::units::derived_dimension< boost::units::time_base_dimension, 1 >::type duration_to_acquire_gps_dimension
void CopyFrom(const DivePacket &from)
static const DivePacket & default_instance()
boost::units::unit< unpowered_rise_rate_dimension, boost::units::si::system > unpowered_rise_rate_unit
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
boost::units::unit< powered_rise_rate_dimension, boost::units::si::system > powered_rise_rate_unit
static const std::string & BottomType_Name(T enum_t_value)
boost::units::quantity< depth_achieved_unit, double > depth_achieved_with_units() const
boost::units::quantity< unpowered_rise_rate_unit, double > unpowered_rise_rate_with_units() const
void MergeFrom(const DivePacket &from)
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
boost::units::velocity_dimension unpowered_rise_rate_dimension
void UnsafeArenaSwap(DivePacket *other)
boost::units::quantity< max_acceleration_unit, double > max_acceleration_with_units() const
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * BottomType_descriptor()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
DivePacket(DivePacket &&from) noexcept
friend void swap(DivePacket &a, DivePacket &b)
Quantity unpowered_rise_rate_with_units() const
boost::units::quantity< duration_to_acquire_gps_unit, double > duration_to_acquire_gps_with_units() const
DivePacket & operator=(const DivePacket &from)
Quantity max_acceleration_with_units() const
void set_powered_rise_rate_with_units(Quantity value_w_units)
Quantity powered_rise_rate_with_units() const
void set_duration_to_acquire_gps_with_units(Quantity value_w_units)
boost::units::velocity_dimension dive_rate_dimension
PROTOBUF_CONSTEXPR DivePacket(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
Quantity depth_achieved_with_units() const
boost::units::unit< depth_achieved_dimension, boost::units::si::system > depth_achieved_unit
boost::units::velocity_dimension powered_rise_rate_dimension
void set_heading_with_units(Quantity value_w_units)
DriftPacket_EstimatedDrift(DriftPacket_EstimatedDrift &&from) noexcept
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
DriftPacket_EstimatedDrift & operator=(const DriftPacket_EstimatedDrift &from)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
DriftPacket_EstimatedDrift & operator=(DriftPacket_EstimatedDrift &&from) noexcept
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
boost::units::quantity< heading_unit, double > heading_with_units() const
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
friend void swap(DriftPacket_EstimatedDrift &a, DriftPacket_EstimatedDrift &b)
boost::units::quantity< speed_unit, double > speed_with_units() const
static const DriftPacket_EstimatedDrift * internal_default_instance()
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
DriftPacket_EstimatedDrift(const DriftPacket_EstimatedDrift &from)
PROTOBUF_CONSTEXPR DriftPacket_EstimatedDrift(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
boost::units::velocity_dimension speed_dimension
void CopyFrom(const DriftPacket_EstimatedDrift &from)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
void MergeFrom(const DriftPacket_EstimatedDrift &from)
boost::units::unit< speed_dimension, boost::units::si::system > speed_unit
boost::units::plane_angle_dimension heading_dimension
boost::units::unit< heading_dimension, boost::units::degree::system > heading_unit
static const DriftPacket_EstimatedDrift & default_instance()
DriftPacket_EstimatedDrift(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
void Swap(DriftPacket_EstimatedDrift *other)
void UnsafeArenaSwap(DriftPacket_EstimatedDrift *other)
void set_speed_with_units(Quantity value_w_units)
DriftPacket_EstimatedDrift * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
static const DriftPacket * internal_default_instance()
DriftPacket & operator=(DriftPacket &&from) noexcept
DriftPacket(const DriftPacket &from)
void Swap(DriftPacket *other)
PROTOBUF_CONSTEXPR DriftPacket(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
Quantity significant_wave_height_with_units() const
void set_significant_wave_height_with_units(Quantity value_w_units)
boost::units::quantity< significant_wave_height_unit, double > significant_wave_height_with_units() const
DriftPacket * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
DriftPacket(DriftPacket &&from) noexcept
void set_drift_duration_with_units(Quantity value_w_units)
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
DriftPacket & operator=(const DriftPacket &from)
friend void swap(DriftPacket &a, DriftPacket &b)
boost::units::length_dimension significant_wave_height_dimension
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
void UnsafeArenaSwap(DriftPacket *other)
static const ClassData _class_data_
boost::units::unit< significant_wave_height_dimension, boost::units::si::system > significant_wave_height_unit
void CopyFrom(const DriftPacket &from)
void MergeFrom(const DriftPacket &from)
boost::units::unit< drift_duration_dimension, boost::units::si::system > drift_duration_unit
boost::units::quantity< drift_duration_unit, google::protobuf::int32 > drift_duration_with_units() const
DriftPacket(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
static const DriftPacket & default_instance()
boost::units::derived_dimension< boost::units::time_base_dimension, 1 >::type drift_duration_dimension
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Quantity drift_duration_with_units() const
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
PROTOBUF_CONSTEXPR Hub2HubData(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
Hub2HubData(Hub2HubData &&from) noexcept
Hub2HubData(const Hub2HubData &from)
boost::units::time_dimension time_dimension
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
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
friend void swap(Hub2HubData &a, Hub2HubData &b)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
Hub2HubData * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
void set_allocated_bot_status(::jaiabot::protobuf::BotStatus *bot_status)
void MergeFrom(const Hub2HubData &from)
Hub2HubData(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
Hub2HubData & operator=(const Hub2HubData &from)
void Swap(Hub2HubData *other)
static const ClassData _class_data_
void set_allocated_task_packet(::jaiabot::protobuf::TaskPacket *task_packet)
void set_allocated_command_for_bot(::jaiabot::protobuf::Command *command_for_bot)
static const Hub2HubData * internal_default_instance()
static const Hub2HubData & default_instance()
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
Hub2HubData & operator=(Hub2HubData &&from) noexcept
boost::units::quantity< time_unit, google::protobuf::uint64 > time_with_units() const
void UnsafeArenaSwap(Hub2HubData *other)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
void CopyFrom(const Hub2HubData &from)
void set_time_with_units(Quantity value_w_units)
boost::units::time_dimension end_time_dimension
Quantity start_time_with_units() const
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
TaskPacket & operator=(TaskPacket &&from) noexcept
boost::units::quantity< end_time_unit, google::protobuf::uint64 > end_time_with_units() const
Quantity end_time_with_units() const
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
TaskPacket(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
PROTOBUF_CONSTEXPR TaskPacket(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
TaskPacket(const TaskPacket &from)
void MergeFrom(const TaskPacket &from)
static const TaskPacket * internal_default_instance()
boost::units::quantity< start_time_unit, google::protobuf::uint64 > start_time_with_units() const
friend void swap(TaskPacket &a, TaskPacket &b)
boost::units::make_scaled_unit< boost::units::unit< start_time_dimension, boost::units::si::system >, boost::units::scale< 10, boost::units::static_rational<-6 > > >::type start_time_unit
boost::units::make_scaled_unit< boost::units::unit< end_time_dimension, boost::units::si::system >, boost::units::scale< 10, boost::units::static_rational<-6 > > >::type end_time_unit
static const ClassData _class_data_
static const TaskPacket & default_instance()
void Swap(TaskPacket *other)
void UnsafeArenaSwap(TaskPacket *other)
void CopyFrom(const TaskPacket &from)
TaskPacket * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
void set_end_time_with_units(Quantity value_w_units)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
TaskPacket(TaskPacket &&from) noexcept
boost::units::time_dimension start_time_dimension
void set_start_time_with_units(Quantity value_w_units)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
TaskPacket & operator=(const TaskPacket &from)
PROTOBUF_NAMESPACE_OPEN ::jaiabot::protobuf::GeographicCoordinate * Arena::CreateMaybeMessage<::jaiabot::protobuf::GeographicCoordinate >(Arena *)
::jaiabot::protobuf::DivePacket_SubsurfaceCurrentVector * Arena::CreateMaybeMessage<::jaiabot::protobuf::DivePacket_SubsurfaceCurrentVector >(Arena *)
const EnumDescriptor * GetEnumDescriptor< ::jaiabot::protobuf::DivePacket_BottomType >()
::jaiabot::protobuf::DriftPacket * Arena::CreateMaybeMessage<::jaiabot::protobuf::DriftPacket >(Arena *)
::jaiabot::protobuf::DivePacket * Arena::CreateMaybeMessage<::jaiabot::protobuf::DivePacket >(Arena *)
const EnumDescriptor * GetEnumDescriptor< ::jaiabot::protobuf::Command_CommandType >()
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_jaiabot_2fmessages_2fjaia_5fdccl_2eproto
::jaiabot::protobuf::BotStatus_Attitude * Arena::CreateMaybeMessage<::jaiabot::protobuf::BotStatus_Attitude >(Arena *)
::jaiabot::protobuf::DriftPacket_EstimatedDrift * Arena::CreateMaybeMessage<::jaiabot::protobuf::DriftPacket_EstimatedDrift >(Arena *)
const EnumDescriptor * GetEnumDescriptor< ::jaiabot::protobuf::BotStatus_BotType >()
::jaiabot::protobuf::BotStatus_Speed * Arena::CreateMaybeMessage<::jaiabot::protobuf::BotStatus_Speed >(Arena *)
const EnumDescriptor * GetEnumDescriptor< ::jaiabot::protobuf::CommandForHub_HubCommandType >()
MissionTaskDefaultTypeInternal _MissionTask_default_instance_
constexpr Command_CommandType Command_CommandType_CommandType_MAX
bool BotStatus_BotType_IsValid(int value)
constexpr DivePacket_BottomType DivePacket_BottomType_BottomType_MAX
BotStatus_SpeedDefaultTypeInternal _BotStatus_Speed_default_instance_
bool CommandForHub_HubCommandType_IsValid(int value)
constexpr int CommandForHub_HubCommandType_HubCommandType_ARRAYSIZE
constexpr int DivePacket_BottomType_BottomType_ARRAYSIZE
constexpr BotStatus_BotType BotStatus_BotType_BotType_MAX
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * CommandForHub_HubCommandType_descriptor()
MissionPlanDefaultTypeInternal _MissionPlan_default_instance_
bool Command_CommandType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Command_CommandType *value)
bool DivePacket_BottomType_IsValid(int value)
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * DivePacket_BottomType_descriptor()
Hub2HubDataDefaultTypeInternal _Hub2HubData_default_instance_
bool BotStatus_BotType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, BotStatus_BotType *value)
bool Error_IsValid(int value)
const std::string & BotStatus_BotType_Name(T enum_t_value)
constexpr int Command_CommandType_CommandType_ARRAYSIZE
DriftPacket_EstimatedDriftDefaultTypeInternal _DriftPacket_EstimatedDrift_default_instance_
constexpr CommandForHub_HubCommandType CommandForHub_HubCommandType_HubCommandType_MAX
bool DivePacket_BottomType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, DivePacket_BottomType *value)
DivePacket_SubsurfaceCurrentVectorDefaultTypeInternal _DivePacket_SubsurfaceCurrentVector_default_instance_
TaskPacketDefaultTypeInternal _TaskPacket_default_instance_
RemoteControlDefaultTypeInternal _RemoteControl_default_instance_
bool CommandForHub_HubCommandType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, CommandForHub_HubCommandType *value)
const std::string & Command_CommandType_Name(T enum_t_value)
ContactUpdateDefaultTypeInternal _ContactUpdate_default_instance_
const std::string & DivePacket_BottomType_Name(T enum_t_value)
@ CommandForHub_HubCommandType_RESTART_ALL_SERVICES
@ CommandForHub_HubCommandType_REBOOT_COMPUTER
@ CommandForHub_HubCommandType_SET_HUB_LOCATION
@ CommandForHub_HubCommandType_SCAN_FOR_BOTS
@ CommandForHub_HubCommandType_SHUTDOWN_COMPUTER
@ CommandForHub_HubCommandType_CTD_DATA_OFFLOAD
CommandDefaultTypeInternal _Command_default_instance_
DivePacket_MeasurementsDefaultTypeInternal _DivePacket_Measurements_default_instance_
constexpr int BotStatus_BotType_BotType_ARRAYSIZE
DivePacketDefaultTypeInternal _DivePacket_default_instance_
bool MissionTask_TaskType_IsValid(int value)
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * BotStatus_BotType_descriptor()
DriftPacketDefaultTypeInternal _DriftPacket_default_instance_
bool Link_IsValid(int value)
GeographicCoordinateDefaultTypeInternal _GeographicCoordinate_default_instance_
@ Command_CommandType_REMOTE_CONTROL_TASK
@ Command_CommandType_RETRY_DATA_OFFLOAD
@ Command_CommandType_REBOOT_COMPUTER
@ Command_CommandType_MISSION_PLAN_FRAGMENT
@ Command_CommandType_REMOTE_CONTROL_RESUME_MOVEMENT
@ Command_CommandType_SHUTDOWN_COMPUTER
@ Command_CommandType_DATA_OFFLOAD_COMPLETE
@ Command_CommandType_REMOTE_CONTROL_SETPOINT
@ Command_CommandType_DATA_OFFLOAD_FAILED
@ Command_CommandType_RESTART_ALL_SERVICES
constexpr DivePacket_BottomType DivePacket_BottomType_BottomType_MIN
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * Command_CommandType_descriptor()
const std::string & CommandForHub_HubCommandType_Name(T enum_t_value)
constexpr BotStatus_BotType BotStatus_BotType_BotType_MIN
BotStatusDefaultTypeInternal _BotStatus_default_instance_
bool Command_CommandType_IsValid(int value)
bool Warning_IsValid(int value)
CommandForHubDefaultTypeInternal _CommandForHub_default_instance_
bool IMUCalibrationState_IsValid(int value)
bool MissionState_IsValid(int value)
constexpr CommandForHub_HubCommandType CommandForHub_HubCommandType_HubCommandType_MIN
BotStatus_AttitudeDefaultTypeInternal _BotStatus_Attitude_default_instance_
constexpr Command_CommandType Command_CommandType_CommandType_MIN
::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_
::jaiabot::protobuf::MissionPlan * plan_
::jaiabot::protobuf::MissionTask * rc_task_
::jaiabot::protobuf::RemoteControl * rc_
::jaiabot::protobuf::TaskPacket * task_packet_
::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_