JaiaBot 2.0.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 DriftPacket;
94struct DriftPacketDefaultTypeInternal;
95extern DriftPacketDefaultTypeInternal _DriftPacket_default_instance_;
96class DriftPacket_EstimatedDrift;
97struct DriftPacket_EstimatedDriftDefaultTypeInternal;
98extern DriftPacket_EstimatedDriftDefaultTypeInternal _DriftPacket_EstimatedDrift_default_instance_;
99class TaskPacket;
100struct TaskPacketDefaultTypeInternal;
101extern TaskPacketDefaultTypeInternal _TaskPacket_default_instance_;
102} // namespace protobuf
103} // namespace jaiabot
104PROTOBUF_NAMESPACE_OPEN
105template<> ::jaiabot::protobuf::BotStatus* Arena::CreateMaybeMessage<::jaiabot::protobuf::BotStatus>(Arena*);
106template<> ::jaiabot::protobuf::BotStatus_Attitude* Arena::CreateMaybeMessage<::jaiabot::protobuf::BotStatus_Attitude>(Arena*);
107template<> ::jaiabot::protobuf::BotStatus_Speed* Arena::CreateMaybeMessage<::jaiabot::protobuf::BotStatus_Speed>(Arena*);
108template<> ::jaiabot::protobuf::Command* Arena::CreateMaybeMessage<::jaiabot::protobuf::Command>(Arena*);
109template<> ::jaiabot::protobuf::CommandForHub* Arena::CreateMaybeMessage<::jaiabot::protobuf::CommandForHub>(Arena*);
110template<> ::jaiabot::protobuf::ContactUpdate* Arena::CreateMaybeMessage<::jaiabot::protobuf::ContactUpdate>(Arena*);
111template<> ::jaiabot::protobuf::DivePacket* Arena::CreateMaybeMessage<::jaiabot::protobuf::DivePacket>(Arena*);
112template<> ::jaiabot::protobuf::DivePacket_Measurements* Arena::CreateMaybeMessage<::jaiabot::protobuf::DivePacket_Measurements>(Arena*);
113template<> ::jaiabot::protobuf::DriftPacket* Arena::CreateMaybeMessage<::jaiabot::protobuf::DriftPacket>(Arena*);
114template<> ::jaiabot::protobuf::DriftPacket_EstimatedDrift* Arena::CreateMaybeMessage<::jaiabot::protobuf::DriftPacket_EstimatedDrift>(Arena*);
115template<> ::jaiabot::protobuf::TaskPacket* Arena::CreateMaybeMessage<::jaiabot::protobuf::TaskPacket>(Arena*);
116PROTOBUF_NAMESPACE_CLOSE
117namespace jaiabot {
118namespace protobuf {
119
146
147const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Command_CommandType_descriptor();
148template<typename T>
149inline const std::string& Command_CommandType_Name(T enum_t_value) {
150 static_assert(::std::is_same<T, Command_CommandType>::value ||
151 ::std::is_integral<T>::value,
152 "Incorrect type passed to function Command_CommandType_Name.");
153 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
154 Command_CommandType_descriptor(), enum_t_value);
155}
157 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Command_CommandType* value) {
158 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<Command_CommandType>(
159 Command_CommandType_descriptor(), name, value);
160}
172
173const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CommandForHub_HubCommandType_descriptor();
174template<typename T>
175inline const std::string& CommandForHub_HubCommandType_Name(T enum_t_value) {
176 static_assert(::std::is_same<T, CommandForHub_HubCommandType>::value ||
177 ::std::is_integral<T>::value,
178 "Incorrect type passed to function CommandForHub_HubCommandType_Name.");
179 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
181}
183 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, CommandForHub_HubCommandType* value) {
184 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<CommandForHub_HubCommandType>(
186}
196
197const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* BotStatus_BotType_descriptor();
198template<typename T>
199inline const std::string& BotStatus_BotType_Name(T enum_t_value) {
200 static_assert(::std::is_same<T, BotStatus_BotType>::value ||
201 ::std::is_integral<T>::value,
202 "Incorrect type passed to function BotStatus_BotType_Name.");
203 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
204 BotStatus_BotType_descriptor(), enum_t_value);
205}
207 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, BotStatus_BotType* value) {
208 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<BotStatus_BotType>(
209 BotStatus_BotType_descriptor(), name, value);
210}
219
220const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* DivePacket_BottomType_descriptor();
221template<typename T>
222inline const std::string& DivePacket_BottomType_Name(T enum_t_value) {
223 static_assert(::std::is_same<T, DivePacket_BottomType>::value ||
224 ::std::is_integral<T>::value,
225 "Incorrect type passed to function DivePacket_BottomType_Name.");
226 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
227 DivePacket_BottomType_descriptor(), enum_t_value);
228}
230 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, DivePacket_BottomType* value) {
231 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<DivePacket_BottomType>(
232 DivePacket_BottomType_descriptor(), name, value);
233}
234// ===================================================================
235
236class Command final :
237 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.protobuf.Command) */ {
238 public:
239 inline Command() : Command(nullptr) {}
240 ~Command() override;
241 explicit PROTOBUF_CONSTEXPR Command(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
242
243 Command(const Command& from);
244 Command(Command&& from) noexcept
245 : Command() {
246 *this = ::std::move(from);
247 }
248
249 inline Command& operator=(const Command& from) {
250 CopyFrom(from);
251 return *this;
252 }
253 inline Command& operator=(Command&& from) noexcept {
254 if (this == &from) return *this;
255 if (GetOwningArena() == from.GetOwningArena()
256 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
257 && GetOwningArena() != nullptr
258 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
259 ) {
260 InternalSwap(&from);
261 } else {
262 CopyFrom(from);
263 }
264 return *this;
265 }
266
267 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
268 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
269 }
270 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
271 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
272 }
273
274 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
275 return GetDescriptor();
276 }
277 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
278 return default_instance().GetMetadata().descriptor;
279 }
280 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
281 return default_instance().GetMetadata().reflection;
282 }
283 static const Command& default_instance() {
285 }
292
293 static inline const Command* internal_default_instance() {
294 return reinterpret_cast<const Command*>(
296 }
297 static constexpr int kIndexInFileMessages =
298 0;
299
300 friend void swap(Command& a, Command& b) {
301 a.Swap(&b);
302 }
303 inline void Swap(Command* other) {
304 if (other == this) return;
305 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
306 if (GetOwningArena() != nullptr &&
307 GetOwningArena() == other->GetOwningArena()) {
308 #else // PROTOBUF_FORCE_COPY_IN_SWAP
309 if (GetOwningArena() == other->GetOwningArena()) {
310 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
311 InternalSwap(other);
312 } else {
313 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
314 }
315 }
317 if (other == this) return;
318 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
319 InternalSwap(other);
320 }
321
322 // implements Message ----------------------------------------------
323
324 Command* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
325 return CreateMaybeMessage<Command>(arena);
326 }
327 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
328 void CopyFrom(const Command& from);
329 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
330 void MergeFrom( const Command& from) {
331 Command::MergeImpl(*this, from);
332 }
333 private:
334 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
335 public:
336 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
337 bool IsInitialized() const final;
338
339 size_t ByteSizeLong() const final;
340 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
342 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
343 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
344
345 private:
346 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
347 void SharedDtor();
348 void SetCachedSize(int size) const final;
349 void InternalSwap(Command* other);
350
351 private:
352 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
353 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
354 return "jaiabot.protobuf.Command";
355 }
356 protected:
357 explicit Command(::PROTOBUF_NAMESPACE_ID::Arena* arena,
358 bool is_message_owned = false);
359 public:
360
361 static const ClassData _class_data_;
362 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
363
364 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
365
366 // nested types ----------------------------------------------------
367
369 static constexpr CommandType MISSION_PLAN =
371 static constexpr CommandType ACTIVATE =
373 static constexpr CommandType START_MISSION =
377 static constexpr CommandType NEXT_TASK =
379 static constexpr CommandType RETURN_TO_HOME =
381 static constexpr CommandType STOP =
383 static constexpr CommandType PAUSE =
385 static constexpr CommandType RESUME =
393 static constexpr CommandType RECOVERED =
395 static constexpr CommandType SHUTDOWN =
405 static constexpr CommandType REBOOT_COMPUTER =
409 static inline bool CommandType_IsValid(int value) {
410 return Command_CommandType_IsValid(value);
411 }
412 static constexpr CommandType CommandType_MIN =
414 static constexpr CommandType CommandType_MAX =
416 static constexpr int CommandType_ARRAYSIZE =
418 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
422 template<typename T>
423 static inline const std::string& CommandType_Name(T enum_t_value) {
424 static_assert(::std::is_same<T, CommandType>::value ||
425 ::std::is_integral<T>::value,
426 "Incorrect type passed to function CommandType_Name.");
427 return Command_CommandType_Name(enum_t_value);
428 }
429 static inline bool CommandType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
430 CommandType* value) {
431 return Command_CommandType_Parse(name, value);
432 }
433
434 // accessors -------------------------------------------------------
435
436 enum : int {
444 };
445 // required uint64 time = 2 [(.dccl.field) = {
446 bool has_time() const;
447 private:
448 bool _internal_has_time() const;
449 public:
450 void clear_time();
451 uint64_t time() const;
452 void set_time(uint64_t value);
453 private:
454 uint64_t _internal_time() const;
455 void _internal_set_time(uint64_t value);
456 public:
457
458 // required uint32 bot_id = 1 [(.dccl.field) = {
459 bool has_bot_id() const;
460 private:
461 bool _internal_has_bot_id() const;
462 public:
463 void clear_bot_id();
464 uint32_t bot_id() const;
465 void set_bot_id(uint32_t value);
466 private:
467 uint32_t _internal_bot_id() const;
468 void _internal_set_bot_id(uint32_t value);
469 public:
470
471 // optional .jaiabot.protobuf.Link link = 3 [(.dccl.field) = {
472 bool has_link() const;
473 private:
474 bool _internal_has_link() const;
475 public:
476 void clear_link();
479 private:
480 ::jaiabot::protobuf::Link _internal_link() const;
481 void _internal_set_link(::jaiabot::protobuf::Link value);
482 public:
483
484 // required .jaiabot.protobuf.Command.CommandType type = 10 [(.jaia.field) = {
485 bool has_type() const;
486 private:
487 bool _internal_has_type() const;
488 public:
489 void clear_type();
492 private:
493 ::jaiabot::protobuf::Command_CommandType _internal_type() const;
494 void _internal_set_type(::jaiabot::protobuf::Command_CommandType value);
495 public:
496
497 // .jaiabot.protobuf.MissionPlan plan = 20 [(.jaia.field) = {
498 bool has_plan() const;
499 private:
500 bool _internal_has_plan() const;
501 public:
503 const ::jaiabot::protobuf::MissionPlan& plan() const;
504 PROTOBUF_NODISCARD ::jaiabot::protobuf::MissionPlan* release_plan();
507 private:
508 const ::jaiabot::protobuf::MissionPlan& _internal_plan() const;
509 ::jaiabot::protobuf::MissionPlan* _internal_mutable_plan();
510 public:
514
515 // .jaiabot.protobuf.RemoteControl rc = 30 [(.jaia.field) = {
516 bool has_rc() const;
517 private:
518 bool _internal_has_rc() const;
519 public:
520 void clear_rc();
521 const ::jaiabot::protobuf::RemoteControl& rc() const;
522 PROTOBUF_NODISCARD ::jaiabot::protobuf::RemoteControl* release_rc();
525 private:
526 const ::jaiabot::protobuf::RemoteControl& _internal_rc() const;
527 ::jaiabot::protobuf::RemoteControl* _internal_mutable_rc();
528 public:
532
533 // .jaiabot.protobuf.MissionTask rc_task = 31;
534 bool has_rc_task() const;
535 private:
536 bool _internal_has_rc_task() const;
537 public:
539 const ::jaiabot::protobuf::MissionTask& rc_task() const;
540 PROTOBUF_NODISCARD ::jaiabot::protobuf::MissionTask* release_rc_task();
543 private:
544 const ::jaiabot::protobuf::MissionTask& _internal_rc_task() const;
545 ::jaiabot::protobuf::MissionTask* _internal_mutable_rc_task();
546 public:
550
554 typedef boost::units::time_dimension time_dimension;
555
556 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;
557
558 template<typename Quantity >
559 void set_time_with_units(Quantity value_w_units)
560 { set_time(boost::units::quantity<time_unit,google::protobuf::uint64 >(value_w_units).value() ); };
561
562 template<typename Quantity >
563 Quantity time_with_units() const
564 { return Quantity(time() * time_unit()); };
565
566 boost::units::quantity< time_unit,google::protobuf::uint64 > time_with_units() const
567 { return time_with_units<boost::units::quantity< time_unit,google::protobuf::uint64 > >(); };
568
569 // @@protoc_insertion_point(class_scope:jaiabot.protobuf.Command)
570 private:
571 class _Internal;
572 void set_has_plan();
573 void set_has_rc();
574 void set_has_rc_task();
575
576 inline bool has_command_data() const;
577 inline void clear_has_command_data();
578
579 // helper for ByteSizeLong()
580 size_t RequiredFieldsByteSizeFallback() const;
581
582 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
583 typedef void InternalArenaConstructable_;
584 typedef void DestructorSkippable_;
585 struct Impl_ {
586 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
587 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
588 uint64_t time_;
589 uint32_t bot_id_;
590 int link_;
591 int type_;
599 uint32_t _oneof_case_[1];
600
601 };
602 union { Impl_ _impl_; };
603 friend struct ::TableStruct_jaiabot_2fmessages_2fjaia_5fdccl_2eproto;
604};
605// -------------------------------------------------------------------
606
607class CommandForHub final :
608 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.protobuf.CommandForHub) */ {
609 public:
610 inline CommandForHub() : CommandForHub(nullptr) {}
611 ~CommandForHub() override;
612 explicit PROTOBUF_CONSTEXPR CommandForHub(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
613
616 : CommandForHub() {
617 *this = ::std::move(from);
618 }
619
620 inline CommandForHub& operator=(const CommandForHub& from) {
621 CopyFrom(from);
622 return *this;
623 }
624 inline CommandForHub& operator=(CommandForHub&& from) noexcept {
625 if (this == &from) return *this;
626 if (GetOwningArena() == from.GetOwningArena()
627 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
628 && GetOwningArena() != nullptr
629 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
630 ) {
631 InternalSwap(&from);
632 } else {
633 CopyFrom(from);
634 }
635 return *this;
636 }
637
638 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
639 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
640 }
641 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
642 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
643 }
644
645 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
646 return GetDescriptor();
647 }
648 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
649 return default_instance().GetMetadata().descriptor;
650 }
651 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
652 return default_instance().GetMetadata().reflection;
653 }
655 return *internal_default_instance();
656 }
658 return reinterpret_cast<const CommandForHub*>(
660 }
661 static constexpr int kIndexInFileMessages =
662 1;
663
664 friend void swap(CommandForHub& a, CommandForHub& b) {
665 a.Swap(&b);
666 }
667 inline void Swap(CommandForHub* other) {
668 if (other == this) return;
669 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
670 if (GetOwningArena() != nullptr &&
671 GetOwningArena() == other->GetOwningArena()) {
672 #else // PROTOBUF_FORCE_COPY_IN_SWAP
673 if (GetOwningArena() == other->GetOwningArena()) {
674 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
675 InternalSwap(other);
676 } else {
677 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
678 }
679 }
681 if (other == this) return;
682 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
683 InternalSwap(other);
684 }
685
686 // implements Message ----------------------------------------------
687
688 CommandForHub* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
689 return CreateMaybeMessage<CommandForHub>(arena);
690 }
691 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
692 void CopyFrom(const CommandForHub& from);
693 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
694 void MergeFrom( const CommandForHub& from) {
695 CommandForHub::MergeImpl(*this, from);
696 }
697 private:
698 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
699 public:
700 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
701 bool IsInitialized() const final;
702
703 size_t ByteSizeLong() const final;
704 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
705 uint8_t* _InternalSerialize(
706 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
707 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
708
709 private:
710 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
711 void SharedDtor();
712 void SetCachedSize(int size) const final;
713 void InternalSwap(CommandForHub* other);
714
715 private:
716 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
717 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
718 return "jaiabot.protobuf.CommandForHub";
719 }
720 protected:
721 explicit CommandForHub(::PROTOBUF_NAMESPACE_ID::Arena* arena,
722 bool is_message_owned = false);
723 public:
724
725 static const ClassData _class_data_;
726 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
727
728 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
729
730 // nested types ----------------------------------------------------
731
733 static constexpr HubCommandType SCAN_FOR_BOTS =
734 CommandForHub_HubCommandType_SCAN_FOR_BOTS;
735 static constexpr HubCommandType RESTART_ALL_SERVICES =
736 CommandForHub_HubCommandType_RESTART_ALL_SERVICES;
737 static constexpr HubCommandType REBOOT_COMPUTER =
738 CommandForHub_HubCommandType_REBOOT_COMPUTER;
739 static constexpr HubCommandType SHUTDOWN_COMPUTER =
740 CommandForHub_HubCommandType_SHUTDOWN_COMPUTER;
741 static constexpr HubCommandType SET_HUB_LOCATION =
742 CommandForHub_HubCommandType_SET_HUB_LOCATION;
743 static inline bool HubCommandType_IsValid(int value) {
745 }
746 static constexpr HubCommandType HubCommandType_MIN =
748 static constexpr HubCommandType HubCommandType_MAX =
750 static constexpr int HubCommandType_ARRAYSIZE =
752 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
756 template<typename T>
757 static inline const std::string& HubCommandType_Name(T enum_t_value) {
758 static_assert(::std::is_same<T, HubCommandType>::value ||
759 ::std::is_integral<T>::value,
760 "Incorrect type passed to function HubCommandType_Name.");
761 return CommandForHub_HubCommandType_Name(enum_t_value);
762 }
763 static inline bool HubCommandType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
764 HubCommandType* value) {
765 return CommandForHub_HubCommandType_Parse(name, value);
766 }
767
768 // accessors -------------------------------------------------------
769
770 enum : int {
771 kHubLocationFieldNumber = 80,
772 kTimeFieldNumber = 2,
773 kHubIdFieldNumber = 1,
774 kScanForBotIdFieldNumber = 11,
775 kTypeFieldNumber = 10,
776 };
777 // optional .jaiabot.protobuf.GeographicCoordinate hub_location = 80 [(.jaia.field) = {
778 bool has_hub_location() const;
779 private:
780 bool _internal_has_hub_location() const;
781 public:
783 const ::jaiabot::protobuf::GeographicCoordinate& hub_location() const;
784 PROTOBUF_NODISCARD ::jaiabot::protobuf::GeographicCoordinate* release_hub_location();
785 ::jaiabot::protobuf::GeographicCoordinate* mutable_hub_location();
786 void set_allocated_hub_location(::jaiabot::protobuf::GeographicCoordinate* hub_location);
787 private:
788 const ::jaiabot::protobuf::GeographicCoordinate& _internal_hub_location() const;
789 ::jaiabot::protobuf::GeographicCoordinate* _internal_mutable_hub_location();
790 public:
791 void unsafe_arena_set_allocated_hub_location(
793 ::jaiabot::protobuf::GeographicCoordinate* unsafe_arena_release_hub_location();
794
795 // required uint64 time = 2 [(.dccl.field) = {
796 bool has_time() const;
797 private:
798 bool _internal_has_time() const;
799 public:
800 void clear_time();
801 uint64_t time() const;
802 void set_time(uint64_t value);
803 private:
804 uint64_t _internal_time() const;
805 void _internal_set_time(uint64_t value);
806 public:
807
808 // required uint32 hub_id = 1 [(.jaia.field) = {
809 bool has_hub_id() const;
810 private:
811 bool _internal_has_hub_id() const;
812 public:
813 void clear_hub_id();
814 uint32_t hub_id() const;
815 void set_hub_id(uint32_t value);
816 private:
817 uint32_t _internal_hub_id() const;
818 void _internal_set_hub_id(uint32_t value);
819 public:
820
821 // optional uint32 scan_for_bot_id = 11;
822 bool has_scan_for_bot_id() const;
823 private:
824 bool _internal_has_scan_for_bot_id() const;
825 public:
826 void clear_scan_for_bot_id();
827 uint32_t scan_for_bot_id() const;
828 void set_scan_for_bot_id(uint32_t value);
829 private:
830 uint32_t _internal_scan_for_bot_id() const;
831 void _internal_set_scan_for_bot_id(uint32_t value);
832 public:
833
834 // required .jaiabot.protobuf.CommandForHub.HubCommandType type = 10 [(.jaia.field) = {
835 bool has_type() const;
836 private:
837 bool _internal_has_type() const;
838 public:
839 void clear_type();
842 private:
844 void _internal_set_type(::jaiabot::protobuf::CommandForHub_HubCommandType value);
845 public:
846
847 typedef boost::units::time_dimension time_dimension;
848
849 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;
850
851 template<typename Quantity >
852 void set_time_with_units(Quantity value_w_units)
853 { set_time(boost::units::quantity<time_unit,google::protobuf::uint64 >(value_w_units).value() ); };
854
855 template<typename Quantity >
856 Quantity time_with_units() const
857 { return Quantity(time() * time_unit()); };
858
859 boost::units::quantity< time_unit,google::protobuf::uint64 > time_with_units() const
860 { return time_with_units<boost::units::quantity< time_unit,google::protobuf::uint64 > >(); };
861
862 // @@protoc_insertion_point(class_scope:jaiabot.protobuf.CommandForHub)
863 private:
864 class _Internal;
865
866 // helper for ByteSizeLong()
867 size_t RequiredFieldsByteSizeFallback() const;
868
869 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
870 typedef void InternalArenaConstructable_;
871 typedef void DestructorSkippable_;
872 struct Impl_ {
873 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
874 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
876 uint64_t time_;
877 uint32_t hub_id_;
878 uint32_t scan_for_bot_id_;
879 int type_;
880 };
881 union { Impl_ _impl_; };
882 friend struct ::TableStruct_jaiabot_2fmessages_2fjaia_5fdccl_2eproto;
883};
884// -------------------------------------------------------------------
885
887 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.protobuf.BotStatus.Attitude) */ {
888 public:
891 explicit PROTOBUF_CONSTEXPR BotStatus_Attitude(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
892
896 *this = ::std::move(from);
897 }
898
900 CopyFrom(from);
901 return *this;
902 }
904 if (this == &from) return *this;
905 if (GetOwningArena() == from.GetOwningArena()
906 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
907 && GetOwningArena() != nullptr
908 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
909 ) {
910 InternalSwap(&from);
911 } else {
912 CopyFrom(from);
913 }
914 return *this;
915 }
916
917 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
918 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
919 }
920 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
921 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
922 }
923
924 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
925 return GetDescriptor();
926 }
927 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
928 return default_instance().GetMetadata().descriptor;
929 }
930 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
931 return default_instance().GetMetadata().reflection;
932 }
934 return *internal_default_instance();
935 }
937 return reinterpret_cast<const BotStatus_Attitude*>(
939 }
940 static constexpr int kIndexInFileMessages =
941 2;
942
944 a.Swap(&b);
945 }
946 inline void Swap(BotStatus_Attitude* other) {
947 if (other == this) return;
948 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
949 if (GetOwningArena() != nullptr &&
950 GetOwningArena() == other->GetOwningArena()) {
951 #else // PROTOBUF_FORCE_COPY_IN_SWAP
952 if (GetOwningArena() == other->GetOwningArena()) {
953 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
954 InternalSwap(other);
955 } else {
956 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
957 }
958 }
960 if (other == this) return;
961 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
962 InternalSwap(other);
963 }
964
965 // implements Message ----------------------------------------------
966
967 BotStatus_Attitude* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
968 return CreateMaybeMessage<BotStatus_Attitude>(arena);
969 }
970 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
971 void CopyFrom(const BotStatus_Attitude& from);
972 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
973 void MergeFrom( const BotStatus_Attitude& from) {
974 BotStatus_Attitude::MergeImpl(*this, from);
975 }
976 private:
977 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
978 public:
979 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
980 bool IsInitialized() const final;
981
982 size_t ByteSizeLong() const final;
983 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
984 uint8_t* _InternalSerialize(
985 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
986 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
987
988 private:
989 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
990 void SharedDtor();
991 void SetCachedSize(int size) const final;
992 void InternalSwap(BotStatus_Attitude* other);
993
994 private:
995 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
996 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
997 return "jaiabot.protobuf.BotStatus.Attitude";
998 }
999 protected:
1000 explicit BotStatus_Attitude(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1001 bool is_message_owned = false);
1002 public:
1003
1004 static const ClassData _class_data_;
1005 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
1006
1007 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
1008
1009 // nested types ----------------------------------------------------
1010
1011 // accessors -------------------------------------------------------
1012
1013 enum : int {
1014 kRollFieldNumber = 1,
1015 kPitchFieldNumber = 2,
1016 kHeadingFieldNumber = 3,
1017 kCourseOverGroundFieldNumber = 4,
1018 };
1019 // optional double roll = 1 [(.dccl.field) = {
1020 bool has_roll() const;
1021 private:
1022 bool _internal_has_roll() const;
1023 public:
1024 void clear_roll();
1025 double roll() const;
1026 void set_roll(double value);
1027 private:
1028 double _internal_roll() const;
1029 void _internal_set_roll(double value);
1030 public:
1031
1032 // optional double pitch = 2 [(.dccl.field) = {
1033 bool has_pitch() const;
1034 private:
1035 bool _internal_has_pitch() const;
1036 public:
1037 void clear_pitch();
1038 double pitch() const;
1039 void set_pitch(double value);
1040 private:
1041 double _internal_pitch() const;
1042 void _internal_set_pitch(double value);
1043 public:
1044
1045 // optional double heading = 3 [(.dccl.field) = {
1046 bool has_heading() const;
1047 private:
1048 bool _internal_has_heading() const;
1049 public:
1050 void clear_heading();
1051 double heading() const;
1052 void set_heading(double value);
1053 private:
1054 double _internal_heading() const;
1055 void _internal_set_heading(double value);
1056 public:
1057
1058 // optional double course_over_ground = 4 [(.dccl.field) = {
1059 bool has_course_over_ground() const;
1060 private:
1061 bool _internal_has_course_over_ground() const;
1062 public:
1063 void clear_course_over_ground();
1064 double course_over_ground() const;
1065 void set_course_over_ground(double value);
1066 private:
1067 double _internal_course_over_ground() const;
1068 void _internal_set_course_over_ground(double value);
1069 public:
1070
1071 typedef boost::units::plane_angle_dimension roll_dimension;
1072
1073 typedef boost::units::unit<roll_dimension,boost::units::degree::system> roll_unit;
1074
1075 template<typename Quantity >
1076 void set_roll_with_units(Quantity value_w_units)
1077 { set_roll(boost::units::quantity<roll_unit,double >(value_w_units).value() ); };
1078
1079 template<typename Quantity >
1080 Quantity roll_with_units() const
1081 { return Quantity(roll() * roll_unit()); };
1082
1083 boost::units::quantity< roll_unit,double > roll_with_units() const
1084 { return roll_with_units<boost::units::quantity< roll_unit,double > >(); };
1085
1086 typedef boost::units::plane_angle_dimension pitch_dimension;
1087
1088 typedef boost::units::unit<pitch_dimension,boost::units::degree::system> pitch_unit;
1089
1090 template<typename Quantity >
1091 void set_pitch_with_units(Quantity value_w_units)
1092 { set_pitch(boost::units::quantity<pitch_unit,double >(value_w_units).value() ); };
1093
1094 template<typename Quantity >
1095 Quantity pitch_with_units() const
1096 { return Quantity(pitch() * pitch_unit()); };
1097
1098 boost::units::quantity< pitch_unit,double > pitch_with_units() const
1099 { return pitch_with_units<boost::units::quantity< pitch_unit,double > >(); };
1100
1101 typedef boost::units::plane_angle_dimension heading_dimension;
1102
1103 typedef boost::units::unit<heading_dimension,boost::units::degree::system> heading_unit;
1104
1105 template<typename Quantity >
1106 void set_heading_with_units(Quantity value_w_units)
1107 { set_heading(boost::units::quantity<heading_unit,double >(value_w_units).value() ); };
1108
1109 template<typename Quantity >
1110 Quantity heading_with_units() const
1111 { return Quantity(heading() * heading_unit()); };
1112
1113 boost::units::quantity< heading_unit,double > heading_with_units() const
1114 { return heading_with_units<boost::units::quantity< heading_unit,double > >(); };
1115
1116 typedef boost::units::plane_angle_dimension course_over_ground_dimension;
1117
1118 typedef boost::units::unit<course_over_ground_dimension,boost::units::degree::system> course_over_ground_unit;
1119
1120 template<typename Quantity >
1121 void set_course_over_ground_with_units(Quantity value_w_units)
1122 { set_course_over_ground(boost::units::quantity<course_over_ground_unit,double >(value_w_units).value() ); };
1123
1124 template<typename Quantity >
1126 { return Quantity(course_over_ground() * course_over_ground_unit()); };
1127
1128 boost::units::quantity< course_over_ground_unit,double > course_over_ground_with_units() const
1129 { return course_over_ground_with_units<boost::units::quantity< course_over_ground_unit,double > >(); };
1130
1131 // @@protoc_insertion_point(class_scope:jaiabot.protobuf.BotStatus.Attitude)
1132 private:
1133 class _Internal;
1134
1135 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1136 typedef void InternalArenaConstructable_;
1137 typedef void DestructorSkippable_;
1138 struct Impl_ {
1139 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
1140 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1141 double roll_;
1142 double pitch_;
1143 double heading_;
1144 double course_over_ground_;
1145 };
1146 union { Impl_ _impl_; };
1147 friend struct ::TableStruct_jaiabot_2fmessages_2fjaia_5fdccl_2eproto;
1148};
1149// -------------------------------------------------------------------
1150
1151class BotStatus_Speed final :
1152 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.protobuf.BotStatus.Speed) */ {
1153 public:
1154 inline BotStatus_Speed() : BotStatus_Speed(nullptr) {}
1156 explicit PROTOBUF_CONSTEXPR BotStatus_Speed(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
1157
1160 : BotStatus_Speed() {
1161 *this = ::std::move(from);
1162 }
1163
1165 CopyFrom(from);
1166 return *this;
1167 }
1168 inline BotStatus_Speed& operator=(BotStatus_Speed&& from) noexcept {
1169 if (this == &from) return *this;
1170 if (GetOwningArena() == from.GetOwningArena()
1171 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
1172 && GetOwningArena() != nullptr
1173 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
1174 ) {
1175 InternalSwap(&from);
1176 } else {
1177 CopyFrom(from);
1178 }
1179 return *this;
1180 }
1181
1182 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
1183 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
1184 }
1185 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
1186 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
1187 }
1188
1189 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
1190 return GetDescriptor();
1191 }
1192 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
1193 return default_instance().GetMetadata().descriptor;
1194 }
1195 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
1196 return default_instance().GetMetadata().reflection;
1197 }
1199 return *internal_default_instance();
1200 }
1202 return reinterpret_cast<const BotStatus_Speed*>(
1204 }
1205 static constexpr int kIndexInFileMessages =
1206 3;
1207
1209 a.Swap(&b);
1210 }
1211 inline void Swap(BotStatus_Speed* other) {
1212 if (other == this) return;
1213 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
1214 if (GetOwningArena() != nullptr &&
1215 GetOwningArena() == other->GetOwningArena()) {
1216 #else // PROTOBUF_FORCE_COPY_IN_SWAP
1217 if (GetOwningArena() == other->GetOwningArena()) {
1218 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
1219 InternalSwap(other);
1220 } else {
1221 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
1222 }
1223 }
1225 if (other == this) return;
1226 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
1227 InternalSwap(other);
1228 }
1229
1230 // implements Message ----------------------------------------------
1231
1232 BotStatus_Speed* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
1233 return CreateMaybeMessage<BotStatus_Speed>(arena);
1234 }
1235 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
1236 void CopyFrom(const BotStatus_Speed& from);
1237 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
1238 void MergeFrom( const BotStatus_Speed& from) {
1239 BotStatus_Speed::MergeImpl(*this, from);
1240 }
1241 private:
1242 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
1243 public:
1244 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1245 bool IsInitialized() const final;
1246
1247 size_t ByteSizeLong() const final;
1248 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1249 uint8_t* _InternalSerialize(
1250 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1251 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
1252
1253 private:
1254 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
1255 void SharedDtor();
1256 void SetCachedSize(int size) const final;
1257 void InternalSwap(BotStatus_Speed* other);
1258
1259 private:
1260 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1261 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1262 return "jaiabot.protobuf.BotStatus.Speed";
1263 }
1264 protected:
1265 explicit BotStatus_Speed(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1266 bool is_message_owned = false);
1267 public:
1268
1269 static const ClassData _class_data_;
1270 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
1271
1272 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
1273
1274 // nested types ----------------------------------------------------
1275
1276 // accessors -------------------------------------------------------
1277
1278 enum : int {
1279 kOverGroundFieldNumber = 1,
1280 kOverWaterFieldNumber = 2,
1281 };
1282 // optional double over_ground = 1 [(.dccl.field) = {
1283 bool has_over_ground() const;
1284 private:
1285 bool _internal_has_over_ground() const;
1286 public:
1287 void clear_over_ground();
1288 double over_ground() const;
1289 void set_over_ground(double value);
1290 private:
1291 double _internal_over_ground() const;
1292 void _internal_set_over_ground(double value);
1293 public:
1294
1295 // optional double over_water = 2 [(.dccl.field) = {
1296 bool has_over_water() const;
1297 private:
1298 bool _internal_has_over_water() const;
1299 public:
1300 void clear_over_water();
1301 double over_water() const;
1302 void set_over_water(double value);
1303 private:
1304 double _internal_over_water() const;
1305 void _internal_set_over_water(double value);
1306 public:
1307
1308 typedef boost::units::velocity_dimension over_ground_dimension;
1309
1310 typedef boost::units::unit<over_ground_dimension,boost::units::si::system> over_ground_unit;
1311
1312 template<typename Quantity >
1313 void set_over_ground_with_units(Quantity value_w_units)
1314 { set_over_ground(boost::units::quantity<over_ground_unit,double >(value_w_units).value() ); };
1315
1316 template<typename Quantity >
1317 Quantity over_ground_with_units() const
1318 { return Quantity(over_ground() * over_ground_unit()); };
1319
1320 boost::units::quantity< over_ground_unit,double > over_ground_with_units() const
1321 { return over_ground_with_units<boost::units::quantity< over_ground_unit,double > >(); };
1322
1323 typedef boost::units::velocity_dimension over_water_dimension;
1324
1325 typedef boost::units::unit<over_water_dimension,boost::units::si::system> over_water_unit;
1326
1327 template<typename Quantity >
1328 void set_over_water_with_units(Quantity value_w_units)
1329 { set_over_water(boost::units::quantity<over_water_unit,double >(value_w_units).value() ); };
1330
1331 template<typename Quantity >
1332 Quantity over_water_with_units() const
1333 { return Quantity(over_water() * over_water_unit()); };
1334
1335 boost::units::quantity< over_water_unit,double > over_water_with_units() const
1336 { return over_water_with_units<boost::units::quantity< over_water_unit,double > >(); };
1337
1338 // @@protoc_insertion_point(class_scope:jaiabot.protobuf.BotStatus.Speed)
1339 private:
1340 class _Internal;
1341
1342 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1343 typedef void InternalArenaConstructable_;
1344 typedef void DestructorSkippable_;
1345 struct Impl_ {
1346 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
1347 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1348 double over_ground_;
1349 double over_water_;
1350 };
1351 union { Impl_ _impl_; };
1352 friend struct ::TableStruct_jaiabot_2fmessages_2fjaia_5fdccl_2eproto;
1353};
1354// -------------------------------------------------------------------
1355
1356class BotStatus final :
1357 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.protobuf.BotStatus) */ {
1358 public:
1359 inline BotStatus() : BotStatus(nullptr) {}
1360 ~BotStatus() override;
1361 explicit PROTOBUF_CONSTEXPR BotStatus(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
1362
1363 BotStatus(const BotStatus& from);
1364 BotStatus(BotStatus&& from) noexcept
1365 : BotStatus() {
1366 *this = ::std::move(from);
1367 }
1368
1369 inline BotStatus& operator=(const BotStatus& from) {
1370 CopyFrom(from);
1371 return *this;
1372 }
1373 inline BotStatus& operator=(BotStatus&& from) noexcept {
1374 if (this == &from) return *this;
1375 if (GetOwningArena() == from.GetOwningArena()
1376 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
1377 && GetOwningArena() != nullptr
1378 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
1379 ) {
1380 InternalSwap(&from);
1381 } else {
1382 CopyFrom(from);
1383 }
1384 return *this;
1385 }
1386
1387 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
1388 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
1389 }
1390 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
1391 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
1392 }
1393
1394 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
1395 return GetDescriptor();
1396 }
1397 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
1398 return default_instance().GetMetadata().descriptor;
1399 }
1400 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
1401 return default_instance().GetMetadata().reflection;
1402 }
1403 static const BotStatus& default_instance() {
1404 return *internal_default_instance();
1405 }
1406 static inline const BotStatus* internal_default_instance() {
1407 return reinterpret_cast<const BotStatus*>(
1409 }
1410 static constexpr int kIndexInFileMessages =
1411 4;
1412
1413 friend void swap(BotStatus& a, BotStatus& b) {
1414 a.Swap(&b);
1415 }
1416 inline void Swap(BotStatus* other) {
1417 if (other == this) return;
1418 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
1419 if (GetOwningArena() != nullptr &&
1420 GetOwningArena() == other->GetOwningArena()) {
1421 #else // PROTOBUF_FORCE_COPY_IN_SWAP
1422 if (GetOwningArena() == other->GetOwningArena()) {
1423 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
1424 InternalSwap(other);
1425 } else {
1426 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
1427 }
1428 }
1430 if (other == this) return;
1431 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
1432 InternalSwap(other);
1433 }
1434
1435 // implements Message ----------------------------------------------
1436
1437 BotStatus* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
1438 return CreateMaybeMessage<BotStatus>(arena);
1439 }
1440 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
1441 void CopyFrom(const BotStatus& from);
1442 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
1443 void MergeFrom( const BotStatus& from) {
1444 BotStatus::MergeImpl(*this, from);
1445 }
1446 private:
1447 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
1448 public:
1449 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1450 bool IsInitialized() const final;
1451
1452 size_t ByteSizeLong() const final;
1453 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1454 uint8_t* _InternalSerialize(
1455 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1456 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
1457
1458 private:
1459 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
1460 void SharedDtor();
1461 void SetCachedSize(int size) const final;
1462 void InternalSwap(BotStatus* other);
1463
1464 private:
1465 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1466 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1467 return "jaiabot.protobuf.BotStatus";
1468 }
1469 protected:
1470 explicit BotStatus(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1471 bool is_message_owned = false);
1472 public:
1473
1474 static const ClassData _class_data_;
1475 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
1476
1477 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
1478
1479 // nested types ----------------------------------------------------
1480
1483
1485 static constexpr BotType HYDRO =
1486 BotStatus_BotType_HYDRO;
1487 static constexpr BotType ECHO =
1488 BotStatus_BotType_ECHO;
1489 static constexpr BotType BIO =
1490 BotStatus_BotType_BIO;
1491 static inline bool BotType_IsValid(int value) {
1492 return BotStatus_BotType_IsValid(value);
1493 }
1494 static constexpr BotType BotType_MIN =
1496 static constexpr BotType BotType_MAX =
1498 static constexpr int BotType_ARRAYSIZE =
1500 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
1504 template<typename T>
1505 static inline const std::string& BotType_Name(T enum_t_value) {
1506 static_assert(::std::is_same<T, BotType>::value ||
1507 ::std::is_integral<T>::value,
1508 "Incorrect type passed to function BotType_Name.");
1509 return BotStatus_BotType_Name(enum_t_value);
1510 }
1511 static inline bool BotType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
1512 BotType* value) {
1513 return BotStatus_BotType_Parse(name, value);
1514 }
1515
1516 // accessors -------------------------------------------------------
1517
1518 enum : int {
1519 kErrorFieldNumber = 5,
1520 kWarningFieldNumber = 6,
1521 kLocationFieldNumber = 10,
1522 kAttitudeFieldNumber = 20,
1523 kSpeedFieldNumber = 30,
1524 kTimeFieldNumber = 2,
1525 kLastCommandTimeFieldNumber = 3,
1526 kDepthFieldNumber = 11,
1527 kBotIdFieldNumber = 1,
1528 kMissionStateFieldNumber = 40,
1529 kDistanceToActiveGoalFieldNumber = 42,
1530 kActiveGoalFieldNumber = 41,
1531 kActiveGoalTimeoutFieldNumber = 43,
1532 kRepeatIndexFieldNumber = 44,
1533 kCalibrationStatusFieldNumber = 54,
1534 kSalinityFieldNumber = 51,
1535 kTemperatureFieldNumber = 52,
1536 kBatteryPercentFieldNumber = 53,
1537 kHdopFieldNumber = 56,
1538 kPdopFieldNumber = 57,
1539 kReceivedTimeFieldNumber = 59,
1540 kWifiLinkQualityPercentageFieldNumber = 58,
1541 kHealthStateFieldNumber = 4,
1542 kBotTypeFieldNumber = 7,
1543 kLinkFieldNumber = 8,
1544 kCalibrationStateFieldNumber = 55,
1545 };
1546 // repeated .jaiabot.protobuf.Error error = 5 [(.dccl.field) = {
1547 int error_size() const;
1548 private:
1549 int _internal_error_size() const;
1550 public:
1551 void clear_error();
1552 private:
1553 ::jaiabot::protobuf::Error _internal_error(int index) const;
1554 void _internal_add_error(::jaiabot::protobuf::Error value);
1555 ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>* _internal_mutable_error();
1556 public:
1557 ::jaiabot::protobuf::Error error(int index) const;
1558 void set_error(int index, ::jaiabot::protobuf::Error value);
1559 void add_error(::jaiabot::protobuf::Error value);
1560 const ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>& error() const;
1561 ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>* mutable_error();
1562
1563 // repeated .jaiabot.protobuf.Warning warning = 6 [(.dccl.field) = {
1564 int warning_size() const;
1565 private:
1566 int _internal_warning_size() const;
1567 public:
1568 void clear_warning();
1569 private:
1570 ::jaiabot::protobuf::Warning _internal_warning(int index) const;
1571 void _internal_add_warning(::jaiabot::protobuf::Warning value);
1572 ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>* _internal_mutable_warning();
1573 public:
1574 ::jaiabot::protobuf::Warning warning(int index) const;
1575 void set_warning(int index, ::jaiabot::protobuf::Warning value);
1576 void add_warning(::jaiabot::protobuf::Warning value);
1577 const ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>& warning() const;
1578 ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>* mutable_warning();
1579
1580 // optional .jaiabot.protobuf.GeographicCoordinate location = 10 [(.jaia.field) = {
1581 bool has_location() const;
1582 private:
1583 bool _internal_has_location() const;
1584 public:
1586 const ::jaiabot::protobuf::GeographicCoordinate& location() const;
1587 PROTOBUF_NODISCARD ::jaiabot::protobuf::GeographicCoordinate* release_location();
1589 void set_allocated_location(::jaiabot::protobuf::GeographicCoordinate* location);
1590 private:
1591 const ::jaiabot::protobuf::GeographicCoordinate& _internal_location() const;
1592 ::jaiabot::protobuf::GeographicCoordinate* _internal_mutable_location();
1593 public:
1594 void unsafe_arena_set_allocated_location(
1596 ::jaiabot::protobuf::GeographicCoordinate* unsafe_arena_release_location();
1597
1598 // optional .jaiabot.protobuf.BotStatus.Attitude attitude = 20 [(.jaia.field) = {
1599 bool has_attitude() const;
1600 private:
1601 bool _internal_has_attitude() const;
1602 public:
1603 void clear_attitude();
1604 const ::jaiabot::protobuf::BotStatus_Attitude& attitude() const;
1605 PROTOBUF_NODISCARD ::jaiabot::protobuf::BotStatus_Attitude* release_attitude();
1606 ::jaiabot::protobuf::BotStatus_Attitude* mutable_attitude();
1607 void set_allocated_attitude(::jaiabot::protobuf::BotStatus_Attitude* attitude);
1608 private:
1609 const ::jaiabot::protobuf::BotStatus_Attitude& _internal_attitude() const;
1610 ::jaiabot::protobuf::BotStatus_Attitude* _internal_mutable_attitude();
1611 public:
1612 void unsafe_arena_set_allocated_attitude(
1614 ::jaiabot::protobuf::BotStatus_Attitude* unsafe_arena_release_attitude();
1615
1616 // optional .jaiabot.protobuf.BotStatus.Speed speed = 30 [(.jaia.field) = {
1617 bool has_speed() const;
1618 private:
1619 bool _internal_has_speed() const;
1620 public:
1621 void clear_speed();
1622 const ::jaiabot::protobuf::BotStatus_Speed& speed() const;
1623 PROTOBUF_NODISCARD ::jaiabot::protobuf::BotStatus_Speed* release_speed();
1624 ::jaiabot::protobuf::BotStatus_Speed* mutable_speed();
1625 void set_allocated_speed(::jaiabot::protobuf::BotStatus_Speed* speed);
1626 private:
1627 const ::jaiabot::protobuf::BotStatus_Speed& _internal_speed() const;
1628 ::jaiabot::protobuf::BotStatus_Speed* _internal_mutable_speed();
1629 public:
1630 void unsafe_arena_set_allocated_speed(
1632 ::jaiabot::protobuf::BotStatus_Speed* unsafe_arena_release_speed();
1633
1634 // required uint64 time = 2 [(.dccl.field) = {
1635 bool has_time() const;
1636 private:
1637 bool _internal_has_time() const;
1638 public:
1639 void clear_time();
1640 uint64_t time() const;
1641 void set_time(uint64_t value);
1642 private:
1643 uint64_t _internal_time() const;
1644 void _internal_set_time(uint64_t value);
1645 public:
1646
1647 // optional uint64 last_command_time = 3 [(.dccl.field) = {
1648 bool has_last_command_time() const;
1649 private:
1650 bool _internal_has_last_command_time() const;
1651 public:
1652 void clear_last_command_time();
1653 uint64_t last_command_time() const;
1654 void set_last_command_time(uint64_t value);
1655 private:
1656 uint64_t _internal_last_command_time() const;
1657 void _internal_set_last_command_time(uint64_t value);
1658 public:
1659
1660 // optional double depth = 11 [(.dccl.field) = {
1661 bool has_depth() const;
1662 private:
1663 bool _internal_has_depth() const;
1664 public:
1665 void clear_depth();
1666 double depth() const;
1667 void set_depth(double value);
1668 private:
1669 double _internal_depth() const;
1670 void _internal_set_depth(double value);
1671 public:
1672
1673 // required uint32 bot_id = 1 [(.dccl.field) = {
1674 bool has_bot_id() const;
1675 private:
1676 bool _internal_has_bot_id() const;
1677 public:
1678 void clear_bot_id();
1679 uint32_t bot_id() const;
1680 void set_bot_id(uint32_t value);
1681 private:
1682 uint32_t _internal_bot_id() const;
1683 void _internal_set_bot_id(uint32_t value);
1684 public:
1685
1686 // optional .jaiabot.protobuf.MissionState mission_state = 40 [(.jaia.field) = {
1687 bool has_mission_state() const;
1688 private:
1689 bool _internal_has_mission_state() const;
1690 public:
1691 void clear_mission_state();
1692 ::jaiabot::protobuf::MissionState mission_state() const;
1693 void set_mission_state(::jaiabot::protobuf::MissionState value);
1694 private:
1695 ::jaiabot::protobuf::MissionState _internal_mission_state() const;
1696 void _internal_set_mission_state(::jaiabot::protobuf::MissionState value);
1697 public:
1698
1699 // optional double distance_to_active_goal = 42 [(.dccl.field) = {
1700 bool has_distance_to_active_goal() const;
1701 private:
1702 bool _internal_has_distance_to_active_goal() const;
1703 public:
1704 void clear_distance_to_active_goal();
1705 double distance_to_active_goal() const;
1706 void set_distance_to_active_goal(double value);
1707 private:
1708 double _internal_distance_to_active_goal() const;
1709 void _internal_set_distance_to_active_goal(double value);
1710 public:
1711
1712 // optional int32 active_goal = 41 [(.dccl.field) = {
1713 bool has_active_goal() const;
1714 private:
1715 bool _internal_has_active_goal() const;
1716 public:
1717 void clear_active_goal();
1718 int32_t active_goal() const;
1719 void set_active_goal(int32_t value);
1720 private:
1721 int32_t _internal_active_goal() const;
1722 void _internal_set_active_goal(int32_t value);
1723 public:
1724
1725 // optional uint32 active_goal_timeout = 43 [(.dccl.field) = {
1726 bool has_active_goal_timeout() const;
1727 private:
1728 bool _internal_has_active_goal_timeout() const;
1729 public:
1730 void clear_active_goal_timeout();
1731 uint32_t active_goal_timeout() const;
1732 void set_active_goal_timeout(uint32_t value);
1733 private:
1734 uint32_t _internal_active_goal_timeout() const;
1735 void _internal_set_active_goal_timeout(uint32_t value);
1736 public:
1737
1738 // optional int32 repeat_index = 44 [(.dccl.field) = {
1739 bool has_repeat_index() const;
1740 private:
1741 bool _internal_has_repeat_index() const;
1742 public:
1743 void clear_repeat_index();
1744 int32_t repeat_index() const;
1745 void set_repeat_index(int32_t value);
1746 private:
1747 int32_t _internal_repeat_index() const;
1748 void _internal_set_repeat_index(int32_t value);
1749 public:
1750
1751 // optional int32 calibration_status = 54 [(.dccl.field) = {
1752 bool has_calibration_status() const;
1753 private:
1754 bool _internal_has_calibration_status() const;
1755 public:
1756 void clear_calibration_status();
1757 int32_t calibration_status() const;
1758 void set_calibration_status(int32_t value);
1759 private:
1760 int32_t _internal_calibration_status() const;
1761 void _internal_set_calibration_status(int32_t value);
1762 public:
1763
1764 // optional double salinity = 51 [(.dccl.field) = {
1765 bool has_salinity() const;
1766 private:
1767 bool _internal_has_salinity() const;
1768 public:
1769 void clear_salinity();
1770 double salinity() const;
1771 void set_salinity(double value);
1772 private:
1773 double _internal_salinity() const;
1774 void _internal_set_salinity(double value);
1775 public:
1776
1777 // optional double temperature = 52 [(.dccl.field) = {
1778 bool has_temperature() const;
1779 private:
1780 bool _internal_has_temperature() const;
1781 public:
1782 void clear_temperature();
1783 double temperature() const;
1784 void set_temperature(double value);
1785 private:
1786 double _internal_temperature() const;
1787 void _internal_set_temperature(double value);
1788 public:
1789
1790 // optional double battery_percent = 53 [(.dccl.field) = {
1791 bool has_battery_percent() const;
1792 private:
1793 bool _internal_has_battery_percent() const;
1794 public:
1795 void clear_battery_percent();
1796 double battery_percent() const;
1797 void set_battery_percent(double value);
1798 private:
1799 double _internal_battery_percent() const;
1800 void _internal_set_battery_percent(double value);
1801 public:
1802
1803 // optional double hdop = 56 [(.dccl.field) = {
1804 bool has_hdop() const;
1805 private:
1806 bool _internal_has_hdop() const;
1807 public:
1808 void clear_hdop();
1809 double hdop() const;
1810 void set_hdop(double value);
1811 private:
1812 double _internal_hdop() const;
1813 void _internal_set_hdop(double value);
1814 public:
1815
1816 // optional double pdop = 57 [(.dccl.field) = {
1817 bool has_pdop() const;
1818 private:
1819 bool _internal_has_pdop() const;
1820 public:
1821 void clear_pdop();
1822 double pdop() const;
1823 void set_pdop(double value);
1824 private:
1825 double _internal_pdop() const;
1826 void _internal_set_pdop(double value);
1827 public:
1828
1829 // optional uint64 received_time = 59 [(.dccl.field) = {
1830 bool has_received_time() const;
1831 private:
1832 bool _internal_has_received_time() const;
1833 public:
1834 void clear_received_time();
1835 uint64_t received_time() const;
1836 void set_received_time(uint64_t value);
1837 private:
1838 uint64_t _internal_received_time() const;
1839 void _internal_set_received_time(uint64_t value);
1840 public:
1841
1842 // optional int32 wifi_link_quality_percentage = 58 [(.dccl.field) = {
1843 bool has_wifi_link_quality_percentage() const;
1844 private:
1845 bool _internal_has_wifi_link_quality_percentage() const;
1846 public:
1847 void clear_wifi_link_quality_percentage();
1848 int32_t wifi_link_quality_percentage() const;
1849 void set_wifi_link_quality_percentage(int32_t value);
1850 private:
1851 int32_t _internal_wifi_link_quality_percentage() const;
1852 void _internal_set_wifi_link_quality_percentage(int32_t value);
1853 public:
1854
1855 // optional .goby.middleware.protobuf.HealthState health_state = 4 [(.jaia.field) = {
1856 bool has_health_state() const;
1857 private:
1858 bool _internal_has_health_state() const;
1859 public:
1860 void clear_health_state();
1861 ::goby::middleware::protobuf::HealthState health_state() const;
1862 void set_health_state(::goby::middleware::protobuf::HealthState value);
1863 private:
1864 ::goby::middleware::protobuf::HealthState _internal_health_state() const;
1865 void _internal_set_health_state(::goby::middleware::protobuf::HealthState value);
1866 public:
1867
1868 // optional .jaiabot.protobuf.BotStatus.BotType bot_type = 7 [(.jaia.field) = {
1869 bool has_bot_type() const;
1870 private:
1871 bool _internal_has_bot_type() const;
1872 public:
1873 void clear_bot_type();
1875 void set_bot_type(::jaiabot::protobuf::BotStatus_BotType value);
1876 private:
1877 ::jaiabot::protobuf::BotStatus_BotType _internal_bot_type() const;
1878 void _internal_set_bot_type(::jaiabot::protobuf::BotStatus_BotType value);
1879 public:
1880
1881 // optional .jaiabot.protobuf.Link link = 8 [(.dccl.field) = {
1882 bool has_link() const;
1883 private:
1884 bool _internal_has_link() const;
1885 public:
1886 void clear_link();
1887 ::jaiabot::protobuf::Link link() const;
1888 void set_link(::jaiabot::protobuf::Link value);
1889 private:
1890 ::jaiabot::protobuf::Link _internal_link() const;
1891 void _internal_set_link(::jaiabot::protobuf::Link value);
1892 public:
1893
1894 // optional .jaiabot.protobuf.IMUCalibrationState calibration_state = 55;
1895 bool has_calibration_state() const;
1896 private:
1897 bool _internal_has_calibration_state() const;
1898 public:
1899 void clear_calibration_state();
1900 ::jaiabot::protobuf::IMUCalibrationState calibration_state() const;
1901 void set_calibration_state(::jaiabot::protobuf::IMUCalibrationState value);
1902 private:
1903 ::jaiabot::protobuf::IMUCalibrationState _internal_calibration_state() const;
1904 void _internal_set_calibration_state(::jaiabot::protobuf::IMUCalibrationState value);
1905 public:
1906
1907 enum DCCLParameters { DCCL_ID = 81, DCCL_MAX_BYTES = 250 };
1908 typedef boost::units::time_dimension time_dimension;
1909
1910 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;
1911
1912 template<typename Quantity >
1913 void set_time_with_units(Quantity value_w_units)
1914 { set_time(boost::units::quantity<time_unit,google::protobuf::uint64 >(value_w_units).value() ); };
1915
1916 template<typename Quantity >
1917 Quantity time_with_units() const
1918 { return Quantity(time() * time_unit()); };
1919
1920 boost::units::quantity< time_unit,google::protobuf::uint64 > time_with_units() const
1921 { return time_with_units<boost::units::quantity< time_unit,google::protobuf::uint64 > >(); };
1922
1923 typedef boost::units::time_dimension last_command_time_dimension;
1924
1925 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;
1926
1927 template<typename Quantity >
1928 void set_last_command_time_with_units(Quantity value_w_units)
1929 { set_last_command_time(boost::units::quantity<last_command_time_unit,google::protobuf::uint64 >(value_w_units).value() ); };
1930
1931 template<typename Quantity >
1933 { return Quantity(last_command_time() * last_command_time_unit()); };
1934
1935 boost::units::quantity< last_command_time_unit,google::protobuf::uint64 > last_command_time_with_units() const
1936 { return last_command_time_with_units<boost::units::quantity< last_command_time_unit,google::protobuf::uint64 > >(); };
1937
1938 typedef boost::units::length_dimension depth_dimension;
1939
1940 typedef boost::units::unit<depth_dimension,boost::units::si::system> depth_unit;
1941
1942 template<typename Quantity >
1943 void set_depth_with_units(Quantity value_w_units)
1944 { set_depth(boost::units::quantity<depth_unit,double >(value_w_units).value() ); };
1945
1946 template<typename Quantity >
1947 Quantity depth_with_units() const
1948 { return Quantity(depth() * depth_unit()); };
1949
1950 boost::units::quantity< depth_unit,double > depth_with_units() const
1951 { return depth_with_units<boost::units::quantity< depth_unit,double > >(); };
1952
1953 typedef boost::units::length_dimension distance_to_active_goal_dimension;
1954
1955 typedef boost::units::unit<distance_to_active_goal_dimension,boost::units::si::system> distance_to_active_goal_unit;
1956
1957 template<typename Quantity >
1958 void set_distance_to_active_goal_with_units(Quantity value_w_units)
1959 { set_distance_to_active_goal(boost::units::quantity<distance_to_active_goal_unit,double >(value_w_units).value() ); };
1960
1961 template<typename Quantity >
1963 { return Quantity(distance_to_active_goal() * distance_to_active_goal_unit()); };
1964
1965 boost::units::quantity< distance_to_active_goal_unit,double > distance_to_active_goal_with_units() const
1966 { return distance_to_active_goal_with_units<boost::units::quantity< distance_to_active_goal_unit,double > >(); };
1967
1968 typedef boost::units::derived_dimension< boost::units::time_base_dimension,1 >::type active_goal_timeout_dimension;
1969
1970 typedef boost::units::unit<active_goal_timeout_dimension,boost::units::si::system> active_goal_timeout_unit;
1971
1972 template<typename Quantity >
1973 void set_active_goal_timeout_with_units(Quantity value_w_units)
1974 { set_active_goal_timeout(boost::units::quantity<active_goal_timeout_unit,google::protobuf::uint32 >(value_w_units).value() ); };
1975
1976 template<typename Quantity >
1978 { return Quantity(active_goal_timeout() * active_goal_timeout_unit()); };
1979
1980 boost::units::quantity< active_goal_timeout_unit,google::protobuf::uint32 > active_goal_timeout_with_units() const
1981 { return active_goal_timeout_with_units<boost::units::quantity< active_goal_timeout_unit,google::protobuf::uint32 > >(); };
1982
1983 typedef boost::units::temperature_dimension temperature_dimension;
1984
1985 typedef boost::units::absolute<boost::units::unit<temperature_dimension,boost::units::celsius::system> > temperature_unit;
1986
1987 template<typename Quantity >
1988 void set_temperature_with_units(Quantity value_w_units)
1989 { set_temperature(boost::units::quantity<temperature_unit,double >(value_w_units).value() ); };
1990
1991 template<typename Quantity >
1992 Quantity temperature_with_units() const
1993 { return Quantity(temperature() * temperature_unit()); };
1994
1995 boost::units::quantity< temperature_unit,double > temperature_with_units() const
1996 { return temperature_with_units<boost::units::quantity< temperature_unit,double > >(); };
1997
1998 typedef boost::units::time_dimension received_time_dimension;
1999
2000 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;
2001
2002 template<typename Quantity >
2003 void set_received_time_with_units(Quantity value_w_units)
2004 { set_received_time(boost::units::quantity<received_time_unit,google::protobuf::uint64 >(value_w_units).value() ); };
2005
2006 template<typename Quantity >
2008 { return Quantity(received_time() * received_time_unit()); };
2009
2010 boost::units::quantity< received_time_unit,google::protobuf::uint64 > received_time_with_units() const
2011 { return received_time_with_units<boost::units::quantity< received_time_unit,google::protobuf::uint64 > >(); };
2012
2013 // @@protoc_insertion_point(class_scope:jaiabot.protobuf.BotStatus)
2014 private:
2015 class _Internal;
2016
2017 // helper for ByteSizeLong()
2018 size_t RequiredFieldsByteSizeFallback() const;
2019
2020 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
2021 typedef void InternalArenaConstructable_;
2022 typedef void DestructorSkippable_;
2023 struct Impl_ {
2024 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
2025 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
2026 ::PROTOBUF_NAMESPACE_ID::RepeatedField<int> error_;
2027 ::PROTOBUF_NAMESPACE_ID::RepeatedField<int> warning_;
2031 uint64_t time_;
2032 uint64_t last_command_time_;
2033 double depth_;
2034 uint32_t bot_id_;
2035 int mission_state_;
2036 double distance_to_active_goal_;
2037 int32_t active_goal_;
2038 uint32_t active_goal_timeout_;
2039 int32_t repeat_index_;
2040 int32_t calibration_status_;
2041 double salinity_;
2042 double temperature_;
2043 double battery_percent_;
2044 double hdop_;
2045 double pdop_;
2046 uint64_t received_time_;
2047 int32_t wifi_link_quality_percentage_;
2048 int health_state_;
2049 int bot_type_;
2050 int link_;
2051 int calibration_state_;
2052 };
2053 union { Impl_ _impl_; };
2054 friend struct ::TableStruct_jaiabot_2fmessages_2fjaia_5fdccl_2eproto;
2055};
2056// -------------------------------------------------------------------
2057
2059 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.protobuf.DriftPacket.EstimatedDrift) */ {
2060 public:
2063 explicit PROTOBUF_CONSTEXPR DriftPacket_EstimatedDrift(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
2064
2068 *this = ::std::move(from);
2069 }
2070
2072 CopyFrom(from);
2073 return *this;
2074 }
2076 if (this == &from) return *this;
2077 if (GetOwningArena() == from.GetOwningArena()
2078 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
2079 && GetOwningArena() != nullptr
2080 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
2081 ) {
2082 InternalSwap(&from);
2083 } else {
2084 CopyFrom(from);
2085 }
2086 return *this;
2087 }
2088
2089 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
2090 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
2091 }
2092 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
2093 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
2094 }
2095
2096 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
2097 return GetDescriptor();
2098 }
2099 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
2100 return default_instance().GetMetadata().descriptor;
2101 }
2102 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
2103 return default_instance().GetMetadata().reflection;
2104 }
2106 return *internal_default_instance();
2107 }
2112 static constexpr int kIndexInFileMessages =
2113 5;
2114
2116 a.Swap(&b);
2117 }
2118 inline void Swap(DriftPacket_EstimatedDrift* other) {
2119 if (other == this) return;
2120 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
2121 if (GetOwningArena() != nullptr &&
2122 GetOwningArena() == other->GetOwningArena()) {
2123 #else // PROTOBUF_FORCE_COPY_IN_SWAP
2124 if (GetOwningArena() == other->GetOwningArena()) {
2125 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
2126 InternalSwap(other);
2127 } else {
2128 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
2129 }
2130 }
2132 if (other == this) return;
2133 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
2134 InternalSwap(other);
2135 }
2136
2137 // implements Message ----------------------------------------------
2138
2139 DriftPacket_EstimatedDrift* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
2140 return CreateMaybeMessage<DriftPacket_EstimatedDrift>(arena);
2141 }
2142 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
2144 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
2146 DriftPacket_EstimatedDrift::MergeImpl(*this, from);
2147 }
2148 private:
2149 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
2150 public:
2151 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
2152 bool IsInitialized() const final;
2153
2154 size_t ByteSizeLong() const final;
2155 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
2156 uint8_t* _InternalSerialize(
2157 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
2158 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
2159
2160 private:
2161 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
2162 void SharedDtor();
2163 void SetCachedSize(int size) const final;
2164 void InternalSwap(DriftPacket_EstimatedDrift* other);
2165
2166 private:
2167 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
2168 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
2169 return "jaiabot.protobuf.DriftPacket.EstimatedDrift";
2170 }
2171 protected:
2172 explicit DriftPacket_EstimatedDrift(::PROTOBUF_NAMESPACE_ID::Arena* arena,
2173 bool is_message_owned = false);
2174 public:
2175
2176 static const ClassData _class_data_;
2177 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
2178
2179 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
2180
2181 // nested types ----------------------------------------------------
2182
2183 // accessors -------------------------------------------------------
2184
2185 enum : int {
2186 kSpeedFieldNumber = 1,
2187 kHeadingFieldNumber = 3,
2188 };
2189 // required double speed = 1 [(.dccl.field) = {
2190 bool has_speed() const;
2191 private:
2192 bool _internal_has_speed() const;
2193 public:
2194 void clear_speed();
2195 double speed() const;
2196 void set_speed(double value);
2197 private:
2198 double _internal_speed() const;
2199 void _internal_set_speed(double value);
2200 public:
2201
2202 // optional double heading = 3 [(.dccl.field) = {
2203 bool has_heading() const;
2204 private:
2205 bool _internal_has_heading() const;
2206 public:
2207 void clear_heading();
2208 double heading() const;
2209 void set_heading(double value);
2210 private:
2211 double _internal_heading() const;
2212 void _internal_set_heading(double value);
2213 public:
2214
2215 typedef boost::units::velocity_dimension speed_dimension;
2216
2217 typedef boost::units::unit<speed_dimension,boost::units::si::system> speed_unit;
2218
2219 template<typename Quantity >
2220 void set_speed_with_units(Quantity value_w_units)
2221 { set_speed(boost::units::quantity<speed_unit,double >(value_w_units).value() ); };
2222
2223 template<typename Quantity >
2224 Quantity speed_with_units() const
2225 { return Quantity(speed() * speed_unit()); };
2226
2227 boost::units::quantity< speed_unit,double > speed_with_units() const
2228 { return speed_with_units<boost::units::quantity< speed_unit,double > >(); };
2229
2230 typedef boost::units::plane_angle_dimension heading_dimension;
2231
2232 typedef boost::units::unit<heading_dimension,boost::units::degree::system> heading_unit;
2233
2234 template<typename Quantity >
2235 void set_heading_with_units(Quantity value_w_units)
2236 { set_heading(boost::units::quantity<heading_unit,double >(value_w_units).value() ); };
2237
2238 template<typename Quantity >
2239 Quantity heading_with_units() const
2240 { return Quantity(heading() * heading_unit()); };
2241
2242 boost::units::quantity< heading_unit,double > heading_with_units() const
2243 { return heading_with_units<boost::units::quantity< heading_unit,double > >(); };
2244
2245 // @@protoc_insertion_point(class_scope:jaiabot.protobuf.DriftPacket.EstimatedDrift)
2246 private:
2247 class _Internal;
2248
2249 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
2250 typedef void InternalArenaConstructable_;
2251 typedef void DestructorSkippable_;
2252 struct Impl_ {
2253 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
2254 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
2255 double speed_;
2256 double heading_;
2257 };
2258 union { Impl_ _impl_; };
2259 friend struct ::TableStruct_jaiabot_2fmessages_2fjaia_5fdccl_2eproto;
2260};
2261// -------------------------------------------------------------------
2262
2263class DriftPacket final :
2264 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.protobuf.DriftPacket) */ {
2265 public:
2266 inline DriftPacket() : DriftPacket(nullptr) {}
2267 ~DriftPacket() override;
2268 explicit PROTOBUF_CONSTEXPR DriftPacket(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
2269
2271 DriftPacket(DriftPacket&& from) noexcept
2272 : DriftPacket() {
2273 *this = ::std::move(from);
2274 }
2275
2276 inline DriftPacket& operator=(const DriftPacket& from) {
2277 CopyFrom(from);
2278 return *this;
2279 }
2280 inline DriftPacket& operator=(DriftPacket&& from) noexcept {
2281 if (this == &from) return *this;
2282 if (GetOwningArena() == from.GetOwningArena()
2283 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
2284 && GetOwningArena() != nullptr
2285 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
2286 ) {
2287 InternalSwap(&from);
2288 } else {
2289 CopyFrom(from);
2290 }
2291 return *this;
2292 }
2293
2294 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
2295 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
2296 }
2297 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
2298 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
2299 }
2300
2301 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
2302 return GetDescriptor();
2303 }
2304 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
2305 return default_instance().GetMetadata().descriptor;
2306 }
2307 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
2308 return default_instance().GetMetadata().reflection;
2309 }
2311 return *internal_default_instance();
2312 }
2314 return reinterpret_cast<const DriftPacket*>(
2316 }
2317 static constexpr int kIndexInFileMessages =
2318 6;
2319
2320 friend void swap(DriftPacket& a, DriftPacket& b) {
2321 a.Swap(&b);
2322 }
2323 inline void Swap(DriftPacket* other) {
2324 if (other == this) return;
2325 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
2326 if (GetOwningArena() != nullptr &&
2327 GetOwningArena() == other->GetOwningArena()) {
2328 #else // PROTOBUF_FORCE_COPY_IN_SWAP
2329 if (GetOwningArena() == other->GetOwningArena()) {
2330 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
2331 InternalSwap(other);
2332 } else {
2333 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
2334 }
2335 }
2337 if (other == this) return;
2338 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
2339 InternalSwap(other);
2340 }
2341
2342 // implements Message ----------------------------------------------
2343
2344 DriftPacket* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
2345 return CreateMaybeMessage<DriftPacket>(arena);
2346 }
2347 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
2348 void CopyFrom(const DriftPacket& from);
2349 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
2350 void MergeFrom( const DriftPacket& from) {
2351 DriftPacket::MergeImpl(*this, from);
2352 }
2353 private:
2354 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
2355 public:
2356 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
2357 bool IsInitialized() const final;
2358
2359 size_t ByteSizeLong() const final;
2360 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
2361 uint8_t* _InternalSerialize(
2362 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
2363 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
2364
2365 private:
2366 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
2367 void SharedDtor();
2368 void SetCachedSize(int size) const final;
2369 void InternalSwap(DriftPacket* other);
2370
2371 private:
2372 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
2373 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
2374 return "jaiabot.protobuf.DriftPacket";
2375 }
2376 protected:
2377 explicit DriftPacket(::PROTOBUF_NAMESPACE_ID::Arena* arena,
2378 bool is_message_owned = false);
2379 public:
2380
2381 static const ClassData _class_data_;
2382 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
2383
2384 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
2385
2386 // nested types ----------------------------------------------------
2387
2389
2390 // accessors -------------------------------------------------------
2391
2392 enum : int {
2393 kEstimatedDriftFieldNumber = 10,
2394 kStartLocationFieldNumber = 11,
2395 kEndLocationFieldNumber = 12,
2396 kSignificantWaveHeightFieldNumber = 13,
2397 kDriftDurationFieldNumber = 1,
2398 };
2399 // optional .jaiabot.protobuf.DriftPacket.EstimatedDrift estimated_drift = 10 [(.jaia.field) = {
2400 bool has_estimated_drift() const;
2401 private:
2402 bool _internal_has_estimated_drift() const;
2403 public:
2404 void clear_estimated_drift();
2405 const ::jaiabot::protobuf::DriftPacket_EstimatedDrift& estimated_drift() const;
2406 PROTOBUF_NODISCARD ::jaiabot::protobuf::DriftPacket_EstimatedDrift* release_estimated_drift();
2407 ::jaiabot::protobuf::DriftPacket_EstimatedDrift* mutable_estimated_drift();
2408 void set_allocated_estimated_drift(::jaiabot::protobuf::DriftPacket_EstimatedDrift* estimated_drift);
2409 private:
2410 const ::jaiabot::protobuf::DriftPacket_EstimatedDrift& _internal_estimated_drift() const;
2411 ::jaiabot::protobuf::DriftPacket_EstimatedDrift* _internal_mutable_estimated_drift();
2412 public:
2413 void unsafe_arena_set_allocated_estimated_drift(
2415 ::jaiabot::protobuf::DriftPacket_EstimatedDrift* unsafe_arena_release_estimated_drift();
2416
2417 // optional .jaiabot.protobuf.GeographicCoordinate start_location = 11 [(.jaia.field) = {
2418 bool has_start_location() const;
2419 private:
2420 bool _internal_has_start_location() const;
2421 public:
2423 const ::jaiabot::protobuf::GeographicCoordinate& start_location() const;
2424 PROTOBUF_NODISCARD ::jaiabot::protobuf::GeographicCoordinate* release_start_location();
2425 ::jaiabot::protobuf::GeographicCoordinate* mutable_start_location();
2426 void set_allocated_start_location(::jaiabot::protobuf::GeographicCoordinate* start_location);
2427 private:
2428 const ::jaiabot::protobuf::GeographicCoordinate& _internal_start_location() const;
2429 ::jaiabot::protobuf::GeographicCoordinate* _internal_mutable_start_location();
2430 public:
2431 void unsafe_arena_set_allocated_start_location(
2433 ::jaiabot::protobuf::GeographicCoordinate* unsafe_arena_release_start_location();
2434
2435 // optional .jaiabot.protobuf.GeographicCoordinate end_location = 12 [(.jaia.field) = {
2436 bool has_end_location() const;
2437 private:
2438 bool _internal_has_end_location() const;
2439 public:
2441 const ::jaiabot::protobuf::GeographicCoordinate& end_location() const;
2442 PROTOBUF_NODISCARD ::jaiabot::protobuf::GeographicCoordinate* release_end_location();
2443 ::jaiabot::protobuf::GeographicCoordinate* mutable_end_location();
2444 void set_allocated_end_location(::jaiabot::protobuf::GeographicCoordinate* end_location);
2445 private:
2446 const ::jaiabot::protobuf::GeographicCoordinate& _internal_end_location() const;
2447 ::jaiabot::protobuf::GeographicCoordinate* _internal_mutable_end_location();
2448 public:
2449 void unsafe_arena_set_allocated_end_location(
2451 ::jaiabot::protobuf::GeographicCoordinate* unsafe_arena_release_end_location();
2452
2453 // optional double significant_wave_height = 13 [(.dccl.field) = {
2454 bool has_significant_wave_height() const;
2455 private:
2456 bool _internal_has_significant_wave_height() const;
2457 public:
2458 void clear_significant_wave_height();
2459 double significant_wave_height() const;
2460 void set_significant_wave_height(double value);
2461 private:
2462 double _internal_significant_wave_height() const;
2463 void _internal_set_significant_wave_height(double value);
2464 public:
2465
2466 // optional int32 drift_duration = 1 [default = 0, (.dccl.field) = {
2467 bool has_drift_duration() const;
2468 private:
2469 bool _internal_has_drift_duration() const;
2470 public:
2471 void clear_drift_duration();
2472 int32_t drift_duration() const;
2473 void set_drift_duration(int32_t value);
2474 private:
2475 int32_t _internal_drift_duration() const;
2476 void _internal_set_drift_duration(int32_t value);
2477 public:
2478
2479 typedef boost::units::derived_dimension< boost::units::time_base_dimension,1 >::type drift_duration_dimension;
2480
2481 typedef boost::units::unit<drift_duration_dimension,boost::units::si::system> drift_duration_unit;
2482
2483 template<typename Quantity >
2484 void set_drift_duration_with_units(Quantity value_w_units)
2485 { set_drift_duration(boost::units::quantity<drift_duration_unit,google::protobuf::int32 >(value_w_units).value() ); };
2486
2487 template<typename Quantity >
2489 { return Quantity(drift_duration() * drift_duration_unit()); };
2490
2491 boost::units::quantity< drift_duration_unit,google::protobuf::int32 > drift_duration_with_units() const
2492 { return drift_duration_with_units<boost::units::quantity< drift_duration_unit,google::protobuf::int32 > >(); };
2493
2494 typedef boost::units::length_dimension significant_wave_height_dimension;
2495
2496 typedef boost::units::unit<significant_wave_height_dimension,boost::units::si::system> significant_wave_height_unit;
2497
2498 template<typename Quantity >
2499 void set_significant_wave_height_with_units(Quantity value_w_units)
2500 { set_significant_wave_height(boost::units::quantity<significant_wave_height_unit,double >(value_w_units).value() ); };
2501
2502 template<typename Quantity >
2504 { return Quantity(significant_wave_height() * significant_wave_height_unit()); };
2505
2506 boost::units::quantity< significant_wave_height_unit,double > significant_wave_height_with_units() const
2507 { return significant_wave_height_with_units<boost::units::quantity< significant_wave_height_unit,double > >(); };
2508
2509 // @@protoc_insertion_point(class_scope:jaiabot.protobuf.DriftPacket)
2510 private:
2511 class _Internal;
2512
2513 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
2514 typedef void InternalArenaConstructable_;
2515 typedef void DestructorSkippable_;
2516 struct Impl_ {
2517 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
2518 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
2522 double significant_wave_height_;
2523 int32_t drift_duration_;
2524 };
2525 union { Impl_ _impl_; };
2526 friend struct ::TableStruct_jaiabot_2fmessages_2fjaia_5fdccl_2eproto;
2527};
2528// -------------------------------------------------------------------
2529
2531 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.protobuf.DivePacket.Measurements) */ {
2532 public:
2535 explicit PROTOBUF_CONSTEXPR DivePacket_Measurements(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
2536
2540 *this = ::std::move(from);
2541 }
2542
2544 CopyFrom(from);
2545 return *this;
2546 }
2548 if (this == &from) return *this;
2549 if (GetOwningArena() == from.GetOwningArena()
2550 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
2551 && GetOwningArena() != nullptr
2552 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
2553 ) {
2554 InternalSwap(&from);
2555 } else {
2556 CopyFrom(from);
2557 }
2558 return *this;
2559 }
2560
2561 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
2562 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
2563 }
2564 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
2565 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
2566 }
2567
2568 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
2569 return GetDescriptor();
2570 }
2571 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
2572 return default_instance().GetMetadata().descriptor;
2573 }
2574 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
2575 return default_instance().GetMetadata().reflection;
2576 }
2578 return *internal_default_instance();
2579 }
2581 return reinterpret_cast<const DivePacket_Measurements*>(
2583 }
2584 static constexpr int kIndexInFileMessages =
2585 7;
2586
2588 a.Swap(&b);
2589 }
2590 inline void Swap(DivePacket_Measurements* other) {
2591 if (other == this) return;
2592 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
2593 if (GetOwningArena() != nullptr &&
2594 GetOwningArena() == other->GetOwningArena()) {
2595 #else // PROTOBUF_FORCE_COPY_IN_SWAP
2596 if (GetOwningArena() == other->GetOwningArena()) {
2597 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
2598 InternalSwap(other);
2599 } else {
2600 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
2601 }
2602 }
2604 if (other == this) return;
2605 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
2606 InternalSwap(other);
2607 }
2608
2609 // implements Message ----------------------------------------------
2610
2611 DivePacket_Measurements* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
2612 return CreateMaybeMessage<DivePacket_Measurements>(arena);
2613 }
2614 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
2616 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
2618 DivePacket_Measurements::MergeImpl(*this, from);
2619 }
2620 private:
2621 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
2622 public:
2623 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
2624 bool IsInitialized() const final;
2625
2626 size_t ByteSizeLong() const final;
2627 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
2628 uint8_t* _InternalSerialize(
2629 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
2630 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
2631
2632 private:
2633 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
2634 void SharedDtor();
2635 void SetCachedSize(int size) const final;
2636 void InternalSwap(DivePacket_Measurements* other);
2637
2638 private:
2639 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
2640 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
2641 return "jaiabot.protobuf.DivePacket.Measurements";
2642 }
2643 protected:
2644 explicit DivePacket_Measurements(::PROTOBUF_NAMESPACE_ID::Arena* arena,
2645 bool is_message_owned = false);
2646 public:
2647
2648 static const ClassData _class_data_;
2649 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
2650
2651 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
2652
2653 // nested types ----------------------------------------------------
2654
2655 // accessors -------------------------------------------------------
2656
2657 enum : int {
2658 kMeanDepthFieldNumber = 1,
2659 kMeanTemperatureFieldNumber = 2,
2660 kMeanSalinityFieldNumber = 3,
2661 };
2662 // optional double mean_depth = 1 [(.dccl.field) = {
2663 bool has_mean_depth() const;
2664 private:
2665 bool _internal_has_mean_depth() const;
2666 public:
2667 void clear_mean_depth();
2668 double mean_depth() const;
2669 void set_mean_depth(double value);
2670 private:
2671 double _internal_mean_depth() const;
2672 void _internal_set_mean_depth(double value);
2673 public:
2674
2675 // optional double mean_temperature = 2 [(.dccl.field) = {
2676 bool has_mean_temperature() const;
2677 private:
2678 bool _internal_has_mean_temperature() const;
2679 public:
2680 void clear_mean_temperature();
2681 double mean_temperature() const;
2682 void set_mean_temperature(double value);
2683 private:
2684 double _internal_mean_temperature() const;
2685 void _internal_set_mean_temperature(double value);
2686 public:
2687
2688 // optional double mean_salinity = 3 [(.dccl.field) = {
2689 bool has_mean_salinity() const;
2690 private:
2691 bool _internal_has_mean_salinity() const;
2692 public:
2693 void clear_mean_salinity();
2694 double mean_salinity() const;
2695 void set_mean_salinity(double value);
2696 private:
2697 double _internal_mean_salinity() const;
2698 void _internal_set_mean_salinity(double value);
2699 public:
2700
2701 typedef boost::units::length_dimension mean_depth_dimension;
2702
2703 typedef boost::units::unit<mean_depth_dimension,boost::units::si::system> mean_depth_unit;
2704
2705 template<typename Quantity >
2706 void set_mean_depth_with_units(Quantity value_w_units)
2707 { set_mean_depth(boost::units::quantity<mean_depth_unit,double >(value_w_units).value() ); };
2708
2709 template<typename Quantity >
2710 Quantity mean_depth_with_units() const
2711 { return Quantity(mean_depth() * mean_depth_unit()); };
2712
2713 boost::units::quantity< mean_depth_unit,double > mean_depth_with_units() const
2714 { return mean_depth_with_units<boost::units::quantity< mean_depth_unit,double > >(); };
2715
2716 typedef boost::units::temperature_dimension mean_temperature_dimension;
2717
2718 typedef boost::units::absolute<boost::units::unit<mean_temperature_dimension,boost::units::celsius::system> > mean_temperature_unit;
2719
2720 template<typename Quantity >
2721 void set_mean_temperature_with_units(Quantity value_w_units)
2722 { set_mean_temperature(boost::units::quantity<mean_temperature_unit,double >(value_w_units).value() ); };
2723
2724 template<typename Quantity >
2726 { return Quantity(mean_temperature() * mean_temperature_unit()); };
2727
2728 boost::units::quantity< mean_temperature_unit,double > mean_temperature_with_units() const
2729 { return mean_temperature_with_units<boost::units::quantity< mean_temperature_unit,double > >(); };
2730
2731 // @@protoc_insertion_point(class_scope:jaiabot.protobuf.DivePacket.Measurements)
2732 private:
2733 class _Internal;
2734
2735 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
2736 typedef void InternalArenaConstructable_;
2737 typedef void DestructorSkippable_;
2738 struct Impl_ {
2739 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
2740 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
2741 double mean_depth_;
2742 double mean_temperature_;
2743 double mean_salinity_;
2744 };
2745 union { Impl_ _impl_; };
2746 friend struct ::TableStruct_jaiabot_2fmessages_2fjaia_5fdccl_2eproto;
2747};
2748// -------------------------------------------------------------------
2749
2750class DivePacket final :
2751 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.protobuf.DivePacket) */ {
2752 public:
2753 inline DivePacket() : DivePacket(nullptr) {}
2754 ~DivePacket() override;
2755 explicit PROTOBUF_CONSTEXPR DivePacket(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
2756
2758 DivePacket(DivePacket&& from) noexcept
2759 : DivePacket() {
2760 *this = ::std::move(from);
2761 }
2762
2763 inline DivePacket& operator=(const DivePacket& from) {
2764 CopyFrom(from);
2765 return *this;
2766 }
2767 inline DivePacket& operator=(DivePacket&& from) noexcept {
2768 if (this == &from) return *this;
2769 if (GetOwningArena() == from.GetOwningArena()
2770 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
2771 && GetOwningArena() != nullptr
2772 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
2773 ) {
2774 InternalSwap(&from);
2775 } else {
2776 CopyFrom(from);
2777 }
2778 return *this;
2779 }
2780
2781 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
2782 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
2783 }
2784 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
2785 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
2786 }
2787
2788 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
2789 return GetDescriptor();
2790 }
2791 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
2792 return default_instance().GetMetadata().descriptor;
2793 }
2794 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
2795 return default_instance().GetMetadata().reflection;
2796 }
2798 return *internal_default_instance();
2799 }
2800 static inline const DivePacket* internal_default_instance() {
2801 return reinterpret_cast<const DivePacket*>(
2803 }
2804 static constexpr int kIndexInFileMessages =
2805 8;
2806
2807 friend void swap(DivePacket& a, DivePacket& b) {
2808 a.Swap(&b);
2809 }
2810 inline void Swap(DivePacket* other) {
2811 if (other == this) return;
2812 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
2813 if (GetOwningArena() != nullptr &&
2814 GetOwningArena() == other->GetOwningArena()) {
2815 #else // PROTOBUF_FORCE_COPY_IN_SWAP
2816 if (GetOwningArena() == other->GetOwningArena()) {
2817 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
2818 InternalSwap(other);
2819 } else {
2820 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
2821 }
2822 }
2824 if (other == this) return;
2825 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
2826 InternalSwap(other);
2827 }
2828
2829 // implements Message ----------------------------------------------
2830
2831 DivePacket* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
2832 return CreateMaybeMessage<DivePacket>(arena);
2833 }
2834 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
2835 void CopyFrom(const DivePacket& from);
2836 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
2837 void MergeFrom( const DivePacket& from) {
2838 DivePacket::MergeImpl(*this, from);
2839 }
2840 private:
2841 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
2842 public:
2843 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
2844 bool IsInitialized() const final;
2845
2846 size_t ByteSizeLong() const final;
2847 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
2848 uint8_t* _InternalSerialize(
2849 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
2850 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
2851
2852 private:
2853 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
2854 void SharedDtor();
2855 void SetCachedSize(int size) const final;
2856 void InternalSwap(DivePacket* other);
2857
2858 private:
2859 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
2860 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
2861 return "jaiabot.protobuf.DivePacket";
2862 }
2863 protected:
2864 explicit DivePacket(::PROTOBUF_NAMESPACE_ID::Arena* arena,
2865 bool is_message_owned = false);
2866 public:
2867
2868 static const ClassData _class_data_;
2869 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
2870
2871 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
2872
2873 // nested types ----------------------------------------------------
2874
2876
2878 static constexpr BottomType HARD =
2879 DivePacket_BottomType_HARD;
2880 static constexpr BottomType SOFT =
2881 DivePacket_BottomType_SOFT;
2882 static inline bool BottomType_IsValid(int value) {
2883 return DivePacket_BottomType_IsValid(value);
2884 }
2885 static constexpr BottomType BottomType_MIN =
2887 static constexpr BottomType BottomType_MAX =
2889 static constexpr int BottomType_ARRAYSIZE =
2891 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
2895 template<typename T>
2896 static inline const std::string& BottomType_Name(T enum_t_value) {
2897 static_assert(::std::is_same<T, BottomType>::value ||
2898 ::std::is_integral<T>::value,
2899 "Incorrect type passed to function BottomType_Name.");
2900 return DivePacket_BottomType_Name(enum_t_value);
2901 }
2902 static inline bool BottomType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
2903 BottomType* value) {
2904 return DivePacket_BottomType_Parse(name, value);
2905 }
2906
2907 // accessors -------------------------------------------------------
2908
2909 enum : int {
2910 kMeasurementFieldNumber = 14,
2911 kStartLocationFieldNumber = 15,
2912 kDiveRateFieldNumber = 10,
2913 kUnpoweredRiseRateFieldNumber = 11,
2914 kPoweredRiseRateFieldNumber = 12,
2915 kDepthAchievedFieldNumber = 13,
2916 kDurationToAcquireGpsFieldNumber = 16,
2917 kMaxAccelerationFieldNumber = 20,
2918 kBottomDiveFieldNumber = 17,
2919 kReachedMinDepthFieldNumber = 18,
2920 kBottomTypeFieldNumber = 19,
2921 };
2922 // repeated .jaiabot.protobuf.DivePacket.Measurements measurement = 14 [(.dccl.field) = {
2923 int measurement_size() const;
2924 private:
2925 int _internal_measurement_size() const;
2926 public:
2927 void clear_measurement();
2928 ::jaiabot::protobuf::DivePacket_Measurements* mutable_measurement(int index);
2929 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::protobuf::DivePacket_Measurements >*
2930 mutable_measurement();
2931 private:
2932 const ::jaiabot::protobuf::DivePacket_Measurements& _internal_measurement(int index) const;
2933 ::jaiabot::protobuf::DivePacket_Measurements* _internal_add_measurement();
2934 public:
2935 const ::jaiabot::protobuf::DivePacket_Measurements& measurement(int index) const;
2937 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::protobuf::DivePacket_Measurements >&
2938 measurement() const;
2939
2940 // optional .jaiabot.protobuf.GeographicCoordinate start_location = 15 [(.jaia.field) = {
2941 bool has_start_location() const;
2942 private:
2943 bool _internal_has_start_location() const;
2944 public:
2946 const ::jaiabot::protobuf::GeographicCoordinate& start_location() const;
2947 PROTOBUF_NODISCARD ::jaiabot::protobuf::GeographicCoordinate* release_start_location();
2948 ::jaiabot::protobuf::GeographicCoordinate* mutable_start_location();
2949 void set_allocated_start_location(::jaiabot::protobuf::GeographicCoordinate* start_location);
2950 private:
2951 const ::jaiabot::protobuf::GeographicCoordinate& _internal_start_location() const;
2952 ::jaiabot::protobuf::GeographicCoordinate* _internal_mutable_start_location();
2953 public:
2954 void unsafe_arena_set_allocated_start_location(
2956 ::jaiabot::protobuf::GeographicCoordinate* unsafe_arena_release_start_location();
2957
2958 // required double dive_rate = 10 [(.dccl.field) = {
2959 bool has_dive_rate() const;
2960 private:
2961 bool _internal_has_dive_rate() const;
2962 public:
2963 void clear_dive_rate();
2964 double dive_rate() const;
2965 void set_dive_rate(double value);
2966 private:
2967 double _internal_dive_rate() const;
2968 void _internal_set_dive_rate(double value);
2969 public:
2970
2971 // optional double unpowered_rise_rate = 11 [(.dccl.field) = {
2972 bool has_unpowered_rise_rate() const;
2973 private:
2974 bool _internal_has_unpowered_rise_rate() const;
2975 public:
2976 void clear_unpowered_rise_rate();
2977 double unpowered_rise_rate() const;
2978 void set_unpowered_rise_rate(double value);
2979 private:
2980 double _internal_unpowered_rise_rate() const;
2981 void _internal_set_unpowered_rise_rate(double value);
2982 public:
2983
2984 // optional double powered_rise_rate = 12 [(.dccl.field) = {
2985 bool has_powered_rise_rate() const;
2986 private:
2987 bool _internal_has_powered_rise_rate() const;
2988 public:
2989 void clear_powered_rise_rate();
2990 double powered_rise_rate() const;
2991 void set_powered_rise_rate(double value);
2992 private:
2993 double _internal_powered_rise_rate() const;
2994 void _internal_set_powered_rise_rate(double value);
2995 public:
2996
2997 // required double depth_achieved = 13 [(.dccl.field) = {
2998 bool has_depth_achieved() const;
2999 private:
3000 bool _internal_has_depth_achieved() const;
3001 public:
3002 void clear_depth_achieved();
3003 double depth_achieved() const;
3004 void set_depth_achieved(double value);
3005 private:
3006 double _internal_depth_achieved() const;
3007 void _internal_set_depth_achieved(double value);
3008 public:
3009
3010 // optional double duration_to_acquire_gps = 16 [(.dccl.field) = {
3011 bool has_duration_to_acquire_gps() const;
3012 private:
3013 bool _internal_has_duration_to_acquire_gps() const;
3014 public:
3015 void clear_duration_to_acquire_gps();
3016 double duration_to_acquire_gps() const;
3017 void set_duration_to_acquire_gps(double value);
3018 private:
3019 double _internal_duration_to_acquire_gps() const;
3020 void _internal_set_duration_to_acquire_gps(double value);
3021 public:
3022
3023 // optional double max_acceleration = 20 [(.dccl.field) = {
3024 bool has_max_acceleration() const;
3025 private:
3026 bool _internal_has_max_acceleration() const;
3027 public:
3028 void clear_max_acceleration();
3029 double max_acceleration() const;
3030 void set_max_acceleration(double value);
3031 private:
3032 double _internal_max_acceleration() const;
3033 void _internal_set_max_acceleration(double value);
3034 public:
3035
3036 // optional bool bottom_dive = 17 [default = false, (.jaia.field) = {
3037 bool has_bottom_dive() const;
3038 private:
3039 bool _internal_has_bottom_dive() const;
3040 public:
3041 void clear_bottom_dive();
3042 bool bottom_dive() const;
3043 void set_bottom_dive(bool value);
3044 private:
3045 bool _internal_bottom_dive() const;
3046 void _internal_set_bottom_dive(bool value);
3047 public:
3048
3049 // optional bool reached_min_depth = 18 [default = false, (.jaia.field) = {
3050 bool has_reached_min_depth() const;
3051 private:
3052 bool _internal_has_reached_min_depth() const;
3053 public:
3054 void clear_reached_min_depth();
3055 bool reached_min_depth() const;
3056 void set_reached_min_depth(bool value);
3057 private:
3058 bool _internal_reached_min_depth() const;
3059 void _internal_set_reached_min_depth(bool value);
3060 public:
3061
3062 // optional .jaiabot.protobuf.DivePacket.BottomType bottom_type = 19 [(.jaia.field) = {
3063 bool has_bottom_type() const;
3064 private:
3065 bool _internal_has_bottom_type() const;
3066 public:
3067 void clear_bottom_type();
3069 void set_bottom_type(::jaiabot::protobuf::DivePacket_BottomType value);
3070 private:
3071 ::jaiabot::protobuf::DivePacket_BottomType _internal_bottom_type() const;
3072 void _internal_set_bottom_type(::jaiabot::protobuf::DivePacket_BottomType value);
3073 public:
3074
3075 typedef boost::units::velocity_dimension dive_rate_dimension;
3076
3077 typedef boost::units::unit<dive_rate_dimension,boost::units::si::system> dive_rate_unit;
3078
3079 template<typename Quantity >
3080 void set_dive_rate_with_units(Quantity value_w_units)
3081 { set_dive_rate(boost::units::quantity<dive_rate_unit,double >(value_w_units).value() ); };
3082
3083 template<typename Quantity >
3084 Quantity dive_rate_with_units() const
3085 { return Quantity(dive_rate() * dive_rate_unit()); };
3086
3087 boost::units::quantity< dive_rate_unit,double > dive_rate_with_units() const
3088 { return dive_rate_with_units<boost::units::quantity< dive_rate_unit,double > >(); };
3089
3090 typedef boost::units::velocity_dimension unpowered_rise_rate_dimension;
3091
3092 typedef boost::units::unit<unpowered_rise_rate_dimension,boost::units::si::system> unpowered_rise_rate_unit;
3093
3094 template<typename Quantity >
3095 void set_unpowered_rise_rate_with_units(Quantity value_w_units)
3096 { set_unpowered_rise_rate(boost::units::quantity<unpowered_rise_rate_unit,double >(value_w_units).value() ); };
3097
3098 template<typename Quantity >
3100 { return Quantity(unpowered_rise_rate() * unpowered_rise_rate_unit()); };
3101
3102 boost::units::quantity< unpowered_rise_rate_unit,double > unpowered_rise_rate_with_units() const
3103 { return unpowered_rise_rate_with_units<boost::units::quantity< unpowered_rise_rate_unit,double > >(); };
3104
3105 typedef boost::units::velocity_dimension powered_rise_rate_dimension;
3106
3107 typedef boost::units::unit<powered_rise_rate_dimension,boost::units::si::system> powered_rise_rate_unit;
3108
3109 template<typename Quantity >
3110 void set_powered_rise_rate_with_units(Quantity value_w_units)
3111 { set_powered_rise_rate(boost::units::quantity<powered_rise_rate_unit,double >(value_w_units).value() ); };
3112
3113 template<typename Quantity >
3115 { return Quantity(powered_rise_rate() * powered_rise_rate_unit()); };
3116
3117 boost::units::quantity< powered_rise_rate_unit,double > powered_rise_rate_with_units() const
3118 { return powered_rise_rate_with_units<boost::units::quantity< powered_rise_rate_unit,double > >(); };
3119
3120 typedef boost::units::length_dimension depth_achieved_dimension;
3121
3122 typedef boost::units::unit<depth_achieved_dimension,boost::units::si::system> depth_achieved_unit;
3123
3124 template<typename Quantity >
3125 void set_depth_achieved_with_units(Quantity value_w_units)
3126 { set_depth_achieved(boost::units::quantity<depth_achieved_unit,double >(value_w_units).value() ); };
3127
3128 template<typename Quantity >
3130 { return Quantity(depth_achieved() * depth_achieved_unit()); };
3131
3132 boost::units::quantity< depth_achieved_unit,double > depth_achieved_with_units() const
3133 { return depth_achieved_with_units<boost::units::quantity< depth_achieved_unit,double > >(); };
3134
3135 typedef boost::units::derived_dimension< boost::units::time_base_dimension,1 >::type duration_to_acquire_gps_dimension;
3136
3137 typedef boost::units::unit<duration_to_acquire_gps_dimension,boost::units::si::system> duration_to_acquire_gps_unit;
3138
3139 template<typename Quantity >
3140 void set_duration_to_acquire_gps_with_units(Quantity value_w_units)
3141 { set_duration_to_acquire_gps(boost::units::quantity<duration_to_acquire_gps_unit,double >(value_w_units).value() ); };
3142
3143 template<typename Quantity >
3145 { return Quantity(duration_to_acquire_gps() * duration_to_acquire_gps_unit()); };
3146
3147 boost::units::quantity< duration_to_acquire_gps_unit,double > duration_to_acquire_gps_with_units() const
3148 { return duration_to_acquire_gps_with_units<boost::units::quantity< duration_to_acquire_gps_unit,double > >(); };
3149
3150 typedef boost::units::acceleration_dimension max_acceleration_dimension;
3151
3152 typedef boost::units::unit<max_acceleration_dimension,boost::units::si::system> max_acceleration_unit;
3153
3154 template<typename Quantity >
3155 void set_max_acceleration_with_units(Quantity value_w_units)
3156 { set_max_acceleration(boost::units::quantity<max_acceleration_unit,double >(value_w_units).value() ); };
3157
3158 template<typename Quantity >
3160 { return Quantity(max_acceleration() * max_acceleration_unit()); };
3161
3162 boost::units::quantity< max_acceleration_unit,double > max_acceleration_with_units() const
3163 { return max_acceleration_with_units<boost::units::quantity< max_acceleration_unit,double > >(); };
3164
3165 // @@protoc_insertion_point(class_scope:jaiabot.protobuf.DivePacket)
3166 private:
3167 class _Internal;
3168
3169 // helper for ByteSizeLong()
3170 size_t RequiredFieldsByteSizeFallback() const;
3171
3172 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
3173 typedef void InternalArenaConstructable_;
3174 typedef void DestructorSkippable_;
3175 struct Impl_ {
3176 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
3177 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
3178 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::protobuf::DivePacket_Measurements > measurement_;
3180 double dive_rate_;
3181 double unpowered_rise_rate_;
3182 double powered_rise_rate_;
3183 double depth_achieved_;
3184 double duration_to_acquire_gps_;
3185 double max_acceleration_;
3186 bool bottom_dive_;
3187 bool reached_min_depth_;
3188 int bottom_type_;
3189 };
3190 union { Impl_ _impl_; };
3191 friend struct ::TableStruct_jaiabot_2fmessages_2fjaia_5fdccl_2eproto;
3192};
3193// -------------------------------------------------------------------
3194
3195class TaskPacket final :
3196 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.protobuf.TaskPacket) */ {
3197 public:
3198 inline TaskPacket() : TaskPacket(nullptr) {}
3199 ~TaskPacket() override;
3200 explicit PROTOBUF_CONSTEXPR TaskPacket(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
3201
3203 TaskPacket(TaskPacket&& from) noexcept
3204 : TaskPacket() {
3205 *this = ::std::move(from);
3206 }
3207
3208 inline TaskPacket& operator=(const TaskPacket& from) {
3209 CopyFrom(from);
3210 return *this;
3211 }
3212 inline TaskPacket& operator=(TaskPacket&& from) noexcept {
3213 if (this == &from) return *this;
3214 if (GetOwningArena() == from.GetOwningArena()
3215 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
3216 && GetOwningArena() != nullptr
3217 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
3218 ) {
3219 InternalSwap(&from);
3220 } else {
3221 CopyFrom(from);
3222 }
3223 return *this;
3224 }
3225
3226 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
3227 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
3228 }
3229 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
3230 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
3231 }
3232
3233 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
3234 return GetDescriptor();
3235 }
3236 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
3237 return default_instance().GetMetadata().descriptor;
3238 }
3239 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
3240 return default_instance().GetMetadata().reflection;
3241 }
3243 return *internal_default_instance();
3244 }
3245 static inline const TaskPacket* internal_default_instance() {
3246 return reinterpret_cast<const TaskPacket*>(
3248 }
3249 static constexpr int kIndexInFileMessages =
3250 9;
3251
3252 friend void swap(TaskPacket& a, TaskPacket& b) {
3253 a.Swap(&b);
3254 }
3255 inline void Swap(TaskPacket* other) {
3256 if (other == this) return;
3257 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
3258 if (GetOwningArena() != nullptr &&
3259 GetOwningArena() == other->GetOwningArena()) {
3260 #else // PROTOBUF_FORCE_COPY_IN_SWAP
3261 if (GetOwningArena() == other->GetOwningArena()) {
3262 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
3263 InternalSwap(other);
3264 } else {
3265 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
3266 }
3267 }
3269 if (other == this) return;
3270 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
3271 InternalSwap(other);
3272 }
3273
3274 // implements Message ----------------------------------------------
3275
3276 TaskPacket* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
3277 return CreateMaybeMessage<TaskPacket>(arena);
3278 }
3279 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
3280 void CopyFrom(const TaskPacket& from);
3281 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
3282 void MergeFrom( const TaskPacket& from) {
3283 TaskPacket::MergeImpl(*this, from);
3284 }
3285 private:
3286 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
3287 public:
3288 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
3289 bool IsInitialized() const final;
3290
3291 size_t ByteSizeLong() const final;
3292 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
3293 uint8_t* _InternalSerialize(
3294 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
3295 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
3296
3297 private:
3298 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
3299 void SharedDtor();
3300 void SetCachedSize(int size) const final;
3301 void InternalSwap(TaskPacket* other);
3302
3303 private:
3304 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
3305 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
3306 return "jaiabot.protobuf.TaskPacket";
3307 }
3308 protected:
3309 explicit TaskPacket(::PROTOBUF_NAMESPACE_ID::Arena* arena,
3310 bool is_message_owned = false);
3311 public:
3312
3313 static const ClassData _class_data_;
3314 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
3315
3316 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
3317
3318 // nested types ----------------------------------------------------
3319
3320 // accessors -------------------------------------------------------
3321
3322 enum : int {
3323 kDiveFieldNumber = 10,
3324 kDriftFieldNumber = 11,
3325 kStartTimeFieldNumber = 2,
3326 kBotIdFieldNumber = 1,
3327 kTypeFieldNumber = 4,
3328 kEndTimeFieldNumber = 3,
3329 kLinkFieldNumber = 5,
3330 };
3331 // optional .jaiabot.protobuf.DivePacket dive = 10 [(.jaia.field) = {
3332 bool has_dive() const;
3333 private:
3334 bool _internal_has_dive() const;
3335 public:
3336 void clear_dive();
3337 const ::jaiabot::protobuf::DivePacket& dive() const;
3338 PROTOBUF_NODISCARD ::jaiabot::protobuf::DivePacket* release_dive();
3339 ::jaiabot::protobuf::DivePacket* mutable_dive();
3340 void set_allocated_dive(::jaiabot::protobuf::DivePacket* dive);
3341 private:
3342 const ::jaiabot::protobuf::DivePacket& _internal_dive() const;
3343 ::jaiabot::protobuf::DivePacket* _internal_mutable_dive();
3344 public:
3345 void unsafe_arena_set_allocated_dive(
3347 ::jaiabot::protobuf::DivePacket* unsafe_arena_release_dive();
3348
3349 // optional .jaiabot.protobuf.DriftPacket drift = 11 [(.jaia.field) = {
3350 bool has_drift() const;
3351 private:
3352 bool _internal_has_drift() const;
3353 public:
3354 void clear_drift();
3355 const ::jaiabot::protobuf::DriftPacket& drift() const;
3356 PROTOBUF_NODISCARD ::jaiabot::protobuf::DriftPacket* release_drift();
3357 ::jaiabot::protobuf::DriftPacket* mutable_drift();
3358 void set_allocated_drift(::jaiabot::protobuf::DriftPacket* drift);
3359 private:
3360 const ::jaiabot::protobuf::DriftPacket& _internal_drift() const;
3361 ::jaiabot::protobuf::DriftPacket* _internal_mutable_drift();
3362 public:
3363 void unsafe_arena_set_allocated_drift(
3365 ::jaiabot::protobuf::DriftPacket* unsafe_arena_release_drift();
3366
3367 // required uint64 start_time = 2 [(.dccl.field) = {
3368 bool has_start_time() const;
3369 private:
3370 bool _internal_has_start_time() const;
3371 public:
3372 void clear_start_time();
3373 uint64_t start_time() const;
3374 void set_start_time(uint64_t value);
3375 private:
3376 uint64_t _internal_start_time() const;
3377 void _internal_set_start_time(uint64_t value);
3378 public:
3379
3380 // required uint32 bot_id = 1 [(.dccl.field) = {
3381 bool has_bot_id() const;
3382 private:
3383 bool _internal_has_bot_id() const;
3384 public:
3385 void clear_bot_id();
3386 uint32_t bot_id() const;
3387 void set_bot_id(uint32_t value);
3388 private:
3389 uint32_t _internal_bot_id() const;
3390 void _internal_set_bot_id(uint32_t value);
3391 public:
3392
3393 // required .jaiabot.protobuf.MissionTask.TaskType type = 4 [(.jaia.field) = {
3394 bool has_type() const;
3395 private:
3396 bool _internal_has_type() const;
3397 public:
3398 void clear_type();
3400 void set_type(::jaiabot::protobuf::MissionTask_TaskType value);
3401 private:
3402 ::jaiabot::protobuf::MissionTask_TaskType _internal_type() const;
3403 void _internal_set_type(::jaiabot::protobuf::MissionTask_TaskType value);
3404 public:
3405
3406 // required uint64 end_time = 3 [(.dccl.field) = {
3407 bool has_end_time() const;
3408 private:
3409 bool _internal_has_end_time() const;
3410 public:
3411 void clear_end_time();
3412 uint64_t end_time() const;
3413 void set_end_time(uint64_t value);
3414 private:
3415 uint64_t _internal_end_time() const;
3416 void _internal_set_end_time(uint64_t value);
3417 public:
3418
3419 // optional .jaiabot.protobuf.Link link = 5 [(.dccl.field) = {
3420 bool has_link() const;
3421 private:
3422 bool _internal_has_link() const;
3423 public:
3424 void clear_link();
3425 ::jaiabot::protobuf::Link link() const;
3426 void set_link(::jaiabot::protobuf::Link value);
3427 private:
3428 ::jaiabot::protobuf::Link _internal_link() const;
3429 void _internal_set_link(::jaiabot::protobuf::Link value);
3430 public:
3431
3432 enum DCCLParameters { DCCL_ID = 20481, DCCL_MAX_BYTES = 250 };
3433 typedef boost::units::time_dimension start_time_dimension;
3434
3435 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;
3436
3437 template<typename Quantity >
3438 void set_start_time_with_units(Quantity value_w_units)
3439 { set_start_time(boost::units::quantity<start_time_unit,google::protobuf::uint64 >(value_w_units).value() ); };
3440
3441 template<typename Quantity >
3442 Quantity start_time_with_units() const
3443 { return Quantity(start_time() * start_time_unit()); };
3444
3445 boost::units::quantity< start_time_unit,google::protobuf::uint64 > start_time_with_units() const
3446 { return start_time_with_units<boost::units::quantity< start_time_unit,google::protobuf::uint64 > >(); };
3447
3448 typedef boost::units::time_dimension end_time_dimension;
3449
3450 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;
3451
3452 template<typename Quantity >
3453 void set_end_time_with_units(Quantity value_w_units)
3454 { set_end_time(boost::units::quantity<end_time_unit,google::protobuf::uint64 >(value_w_units).value() ); };
3455
3456 template<typename Quantity >
3457 Quantity end_time_with_units() const
3458 { return Quantity(end_time() * end_time_unit()); };
3459
3460 boost::units::quantity< end_time_unit,google::protobuf::uint64 > end_time_with_units() const
3461 { return end_time_with_units<boost::units::quantity< end_time_unit,google::protobuf::uint64 > >(); };
3462
3463 // @@protoc_insertion_point(class_scope:jaiabot.protobuf.TaskPacket)
3464 private:
3465 class _Internal;
3466
3467 // helper for ByteSizeLong()
3468 size_t RequiredFieldsByteSizeFallback() const;
3469
3470 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
3471 typedef void InternalArenaConstructable_;
3472 typedef void DestructorSkippable_;
3473 struct Impl_ {
3474 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
3475 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
3478 uint64_t start_time_;
3479 uint32_t bot_id_;
3480 int type_;
3481 uint64_t end_time_;
3482 int link_;
3483 };
3484 union { Impl_ _impl_; };
3485 friend struct ::TableStruct_jaiabot_2fmessages_2fjaia_5fdccl_2eproto;
3486};
3487// -------------------------------------------------------------------
3488
3489class ContactUpdate final :
3490 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.protobuf.ContactUpdate) */ {
3491 public:
3492 inline ContactUpdate() : ContactUpdate(nullptr) {}
3493 ~ContactUpdate() override;
3494 explicit PROTOBUF_CONSTEXPR ContactUpdate(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
3495
3498 : ContactUpdate() {
3499 *this = ::std::move(from);
3500 }
3501
3503 CopyFrom(from);
3504 return *this;
3505 }
3506 inline ContactUpdate& operator=(ContactUpdate&& from) noexcept {
3507 if (this == &from) return *this;
3508 if (GetOwningArena() == from.GetOwningArena()
3509 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
3510 && GetOwningArena() != nullptr
3511 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
3512 ) {
3513 InternalSwap(&from);
3514 } else {
3515 CopyFrom(from);
3516 }
3517 return *this;
3518 }
3519
3520 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
3521 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
3522 }
3523 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
3524 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
3525 }
3526
3527 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
3528 return GetDescriptor();
3529 }
3530 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
3531 return default_instance().GetMetadata().descriptor;
3532 }
3533 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
3534 return default_instance().GetMetadata().reflection;
3535 }
3537 return *internal_default_instance();
3538 }
3540 return reinterpret_cast<const ContactUpdate*>(
3542 }
3543 static constexpr int kIndexInFileMessages =
3544 10;
3545
3546 friend void swap(ContactUpdate& a, ContactUpdate& b) {
3547 a.Swap(&b);
3548 }
3549 inline void Swap(ContactUpdate* other) {
3550 if (other == this) return;
3551 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
3552 if (GetOwningArena() != nullptr &&
3553 GetOwningArena() == other->GetOwningArena()) {
3554 #else // PROTOBUF_FORCE_COPY_IN_SWAP
3555 if (GetOwningArena() == other->GetOwningArena()) {
3556 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
3557 InternalSwap(other);
3558 } else {
3559 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
3560 }
3561 }
3563 if (other == this) return;
3564 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
3565 InternalSwap(other);
3566 }
3567
3568 // implements Message ----------------------------------------------
3569
3570 ContactUpdate* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
3571 return CreateMaybeMessage<ContactUpdate>(arena);
3572 }
3573 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
3574 void CopyFrom(const ContactUpdate& from);
3575 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
3576 void MergeFrom( const ContactUpdate& from) {
3577 ContactUpdate::MergeImpl(*this, from);
3578 }
3579 private:
3580 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
3581 public:
3582 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
3583 bool IsInitialized() const final;
3584
3585 size_t ByteSizeLong() const final;
3586 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
3587 uint8_t* _InternalSerialize(
3588 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
3589 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
3590
3591 private:
3592 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
3593 void SharedDtor();
3594 void SetCachedSize(int size) const final;
3595 void InternalSwap(ContactUpdate* other);
3596
3597 private:
3598 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
3599 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
3600 return "jaiabot.protobuf.ContactUpdate";
3601 }
3602 protected:
3603 explicit ContactUpdate(::PROTOBUF_NAMESPACE_ID::Arena* arena,
3604 bool is_message_owned = false);
3605 public:
3606
3607 static const ClassData _class_data_;
3608 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
3609
3610 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
3611
3612 // nested types ----------------------------------------------------
3613
3614 // accessors -------------------------------------------------------
3615
3616 enum : int {
3617 kLocationFieldNumber = 2,
3618 kSpeedOverGroundFieldNumber = 3,
3619 kHeadingOrCogFieldNumber = 5,
3620 kContactFieldNumber = 1,
3621 };
3622 // required .jaiabot.protobuf.GeographicCoordinate location = 2;
3623 bool has_location() const;
3624 private:
3625 bool _internal_has_location() const;
3626 public:
3628 const ::jaiabot::protobuf::GeographicCoordinate& location() const;
3629 PROTOBUF_NODISCARD ::jaiabot::protobuf::GeographicCoordinate* release_location();
3631 void set_allocated_location(::jaiabot::protobuf::GeographicCoordinate* location);
3632 private:
3633 const ::jaiabot::protobuf::GeographicCoordinate& _internal_location() const;
3634 ::jaiabot::protobuf::GeographicCoordinate* _internal_mutable_location();
3635 public:
3636 void unsafe_arena_set_allocated_location(
3638 ::jaiabot::protobuf::GeographicCoordinate* unsafe_arena_release_location();
3639
3640 // optional double speed_over_ground = 3 [(.dccl.field) = {
3641 bool has_speed_over_ground() const;
3642 private:
3643 bool _internal_has_speed_over_ground() const;
3644 public:
3645 void clear_speed_over_ground();
3646 double speed_over_ground() const;
3647 void set_speed_over_ground(double value);
3648 private:
3649 double _internal_speed_over_ground() const;
3650 void _internal_set_speed_over_ground(double value);
3651 public:
3652
3653 // optional double heading_or_cog = 5 [(.dccl.field) = {
3654 bool has_heading_or_cog() const;
3655 private:
3656 bool _internal_has_heading_or_cog() const;
3657 public:
3658 void clear_heading_or_cog();
3659 double heading_or_cog() const;
3660 void set_heading_or_cog(double value);
3661 private:
3662 double _internal_heading_or_cog() const;
3663 void _internal_set_heading_or_cog(double value);
3664 public:
3665
3666 // optional int32 contact = 1 [(.dccl.field) = {
3667 bool has_contact() const;
3668 private:
3669 bool _internal_has_contact() const;
3670 public:
3671 void clear_contact();
3672 int32_t contact() const;
3673 void set_contact(int32_t value);
3674 private:
3675 int32_t _internal_contact() const;
3676 void _internal_set_contact(int32_t value);
3677 public:
3678
3679 enum DCCLParameters { DCCL_ID = 20482, DCCL_MAX_BYTES = 16 };
3680 typedef boost::units::velocity_dimension speed_over_ground_dimension;
3681
3682 typedef boost::units::unit<speed_over_ground_dimension,boost::units::si::system> speed_over_ground_unit;
3683
3684 template<typename Quantity >
3685 void set_speed_over_ground_with_units(Quantity value_w_units)
3686 { set_speed_over_ground(boost::units::quantity<speed_over_ground_unit,double >(value_w_units).value() ); };
3687
3688 template<typename Quantity >
3690 { return Quantity(speed_over_ground() * speed_over_ground_unit()); };
3691
3692 boost::units::quantity< speed_over_ground_unit,double > speed_over_ground_with_units() const
3693 { return speed_over_ground_with_units<boost::units::quantity< speed_over_ground_unit,double > >(); };
3694
3695 typedef boost::units::plane_angle_dimension heading_or_cog_dimension;
3696
3697 typedef boost::units::unit<heading_or_cog_dimension,boost::units::degree::system> heading_or_cog_unit;
3698
3699 template<typename Quantity >
3700 void set_heading_or_cog_with_units(Quantity value_w_units)
3701 { set_heading_or_cog(boost::units::quantity<heading_or_cog_unit,double >(value_w_units).value() ); };
3702
3703 template<typename Quantity >
3705 { return Quantity(heading_or_cog() * heading_or_cog_unit()); };
3706
3707 boost::units::quantity< heading_or_cog_unit,double > heading_or_cog_with_units() const
3708 { return heading_or_cog_with_units<boost::units::quantity< heading_or_cog_unit,double > >(); };
3709
3710 // @@protoc_insertion_point(class_scope:jaiabot.protobuf.ContactUpdate)
3711 private:
3712 class _Internal;
3713
3714 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
3715 typedef void InternalArenaConstructable_;
3716 typedef void DestructorSkippable_;
3717 struct Impl_ {
3718 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
3719 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
3721 double speed_over_ground_;
3722 double heading_or_cog_;
3723 int32_t contact_;
3724 };
3725 union { Impl_ _impl_; };
3726 friend struct ::TableStruct_jaiabot_2fmessages_2fjaia_5fdccl_2eproto;
3727};
3728// ===================================================================
3729
3730
3731// ===================================================================
3732
3733#ifdef __GNUC__
3734 #pragma GCC diagnostic push
3735 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
3736#endif // __GNUC__
3737// Command
3738
3739// required uint32 bot_id = 1 [(.dccl.field) = {
3740inline bool Command::_internal_has_bot_id() const {
3741 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
3742 return value;
3743}
3744inline bool Command::has_bot_id() const {
3745 return _internal_has_bot_id();
3746}
3747inline void Command::clear_bot_id() {
3748 _impl_.bot_id_ = 0u;
3749 _impl_._has_bits_[0] &= ~0x00000002u;
3750}
3751inline uint32_t Command::_internal_bot_id() const {
3752 return _impl_.bot_id_;
3753}
3754inline uint32_t Command::bot_id() const {
3755 // @@protoc_insertion_point(field_get:jaiabot.protobuf.Command.bot_id)
3756 return _internal_bot_id();
3757}
3758inline void Command::_internal_set_bot_id(uint32_t value) {
3759 _impl_._has_bits_[0] |= 0x00000002u;
3760 _impl_.bot_id_ = value;
3761}
3762inline void Command::set_bot_id(uint32_t value) {
3763 _internal_set_bot_id(value);
3764 // @@protoc_insertion_point(field_set:jaiabot.protobuf.Command.bot_id)
3765}
3766
3767// required uint64 time = 2 [(.dccl.field) = {
3768inline bool Command::_internal_has_time() const {
3769 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
3770 return value;
3771}
3772inline bool Command::has_time() const {
3773 return _internal_has_time();
3774}
3775inline void Command::clear_time() {
3776 _impl_.time_ = uint64_t{0u};
3777 _impl_._has_bits_[0] &= ~0x00000001u;
3778}
3779inline uint64_t Command::_internal_time() const {
3780 return _impl_.time_;
3781}
3782inline uint64_t Command::time() const {
3783 // @@protoc_insertion_point(field_get:jaiabot.protobuf.Command.time)
3784 return _internal_time();
3785}
3786inline void Command::_internal_set_time(uint64_t value) {
3787 _impl_._has_bits_[0] |= 0x00000001u;
3788 _impl_.time_ = value;
3789}
3790inline void Command::set_time(uint64_t value) {
3791 _internal_set_time(value);
3792 // @@protoc_insertion_point(field_set:jaiabot.protobuf.Command.time)
3793}
3794
3795// optional .jaiabot.protobuf.Link link = 3 [(.dccl.field) = {
3796inline bool Command::_internal_has_link() const {
3797 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
3798 return value;
3799}
3800inline bool Command::has_link() const {
3801 return _internal_has_link();
3802}
3803inline void Command::clear_link() {
3804 _impl_.link_ = -1;
3805 _impl_._has_bits_[0] &= ~0x00000004u;
3806}
3807inline ::jaiabot::protobuf::Link Command::_internal_link() const {
3808 return static_cast< ::jaiabot::protobuf::Link >(_impl_.link_);
3809}
3810inline ::jaiabot::protobuf::Link Command::link() const {
3811 // @@protoc_insertion_point(field_get:jaiabot.protobuf.Command.link)
3812 return _internal_link();
3813}
3814inline void Command::_internal_set_link(::jaiabot::protobuf::Link value) {
3815 assert(::jaiabot::protobuf::Link_IsValid(value));
3816 _impl_._has_bits_[0] |= 0x00000004u;
3817 _impl_.link_ = value;
3818}
3819inline void Command::set_link(::jaiabot::protobuf::Link value) {
3820 _internal_set_link(value);
3821 // @@protoc_insertion_point(field_set:jaiabot.protobuf.Command.link)
3822}
3823
3824// required .jaiabot.protobuf.Command.CommandType type = 10 [(.jaia.field) = {
3825inline bool Command::_internal_has_type() const {
3826 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
3827 return value;
3828}
3829inline bool Command::has_type() const {
3830 return _internal_has_type();
3831}
3832inline void Command::clear_type() {
3833 _impl_.type_ = 1;
3834 _impl_._has_bits_[0] &= ~0x00000008u;
3835}
3836inline ::jaiabot::protobuf::Command_CommandType Command::_internal_type() const {
3837 return static_cast< ::jaiabot::protobuf::Command_CommandType >(_impl_.type_);
3838}
3839inline ::jaiabot::protobuf::Command_CommandType Command::type() const {
3840 // @@protoc_insertion_point(field_get:jaiabot.protobuf.Command.type)
3841 return _internal_type();
3842}
3843inline void Command::_internal_set_type(::jaiabot::protobuf::Command_CommandType value) {
3845 _impl_._has_bits_[0] |= 0x00000008u;
3846 _impl_.type_ = value;
3847}
3848inline void Command::set_type(::jaiabot::protobuf::Command_CommandType value) {
3849 _internal_set_type(value);
3850 // @@protoc_insertion_point(field_set:jaiabot.protobuf.Command.type)
3851}
3852
3853// .jaiabot.protobuf.MissionPlan plan = 20 [(.jaia.field) = {
3854inline bool Command::_internal_has_plan() const {
3855 return command_data_case() == kPlan;
3856}
3857inline bool Command::has_plan() const {
3858 return _internal_has_plan();
3859}
3860inline void Command::set_has_plan() {
3861 _impl_._oneof_case_[0] = kPlan;
3862}
3863inline ::jaiabot::protobuf::MissionPlan* Command::release_plan() {
3864 // @@protoc_insertion_point(field_release:jaiabot.protobuf.Command.plan)
3865 if (_internal_has_plan()) {
3866 clear_has_command_data();
3867 ::jaiabot::protobuf::MissionPlan* temp = _impl_.command_data_.plan_;
3868 if (GetArenaForAllocation() != nullptr) {
3869 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
3870 }
3871 _impl_.command_data_.plan_ = nullptr;
3872 return temp;
3873 } else {
3874 return nullptr;
3875 }
3876}
3877inline const ::jaiabot::protobuf::MissionPlan& Command::_internal_plan() const {
3878 return _internal_has_plan()
3879 ? *_impl_.command_data_.plan_
3881}
3882inline const ::jaiabot::protobuf::MissionPlan& Command::plan() const {
3883 // @@protoc_insertion_point(field_get:jaiabot.protobuf.Command.plan)
3884 return _internal_plan();
3885}
3886inline ::jaiabot::protobuf::MissionPlan* Command::unsafe_arena_release_plan() {
3887 // @@protoc_insertion_point(field_unsafe_arena_release:jaiabot.protobuf.Command.plan)
3888 if (_internal_has_plan()) {
3889 clear_has_command_data();
3890 ::jaiabot::protobuf::MissionPlan* temp = _impl_.command_data_.plan_;
3891 _impl_.command_data_.plan_ = nullptr;
3892 return temp;
3893 } else {
3894 return nullptr;
3895 }
3896}
3897inline void Command::unsafe_arena_set_allocated_plan(::jaiabot::protobuf::MissionPlan* plan) {
3898 clear_command_data();
3899 if (plan) {
3900 set_has_plan();
3901 _impl_.command_data_.plan_ = plan;
3902 }
3903 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.Command.plan)
3904}
3905inline ::jaiabot::protobuf::MissionPlan* Command::_internal_mutable_plan() {
3906 if (!_internal_has_plan()) {
3907 clear_command_data();
3908 set_has_plan();
3909 _impl_.command_data_.plan_ = CreateMaybeMessage< ::jaiabot::protobuf::MissionPlan >(GetArenaForAllocation());
3910 }
3911 return _impl_.command_data_.plan_;
3912}
3913inline ::jaiabot::protobuf::MissionPlan* Command::mutable_plan() {
3914 ::jaiabot::protobuf::MissionPlan* _msg = _internal_mutable_plan();
3915 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.Command.plan)
3916 return _msg;
3917}
3918
3919// .jaiabot.protobuf.RemoteControl rc = 30 [(.jaia.field) = {
3920inline bool Command::_internal_has_rc() const {
3921 return command_data_case() == kRc;
3922}
3923inline bool Command::has_rc() const {
3924 return _internal_has_rc();
3925}
3926inline void Command::set_has_rc() {
3927 _impl_._oneof_case_[0] = kRc;
3928}
3929inline ::jaiabot::protobuf::RemoteControl* Command::release_rc() {
3930 // @@protoc_insertion_point(field_release:jaiabot.protobuf.Command.rc)
3931 if (_internal_has_rc()) {
3932 clear_has_command_data();
3933 ::jaiabot::protobuf::RemoteControl* temp = _impl_.command_data_.rc_;
3934 if (GetArenaForAllocation() != nullptr) {
3935 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
3936 }
3937 _impl_.command_data_.rc_ = nullptr;
3938 return temp;
3939 } else {
3940 return nullptr;
3941 }
3942}
3943inline const ::jaiabot::protobuf::RemoteControl& Command::_internal_rc() const {
3944 return _internal_has_rc()
3945 ? *_impl_.command_data_.rc_
3947}
3948inline const ::jaiabot::protobuf::RemoteControl& Command::rc() const {
3949 // @@protoc_insertion_point(field_get:jaiabot.protobuf.Command.rc)
3950 return _internal_rc();
3951}
3952inline ::jaiabot::protobuf::RemoteControl* Command::unsafe_arena_release_rc() {
3953 // @@protoc_insertion_point(field_unsafe_arena_release:jaiabot.protobuf.Command.rc)
3954 if (_internal_has_rc()) {
3955 clear_has_command_data();
3956 ::jaiabot::protobuf::RemoteControl* temp = _impl_.command_data_.rc_;
3957 _impl_.command_data_.rc_ = nullptr;
3958 return temp;
3959 } else {
3960 return nullptr;
3961 }
3962}
3963inline void Command::unsafe_arena_set_allocated_rc(::jaiabot::protobuf::RemoteControl* rc) {
3964 clear_command_data();
3965 if (rc) {
3966 set_has_rc();
3967 _impl_.command_data_.rc_ = rc;
3968 }
3969 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.Command.rc)
3970}
3971inline ::jaiabot::protobuf::RemoteControl* Command::_internal_mutable_rc() {
3972 if (!_internal_has_rc()) {
3973 clear_command_data();
3974 set_has_rc();
3975 _impl_.command_data_.rc_ = CreateMaybeMessage< ::jaiabot::protobuf::RemoteControl >(GetArenaForAllocation());
3976 }
3977 return _impl_.command_data_.rc_;
3978}
3979inline ::jaiabot::protobuf::RemoteControl* Command::mutable_rc() {
3980 ::jaiabot::protobuf::RemoteControl* _msg = _internal_mutable_rc();
3981 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.Command.rc)
3982 return _msg;
3983}
3984
3985// .jaiabot.protobuf.MissionTask rc_task = 31;
3986inline bool Command::_internal_has_rc_task() const {
3987 return command_data_case() == kRcTask;
3988}
3989inline bool Command::has_rc_task() const {
3990 return _internal_has_rc_task();
3991}
3992inline void Command::set_has_rc_task() {
3993 _impl_._oneof_case_[0] = kRcTask;
3994}
3995inline ::jaiabot::protobuf::MissionTask* Command::release_rc_task() {
3996 // @@protoc_insertion_point(field_release:jaiabot.protobuf.Command.rc_task)
3997 if (_internal_has_rc_task()) {
3998 clear_has_command_data();
3999 ::jaiabot::protobuf::MissionTask* temp = _impl_.command_data_.rc_task_;
4000 if (GetArenaForAllocation() != nullptr) {
4001 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
4002 }
4003 _impl_.command_data_.rc_task_ = nullptr;
4004 return temp;
4005 } else {
4006 return nullptr;
4007 }
4008}
4009inline const ::jaiabot::protobuf::MissionTask& Command::_internal_rc_task() const {
4010 return _internal_has_rc_task()
4011 ? *_impl_.command_data_.rc_task_
4013}
4014inline const ::jaiabot::protobuf::MissionTask& Command::rc_task() const {
4015 // @@protoc_insertion_point(field_get:jaiabot.protobuf.Command.rc_task)
4016 return _internal_rc_task();
4017}
4018inline ::jaiabot::protobuf::MissionTask* Command::unsafe_arena_release_rc_task() {
4019 // @@protoc_insertion_point(field_unsafe_arena_release:jaiabot.protobuf.Command.rc_task)
4020 if (_internal_has_rc_task()) {
4021 clear_has_command_data();
4022 ::jaiabot::protobuf::MissionTask* temp = _impl_.command_data_.rc_task_;
4023 _impl_.command_data_.rc_task_ = nullptr;
4024 return temp;
4025 } else {
4026 return nullptr;
4027 }
4028}
4029inline void Command::unsafe_arena_set_allocated_rc_task(::jaiabot::protobuf::MissionTask* rc_task) {
4030 clear_command_data();
4031 if (rc_task) {
4032 set_has_rc_task();
4033 _impl_.command_data_.rc_task_ = rc_task;
4034 }
4035 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.Command.rc_task)
4036}
4037inline ::jaiabot::protobuf::MissionTask* Command::_internal_mutable_rc_task() {
4038 if (!_internal_has_rc_task()) {
4039 clear_command_data();
4040 set_has_rc_task();
4041 _impl_.command_data_.rc_task_ = CreateMaybeMessage< ::jaiabot::protobuf::MissionTask >(GetArenaForAllocation());
4042 }
4043 return _impl_.command_data_.rc_task_;
4044}
4045inline ::jaiabot::protobuf::MissionTask* Command::mutable_rc_task() {
4046 ::jaiabot::protobuf::MissionTask* _msg = _internal_mutable_rc_task();
4047 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.Command.rc_task)
4048 return _msg;
4049}
4050
4051inline bool Command::has_command_data() const {
4052 return command_data_case() != COMMAND_DATA_NOT_SET;
4053}
4054inline void Command::clear_has_command_data() {
4055 _impl_._oneof_case_[0] = COMMAND_DATA_NOT_SET;
4056}
4057inline Command::CommandDataCase Command::command_data_case() const {
4058 return Command::CommandDataCase(_impl_._oneof_case_[0]);
4059}
4060// -------------------------------------------------------------------
4061
4062// CommandForHub
4063
4064// required uint32 hub_id = 1 [(.jaia.field) = {
4065inline bool CommandForHub::_internal_has_hub_id() const {
4066 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
4067 return value;
4068}
4069inline bool CommandForHub::has_hub_id() const {
4070 return _internal_has_hub_id();
4071}
4072inline void CommandForHub::clear_hub_id() {
4073 _impl_.hub_id_ = 0u;
4074 _impl_._has_bits_[0] &= ~0x00000004u;
4075}
4076inline uint32_t CommandForHub::_internal_hub_id() const {
4077 return _impl_.hub_id_;
4078}
4079inline uint32_t CommandForHub::hub_id() const {
4080 // @@protoc_insertion_point(field_get:jaiabot.protobuf.CommandForHub.hub_id)
4081 return _internal_hub_id();
4082}
4083inline void CommandForHub::_internal_set_hub_id(uint32_t value) {
4084 _impl_._has_bits_[0] |= 0x00000004u;
4085 _impl_.hub_id_ = value;
4086}
4087inline void CommandForHub::set_hub_id(uint32_t value) {
4088 _internal_set_hub_id(value);
4089 // @@protoc_insertion_point(field_set:jaiabot.protobuf.CommandForHub.hub_id)
4090}
4091
4092// required uint64 time = 2 [(.dccl.field) = {
4093inline bool CommandForHub::_internal_has_time() const {
4094 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
4095 return value;
4096}
4097inline bool CommandForHub::has_time() const {
4098 return _internal_has_time();
4099}
4100inline void CommandForHub::clear_time() {
4101 _impl_.time_ = uint64_t{0u};
4102 _impl_._has_bits_[0] &= ~0x00000002u;
4103}
4104inline uint64_t CommandForHub::_internal_time() const {
4105 return _impl_.time_;
4106}
4107inline uint64_t CommandForHub::time() const {
4108 // @@protoc_insertion_point(field_get:jaiabot.protobuf.CommandForHub.time)
4109 return _internal_time();
4110}
4111inline void CommandForHub::_internal_set_time(uint64_t value) {
4112 _impl_._has_bits_[0] |= 0x00000002u;
4113 _impl_.time_ = value;
4114}
4115inline void CommandForHub::set_time(uint64_t value) {
4116 _internal_set_time(value);
4117 // @@protoc_insertion_point(field_set:jaiabot.protobuf.CommandForHub.time)
4118}
4119
4120// required .jaiabot.protobuf.CommandForHub.HubCommandType type = 10 [(.jaia.field) = {
4121inline bool CommandForHub::_internal_has_type() const {
4122 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
4123 return value;
4124}
4125inline bool CommandForHub::has_type() const {
4126 return _internal_has_type();
4127}
4128inline void CommandForHub::clear_type() {
4129 _impl_.type_ = 5;
4130 _impl_._has_bits_[0] &= ~0x00000010u;
4131}
4132inline ::jaiabot::protobuf::CommandForHub_HubCommandType CommandForHub::_internal_type() const {
4133 return static_cast< ::jaiabot::protobuf::CommandForHub_HubCommandType >(_impl_.type_);
4134}
4135inline ::jaiabot::protobuf::CommandForHub_HubCommandType CommandForHub::type() const {
4136 // @@protoc_insertion_point(field_get:jaiabot.protobuf.CommandForHub.type)
4137 return _internal_type();
4138}
4139inline void CommandForHub::_internal_set_type(::jaiabot::protobuf::CommandForHub_HubCommandType value) {
4141 _impl_._has_bits_[0] |= 0x00000010u;
4142 _impl_.type_ = value;
4143}
4144inline void CommandForHub::set_type(::jaiabot::protobuf::CommandForHub_HubCommandType value) {
4145 _internal_set_type(value);
4146 // @@protoc_insertion_point(field_set:jaiabot.protobuf.CommandForHub.type)
4147}
4148
4149// optional uint32 scan_for_bot_id = 11;
4150inline bool CommandForHub::_internal_has_scan_for_bot_id() const {
4151 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
4152 return value;
4153}
4154inline bool CommandForHub::has_scan_for_bot_id() const {
4155 return _internal_has_scan_for_bot_id();
4156}
4157inline void CommandForHub::clear_scan_for_bot_id() {
4158 _impl_.scan_for_bot_id_ = 0u;
4159 _impl_._has_bits_[0] &= ~0x00000008u;
4160}
4161inline uint32_t CommandForHub::_internal_scan_for_bot_id() const {
4162 return _impl_.scan_for_bot_id_;
4163}
4164inline uint32_t CommandForHub::scan_for_bot_id() const {
4165 // @@protoc_insertion_point(field_get:jaiabot.protobuf.CommandForHub.scan_for_bot_id)
4166 return _internal_scan_for_bot_id();
4167}
4168inline void CommandForHub::_internal_set_scan_for_bot_id(uint32_t value) {
4169 _impl_._has_bits_[0] |= 0x00000008u;
4170 _impl_.scan_for_bot_id_ = value;
4171}
4172inline void CommandForHub::set_scan_for_bot_id(uint32_t value) {
4173 _internal_set_scan_for_bot_id(value);
4174 // @@protoc_insertion_point(field_set:jaiabot.protobuf.CommandForHub.scan_for_bot_id)
4175}
4176
4177// optional .jaiabot.protobuf.GeographicCoordinate hub_location = 80 [(.jaia.field) = {
4178inline bool CommandForHub::_internal_has_hub_location() const {
4179 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
4180 PROTOBUF_ASSUME(!value || _impl_.hub_location_ != nullptr);
4181 return value;
4182}
4183inline bool CommandForHub::has_hub_location() const {
4184 return _internal_has_hub_location();
4185}
4186inline const ::jaiabot::protobuf::GeographicCoordinate& CommandForHub::_internal_hub_location() const {
4187 const ::jaiabot::protobuf::GeographicCoordinate* p = _impl_.hub_location_;
4188 return p != nullptr ? *p : reinterpret_cast<const ::jaiabot::protobuf::GeographicCoordinate&>(
4190}
4191inline const ::jaiabot::protobuf::GeographicCoordinate& CommandForHub::hub_location() const {
4192 // @@protoc_insertion_point(field_get:jaiabot.protobuf.CommandForHub.hub_location)
4193 return _internal_hub_location();
4194}
4195inline void CommandForHub::unsafe_arena_set_allocated_hub_location(
4197 if (GetArenaForAllocation() == nullptr) {
4198 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.hub_location_);
4199 }
4200 _impl_.hub_location_ = hub_location;
4201 if (hub_location) {
4202 _impl_._has_bits_[0] |= 0x00000001u;
4203 } else {
4204 _impl_._has_bits_[0] &= ~0x00000001u;
4205 }
4206 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.CommandForHub.hub_location)
4207}
4208inline ::jaiabot::protobuf::GeographicCoordinate* CommandForHub::release_hub_location() {
4209 _impl_._has_bits_[0] &= ~0x00000001u;
4210 ::jaiabot::protobuf::GeographicCoordinate* temp = _impl_.hub_location_;
4211 _impl_.hub_location_ = nullptr;
4212#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
4213 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
4214 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
4215 if (GetArenaForAllocation() == nullptr) { delete old; }
4216#else // PROTOBUF_FORCE_COPY_IN_RELEASE
4217 if (GetArenaForAllocation() != nullptr) {
4218 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
4219 }
4220#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
4221 return temp;
4222}
4223inline ::jaiabot::protobuf::GeographicCoordinate* CommandForHub::unsafe_arena_release_hub_location() {
4224 // @@protoc_insertion_point(field_release:jaiabot.protobuf.CommandForHub.hub_location)
4225 _impl_._has_bits_[0] &= ~0x00000001u;
4226 ::jaiabot::protobuf::GeographicCoordinate* temp = _impl_.hub_location_;
4227 _impl_.hub_location_ = nullptr;
4228 return temp;
4229}
4230inline ::jaiabot::protobuf::GeographicCoordinate* CommandForHub::_internal_mutable_hub_location() {
4231 _impl_._has_bits_[0] |= 0x00000001u;
4232 if (_impl_.hub_location_ == nullptr) {
4233 auto* p = CreateMaybeMessage<::jaiabot::protobuf::GeographicCoordinate>(GetArenaForAllocation());
4234 _impl_.hub_location_ = p;
4235 }
4236 return _impl_.hub_location_;
4237}
4238inline ::jaiabot::protobuf::GeographicCoordinate* CommandForHub::mutable_hub_location() {
4239 ::jaiabot::protobuf::GeographicCoordinate* _msg = _internal_mutable_hub_location();
4240 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.CommandForHub.hub_location)
4241 return _msg;
4242}
4243inline void CommandForHub::set_allocated_hub_location(::jaiabot::protobuf::GeographicCoordinate* hub_location) {
4244 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
4245 if (message_arena == nullptr) {
4246 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.hub_location_);
4247 }
4248 if (hub_location) {
4249 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
4250 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
4251 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(hub_location));
4252 if (message_arena != submessage_arena) {
4253 hub_location = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
4254 message_arena, hub_location, submessage_arena);
4255 }
4256 _impl_._has_bits_[0] |= 0x00000001u;
4257 } else {
4258 _impl_._has_bits_[0] &= ~0x00000001u;
4259 }
4260 _impl_.hub_location_ = hub_location;
4261 // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.CommandForHub.hub_location)
4262}
4263
4264// -------------------------------------------------------------------
4265
4266// BotStatus_Attitude
4267
4268// optional double roll = 1 [(.dccl.field) = {
4269inline bool BotStatus_Attitude::_internal_has_roll() const {
4270 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
4271 return value;
4272}
4273inline bool BotStatus_Attitude::has_roll() const {
4274 return _internal_has_roll();
4275}
4276inline void BotStatus_Attitude::clear_roll() {
4277 _impl_.roll_ = 0;
4278 _impl_._has_bits_[0] &= ~0x00000001u;
4279}
4280inline double BotStatus_Attitude::_internal_roll() const {
4281 return _impl_.roll_;
4282}
4283inline double BotStatus_Attitude::roll() const {
4284 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.Attitude.roll)
4285 return _internal_roll();
4286}
4287inline void BotStatus_Attitude::_internal_set_roll(double value) {
4288 _impl_._has_bits_[0] |= 0x00000001u;
4289 _impl_.roll_ = value;
4290}
4291inline void BotStatus_Attitude::set_roll(double value) {
4292 _internal_set_roll(value);
4293 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.Attitude.roll)
4294}
4295
4296// optional double pitch = 2 [(.dccl.field) = {
4297inline bool BotStatus_Attitude::_internal_has_pitch() const {
4298 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
4299 return value;
4300}
4301inline bool BotStatus_Attitude::has_pitch() const {
4302 return _internal_has_pitch();
4303}
4304inline void BotStatus_Attitude::clear_pitch() {
4305 _impl_.pitch_ = 0;
4306 _impl_._has_bits_[0] &= ~0x00000002u;
4307}
4308inline double BotStatus_Attitude::_internal_pitch() const {
4309 return _impl_.pitch_;
4310}
4311inline double BotStatus_Attitude::pitch() const {
4312 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.Attitude.pitch)
4313 return _internal_pitch();
4314}
4315inline void BotStatus_Attitude::_internal_set_pitch(double value) {
4316 _impl_._has_bits_[0] |= 0x00000002u;
4317 _impl_.pitch_ = value;
4318}
4319inline void BotStatus_Attitude::set_pitch(double value) {
4320 _internal_set_pitch(value);
4321 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.Attitude.pitch)
4322}
4323
4324// optional double heading = 3 [(.dccl.field) = {
4325inline bool BotStatus_Attitude::_internal_has_heading() const {
4326 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
4327 return value;
4328}
4329inline bool BotStatus_Attitude::has_heading() const {
4330 return _internal_has_heading();
4331}
4332inline void BotStatus_Attitude::clear_heading() {
4333 _impl_.heading_ = 0;
4334 _impl_._has_bits_[0] &= ~0x00000004u;
4335}
4336inline double BotStatus_Attitude::_internal_heading() const {
4337 return _impl_.heading_;
4338}
4339inline double BotStatus_Attitude::heading() const {
4340 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.Attitude.heading)
4341 return _internal_heading();
4342}
4343inline void BotStatus_Attitude::_internal_set_heading(double value) {
4344 _impl_._has_bits_[0] |= 0x00000004u;
4345 _impl_.heading_ = value;
4346}
4347inline void BotStatus_Attitude::set_heading(double value) {
4348 _internal_set_heading(value);
4349 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.Attitude.heading)
4350}
4351
4352// optional double course_over_ground = 4 [(.dccl.field) = {
4353inline bool BotStatus_Attitude::_internal_has_course_over_ground() const {
4354 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
4355 return value;
4356}
4357inline bool BotStatus_Attitude::has_course_over_ground() const {
4358 return _internal_has_course_over_ground();
4359}
4360inline void BotStatus_Attitude::clear_course_over_ground() {
4361 _impl_.course_over_ground_ = 0;
4362 _impl_._has_bits_[0] &= ~0x00000008u;
4363}
4364inline double BotStatus_Attitude::_internal_course_over_ground() const {
4365 return _impl_.course_over_ground_;
4366}
4367inline double BotStatus_Attitude::course_over_ground() const {
4368 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.Attitude.course_over_ground)
4369 return _internal_course_over_ground();
4370}
4371inline void BotStatus_Attitude::_internal_set_course_over_ground(double value) {
4372 _impl_._has_bits_[0] |= 0x00000008u;
4373 _impl_.course_over_ground_ = value;
4374}
4375inline void BotStatus_Attitude::set_course_over_ground(double value) {
4376 _internal_set_course_over_ground(value);
4377 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.Attitude.course_over_ground)
4378}
4379
4380// -------------------------------------------------------------------
4381
4382// BotStatus_Speed
4383
4384// optional double over_ground = 1 [(.dccl.field) = {
4385inline bool BotStatus_Speed::_internal_has_over_ground() const {
4386 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
4387 return value;
4388}
4389inline bool BotStatus_Speed::has_over_ground() const {
4390 return _internal_has_over_ground();
4391}
4392inline void BotStatus_Speed::clear_over_ground() {
4393 _impl_.over_ground_ = 0;
4394 _impl_._has_bits_[0] &= ~0x00000001u;
4395}
4396inline double BotStatus_Speed::_internal_over_ground() const {
4397 return _impl_.over_ground_;
4398}
4399inline double BotStatus_Speed::over_ground() const {
4400 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.Speed.over_ground)
4401 return _internal_over_ground();
4402}
4403inline void BotStatus_Speed::_internal_set_over_ground(double value) {
4404 _impl_._has_bits_[0] |= 0x00000001u;
4405 _impl_.over_ground_ = value;
4406}
4407inline void BotStatus_Speed::set_over_ground(double value) {
4408 _internal_set_over_ground(value);
4409 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.Speed.over_ground)
4410}
4411
4412// optional double over_water = 2 [(.dccl.field) = {
4413inline bool BotStatus_Speed::_internal_has_over_water() const {
4414 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
4415 return value;
4416}
4417inline bool BotStatus_Speed::has_over_water() const {
4418 return _internal_has_over_water();
4419}
4420inline void BotStatus_Speed::clear_over_water() {
4421 _impl_.over_water_ = 0;
4422 _impl_._has_bits_[0] &= ~0x00000002u;
4423}
4424inline double BotStatus_Speed::_internal_over_water() const {
4425 return _impl_.over_water_;
4426}
4427inline double BotStatus_Speed::over_water() const {
4428 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.Speed.over_water)
4429 return _internal_over_water();
4430}
4431inline void BotStatus_Speed::_internal_set_over_water(double value) {
4432 _impl_._has_bits_[0] |= 0x00000002u;
4433 _impl_.over_water_ = value;
4434}
4435inline void BotStatus_Speed::set_over_water(double value) {
4436 _internal_set_over_water(value);
4437 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.Speed.over_water)
4438}
4439
4440// -------------------------------------------------------------------
4441
4442// BotStatus
4443
4444// required uint32 bot_id = 1 [(.dccl.field) = {
4445inline bool BotStatus::_internal_has_bot_id() const {
4446 bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0;
4447 return value;
4448}
4449inline bool BotStatus::has_bot_id() const {
4450 return _internal_has_bot_id();
4451}
4452inline void BotStatus::clear_bot_id() {
4453 _impl_.bot_id_ = 0u;
4454 _impl_._has_bits_[0] &= ~0x00000040u;
4455}
4456inline uint32_t BotStatus::_internal_bot_id() const {
4457 return _impl_.bot_id_;
4458}
4459inline uint32_t BotStatus::bot_id() const {
4460 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.bot_id)
4461 return _internal_bot_id();
4462}
4463inline void BotStatus::_internal_set_bot_id(uint32_t value) {
4464 _impl_._has_bits_[0] |= 0x00000040u;
4465 _impl_.bot_id_ = value;
4466}
4467inline void BotStatus::set_bot_id(uint32_t value) {
4468 _internal_set_bot_id(value);
4469 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.bot_id)
4470}
4471
4472// required uint64 time = 2 [(.dccl.field) = {
4473inline bool BotStatus::_internal_has_time() const {
4474 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
4475 return value;
4476}
4477inline bool BotStatus::has_time() const {
4478 return _internal_has_time();
4479}
4480inline void BotStatus::clear_time() {
4481 _impl_.time_ = uint64_t{0u};
4482 _impl_._has_bits_[0] &= ~0x00000008u;
4483}
4484inline uint64_t BotStatus::_internal_time() const {
4485 return _impl_.time_;
4486}
4487inline uint64_t BotStatus::time() const {
4488 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.time)
4489 return _internal_time();
4490}
4491inline void BotStatus::_internal_set_time(uint64_t value) {
4492 _impl_._has_bits_[0] |= 0x00000008u;
4493 _impl_.time_ = value;
4494}
4495inline void BotStatus::set_time(uint64_t value) {
4496 _internal_set_time(value);
4497 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.time)
4498}
4499
4500// optional uint64 last_command_time = 3 [(.dccl.field) = {
4501inline bool BotStatus::_internal_has_last_command_time() const {
4502 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
4503 return value;
4504}
4505inline bool BotStatus::has_last_command_time() const {
4506 return _internal_has_last_command_time();
4507}
4508inline void BotStatus::clear_last_command_time() {
4509 _impl_.last_command_time_ = uint64_t{0u};
4510 _impl_._has_bits_[0] &= ~0x00000010u;
4511}
4512inline uint64_t BotStatus::_internal_last_command_time() const {
4513 return _impl_.last_command_time_;
4514}
4515inline uint64_t BotStatus::last_command_time() const {
4516 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.last_command_time)
4517 return _internal_last_command_time();
4518}
4519inline void BotStatus::_internal_set_last_command_time(uint64_t value) {
4520 _impl_._has_bits_[0] |= 0x00000010u;
4521 _impl_.last_command_time_ = value;
4522}
4523inline void BotStatus::set_last_command_time(uint64_t value) {
4524 _internal_set_last_command_time(value);
4525 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.last_command_time)
4526}
4527
4528// optional .goby.middleware.protobuf.HealthState health_state = 4 [(.jaia.field) = {
4529inline bool BotStatus::_internal_has_health_state() const {
4530 bool value = (_impl_._has_bits_[0] & 0x00100000u) != 0;
4531 return value;
4532}
4533inline bool BotStatus::has_health_state() const {
4534 return _internal_has_health_state();
4535}
4536inline void BotStatus::clear_health_state() {
4537 _impl_.health_state_ = 1;
4538 _impl_._has_bits_[0] &= ~0x00100000u;
4539}
4540inline ::goby::middleware::protobuf::HealthState BotStatus::_internal_health_state() const {
4541 return static_cast< ::goby::middleware::protobuf::HealthState >(_impl_.health_state_);
4542}
4543inline ::goby::middleware::protobuf::HealthState BotStatus::health_state() const {
4544 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.health_state)
4545 return _internal_health_state();
4546}
4547inline void BotStatus::_internal_set_health_state(::goby::middleware::protobuf::HealthState value) {
4548 assert(::goby::middleware::protobuf::HealthState_IsValid(value));
4549 _impl_._has_bits_[0] |= 0x00100000u;
4550 _impl_.health_state_ = value;
4551}
4552inline void BotStatus::set_health_state(::goby::middleware::protobuf::HealthState value) {
4553 _internal_set_health_state(value);
4554 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.health_state)
4555}
4556
4557// repeated .jaiabot.protobuf.Error error = 5 [(.dccl.field) = {
4558inline int BotStatus::_internal_error_size() const {
4559 return _impl_.error_.size();
4560}
4561inline int BotStatus::error_size() const {
4562 return _internal_error_size();
4563}
4564inline void BotStatus::clear_error() {
4565 _impl_.error_.Clear();
4566}
4567inline ::jaiabot::protobuf::Error BotStatus::_internal_error(int index) const {
4568 return static_cast< ::jaiabot::protobuf::Error >(_impl_.error_.Get(index));
4569}
4570inline ::jaiabot::protobuf::Error BotStatus::error(int index) const {
4571 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.error)
4572 return _internal_error(index);
4573}
4574inline void BotStatus::set_error(int index, ::jaiabot::protobuf::Error value) {
4576 _impl_.error_.Set(index, value);
4577 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.error)
4578}
4579inline void BotStatus::_internal_add_error(::jaiabot::protobuf::Error value) {
4581 _impl_.error_.Add(value);
4582}
4583inline void BotStatus::add_error(::jaiabot::protobuf::Error value) {
4584 _internal_add_error(value);
4585 // @@protoc_insertion_point(field_add:jaiabot.protobuf.BotStatus.error)
4586}
4587inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>&
4588BotStatus::error() const {
4589 // @@protoc_insertion_point(field_list:jaiabot.protobuf.BotStatus.error)
4590 return _impl_.error_;
4591}
4592inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>*
4593BotStatus::_internal_mutable_error() {
4594 return &_impl_.error_;
4595}
4596inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>*
4597BotStatus::mutable_error() {
4598 // @@protoc_insertion_point(field_mutable_list:jaiabot.protobuf.BotStatus.error)
4599 return _internal_mutable_error();
4600}
4601
4602// repeated .jaiabot.protobuf.Warning warning = 6 [(.dccl.field) = {
4603inline int BotStatus::_internal_warning_size() const {
4604 return _impl_.warning_.size();
4605}
4606inline int BotStatus::warning_size() const {
4607 return _internal_warning_size();
4608}
4609inline void BotStatus::clear_warning() {
4610 _impl_.warning_.Clear();
4611}
4612inline ::jaiabot::protobuf::Warning BotStatus::_internal_warning(int index) const {
4613 return static_cast< ::jaiabot::protobuf::Warning >(_impl_.warning_.Get(index));
4614}
4615inline ::jaiabot::protobuf::Warning BotStatus::warning(int index) const {
4616 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.warning)
4617 return _internal_warning(index);
4618}
4619inline void BotStatus::set_warning(int index, ::jaiabot::protobuf::Warning value) {
4621 _impl_.warning_.Set(index, value);
4622 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.warning)
4623}
4624inline void BotStatus::_internal_add_warning(::jaiabot::protobuf::Warning value) {
4626 _impl_.warning_.Add(value);
4627}
4628inline void BotStatus::add_warning(::jaiabot::protobuf::Warning value) {
4629 _internal_add_warning(value);
4630 // @@protoc_insertion_point(field_add:jaiabot.protobuf.BotStatus.warning)
4631}
4632inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>&
4633BotStatus::warning() const {
4634 // @@protoc_insertion_point(field_list:jaiabot.protobuf.BotStatus.warning)
4635 return _impl_.warning_;
4636}
4637inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>*
4638BotStatus::_internal_mutable_warning() {
4639 return &_impl_.warning_;
4640}
4641inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>*
4642BotStatus::mutable_warning() {
4643 // @@protoc_insertion_point(field_mutable_list:jaiabot.protobuf.BotStatus.warning)
4644 return _internal_mutable_warning();
4645}
4646
4647// optional .jaiabot.protobuf.BotStatus.BotType bot_type = 7 [(.jaia.field) = {
4648inline bool BotStatus::_internal_has_bot_type() const {
4649 bool value = (_impl_._has_bits_[0] & 0x00200000u) != 0;
4650 return value;
4651}
4652inline bool BotStatus::has_bot_type() const {
4653 return _internal_has_bot_type();
4654}
4655inline void BotStatus::clear_bot_type() {
4656 _impl_.bot_type_ = 1;
4657 _impl_._has_bits_[0] &= ~0x00200000u;
4658}
4659inline ::jaiabot::protobuf::BotStatus_BotType BotStatus::_internal_bot_type() const {
4660 return static_cast< ::jaiabot::protobuf::BotStatus_BotType >(_impl_.bot_type_);
4661}
4662inline ::jaiabot::protobuf::BotStatus_BotType BotStatus::bot_type() const {
4663 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.bot_type)
4664 return _internal_bot_type();
4665}
4666inline void BotStatus::_internal_set_bot_type(::jaiabot::protobuf::BotStatus_BotType value) {
4668 _impl_._has_bits_[0] |= 0x00200000u;
4669 _impl_.bot_type_ = value;
4670}
4671inline void BotStatus::set_bot_type(::jaiabot::protobuf::BotStatus_BotType value) {
4672 _internal_set_bot_type(value);
4673 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.bot_type)
4674}
4675
4676// optional .jaiabot.protobuf.Link link = 8 [(.dccl.field) = {
4677inline bool BotStatus::_internal_has_link() const {
4678 bool value = (_impl_._has_bits_[0] & 0x00400000u) != 0;
4679 return value;
4680}
4681inline bool BotStatus::has_link() const {
4682 return _internal_has_link();
4683}
4684inline void BotStatus::clear_link() {
4685 _impl_.link_ = -1;
4686 _impl_._has_bits_[0] &= ~0x00400000u;
4687}
4688inline ::jaiabot::protobuf::Link BotStatus::_internal_link() const {
4689 return static_cast< ::jaiabot::protobuf::Link >(_impl_.link_);
4690}
4691inline ::jaiabot::protobuf::Link BotStatus::link() const {
4692 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.link)
4693 return _internal_link();
4694}
4695inline void BotStatus::_internal_set_link(::jaiabot::protobuf::Link value) {
4696 assert(::jaiabot::protobuf::Link_IsValid(value));
4697 _impl_._has_bits_[0] |= 0x00400000u;
4698 _impl_.link_ = value;
4699}
4700inline void BotStatus::set_link(::jaiabot::protobuf::Link value) {
4701 _internal_set_link(value);
4702 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.link)
4703}
4704
4705// optional .jaiabot.protobuf.GeographicCoordinate location = 10 [(.jaia.field) = {
4706inline bool BotStatus::_internal_has_location() const {
4707 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
4708 PROTOBUF_ASSUME(!value || _impl_.location_ != nullptr);
4709 return value;
4710}
4711inline bool BotStatus::has_location() const {
4712 return _internal_has_location();
4713}
4714inline const ::jaiabot::protobuf::GeographicCoordinate& BotStatus::_internal_location() const {
4715 const ::jaiabot::protobuf::GeographicCoordinate* p = _impl_.location_;
4716 return p != nullptr ? *p : reinterpret_cast<const ::jaiabot::protobuf::GeographicCoordinate&>(
4718}
4719inline const ::jaiabot::protobuf::GeographicCoordinate& BotStatus::location() const {
4720 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.location)
4721 return _internal_location();
4722}
4723inline void BotStatus::unsafe_arena_set_allocated_location(
4725 if (GetArenaForAllocation() == nullptr) {
4726 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.location_);
4727 }
4728 _impl_.location_ = location;
4729 if (location) {
4730 _impl_._has_bits_[0] |= 0x00000001u;
4731 } else {
4732 _impl_._has_bits_[0] &= ~0x00000001u;
4733 }
4734 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.BotStatus.location)
4735}
4736inline ::jaiabot::protobuf::GeographicCoordinate* BotStatus::release_location() {
4737 _impl_._has_bits_[0] &= ~0x00000001u;
4738 ::jaiabot::protobuf::GeographicCoordinate* temp = _impl_.location_;
4739 _impl_.location_ = nullptr;
4740#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
4741 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
4742 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
4743 if (GetArenaForAllocation() == nullptr) { delete old; }
4744#else // PROTOBUF_FORCE_COPY_IN_RELEASE
4745 if (GetArenaForAllocation() != nullptr) {
4746 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
4747 }
4748#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
4749 return temp;
4750}
4751inline ::jaiabot::protobuf::GeographicCoordinate* BotStatus::unsafe_arena_release_location() {
4752 // @@protoc_insertion_point(field_release:jaiabot.protobuf.BotStatus.location)
4753 _impl_._has_bits_[0] &= ~0x00000001u;
4754 ::jaiabot::protobuf::GeographicCoordinate* temp = _impl_.location_;
4755 _impl_.location_ = nullptr;
4756 return temp;
4757}
4758inline ::jaiabot::protobuf::GeographicCoordinate* BotStatus::_internal_mutable_location() {
4759 _impl_._has_bits_[0] |= 0x00000001u;
4760 if (_impl_.location_ == nullptr) {
4761 auto* p = CreateMaybeMessage<::jaiabot::protobuf::GeographicCoordinate>(GetArenaForAllocation());
4762 _impl_.location_ = p;
4763 }
4764 return _impl_.location_;
4765}
4766inline ::jaiabot::protobuf::GeographicCoordinate* BotStatus::mutable_location() {
4767 ::jaiabot::protobuf::GeographicCoordinate* _msg = _internal_mutable_location();
4768 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.BotStatus.location)
4769 return _msg;
4770}
4771inline void BotStatus::set_allocated_location(::jaiabot::protobuf::GeographicCoordinate* location) {
4772 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
4773 if (message_arena == nullptr) {
4774 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.location_);
4775 }
4776 if (location) {
4777 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
4778 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
4779 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(location));
4780 if (message_arena != submessage_arena) {
4781 location = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
4782 message_arena, location, submessage_arena);
4783 }
4784 _impl_._has_bits_[0] |= 0x00000001u;
4785 } else {
4786 _impl_._has_bits_[0] &= ~0x00000001u;
4787 }
4788 _impl_.location_ = location;
4789 // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.BotStatus.location)
4790}
4791
4792// optional double depth = 11 [(.dccl.field) = {
4793inline bool BotStatus::_internal_has_depth() const {
4794 bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
4795 return value;
4796}
4797inline bool BotStatus::has_depth() const {
4798 return _internal_has_depth();
4799}
4800inline void BotStatus::clear_depth() {
4801 _impl_.depth_ = 0;
4802 _impl_._has_bits_[0] &= ~0x00000020u;
4803}
4804inline double BotStatus::_internal_depth() const {
4805 return _impl_.depth_;
4806}
4807inline double BotStatus::depth() const {
4808 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.depth)
4809 return _internal_depth();
4810}
4811inline void BotStatus::_internal_set_depth(double value) {
4812 _impl_._has_bits_[0] |= 0x00000020u;
4813 _impl_.depth_ = value;
4814}
4815inline void BotStatus::set_depth(double value) {
4816 _internal_set_depth(value);
4817 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.depth)
4818}
4819
4820// optional .jaiabot.protobuf.BotStatus.Attitude attitude = 20 [(.jaia.field) = {
4821inline bool BotStatus::_internal_has_attitude() const {
4822 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
4823 PROTOBUF_ASSUME(!value || _impl_.attitude_ != nullptr);
4824 return value;
4825}
4826inline bool BotStatus::has_attitude() const {
4827 return _internal_has_attitude();
4828}
4829inline void BotStatus::clear_attitude() {
4830 if (_impl_.attitude_ != nullptr) _impl_.attitude_->Clear();
4831 _impl_._has_bits_[0] &= ~0x00000002u;
4832}
4833inline const ::jaiabot::protobuf::BotStatus_Attitude& BotStatus::_internal_attitude() const {
4834 const ::jaiabot::protobuf::BotStatus_Attitude* p = _impl_.attitude_;
4835 return p != nullptr ? *p : reinterpret_cast<const ::jaiabot::protobuf::BotStatus_Attitude&>(
4837}
4838inline const ::jaiabot::protobuf::BotStatus_Attitude& BotStatus::attitude() const {
4839 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.attitude)
4840 return _internal_attitude();
4841}
4842inline void BotStatus::unsafe_arena_set_allocated_attitude(
4844 if (GetArenaForAllocation() == nullptr) {
4845 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.attitude_);
4846 }
4847 _impl_.attitude_ = attitude;
4848 if (attitude) {
4849 _impl_._has_bits_[0] |= 0x00000002u;
4850 } else {
4851 _impl_._has_bits_[0] &= ~0x00000002u;
4852 }
4853 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.BotStatus.attitude)
4854}
4855inline ::jaiabot::protobuf::BotStatus_Attitude* BotStatus::release_attitude() {
4856 _impl_._has_bits_[0] &= ~0x00000002u;
4857 ::jaiabot::protobuf::BotStatus_Attitude* temp = _impl_.attitude_;
4858 _impl_.attitude_ = nullptr;
4859#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
4860 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
4861 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
4862 if (GetArenaForAllocation() == nullptr) { delete old; }
4863#else // PROTOBUF_FORCE_COPY_IN_RELEASE
4864 if (GetArenaForAllocation() != nullptr) {
4865 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
4866 }
4867#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
4868 return temp;
4869}
4870inline ::jaiabot::protobuf::BotStatus_Attitude* BotStatus::unsafe_arena_release_attitude() {
4871 // @@protoc_insertion_point(field_release:jaiabot.protobuf.BotStatus.attitude)
4872 _impl_._has_bits_[0] &= ~0x00000002u;
4873 ::jaiabot::protobuf::BotStatus_Attitude* temp = _impl_.attitude_;
4874 _impl_.attitude_ = nullptr;
4875 return temp;
4876}
4877inline ::jaiabot::protobuf::BotStatus_Attitude* BotStatus::_internal_mutable_attitude() {
4878 _impl_._has_bits_[0] |= 0x00000002u;
4879 if (_impl_.attitude_ == nullptr) {
4880 auto* p = CreateMaybeMessage<::jaiabot::protobuf::BotStatus_Attitude>(GetArenaForAllocation());
4881 _impl_.attitude_ = p;
4882 }
4883 return _impl_.attitude_;
4884}
4885inline ::jaiabot::protobuf::BotStatus_Attitude* BotStatus::mutable_attitude() {
4886 ::jaiabot::protobuf::BotStatus_Attitude* _msg = _internal_mutable_attitude();
4887 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.BotStatus.attitude)
4888 return _msg;
4889}
4890inline void BotStatus::set_allocated_attitude(::jaiabot::protobuf::BotStatus_Attitude* attitude) {
4891 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
4892 if (message_arena == nullptr) {
4893 delete _impl_.attitude_;
4894 }
4895 if (attitude) {
4896 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
4897 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(attitude);
4898 if (message_arena != submessage_arena) {
4899 attitude = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
4900 message_arena, attitude, submessage_arena);
4901 }
4902 _impl_._has_bits_[0] |= 0x00000002u;
4903 } else {
4904 _impl_._has_bits_[0] &= ~0x00000002u;
4905 }
4906 _impl_.attitude_ = attitude;
4907 // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.BotStatus.attitude)
4908}
4909
4910// optional .jaiabot.protobuf.BotStatus.Speed speed = 30 [(.jaia.field) = {
4911inline bool BotStatus::_internal_has_speed() const {
4912 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
4913 PROTOBUF_ASSUME(!value || _impl_.speed_ != nullptr);
4914 return value;
4915}
4916inline bool BotStatus::has_speed() const {
4917 return _internal_has_speed();
4918}
4919inline void BotStatus::clear_speed() {
4920 if (_impl_.speed_ != nullptr) _impl_.speed_->Clear();
4921 _impl_._has_bits_[0] &= ~0x00000004u;
4922}
4923inline const ::jaiabot::protobuf::BotStatus_Speed& BotStatus::_internal_speed() const {
4924 const ::jaiabot::protobuf::BotStatus_Speed* p = _impl_.speed_;
4925 return p != nullptr ? *p : reinterpret_cast<const ::jaiabot::protobuf::BotStatus_Speed&>(
4927}
4928inline const ::jaiabot::protobuf::BotStatus_Speed& BotStatus::speed() const {
4929 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.speed)
4930 return _internal_speed();
4931}
4932inline void BotStatus::unsafe_arena_set_allocated_speed(
4934 if (GetArenaForAllocation() == nullptr) {
4935 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.speed_);
4936 }
4937 _impl_.speed_ = speed;
4938 if (speed) {
4939 _impl_._has_bits_[0] |= 0x00000004u;
4940 } else {
4941 _impl_._has_bits_[0] &= ~0x00000004u;
4942 }
4943 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.BotStatus.speed)
4944}
4945inline ::jaiabot::protobuf::BotStatus_Speed* BotStatus::release_speed() {
4946 _impl_._has_bits_[0] &= ~0x00000004u;
4947 ::jaiabot::protobuf::BotStatus_Speed* temp = _impl_.speed_;
4948 _impl_.speed_ = nullptr;
4949#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
4950 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
4951 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
4952 if (GetArenaForAllocation() == nullptr) { delete old; }
4953#else // PROTOBUF_FORCE_COPY_IN_RELEASE
4954 if (GetArenaForAllocation() != nullptr) {
4955 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
4956 }
4957#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
4958 return temp;
4959}
4960inline ::jaiabot::protobuf::BotStatus_Speed* BotStatus::unsafe_arena_release_speed() {
4961 // @@protoc_insertion_point(field_release:jaiabot.protobuf.BotStatus.speed)
4962 _impl_._has_bits_[0] &= ~0x00000004u;
4963 ::jaiabot::protobuf::BotStatus_Speed* temp = _impl_.speed_;
4964 _impl_.speed_ = nullptr;
4965 return temp;
4966}
4967inline ::jaiabot::protobuf::BotStatus_Speed* BotStatus::_internal_mutable_speed() {
4968 _impl_._has_bits_[0] |= 0x00000004u;
4969 if (_impl_.speed_ == nullptr) {
4970 auto* p = CreateMaybeMessage<::jaiabot::protobuf::BotStatus_Speed>(GetArenaForAllocation());
4971 _impl_.speed_ = p;
4972 }
4973 return _impl_.speed_;
4974}
4975inline ::jaiabot::protobuf::BotStatus_Speed* BotStatus::mutable_speed() {
4976 ::jaiabot::protobuf::BotStatus_Speed* _msg = _internal_mutable_speed();
4977 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.BotStatus.speed)
4978 return _msg;
4979}
4980inline void BotStatus::set_allocated_speed(::jaiabot::protobuf::BotStatus_Speed* speed) {
4981 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
4982 if (message_arena == nullptr) {
4983 delete _impl_.speed_;
4984 }
4985 if (speed) {
4986 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
4987 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(speed);
4988 if (message_arena != submessage_arena) {
4989 speed = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
4990 message_arena, speed, submessage_arena);
4991 }
4992 _impl_._has_bits_[0] |= 0x00000004u;
4993 } else {
4994 _impl_._has_bits_[0] &= ~0x00000004u;
4995 }
4996 _impl_.speed_ = speed;
4997 // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.BotStatus.speed)
4998}
4999
5000// optional .jaiabot.protobuf.MissionState mission_state = 40 [(.jaia.field) = {
5001inline bool BotStatus::_internal_has_mission_state() const {
5002 bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0;
5003 return value;
5004}
5005inline bool BotStatus::has_mission_state() const {
5006 return _internal_has_mission_state();
5007}
5008inline void BotStatus::clear_mission_state() {
5009 _impl_.mission_state_ = 0;
5010 _impl_._has_bits_[0] &= ~0x00000080u;
5011}
5012inline ::jaiabot::protobuf::MissionState BotStatus::_internal_mission_state() const {
5013 return static_cast< ::jaiabot::protobuf::MissionState >(_impl_.mission_state_);
5014}
5015inline ::jaiabot::protobuf::MissionState BotStatus::mission_state() const {
5016 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.mission_state)
5017 return _internal_mission_state();
5018}
5019inline void BotStatus::_internal_set_mission_state(::jaiabot::protobuf::MissionState value) {
5021 _impl_._has_bits_[0] |= 0x00000080u;
5022 _impl_.mission_state_ = value;
5023}
5024inline void BotStatus::set_mission_state(::jaiabot::protobuf::MissionState value) {
5025 _internal_set_mission_state(value);
5026 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.mission_state)
5027}
5028
5029// optional int32 active_goal = 41 [(.dccl.field) = {
5030inline bool BotStatus::_internal_has_active_goal() const {
5031 bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0;
5032 return value;
5033}
5034inline bool BotStatus::has_active_goal() const {
5035 return _internal_has_active_goal();
5036}
5037inline void BotStatus::clear_active_goal() {
5038 _impl_.active_goal_ = 0;
5039 _impl_._has_bits_[0] &= ~0x00000200u;
5040}
5041inline int32_t BotStatus::_internal_active_goal() const {
5042 return _impl_.active_goal_;
5043}
5044inline int32_t BotStatus::active_goal() const {
5045 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.active_goal)
5046 return _internal_active_goal();
5047}
5048inline void BotStatus::_internal_set_active_goal(int32_t value) {
5049 _impl_._has_bits_[0] |= 0x00000200u;
5050 _impl_.active_goal_ = value;
5051}
5052inline void BotStatus::set_active_goal(int32_t value) {
5053 _internal_set_active_goal(value);
5054 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.active_goal)
5055}
5056
5057// optional double distance_to_active_goal = 42 [(.dccl.field) = {
5058inline bool BotStatus::_internal_has_distance_to_active_goal() const {
5059 bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0;
5060 return value;
5061}
5062inline bool BotStatus::has_distance_to_active_goal() const {
5063 return _internal_has_distance_to_active_goal();
5064}
5065inline void BotStatus::clear_distance_to_active_goal() {
5066 _impl_.distance_to_active_goal_ = 0;
5067 _impl_._has_bits_[0] &= ~0x00000100u;
5068}
5069inline double BotStatus::_internal_distance_to_active_goal() const {
5070 return _impl_.distance_to_active_goal_;
5071}
5072inline double BotStatus::distance_to_active_goal() const {
5073 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.distance_to_active_goal)
5074 return _internal_distance_to_active_goal();
5075}
5076inline void BotStatus::_internal_set_distance_to_active_goal(double value) {
5077 _impl_._has_bits_[0] |= 0x00000100u;
5078 _impl_.distance_to_active_goal_ = value;
5079}
5080inline void BotStatus::set_distance_to_active_goal(double value) {
5081 _internal_set_distance_to_active_goal(value);
5082 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.distance_to_active_goal)
5083}
5084
5085// optional uint32 active_goal_timeout = 43 [(.dccl.field) = {
5086inline bool BotStatus::_internal_has_active_goal_timeout() const {
5087 bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0;
5088 return value;
5089}
5090inline bool BotStatus::has_active_goal_timeout() const {
5091 return _internal_has_active_goal_timeout();
5092}
5093inline void BotStatus::clear_active_goal_timeout() {
5094 _impl_.active_goal_timeout_ = 0u;
5095 _impl_._has_bits_[0] &= ~0x00000400u;
5096}
5097inline uint32_t BotStatus::_internal_active_goal_timeout() const {
5098 return _impl_.active_goal_timeout_;
5099}
5100inline uint32_t BotStatus::active_goal_timeout() const {
5101 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.active_goal_timeout)
5102 return _internal_active_goal_timeout();
5103}
5104inline void BotStatus::_internal_set_active_goal_timeout(uint32_t value) {
5105 _impl_._has_bits_[0] |= 0x00000400u;
5106 _impl_.active_goal_timeout_ = value;
5107}
5108inline void BotStatus::set_active_goal_timeout(uint32_t value) {
5109 _internal_set_active_goal_timeout(value);
5110 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.active_goal_timeout)
5111}
5112
5113// optional int32 repeat_index = 44 [(.dccl.field) = {
5114inline bool BotStatus::_internal_has_repeat_index() const {
5115 bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0;
5116 return value;
5117}
5118inline bool BotStatus::has_repeat_index() const {
5119 return _internal_has_repeat_index();
5120}
5121inline void BotStatus::clear_repeat_index() {
5122 _impl_.repeat_index_ = 0;
5123 _impl_._has_bits_[0] &= ~0x00000800u;
5124}
5125inline int32_t BotStatus::_internal_repeat_index() const {
5126 return _impl_.repeat_index_;
5127}
5128inline int32_t BotStatus::repeat_index() const {
5129 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.repeat_index)
5130 return _internal_repeat_index();
5131}
5132inline void BotStatus::_internal_set_repeat_index(int32_t value) {
5133 _impl_._has_bits_[0] |= 0x00000800u;
5134 _impl_.repeat_index_ = value;
5135}
5136inline void BotStatus::set_repeat_index(int32_t value) {
5137 _internal_set_repeat_index(value);
5138 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.repeat_index)
5139}
5140
5141// optional double salinity = 51 [(.dccl.field) = {
5142inline bool BotStatus::_internal_has_salinity() const {
5143 bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0;
5144 return value;
5145}
5146inline bool BotStatus::has_salinity() const {
5147 return _internal_has_salinity();
5148}
5149inline void BotStatus::clear_salinity() {
5150 _impl_.salinity_ = 0;
5151 _impl_._has_bits_[0] &= ~0x00002000u;
5152}
5153inline double BotStatus::_internal_salinity() const {
5154 return _impl_.salinity_;
5155}
5156inline double BotStatus::salinity() const {
5157 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.salinity)
5158 return _internal_salinity();
5159}
5160inline void BotStatus::_internal_set_salinity(double value) {
5161 _impl_._has_bits_[0] |= 0x00002000u;
5162 _impl_.salinity_ = value;
5163}
5164inline void BotStatus::set_salinity(double value) {
5165 _internal_set_salinity(value);
5166 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.salinity)
5167}
5168
5169// optional double temperature = 52 [(.dccl.field) = {
5170inline bool BotStatus::_internal_has_temperature() const {
5171 bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0;
5172 return value;
5173}
5174inline bool BotStatus::has_temperature() const {
5175 return _internal_has_temperature();
5176}
5177inline void BotStatus::clear_temperature() {
5178 _impl_.temperature_ = 0;
5179 _impl_._has_bits_[0] &= ~0x00004000u;
5180}
5181inline double BotStatus::_internal_temperature() const {
5182 return _impl_.temperature_;
5183}
5184inline double BotStatus::temperature() const {
5185 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.temperature)
5186 return _internal_temperature();
5187}
5188inline void BotStatus::_internal_set_temperature(double value) {
5189 _impl_._has_bits_[0] |= 0x00004000u;
5190 _impl_.temperature_ = value;
5191}
5192inline void BotStatus::set_temperature(double value) {
5193 _internal_set_temperature(value);
5194 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.temperature)
5195}
5196
5197// optional double battery_percent = 53 [(.dccl.field) = {
5198inline bool BotStatus::_internal_has_battery_percent() const {
5199 bool value = (_impl_._has_bits_[0] & 0x00008000u) != 0;
5200 return value;
5201}
5202inline bool BotStatus::has_battery_percent() const {
5203 return _internal_has_battery_percent();
5204}
5205inline void BotStatus::clear_battery_percent() {
5206 _impl_.battery_percent_ = 0;
5207 _impl_._has_bits_[0] &= ~0x00008000u;
5208}
5209inline double BotStatus::_internal_battery_percent() const {
5210 return _impl_.battery_percent_;
5211}
5212inline double BotStatus::battery_percent() const {
5213 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.battery_percent)
5214 return _internal_battery_percent();
5215}
5216inline void BotStatus::_internal_set_battery_percent(double value) {
5217 _impl_._has_bits_[0] |= 0x00008000u;
5218 _impl_.battery_percent_ = value;
5219}
5220inline void BotStatus::set_battery_percent(double value) {
5221 _internal_set_battery_percent(value);
5222 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.battery_percent)
5223}
5224
5225// optional int32 calibration_status = 54 [(.dccl.field) = {
5226inline bool BotStatus::_internal_has_calibration_status() const {
5227 bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0;
5228 return value;
5229}
5230inline bool BotStatus::has_calibration_status() const {
5231 return _internal_has_calibration_status();
5232}
5233inline void BotStatus::clear_calibration_status() {
5234 _impl_.calibration_status_ = 0;
5235 _impl_._has_bits_[0] &= ~0x00001000u;
5236}
5237inline int32_t BotStatus::_internal_calibration_status() const {
5238 return _impl_.calibration_status_;
5239}
5240inline int32_t BotStatus::calibration_status() const {
5241 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.calibration_status)
5242 return _internal_calibration_status();
5243}
5244inline void BotStatus::_internal_set_calibration_status(int32_t value) {
5245 _impl_._has_bits_[0] |= 0x00001000u;
5246 _impl_.calibration_status_ = value;
5247}
5248inline void BotStatus::set_calibration_status(int32_t value) {
5249 _internal_set_calibration_status(value);
5250 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.calibration_status)
5251}
5252
5253// optional .jaiabot.protobuf.IMUCalibrationState calibration_state = 55;
5254inline bool BotStatus::_internal_has_calibration_state() const {
5255 bool value = (_impl_._has_bits_[0] & 0x00800000u) != 0;
5256 return value;
5257}
5258inline bool BotStatus::has_calibration_state() const {
5259 return _internal_has_calibration_state();
5260}
5261inline void BotStatus::clear_calibration_state() {
5262 _impl_.calibration_state_ = 1;
5263 _impl_._has_bits_[0] &= ~0x00800000u;
5264}
5265inline ::jaiabot::protobuf::IMUCalibrationState BotStatus::_internal_calibration_state() const {
5266 return static_cast< ::jaiabot::protobuf::IMUCalibrationState >(_impl_.calibration_state_);
5267}
5268inline ::jaiabot::protobuf::IMUCalibrationState BotStatus::calibration_state() const {
5269 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.calibration_state)
5270 return _internal_calibration_state();
5271}
5272inline void BotStatus::_internal_set_calibration_state(::jaiabot::protobuf::IMUCalibrationState value) {
5274 _impl_._has_bits_[0] |= 0x00800000u;
5275 _impl_.calibration_state_ = value;
5276}
5277inline void BotStatus::set_calibration_state(::jaiabot::protobuf::IMUCalibrationState value) {
5278 _internal_set_calibration_state(value);
5279 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.calibration_state)
5280}
5281
5282// optional double hdop = 56 [(.dccl.field) = {
5283inline bool BotStatus::_internal_has_hdop() const {
5284 bool value = (_impl_._has_bits_[0] & 0x00010000u) != 0;
5285 return value;
5286}
5287inline bool BotStatus::has_hdop() const {
5288 return _internal_has_hdop();
5289}
5290inline void BotStatus::clear_hdop() {
5291 _impl_.hdop_ = 0;
5292 _impl_._has_bits_[0] &= ~0x00010000u;
5293}
5294inline double BotStatus::_internal_hdop() const {
5295 return _impl_.hdop_;
5296}
5297inline double BotStatus::hdop() const {
5298 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.hdop)
5299 return _internal_hdop();
5300}
5301inline void BotStatus::_internal_set_hdop(double value) {
5302 _impl_._has_bits_[0] |= 0x00010000u;
5303 _impl_.hdop_ = value;
5304}
5305inline void BotStatus::set_hdop(double value) {
5306 _internal_set_hdop(value);
5307 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.hdop)
5308}
5309
5310// optional double pdop = 57 [(.dccl.field) = {
5311inline bool BotStatus::_internal_has_pdop() const {
5312 bool value = (_impl_._has_bits_[0] & 0x00020000u) != 0;
5313 return value;
5314}
5315inline bool BotStatus::has_pdop() const {
5316 return _internal_has_pdop();
5317}
5318inline void BotStatus::clear_pdop() {
5319 _impl_.pdop_ = 0;
5320 _impl_._has_bits_[0] &= ~0x00020000u;
5321}
5322inline double BotStatus::_internal_pdop() const {
5323 return _impl_.pdop_;
5324}
5325inline double BotStatus::pdop() const {
5326 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.pdop)
5327 return _internal_pdop();
5328}
5329inline void BotStatus::_internal_set_pdop(double value) {
5330 _impl_._has_bits_[0] |= 0x00020000u;
5331 _impl_.pdop_ = value;
5332}
5333inline void BotStatus::set_pdop(double value) {
5334 _internal_set_pdop(value);
5335 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.pdop)
5336}
5337
5338// optional int32 wifi_link_quality_percentage = 58 [(.dccl.field) = {
5339inline bool BotStatus::_internal_has_wifi_link_quality_percentage() const {
5340 bool value = (_impl_._has_bits_[0] & 0x00080000u) != 0;
5341 return value;
5342}
5343inline bool BotStatus::has_wifi_link_quality_percentage() const {
5344 return _internal_has_wifi_link_quality_percentage();
5345}
5346inline void BotStatus::clear_wifi_link_quality_percentage() {
5347 _impl_.wifi_link_quality_percentage_ = 0;
5348 _impl_._has_bits_[0] &= ~0x00080000u;
5349}
5350inline int32_t BotStatus::_internal_wifi_link_quality_percentage() const {
5351 return _impl_.wifi_link_quality_percentage_;
5352}
5353inline int32_t BotStatus::wifi_link_quality_percentage() const {
5354 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.wifi_link_quality_percentage)
5355 return _internal_wifi_link_quality_percentage();
5356}
5357inline void BotStatus::_internal_set_wifi_link_quality_percentage(int32_t value) {
5358 _impl_._has_bits_[0] |= 0x00080000u;
5359 _impl_.wifi_link_quality_percentage_ = value;
5360}
5361inline void BotStatus::set_wifi_link_quality_percentage(int32_t value) {
5362 _internal_set_wifi_link_quality_percentage(value);
5363 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.wifi_link_quality_percentage)
5364}
5365
5366// optional uint64 received_time = 59 [(.dccl.field) = {
5367inline bool BotStatus::_internal_has_received_time() const {
5368 bool value = (_impl_._has_bits_[0] & 0x00040000u) != 0;
5369 return value;
5370}
5371inline bool BotStatus::has_received_time() const {
5372 return _internal_has_received_time();
5373}
5374inline void BotStatus::clear_received_time() {
5375 _impl_.received_time_ = uint64_t{0u};
5376 _impl_._has_bits_[0] &= ~0x00040000u;
5377}
5378inline uint64_t BotStatus::_internal_received_time() const {
5379 return _impl_.received_time_;
5380}
5381inline uint64_t BotStatus::received_time() const {
5382 // @@protoc_insertion_point(field_get:jaiabot.protobuf.BotStatus.received_time)
5383 return _internal_received_time();
5384}
5385inline void BotStatus::_internal_set_received_time(uint64_t value) {
5386 _impl_._has_bits_[0] |= 0x00040000u;
5387 _impl_.received_time_ = value;
5388}
5389inline void BotStatus::set_received_time(uint64_t value) {
5390 _internal_set_received_time(value);
5391 // @@protoc_insertion_point(field_set:jaiabot.protobuf.BotStatus.received_time)
5392}
5393
5394// -------------------------------------------------------------------
5395
5396// DriftPacket_EstimatedDrift
5397
5398// required double speed = 1 [(.dccl.field) = {
5399inline bool DriftPacket_EstimatedDrift::_internal_has_speed() const {
5400 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
5401 return value;
5402}
5403inline bool DriftPacket_EstimatedDrift::has_speed() const {
5404 return _internal_has_speed();
5405}
5406inline void DriftPacket_EstimatedDrift::clear_speed() {
5407 _impl_.speed_ = 0;
5408 _impl_._has_bits_[0] &= ~0x00000001u;
5409}
5410inline double DriftPacket_EstimatedDrift::_internal_speed() const {
5411 return _impl_.speed_;
5412}
5413inline double DriftPacket_EstimatedDrift::speed() const {
5414 // @@protoc_insertion_point(field_get:jaiabot.protobuf.DriftPacket.EstimatedDrift.speed)
5415 return _internal_speed();
5416}
5417inline void DriftPacket_EstimatedDrift::_internal_set_speed(double value) {
5418 _impl_._has_bits_[0] |= 0x00000001u;
5419 _impl_.speed_ = value;
5420}
5421inline void DriftPacket_EstimatedDrift::set_speed(double value) {
5422 _internal_set_speed(value);
5423 // @@protoc_insertion_point(field_set:jaiabot.protobuf.DriftPacket.EstimatedDrift.speed)
5424}
5425
5426// optional double heading = 3 [(.dccl.field) = {
5427inline bool DriftPacket_EstimatedDrift::_internal_has_heading() const {
5428 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
5429 return value;
5430}
5431inline bool DriftPacket_EstimatedDrift::has_heading() const {
5432 return _internal_has_heading();
5433}
5434inline void DriftPacket_EstimatedDrift::clear_heading() {
5435 _impl_.heading_ = 0;
5436 _impl_._has_bits_[0] &= ~0x00000002u;
5437}
5438inline double DriftPacket_EstimatedDrift::_internal_heading() const {
5439 return _impl_.heading_;
5440}
5441inline double DriftPacket_EstimatedDrift::heading() const {
5442 // @@protoc_insertion_point(field_get:jaiabot.protobuf.DriftPacket.EstimatedDrift.heading)
5443 return _internal_heading();
5444}
5445inline void DriftPacket_EstimatedDrift::_internal_set_heading(double value) {
5446 _impl_._has_bits_[0] |= 0x00000002u;
5447 _impl_.heading_ = value;
5448}
5449inline void DriftPacket_EstimatedDrift::set_heading(double value) {
5450 _internal_set_heading(value);
5451 // @@protoc_insertion_point(field_set:jaiabot.protobuf.DriftPacket.EstimatedDrift.heading)
5452}
5453
5454// -------------------------------------------------------------------
5455
5456// DriftPacket
5457
5458// optional int32 drift_duration = 1 [default = 0, (.dccl.field) = {
5459inline bool DriftPacket::_internal_has_drift_duration() const {
5460 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
5461 return value;
5462}
5463inline bool DriftPacket::has_drift_duration() const {
5464 return _internal_has_drift_duration();
5465}
5466inline void DriftPacket::clear_drift_duration() {
5467 _impl_.drift_duration_ = 0;
5468 _impl_._has_bits_[0] &= ~0x00000010u;
5469}
5470inline int32_t DriftPacket::_internal_drift_duration() const {
5471 return _impl_.drift_duration_;
5472}
5473inline int32_t DriftPacket::drift_duration() const {
5474 // @@protoc_insertion_point(field_get:jaiabot.protobuf.DriftPacket.drift_duration)
5475 return _internal_drift_duration();
5476}
5477inline void DriftPacket::_internal_set_drift_duration(int32_t value) {
5478 _impl_._has_bits_[0] |= 0x00000010u;
5479 _impl_.drift_duration_ = value;
5480}
5481inline void DriftPacket::set_drift_duration(int32_t value) {
5482 _internal_set_drift_duration(value);
5483 // @@protoc_insertion_point(field_set:jaiabot.protobuf.DriftPacket.drift_duration)
5484}
5485
5486// optional .jaiabot.protobuf.DriftPacket.EstimatedDrift estimated_drift = 10 [(.jaia.field) = {
5487inline bool DriftPacket::_internal_has_estimated_drift() const {
5488 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
5489 PROTOBUF_ASSUME(!value || _impl_.estimated_drift_ != nullptr);
5490 return value;
5491}
5492inline bool DriftPacket::has_estimated_drift() const {
5493 return _internal_has_estimated_drift();
5494}
5495inline void DriftPacket::clear_estimated_drift() {
5496 if (_impl_.estimated_drift_ != nullptr) _impl_.estimated_drift_->Clear();
5497 _impl_._has_bits_[0] &= ~0x00000001u;
5498}
5499inline const ::jaiabot::protobuf::DriftPacket_EstimatedDrift& DriftPacket::_internal_estimated_drift() const {
5500 const ::jaiabot::protobuf::DriftPacket_EstimatedDrift* p = _impl_.estimated_drift_;
5501 return p != nullptr ? *p : reinterpret_cast<const ::jaiabot::protobuf::DriftPacket_EstimatedDrift&>(
5503}
5504inline const ::jaiabot::protobuf::DriftPacket_EstimatedDrift& DriftPacket::estimated_drift() const {
5505 // @@protoc_insertion_point(field_get:jaiabot.protobuf.DriftPacket.estimated_drift)
5506 return _internal_estimated_drift();
5507}
5508inline void DriftPacket::unsafe_arena_set_allocated_estimated_drift(
5510 if (GetArenaForAllocation() == nullptr) {
5511 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.estimated_drift_);
5512 }
5513 _impl_.estimated_drift_ = estimated_drift;
5514 if (estimated_drift) {
5515 _impl_._has_bits_[0] |= 0x00000001u;
5516 } else {
5517 _impl_._has_bits_[0] &= ~0x00000001u;
5518 }
5519 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.DriftPacket.estimated_drift)
5520}
5521inline ::jaiabot::protobuf::DriftPacket_EstimatedDrift* DriftPacket::release_estimated_drift() {
5522 _impl_._has_bits_[0] &= ~0x00000001u;
5523 ::jaiabot::protobuf::DriftPacket_EstimatedDrift* temp = _impl_.estimated_drift_;
5524 _impl_.estimated_drift_ = nullptr;
5525#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
5526 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
5527 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
5528 if (GetArenaForAllocation() == nullptr) { delete old; }
5529#else // PROTOBUF_FORCE_COPY_IN_RELEASE
5530 if (GetArenaForAllocation() != nullptr) {
5531 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
5532 }
5533#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
5534 return temp;
5535}
5536inline ::jaiabot::protobuf::DriftPacket_EstimatedDrift* DriftPacket::unsafe_arena_release_estimated_drift() {
5537 // @@protoc_insertion_point(field_release:jaiabot.protobuf.DriftPacket.estimated_drift)
5538 _impl_._has_bits_[0] &= ~0x00000001u;
5539 ::jaiabot::protobuf::DriftPacket_EstimatedDrift* temp = _impl_.estimated_drift_;
5540 _impl_.estimated_drift_ = nullptr;
5541 return temp;
5542}
5543inline ::jaiabot::protobuf::DriftPacket_EstimatedDrift* DriftPacket::_internal_mutable_estimated_drift() {
5544 _impl_._has_bits_[0] |= 0x00000001u;
5545 if (_impl_.estimated_drift_ == nullptr) {
5547 _impl_.estimated_drift_ = p;
5548 }
5549 return _impl_.estimated_drift_;
5550}
5551inline ::jaiabot::protobuf::DriftPacket_EstimatedDrift* DriftPacket::mutable_estimated_drift() {
5552 ::jaiabot::protobuf::DriftPacket_EstimatedDrift* _msg = _internal_mutable_estimated_drift();
5553 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.DriftPacket.estimated_drift)
5554 return _msg;
5555}
5556inline void DriftPacket::set_allocated_estimated_drift(::jaiabot::protobuf::DriftPacket_EstimatedDrift* estimated_drift) {
5557 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
5558 if (message_arena == nullptr) {
5559 delete _impl_.estimated_drift_;
5560 }
5561 if (estimated_drift) {
5562 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
5563 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(estimated_drift);
5564 if (message_arena != submessage_arena) {
5565 estimated_drift = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
5566 message_arena, estimated_drift, submessage_arena);
5567 }
5568 _impl_._has_bits_[0] |= 0x00000001u;
5569 } else {
5570 _impl_._has_bits_[0] &= ~0x00000001u;
5571 }
5572 _impl_.estimated_drift_ = estimated_drift;
5573 // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.DriftPacket.estimated_drift)
5574}
5575
5576// optional .jaiabot.protobuf.GeographicCoordinate start_location = 11 [(.jaia.field) = {
5577inline bool DriftPacket::_internal_has_start_location() const {
5578 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
5579 PROTOBUF_ASSUME(!value || _impl_.start_location_ != nullptr);
5580 return value;
5581}
5582inline bool DriftPacket::has_start_location() const {
5583 return _internal_has_start_location();
5584}
5585inline const ::jaiabot::protobuf::GeographicCoordinate& DriftPacket::_internal_start_location() const {
5586 const ::jaiabot::protobuf::GeographicCoordinate* p = _impl_.start_location_;
5587 return p != nullptr ? *p : reinterpret_cast<const ::jaiabot::protobuf::GeographicCoordinate&>(
5589}
5590inline const ::jaiabot::protobuf::GeographicCoordinate& DriftPacket::start_location() const {
5591 // @@protoc_insertion_point(field_get:jaiabot.protobuf.DriftPacket.start_location)
5592 return _internal_start_location();
5593}
5594inline void DriftPacket::unsafe_arena_set_allocated_start_location(
5596 if (GetArenaForAllocation() == nullptr) {
5597 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.start_location_);
5598 }
5599 _impl_.start_location_ = start_location;
5600 if (start_location) {
5601 _impl_._has_bits_[0] |= 0x00000002u;
5602 } else {
5603 _impl_._has_bits_[0] &= ~0x00000002u;
5604 }
5605 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.DriftPacket.start_location)
5606}
5607inline ::jaiabot::protobuf::GeographicCoordinate* DriftPacket::release_start_location() {
5608 _impl_._has_bits_[0] &= ~0x00000002u;
5609 ::jaiabot::protobuf::GeographicCoordinate* temp = _impl_.start_location_;
5610 _impl_.start_location_ = nullptr;
5611#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
5612 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
5613 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
5614 if (GetArenaForAllocation() == nullptr) { delete old; }
5615#else // PROTOBUF_FORCE_COPY_IN_RELEASE
5616 if (GetArenaForAllocation() != nullptr) {
5617 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
5618 }
5619#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
5620 return temp;
5621}
5622inline ::jaiabot::protobuf::GeographicCoordinate* DriftPacket::unsafe_arena_release_start_location() {
5623 // @@protoc_insertion_point(field_release:jaiabot.protobuf.DriftPacket.start_location)
5624 _impl_._has_bits_[0] &= ~0x00000002u;
5625 ::jaiabot::protobuf::GeographicCoordinate* temp = _impl_.start_location_;
5626 _impl_.start_location_ = nullptr;
5627 return temp;
5628}
5629inline ::jaiabot::protobuf::GeographicCoordinate* DriftPacket::_internal_mutable_start_location() {
5630 _impl_._has_bits_[0] |= 0x00000002u;
5631 if (_impl_.start_location_ == nullptr) {
5632 auto* p = CreateMaybeMessage<::jaiabot::protobuf::GeographicCoordinate>(GetArenaForAllocation());
5633 _impl_.start_location_ = p;
5634 }
5635 return _impl_.start_location_;
5636}
5637inline ::jaiabot::protobuf::GeographicCoordinate* DriftPacket::mutable_start_location() {
5638 ::jaiabot::protobuf::GeographicCoordinate* _msg = _internal_mutable_start_location();
5639 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.DriftPacket.start_location)
5640 return _msg;
5641}
5642inline void DriftPacket::set_allocated_start_location(::jaiabot::protobuf::GeographicCoordinate* start_location) {
5643 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
5644 if (message_arena == nullptr) {
5645 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.start_location_);
5646 }
5647 if (start_location) {
5648 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
5649 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
5650 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(start_location));
5651 if (message_arena != submessage_arena) {
5652 start_location = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
5653 message_arena, start_location, submessage_arena);
5654 }
5655 _impl_._has_bits_[0] |= 0x00000002u;
5656 } else {
5657 _impl_._has_bits_[0] &= ~0x00000002u;
5658 }
5659 _impl_.start_location_ = start_location;
5660 // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.DriftPacket.start_location)
5661}
5662
5663// optional .jaiabot.protobuf.GeographicCoordinate end_location = 12 [(.jaia.field) = {
5664inline bool DriftPacket::_internal_has_end_location() const {
5665 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
5666 PROTOBUF_ASSUME(!value || _impl_.end_location_ != nullptr);
5667 return value;
5668}
5669inline bool DriftPacket::has_end_location() const {
5670 return _internal_has_end_location();
5671}
5672inline const ::jaiabot::protobuf::GeographicCoordinate& DriftPacket::_internal_end_location() const {
5673 const ::jaiabot::protobuf::GeographicCoordinate* p = _impl_.end_location_;
5674 return p != nullptr ? *p : reinterpret_cast<const ::jaiabot::protobuf::GeographicCoordinate&>(
5676}
5677inline const ::jaiabot::protobuf::GeographicCoordinate& DriftPacket::end_location() const {
5678 // @@protoc_insertion_point(field_get:jaiabot.protobuf.DriftPacket.end_location)
5679 return _internal_end_location();
5680}
5681inline void DriftPacket::unsafe_arena_set_allocated_end_location(
5683 if (GetArenaForAllocation() == nullptr) {
5684 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.end_location_);
5685 }
5686 _impl_.end_location_ = end_location;
5687 if (end_location) {
5688 _impl_._has_bits_[0] |= 0x00000004u;
5689 } else {
5690 _impl_._has_bits_[0] &= ~0x00000004u;
5691 }
5692 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.DriftPacket.end_location)
5693}
5694inline ::jaiabot::protobuf::GeographicCoordinate* DriftPacket::release_end_location() {
5695 _impl_._has_bits_[0] &= ~0x00000004u;
5696 ::jaiabot::protobuf::GeographicCoordinate* temp = _impl_.end_location_;
5697 _impl_.end_location_ = nullptr;
5698#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
5699 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
5700 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
5701 if (GetArenaForAllocation() == nullptr) { delete old; }
5702#else // PROTOBUF_FORCE_COPY_IN_RELEASE
5703 if (GetArenaForAllocation() != nullptr) {
5704 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
5705 }
5706#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
5707 return temp;
5708}
5709inline ::jaiabot::protobuf::GeographicCoordinate* DriftPacket::unsafe_arena_release_end_location() {
5710 // @@protoc_insertion_point(field_release:jaiabot.protobuf.DriftPacket.end_location)
5711 _impl_._has_bits_[0] &= ~0x00000004u;
5712 ::jaiabot::protobuf::GeographicCoordinate* temp = _impl_.end_location_;
5713 _impl_.end_location_ = nullptr;
5714 return temp;
5715}
5716inline ::jaiabot::protobuf::GeographicCoordinate* DriftPacket::_internal_mutable_end_location() {
5717 _impl_._has_bits_[0] |= 0x00000004u;
5718 if (_impl_.end_location_ == nullptr) {
5719 auto* p = CreateMaybeMessage<::jaiabot::protobuf::GeographicCoordinate>(GetArenaForAllocation());
5720 _impl_.end_location_ = p;
5721 }
5722 return _impl_.end_location_;
5723}
5724inline ::jaiabot::protobuf::GeographicCoordinate* DriftPacket::mutable_end_location() {
5725 ::jaiabot::protobuf::GeographicCoordinate* _msg = _internal_mutable_end_location();
5726 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.DriftPacket.end_location)
5727 return _msg;
5728}
5729inline void DriftPacket::set_allocated_end_location(::jaiabot::protobuf::GeographicCoordinate* end_location) {
5730 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
5731 if (message_arena == nullptr) {
5732 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.end_location_);
5733 }
5734 if (end_location) {
5735 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
5736 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
5737 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(end_location));
5738 if (message_arena != submessage_arena) {
5739 end_location = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
5740 message_arena, end_location, submessage_arena);
5741 }
5742 _impl_._has_bits_[0] |= 0x00000004u;
5743 } else {
5744 _impl_._has_bits_[0] &= ~0x00000004u;
5745 }
5746 _impl_.end_location_ = end_location;
5747 // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.DriftPacket.end_location)
5748}
5749
5750// optional double significant_wave_height = 13 [(.dccl.field) = {
5751inline bool DriftPacket::_internal_has_significant_wave_height() const {
5752 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
5753 return value;
5754}
5755inline bool DriftPacket::has_significant_wave_height() const {
5756 return _internal_has_significant_wave_height();
5757}
5758inline void DriftPacket::clear_significant_wave_height() {
5759 _impl_.significant_wave_height_ = 0;
5760 _impl_._has_bits_[0] &= ~0x00000008u;
5761}
5762inline double DriftPacket::_internal_significant_wave_height() const {
5763 return _impl_.significant_wave_height_;
5764}
5765inline double DriftPacket::significant_wave_height() const {
5766 // @@protoc_insertion_point(field_get:jaiabot.protobuf.DriftPacket.significant_wave_height)
5767 return _internal_significant_wave_height();
5768}
5769inline void DriftPacket::_internal_set_significant_wave_height(double value) {
5770 _impl_._has_bits_[0] |= 0x00000008u;
5771 _impl_.significant_wave_height_ = value;
5772}
5773inline void DriftPacket::set_significant_wave_height(double value) {
5774 _internal_set_significant_wave_height(value);
5775 // @@protoc_insertion_point(field_set:jaiabot.protobuf.DriftPacket.significant_wave_height)
5776}
5777
5778// -------------------------------------------------------------------
5779
5780// DivePacket_Measurements
5781
5782// optional double mean_depth = 1 [(.dccl.field) = {
5783inline bool DivePacket_Measurements::_internal_has_mean_depth() const {
5784 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
5785 return value;
5786}
5787inline bool DivePacket_Measurements::has_mean_depth() const {
5788 return _internal_has_mean_depth();
5789}
5790inline void DivePacket_Measurements::clear_mean_depth() {
5791 _impl_.mean_depth_ = 0;
5792 _impl_._has_bits_[0] &= ~0x00000001u;
5793}
5794inline double DivePacket_Measurements::_internal_mean_depth() const {
5795 return _impl_.mean_depth_;
5796}
5797inline double DivePacket_Measurements::mean_depth() const {
5798 // @@protoc_insertion_point(field_get:jaiabot.protobuf.DivePacket.Measurements.mean_depth)
5799 return _internal_mean_depth();
5800}
5801inline void DivePacket_Measurements::_internal_set_mean_depth(double value) {
5802 _impl_._has_bits_[0] |= 0x00000001u;
5803 _impl_.mean_depth_ = value;
5804}
5805inline void DivePacket_Measurements::set_mean_depth(double value) {
5806 _internal_set_mean_depth(value);
5807 // @@protoc_insertion_point(field_set:jaiabot.protobuf.DivePacket.Measurements.mean_depth)
5808}
5809
5810// optional double mean_temperature = 2 [(.dccl.field) = {
5811inline bool DivePacket_Measurements::_internal_has_mean_temperature() const {
5812 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
5813 return value;
5814}
5815inline bool DivePacket_Measurements::has_mean_temperature() const {
5816 return _internal_has_mean_temperature();
5817}
5818inline void DivePacket_Measurements::clear_mean_temperature() {
5819 _impl_.mean_temperature_ = 0;
5820 _impl_._has_bits_[0] &= ~0x00000002u;
5821}
5822inline double DivePacket_Measurements::_internal_mean_temperature() const {
5823 return _impl_.mean_temperature_;
5824}
5825inline double DivePacket_Measurements::mean_temperature() const {
5826 // @@protoc_insertion_point(field_get:jaiabot.protobuf.DivePacket.Measurements.mean_temperature)
5827 return _internal_mean_temperature();
5828}
5829inline void DivePacket_Measurements::_internal_set_mean_temperature(double value) {
5830 _impl_._has_bits_[0] |= 0x00000002u;
5831 _impl_.mean_temperature_ = value;
5832}
5833inline void DivePacket_Measurements::set_mean_temperature(double value) {
5834 _internal_set_mean_temperature(value);
5835 // @@protoc_insertion_point(field_set:jaiabot.protobuf.DivePacket.Measurements.mean_temperature)
5836}
5837
5838// optional double mean_salinity = 3 [(.dccl.field) = {
5839inline bool DivePacket_Measurements::_internal_has_mean_salinity() const {
5840 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
5841 return value;
5842}
5843inline bool DivePacket_Measurements::has_mean_salinity() const {
5844 return _internal_has_mean_salinity();
5845}
5846inline void DivePacket_Measurements::clear_mean_salinity() {
5847 _impl_.mean_salinity_ = 0;
5848 _impl_._has_bits_[0] &= ~0x00000004u;
5849}
5850inline double DivePacket_Measurements::_internal_mean_salinity() const {
5851 return _impl_.mean_salinity_;
5852}
5853inline double DivePacket_Measurements::mean_salinity() const {
5854 // @@protoc_insertion_point(field_get:jaiabot.protobuf.DivePacket.Measurements.mean_salinity)
5855 return _internal_mean_salinity();
5856}
5857inline void DivePacket_Measurements::_internal_set_mean_salinity(double value) {
5858 _impl_._has_bits_[0] |= 0x00000004u;
5859 _impl_.mean_salinity_ = value;
5860}
5861inline void DivePacket_Measurements::set_mean_salinity(double value) {
5862 _internal_set_mean_salinity(value);
5863 // @@protoc_insertion_point(field_set:jaiabot.protobuf.DivePacket.Measurements.mean_salinity)
5864}
5865
5866// -------------------------------------------------------------------
5867
5868// DivePacket
5869
5870// required double dive_rate = 10 [(.dccl.field) = {
5871inline bool DivePacket::_internal_has_dive_rate() const {
5872 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
5873 return value;
5874}
5875inline bool DivePacket::has_dive_rate() const {
5876 return _internal_has_dive_rate();
5877}
5878inline void DivePacket::clear_dive_rate() {
5879 _impl_.dive_rate_ = 0;
5880 _impl_._has_bits_[0] &= ~0x00000002u;
5881}
5882inline double DivePacket::_internal_dive_rate() const {
5883 return _impl_.dive_rate_;
5884}
5885inline double DivePacket::dive_rate() const {
5886 // @@protoc_insertion_point(field_get:jaiabot.protobuf.DivePacket.dive_rate)
5887 return _internal_dive_rate();
5888}
5889inline void DivePacket::_internal_set_dive_rate(double value) {
5890 _impl_._has_bits_[0] |= 0x00000002u;
5891 _impl_.dive_rate_ = value;
5892}
5893inline void DivePacket::set_dive_rate(double value) {
5894 _internal_set_dive_rate(value);
5895 // @@protoc_insertion_point(field_set:jaiabot.protobuf.DivePacket.dive_rate)
5896}
5897
5898// optional double unpowered_rise_rate = 11 [(.dccl.field) = {
5899inline bool DivePacket::_internal_has_unpowered_rise_rate() const {
5900 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
5901 return value;
5902}
5903inline bool DivePacket::has_unpowered_rise_rate() const {
5904 return _internal_has_unpowered_rise_rate();
5905}
5906inline void DivePacket::clear_unpowered_rise_rate() {
5907 _impl_.unpowered_rise_rate_ = 0;
5908 _impl_._has_bits_[0] &= ~0x00000004u;
5909}
5910inline double DivePacket::_internal_unpowered_rise_rate() const {
5911 return _impl_.unpowered_rise_rate_;
5912}
5913inline double DivePacket::unpowered_rise_rate() const {
5914 // @@protoc_insertion_point(field_get:jaiabot.protobuf.DivePacket.unpowered_rise_rate)
5915 return _internal_unpowered_rise_rate();
5916}
5917inline void DivePacket::_internal_set_unpowered_rise_rate(double value) {
5918 _impl_._has_bits_[0] |= 0x00000004u;
5919 _impl_.unpowered_rise_rate_ = value;
5920}
5921inline void DivePacket::set_unpowered_rise_rate(double value) {
5922 _internal_set_unpowered_rise_rate(value);
5923 // @@protoc_insertion_point(field_set:jaiabot.protobuf.DivePacket.unpowered_rise_rate)
5924}
5925
5926// optional double powered_rise_rate = 12 [(.dccl.field) = {
5927inline bool DivePacket::_internal_has_powered_rise_rate() const {
5928 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
5929 return value;
5930}
5931inline bool DivePacket::has_powered_rise_rate() const {
5932 return _internal_has_powered_rise_rate();
5933}
5934inline void DivePacket::clear_powered_rise_rate() {
5935 _impl_.powered_rise_rate_ = 0;
5936 _impl_._has_bits_[0] &= ~0x00000008u;
5937}
5938inline double DivePacket::_internal_powered_rise_rate() const {
5939 return _impl_.powered_rise_rate_;
5940}
5941inline double DivePacket::powered_rise_rate() const {
5942 // @@protoc_insertion_point(field_get:jaiabot.protobuf.DivePacket.powered_rise_rate)
5943 return _internal_powered_rise_rate();
5944}
5945inline void DivePacket::_internal_set_powered_rise_rate(double value) {
5946 _impl_._has_bits_[0] |= 0x00000008u;
5947 _impl_.powered_rise_rate_ = value;
5948}
5949inline void DivePacket::set_powered_rise_rate(double value) {
5950 _internal_set_powered_rise_rate(value);
5951 // @@protoc_insertion_point(field_set:jaiabot.protobuf.DivePacket.powered_rise_rate)
5952}
5953
5954// required double depth_achieved = 13 [(.dccl.field) = {
5955inline bool DivePacket::_internal_has_depth_achieved() const {
5956 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
5957 return value;
5958}
5959inline bool DivePacket::has_depth_achieved() const {
5960 return _internal_has_depth_achieved();
5961}
5962inline void DivePacket::clear_depth_achieved() {
5963 _impl_.depth_achieved_ = 0;
5964 _impl_._has_bits_[0] &= ~0x00000010u;
5965}
5966inline double DivePacket::_internal_depth_achieved() const {
5967 return _impl_.depth_achieved_;
5968}
5969inline double DivePacket::depth_achieved() const {
5970 // @@protoc_insertion_point(field_get:jaiabot.protobuf.DivePacket.depth_achieved)
5971 return _internal_depth_achieved();
5972}
5973inline void DivePacket::_internal_set_depth_achieved(double value) {
5974 _impl_._has_bits_[0] |= 0x00000010u;
5975 _impl_.depth_achieved_ = value;
5976}
5977inline void DivePacket::set_depth_achieved(double value) {
5978 _internal_set_depth_achieved(value);
5979 // @@protoc_insertion_point(field_set:jaiabot.protobuf.DivePacket.depth_achieved)
5980}
5981
5982// repeated .jaiabot.protobuf.DivePacket.Measurements measurement = 14 [(.dccl.field) = {
5983inline int DivePacket::_internal_measurement_size() const {
5984 return _impl_.measurement_.size();
5985}
5986inline int DivePacket::measurement_size() const {
5987 return _internal_measurement_size();
5988}
5989inline void DivePacket::clear_measurement() {
5990 _impl_.measurement_.Clear();
5991}
5992inline ::jaiabot::protobuf::DivePacket_Measurements* DivePacket::mutable_measurement(int index) {
5993 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.DivePacket.measurement)
5994 return _impl_.measurement_.Mutable(index);
5995}
5996inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::protobuf::DivePacket_Measurements >*
5997DivePacket::mutable_measurement() {
5998 // @@protoc_insertion_point(field_mutable_list:jaiabot.protobuf.DivePacket.measurement)
5999 return &_impl_.measurement_;
6000}
6001inline const ::jaiabot::protobuf::DivePacket_Measurements& DivePacket::_internal_measurement(int index) const {
6002 return _impl_.measurement_.Get(index);
6003}
6004inline const ::jaiabot::protobuf::DivePacket_Measurements& DivePacket::measurement(int index) const {
6005 // @@protoc_insertion_point(field_get:jaiabot.protobuf.DivePacket.measurement)
6006 return _internal_measurement(index);
6007}
6008inline ::jaiabot::protobuf::DivePacket_Measurements* DivePacket::_internal_add_measurement() {
6009 return _impl_.measurement_.Add();
6010}
6011inline ::jaiabot::protobuf::DivePacket_Measurements* DivePacket::add_measurement() {
6012 ::jaiabot::protobuf::DivePacket_Measurements* _add = _internal_add_measurement();
6013 // @@protoc_insertion_point(field_add:jaiabot.protobuf.DivePacket.measurement)
6014 return _add;
6015}
6016inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::protobuf::DivePacket_Measurements >&
6017DivePacket::measurement() const {
6018 // @@protoc_insertion_point(field_list:jaiabot.protobuf.DivePacket.measurement)
6019 return _impl_.measurement_;
6020}
6021
6022// optional .jaiabot.protobuf.GeographicCoordinate start_location = 15 [(.jaia.field) = {
6023inline bool DivePacket::_internal_has_start_location() const {
6024 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
6025 PROTOBUF_ASSUME(!value || _impl_.start_location_ != nullptr);
6026 return value;
6027}
6028inline bool DivePacket::has_start_location() const {
6029 return _internal_has_start_location();
6030}
6031inline const ::jaiabot::protobuf::GeographicCoordinate& DivePacket::_internal_start_location() const {
6032 const ::jaiabot::protobuf::GeographicCoordinate* p = _impl_.start_location_;
6033 return p != nullptr ? *p : reinterpret_cast<const ::jaiabot::protobuf::GeographicCoordinate&>(
6035}
6036inline const ::jaiabot::protobuf::GeographicCoordinate& DivePacket::start_location() const {
6037 // @@protoc_insertion_point(field_get:jaiabot.protobuf.DivePacket.start_location)
6038 return _internal_start_location();
6039}
6040inline void DivePacket::unsafe_arena_set_allocated_start_location(
6042 if (GetArenaForAllocation() == nullptr) {
6043 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.start_location_);
6044 }
6045 _impl_.start_location_ = start_location;
6046 if (start_location) {
6047 _impl_._has_bits_[0] |= 0x00000001u;
6048 } else {
6049 _impl_._has_bits_[0] &= ~0x00000001u;
6050 }
6051 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.DivePacket.start_location)
6052}
6053inline ::jaiabot::protobuf::GeographicCoordinate* DivePacket::release_start_location() {
6054 _impl_._has_bits_[0] &= ~0x00000001u;
6055 ::jaiabot::protobuf::GeographicCoordinate* temp = _impl_.start_location_;
6056 _impl_.start_location_ = nullptr;
6057#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
6058 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
6059 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
6060 if (GetArenaForAllocation() == nullptr) { delete old; }
6061#else // PROTOBUF_FORCE_COPY_IN_RELEASE
6062 if (GetArenaForAllocation() != nullptr) {
6063 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
6064 }
6065#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
6066 return temp;
6067}
6068inline ::jaiabot::protobuf::GeographicCoordinate* DivePacket::unsafe_arena_release_start_location() {
6069 // @@protoc_insertion_point(field_release:jaiabot.protobuf.DivePacket.start_location)
6070 _impl_._has_bits_[0] &= ~0x00000001u;
6071 ::jaiabot::protobuf::GeographicCoordinate* temp = _impl_.start_location_;
6072 _impl_.start_location_ = nullptr;
6073 return temp;
6074}
6075inline ::jaiabot::protobuf::GeographicCoordinate* DivePacket::_internal_mutable_start_location() {
6076 _impl_._has_bits_[0] |= 0x00000001u;
6077 if (_impl_.start_location_ == nullptr) {
6078 auto* p = CreateMaybeMessage<::jaiabot::protobuf::GeographicCoordinate>(GetArenaForAllocation());
6079 _impl_.start_location_ = p;
6080 }
6081 return _impl_.start_location_;
6082}
6083inline ::jaiabot::protobuf::GeographicCoordinate* DivePacket::mutable_start_location() {
6084 ::jaiabot::protobuf::GeographicCoordinate* _msg = _internal_mutable_start_location();
6085 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.DivePacket.start_location)
6086 return _msg;
6087}
6088inline void DivePacket::set_allocated_start_location(::jaiabot::protobuf::GeographicCoordinate* start_location) {
6089 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
6090 if (message_arena == nullptr) {
6091 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.start_location_);
6092 }
6093 if (start_location) {
6094 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
6095 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
6096 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(start_location));
6097 if (message_arena != submessage_arena) {
6098 start_location = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
6099 message_arena, start_location, submessage_arena);
6100 }
6101 _impl_._has_bits_[0] |= 0x00000001u;
6102 } else {
6103 _impl_._has_bits_[0] &= ~0x00000001u;
6104 }
6105 _impl_.start_location_ = start_location;
6106 // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.DivePacket.start_location)
6107}
6108
6109// optional double duration_to_acquire_gps = 16 [(.dccl.field) = {
6110inline bool DivePacket::_internal_has_duration_to_acquire_gps() const {
6111 bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
6112 return value;
6113}
6114inline bool DivePacket::has_duration_to_acquire_gps() const {
6115 return _internal_has_duration_to_acquire_gps();
6116}
6117inline void DivePacket::clear_duration_to_acquire_gps() {
6118 _impl_.duration_to_acquire_gps_ = 0;
6119 _impl_._has_bits_[0] &= ~0x00000020u;
6120}
6121inline double DivePacket::_internal_duration_to_acquire_gps() const {
6122 return _impl_.duration_to_acquire_gps_;
6123}
6124inline double DivePacket::duration_to_acquire_gps() const {
6125 // @@protoc_insertion_point(field_get:jaiabot.protobuf.DivePacket.duration_to_acquire_gps)
6126 return _internal_duration_to_acquire_gps();
6127}
6128inline void DivePacket::_internal_set_duration_to_acquire_gps(double value) {
6129 _impl_._has_bits_[0] |= 0x00000020u;
6130 _impl_.duration_to_acquire_gps_ = value;
6131}
6132inline void DivePacket::set_duration_to_acquire_gps(double value) {
6133 _internal_set_duration_to_acquire_gps(value);
6134 // @@protoc_insertion_point(field_set:jaiabot.protobuf.DivePacket.duration_to_acquire_gps)
6135}
6136
6137// optional bool bottom_dive = 17 [default = false, (.jaia.field) = {
6138inline bool DivePacket::_internal_has_bottom_dive() const {
6139 bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0;
6140 return value;
6141}
6142inline bool DivePacket::has_bottom_dive() const {
6143 return _internal_has_bottom_dive();
6144}
6145inline void DivePacket::clear_bottom_dive() {
6146 _impl_.bottom_dive_ = false;
6147 _impl_._has_bits_[0] &= ~0x00000080u;
6148}
6149inline bool DivePacket::_internal_bottom_dive() const {
6150 return _impl_.bottom_dive_;
6151}
6152inline bool DivePacket::bottom_dive() const {
6153 // @@protoc_insertion_point(field_get:jaiabot.protobuf.DivePacket.bottom_dive)
6154 return _internal_bottom_dive();
6155}
6156inline void DivePacket::_internal_set_bottom_dive(bool value) {
6157 _impl_._has_bits_[0] |= 0x00000080u;
6158 _impl_.bottom_dive_ = value;
6159}
6160inline void DivePacket::set_bottom_dive(bool value) {
6161 _internal_set_bottom_dive(value);
6162 // @@protoc_insertion_point(field_set:jaiabot.protobuf.DivePacket.bottom_dive)
6163}
6164
6165// optional bool reached_min_depth = 18 [default = false, (.jaia.field) = {
6166inline bool DivePacket::_internal_has_reached_min_depth() const {
6167 bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0;
6168 return value;
6169}
6170inline bool DivePacket::has_reached_min_depth() const {
6171 return _internal_has_reached_min_depth();
6172}
6173inline void DivePacket::clear_reached_min_depth() {
6174 _impl_.reached_min_depth_ = false;
6175 _impl_._has_bits_[0] &= ~0x00000100u;
6176}
6177inline bool DivePacket::_internal_reached_min_depth() const {
6178 return _impl_.reached_min_depth_;
6179}
6180inline bool DivePacket::reached_min_depth() const {
6181 // @@protoc_insertion_point(field_get:jaiabot.protobuf.DivePacket.reached_min_depth)
6182 return _internal_reached_min_depth();
6183}
6184inline void DivePacket::_internal_set_reached_min_depth(bool value) {
6185 _impl_._has_bits_[0] |= 0x00000100u;
6186 _impl_.reached_min_depth_ = value;
6187}
6188inline void DivePacket::set_reached_min_depth(bool value) {
6189 _internal_set_reached_min_depth(value);
6190 // @@protoc_insertion_point(field_set:jaiabot.protobuf.DivePacket.reached_min_depth)
6191}
6192
6193// optional .jaiabot.protobuf.DivePacket.BottomType bottom_type = 19 [(.jaia.field) = {
6194inline bool DivePacket::_internal_has_bottom_type() const {
6195 bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0;
6196 return value;
6197}
6198inline bool DivePacket::has_bottom_type() const {
6199 return _internal_has_bottom_type();
6200}
6201inline void DivePacket::clear_bottom_type() {
6202 _impl_.bottom_type_ = 1;
6203 _impl_._has_bits_[0] &= ~0x00000200u;
6204}
6205inline ::jaiabot::protobuf::DivePacket_BottomType DivePacket::_internal_bottom_type() const {
6206 return static_cast< ::jaiabot::protobuf::DivePacket_BottomType >(_impl_.bottom_type_);
6207}
6208inline ::jaiabot::protobuf::DivePacket_BottomType DivePacket::bottom_type() const {
6209 // @@protoc_insertion_point(field_get:jaiabot.protobuf.DivePacket.bottom_type)
6210 return _internal_bottom_type();
6211}
6212inline void DivePacket::_internal_set_bottom_type(::jaiabot::protobuf::DivePacket_BottomType value) {
6214 _impl_._has_bits_[0] |= 0x00000200u;
6215 _impl_.bottom_type_ = value;
6216}
6217inline void DivePacket::set_bottom_type(::jaiabot::protobuf::DivePacket_BottomType value) {
6218 _internal_set_bottom_type(value);
6219 // @@protoc_insertion_point(field_set:jaiabot.protobuf.DivePacket.bottom_type)
6220}
6221
6222// optional double max_acceleration = 20 [(.dccl.field) = {
6223inline bool DivePacket::_internal_has_max_acceleration() const {
6224 bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0;
6225 return value;
6226}
6227inline bool DivePacket::has_max_acceleration() const {
6228 return _internal_has_max_acceleration();
6229}
6230inline void DivePacket::clear_max_acceleration() {
6231 _impl_.max_acceleration_ = 0;
6232 _impl_._has_bits_[0] &= ~0x00000040u;
6233}
6234inline double DivePacket::_internal_max_acceleration() const {
6235 return _impl_.max_acceleration_;
6236}
6237inline double DivePacket::max_acceleration() const {
6238 // @@protoc_insertion_point(field_get:jaiabot.protobuf.DivePacket.max_acceleration)
6239 return _internal_max_acceleration();
6240}
6241inline void DivePacket::_internal_set_max_acceleration(double value) {
6242 _impl_._has_bits_[0] |= 0x00000040u;
6243 _impl_.max_acceleration_ = value;
6244}
6245inline void DivePacket::set_max_acceleration(double value) {
6246 _internal_set_max_acceleration(value);
6247 // @@protoc_insertion_point(field_set:jaiabot.protobuf.DivePacket.max_acceleration)
6248}
6249
6250// -------------------------------------------------------------------
6251
6252// TaskPacket
6253
6254// required uint32 bot_id = 1 [(.dccl.field) = {
6255inline bool TaskPacket::_internal_has_bot_id() const {
6256 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
6257 return value;
6258}
6259inline bool TaskPacket::has_bot_id() const {
6260 return _internal_has_bot_id();
6261}
6262inline void TaskPacket::clear_bot_id() {
6263 _impl_.bot_id_ = 0u;
6264 _impl_._has_bits_[0] &= ~0x00000008u;
6265}
6266inline uint32_t TaskPacket::_internal_bot_id() const {
6267 return _impl_.bot_id_;
6268}
6269inline uint32_t TaskPacket::bot_id() const {
6270 // @@protoc_insertion_point(field_get:jaiabot.protobuf.TaskPacket.bot_id)
6271 return _internal_bot_id();
6272}
6273inline void TaskPacket::_internal_set_bot_id(uint32_t value) {
6274 _impl_._has_bits_[0] |= 0x00000008u;
6275 _impl_.bot_id_ = value;
6276}
6277inline void TaskPacket::set_bot_id(uint32_t value) {
6278 _internal_set_bot_id(value);
6279 // @@protoc_insertion_point(field_set:jaiabot.protobuf.TaskPacket.bot_id)
6280}
6281
6282// required uint64 start_time = 2 [(.dccl.field) = {
6283inline bool TaskPacket::_internal_has_start_time() const {
6284 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
6285 return value;
6286}
6287inline bool TaskPacket::has_start_time() const {
6288 return _internal_has_start_time();
6289}
6290inline void TaskPacket::clear_start_time() {
6291 _impl_.start_time_ = uint64_t{0u};
6292 _impl_._has_bits_[0] &= ~0x00000004u;
6293}
6294inline uint64_t TaskPacket::_internal_start_time() const {
6295 return _impl_.start_time_;
6296}
6297inline uint64_t TaskPacket::start_time() const {
6298 // @@protoc_insertion_point(field_get:jaiabot.protobuf.TaskPacket.start_time)
6299 return _internal_start_time();
6300}
6301inline void TaskPacket::_internal_set_start_time(uint64_t value) {
6302 _impl_._has_bits_[0] |= 0x00000004u;
6303 _impl_.start_time_ = value;
6304}
6305inline void TaskPacket::set_start_time(uint64_t value) {
6306 _internal_set_start_time(value);
6307 // @@protoc_insertion_point(field_set:jaiabot.protobuf.TaskPacket.start_time)
6308}
6309
6310// required uint64 end_time = 3 [(.dccl.field) = {
6311inline bool TaskPacket::_internal_has_end_time() const {
6312 bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
6313 return value;
6314}
6315inline bool TaskPacket::has_end_time() const {
6316 return _internal_has_end_time();
6317}
6318inline void TaskPacket::clear_end_time() {
6319 _impl_.end_time_ = uint64_t{0u};
6320 _impl_._has_bits_[0] &= ~0x00000020u;
6321}
6322inline uint64_t TaskPacket::_internal_end_time() const {
6323 return _impl_.end_time_;
6324}
6325inline uint64_t TaskPacket::end_time() const {
6326 // @@protoc_insertion_point(field_get:jaiabot.protobuf.TaskPacket.end_time)
6327 return _internal_end_time();
6328}
6329inline void TaskPacket::_internal_set_end_time(uint64_t value) {
6330 _impl_._has_bits_[0] |= 0x00000020u;
6331 _impl_.end_time_ = value;
6332}
6333inline void TaskPacket::set_end_time(uint64_t value) {
6334 _internal_set_end_time(value);
6335 // @@protoc_insertion_point(field_set:jaiabot.protobuf.TaskPacket.end_time)
6336}
6337
6338// required .jaiabot.protobuf.MissionTask.TaskType type = 4 [(.jaia.field) = {
6339inline bool TaskPacket::_internal_has_type() const {
6340 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
6341 return value;
6342}
6343inline bool TaskPacket::has_type() const {
6344 return _internal_has_type();
6345}
6346inline void TaskPacket::clear_type() {
6347 _impl_.type_ = 0;
6348 _impl_._has_bits_[0] &= ~0x00000010u;
6349}
6350inline ::jaiabot::protobuf::MissionTask_TaskType TaskPacket::_internal_type() const {
6351 return static_cast< ::jaiabot::protobuf::MissionTask_TaskType >(_impl_.type_);
6352}
6353inline ::jaiabot::protobuf::MissionTask_TaskType TaskPacket::type() const {
6354 // @@protoc_insertion_point(field_get:jaiabot.protobuf.TaskPacket.type)
6355 return _internal_type();
6356}
6357inline void TaskPacket::_internal_set_type(::jaiabot::protobuf::MissionTask_TaskType value) {
6359 _impl_._has_bits_[0] |= 0x00000010u;
6360 _impl_.type_ = value;
6361}
6362inline void TaskPacket::set_type(::jaiabot::protobuf::MissionTask_TaskType value) {
6363 _internal_set_type(value);
6364 // @@protoc_insertion_point(field_set:jaiabot.protobuf.TaskPacket.type)
6365}
6366
6367// optional .jaiabot.protobuf.Link link = 5 [(.dccl.field) = {
6368inline bool TaskPacket::_internal_has_link() const {
6369 bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0;
6370 return value;
6371}
6372inline bool TaskPacket::has_link() const {
6373 return _internal_has_link();
6374}
6375inline void TaskPacket::clear_link() {
6376 _impl_.link_ = -1;
6377 _impl_._has_bits_[0] &= ~0x00000040u;
6378}
6379inline ::jaiabot::protobuf::Link TaskPacket::_internal_link() const {
6380 return static_cast< ::jaiabot::protobuf::Link >(_impl_.link_);
6381}
6382inline ::jaiabot::protobuf::Link TaskPacket::link() const {
6383 // @@protoc_insertion_point(field_get:jaiabot.protobuf.TaskPacket.link)
6384 return _internal_link();
6385}
6386inline void TaskPacket::_internal_set_link(::jaiabot::protobuf::Link value) {
6387 assert(::jaiabot::protobuf::Link_IsValid(value));
6388 _impl_._has_bits_[0] |= 0x00000040u;
6389 _impl_.link_ = value;
6390}
6391inline void TaskPacket::set_link(::jaiabot::protobuf::Link value) {
6392 _internal_set_link(value);
6393 // @@protoc_insertion_point(field_set:jaiabot.protobuf.TaskPacket.link)
6394}
6395
6396// optional .jaiabot.protobuf.DivePacket dive = 10 [(.jaia.field) = {
6397inline bool TaskPacket::_internal_has_dive() const {
6398 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
6399 PROTOBUF_ASSUME(!value || _impl_.dive_ != nullptr);
6400 return value;
6401}
6402inline bool TaskPacket::has_dive() const {
6403 return _internal_has_dive();
6404}
6405inline void TaskPacket::clear_dive() {
6406 if (_impl_.dive_ != nullptr) _impl_.dive_->Clear();
6407 _impl_._has_bits_[0] &= ~0x00000001u;
6408}
6409inline const ::jaiabot::protobuf::DivePacket& TaskPacket::_internal_dive() const {
6410 const ::jaiabot::protobuf::DivePacket* p = _impl_.dive_;
6411 return p != nullptr ? *p : reinterpret_cast<const ::jaiabot::protobuf::DivePacket&>(
6413}
6414inline const ::jaiabot::protobuf::DivePacket& TaskPacket::dive() const {
6415 // @@protoc_insertion_point(field_get:jaiabot.protobuf.TaskPacket.dive)
6416 return _internal_dive();
6417}
6418inline void TaskPacket::unsafe_arena_set_allocated_dive(
6420 if (GetArenaForAllocation() == nullptr) {
6421 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.dive_);
6422 }
6423 _impl_.dive_ = dive;
6424 if (dive) {
6425 _impl_._has_bits_[0] |= 0x00000001u;
6426 } else {
6427 _impl_._has_bits_[0] &= ~0x00000001u;
6428 }
6429 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.TaskPacket.dive)
6430}
6431inline ::jaiabot::protobuf::DivePacket* TaskPacket::release_dive() {
6432 _impl_._has_bits_[0] &= ~0x00000001u;
6433 ::jaiabot::protobuf::DivePacket* temp = _impl_.dive_;
6434 _impl_.dive_ = nullptr;
6435#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
6436 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
6437 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
6438 if (GetArenaForAllocation() == nullptr) { delete old; }
6439#else // PROTOBUF_FORCE_COPY_IN_RELEASE
6440 if (GetArenaForAllocation() != nullptr) {
6441 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
6442 }
6443#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
6444 return temp;
6445}
6446inline ::jaiabot::protobuf::DivePacket* TaskPacket::unsafe_arena_release_dive() {
6447 // @@protoc_insertion_point(field_release:jaiabot.protobuf.TaskPacket.dive)
6448 _impl_._has_bits_[0] &= ~0x00000001u;
6449 ::jaiabot::protobuf::DivePacket* temp = _impl_.dive_;
6450 _impl_.dive_ = nullptr;
6451 return temp;
6452}
6453inline ::jaiabot::protobuf::DivePacket* TaskPacket::_internal_mutable_dive() {
6454 _impl_._has_bits_[0] |= 0x00000001u;
6455 if (_impl_.dive_ == nullptr) {
6456 auto* p = CreateMaybeMessage<::jaiabot::protobuf::DivePacket>(GetArenaForAllocation());
6457 _impl_.dive_ = p;
6458 }
6459 return _impl_.dive_;
6460}
6461inline ::jaiabot::protobuf::DivePacket* TaskPacket::mutable_dive() {
6462 ::jaiabot::protobuf::DivePacket* _msg = _internal_mutable_dive();
6463 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.TaskPacket.dive)
6464 return _msg;
6465}
6466inline void TaskPacket::set_allocated_dive(::jaiabot::protobuf::DivePacket* dive) {
6467 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
6468 if (message_arena == nullptr) {
6469 delete _impl_.dive_;
6470 }
6471 if (dive) {
6472 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
6473 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(dive);
6474 if (message_arena != submessage_arena) {
6475 dive = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
6476 message_arena, dive, submessage_arena);
6477 }
6478 _impl_._has_bits_[0] |= 0x00000001u;
6479 } else {
6480 _impl_._has_bits_[0] &= ~0x00000001u;
6481 }
6482 _impl_.dive_ = dive;
6483 // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.TaskPacket.dive)
6484}
6485
6486// optional .jaiabot.protobuf.DriftPacket drift = 11 [(.jaia.field) = {
6487inline bool TaskPacket::_internal_has_drift() const {
6488 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
6489 PROTOBUF_ASSUME(!value || _impl_.drift_ != nullptr);
6490 return value;
6491}
6492inline bool TaskPacket::has_drift() const {
6493 return _internal_has_drift();
6494}
6495inline void TaskPacket::clear_drift() {
6496 if (_impl_.drift_ != nullptr) _impl_.drift_->Clear();
6497 _impl_._has_bits_[0] &= ~0x00000002u;
6498}
6499inline const ::jaiabot::protobuf::DriftPacket& TaskPacket::_internal_drift() const {
6500 const ::jaiabot::protobuf::DriftPacket* p = _impl_.drift_;
6501 return p != nullptr ? *p : reinterpret_cast<const ::jaiabot::protobuf::DriftPacket&>(
6503}
6504inline const ::jaiabot::protobuf::DriftPacket& TaskPacket::drift() const {
6505 // @@protoc_insertion_point(field_get:jaiabot.protobuf.TaskPacket.drift)
6506 return _internal_drift();
6507}
6508inline void TaskPacket::unsafe_arena_set_allocated_drift(
6510 if (GetArenaForAllocation() == nullptr) {
6511 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.drift_);
6512 }
6513 _impl_.drift_ = drift;
6514 if (drift) {
6515 _impl_._has_bits_[0] |= 0x00000002u;
6516 } else {
6517 _impl_._has_bits_[0] &= ~0x00000002u;
6518 }
6519 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.TaskPacket.drift)
6520}
6521inline ::jaiabot::protobuf::DriftPacket* TaskPacket::release_drift() {
6522 _impl_._has_bits_[0] &= ~0x00000002u;
6523 ::jaiabot::protobuf::DriftPacket* temp = _impl_.drift_;
6524 _impl_.drift_ = nullptr;
6525#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
6526 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
6527 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
6528 if (GetArenaForAllocation() == nullptr) { delete old; }
6529#else // PROTOBUF_FORCE_COPY_IN_RELEASE
6530 if (GetArenaForAllocation() != nullptr) {
6531 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
6532 }
6533#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
6534 return temp;
6535}
6536inline ::jaiabot::protobuf::DriftPacket* TaskPacket::unsafe_arena_release_drift() {
6537 // @@protoc_insertion_point(field_release:jaiabot.protobuf.TaskPacket.drift)
6538 _impl_._has_bits_[0] &= ~0x00000002u;
6539 ::jaiabot::protobuf::DriftPacket* temp = _impl_.drift_;
6540 _impl_.drift_ = nullptr;
6541 return temp;
6542}
6543inline ::jaiabot::protobuf::DriftPacket* TaskPacket::_internal_mutable_drift() {
6544 _impl_._has_bits_[0] |= 0x00000002u;
6545 if (_impl_.drift_ == nullptr) {
6546 auto* p = CreateMaybeMessage<::jaiabot::protobuf::DriftPacket>(GetArenaForAllocation());
6547 _impl_.drift_ = p;
6548 }
6549 return _impl_.drift_;
6550}
6551inline ::jaiabot::protobuf::DriftPacket* TaskPacket::mutable_drift() {
6552 ::jaiabot::protobuf::DriftPacket* _msg = _internal_mutable_drift();
6553 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.TaskPacket.drift)
6554 return _msg;
6555}
6556inline void TaskPacket::set_allocated_drift(::jaiabot::protobuf::DriftPacket* drift) {
6557 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
6558 if (message_arena == nullptr) {
6559 delete _impl_.drift_;
6560 }
6561 if (drift) {
6562 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
6563 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(drift);
6564 if (message_arena != submessage_arena) {
6565 drift = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
6566 message_arena, drift, submessage_arena);
6567 }
6568 _impl_._has_bits_[0] |= 0x00000002u;
6569 } else {
6570 _impl_._has_bits_[0] &= ~0x00000002u;
6571 }
6572 _impl_.drift_ = drift;
6573 // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.TaskPacket.drift)
6574}
6575
6576// -------------------------------------------------------------------
6577
6578// ContactUpdate
6579
6580// optional int32 contact = 1 [(.dccl.field) = {
6581inline bool ContactUpdate::_internal_has_contact() const {
6582 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
6583 return value;
6584}
6585inline bool ContactUpdate::has_contact() const {
6586 return _internal_has_contact();
6587}
6588inline void ContactUpdate::clear_contact() {
6589 _impl_.contact_ = 0;
6590 _impl_._has_bits_[0] &= ~0x00000008u;
6591}
6592inline int32_t ContactUpdate::_internal_contact() const {
6593 return _impl_.contact_;
6594}
6595inline int32_t ContactUpdate::contact() const {
6596 // @@protoc_insertion_point(field_get:jaiabot.protobuf.ContactUpdate.contact)
6597 return _internal_contact();
6598}
6599inline void ContactUpdate::_internal_set_contact(int32_t value) {
6600 _impl_._has_bits_[0] |= 0x00000008u;
6601 _impl_.contact_ = value;
6602}
6603inline void ContactUpdate::set_contact(int32_t value) {
6604 _internal_set_contact(value);
6605 // @@protoc_insertion_point(field_set:jaiabot.protobuf.ContactUpdate.contact)
6606}
6607
6608// required .jaiabot.protobuf.GeographicCoordinate location = 2;
6609inline bool ContactUpdate::_internal_has_location() const {
6610 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
6611 PROTOBUF_ASSUME(!value || _impl_.location_ != nullptr);
6612 return value;
6613}
6614inline bool ContactUpdate::has_location() const {
6615 return _internal_has_location();
6616}
6617inline const ::jaiabot::protobuf::GeographicCoordinate& ContactUpdate::_internal_location() const {
6618 const ::jaiabot::protobuf::GeographicCoordinate* p = _impl_.location_;
6619 return p != nullptr ? *p : reinterpret_cast<const ::jaiabot::protobuf::GeographicCoordinate&>(
6621}
6622inline const ::jaiabot::protobuf::GeographicCoordinate& ContactUpdate::location() const {
6623 // @@protoc_insertion_point(field_get:jaiabot.protobuf.ContactUpdate.location)
6624 return _internal_location();
6625}
6626inline void ContactUpdate::unsafe_arena_set_allocated_location(
6628 if (GetArenaForAllocation() == nullptr) {
6629 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.location_);
6630 }
6631 _impl_.location_ = location;
6632 if (location) {
6633 _impl_._has_bits_[0] |= 0x00000001u;
6634 } else {
6635 _impl_._has_bits_[0] &= ~0x00000001u;
6636 }
6637 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.ContactUpdate.location)
6638}
6639inline ::jaiabot::protobuf::GeographicCoordinate* ContactUpdate::release_location() {
6640 _impl_._has_bits_[0] &= ~0x00000001u;
6641 ::jaiabot::protobuf::GeographicCoordinate* temp = _impl_.location_;
6642 _impl_.location_ = nullptr;
6643#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
6644 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
6645 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
6646 if (GetArenaForAllocation() == nullptr) { delete old; }
6647#else // PROTOBUF_FORCE_COPY_IN_RELEASE
6648 if (GetArenaForAllocation() != nullptr) {
6649 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
6650 }
6651#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
6652 return temp;
6653}
6654inline ::jaiabot::protobuf::GeographicCoordinate* ContactUpdate::unsafe_arena_release_location() {
6655 // @@protoc_insertion_point(field_release:jaiabot.protobuf.ContactUpdate.location)
6656 _impl_._has_bits_[0] &= ~0x00000001u;
6657 ::jaiabot::protobuf::GeographicCoordinate* temp = _impl_.location_;
6658 _impl_.location_ = nullptr;
6659 return temp;
6660}
6661inline ::jaiabot::protobuf::GeographicCoordinate* ContactUpdate::_internal_mutable_location() {
6662 _impl_._has_bits_[0] |= 0x00000001u;
6663 if (_impl_.location_ == nullptr) {
6664 auto* p = CreateMaybeMessage<::jaiabot::protobuf::GeographicCoordinate>(GetArenaForAllocation());
6665 _impl_.location_ = p;
6666 }
6667 return _impl_.location_;
6668}
6669inline ::jaiabot::protobuf::GeographicCoordinate* ContactUpdate::mutable_location() {
6670 ::jaiabot::protobuf::GeographicCoordinate* _msg = _internal_mutable_location();
6671 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.ContactUpdate.location)
6672 return _msg;
6673}
6674inline void ContactUpdate::set_allocated_location(::jaiabot::protobuf::GeographicCoordinate* location) {
6675 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
6676 if (message_arena == nullptr) {
6677 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.location_);
6678 }
6679 if (location) {
6680 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
6681 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
6682 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(location));
6683 if (message_arena != submessage_arena) {
6684 location = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
6685 message_arena, location, submessage_arena);
6686 }
6687 _impl_._has_bits_[0] |= 0x00000001u;
6688 } else {
6689 _impl_._has_bits_[0] &= ~0x00000001u;
6690 }
6691 _impl_.location_ = location;
6692 // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.ContactUpdate.location)
6693}
6694
6695// optional double speed_over_ground = 3 [(.dccl.field) = {
6696inline bool ContactUpdate::_internal_has_speed_over_ground() const {
6697 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
6698 return value;
6699}
6700inline bool ContactUpdate::has_speed_over_ground() const {
6701 return _internal_has_speed_over_ground();
6702}
6703inline void ContactUpdate::clear_speed_over_ground() {
6704 _impl_.speed_over_ground_ = 0;
6705 _impl_._has_bits_[0] &= ~0x00000002u;
6706}
6707inline double ContactUpdate::_internal_speed_over_ground() const {
6708 return _impl_.speed_over_ground_;
6709}
6710inline double ContactUpdate::speed_over_ground() const {
6711 // @@protoc_insertion_point(field_get:jaiabot.protobuf.ContactUpdate.speed_over_ground)
6712 return _internal_speed_over_ground();
6713}
6714inline void ContactUpdate::_internal_set_speed_over_ground(double value) {
6715 _impl_._has_bits_[0] |= 0x00000002u;
6716 _impl_.speed_over_ground_ = value;
6717}
6718inline void ContactUpdate::set_speed_over_ground(double value) {
6719 _internal_set_speed_over_ground(value);
6720 // @@protoc_insertion_point(field_set:jaiabot.protobuf.ContactUpdate.speed_over_ground)
6721}
6722
6723// optional double heading_or_cog = 5 [(.dccl.field) = {
6724inline bool ContactUpdate::_internal_has_heading_or_cog() const {
6725 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
6726 return value;
6727}
6728inline bool ContactUpdate::has_heading_or_cog() const {
6729 return _internal_has_heading_or_cog();
6730}
6731inline void ContactUpdate::clear_heading_or_cog() {
6732 _impl_.heading_or_cog_ = 0;
6733 _impl_._has_bits_[0] &= ~0x00000004u;
6734}
6735inline double ContactUpdate::_internal_heading_or_cog() const {
6736 return _impl_.heading_or_cog_;
6737}
6738inline double ContactUpdate::heading_or_cog() const {
6739 // @@protoc_insertion_point(field_get:jaiabot.protobuf.ContactUpdate.heading_or_cog)
6740 return _internal_heading_or_cog();
6741}
6742inline void ContactUpdate::_internal_set_heading_or_cog(double value) {
6743 _impl_._has_bits_[0] |= 0x00000004u;
6744 _impl_.heading_or_cog_ = value;
6745}
6746inline void ContactUpdate::set_heading_or_cog(double value) {
6747 _internal_set_heading_or_cog(value);
6748 // @@protoc_insertion_point(field_set:jaiabot.protobuf.ContactUpdate.heading_or_cog)
6749}
6750
6751#ifdef __GNUC__
6752 #pragma GCC diagnostic pop
6753#endif // __GNUC__
6754// -------------------------------------------------------------------
6755
6756// -------------------------------------------------------------------
6757
6758// -------------------------------------------------------------------
6759
6760// -------------------------------------------------------------------
6761
6762// -------------------------------------------------------------------
6763
6764// -------------------------------------------------------------------
6765
6766// -------------------------------------------------------------------
6767
6768// -------------------------------------------------------------------
6769
6770// -------------------------------------------------------------------
6771
6772// -------------------------------------------------------------------
6773
6774
6775// @@protoc_insertion_point(namespace_scope)
6776
6777} // namespace protobuf
6778} // namespace jaiabot
6779
6780PROTOBUF_NAMESPACE_OPEN
6781
6782template <> struct is_proto_enum< ::jaiabot::protobuf::Command_CommandType> : ::std::true_type {};
6783template <>
6785 return ::jaiabot::protobuf::Command_CommandType_descriptor();
6786}
6787template <> struct is_proto_enum< ::jaiabot::protobuf::CommandForHub_HubCommandType> : ::std::true_type {};
6788template <>
6790 return ::jaiabot::protobuf::CommandForHub_HubCommandType_descriptor();
6791}
6792template <> struct is_proto_enum< ::jaiabot::protobuf::BotStatus_BotType> : ::std::true_type {};
6793template <>
6795 return ::jaiabot::protobuf::BotStatus_BotType_descriptor();
6796}
6797template <> struct is_proto_enum< ::jaiabot::protobuf::DivePacket_BottomType> : ::std::true_type {};
6798template <>
6800 return ::jaiabot::protobuf::DivePacket_BottomType_descriptor();
6801}
6802
6803PROTOBUF_NAMESPACE_CLOSE
6804
6805// @@protoc_insertion_point(global_scope)
6806
6807#include <google/protobuf/port_undef.inc>
6808#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::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()
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
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)
::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
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)
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()
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 *)
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()
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)
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
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_